bump 0.3.11 → 0.3.12
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 +3 -3
- metadata +1 -1
data/Gemfile.lock
CHANGED
data/bump.gemspec
CHANGED
data/lib/bump.rb
CHANGED
@@ -97,9 +97,9 @@ module Bump
|
|
97
97
|
end
|
98
98
|
|
99
99
|
def self.version_from_lib_rb
|
100
|
-
|
101
|
-
return unless file
|
102
|
-
|
100
|
+
file = find_version_file("lib/**/*.rb")
|
101
|
+
return unless file && File.read(file) =~ /^\s+VERSION = ['"](#{VERSION_REGEX})['"]/i
|
102
|
+
[$1, file]
|
103
103
|
end
|
104
104
|
|
105
105
|
def self.version_from_chef
|