chefspec 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/chefspec/chef_runner.rb +1 -1
- data/lib/chefspec/version.rb +1 -1
- metadata +66 -40
data/lib/chefspec/chef_runner.rb
CHANGED
@@ -24,7 +24,7 @@ module ChefSpec
|
|
24
24
|
# @yield [node] Configuration block for Chef::Node
|
25
25
|
def initialize(options={})
|
26
26
|
defaults = {:cookbook_path => default_cookbook_path, :log_level => :warn, :dry_run => false}
|
27
|
-
options = {:cookbook_path => options} unless options.respond_to(:to_hash) # backwards-compatibility
|
27
|
+
options = {:cookbook_path => options} unless options.respond_to?(:to_hash) # backwards-compatibility
|
28
28
|
options = defaults.merge(options)
|
29
29
|
|
30
30
|
the_runner = self
|
data/lib/chefspec/version.rb
CHANGED
metadata
CHANGED
@@ -1,47 +1,70 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: chefspec
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 21
|
5
5
|
prerelease:
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 2
|
9
|
+
- 1
|
10
|
+
version: 0.2.1
|
6
11
|
platform: ruby
|
7
|
-
authors:
|
12
|
+
authors:
|
8
13
|
- Andrew Crump
|
9
14
|
autorequire:
|
10
15
|
bindir: bin
|
11
16
|
cert_chain: []
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
+
|
18
|
+
date: 2011-09-21 00:00:00 Z
|
19
|
+
dependencies:
|
20
|
+
- !ruby/object:Gem::Dependency
|
21
|
+
version_requirements: &id001 !ruby/object:Gem::Requirement
|
17
22
|
none: false
|
18
|
-
requirements:
|
19
|
-
- -
|
20
|
-
- !ruby/object:Gem::Version
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
hash: 35
|
27
|
+
segments:
|
28
|
+
- 0
|
29
|
+
- 9
|
30
|
+
- 12
|
21
31
|
version: 0.9.12
|
22
32
|
- - ~>
|
23
|
-
- !ruby/object:Gem::Version
|
24
|
-
|
33
|
+
- !ruby/object:Gem::Version
|
34
|
+
hash: 31
|
35
|
+
segments:
|
36
|
+
- 0
|
37
|
+
- 10
|
38
|
+
version: "0.10"
|
39
|
+
name: chef
|
25
40
|
type: :runtime
|
26
41
|
prerelease: false
|
27
|
-
|
28
|
-
- !ruby/object:Gem::Dependency
|
29
|
-
|
30
|
-
requirement: &2156417840 !ruby/object:Gem::Requirement
|
42
|
+
requirement: *id001
|
43
|
+
- !ruby/object:Gem::Dependency
|
44
|
+
version_requirements: &id002 !ruby/object:Gem::Requirement
|
31
45
|
none: false
|
32
|
-
requirements:
|
33
|
-
- -
|
34
|
-
- !ruby/object:Gem::Version
|
46
|
+
requirements:
|
47
|
+
- - ">="
|
48
|
+
- !ruby/object:Gem::Version
|
49
|
+
hash: 23
|
50
|
+
segments:
|
51
|
+
- 2
|
52
|
+
- 6
|
53
|
+
- 0
|
35
54
|
version: 2.6.0
|
55
|
+
name: rspec
|
36
56
|
type: :runtime
|
37
57
|
prerelease: false
|
38
|
-
|
58
|
+
requirement: *id002
|
39
59
|
description: Write RSpec examples for Opscode Chef recipes
|
40
60
|
email:
|
41
61
|
executables: []
|
62
|
+
|
42
63
|
extensions: []
|
64
|
+
|
43
65
|
extra_rdoc_files: []
|
44
|
-
|
66
|
+
|
67
|
+
files:
|
45
68
|
- lib/chefspec/chef_runner.rb
|
46
69
|
- lib/chefspec/matchers/execute.rb
|
47
70
|
- lib/chefspec/matchers/file.rb
|
@@ -54,34 +77,37 @@ files:
|
|
54
77
|
- lib/chefspec/version.rb
|
55
78
|
- lib/chefspec.rb
|
56
79
|
homepage: http://acrmp.github.com/chefspec
|
57
|
-
licenses:
|
80
|
+
licenses:
|
58
81
|
- MIT
|
59
82
|
post_install_message:
|
60
83
|
rdoc_options: []
|
61
|
-
|
84
|
+
|
85
|
+
require_paths:
|
62
86
|
- lib
|
63
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
87
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
64
88
|
none: false
|
65
|
-
requirements:
|
66
|
-
- -
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
|
69
|
-
segments:
|
89
|
+
requirements:
|
90
|
+
- - ">="
|
91
|
+
- !ruby/object:Gem::Version
|
92
|
+
hash: 3
|
93
|
+
segments:
|
70
94
|
- 0
|
71
|
-
|
72
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
95
|
+
version: "0"
|
96
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
73
97
|
none: false
|
74
|
-
requirements:
|
75
|
-
- -
|
76
|
-
- !ruby/object:Gem::Version
|
77
|
-
|
78
|
-
segments:
|
98
|
+
requirements:
|
99
|
+
- - ">="
|
100
|
+
- !ruby/object:Gem::Version
|
101
|
+
hash: 3
|
102
|
+
segments:
|
79
103
|
- 0
|
80
|
-
|
104
|
+
version: "0"
|
81
105
|
requirements: []
|
106
|
+
|
82
107
|
rubyforge_project:
|
83
108
|
rubygems_version: 1.8.6
|
84
109
|
signing_key:
|
85
110
|
specification_version: 3
|
86
|
-
summary: chefspec-0.2.
|
111
|
+
summary: chefspec-0.2.1
|
87
112
|
test_files: []
|
113
|
+
|