javagems 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +9 -3
- data/VERSION +1 -1
- data/javagems.gemspec +84 -9
- data/lib/rubygems/commands/classpath_command.rb +23 -8
- data/test/classpath_command_test.rb +31 -5
- data/test/{aaaaagem_overrides_test.rb → gem_overrides_test.rb} +0 -9
- data/test/invalid_test_app/vendor/gems/dirs/test-gem-four/.document +5 -0
- data/test/invalid_test_app/vendor/gems/dirs/test-gem-four/.gitignore +21 -0
- data/test/invalid_test_app/vendor/gems/dirs/test-gem-four/LICENSE +20 -0
- data/test/invalid_test_app/vendor/gems/dirs/test-gem-four/README.rdoc +18 -0
- data/test/invalid_test_app/vendor/gems/dirs/test-gem-four/Rakefile +52 -0
- data/test/invalid_test_app/vendor/gems/dirs/test-gem-four/VERSION +1 -0
- data/test/invalid_test_app/vendor/gems/dirs/test-gem-four/lib/test-gem-four.rb +0 -0
- data/test/invalid_test_app/vendor/gems/dirs/test-gem-four/test/helper.rb +10 -0
- data/test/invalid_test_app/vendor/gems/dirs/test-gem-four/test/test_test-gem-four.rb +7 -0
- data/test/invalid_test_app/vendor/gems/dirs/test-gem-four/test-gem-four.gemspec +53 -0
- data/test/invalid_test_app/vendor/gems/dirs/test-gem-one/.document +5 -0
- data/test/invalid_test_app/vendor/gems/dirs/test-gem-one/.gitignore +21 -0
- data/test/invalid_test_app/vendor/gems/dirs/test-gem-one/LICENSE +20 -0
- data/test/invalid_test_app/vendor/gems/dirs/test-gem-one/README.rdoc +18 -0
- data/test/invalid_test_app/vendor/gems/dirs/test-gem-one/Rakefile +51 -0
- data/test/invalid_test_app/vendor/gems/dirs/test-gem-one/VERSION +1 -0
- data/test/invalid_test_app/vendor/gems/dirs/test-gem-one/lib/test-gem-one.rb +0 -0
- data/test/invalid_test_app/vendor/gems/dirs/test-gem-one/test/helper.rb +10 -0
- data/test/invalid_test_app/vendor/gems/dirs/test-gem-one/test/test_test-gem-one.rb +7 -0
- data/test/invalid_test_app/vendor/gems/dirs/test-gem-one/test-gem-one.gemspec +53 -0
- data/test/invalid_test_app/vendor/gems/dirs/test-gem-two/.document +5 -0
- data/test/invalid_test_app/vendor/gems/dirs/test-gem-two/.gitignore +21 -0
- data/test/invalid_test_app/vendor/gems/dirs/test-gem-two/LICENSE +20 -0
- data/test/invalid_test_app/vendor/gems/dirs/test-gem-two/README.rdoc +18 -0
- data/test/invalid_test_app/vendor/gems/dirs/test-gem-two/Rakefile +52 -0
- data/test/invalid_test_app/vendor/gems/dirs/test-gem-two/VERSION +1 -0
- data/test/invalid_test_app/vendor/gems/dirs/test-gem-two/lib/test-gem-two.rb +0 -0
- data/test/invalid_test_app/vendor/gems/dirs/test-gem-two/test/helper.rb +10 -0
- data/test/invalid_test_app/vendor/gems/dirs/test-gem-two/test/test_test-gem-two.rb +7 -0
- data/test/invalid_test_app/vendor/gems/dirs/test-gem-two/test-gem-two.gemspec +53 -0
- data/test/test_helper.rb +0 -15
- data/test/valid_test_app/Gemfile +3 -0
- data/test/valid_test_app/vendor/gems/dirs/test-gem-four/.document +5 -0
- data/test/valid_test_app/vendor/gems/dirs/test-gem-four/.gitignore +21 -0
- data/test/valid_test_app/vendor/gems/dirs/test-gem-four/LICENSE +20 -0
- data/test/valid_test_app/vendor/gems/dirs/test-gem-four/README.rdoc +18 -0
- data/test/valid_test_app/vendor/gems/dirs/test-gem-four/Rakefile +52 -0
- data/test/valid_test_app/vendor/gems/dirs/test-gem-four/VERSION +1 -0
- data/test/valid_test_app/vendor/gems/dirs/test-gem-four/lib/test-gem-four.rb +0 -0
- data/test/valid_test_app/vendor/gems/dirs/test-gem-four/test/helper.rb +10 -0
- data/test/valid_test_app/vendor/gems/dirs/test-gem-four/test/test_test-gem-four.rb +7 -0
- data/test/valid_test_app/vendor/gems/dirs/test-gem-four/test-gem-four.gemspec +53 -0
- data/test/valid_test_app/vendor/gems/dirs/test-gem-one/.document +5 -0
- data/test/valid_test_app/vendor/gems/dirs/test-gem-one/.gitignore +21 -0
- data/test/valid_test_app/vendor/gems/dirs/test-gem-one/LICENSE +20 -0
- data/test/valid_test_app/vendor/gems/dirs/test-gem-one/README.rdoc +18 -0
- data/test/valid_test_app/vendor/gems/dirs/test-gem-one/Rakefile +51 -0
- data/test/valid_test_app/vendor/gems/dirs/test-gem-one/VERSION +1 -0
- data/test/valid_test_app/vendor/gems/dirs/test-gem-one/lib/test-gem-one.rb +0 -0
- data/test/valid_test_app/vendor/gems/dirs/test-gem-one/test/helper.rb +10 -0
- data/test/valid_test_app/vendor/gems/dirs/test-gem-one/test/test_test-gem-one.rb +7 -0
- data/test/valid_test_app/vendor/gems/dirs/test-gem-one/test-gem-one.gemspec +53 -0
- data/test/valid_test_app/vendor/gems/dirs/test-gem-three/.document +5 -0
- data/test/valid_test_app/vendor/gems/dirs/test-gem-three/.gitignore +21 -0
- data/test/valid_test_app/vendor/gems/dirs/test-gem-three/LICENSE +20 -0
- data/test/valid_test_app/vendor/gems/dirs/test-gem-three/README.rdoc +18 -0
- data/test/valid_test_app/vendor/gems/dirs/test-gem-three/Rakefile +52 -0
- data/test/valid_test_app/vendor/gems/dirs/test-gem-three/VERSION +1 -0
- data/test/valid_test_app/vendor/gems/dirs/test-gem-three/lib/test-gem-three.rb +0 -0
- data/test/valid_test_app/vendor/gems/dirs/test-gem-three/test/helper.rb +10 -0
- data/test/valid_test_app/vendor/gems/dirs/test-gem-three/test/test_test-gem-three.rb +7 -0
- data/test/valid_test_app/vendor/gems/dirs/test-gem-three/test-gem-three.gemspec +53 -0
- data/test/valid_test_app/vendor/gems/dirs/test-gem-two/.document +5 -0
- data/test/valid_test_app/vendor/gems/dirs/test-gem-two/.gitignore +21 -0
- data/test/valid_test_app/vendor/gems/dirs/test-gem-two/LICENSE +20 -0
- data/test/valid_test_app/vendor/gems/dirs/test-gem-two/README.rdoc +18 -0
- data/test/valid_test_app/vendor/gems/dirs/test-gem-two/Rakefile +52 -0
- data/test/valid_test_app/vendor/gems/dirs/test-gem-two/VERSION +1 -0
- data/test/valid_test_app/vendor/gems/dirs/test-gem-two/lib/test-gem-two.rb +0 -0
- data/test/valid_test_app/vendor/gems/dirs/test-gem-two/test/helper.rb +10 -0
- data/test/valid_test_app/vendor/gems/dirs/test-gem-two/test/test_test-gem-two.rb +7 -0
- data/test/valid_test_app/vendor/gems/dirs/test-gem-two/test-gem-two.gemspec +53 -0
- data/test/valid_test_app/vendor/gems/environment.rb +107 -0
- data/test/valid_test_app/vendor/gems/specifications/test-gem-four-0.0.0.gemspec +33 -0
- data/test/valid_test_app/vendor/gems/specifications/test-gem-one-0.0.0.gemspec +33 -0
- data/test/valid_test_app/vendor/gems/specifications/test-gem-two-0.0.0.gemspec +33 -0
- metadata +83 -8
- /data/test/{test_app → invalid_test_app}/Gemfile +0 -0
- /data/test/{test_app → invalid_test_app}/vendor/gems/environment.rb +0 -0
- /data/test/{test_app → invalid_test_app}/vendor/gems/specifications/test-gem-four-0.0.0.gemspec +0 -0
- /data/test/{test_app → invalid_test_app}/vendor/gems/specifications/test-gem-one-0.0.0.gemspec +0 -0
- /data/test/{test_app → invalid_test_app}/vendor/gems/specifications/test-gem-two-0.0.0.gemspec +0 -0
- /data/test/{test_app → valid_test_app}/vendor/gems/specifications/test-gem-three-0.0.0.gemspec +0 -0
@@ -0,0 +1,53 @@
|
|
1
|
+
# Generated by jeweler
|
2
|
+
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
|
4
|
+
# -*- encoding: utf-8 -*-
|
5
|
+
|
6
|
+
Gem::Specification.new do |s|
|
7
|
+
s.name = %q{test-gem-one}
|
8
|
+
s.version = "0.0.0"
|
9
|
+
|
10
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
+
s.authors = ["ggironda"]
|
12
|
+
s.date = %q{2009-11-14}
|
13
|
+
s.description = %q{TODO: longer description of your gem}
|
14
|
+
s.email = %q{gabriel.gironda@centro.net}
|
15
|
+
s.extra_rdoc_files = [
|
16
|
+
"LICENSE",
|
17
|
+
"README.rdoc"
|
18
|
+
]
|
19
|
+
s.files = [
|
20
|
+
".document",
|
21
|
+
".gitignore",
|
22
|
+
"LICENSE",
|
23
|
+
"README.rdoc",
|
24
|
+
"Rakefile",
|
25
|
+
"VERSION",
|
26
|
+
"lib/test-gem-one.rb",
|
27
|
+
"test/helper.rb",
|
28
|
+
"test/test_test-gem-one.rb"
|
29
|
+
]
|
30
|
+
s.homepage = %q{http://github.com/gabrielg/test-gem-one}
|
31
|
+
s.rdoc_options = ["--charset=UTF-8"]
|
32
|
+
s.require_paths = ["lib"]
|
33
|
+
s.rubygems_version = %q{1.3.5}
|
34
|
+
s.summary = %q{TODO: one-line summary of your gem}
|
35
|
+
s.test_files = [
|
36
|
+
"test/helper.rb",
|
37
|
+
"test/test_test-gem-one.rb"
|
38
|
+
]
|
39
|
+
|
40
|
+
if s.respond_to? :specification_version then
|
41
|
+
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
42
|
+
s.specification_version = 3
|
43
|
+
|
44
|
+
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
|
45
|
+
s.add_runtime_dependency(%q<test-gem-three>, [">= 0"])
|
46
|
+
else
|
47
|
+
s.add_dependency(%q<test-gem-three>, [">= 0"])
|
48
|
+
end
|
49
|
+
else
|
50
|
+
s.add_dependency(%q<test-gem-three>, [">= 0"])
|
51
|
+
end
|
52
|
+
end
|
53
|
+
|
@@ -0,0 +1,20 @@
|
|
1
|
+
Copyright (c) 2009 ggironda
|
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,18 @@
|
|
1
|
+
= test-gem-three
|
2
|
+
|
3
|
+
Description goes here.
|
4
|
+
|
5
|
+
== Note on Patches/Pull Requests
|
6
|
+
|
7
|
+
* Fork the project.
|
8
|
+
* Make your feature addition or bug fix.
|
9
|
+
* Add tests for it. This is important so I don't break it in a
|
10
|
+
future version unintentionally.
|
11
|
+
* Commit, do not mess with rakefile, version, or history.
|
12
|
+
(if you want to have your own version, that is fine but
|
13
|
+
bump version in a commit by itself I can ignore when I pull)
|
14
|
+
* Send me a pull request. Bonus points for topic branches.
|
15
|
+
|
16
|
+
== Copyright
|
17
|
+
|
18
|
+
Copyright (c) 2009 ggironda. See LICENSE for details.
|
@@ -0,0 +1,52 @@
|
|
1
|
+
require 'rubygems'
|
2
|
+
require 'rake'
|
3
|
+
|
4
|
+
begin
|
5
|
+
require 'jeweler'
|
6
|
+
Jeweler::Tasks.new do |gem|
|
7
|
+
gem.name = "test-gem-three"
|
8
|
+
gem.summary = %Q{TODO: one-line summary of your gem}
|
9
|
+
gem.description = %Q{TODO: longer description of your gem}
|
10
|
+
gem.email = "gabriel.gironda@centro.net"
|
11
|
+
gem.homepage = "http://github.com/gabrielg/test-gem-three"
|
12
|
+
gem.authors = ["ggironda"]
|
13
|
+
gem.add_development_dependency "thoughtbot-shoulda", ">= 0"
|
14
|
+
# gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
|
15
|
+
end
|
16
|
+
rescue LoadError
|
17
|
+
puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
|
18
|
+
end
|
19
|
+
|
20
|
+
require 'rake/testtask'
|
21
|
+
Rake::TestTask.new(:test) do |test|
|
22
|
+
test.libs << 'lib' << 'test'
|
23
|
+
test.pattern = 'test/**/test_*.rb'
|
24
|
+
test.verbose = true
|
25
|
+
end
|
26
|
+
|
27
|
+
begin
|
28
|
+
require 'rcov/rcovtask'
|
29
|
+
Rcov::RcovTask.new do |test|
|
30
|
+
test.libs << 'test'
|
31
|
+
test.pattern = 'test/**/test_*.rb'
|
32
|
+
test.verbose = true
|
33
|
+
end
|
34
|
+
rescue LoadError
|
35
|
+
task :rcov do
|
36
|
+
abort "RCov is not available. In order to run rcov, you must: sudo gem install spicycode-rcov"
|
37
|
+
end
|
38
|
+
end
|
39
|
+
|
40
|
+
task :test => :check_dependencies
|
41
|
+
|
42
|
+
task :default => :test
|
43
|
+
|
44
|
+
require 'rake/rdoctask'
|
45
|
+
Rake::RDocTask.new do |rdoc|
|
46
|
+
version = File.exist?('VERSION') ? File.read('VERSION') : ""
|
47
|
+
|
48
|
+
rdoc.rdoc_dir = 'rdoc'
|
49
|
+
rdoc.title = "test-gem-three #{version}"
|
50
|
+
rdoc.rdoc_files.include('README*')
|
51
|
+
rdoc.rdoc_files.include('lib/**/*.rb')
|
52
|
+
end
|
@@ -0,0 +1 @@
|
|
1
|
+
0.0.0
|
File without changes
|
@@ -0,0 +1,53 @@
|
|
1
|
+
# Generated by jeweler
|
2
|
+
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
|
4
|
+
# -*- encoding: utf-8 -*-
|
5
|
+
|
6
|
+
Gem::Specification.new do |s|
|
7
|
+
s.name = %q{test-gem-three}
|
8
|
+
s.version = "0.0.0"
|
9
|
+
|
10
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
+
s.authors = ["ggironda"]
|
12
|
+
s.date = %q{2009-11-14}
|
13
|
+
s.description = %q{TODO: longer description of your gem}
|
14
|
+
s.email = %q{gabriel.gironda@centro.net}
|
15
|
+
s.extra_rdoc_files = [
|
16
|
+
"LICENSE",
|
17
|
+
"README.rdoc"
|
18
|
+
]
|
19
|
+
s.files = [
|
20
|
+
".document",
|
21
|
+
".gitignore",
|
22
|
+
"LICENSE",
|
23
|
+
"README.rdoc",
|
24
|
+
"Rakefile",
|
25
|
+
"VERSION",
|
26
|
+
"lib/test-gem-three.rb",
|
27
|
+
"test/helper.rb",
|
28
|
+
"test/test_test-gem-three.rb"
|
29
|
+
]
|
30
|
+
s.homepage = %q{http://github.com/gabrielg/test-gem-three}
|
31
|
+
s.rdoc_options = ["--charset=UTF-8"]
|
32
|
+
s.require_paths = ["lib"]
|
33
|
+
s.rubygems_version = %q{1.3.5}
|
34
|
+
s.summary = %q{TODO: one-line summary of your gem}
|
35
|
+
s.test_files = [
|
36
|
+
"test/helper.rb",
|
37
|
+
"test/test_test-gem-three.rb"
|
38
|
+
]
|
39
|
+
|
40
|
+
if s.respond_to? :specification_version then
|
41
|
+
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
42
|
+
s.specification_version = 3
|
43
|
+
|
44
|
+
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
|
45
|
+
s.add_development_dependency(%q<thoughtbot-shoulda>, [">= 0"])
|
46
|
+
else
|
47
|
+
s.add_dependency(%q<thoughtbot-shoulda>, [">= 0"])
|
48
|
+
end
|
49
|
+
else
|
50
|
+
s.add_dependency(%q<thoughtbot-shoulda>, [">= 0"])
|
51
|
+
end
|
52
|
+
end
|
53
|
+
|
@@ -0,0 +1,20 @@
|
|
1
|
+
Copyright (c) 2009 ggironda
|
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,18 @@
|
|
1
|
+
= test-gem-two
|
2
|
+
|
3
|
+
Description goes here.
|
4
|
+
|
5
|
+
== Note on Patches/Pull Requests
|
6
|
+
|
7
|
+
* Fork the project.
|
8
|
+
* Make your feature addition or bug fix.
|
9
|
+
* Add tests for it. This is important so I don't break it in a
|
10
|
+
future version unintentionally.
|
11
|
+
* Commit, do not mess with rakefile, version, or history.
|
12
|
+
(if you want to have your own version, that is fine but
|
13
|
+
bump version in a commit by itself I can ignore when I pull)
|
14
|
+
* Send me a pull request. Bonus points for topic branches.
|
15
|
+
|
16
|
+
== Copyright
|
17
|
+
|
18
|
+
Copyright (c) 2009 ggironda. See LICENSE for details.
|
@@ -0,0 +1,52 @@
|
|
1
|
+
require 'rubygems'
|
2
|
+
require 'rake'
|
3
|
+
|
4
|
+
begin
|
5
|
+
require 'jeweler'
|
6
|
+
Jeweler::Tasks.new do |gem|
|
7
|
+
gem.name = "test-gem-two"
|
8
|
+
gem.summary = %Q{TODO: one-line summary of your gem}
|
9
|
+
gem.description = %Q{TODO: longer description of your gem}
|
10
|
+
gem.email = "gabriel.gironda@centro.net"
|
11
|
+
gem.homepage = "http://github.com/gabrielg/test-gem-two"
|
12
|
+
gem.authors = ["ggironda"]
|
13
|
+
gem.add_development_dependency "thoughtbot-shoulda", ">= 0"
|
14
|
+
# gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
|
15
|
+
end
|
16
|
+
rescue LoadError
|
17
|
+
puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
|
18
|
+
end
|
19
|
+
|
20
|
+
require 'rake/testtask'
|
21
|
+
Rake::TestTask.new(:test) do |test|
|
22
|
+
test.libs << 'lib' << 'test'
|
23
|
+
test.pattern = 'test/**/test_*.rb'
|
24
|
+
test.verbose = true
|
25
|
+
end
|
26
|
+
|
27
|
+
begin
|
28
|
+
require 'rcov/rcovtask'
|
29
|
+
Rcov::RcovTask.new do |test|
|
30
|
+
test.libs << 'test'
|
31
|
+
test.pattern = 'test/**/test_*.rb'
|
32
|
+
test.verbose = true
|
33
|
+
end
|
34
|
+
rescue LoadError
|
35
|
+
task :rcov do
|
36
|
+
abort "RCov is not available. In order to run rcov, you must: sudo gem install spicycode-rcov"
|
37
|
+
end
|
38
|
+
end
|
39
|
+
|
40
|
+
task :test => :check_dependencies
|
41
|
+
|
42
|
+
task :default => :test
|
43
|
+
|
44
|
+
require 'rake/rdoctask'
|
45
|
+
Rake::RDocTask.new do |rdoc|
|
46
|
+
version = File.exist?('VERSION') ? File.read('VERSION') : ""
|
47
|
+
|
48
|
+
rdoc.rdoc_dir = 'rdoc'
|
49
|
+
rdoc.title = "test-gem-two #{version}"
|
50
|
+
rdoc.rdoc_files.include('README*')
|
51
|
+
rdoc.rdoc_files.include('lib/**/*.rb')
|
52
|
+
end
|
@@ -0,0 +1 @@
|
|
1
|
+
0.0.0
|
File without changes
|
@@ -0,0 +1,53 @@
|
|
1
|
+
# Generated by jeweler
|
2
|
+
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
|
4
|
+
# -*- encoding: utf-8 -*-
|
5
|
+
|
6
|
+
Gem::Specification.new do |s|
|
7
|
+
s.name = %q{test-gem-two}
|
8
|
+
s.version = "0.0.0"
|
9
|
+
|
10
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
+
s.authors = ["ggironda"]
|
12
|
+
s.date = %q{2009-11-14}
|
13
|
+
s.description = %q{TODO: longer description of your gem}
|
14
|
+
s.email = %q{gabriel.gironda@centro.net}
|
15
|
+
s.extra_rdoc_files = [
|
16
|
+
"LICENSE",
|
17
|
+
"README.rdoc"
|
18
|
+
]
|
19
|
+
s.files = [
|
20
|
+
".document",
|
21
|
+
".gitignore",
|
22
|
+
"LICENSE",
|
23
|
+
"README.rdoc",
|
24
|
+
"Rakefile",
|
25
|
+
"VERSION",
|
26
|
+
"lib/test-gem-two.rb",
|
27
|
+
"test/helper.rb",
|
28
|
+
"test/test_test-gem-two.rb"
|
29
|
+
]
|
30
|
+
s.homepage = %q{http://github.com/gabrielg/test-gem-two}
|
31
|
+
s.rdoc_options = ["--charset=UTF-8"]
|
32
|
+
s.require_paths = ["lib"]
|
33
|
+
s.rubygems_version = %q{1.3.5}
|
34
|
+
s.summary = %q{TODO: one-line summary of your gem}
|
35
|
+
s.test_files = [
|
36
|
+
"test/helper.rb",
|
37
|
+
"test/test_test-gem-two.rb"
|
38
|
+
]
|
39
|
+
|
40
|
+
if s.respond_to? :specification_version then
|
41
|
+
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
42
|
+
s.specification_version = 3
|
43
|
+
|
44
|
+
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
|
45
|
+
s.add_development_dependency(%q<thoughtbot-shoulda>, [">= 0"])
|
46
|
+
else
|
47
|
+
s.add_dependency(%q<thoughtbot-shoulda>, [">= 0"])
|
48
|
+
end
|
49
|
+
else
|
50
|
+
s.add_dependency(%q<thoughtbot-shoulda>, [">= 0"])
|
51
|
+
end
|
52
|
+
end
|
53
|
+
|
@@ -0,0 +1,107 @@
|
|
1
|
+
# DO NOT MODIFY THIS FILE
|
2
|
+
module Bundler
|
3
|
+
file = File.expand_path(__FILE__)
|
4
|
+
dir = File.dirname(file)
|
5
|
+
|
6
|
+
ENV["PATH"] = "#{dir}/../../bin:#{ENV["PATH"]}"
|
7
|
+
ENV["RUBYOPT"] = "-r#{file} #{ENV["RUBYOPT"]}"
|
8
|
+
|
9
|
+
$LOAD_PATH.unshift File.expand_path("#{dir}/dirs/test-gem-two/bin")
|
10
|
+
$LOAD_PATH.unshift File.expand_path("#{dir}/dirs/test-gem-two/lib")
|
11
|
+
$LOAD_PATH.unshift File.expand_path("#{dir}/dirs/test-gem-three/bin")
|
12
|
+
$LOAD_PATH.unshift File.expand_path("#{dir}/dirs/test-gem-three/lib")
|
13
|
+
$LOAD_PATH.unshift File.expand_path("#{dir}/dirs/test-gem-one/bin")
|
14
|
+
$LOAD_PATH.unshift File.expand_path("#{dir}/dirs/test-gem-one/lib")
|
15
|
+
$LOAD_PATH.unshift File.expand_path("#{dir}/dirs/test-gem-four/bin")
|
16
|
+
$LOAD_PATH.unshift File.expand_path("#{dir}/dirs/test-gem-four/lib")
|
17
|
+
|
18
|
+
@gemfile = "#{dir}/../../Gemfile"
|
19
|
+
|
20
|
+
require "rubygems"
|
21
|
+
|
22
|
+
@bundled_specs = {}
|
23
|
+
@bundled_specs["test-gem-two"] = eval(File.read("#{dir}/specifications/test-gem-two-0.0.0.gemspec"))
|
24
|
+
@bundled_specs["test-gem-two"].loaded_from = "#{dir}/specifications/test-gem-two-0.0.0.gemspec"
|
25
|
+
@bundled_specs["test-gem-three"] = eval(File.read("#{dir}/specifications/test-gem-three-0.0.0.gemspec"))
|
26
|
+
@bundled_specs["test-gem-three"].loaded_from = "#{dir}/specifications/test-gem-three-0.0.0.gemspec"
|
27
|
+
@bundled_specs["test-gem-one"] = eval(File.read("#{dir}/specifications/test-gem-one-0.0.0.gemspec"))
|
28
|
+
@bundled_specs["test-gem-one"].loaded_from = "#{dir}/specifications/test-gem-one-0.0.0.gemspec"
|
29
|
+
@bundled_specs["test-gem-four"] = eval(File.read("#{dir}/specifications/test-gem-four-0.0.0.gemspec"))
|
30
|
+
@bundled_specs["test-gem-four"].loaded_from = "#{dir}/specifications/test-gem-four-0.0.0.gemspec"
|
31
|
+
|
32
|
+
def self.add_specs_to_loaded_specs
|
33
|
+
Gem.loaded_specs.merge! @bundled_specs
|
34
|
+
end
|
35
|
+
|
36
|
+
def self.add_specs_to_index
|
37
|
+
@bundled_specs.each do |name, spec|
|
38
|
+
Gem.source_index.add_spec spec
|
39
|
+
end
|
40
|
+
end
|
41
|
+
|
42
|
+
add_specs_to_loaded_specs
|
43
|
+
add_specs_to_index
|
44
|
+
|
45
|
+
def self.require_env(env = nil)
|
46
|
+
context = Class.new do
|
47
|
+
def initialize(env) @env = env && env.to_s ; end
|
48
|
+
def method_missing(*) ; yield if block_given? ; end
|
49
|
+
def only(*env)
|
50
|
+
old, @only = @only, _combine_only(env.flatten)
|
51
|
+
yield
|
52
|
+
@only = old
|
53
|
+
end
|
54
|
+
def except(*env)
|
55
|
+
old, @except = @except, _combine_except(env.flatten)
|
56
|
+
yield
|
57
|
+
@except = old
|
58
|
+
end
|
59
|
+
def gem(name, *args)
|
60
|
+
opt = args.last.is_a?(Hash) ? args.pop : {}
|
61
|
+
only = _combine_only(opt[:only] || opt["only"])
|
62
|
+
except = _combine_except(opt[:except] || opt["except"])
|
63
|
+
files = opt[:require_as] || opt["require_as"] || name
|
64
|
+
files = [files] unless files.respond_to?(:each)
|
65
|
+
|
66
|
+
return unless !only || only.any? {|e| e == @env }
|
67
|
+
return if except && except.any? {|e| e == @env }
|
68
|
+
|
69
|
+
if files = opt[:require_as] || opt["require_as"]
|
70
|
+
files = Array(files)
|
71
|
+
files.each { |f| require f }
|
72
|
+
else
|
73
|
+
begin
|
74
|
+
require name
|
75
|
+
rescue LoadError
|
76
|
+
# Do nothing
|
77
|
+
end
|
78
|
+
end
|
79
|
+
yield if block_given?
|
80
|
+
true
|
81
|
+
end
|
82
|
+
private
|
83
|
+
def _combine_only(only)
|
84
|
+
return @only unless only
|
85
|
+
only = [only].flatten.compact.uniq.map { |o| o.to_s }
|
86
|
+
only &= @only if @only
|
87
|
+
only
|
88
|
+
end
|
89
|
+
def _combine_except(except)
|
90
|
+
return @except unless except
|
91
|
+
except = [except].flatten.compact.uniq.map { |o| o.to_s }
|
92
|
+
except |= @except if @except
|
93
|
+
except
|
94
|
+
end
|
95
|
+
end
|
96
|
+
context.new(env && env.to_s).instance_eval(File.read(@gemfile), @gemfile, 1)
|
97
|
+
end
|
98
|
+
end
|
99
|
+
|
100
|
+
module Gem
|
101
|
+
@loaded_stacks = Hash.new { |h,k| h[k] = [] }
|
102
|
+
|
103
|
+
def source_index.refresh!
|
104
|
+
super
|
105
|
+
Bundler.add_specs_to_index
|
106
|
+
end
|
107
|
+
end
|
@@ -0,0 +1,33 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
|
3
|
+
Gem::Specification.new do |s|
|
4
|
+
s.name = %q{test-gem-four}
|
5
|
+
s.version = "0.0.0"
|
6
|
+
|
7
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
8
|
+
s.authors = ["ggironda"]
|
9
|
+
s.date = %q{2009-11-14}
|
10
|
+
s.description = %q{TODO: longer description of your gem}
|
11
|
+
s.email = %q{gabriel.gironda@centro.net}
|
12
|
+
s.extra_rdoc_files = ["LICENSE", "README.rdoc"]
|
13
|
+
s.files = [".document", ".gitignore", "LICENSE", "README.rdoc", "Rakefile", "VERSION", "lib/test-gem-four.rb", "test/helper.rb", "test/test_test-gem-four.rb"]
|
14
|
+
s.homepage = %q{http://github.com/gabrielg/test-gem-four}
|
15
|
+
s.rdoc_options = ["--charset=UTF-8"]
|
16
|
+
s.require_paths = ["lib"]
|
17
|
+
s.rubygems_version = %q{1.3.5}
|
18
|
+
s.summary = %q{TODO: one-line summary of your gem}
|
19
|
+
s.test_files = ["test/helper.rb", "test/test_test-gem-four.rb"]
|
20
|
+
|
21
|
+
if s.respond_to? :specification_version then
|
22
|
+
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
23
|
+
s.specification_version = 3
|
24
|
+
|
25
|
+
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
|
26
|
+
s.add_development_dependency(%q<thoughtbot-shoulda>, [">= 0"])
|
27
|
+
else
|
28
|
+
s.add_dependency(%q<thoughtbot-shoulda>, [">= 0"])
|
29
|
+
end
|
30
|
+
else
|
31
|
+
s.add_dependency(%q<thoughtbot-shoulda>, [">= 0"])
|
32
|
+
end
|
33
|
+
end
|
@@ -0,0 +1,33 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
|
3
|
+
Gem::Specification.new do |s|
|
4
|
+
s.name = %q{test-gem-one}
|
5
|
+
s.version = "0.0.0"
|
6
|
+
|
7
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
8
|
+
s.authors = ["ggironda"]
|
9
|
+
s.date = %q{2009-11-14}
|
10
|
+
s.description = %q{TODO: longer description of your gem}
|
11
|
+
s.email = %q{gabriel.gironda@centro.net}
|
12
|
+
s.extra_rdoc_files = ["LICENSE", "README.rdoc"]
|
13
|
+
s.files = [".document", ".gitignore", "LICENSE", "README.rdoc", "Rakefile", "VERSION", "lib/test-gem-one.rb", "test/helper.rb", "test/test_test-gem-one.rb"]
|
14
|
+
s.homepage = %q{http://github.com/gabrielg/test-gem-one}
|
15
|
+
s.rdoc_options = ["--charset=UTF-8"]
|
16
|
+
s.require_paths = ["lib"]
|
17
|
+
s.rubygems_version = %q{1.3.5}
|
18
|
+
s.summary = %q{TODO: one-line summary of your gem}
|
19
|
+
s.test_files = ["test/helper.rb", "test/test_test-gem-one.rb"]
|
20
|
+
|
21
|
+
if s.respond_to? :specification_version then
|
22
|
+
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
23
|
+
s.specification_version = 3
|
24
|
+
|
25
|
+
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
|
26
|
+
s.add_runtime_dependency(%q<test-gem-three>, [">= 0"])
|
27
|
+
else
|
28
|
+
s.add_dependency(%q<test-gem-three>, [">= 0"])
|
29
|
+
end
|
30
|
+
else
|
31
|
+
s.add_dependency(%q<test-gem-three>, [">= 0"])
|
32
|
+
end
|
33
|
+
end
|
@@ -0,0 +1,33 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
|
3
|
+
Gem::Specification.new do |s|
|
4
|
+
s.name = %q{test-gem-two}
|
5
|
+
s.version = "0.0.0"
|
6
|
+
|
7
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
8
|
+
s.authors = ["ggironda"]
|
9
|
+
s.date = %q{2009-11-14}
|
10
|
+
s.description = %q{TODO: longer description of your gem}
|
11
|
+
s.email = %q{gabriel.gironda@centro.net}
|
12
|
+
s.extra_rdoc_files = ["LICENSE", "README.rdoc"]
|
13
|
+
s.files = [".document", ".gitignore", "LICENSE", "README.rdoc", "Rakefile", "VERSION", "lib/test-gem-two.rb", "test/helper.rb", "test/test_test-gem-two.rb"]
|
14
|
+
s.homepage = %q{http://github.com/gabrielg/test-gem-two}
|
15
|
+
s.rdoc_options = ["--charset=UTF-8"]
|
16
|
+
s.require_paths = ["lib"]
|
17
|
+
s.rubygems_version = %q{1.3.5}
|
18
|
+
s.summary = %q{TODO: one-line summary of your gem}
|
19
|
+
s.test_files = ["test/helper.rb", "test/test_test-gem-two.rb"]
|
20
|
+
|
21
|
+
if s.respond_to? :specification_version then
|
22
|
+
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
23
|
+
s.specification_version = 3
|
24
|
+
|
25
|
+
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
|
26
|
+
s.add_development_dependency(%q<thoughtbot-shoulda>, [">= 0"])
|
27
|
+
else
|
28
|
+
s.add_dependency(%q<thoughtbot-shoulda>, [">= 0"])
|
29
|
+
end
|
30
|
+
else
|
31
|
+
s.add_dependency(%q<thoughtbot-shoulda>, [">= 0"])
|
32
|
+
end
|
33
|
+
end
|