knife-changelog 0.5.4 → 0.5.5.pre.alpha.pre.64

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,15 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 9b9fe8f47dbcc493c2bfe7a65e414229068da589
4
- data.tar.gz: 62b05ad7df7ef5ab70d1ab6e3c3d047f2937b919
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ MmEzY2Q4Zjk2OGUxODIyZDFiNzE2OTExODYwMDY2MjIyYjQ1N2FlOQ==
5
+ data.tar.gz: !binary |-
6
+ NWE1ZWUyYzNiODA2N2MxYTU4ZWEzNDE4NTk3NTM1MzFkZjIwYmYzNQ==
5
7
  SHA512:
6
- metadata.gz: 9bbf0b15344cc0a046a26a97898baea0c7029f584cd84f0f900ae144d272308d859a6387375eee6da80882fcd1118bfcbc0b6cd08d12df0486ede837c1d154cb
7
- data.tar.gz: 9f073b1ef7bbd590d3f45d1aaecbc32d9781cbcc53640178570466ea12f911376b30242e167ade5ea937ed1eb1240868acc248e110547ccf46acd8d5413c2469
8
+ metadata.gz: !binary |-
9
+ OWU5OWM0YmExYWE1OGEyNDU5ODgyZGZmMjIwMzAyYjhlODUzOWE2ZjBlOWY1
10
+ ZDRmMmFiOTNkNDE2MmZjYmRiYzEzMjQyN2JhZGIwOGQyZTZlNGVlZGRmNmEx
11
+ YTIxYjk5YjU1M2QxMjQ5OTk0ZDc0NjVkNTVhOWQ5ZTg4OTkyOWU=
12
+ data.tar.gz: !binary |-
13
+ NmQ2MjY3MGZkNWFmMzJmMTYxNDRmZGNlNzM2ZTk4MTMxNjIzOTUxZTYwOThm
14
+ ZWY2MmQ3NmQyNjEzZWY4NGVhYjYzZDUwZWQ3NDNlOWM3ZGY2MDY3YTBhMTQ0
15
+ MjRjN2VhNzg5ZGQ1MmY0ZTU3YmMyN2JkNzFmZWYwM2Y5ZmQ1MzE=
@@ -192,7 +192,8 @@ class KnifeChangelog
192
192
  def generate_from_changelog_file(filename, current_rev, rev_parse, tmp_dir)
193
193
  diff = Mixlib::ShellOut.new("git diff #{current_rev}..#{rev_parse} -- #{filename}", :cwd => tmp_dir)
194
194
  diff.run_command
195
- diff.stdout.lines.collect {|line| $1 if line =~ /^\+([^+].*)/}.compact
195
+ ch = diff.stdout.lines.collect {|line| $1 if line =~ /^\+([^+].*)/}.compact
196
+ ch.empty? ? nil : ch
196
197
  end
197
198
 
198
199
  def generate_from_git_history(tmp_dir, location, current_rev, rev_parse)
@@ -1,5 +1,5 @@
1
1
  module Knife
2
2
  module Changelog
3
- VERSION = "0.5.4"
3
+ VERSION = "0.5.5"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: knife-changelog
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.4
4
+ version: 0.5.5.pre.alpha.pre.64
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gregoire Seux
@@ -14,98 +14,98 @@ dependencies:
14
14
  name: bundler
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ~>
18
18
  - !ruby/object:Gem::Version
19
19
  version: '1.6'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "~>"
24
+ - - ~>
25
25
  - !ruby/object:Gem::Version
26
26
  version: '1.6'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ">="
31
+ - - ! '>='
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ">="
38
+ - - ! '>='
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rspec
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ">="
45
+ - - ! '>='
46
46
  - !ruby/object:Gem::Version
47
47
  version: '0'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ">="
52
+ - - ! '>='
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: berkshelf
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ">="
59
+ - - ! '>='
60
60
  - !ruby/object:Gem::Version
61
61
  version: '0'
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - ">="
66
+ - - ! '>='
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: rest-client
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - ">="
73
+ - - ! '>='
74
74
  - !ruby/object:Gem::Version
75
75
  version: '0'
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - ">="
80
+ - - ! '>='
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: mixlib-shellout
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - ">="
87
+ - - ! '>='
88
88
  - !ruby/object:Gem::Version
89
89
  version: '0'
90
90
  type: :runtime
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - ">="
94
+ - - ! '>='
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: chef
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - ">="
101
+ - - ! '>='
102
102
  - !ruby/object:Gem::Version
103
103
  version: '0'
104
104
  type: :runtime
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
- - - ">="
108
+ - - ! '>='
109
109
  - !ruby/object:Gem::Version
110
110
  version: '0'
111
111
  description: ''
@@ -115,8 +115,8 @@ executables: []
115
115
  extensions: []
116
116
  extra_rdoc_files: []
117
117
  files:
118
- - ".gitignore"
119
- - ".travis.yml"
118
+ - .gitignore
119
+ - .travis.yml
120
120
  - Gemfile
121
121
  - LICENSE.txt
122
122
  - README.md
@@ -137,19 +137,18 @@ require_paths:
137
137
  - lib
138
138
  required_ruby_version: !ruby/object:Gem::Requirement
139
139
  requirements:
140
- - - ">="
140
+ - - ! '>='
141
141
  - !ruby/object:Gem::Version
142
142
  version: '0'
143
143
  required_rubygems_version: !ruby/object:Gem::Requirement
144
144
  requirements:
145
- - - ">="
145
+ - - ! '>'
146
146
  - !ruby/object:Gem::Version
147
- version: '0'
147
+ version: 1.3.1
148
148
  requirements: []
149
149
  rubyforge_project:
150
- rubygems_version: 2.4.5.1
150
+ rubygems_version: 2.4.5
151
151
  signing_key:
152
152
  specification_version: 4
153
153
  summary: Facilitate access to cookbooks changelog
154
154
  test_files: []
155
- has_rdoc: