chef-zero 2.1.3 → 2.1.4

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: 0ef26a6b89b99ff0da1e88ca6fe0296b712150e2
4
- data.tar.gz: ec22088976a53a4a0b2aca77921cc74506eb71ab
3
+ metadata.gz: f291a4a186e5685eb19dec4304d71bd06c7fc7da
4
+ data.tar.gz: bb94f240005505442e01f81c43c21fe30ce663e6
5
5
  SHA512:
6
- metadata.gz: ff404f88bed23405ec7f3c06a52a636e3f59fb64ac1e0a493d5fa84a9c874029c2c7bd425b6f72e578ea740cd40b0973bab27da1b3739ac30a46d067941dc81e
7
- data.tar.gz: 971fa3de8cb41875d2eb4c724d5b4cae4bfbdcf993cc3504d7eb718b0e439b71bb22d38168a052d2aaf2fbda0aa264b64e3453ce9b4c342889563e0eebe05742
6
+ metadata.gz: 04e07c10506e832d398d02139eae21f250cf730297629bee478c0b0b65bb2292ff3ad7bef1933ae7033a8334e7a7091cebdc92da290e5aa3741613d0e088c300
7
+ data.tar.gz: b8ff8228beb4c2845020f929ff612f70165902cf6ed8d0b2557b8282a6c98ad9310b764ba7621e426d58db7b7936839f4228bfe5e4218af3d5d2442a1522e49c
data/Rakefile CHANGED
@@ -6,3 +6,13 @@ require 'chef_zero/version'
6
6
  task :spec do
7
7
  require File.expand_path('spec/run')
8
8
  end
9
+
10
+ task :chef_spec do
11
+ gem_path = Bundler.environment.specs['chef'].first.full_gem_path
12
+ system("cd #{gem_path} && rspec spec/integration")
13
+ end
14
+
15
+ task :berkshelf_spec do
16
+ gem_path = Bundler.environment.specs['berkshelf'].first.full_gem_path
17
+ system("cd #{gem_path} && thor spec:ci")
18
+ end
@@ -197,7 +197,7 @@ module ChefZero
197
197
 
198
198
  @thread = Thread.new do
199
199
  begin
200
- Thread.abort_on_exception = true
200
+ Thread.current.abort_on_exception = true
201
201
  @server.start
202
202
  ensure
203
203
  @running = false
@@ -1,3 +1,3 @@
1
1
  module ChefZero
2
- VERSION = '2.1.3'
2
+ VERSION = '2.1.4'
3
3
  end
metadata CHANGED
@@ -1,97 +1,97 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chef-zero
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.3
4
+ version: 2.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - John Keiser
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-05-27 00:00:00.000000000 Z
11
+ date: 2014-05-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mixlib-log
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
19
  version: '1.3'
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
26
  version: '1.3'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: hashie
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ~>
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
33
  version: '2.0'
34
34
  type: :runtime
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: '2.0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: json
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: :runtime
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: rack
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: rake
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: :development
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: rspec
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: :development
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
  description: Self-contained, easy-setup, fast-start in-memory Chef server for testing
@@ -105,6 +105,8 @@ files:
105
105
  - LICENSE
106
106
  - README.md
107
107
  - Rakefile
108
+ - bin/chef-zero
109
+ - lib/chef_zero.rb
108
110
  - lib/chef_zero/cookbook_data.rb
109
111
  - lib/chef_zero/data_normalizer.rb
110
112
  - lib/chef_zero/data_store/data_already_exists_error.rb
@@ -162,12 +164,10 @@ files:
162
164
  - lib/chef_zero/solr/solr_doc.rb
163
165
  - lib/chef_zero/solr/solr_parser.rb
164
166
  - lib/chef_zero/version.rb
165
- - lib/chef_zero.rb
166
167
  - spec/run.rb
167
168
  - spec/search_spec.rb
168
169
  - spec/support/pedant.rb
169
170
  - spec/support/stickywicket.pem
170
- - bin/chef-zero
171
171
  homepage: http://www.opscode.com
172
172
  licenses:
173
173
  - Apache 2.0
@@ -178,17 +178,17 @@ require_paths:
178
178
  - lib
179
179
  required_ruby_version: !ruby/object:Gem::Requirement
180
180
  requirements:
181
- - - '>='
181
+ - - ">="
182
182
  - !ruby/object:Gem::Version
183
183
  version: '0'
184
184
  required_rubygems_version: !ruby/object:Gem::Requirement
185
185
  requirements:
186
- - - '>='
186
+ - - ">="
187
187
  - !ruby/object:Gem::Version
188
188
  version: '0'
189
189
  requirements: []
190
190
  rubyforge_project:
191
- rubygems_version: 2.0.3
191
+ rubygems_version: 2.2.2
192
192
  signing_key:
193
193
  specification_version: 4
194
194
  summary: Self-contained, easy-setup, fast-start in-memory Chef server for testing