hoe-version 1.0.0 → 1.1.0
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/History.txt +8 -0
- data/lib/hoe/version.rb +5 -1
- metadata +2 -2
data/History.txt
CHANGED
data/lib/hoe/version.rb
CHANGED
@@ -10,7 +10,7 @@
|
|
10
10
|
# version:bump:patch:: Writes out version, bumping to next patch level release.
|
11
11
|
#
|
12
12
|
module Hoe::Version
|
13
|
-
VERSION = '1.
|
13
|
+
VERSION = '1.1.0'
|
14
14
|
|
15
15
|
def define_version_tasks
|
16
16
|
desc 'print current version'
|
@@ -45,9 +45,13 @@ module Hoe::Version
|
|
45
45
|
increment [0, 0, 1]
|
46
46
|
task('version:write').invoke
|
47
47
|
end
|
48
|
+
|
49
|
+
# hook task
|
50
|
+
task 'prep_release' => 'version:bump'
|
48
51
|
end
|
49
52
|
|
50
53
|
def increment mask
|
54
|
+
return if ENV['VERSION']
|
51
55
|
segments = version.split('.')[0,3].map!{|p| p.to_i}
|
52
56
|
|
53
57
|
mask.each_with_index do |m, i|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hoe-version
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.1.0
|
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: 2012-07-
|
12
|
+
date: 2012-07-19 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rdoc
|