bones-git 1.2.2 → 1.2.3

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,3 +1,8 @@
1
+ == 1.2.3 / 2011-02-05
2
+
3
+ Bug Fixes
4
+ - Quieting some git error messages [Lin Jen-Shin]
5
+
1
6
  == 1.2.2 / 2010-12-13
2
7
 
3
8
  * 1 bug fix
@@ -8,7 +8,7 @@ module Bones::Plugins::Git
8
8
  def post_load
9
9
  have?(:git) {
10
10
  Dir.entries(Dir.pwd).include?('.git') and
11
- system("git --version 2>&1 > #{DEV_NULL}")
11
+ quiet { system("git --version") }
12
12
  }
13
13
  end
14
14
 
@@ -80,7 +80,8 @@ module Bones::Plugins::Git
80
80
  task :dev_version do |t|
81
81
  tag = "%s-%s" % [config.name, config.version]
82
82
  rgxp = Regexp.new(Regexp.escape(config.version) + '-(\w+)')
83
- m = rgxp.match(%x(git describe --tags --match #{tag}))
83
+ str = quiet { %x(git describe --tags --match #{tag}) }
84
+ m = rgxp.match(str)
84
85
  if m
85
86
  config.version << ".#{m[1]}"
86
87
  config.gem._spec.version = config.version
@@ -1 +1 @@
1
- 1.2.2
1
+ 1.2.3
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: 27
4
+ hash: 25
5
5
  prerelease: false
6
6
  segments:
7
7
  - 1
8
8
  - 2
9
- - 2
10
- version: 1.2.2
9
+ - 3
10
+ version: 1.2.3
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-12-13 00:00:00 -07:00
18
+ date: 2011-02-05 00:00:00 -07:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -24,14 +24,14 @@ dependencies:
24
24
  requirement: &id001 !ruby/object:Gem::Requirement
25
25
  none: false
26
26
  requirements:
27
- - - ">="
27
+ - - "="
28
28
  - !ruby/object:Gem::Version
29
- hash: 27
29
+ hash: 23
30
30
  segments:
31
31
  - 3
32
- - 5
32
+ - 6
33
33
  - 4
34
- version: 3.5.4
34
+ version: 3.6.4
35
35
  type: :runtime
36
36
  version_requirements: *id001
37
37
  - !ruby/object:Gem::Dependency
@@ -40,7 +40,7 @@ dependencies:
40
40
  requirement: &id002 !ruby/object:Gem::Requirement
41
41
  none: false
42
42
  requirements:
43
- - - ">="
43
+ - - "="
44
44
  - !ruby/object:Gem::Version
45
45
  hash: 21
46
46
  segments:
@@ -58,12 +58,12 @@ dependencies:
58
58
  requirements:
59
59
  - - ">="
60
60
  - !ruby/object:Gem::Version
61
- hash: 27
61
+ hash: 23
62
62
  segments:
63
63
  - 3
64
- - 5
64
+ - 6
65
65
  - 4
66
- version: 3.5.4
66
+ version: 3.6.4
67
67
  type: :development
68
68
  version_requirements: *id003
69
69
  description: |-
@@ -79,7 +79,6 @@ extensions: []
79
79
  extra_rdoc_files:
80
80
  - History.txt
81
81
  - README.rdoc
82
- - version.txt
83
82
  files:
84
83
  - History.txt
85
84
  - README.rdoc