bumpy 0.1.3 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/bin/bumpy +2 -2
- data/lib/bumpy/version.rb +1 -1
- metadata +3 -3
data/bin/bumpy
CHANGED
@@ -17,14 +17,14 @@ EOS
|
|
17
17
|
opt :no_git, "Don't automatically create git commit"
|
18
18
|
end
|
19
19
|
|
20
|
-
EXPR = %r{VERSION = ['"](
|
20
|
+
EXPR = %r{VERSION = ['"](.+)['"]}
|
21
21
|
opts[:new_version] = ARGV.shift
|
22
22
|
|
23
23
|
Dir['./lib/**/version.rb'].each do |name|
|
24
24
|
contents = File.read(name)
|
25
25
|
if contents =~ EXPR
|
26
26
|
opts[:new_version] ||= begin
|
27
|
-
|
27
|
+
$1.next
|
28
28
|
end
|
29
29
|
|
30
30
|
puts "Bumping version number found in #{name} to #{opts[:new_version]}"
|
data/lib/bumpy/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bumpy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -13,7 +13,7 @@ date: 2012-05-31 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: trollop
|
16
|
-
requirement: &
|
16
|
+
requirement: &70280387192280 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,7 +21,7 @@ dependencies:
|
|
21
21
|
version: '0'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70280387192280
|
25
25
|
description: Bumpy bumps your gem's version number.
|
26
26
|
email:
|
27
27
|
- hendrik@mans.de
|