chef-server-api 10.26.0 → 10.28.0.rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/chef-server-api/version.rb +1 -1
- data/spec/spec_helper.rb +10 -0
- metadata +13 -9
data/spec/spec_helper.rb
CHANGED
@@ -19,6 +19,16 @@
|
|
19
19
|
require "rubygems"
|
20
20
|
require "merb-core"
|
21
21
|
require "rspec"
|
22
|
+
require "chef/config"
|
23
|
+
require "tmpdir"
|
24
|
+
require "fileutils"
|
25
|
+
|
26
|
+
# Avoid system-wide directories we may not be able to access
|
27
|
+
fake_var_chef = Dir.mktmpdir("fake-var-chef")
|
28
|
+
at_exit { FileUtils.remove_entry_secure(fake_var_chef) }
|
29
|
+
Chef::Config[:file_cache_path] = "#{fake_var_chef}/cache"
|
30
|
+
Chef::Config[:cache_options][:path] = "#{fake_var_chef}/cache/checksums"
|
31
|
+
Chef::Config[:checksum_path] = "#{fake_var_chef}/checksums"
|
22
32
|
|
23
33
|
Merb.push_path(:spec_helpers, "spec" / "spec_helpers", "**/*.rb")
|
24
34
|
Merb.push_path(:spec_fixtures, "spec" / "fixtures", "**/*.rb")
|
metadata
CHANGED
@@ -1,13 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: chef-server-api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
5
|
-
prerelease:
|
4
|
+
hash: -69630134
|
5
|
+
prerelease: 8
|
6
6
|
segments:
|
7
7
|
- 10
|
8
|
-
-
|
8
|
+
- 28
|
9
9
|
- 0
|
10
|
-
|
10
|
+
- rc
|
11
|
+
- 0
|
12
|
+
version: 10.28.0.rc.0
|
11
13
|
platform: ruby
|
12
14
|
authors:
|
13
15
|
- Opscode
|
@@ -15,7 +17,7 @@ autorequire:
|
|
15
17
|
bindir: bin
|
16
18
|
cert_chain: []
|
17
19
|
|
18
|
-
date: 2013-
|
20
|
+
date: 2013-08-16 00:00:00 Z
|
19
21
|
dependencies:
|
20
22
|
- !ruby/object:Gem::Dependency
|
21
23
|
requirement: &id001 !ruby/object:Gem::Requirement
|
@@ -248,12 +250,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
248
250
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
249
251
|
none: false
|
250
252
|
requirements:
|
251
|
-
- - "
|
253
|
+
- - ">"
|
252
254
|
- !ruby/object:Gem::Version
|
253
|
-
hash:
|
255
|
+
hash: 25
|
254
256
|
segments:
|
255
|
-
-
|
256
|
-
|
257
|
+
- 1
|
258
|
+
- 3
|
259
|
+
- 1
|
260
|
+
version: 1.3.1
|
257
261
|
requirements: []
|
258
262
|
|
259
263
|
rubyforge_project:
|