technicalpickles-jeweler 0.9.0 → 0.9.1
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +1 -0
- data/VERSION.yml +1 -1
- data/lib/jeweler/commands/release.rb +1 -0
- data/lib/jeweler/gemspec_helper.rb +4 -0
- data/test/jeweler/commands/test_release.rb +5 -0
- metadata +1 -1
data/Rakefile
CHANGED
data/VERSION.yml
CHANGED
@@ -93,6 +93,7 @@ class Jeweler
|
|
93
93
|
@gemspec_helper = Object.new
|
94
94
|
stub(@gemspec_helper).write
|
95
95
|
stub(@gemspec_helper).path {'zomg.gemspec'}
|
96
|
+
stub(@gemspec_helper).update_version('1.2.3')
|
96
97
|
|
97
98
|
status = Object.new
|
98
99
|
stub(status).added { [] }
|
@@ -115,6 +116,10 @@ class Jeweler
|
|
115
116
|
assert_received(@repo) {|repo| repo.checkout('master') }
|
116
117
|
end
|
117
118
|
|
119
|
+
should "refresh gemspec version" do
|
120
|
+
assert_received(@gemspec_helper) {|gemspec_helper| gemspec_helper.update_version('1.2.3') }
|
121
|
+
end
|
122
|
+
|
118
123
|
should "write gemspec" do
|
119
124
|
assert_received(@gemspec_helper) {|gemspec_helper| gemspec_helper.write }
|
120
125
|
|