cookbook-release 0.4.3 → 0.4.4

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.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- MTRmMzIxZmY5MjlmZjQ4MjQyMDI2YzcxZTcyNjFmNWZmMDZiN2Q2OQ==
4
+ NDU3YzE4NWQ4YTMzZTVhY2IzYTUwOGNjNzcyMTkxZDMzZTk2MTM3MA==
5
5
  data.tar.gz: !binary |-
6
- YjAxYjA3YTM0MGU5MDBjYmYxZjg3Y2MwZDgxOTRhNGI4NWQyOTcxMQ==
6
+ ODU3NTFiNGZhZWYyNWJlNzJhMzg2YWFjZDk2MzU1NzM1ODdlOGEyMg==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- MzliNjE0NzM1NjFlNWQwNWE3YjU3NjhmZDY0NjU1OGEyNTA3MzZlNjU4ZmM5
10
- OTAyMGVkNDMyYWE0YTI1NzBkYTVkZTIzMzYwM2Y5ZmIyYjlmZWE2Yzg4MDZj
11
- ZjY3OTYyYThkOGZkOGMwZjY2YTM4MmViYjMxYWU5M2Q4ODdmNzU=
9
+ YjZlYWQ5MjQ4MWU3ODkwZDZlZTNmZTJlMTQxZDA2ZjkyMjA2NGNkNWZlZTdi
10
+ ODRhMzczOTA1YjUyYjRkYTVlNjcyMDdhNTEzMWNhMmExODA0ZmZhZTZjOTI1
11
+ NjU2NGVkZjYzMWEyNzg3Yjc5NzhmNjk4YmE5ZWM3MGU5NWUzNDA=
12
12
  data.tar.gz: !binary |-
13
- MTA3Y2VlYzNmYWFhMjU5NzMxODIyYmUxZTgwMzJmZDIwOWZkNWFkZWJmOTI5
14
- MzUyODkwMGI3YzY3ZDdhZDBiMTcyZTE3Y2NlNzhiMmJjNTc4ZmVjZDFhMWMy
15
- NTVjMjdkNmVmMTk5MmYyOTliYWI4ZWE0M2JkMTVkN2Q5NjQ4OTY=
13
+ MmUzYTBiODU3NjlmMTBhZDZlMTkzMmU0MjZmN2VkMDZkNGE4N2FhYTU0ZWFl
14
+ NWEyMGFjZjg1Mzk2YWY4Y2I5NjFkYzNjZDUwY2Q4NTdmNTU0ZTAyZmY5NTEw
15
+ YWE0OTA1NDAzNzFjYzJmZTg0Nzg4NzZkYWM0YWFlYjdhN2U3YWE=
@@ -6,7 +6,7 @@ require 'English'
6
6
 
7
7
  Gem::Specification.new do |spec|
8
8
  spec.name = 'cookbook-release'
9
- spec.version = '0.4.3'
9
+ spec.version = '0.4.4'
10
10
  spec.authors = ['Grégoire Seux']
11
11
  spec.email = 'g.seux@criteo.com'
12
12
  spec.summary = 'Provide primitives (and rake tasks) to release a cookbook'
@@ -15,7 +15,11 @@ class GitUtilities
15
15
  end
16
16
 
17
17
  def self.git?(dir)
18
- !Mixlib::ShellOut.new('git status', cwd: dir).run_command.error?
18
+ !Mixlib::ShellOut.new(
19
+ 'git status',
20
+ cwd: dir,
21
+ environment: { GIT_DIR: dir }
22
+ ).run_command.error?
19
23
  end
20
24
 
21
25
  def reset_command(new_version)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cookbook-release
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.3
4
+ version: 0.4.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Grégoire Seux
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-05-04 00:00:00.000000000 Z
11
+ date: 2016-05-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: semantic