bump 0.4.2 → 0.4.3
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +1 -1
- data/bump.gemspec +1 -1
- data/lib/bump.rb +1 -1
- data/spec/bump_spec.rb +2 -2
- metadata +2 -2
data/Gemfile.lock
CHANGED
data/bump.gemspec
CHANGED
data/lib/bump.rb
CHANGED
@@ -95,9 +95,9 @@ module Bump
|
|
95
95
|
|
96
96
|
def self.current_info
|
97
97
|
version, file = (
|
98
|
+
version_from_version ||
|
98
99
|
version_from_version_rb ||
|
99
100
|
version_from_gemspec ||
|
100
|
-
version_from_version ||
|
101
101
|
version_from_lib_rb ||
|
102
102
|
version_from_chef ||
|
103
103
|
raise(UnfoundVersionFileError)
|
data/spec/bump_spec.rb
CHANGED
@@ -215,12 +215,12 @@ describe Bump do
|
|
215
215
|
end
|
216
216
|
|
217
217
|
it "should bump if a gemspec & version.rb exists and leave it alone" do
|
218
|
-
write_gemspec "
|
218
|
+
write_gemspec "'1.2.0'"
|
219
219
|
write_version_file "File.read('VERSION')"
|
220
220
|
bump("minor").should include("1.3.0")
|
221
221
|
read("VERSION").should include("1.3.0")
|
222
222
|
read(version_file).should include("VERSION = File.read('VERSION')")
|
223
|
-
read(gemspec).should include("version =
|
223
|
+
read(gemspec).should include("version = '1.2.0'")
|
224
224
|
end
|
225
225
|
|
226
226
|
context "with pre-release identifier" do
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bump
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
12
|
+
date: 2013-09-25 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rake
|