chef-vault 2.7.1 → 2.8.0.rc1

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: 40dc465e5a495bff36ec9b6aa4c59fe9ff4dc561
4
- data.tar.gz: 6f51167bc5d529e6e04ca00029e88336ebdc1984
3
+ metadata.gz: 8298b0ae7bca091e181d7d0694c972526f4be1a1
4
+ data.tar.gz: bbc9db10fd50a14f651b807bcc205ebfa2fac5d6
5
5
  SHA512:
6
- metadata.gz: 4c5a1f7080efdfe8794d77e1c291c8c46497ae9eb1cba6cfd5e208307b8019fb9a667ca9e83b7b96ec121c93cfa82b2721b864c221fea39e8cce289be3b921a5
7
- data.tar.gz: a184ffb4f80758de736779b408a04faac9d4d11f9e4d91ceabeceb30b13f60f62371eb834ef03a089b6c4a53d7f8723737e2329be5b249aec0c2dd404b28c2ec
6
+ metadata.gz: e07ed430004233978ca425f4b47baa107476bae5d98d056fa54bc1654e924f744fa7c70d7e00ff7b73729666866f406d5ee6b80a40532cb90c466a43d0e7de66
7
+ data.tar.gz: beaeb7a671897a9ee6b417ff644fe8ee77910918df0d4d6ca901e9eda9fe95628ca47e07ebbb40d423f525cd558aa6ee6970b9efdfae397e14b4de68633d543a
@@ -3,10 +3,12 @@ branches:
3
3
  only:
4
4
  - master
5
5
  rvm:
6
+ - "1.9.3-p551"
6
7
  - "2.0.0-p647"
7
8
  - "2.1.6"
8
9
  - "2.2.2"
9
10
  install: bundle install --binstubs
11
+ before_install: gem install bundler
10
12
  env: TRAVIS_BUILD=true
11
13
  notifications:
12
14
  webhooks:
@@ -80,7 +80,7 @@ class ChefVault
80
80
  elsif search_or_client
81
81
  results_returned = false
82
82
  query = Chef::Search::Query.new
83
- query.search(:node, search_or_client)[0].each do |node|
83
+ query.search(:node, search_or_client) do |node|
84
84
  results_returned = true
85
85
  case action
86
86
  when :add
@@ -15,6 +15,6 @@
15
15
  # limitations under the License.
16
16
 
17
17
  class ChefVault
18
- VERSION = "2.7.1"
18
+ VERSION = "2.8.0.rc1"
19
19
  MAJOR, MINOR, TINY = VERSION.split(".")
20
20
  end
@@ -23,7 +23,7 @@ module BorkedNodeWithoutPublicKey
23
23
  allow(query_result)
24
24
  .to receive(:search)
25
25
  .with(Symbol, String)
26
- .and_return([[node_foo, node_bar]])
26
+ .and_yield(node_foo).and_yield(node_bar)
27
27
  allow(Chef::Search::Query)
28
28
  .to receive(:new)
29
29
  .and_return(query_result)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chef-vault
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.7.1
4
+ version: 2.8.0.rc1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kevin Moser
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-01-25 00:00:00.000000000 Z
12
+ date: 2016-01-29 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake
@@ -207,9 +207,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
207
207
  version: '0'
208
208
  required_rubygems_version: !ruby/object:Gem::Requirement
209
209
  requirements:
210
- - - ">="
210
+ - - ">"
211
211
  - !ruby/object:Gem::Version
212
- version: '0'
212
+ version: 1.3.1
213
213
  requirements: []
214
214
  rubyforge_project:
215
215
  rubygems_version: 2.4.5.1