bones-git 1.2.1 → 1.2.2

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.
@@ -1,7 +1,12 @@
1
+ == 1.2.2 / 2010-12-13
2
+
3
+ * 1 bug fix
4
+ * dev version number tag matching was not working
5
+
1
6
  == 1.2.1 / 2010-11-26
2
7
 
3
8
  * 1 minor enhancement
4
- # fixing dev version numbering
9
+ * fixing dev version numbering
5
10
 
6
11
  == 1.2.0 / 2010-07-02
7
12
 
@@ -78,8 +78,9 @@ module Bones::Plugins::Git
78
78
  end # task
79
79
 
80
80
  task :dev_version do |t|
81
+ tag = "%s-%s" % [config.name, config.version]
81
82
  rgxp = Regexp.new(Regexp.escape(config.version) + '-(\w+)')
82
- m = rgxp.match(%x(git describe --tags))
83
+ m = rgxp.match(%x(git describe --tags --match #{tag}))
83
84
  if m
84
85
  config.version << ".#{m[1]}"
85
86
  config.gem._spec.version = config.version
@@ -1 +1 @@
1
- 1.2.1
1
+ 1.2.2
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bones-git
3
3
  version: !ruby/object:Gem::Version
4
- hash: 29
4
+ hash: 27
5
5
  prerelease: false
6
6
  segments:
7
7
  - 1
8
8
  - 2
9
- - 1
10
- version: 1.2.1
9
+ - 2
10
+ version: 1.2.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Tim Pease
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-11-26 00:00:00 -07:00
18
+ date: 2010-12-13 00:00:00 -07:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency