git-version-bump 0.3.1 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -18,6 +18,10 @@ You will now have the following rake tasks available:
18
18
  rake version:bump:minor # bump minor version (x.y.z -> x.y+1.0)
19
19
  rake version:bump:patch # bump patch version (x.y.z -> x.y.z+1)
20
20
 
21
+ (Since `version:bump:major` is a lot of typing, there are also shortcuts:
22
+ `v:b:major`, `v:b:maj`, `v:b:minor`, `v:b:min`, `v:b:patch`, `v:b:pat`, and
23
+ `v:b:p`)
24
+
21
25
  By running any of those, a new tag will be created representing the newly
22
26
  incremented version number at the current commit. If no tags currently
23
27
  exist, the previous version will be taken to be `0.0.0` and then incremented
@@ -24,3 +24,17 @@ namespace :version do
24
24
  end
25
25
  end
26
26
  end
27
+
28
+ namespace :v do
29
+ namespace :b do
30
+ task :major => "version:bump:major"
31
+ task :maj => "version:bump:major"
32
+
33
+ task :minor => "version:bump:minor"
34
+ task :min => "version:bump:minor"
35
+
36
+ task :patch => "version:bump:patch"
37
+ task :pat => "version:bump:patch"
38
+ task :p => "version:bump:patch"
39
+ end
40
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: git-version-bump
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.4.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -87,7 +87,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
87
87
  version: '0'
88
88
  segments:
89
89
  - 0
90
- hash: 2136086949419430204
90
+ hash: -4259481629869116982
91
91
  required_rubygems_version: !ruby/object:Gem::Requirement
92
92
  none: false
93
93
  requirements:
@@ -96,7 +96,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
96
96
  version: '0'
97
97
  segments:
98
98
  - 0
99
- hash: 2136086949419430204
99
+ hash: -4259481629869116982
100
100
  requirements: []
101
101
  rubyforge_project:
102
102
  rubygems_version: 1.8.23