bones-git 1.1.2 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
data/History.txt CHANGED
@@ -1,3 +1,8 @@
1
+ == 1.2.0 / 2010-07-02
2
+
3
+ * 1 minor enhancement
4
+ * Adding a dev version number
5
+
1
6
  == 1.1.1 / 2009-11-14
2
7
 
3
8
  * 1 bug fix
@@ -77,11 +77,17 @@ module Bones::Plugins::Git
77
77
  end
78
78
  end # task
79
79
 
80
+ task :dev_version do |t|
81
+ rgxp = Regexp.new(Regexp.escape(config.version) + '-(\d+)')
82
+ m = rgxp.match(%x(git describe --tags))
83
+ (config.version << ".#{m[1]}") if m
84
+ end # task
85
+
80
86
  end # namespace :git
81
87
 
88
+ task 'gem:package' => 'git:dev_version'
82
89
  task 'gem:release' => 'git:create_tag'
83
90
  end
84
91
 
85
92
  end # module Bones::Plugins::Git
86
93
 
87
- # EOF
data/version.txt CHANGED
@@ -1 +1 @@
1
- 1.1.2
1
+ 1.2.0
metadata CHANGED
@@ -4,9 +4,9 @@ version: !ruby/object:Gem::Version
4
4
  prerelease: false
5
5
  segments:
6
6
  - 1
7
- - 1
8
7
  - 2
9
- version: 1.1.2
8
+ - 0
9
+ version: 1.2.0
10
10
  platform: ruby
11
11
  authors:
12
12
  - Tim Pease
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-05-18 00:00:00 -06:00
17
+ date: 2010-07-02 00:00:00 -06:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
@@ -27,8 +27,8 @@ dependencies:
27
27
  segments:
28
28
  - 3
29
29
  - 4
30
- - 2
31
- version: 3.4.2
30
+ - 7
31
+ version: 3.4.7
32
32
  type: :runtime
33
33
  version_requirements: *id001
34
34
  - !ruby/object:Gem::Dependency
@@ -55,8 +55,8 @@ dependencies:
55
55
  segments:
56
56
  - 3
57
57
  - 4
58
- - 2
59
- version: 3.4.2
58
+ - 7
59
+ version: 3.4.7
60
60
  type: :development
61
61
  version_requirements: *id003
62
62
  description: |-