Benign gem 1,622,774 installs Download

wirb 1.0.1

legitimate syntax highlighting gem

“WIRB adds syntax highlighting for inspected Ruby objects - from core and default gems”

References a public code-forge URLRuby dynamic code evaluation call
SHA-2568e4f67708a067c250a771fd918e71ebdf78b236ebcb4c572a6677b3ee75e1710

Evidence

Contains a hardcoded remote HTTP(S) URL README.rdoc · lines 1–23
1== Wavy Interactive Ruby
2*Wirb* colorizes your inspected Ruby objects. It is based on Wirble[http://pablotron.org/software/wirble/], but only provides and improves result highlighting. It also provides a colorization engine abstraction layer and offers flexible schemas using yaml. Wirb is part of the {irbtools suite}[https://github.com/janlelis/irbtools].
3
4{<img src="https://travis-ci.org/janlelis/wirb.png" />}[https://travis-ci.org/janlelis/wirb]
5
6
⋯17 lines
Ruby gemspec assigns package name wirb.gemspec · lines 1–12
1# -*- encoding: utf-8 -*-
2require 'rubygems' unless defined? Gem
3require File.dirname(__FILE__) + "/lib/wirb/version"
4
5Gem::Specification.new do |s|
6 s.name = "wirb"
7 s.version = Wirb::VERSION.dup
8 s.authors = ["Jan Lelis"]
9 s.email = "[email protected]"
10 s.homepage = "https://github.com/janlelis/wirb"
11 s.summary = "Wavy IRB: Colorizes irb results."
12 s.description = "Wavy IRB: Colorizes irb results. It orig …
Enumerates files with a recursive Ruby glob wirb.gemspec · lines 12–21
12:93… vides result highlighting. Just call Wirb.start and enjoy the colors in your IRB ;). You can use it with your favorite colorizer engine. See README.rdoc for more details."
13 s.required_rubygems_version = '>= 1.3.6'
14 s.required_ruby_version = '>= 1.8.7'
15 s.files = Dir.glob(%w[{lib,test,spec}/**/*.rb bin/* [A-Z]*.{txt,rdoc} ext/**/*.{rb,c} data/**/*.yml]) + %w{Rakefile wirb.gemspec .gemtest}
16 s.extra_rdoc_files = ["README.rdoc", "COPYING.txt"]
17 s.license = 'MIT'
⋯4 lines
Hardcoded absolute home directory path tokenizer_rubyvm_spec.rb · lines 1–8
1describe tokenizer(__FILE__) do
2 after :each do check_value end
3 please do
4 check_inspected "<RubyVM::InstructionSequence:pp"\
5 "@/home/jan/.rvm/rubies/ruby-1.9.2-p180"\
6 "/lib/ruby/1.9.1/irb/output-method.rb>"
7 tokens.should == [
8 [:open_object, …
References a public code-forge URL tokenizer_number_spec.rb · lines 93–101
93:11… close_rational, ")"],
94 ]
95
96 # modifying the world, see https://github.com/janlelis/wirb/issues#issue/1
97 require 'mathn'
98 check Rational(2,3)
99 tokens.should == [
100 [:number, "2"],
101 …

No evidence locations were recorded for this file. Raw result

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.