knife-annex 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,7 @@
1
1
  ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- NTE3ZWQ2NDQ2MWIwZGM0YmFhYzE5Y2MxYjkxNDU1MTg3NjUxNzRkZQ==
5
- data.tar.gz: !binary |-
6
- ZGZiZTNjZTMxNmIxMWM0ZTUzMDQ2MWEyNTAyMmNhYjdjMDIwMDI4MQ==
7
- !binary "U0hBNTEy":
8
- metadata.gz: !binary |-
9
- NjUyOWIyZmE4MGY4YmNhNTM2NWZmMzQwOGY1NzFlYjk3NzY3YmRkYTJlY2E3
10
- ZmVmNzlhMmQ3ODNhMzhlYjM2YTMxNDZkMTY0OWIyODJhZjEzYmU4NGZiMzlm
11
- N2RlMGFlNzI4NjI2NjY5OTU5OGFlYzVjZjRiYmJkNjg0YmFhNGM=
12
- data.tar.gz: !binary |-
13
- NTk3NGY2YjA3MjNkMTRjMTUzZDVkOWMwYTRjNWQ5NWYyYmY3MmZkZDkxODYy
14
- MmRmMmRiMTRlN2M1M2M2ZjE0MmQ3NTQ1NTgwZjMyOWY4Y2EyNWQxOTY0ZGRj
15
- ODhiY2QyZTJkZWU3MDRhZTJiZjMxYWRiY2YyYWI1YzdhNjc2OWM=
2
+ SHA1:
3
+ metadata.gz: 01ebe3ec9a49495032e36b3dbe418a8368d3c82e
4
+ data.tar.gz: 0a3560a106934a9fdfcf0355ac06e59caa20b229
5
+ SHA512:
6
+ metadata.gz: cef48ea93abbb8eb8f28945c66a4d50116132046e11a321993fc96211d5e29d7f6b3cf2171ec13a222e98ee23bcfc14436da19bcddb8f90446e0a31f772492d6
7
+ data.tar.gz: 388ff709c37fb2c85957775605afa09df787e373788b87de48b2efa5fbd6e47e422c89b4accd0418c18757938bacdf3903816241a58c56e1c68cab4edd000c72
@@ -1,5 +1,9 @@
1
1
  # Changes
2
2
 
3
+ ## 0.0.4
4
+ * Fix key rotation when admin is removed
5
+ * Bump chef-vault requirement to ~> 2.2.1
6
+
3
7
  ## 0.0.3
4
8
  * Fix remove
5
9
 
data/Gemfile CHANGED
@@ -7,7 +7,4 @@ gemspec
7
7
  group :developer_workstation do
8
8
  gem 'awesome_print'
9
9
  gem 'pry'
10
- gem 'pry-debugger'
11
- gem 'pry-rescue'
12
- gem 'pry-stack_explorer'
13
10
  end
@@ -17,7 +17,7 @@ Gem::Specification.new do |spec|
17
17
  spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
18
18
  spec.require_paths = ["lib"]
19
19
 
20
- spec.add_dependency 'chef-vault', '>= 2.0.0'
20
+ spec.add_dependency 'chef-vault', '~> 2.2.1'
21
21
 
22
22
  spec.add_development_dependency "bundler", "~> 1.3"
23
23
  spec.add_development_dependency "thor", "~> 0.18.1"
@@ -79,6 +79,7 @@ class Chef
79
79
  if config[:rotate_keys]
80
80
  item_ids.each do |item_id|
81
81
  item = ChefVault::Item.load(DATA_BAG, item_id)
82
+ item.admins(item.admins.join(','), :delete)
82
83
  item.admins(admins)
83
84
  item.rotate_keys!
84
85
  end
@@ -1,3 +1,3 @@
1
1
  module KnifeAnnex
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
metadata CHANGED
@@ -1,55 +1,55 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: knife-annex
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Maciej Pasternacki
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-09-28 00:00:00.000000000 Z
11
+ date: 2014-06-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: chef-vault
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ! '>='
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 2.0.0
19
+ version: 2.2.1
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ! '>='
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 2.0.0
26
+ version: 2.2.1
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ~>
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
33
  version: '1.3'
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: '1.3'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: thor
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ~>
45
+ - - "~>"
46
46
  - !ruby/object:Gem::Version
47
47
  version: 0.18.1
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.18.1
55
55
  description: Knife plugin implementing a git-annex backend in chef-vault
@@ -59,7 +59,7 @@ executables: []
59
59
  extensions: []
60
60
  extra_rdoc_files: []
61
61
  files:
62
- - .gitignore
62
+ - ".gitignore"
63
63
  - CHANGELOG.md
64
64
  - CONTRIBUTING.md
65
65
  - Gemfile
@@ -80,17 +80,17 @@ require_paths:
80
80
  - lib
81
81
  required_ruby_version: !ruby/object:Gem::Requirement
82
82
  requirements:
83
- - - ! '>='
83
+ - - ">="
84
84
  - !ruby/object:Gem::Version
85
85
  version: '0'
86
86
  required_rubygems_version: !ruby/object:Gem::Requirement
87
87
  requirements:
88
- - - ! '>='
88
+ - - ">="
89
89
  - !ruby/object:Gem::Version
90
90
  version: '0'
91
91
  requirements: []
92
92
  rubyforge_project:
93
- rubygems_version: 2.0.5
93
+ rubygems_version: 2.2.2
94
94
  signing_key:
95
95
  specification_version: 4
96
96
  summary: Knife plugin implementing a git-annex backend in chef-vault