knife-changelog 1.0.4 → 1.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/knife/changelog/changelog.rb +5 -0
- data/lib/knife/changelog/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aa4e42103311806ff7c88b829d826fb4e8546e1d17c463d8bb4082b31a88f479
|
4
|
+
data.tar.gz: 189c09706beb96b561e124719e396bdac38fba5f1205cdff0e8a5450a8cb2d2c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5d22e0aedafda4f36d0650718965c2ad1c39e17edf9c72a683f0b94ed498696ec4880a9387330a4de82a135ab7f5b8ac1232e0c8435d073e5f6c9138b6497465
|
7
|
+
data.tar.gz: 6b7d85d9a2ed9e500fb533106ea3e258ae8fcddb81406a7adf9aaccd1ad8ec2f64396b076ed58e44fc9f9e0956703c14ef521ef0c68cb3f1b194deef31450fe7
|
@@ -172,6 +172,11 @@ class KnifeChangelog
|
|
172
172
|
url = get_from_supermarket_sources(name)
|
173
173
|
raise "No source found in supermarket for cookbook '#{name}'" unless url
|
174
174
|
Chef::Log.debug("Using #{url} as source url")
|
175
|
+
# Workaround source_url not being written in a clonable way.
|
176
|
+
# github.com/blah/cookbook works but git clone requires github.com/blah/cookbook.git
|
177
|
+
if !url.end_with?('.git')
|
178
|
+
url = "#{url}.git"
|
179
|
+
end
|
175
180
|
location = Location.new(url, guess_version_for(name), 'master')
|
176
181
|
handle_git(name, location)
|
177
182
|
end
|
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.0.
|
4
|
+
version: 1.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gregoire Seux
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-11-
|
11
|
+
date: 2017-11-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|