cookbook-release 1.1.6 → 1.1.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- NjE4ODBmMzczNjhkNzcyNGZlZTJlYjZjYTZjYzU5ZDlmNWE0NWYyNw==
4
+ NWRhYzA1YzNlZTFkOTUyNWI1NGMwNGZmZTYzMjQzNzFkYTRkMTc0ZQ==
5
5
  data.tar.gz: !binary |-
6
- YmZlZmI2ZTUzN2M5ZGI0ZmI5ZTI2NGM4YWQyZTY2ZjczNzEyODQyNg==
6
+ NTM1OTE5YmU1MGU3YzYyNWM1NzUzYzJlNmZkYjI3ZTIzODYyMWU4Mg==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- MzY5NWU3ZjhjZDc0MmMyMTM3MGQ0NTMxNDFlMTg3Njk2MjlhYjI1ODJhNDE2
10
- YWQyZjRjYmFmYWU3MzIzYTc4OTAzNmU0OGE0NDY3NWIwZmZkNTY2ZTUxNjRm
11
- NWJhOGJjOTViYjc0NTY5Nzk3NWFkOTNmMDdhMTc3NjhkOWNlNzQ=
9
+ MWM3NmRlOGEyNTEwMGY2MDM1ZWJjM2RlNWRmMjcyODliYjQ1YjkyMDE5MTk1
10
+ MGIyODRiMmNhMzY0ZjAxZTkzYWZlZGUxNDNiM2I4MDhhYzg1ODY5N2U2MjJl
11
+ MGY5Y2M3MjllZDMxMzg5OTljNTQyNGY0NWRmOGFmNzFkZGRiZmQ=
12
12
  data.tar.gz: !binary |-
13
- YjZkY2JiMjdhOTExZmFmMGFlMzdjZTQwNDg4YWY1YzYyYzI5ZGU2MDQzMjk0
14
- OTBhZTk1MmRmOTQzZmQ2Yjc2ZjgyMTk5MGJmOTViNDBmZTIyZjVkYmFkMmY5
15
- MTFhZGVlZGI0MjIyNTI4MmU2NTQzZGNjOWEzZmNkMDE4OTU3YmQ=
13
+ ODk3MjZmZjcwNmU1YWZkMDI2YTY3ODQzNTVkNmNhMjc0YTVhNjhmOWM2MzY1
14
+ NDNjMTI1NjRiNDkzOWY0ODM2NjZhMjk3MWQ3OWExOGJkZmZmNjA0ZTYwMTdj
15
+ NjViYTU1MzM3YTJjMTY1OTMyMjJhZjI1MTgwZWE1Y2FjMmZlNTg=
@@ -6,7 +6,7 @@ require 'English'
6
6
 
7
7
  Gem::Specification.new do |spec|
8
8
  spec.name = 'cookbook-release'
9
- spec.version = '1.1.6'
9
+ spec.version = '1.1.7'
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'
@@ -19,7 +19,7 @@ module CookbookRelease
19
19
  end
20
20
 
21
21
  def self.git?(dir)
22
- !@g.nil?
22
+ File.directory?(::File.join(dir, '.git'))
23
23
  end
24
24
 
25
25
  def reset_command(new_version)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cookbook-release
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.6
4
+ version: 1.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Grégoire Seux