kitchen_hooks 1.8.8 → 1.8.9

Sign up to get free protection for your applications and to get access to all the features.
data/.ruby-version ADDED
@@ -0,0 +1 @@
1
+ 1.9.3-p551
data/Gemfile CHANGED
@@ -17,5 +17,5 @@ group :test do
17
17
  gem 'ci_reporter'
18
18
  gem 'ci_reporter_minitest'
19
19
  gem 'simplecov', require: false
20
- gem 'simplecov-cobertura', github: 'sczizzo/simplecov-cobertura'
20
+ gem 'simplecov-cobertura'
21
21
  end
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.8.8
1
+ 1.8.9
@@ -23,4 +23,4 @@
23
23
  }
24
24
  ],
25
25
  "total_commits_count": 5
26
- }
26
+ }
@@ -14,4 +14,4 @@
14
14
 
15
15
  ],
16
16
  "total_commits_count": 0
17
- }
17
+ }
@@ -23,4 +23,4 @@
23
23
  }
24
24
  ],
25
25
  "total_commits_count": 1
26
- }
26
+ }
data/etc/config.json CHANGED
@@ -2,6 +2,6 @@
2
2
  "sync_interval": null,
3
3
  "hipchat": null,
4
4
  "knives": {
5
- "bng11": "~/Desktop/hooks.rb"
5
+ "bng11": "~/.chef/dc1.rb"
6
6
  }
7
- }
7
+ }
@@ -22,7 +22,7 @@ Gem::Specification.new do |s|
22
22
  s.add_runtime_dependency 'git', '~> 1.2'
23
23
  s.add_runtime_dependency 'sinatra', '~> 1.4'
24
24
  s.add_runtime_dependency 'ridley', '~> 4.1'
25
- s.add_runtime_dependency 'chef', '< 12.0.0'
25
+ s.add_runtime_dependency 'chef', '~> 11'
26
26
  s.add_runtime_dependency 'faraday', '= 0.9.1'
27
27
  s.add_runtime_dependency 'eventmachine', '= 1.0.4'
28
28
  s.add_runtime_dependency 'thin', '= 1.6.3'
@@ -139,6 +139,7 @@ module KitchenHooks
139
139
  [ knife, tmp_path, tmp_root ]
140
140
  end.peach do |(knife, tmp_path, tmp_root)|
141
141
  tmp_berksfile = File.join tmp_path, 'Berksfile'
142
+ berks_install tmp_berksfile
142
143
  berks_upload tmp_berksfile, knife
143
144
  FileUtils.rm_rf tmp_root
144
145
  end
@@ -257,7 +258,7 @@ module KitchenHooks
257
258
  ]
258
259
  config_path = berkshelf_config(knife)
259
260
 
260
- cmd = 'berks upload --debug --berksfile %s --config %s 2>&1' % [
261
+ cmd = 'berks upload --no-ssl-verify --debug --berksfile %s --config %s 2>&1' % [
261
262
  Shellwords::escape(berksfile), Shellwords::escape(config_path)
262
263
  ]
263
264
 
@@ -1,6 +1,7 @@
1
1
  FROM sczizzo/trusty-tool:latest
2
2
  MAINTAINER Sean Clemmer <sczizzo@gmail.com>
3
3
  ENV DEBIAN_FRONTEND=noninteractive
4
+ ARG BUILD_NUMBER=1
4
5
 
5
6
  COPY . /build
6
7
 
@@ -5,7 +5,7 @@ set -e
5
5
  ARTIFACTS="${1:-artifacts}"
6
6
 
7
7
  ruby=ruby2.2
8
- version=$(cat VERSION)
8
+ version="$(cat VERSION)-${BUILD_NUMBER:-1}+$(git rev-parse --short HEAD)"
9
9
 
10
10
  rm -rf doc
11
11
  rm -rf etc
data/tasks/package/run.sh CHANGED
@@ -18,6 +18,6 @@ trap cleanup EXIT
18
18
 
19
19
  rm -rf "$artifacts"
20
20
  docker pull "$base_image"
21
- docker build -t "$task_name" -f "$dockerfile" .
21
+ docker build --build-arg BUILD_NUMBER="$BUILD_NUMBER" -t "$task_name" -f "$dockerfile" .
22
22
  docker run --name "$task_name" -dt "$task_name"
23
23
  docker cp "$task_name":/artifacts "$artifacts"
metadata CHANGED
@@ -1,144 +1,164 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kitchen_hooks
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.8
4
+ version: 1.8.9
5
+ prerelease:
5
6
  platform: ruby
6
7
  authors:
7
8
  - Sean Clemmer
8
9
  autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []
11
- date: 2016-03-03 00:00:00.000000000 Z
12
+ date: 2016-03-18 00:00:00.000000000 Z
12
13
  dependencies:
13
14
  - !ruby/object:Gem::Dependency
14
15
  name: hipchat
15
16
  requirement: !ruby/object:Gem::Requirement
17
+ none: false
16
18
  requirements:
17
- - - "~>"
19
+ - - ~>
18
20
  - !ruby/object:Gem::Version
19
21
  version: 1.4.0
20
22
  type: :runtime
21
23
  prerelease: false
22
24
  version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
23
26
  requirements:
24
- - - "~>"
27
+ - - ~>
25
28
  - !ruby/object:Gem::Version
26
29
  version: 1.4.0
27
30
  - !ruby/object:Gem::Dependency
28
31
  name: daybreak
29
32
  requirement: !ruby/object:Gem::Requirement
33
+ none: false
30
34
  requirements:
31
- - - "~>"
35
+ - - ~>
32
36
  - !ruby/object:Gem::Version
33
37
  version: '0.3'
34
38
  type: :runtime
35
39
  prerelease: false
36
40
  version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
37
42
  requirements:
38
- - - "~>"
43
+ - - ~>
39
44
  - !ruby/object:Gem::Version
40
45
  version: '0.3'
41
46
  - !ruby/object:Gem::Dependency
42
47
  name: retryable
43
48
  requirement: !ruby/object:Gem::Requirement
49
+ none: false
44
50
  requirements:
45
- - - "~>"
51
+ - - ~>
46
52
  - !ruby/object:Gem::Version
47
53
  version: '2'
48
54
  type: :runtime
49
55
  prerelease: false
50
56
  version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
51
58
  requirements:
52
- - - "~>"
59
+ - - ~>
53
60
  - !ruby/object:Gem::Version
54
61
  version: '2'
55
62
  - !ruby/object:Gem::Dependency
56
63
  name: berkshelf
57
64
  requirement: !ruby/object:Gem::Requirement
65
+ none: false
58
66
  requirements:
59
- - - "<"
67
+ - - <
60
68
  - !ruby/object:Gem::Version
61
69
  version: '4'
62
70
  type: :runtime
63
71
  prerelease: false
64
72
  version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
65
74
  requirements:
66
- - - "<"
75
+ - - <
67
76
  - !ruby/object:Gem::Version
68
77
  version: '4'
69
78
  - !ruby/object:Gem::Dependency
70
79
  name: thor
71
80
  requirement: !ruby/object:Gem::Requirement
81
+ none: false
72
82
  requirements:
73
- - - "~>"
83
+ - - ~>
74
84
  - !ruby/object:Gem::Version
75
85
  version: '0'
76
86
  type: :runtime
77
87
  prerelease: false
78
88
  version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
79
90
  requirements:
80
- - - "~>"
91
+ - - ~>
81
92
  - !ruby/object:Gem::Version
82
93
  version: '0'
83
94
  - !ruby/object:Gem::Dependency
84
95
  name: git
85
96
  requirement: !ruby/object:Gem::Requirement
97
+ none: false
86
98
  requirements:
87
- - - "~>"
99
+ - - ~>
88
100
  - !ruby/object:Gem::Version
89
101
  version: '1.2'
90
102
  type: :runtime
91
103
  prerelease: false
92
104
  version_requirements: !ruby/object:Gem::Requirement
105
+ none: false
93
106
  requirements:
94
- - - "~>"
107
+ - - ~>
95
108
  - !ruby/object:Gem::Version
96
109
  version: '1.2'
97
110
  - !ruby/object:Gem::Dependency
98
111
  name: sinatra
99
112
  requirement: !ruby/object:Gem::Requirement
113
+ none: false
100
114
  requirements:
101
- - - "~>"
115
+ - - ~>
102
116
  - !ruby/object:Gem::Version
103
117
  version: '1.4'
104
118
  type: :runtime
105
119
  prerelease: false
106
120
  version_requirements: !ruby/object:Gem::Requirement
121
+ none: false
107
122
  requirements:
108
- - - "~>"
123
+ - - ~>
109
124
  - !ruby/object:Gem::Version
110
125
  version: '1.4'
111
126
  - !ruby/object:Gem::Dependency
112
127
  name: ridley
113
128
  requirement: !ruby/object:Gem::Requirement
129
+ none: false
114
130
  requirements:
115
- - - "~>"
131
+ - - ~>
116
132
  - !ruby/object:Gem::Version
117
133
  version: '4.1'
118
134
  type: :runtime
119
135
  prerelease: false
120
136
  version_requirements: !ruby/object:Gem::Requirement
137
+ none: false
121
138
  requirements:
122
- - - "~>"
139
+ - - ~>
123
140
  - !ruby/object:Gem::Version
124
141
  version: '4.1'
125
142
  - !ruby/object:Gem::Dependency
126
143
  name: chef
127
144
  requirement: !ruby/object:Gem::Requirement
145
+ none: false
128
146
  requirements:
129
- - - "<"
147
+ - - ~>
130
148
  - !ruby/object:Gem::Version
131
- version: 12.0.0
149
+ version: '11'
132
150
  type: :runtime
133
151
  prerelease: false
134
152
  version_requirements: !ruby/object:Gem::Requirement
153
+ none: false
135
154
  requirements:
136
- - - "<"
155
+ - - ~>
137
156
  - !ruby/object:Gem::Version
138
- version: 12.0.0
157
+ version: '11'
139
158
  - !ruby/object:Gem::Dependency
140
159
  name: faraday
141
160
  requirement: !ruby/object:Gem::Requirement
161
+ none: false
142
162
  requirements:
143
163
  - - '='
144
164
  - !ruby/object:Gem::Version
@@ -146,6 +166,7 @@ dependencies:
146
166
  type: :runtime
147
167
  prerelease: false
148
168
  version_requirements: !ruby/object:Gem::Requirement
169
+ none: false
149
170
  requirements:
150
171
  - - '='
151
172
  - !ruby/object:Gem::Version
@@ -153,6 +174,7 @@ dependencies:
153
174
  - !ruby/object:Gem::Dependency
154
175
  name: eventmachine
155
176
  requirement: !ruby/object:Gem::Requirement
177
+ none: false
156
178
  requirements:
157
179
  - - '='
158
180
  - !ruby/object:Gem::Version
@@ -160,6 +182,7 @@ dependencies:
160
182
  type: :runtime
161
183
  prerelease: false
162
184
  version_requirements: !ruby/object:Gem::Requirement
185
+ none: false
163
186
  requirements:
164
187
  - - '='
165
188
  - !ruby/object:Gem::Version
@@ -167,6 +190,7 @@ dependencies:
167
190
  - !ruby/object:Gem::Dependency
168
191
  name: thin
169
192
  requirement: !ruby/object:Gem::Requirement
193
+ none: false
170
194
  requirements:
171
195
  - - '='
172
196
  - !ruby/object:Gem::Version
@@ -174,6 +198,7 @@ dependencies:
174
198
  type: :runtime
175
199
  prerelease: false
176
200
  version_requirements: !ruby/object:Gem::Requirement
201
+ none: false
177
202
  requirements:
178
203
  - - '='
179
204
  - !ruby/object:Gem::Version
@@ -181,29 +206,33 @@ dependencies:
181
206
  - !ruby/object:Gem::Dependency
182
207
  name: pmap
183
208
  requirement: !ruby/object:Gem::Requirement
209
+ none: false
184
210
  requirements:
185
- - - "~>"
211
+ - - ~>
186
212
  - !ruby/object:Gem::Version
187
213
  version: '1'
188
214
  type: :runtime
189
215
  prerelease: false
190
216
  version_requirements: !ruby/object:Gem::Requirement
217
+ none: false
191
218
  requirements:
192
- - - "~>"
219
+ - - ~>
193
220
  - !ruby/object:Gem::Version
194
221
  version: '1'
195
222
  - !ruby/object:Gem::Dependency
196
223
  name: json
197
224
  requirement: !ruby/object:Gem::Requirement
225
+ none: false
198
226
  requirements:
199
- - - "~>"
227
+ - - ~>
200
228
  - !ruby/object:Gem::Version
201
229
  version: '1.8'
202
230
  type: :runtime
203
231
  prerelease: false
204
232
  version_requirements: !ruby/object:Gem::Requirement
233
+ none: false
205
234
  requirements:
206
- - - "~>"
235
+ - - ~>
207
236
  - !ruby/object:Gem::Version
208
237
  version: '1.8'
209
238
  description: GitLab WebHoook for automated Chef Server uploads.
@@ -213,7 +242,8 @@ executables:
213
242
  extensions: []
214
243
  extra_rdoc_files: []
215
244
  files:
216
- - ".gitignore"
245
+ - .gitignore
246
+ - .ruby-version
217
247
  - Gemfile
218
248
  - LICENSE
219
249
  - Rakefile
@@ -260,26 +290,33 @@ files:
260
290
  homepage: https://github.com/sczizzo/kitchen-hooks
261
291
  licenses:
262
292
  - ISC
263
- metadata: {}
264
293
  post_install_message:
265
294
  rdoc_options: []
266
295
  require_paths:
267
296
  - lib
268
297
  required_ruby_version: !ruby/object:Gem::Requirement
298
+ none: false
269
299
  requirements:
270
- - - ">="
300
+ - - ! '>='
271
301
  - !ruby/object:Gem::Version
272
302
  version: '0'
303
+ segments:
304
+ - 0
305
+ hash: -1769763481199443663
273
306
  required_rubygems_version: !ruby/object:Gem::Requirement
307
+ none: false
274
308
  requirements:
275
- - - ">="
309
+ - - ! '>='
276
310
  - !ruby/object:Gem::Version
277
311
  version: '0'
312
+ segments:
313
+ - 0
314
+ hash: -1769763481199443663
278
315
  requirements: []
279
316
  rubyforge_project:
280
- rubygems_version: 2.4.5.1
317
+ rubygems_version: 1.8.23.2
281
318
  signing_key:
282
- specification_version: 4
319
+ specification_version: 3
283
320
  summary: GitLab WebHoook for automated Chef Server uploads
284
321
  test_files:
285
322
  - test/test_helper.rb
checksums.yaml DELETED
@@ -1,7 +0,0 @@
1
- ---
2
- SHA1:
3
- metadata.gz: 0002ff616d1eeeaa6f453594d399e761cc231b03
4
- data.tar.gz: 10b084c918c6cf06e770d7f274252d6c191e7d67
5
- SHA512:
6
- metadata.gz: 467990e174f67113d0618deb15493f6c7c89b9911962221148a43963aa2358f57b3a7dfb4d7bf70cd796c12514cd2233d605638f2596ec9fbf311e8670487e38
7
- data.tar.gz: b0b75441a0867ebcab58d220bc84d4e70c4681d99d10c57dff400142c3b687a01ae02c8047de439c3c74d5881325fe52d78c53809d625a79acabe83c8883db19