bumpy 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/bumpy +2 -4
- data/lib/bumpy/version.rb +1 -1
- metadata +3 -3
data/bin/bumpy
CHANGED
@@ -12,7 +12,6 @@ Usage: bumpy [options] [version]
|
|
12
12
|
Available Options:
|
13
13
|
EOS
|
14
14
|
|
15
|
-
|
16
15
|
opt :dryrun, "Dry run (no writing or committing)"
|
17
16
|
opt :no_git, "Don't automatically create git commit"
|
18
17
|
end
|
@@ -20,7 +19,6 @@ end
|
|
20
19
|
EXPR = %r{VERSION = ['"](.+)['"]}
|
21
20
|
opts[:new_version] = ARGV.shift
|
22
21
|
|
23
|
-
|
24
22
|
Dir['./lib/**/version.rb'].each do |name|
|
25
23
|
contents = File.read(name)
|
26
24
|
if contents =~ EXPR
|
@@ -45,6 +43,6 @@ Dir['./lib/**/version.rb'].each do |name|
|
|
45
43
|
|
46
44
|
break
|
47
45
|
end
|
48
|
-
|
49
|
-
puts "No version file found. :("
|
50
46
|
end
|
47
|
+
|
48
|
+
puts "No version file found. :("
|
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.1
|
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: &70208455180780 !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: *70208455180780
|
25
25
|
description: Bumpy bumps your gem's version number.
|
26
26
|
email:
|
27
27
|
- hendrik@mans.de
|