knife-changelog 1.6.0 → 1.7.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 731b3e420e21b2512be8e155a1b1de2c86a3c8176df2a8757e9a92fae75c234d
4
- data.tar.gz: 25c25fc1a184540546610fa5b6881b75ab5b5d41b3631034393167d386e3727d
3
+ metadata.gz: 023bd4002b877a917379e771cda46f246bf6bde1da80d980d5398b0e3d020e48
4
+ data.tar.gz: bb6e6831e93c34bc0896313ff01faa0935b371d1b37031213fbb075ede0cc908
5
5
  SHA512:
6
- metadata.gz: a68e9e0ce0671437e659e87230827d103bfebd82902aeb563b7d7158b8235ef922c910477e5ebb6a357ed74a03daf8aeb29456f37835c6e8fb49efd5e276e601
7
- data.tar.gz: 136e3c7cebc581e1a08844fe24d03fcbd157ad7cd8e43ffec185a8c1c10c49bcb76c461bfc2400e65e10e49910260a54b7c1a85ee3cc5f0354c24c9a6716968b
6
+ metadata.gz: f0a9cb080f54d631f2e7029dcf7aa55c873c39f00f74b932ecb4a4b6f46b4dab2f437e6eb48fb6cec30efcd17dce79a2c98ab584caf0d87ac4d8385d88fce159
7
+ data.tar.gz: c7bcf3f6ef83c9cfcefae5bb7423daa63e2b292cbd8c2c67c72670cf4e6c7c8cab641d8016cca205bf298e76c015dd24575963f8ba122070012606582933b906
@@ -5,7 +5,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
5
 
6
6
  Gem::Specification.new do |spec|
7
7
  spec.name = 'knife-changelog'
8
- spec.version = '1.6.0'
8
+ spec.version = '1.7.0'
9
9
  spec.authors = ['Gregoire Seux']
10
10
  spec.email = ['kamaradclimber@gmail.com']
11
11
  spec.summary = 'Facilitate access to cookbooks changelog'
@@ -177,7 +177,7 @@ class KnifeChangelog
177
177
  if !url.end_with?('.git')
178
178
  url = "#{url}.git"
179
179
  end
180
- location = Location.new(url, guess_version_for(name), 'master')
180
+ location = Location.new(url, guess_version_for(name), 'HEAD')
181
181
  handle_git(name, location)
182
182
  end
183
183
 
@@ -200,7 +200,7 @@ class KnifeChangelog
200
200
  subm_revision.error!
201
201
  revision = subm_revision.stdout.strip.split(' ').first
202
202
  revision.gsub!(/^\+/, '')
203
- loc = Location.new(url, revision, 'master')
203
+ loc = Location.new(url, revision, 'HEAD')
204
204
  handle_git(name, loc)
205
205
  end
206
206
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: knife-changelog
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.0
4
+ version: 1.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gregoire Seux
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-07-19 00:00:00.000000000 Z
11
+ date: 2021-07-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pry