javagems 0.4.3 → 0.4.4
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +0 -2
- data/VERSION +1 -1
- data/bin/javagem +0 -2
- data/javagems.gemspec +1 -10
- metadata +1 -24
- data/lib/rubygems/commands/jeweler_command.rb +0 -17
- data/test/jeweler_command_test.rb +0 -24
data/Rakefile
CHANGED
@@ -13,9 +13,7 @@ begin
|
|
13
13
|
gem.homepage = "http://www.javagems.org/"
|
14
14
|
gem.authors = ["gabrielg", "jaknowlden"]
|
15
15
|
gem.add_dependency "gemcutter"
|
16
|
-
gem.add_dependency "jeweler"
|
17
16
|
gem.add_dependency "bundler"
|
18
|
-
gem.add_dependency "cmdparse"
|
19
17
|
gem.add_development_dependency "riot"
|
20
18
|
end
|
21
19
|
Jeweler::GemcutterTasks.new
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.4.
|
1
|
+
0.4.4
|
data/bin/javagem
CHANGED
@@ -3,10 +3,8 @@ require 'pathname'
|
|
3
3
|
$: << (Pathname(__FILE__).parent.parent + "lib").expand_path.to_s
|
4
4
|
require 'javagems/gem_overrides'
|
5
5
|
require 'rubygems/command_manager'
|
6
|
-
require "rubygems/commands/jeweler_command"
|
7
6
|
require "rubygems/commands/classpath_command"
|
8
7
|
|
9
|
-
Gem::CommandManager.instance.register_command :jeweler
|
10
8
|
Gem::CommandManager.instance.register_command :classpath
|
11
9
|
|
12
10
|
required_version = Gem::Requirement.new "> 1.8.3"
|
data/javagems.gemspec
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{javagems}
|
8
|
-
s.version = "0.4.
|
8
|
+
s.version = "0.4.4"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["gabrielg", "jaknowlden"]
|
@@ -30,7 +30,6 @@ Gem::Specification.new do |s|
|
|
30
30
|
"lib/javagems/classpath_builder.rb",
|
31
31
|
"lib/javagems/gem_overrides.rb",
|
32
32
|
"lib/rubygems/commands/classpath_command.rb",
|
33
|
-
"lib/rubygems/commands/jeweler_command.rb",
|
34
33
|
"test/classpath_command_test.rb",
|
35
34
|
"test/gem_overrides_test.rb",
|
36
35
|
"test/invalid_test_app/Gemfile",
|
@@ -68,7 +67,6 @@ Gem::Specification.new do |s|
|
|
68
67
|
"test/invalid_test_app/vendor/gems/specifications/test-gem-four-0.0.0.gemspec",
|
69
68
|
"test/invalid_test_app/vendor/gems/specifications/test-gem-one-0.0.0.gemspec",
|
70
69
|
"test/invalid_test_app/vendor/gems/specifications/test-gem-two-0.0.0.gemspec",
|
71
|
-
"test/jeweler_command_test.rb",
|
72
70
|
"test/test_helper.rb",
|
73
71
|
"test/valid_test_app/Gemfile",
|
74
72
|
"test/valid_test_app/vendor/gems/dirs/test-gem-four/.document",
|
@@ -135,7 +133,6 @@ Gem::Specification.new do |s|
|
|
135
133
|
"test/invalid_test_app/vendor/gems/dirs/test-gem-two/test/helper.rb",
|
136
134
|
"test/invalid_test_app/vendor/gems/dirs/test-gem-two/test/test_test-gem-two.rb",
|
137
135
|
"test/invalid_test_app/vendor/gems/environment.rb",
|
138
|
-
"test/jeweler_command_test.rb",
|
139
136
|
"test/test_helper.rb",
|
140
137
|
"test/valid_test_app/vendor/gems/dirs/test-gem-four/lib/test-gem-four.rb",
|
141
138
|
"test/valid_test_app/vendor/gems/dirs/test-gem-four/test/helper.rb",
|
@@ -158,22 +155,16 @@ Gem::Specification.new do |s|
|
|
158
155
|
|
159
156
|
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
|
160
157
|
s.add_runtime_dependency(%q<gemcutter>, [">= 0"])
|
161
|
-
s.add_runtime_dependency(%q<jeweler>, [">= 0"])
|
162
158
|
s.add_runtime_dependency(%q<bundler>, [">= 0"])
|
163
|
-
s.add_runtime_dependency(%q<cmdparse>, [">= 0"])
|
164
159
|
s.add_development_dependency(%q<riot>, [">= 0"])
|
165
160
|
else
|
166
161
|
s.add_dependency(%q<gemcutter>, [">= 0"])
|
167
|
-
s.add_dependency(%q<jeweler>, [">= 0"])
|
168
162
|
s.add_dependency(%q<bundler>, [">= 0"])
|
169
|
-
s.add_dependency(%q<cmdparse>, [">= 0"])
|
170
163
|
s.add_dependency(%q<riot>, [">= 0"])
|
171
164
|
end
|
172
165
|
else
|
173
166
|
s.add_dependency(%q<gemcutter>, [">= 0"])
|
174
|
-
s.add_dependency(%q<jeweler>, [">= 0"])
|
175
167
|
s.add_dependency(%q<bundler>, [">= 0"])
|
176
|
-
s.add_dependency(%q<cmdparse>, [">= 0"])
|
177
168
|
s.add_dependency(%q<riot>, [">= 0"])
|
178
169
|
end
|
179
170
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: javagems
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- gabrielg
|
@@ -23,16 +23,6 @@ dependencies:
|
|
23
23
|
- !ruby/object:Gem::Version
|
24
24
|
version: "0"
|
25
25
|
version:
|
26
|
-
- !ruby/object:Gem::Dependency
|
27
|
-
name: jeweler
|
28
|
-
type: :runtime
|
29
|
-
version_requirement:
|
30
|
-
version_requirements: !ruby/object:Gem::Requirement
|
31
|
-
requirements:
|
32
|
-
- - ">="
|
33
|
-
- !ruby/object:Gem::Version
|
34
|
-
version: "0"
|
35
|
-
version:
|
36
26
|
- !ruby/object:Gem::Dependency
|
37
27
|
name: bundler
|
38
28
|
type: :runtime
|
@@ -43,16 +33,6 @@ dependencies:
|
|
43
33
|
- !ruby/object:Gem::Version
|
44
34
|
version: "0"
|
45
35
|
version:
|
46
|
-
- !ruby/object:Gem::Dependency
|
47
|
-
name: cmdparse
|
48
|
-
type: :runtime
|
49
|
-
version_requirement:
|
50
|
-
version_requirements: !ruby/object:Gem::Requirement
|
51
|
-
requirements:
|
52
|
-
- - ">="
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: "0"
|
55
|
-
version:
|
56
36
|
- !ruby/object:Gem::Dependency
|
57
37
|
name: riot
|
58
38
|
type: :development
|
@@ -88,7 +68,6 @@ files:
|
|
88
68
|
- lib/javagems/classpath_builder.rb
|
89
69
|
- lib/javagems/gem_overrides.rb
|
90
70
|
- lib/rubygems/commands/classpath_command.rb
|
91
|
-
- lib/rubygems/commands/jeweler_command.rb
|
92
71
|
- test/classpath_command_test.rb
|
93
72
|
- test/gem_overrides_test.rb
|
94
73
|
- test/invalid_test_app/Gemfile
|
@@ -126,7 +105,6 @@ files:
|
|
126
105
|
- test/invalid_test_app/vendor/gems/specifications/test-gem-four-0.0.0.gemspec
|
127
106
|
- test/invalid_test_app/vendor/gems/specifications/test-gem-one-0.0.0.gemspec
|
128
107
|
- test/invalid_test_app/vendor/gems/specifications/test-gem-two-0.0.0.gemspec
|
129
|
-
- test/jeweler_command_test.rb
|
130
108
|
- test/test_helper.rb
|
131
109
|
- test/valid_test_app/Gemfile
|
132
110
|
- test/valid_test_app/vendor/gems/dirs/test-gem-four/.document
|
@@ -215,7 +193,6 @@ test_files:
|
|
215
193
|
- test/invalid_test_app/vendor/gems/dirs/test-gem-two/test/helper.rb
|
216
194
|
- test/invalid_test_app/vendor/gems/dirs/test-gem-two/test/test_test-gem-two.rb
|
217
195
|
- test/invalid_test_app/vendor/gems/environment.rb
|
218
|
-
- test/jeweler_command_test.rb
|
219
196
|
- test/test_helper.rb
|
220
197
|
- test/valid_test_app/vendor/gems/dirs/test-gem-four/lib/test-gem-four.rb
|
221
198
|
- test/valid_test_app/vendor/gems/dirs/test-gem-four/test/helper.rb
|
@@ -1,17 +0,0 @@
|
|
1
|
-
require 'rubygems/command'
|
2
|
-
require 'jeweler/generator'
|
3
|
-
|
4
|
-
class Gem::Commands::JewelerCommand < Gem::Command
|
5
|
-
def initialize
|
6
|
-
super 'jeweler', "Generates a shiny new gem for you using Jeweler"
|
7
|
-
end
|
8
|
-
|
9
|
-
def usage
|
10
|
-
Jeweler::Generator::Options.new([]).opts.to_s
|
11
|
-
end
|
12
|
-
|
13
|
-
def execute
|
14
|
-
Jeweler::Generator::Application.run!(*options[:args])
|
15
|
-
end
|
16
|
-
|
17
|
-
end
|
@@ -1,24 +0,0 @@
|
|
1
|
-
require 'test_helper'
|
2
|
-
require 'rubygems/commands/jeweler_command'
|
3
|
-
require 'stringio'
|
4
|
-
|
5
|
-
context "the jeweler command" do
|
6
|
-
setup do
|
7
|
-
@command = Gem::Commands::JewelerCommand.new
|
8
|
-
end
|
9
|
-
|
10
|
-
should "return jeweler's usage information when asked for usage" do
|
11
|
-
@command.usage
|
12
|
-
end.equals(Jeweler::Generator::Options.new([]).opts.to_s)
|
13
|
-
|
14
|
-
should "invoke jeweler when invoked" do
|
15
|
-
begin
|
16
|
-
real_stderr, $stderr = $stderr, StringIO.new
|
17
|
-
@command.execute
|
18
|
-
ensure
|
19
|
-
$stderr = real_stderr
|
20
|
-
end
|
21
|
-
end.equals(1)
|
22
|
-
|
23
|
-
end
|
24
|
-
|