gem-index-dumper 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,5 @@
1
+ lib/**/*.rb
2
+ bin/*
3
+ -
4
+ features/**/*.feature
5
+ LICENSE.txt
@@ -0,0 +1,12 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <projectDescription>
3
+ <name>gem-index-dumper</name>
4
+ <comment></comment>
5
+ <projects>
6
+ </projects>
7
+ <buildSpec>
8
+ </buildSpec>
9
+ <natures>
10
+ <nature>com.aptana.ruby.core.rubynature</nature>
11
+ </natures>
12
+ </projectDescription>
data/.rspec ADDED
@@ -0,0 +1 @@
1
+ --color
data/Gemfile ADDED
@@ -0,0 +1,11 @@
1
+ source "http://rubygems.org"
2
+ gem "bundler", "~> 1.0.0"
3
+
4
+ # Add dependencies to develop your gem here.
5
+ # Include everything needed to run rake, tests, features, etc.
6
+ group :development do
7
+ gem "rspec", "~> 2.1.0"
8
+ gem "bundler", "~> 1.0.0"
9
+ gem "jeweler", "~> 1.5.1"
10
+ gem "rcov", ">= 0"
11
+ end
@@ -0,0 +1,28 @@
1
+ GEM
2
+ remote: http://rubygems.org/
3
+ specs:
4
+ diff-lcs (1.1.2)
5
+ git (1.2.5)
6
+ jeweler (1.5.1)
7
+ bundler (~> 1.0.0)
8
+ git (>= 1.2.5)
9
+ rake
10
+ rake (0.8.7)
11
+ rcov (0.9.9)
12
+ rspec (2.1.0)
13
+ rspec-core (~> 2.1.0)
14
+ rspec-expectations (~> 2.1.0)
15
+ rspec-mocks (~> 2.1.0)
16
+ rspec-core (2.1.0)
17
+ rspec-expectations (2.1.0)
18
+ diff-lcs (~> 1.1.2)
19
+ rspec-mocks (2.1.0)
20
+
21
+ PLATFORMS
22
+ ruby
23
+
24
+ DEPENDENCIES
25
+ bundler (~> 1.0.0)
26
+ jeweler (~> 1.5.1)
27
+ rcov
28
+ rspec (~> 2.1.0)
@@ -0,0 +1,20 @@
1
+ Copyright (c) 2010 Victor Costan
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,38 @@
1
+ = gem-index-dumper
2
+
3
+ Spot-checks on the gem index.
4
+
5
+ == Usage
6
+
7
+ The gem installs a command-line tool gem-index-dumper which can be used as
8
+ follows.
9
+
10
+ gem-index-dumper
11
+
12
+ Dumps all the gem index entry (all gems, all versions, all platforms).
13
+
14
+ gem-index-dumper ^a
15
+
16
+ Selects the gems starting with a and dumps the latest version of each gem,
17
+ together with SHA-1s for the gem files.
18
+
19
+ gem-index-dumper ^a \\.0$
20
+
21
+ Selects the gems starting with a and dumps the versions of each gem that end
22
+ in .0 (e.g. 1.0, 2.0, 3.1.0), together with SHA-1s for the gem files.
23
+
24
+
25
+ == Contributing to gem-index-dumper
26
+
27
+ * Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet
28
+ * Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it
29
+ * Fork the project
30
+ * Start a feature/bugfix branch
31
+ * Commit and push until you are happy with your contribution
32
+ * Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
33
+ * Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.
34
+
35
+ == Copyright
36
+
37
+ Copyright (c) 2010 Victor Costan. See LICENSE.txt for further details.
38
+
@@ -0,0 +1,50 @@
1
+ require 'rubygems'
2
+ require 'bundler'
3
+ begin
4
+ Bundler.setup(:default, :development)
5
+ rescue Bundler::BundlerError => e
6
+ $stderr.puts e.message
7
+ $stderr.puts "Run `bundle install` to install missing gems"
8
+ exit e.status_code
9
+ end
10
+ require 'rake'
11
+
12
+ require 'jeweler'
13
+ Jeweler::Tasks.new do |gem|
14
+ # gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
15
+ gem.name = "gem-index-dumper"
16
+ gem.homepage = "http://github.com/pwnall/gem-index-dumper"
17
+ gem.license = "MIT"
18
+ gem.summary = %Q{Spot-checks on the gem index.}
19
+ gem.description = %Q{Command-line utility to perform queries on the gem index that are useful for detecting MITM attacks. }
20
+ gem.email = "victor@costan.us"
21
+ gem.authors = ["Victor Costan"]
22
+ # Include your dependencies below. Runtime dependencies are required when using your gem,
23
+ # and development dependencies are only needed for development (ie running rake tasks, tests, etc)
24
+ gem.add_runtime_dependency 'bundler', '~> 1.0.0'
25
+ # gem.add_development_dependency 'rspec', '> 1.2.3'
26
+ end
27
+ Jeweler::RubygemsDotOrgTasks.new
28
+
29
+ require 'rspec/core'
30
+ require 'rspec/core/rake_task'
31
+ RSpec::Core::RakeTask.new(:spec) do |spec|
32
+ spec.pattern = FileList['spec/**/*_spec.rb']
33
+ end
34
+
35
+ RSpec::Core::RakeTask.new(:rcov) do |spec|
36
+ spec.pattern = 'spec/**/*_spec.rb'
37
+ spec.rcov = true
38
+ end
39
+
40
+ task :default => :spec
41
+
42
+ require 'rake/rdoctask'
43
+ Rake::RDocTask.new do |rdoc|
44
+ version = File.exist?('VERSION') ? File.read('VERSION') : ""
45
+
46
+ rdoc.rdoc_dir = 'rdoc'
47
+ rdoc.title = "gem-index-dumper #{version}"
48
+ rdoc.rdoc_files.include('README*')
49
+ rdoc.rdoc_files.include('lib/**/*.rb')
50
+ end
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 1.0.0
@@ -0,0 +1,21 @@
1
+ #!/usr/bin/env ruby
2
+ require 'rubygems'
3
+ require 'gem-index-dumper'
4
+
5
+ case ARGV.length
6
+ when 0
7
+ print GemIndexDumper.dump_remote_gems
8
+ when 1
9
+ print GemIndexDumper.dump_gem_digests Regexp.new(ARGV[0])
10
+ when 2
11
+ print GemIndexDumper.dump_gem_digests Regexp.new(ARGV[0]), Regexp.new(ARGV[1])
12
+ else
13
+ print <<END
14
+ Usage: #{$0} [name_pattern] [version_pattern]
15
+
16
+ If no pattern is given, dumps all the gem entries in the index.
17
+
18
+ If a name pattern is given, dumps the SHA-1 hash of the latest version for each
19
+ gem whose name matches the pattern.
20
+ END
21
+ end
@@ -0,0 +1,75 @@
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
+ # -*- encoding: utf-8 -*-
5
+
6
+ Gem::Specification.new do |s|
7
+ s.name = %q{gem-index-dumper}
8
+ s.version = "1.0.0"
9
+
10
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
+ s.authors = ["Victor Costan"]
12
+ s.date = %q{2010-11-19}
13
+ s.default_executable = %q{gem-index-dumper}
14
+ s.description = %q{Command-line utility to perform queries on the gem index that are useful for detecting MITM attacks. }
15
+ s.email = %q{victor@costan.us}
16
+ s.executables = ["gem-index-dumper"]
17
+ s.extra_rdoc_files = [
18
+ "LICENSE.txt",
19
+ "README.rdoc"
20
+ ]
21
+ s.files = [
22
+ ".document",
23
+ ".project",
24
+ ".rspec",
25
+ "Gemfile",
26
+ "Gemfile.lock",
27
+ "LICENSE.txt",
28
+ "README.rdoc",
29
+ "Rakefile",
30
+ "VERSION",
31
+ "bin/gem-index-dumper",
32
+ "gem-index-dumper.gemspec",
33
+ "lib/gem-index-dumper.rb",
34
+ "spec/gem-index-dumper_spec.rb",
35
+ "spec/spec_helper.rb"
36
+ ]
37
+ s.homepage = %q{http://github.com/pwnall/gem-index-dumper}
38
+ s.licenses = ["MIT"]
39
+ s.require_paths = ["lib"]
40
+ s.rubygems_version = %q{1.3.7}
41
+ s.summary = %q{Spot-checks on the gem index.}
42
+ s.test_files = [
43
+ "spec/gem-index-dumper_spec.rb",
44
+ "spec/spec_helper.rb"
45
+ ]
46
+
47
+ if s.respond_to? :specification_version then
48
+ current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
49
+ s.specification_version = 3
50
+
51
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
52
+ s.add_runtime_dependency(%q<bundler>, ["~> 1.0.0"])
53
+ s.add_development_dependency(%q<rspec>, ["~> 2.1.0"])
54
+ s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
55
+ s.add_development_dependency(%q<jeweler>, ["~> 1.5.1"])
56
+ s.add_development_dependency(%q<rcov>, [">= 0"])
57
+ s.add_runtime_dependency(%q<bundler>, ["~> 1.0.0"])
58
+ else
59
+ s.add_dependency(%q<bundler>, ["~> 1.0.0"])
60
+ s.add_dependency(%q<rspec>, ["~> 2.1.0"])
61
+ s.add_dependency(%q<bundler>, ["~> 1.0.0"])
62
+ s.add_dependency(%q<jeweler>, ["~> 1.5.1"])
63
+ s.add_dependency(%q<rcov>, [">= 0"])
64
+ s.add_dependency(%q<bundler>, ["~> 1.0.0"])
65
+ end
66
+ else
67
+ s.add_dependency(%q<bundler>, ["~> 1.0.0"])
68
+ s.add_dependency(%q<rspec>, ["~> 2.1.0"])
69
+ s.add_dependency(%q<bundler>, ["~> 1.0.0"])
70
+ s.add_dependency(%q<jeweler>, ["~> 1.5.1"])
71
+ s.add_dependency(%q<rcov>, [">= 0"])
72
+ s.add_dependency(%q<bundler>, ["~> 1.0.0"])
73
+ end
74
+ end
75
+
@@ -0,0 +1,51 @@
1
+ require 'digest/sha1'
2
+ require 'fileutils'
3
+ require 'tempfile'
4
+
5
+ require 'rubygems'
6
+ require 'bundler'
7
+
8
+ module GemIndexDumper
9
+ def self.all_remote_gems
10
+ Gem::SpecFetcher.new.list(true, true).values.first
11
+ end
12
+
13
+ def self.dump_remote_gems(pattern = nil)
14
+ gems = all_remote_gems
15
+ gems.sort!
16
+ gems.map { |data| "#{data[0]} / #{data[2]} v#{data[1].to_s}\n" }.join
17
+ end
18
+
19
+ def self.gem_digest(info)
20
+ uri = Gem.sources.first
21
+ spec = Bundler::RemoteSpecification.new(info[0], info[1], info[2], uri)
22
+ gem_file = Tempfile.new 'gem'
23
+ gem_path = gem_file.path
24
+ gem_file.close true
25
+
26
+ download_path = File.join(gem_path, 'cache')
27
+ FileUtils.mkdir_p download_path
28
+ gem_file = Gem::RemoteFetcher.fetcher.download(spec, uri, gem_path)
29
+ digest = Digest::SHA1.hexdigest File.read(gem_file)
30
+ FileUtils.rm_r gem_path
31
+ digest
32
+ end
33
+
34
+ def self.dump_gem_digests(name_pattern, version_pattern = nil)
35
+ gems = all_remote_gems.select { |data| name_pattern =~ data[0] }
36
+ gems.sort!
37
+ if version_pattern
38
+ gems = gems.select { |data| version_pattern =~ data[1].to_s }
39
+ else
40
+ # Pick the most recent gems.
41
+ gems_by_name = {}
42
+ gems.each { |data| gems_by_name[data[0]] = data }
43
+ gems = gems_by_name.values
44
+ gems.sort!
45
+ end
46
+
47
+ gems.map { |data|
48
+ "#{data[0]} / #{data[2]} v#{data[1].to_s} = #{gem_digest(data)}\n"
49
+ }.join
50
+ end
51
+ end
@@ -0,0 +1,100 @@
1
+ require File.expand_path(File.dirname(__FILE__) + '/spec_helper')
2
+
3
+ describe 'GemIndexDumper' do
4
+ describe 'gem_digest' do
5
+ let(:gem_info) { ['activerecord', Gem::Version.new('3.0.0'), 'ruby'] }
6
+ it 'should compute the digest correctly' do
7
+ GemIndexDumper.gem_digest(gem_info).should ==
8
+ 'b4025f8396c9d784b26fa22c0dbf27e80a513469'
9
+ end
10
+ end
11
+
12
+ describe 'all_remote_gems' do
13
+ before :all do
14
+ @all = GemIndexDumper.all_remote_gems
15
+ end
16
+
17
+ it 'should include all versions for all gems' do
18
+ @all.should include(['activerecord', Gem::Version.new('3.0.0'), 'ruby'])
19
+ @all.should include(['activerecord', Gem::Version.new('3.0.3'), 'ruby'])
20
+ end
21
+ end
22
+
23
+ describe 'dump_remote_gems' do
24
+ before do
25
+ GemIndexDumper.should_receive(:all_remote_gems).and_return([
26
+ ['activerecord', Gem::Version.new('3.0.2'), 'ruby'],
27
+ ['activerecord', Gem::Version.new('3.0.3'), 'ruby'],
28
+ ['activerecord', Gem::Version.new('3.0.0'), 'ruby'],
29
+ ['activerecord', Gem::Version.new('3.0.1'), 'ruby'],
30
+ ['actionpack', Gem::Version.new('3.0.1'), 'ruby'],
31
+ ['actionpack', Gem::Version.new('3.0.0'), 'ruby'],
32
+ ['actionpack', Gem::Version.new('3.0.2'), 'ruby'],
33
+ ['actionpack', Gem::Version.new('2.3.5'), 'ruby']
34
+ ])
35
+ end
36
+
37
+ it 'without an argument should return all gems sorted' do
38
+ GemIndexDumper.dump_remote_gems.should == <<END
39
+ actionpack / ruby v2.3.5
40
+ actionpack / ruby v3.0.0
41
+ actionpack / ruby v3.0.1
42
+ actionpack / ruby v3.0.2
43
+ activerecord / ruby v3.0.0
44
+ activerecord / ruby v3.0.1
45
+ activerecord / ruby v3.0.2
46
+ activerecord / ruby v3.0.3
47
+ END
48
+ end
49
+ end
50
+
51
+ describe 'dump_gem_digests' do
52
+ before do
53
+ GemIndexDumper.should_receive(:all_remote_gems).and_return([
54
+ ['activerecord', Gem::Version.new('3.0.2'), 'ruby'],
55
+ ['activerecord', Gem::Version.new('3.0.3'), 'ruby'],
56
+ ['activerecord', Gem::Version.new('3.0.0'), 'ruby'],
57
+ ['activerecord', Gem::Version.new('3.0.1'), 'ruby'],
58
+ ['actionpack', Gem::Version.new('3.0.1'), 'ruby'],
59
+ ['actionpack', Gem::Version.new('3.0.0'), 'ruby'],
60
+ ['actionpack', Gem::Version.new('3.0.2'), 'ruby'],
61
+ ['actionpack', Gem::Version.new('2.3.5'), 'ruby']
62
+ ])
63
+ GemIndexDumper.stub!(:gem_digest).
64
+ with(['actionpack', Gem::Version.new('3.0.2'), 'ruby']).
65
+ and_return('0011001100110011001100110011001100110011')
66
+ GemIndexDumper.stub!(:gem_digest).
67
+ with(['activerecord', Gem::Version.new('3.0.3'), 'ruby']).
68
+ and_return('2233223322332233223322332233223322332233')
69
+ GemIndexDumper.stub!(:gem_digest).
70
+ with(['activerecord', Gem::Version.new('3.0.2'), 'ruby']).
71
+ and_return('4455445544554455445544554455445544554455')
72
+ end
73
+
74
+ it 'without a version pattern should return the latest gem versions' do
75
+ GemIndexDumper.dump_gem_digests(/.*/).should == <<END
76
+ actionpack / ruby v3.0.2 = 0011001100110011001100110011001100110011
77
+ activerecord / ruby v3.0.3 = 2233223322332233223322332233223322332233
78
+ END
79
+ end
80
+
81
+ it 'with a version pattern should return specific versions' do
82
+ GemIndexDumper.dump_gem_digests(/.*/, /2$/).should == <<END
83
+ actionpack / ruby v3.0.2 = 0011001100110011001100110011001100110011
84
+ activerecord / ruby v3.0.2 = 4455445544554455445544554455445544554455
85
+ END
86
+ end
87
+
88
+ it 'with a name pattern should return the latest version' do
89
+ GemIndexDumper.dump_gem_digests(/pack/).should == <<END
90
+ actionpack / ruby v3.0.2 = 0011001100110011001100110011001100110011
91
+ END
92
+ end
93
+
94
+ it 'with name and version patterns should return that version' do
95
+ GemIndexDumper.dump_gem_digests(/record/, /2$/).should == <<END
96
+ activerecord / ruby v3.0.2 = 4455445544554455445544554455445544554455
97
+ END
98
+ end
99
+ end
100
+ end
@@ -0,0 +1,12 @@
1
+ $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
2
+ $LOAD_PATH.unshift(File.dirname(__FILE__))
3
+ require 'rspec'
4
+ require 'gem-index-dumper'
5
+
6
+ # Requires supporting files with custom matchers and macros, etc,
7
+ # in ./support/ and its subdirectories.
8
+ Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each {|f| require f}
9
+
10
+ RSpec.configure do |config|
11
+
12
+ end
metadata ADDED
@@ -0,0 +1,175 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: gem-index-dumper
3
+ version: !ruby/object:Gem::Version
4
+ hash: 23
5
+ prerelease: false
6
+ segments:
7
+ - 1
8
+ - 0
9
+ - 0
10
+ version: 1.0.0
11
+ platform: ruby
12
+ authors:
13
+ - Victor Costan
14
+ autorequire:
15
+ bindir: bin
16
+ cert_chain: []
17
+
18
+ date: 2010-11-19 00:00:00 -05:00
19
+ default_executable: gem-index-dumper
20
+ dependencies:
21
+ - !ruby/object:Gem::Dependency
22
+ prerelease: false
23
+ name: bundler
24
+ version_requirements: &id001 !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ~>
28
+ - !ruby/object:Gem::Version
29
+ hash: 23
30
+ segments:
31
+ - 1
32
+ - 0
33
+ - 0
34
+ version: 1.0.0
35
+ requirement: *id001
36
+ type: :runtime
37
+ - !ruby/object:Gem::Dependency
38
+ prerelease: false
39
+ name: rspec
40
+ version_requirements: &id002 !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ~>
44
+ - !ruby/object:Gem::Version
45
+ hash: 11
46
+ segments:
47
+ - 2
48
+ - 1
49
+ - 0
50
+ version: 2.1.0
51
+ requirement: *id002
52
+ type: :development
53
+ - !ruby/object:Gem::Dependency
54
+ prerelease: false
55
+ name: bundler
56
+ version_requirements: &id003 !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ~>
60
+ - !ruby/object:Gem::Version
61
+ hash: 23
62
+ segments:
63
+ - 1
64
+ - 0
65
+ - 0
66
+ version: 1.0.0
67
+ requirement: *id003
68
+ type: :development
69
+ - !ruby/object:Gem::Dependency
70
+ prerelease: false
71
+ name: jeweler
72
+ version_requirements: &id004 !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ~>
76
+ - !ruby/object:Gem::Version
77
+ hash: 1
78
+ segments:
79
+ - 1
80
+ - 5
81
+ - 1
82
+ version: 1.5.1
83
+ requirement: *id004
84
+ type: :development
85
+ - !ruby/object:Gem::Dependency
86
+ prerelease: false
87
+ name: rcov
88
+ version_requirements: &id005 !ruby/object:Gem::Requirement
89
+ none: false
90
+ requirements:
91
+ - - ">="
92
+ - !ruby/object:Gem::Version
93
+ hash: 3
94
+ segments:
95
+ - 0
96
+ version: "0"
97
+ requirement: *id005
98
+ type: :development
99
+ - !ruby/object:Gem::Dependency
100
+ prerelease: false
101
+ name: bundler
102
+ version_requirements: &id006 !ruby/object:Gem::Requirement
103
+ none: false
104
+ requirements:
105
+ - - ~>
106
+ - !ruby/object:Gem::Version
107
+ hash: 23
108
+ segments:
109
+ - 1
110
+ - 0
111
+ - 0
112
+ version: 1.0.0
113
+ requirement: *id006
114
+ type: :runtime
115
+ description: "Command-line utility to perform queries on the gem index that are useful for detecting MITM attacks. "
116
+ email: victor@costan.us
117
+ executables:
118
+ - gem-index-dumper
119
+ extensions: []
120
+
121
+ extra_rdoc_files:
122
+ - LICENSE.txt
123
+ - README.rdoc
124
+ files:
125
+ - .document
126
+ - .project
127
+ - .rspec
128
+ - Gemfile
129
+ - Gemfile.lock
130
+ - LICENSE.txt
131
+ - README.rdoc
132
+ - Rakefile
133
+ - VERSION
134
+ - bin/gem-index-dumper
135
+ - gem-index-dumper.gemspec
136
+ - lib/gem-index-dumper.rb
137
+ - spec/gem-index-dumper_spec.rb
138
+ - spec/spec_helper.rb
139
+ has_rdoc: true
140
+ homepage: http://github.com/pwnall/gem-index-dumper
141
+ licenses:
142
+ - MIT
143
+ post_install_message:
144
+ rdoc_options: []
145
+
146
+ require_paths:
147
+ - lib
148
+ required_ruby_version: !ruby/object:Gem::Requirement
149
+ none: false
150
+ requirements:
151
+ - - ">="
152
+ - !ruby/object:Gem::Version
153
+ hash: 3
154
+ segments:
155
+ - 0
156
+ version: "0"
157
+ required_rubygems_version: !ruby/object:Gem::Requirement
158
+ none: false
159
+ requirements:
160
+ - - ">="
161
+ - !ruby/object:Gem::Version
162
+ hash: 3
163
+ segments:
164
+ - 0
165
+ version: "0"
166
+ requirements: []
167
+
168
+ rubyforge_project:
169
+ rubygems_version: 1.3.7
170
+ signing_key:
171
+ specification_version: 3
172
+ summary: Spot-checks on the gem index.
173
+ test_files:
174
+ - spec/gem-index-dumper_spec.rb
175
+ - spec/spec_helper.rb