knife-spork 1.3.3 → 1.3.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/CHANGELOG.md +9 -1
- data/knife-spork.gemspec +1 -1
- data/lib/chef/knife/spork-environment-check.rb +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
ZmNkNDZiMDM3MzE5Nzk2NmU3NTcyOTcyM2Y0NjY5MGI3NjRkODA5Yw==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
NDU3YmIxMDQ4YTJlN2E5MDNmYjcxMDU2YmRjM2ExYTcxNjhhMjg2Ng==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ZDc0ZTVjMjQ4M2IyODhhNGMzYmVjZWY2NjY1ZTQ2ODdkNTliYjRlNTI0Y2I3
|
10
|
+
NTVhY2JkMjI3MzIzNTU2NGQ4OGQ4OTRkMzMxYWNmNjVjOWJhNTEzNzJlZmY5
|
11
|
+
NmY2YzY2MzlhYjkxYThiNmIyMzc4MWUwMWZmNTM4YTU2YWZmNDY=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
NDQzYTgxYzY3MmYyNzhiZTEzZWFjNDdhYWMwYWM4OTUyN2Q1YjZjMTM3ZTE5
|
14
|
+
NTBkMDU1OTlhMGUzYTU3OTNkZDJlZjM5YmNhNjk1OGE3YzQ2YzE0ZTVlYmJm
|
15
|
+
ZjQxYmVlYjU5OTkyODEwOWU5MzBkNzkxZmI3NDc5Y2FhMmI2MmU=
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,13 @@
|
|
1
|
-
## 1.3.
|
1
|
+
## 1.3.4 (2nd June, 2014)
|
2
|
+
|
3
|
+
Bugfixes:
|
4
|
+
|
5
|
+
- Fix incorrect endpoint in spork environment check (Thanks to @jperry https://github.com/jonlives/knife-spork/pull/128)
|
6
|
+
|
7
|
+
## 1.3.3 (23rd May, 2014)
|
2
8
|
|
3
9
|
Features:
|
10
|
+
|
4
11
|
- Added new preserve_constraint_operators config flag to make spork promote preserve existing version constraint operators (https://github.com/jonlives/knife-spork/issues/101)
|
5
12
|
- Have runner check Chef::Config for environment_path (Thanks to @cstewart87 https://github.com/jonlives/knife-spork/pull/114)
|
6
13
|
- Have spork check autobump when -y option given (Thanks to @slingcode https://github.com/jonlives/knife-spork/pull/108)
|
@@ -8,6 +15,7 @@ Features:
|
|
8
15
|
- Spork check environment command to validate constraints specified in environments (Thanks to @jperry https://github.com/jonlives/knife-spork/pull/115)
|
9
16
|
|
10
17
|
Bugfixes:
|
18
|
+
|
11
19
|
- Fix exception when trying to load non existent role or env from file (Thanks to @jperry https://github.com/jonlives/knife-spork/pull/116)
|
12
20
|
- Fix incorrect error message when uploading frozen cookbook (https://github.com/jonlives/knife-spork/issues/117)
|
13
21
|
- Fix invalid API endpoint in cookbook upload check when environment specified in knife.rb (https://github.com/jonlives/knife-spork/issues/106)
|
data/knife-spork.gemspec
CHANGED
@@ -2,7 +2,7 @@ $:.push File.expand_path('../lib', __FILE__)
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |gem|
|
4
4
|
gem.name = 'knife-spork'
|
5
|
-
gem.version = '1.3.
|
5
|
+
gem.version = '1.3.4'
|
6
6
|
gem.authors = ["Jon Cowie"]
|
7
7
|
gem.email = 'jonlives@gmail.com'
|
8
8
|
gem.homepage = 'https://github.com/jonlives/knife-spork'
|
@@ -42,7 +42,7 @@ module KnifeSpork
|
|
42
42
|
|
43
43
|
cookbook_versions.each do |cookbook, version_constraint|
|
44
44
|
vc = Chef::VersionConstraint.new(version_constraint)
|
45
|
-
status = check_cookbook_uploaded(
|
45
|
+
status = check_cookbook_uploaded(cookbook, vc.version)
|
46
46
|
if !status
|
47
47
|
fail_and_exit(cookbook, vc.version)
|
48
48
|
env_status = status
|
@@ -58,8 +58,8 @@ module KnifeSpork
|
|
58
58
|
end
|
59
59
|
end
|
60
60
|
|
61
|
-
def check_cookbook_uploaded(
|
62
|
-
api_endpoint =
|
61
|
+
def check_cookbook_uploaded(cookbook_name, version)
|
62
|
+
api_endpoint = "cookbooks/#{cookbook_name}"
|
63
63
|
|
64
64
|
begin
|
65
65
|
cookbook = rest.get_rest(api_endpoint)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: knife-spork
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jon Cowie
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-06-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: chef
|