knife-changelog 0.4.0 → 0.4.1

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
  SHA1:
3
- metadata.gz: 748854d5c3bddcfe1add1e233eb0ec45a54d9101
4
- data.tar.gz: 110bffc5bc2cc608612353a62de0f887c4c55046
3
+ metadata.gz: fe63f46ac44981a45568438a1cd30b306f732312
4
+ data.tar.gz: 86ed6ca574804fd9fea5004a066ebabb274f1b92
5
5
  SHA512:
6
- metadata.gz: 1ac97f0b5ff8c49aa017a4bb0a56b8f1bf96bcf1662cb91adbd69617c12e280c19d5c5d9d39d34f3e62ef268b3c8417db3d9aaa73f66cfa5fcb702420c4bb447
7
- data.tar.gz: 8d7c0488a0a834eeb20ae187f67be765647efcb52d938b11c1d08ef6b7e23c133e53add6a9793f2f6b502cd4020cbe7eca19bd239f790c4237281b2e1fc45e15
6
+ metadata.gz: 2d4c5141d01b58554487d7f908f06434362672d4dc4a5e9c38276ac56e521504a67b4eedc61724a18d6f11eb417f6ab4993941fb3d32c8315e473bb6cbe625bd
7
+ data.tar.gz: c89472d172db55754189544eb6263a6c88cbe17376fa8d378e06d60997c9307a5087707735784b9b60a763ea8bbc2d43921b45ef9d298f9feab3f3ead98a7935
@@ -47,7 +47,12 @@ class KnifeChangelog
47
47
  end
48
48
 
49
49
  def ck_location(name)
50
- ck_dep(name).location
50
+ begin
51
+ ck_dep(name).location
52
+ rescue
53
+ puts "Failed to get location for cookbook: #{name}"
54
+ raise
55
+ end
51
56
  end
52
57
 
53
58
  def guess_version_for(name)
@@ -79,7 +84,8 @@ class KnifeChangelog
79
84
  nil
80
85
  else
81
86
  [
82
- "### Changelog for #{name}",
87
+ "Changelog for #{name}",
88
+ "==============#{'=' * name.size}"
83
89
  changelog,
84
90
  "\n"
85
91
  ].join("\n")
@@ -1,5 +1,5 @@
1
1
  module Knife
2
2
  module Changelog
3
- VERSION = "0.4.0"
3
+ VERSION = "0.4.1"
4
4
  end
5
5
  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: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gregoire Seux
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-20 00:00:00.000000000 Z
11
+ date: 2015-07-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler