spice 1.0.4 → 1.0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +5 -0
- data/README.md +8 -3
- data/lib/spice.rb +3 -2
- data/lib/spice/version.rb +1 -1
- data/spice.gemspec +1 -1
- metadata +107 -124
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,8 @@
|
|
1
|
+
# Release Notes - Spice - Version 1.0.5
|
2
|
+
|
3
|
+
* `mixlib-authentication` introduced a breaking change in their bump to 1.3.0. Pinned mixlib-auth to 1.1.4 so Spice works again.
|
4
|
+
* `Spice.read_key_file` can now parse a relative path
|
5
|
+
|
1
6
|
# Release Notes - Spice - Version 1.0.4
|
2
7
|
|
3
8
|
* Fix hosted Chef usage - https://github.com/danryan/spice/pull/23
|
data/README.md
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Spice lets you easily integrate your apps with a [Chef](http://opscode.com/chef) server. Spice provides support for the [Chef API](http://wiki.opscode.com/display/chef/Server+API)
|
4
4
|
|
5
|
-
|
5
|
+
### Installation
|
6
6
|
|
7
7
|
Install this beast via Rubygems:
|
8
8
|
|
@@ -10,6 +10,10 @@ Install this beast via Rubygems:
|
|
10
10
|
|
11
11
|
Of course, You can always grab the source from http://github.com/danryan/spice.
|
12
12
|
|
13
|
+
### Usage
|
14
|
+
|
15
|
+
For configuration and usage patterns, [check out the wiki.](https://github.com/danryan/spice/wiki)
|
16
|
+
|
13
17
|
### Deprecation notice
|
14
18
|
|
15
19
|
Explicitly setting a `host`, `port`, and `scheme` value has been removed in favor of setting a single variable, `server_url`, which matches the format of Chef's client config parameter, `chef_server_url`.
|
@@ -24,7 +28,7 @@ Explicitly setting a `host`, `port`, and `scheme` value has been removed in favo
|
|
24
28
|
|
25
29
|
The design and organization of Spice is very heavily inspired by the [Twitter gem](http://github.com/jnunemaker/twitter). Mad props to those folks.
|
26
30
|
|
27
|
-
|
31
|
+
### Contributing to spice
|
28
32
|
|
29
33
|
* Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet
|
30
34
|
* Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it
|
@@ -34,8 +38,9 @@ The design and organization of Spice is very heavily inspired by the [Twitter ge
|
|
34
38
|
* Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
|
35
39
|
* Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.
|
36
40
|
|
37
|
-
|
41
|
+
### Copyright
|
38
42
|
|
39
43
|
Copyright (c) 2011 Dan Ryan. See LICENSE.txt for
|
40
44
|
further details.
|
41
45
|
|
46
|
+
Chef and related trademarks are Copyright (c) 2008-2012 Opscode, Inc. Chef is released under the Apache 2.0 license.
|
data/lib/spice.rb
CHANGED
data/lib/spice/version.rb
CHANGED
data/spice.gemspec
CHANGED
@@ -15,7 +15,7 @@ Gem::Specification.new do |s|
|
|
15
15
|
|
16
16
|
s.rubyforge_project = "spice"
|
17
17
|
s.add_dependency "faraday", "~> 0.8.0"
|
18
|
-
s.add_dependency "mixlib-authentication", '
|
18
|
+
s.add_dependency "mixlib-authentication", '~> 1.1.4'
|
19
19
|
s.add_dependency "multi_json", '~> 1.3.6'
|
20
20
|
|
21
21
|
s.add_development_dependency 'rspec', '>= 2.8.0'
|
metadata
CHANGED
@@ -1,146 +1,137 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: spice
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.5
|
5
5
|
prerelease:
|
6
|
-
segments:
|
7
|
-
- 1
|
8
|
-
- 0
|
9
|
-
- 4
|
10
|
-
version: 1.0.4
|
11
6
|
platform: ruby
|
12
|
-
authors:
|
7
|
+
authors:
|
13
8
|
- Dan Ryan
|
14
9
|
autorequire:
|
15
10
|
bindir: bin
|
16
11
|
cert_chain: []
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
- !ruby/object:Gem::Dependency
|
12
|
+
date: 2012-10-19 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
21
15
|
name: faraday
|
22
|
-
|
23
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
24
17
|
none: false
|
25
|
-
requirements:
|
18
|
+
requirements:
|
26
19
|
- - ~>
|
27
|
-
- !ruby/object:Gem::Version
|
28
|
-
hash: 63
|
29
|
-
segments:
|
30
|
-
- 0
|
31
|
-
- 8
|
32
|
-
- 0
|
20
|
+
- !ruby/object:Gem::Version
|
33
21
|
version: 0.8.0
|
34
22
|
type: :runtime
|
35
|
-
version_requirements: *id001
|
36
|
-
- !ruby/object:Gem::Dependency
|
37
|
-
name: mixlib-authentication
|
38
23
|
prerelease: false
|
39
|
-
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ~>
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: 0.8.0
|
30
|
+
- !ruby/object:Gem::Dependency
|
31
|
+
name: mixlib-authentication
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
40
33
|
none: false
|
41
|
-
requirements:
|
42
|
-
- -
|
43
|
-
- !ruby/object:Gem::Version
|
44
|
-
hash: 27
|
45
|
-
segments:
|
46
|
-
- 1
|
47
|
-
- 1
|
48
|
-
- 4
|
34
|
+
requirements:
|
35
|
+
- - ~>
|
36
|
+
- !ruby/object:Gem::Version
|
49
37
|
version: 1.1.4
|
50
38
|
type: :runtime
|
51
|
-
version_requirements: *id002
|
52
|
-
- !ruby/object:Gem::Dependency
|
53
|
-
name: multi_json
|
54
39
|
prerelease: false
|
55
|
-
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
56
41
|
none: false
|
57
|
-
requirements:
|
42
|
+
requirements:
|
58
43
|
- - ~>
|
59
|
-
- !ruby/object:Gem::Version
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: 1.1.4
|
46
|
+
- !ruby/object:Gem::Dependency
|
47
|
+
name: multi_json
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
50
|
+
requirements:
|
51
|
+
- - ~>
|
52
|
+
- !ruby/object:Gem::Version
|
65
53
|
version: 1.3.6
|
66
54
|
type: :runtime
|
67
|
-
version_requirements: *id003
|
68
|
-
- !ruby/object:Gem::Dependency
|
69
|
-
name: rspec
|
70
55
|
prerelease: false
|
71
|
-
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
58
|
+
requirements:
|
59
|
+
- - ~>
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 1.3.6
|
62
|
+
- !ruby/object:Gem::Dependency
|
63
|
+
name: rspec
|
64
|
+
requirement: !ruby/object:Gem::Requirement
|
72
65
|
none: false
|
73
|
-
requirements:
|
74
|
-
- -
|
75
|
-
- !ruby/object:Gem::Version
|
76
|
-
hash: 47
|
77
|
-
segments:
|
78
|
-
- 2
|
79
|
-
- 8
|
80
|
-
- 0
|
66
|
+
requirements:
|
67
|
+
- - ! '>='
|
68
|
+
- !ruby/object:Gem::Version
|
81
69
|
version: 2.8.0
|
82
70
|
type: :development
|
83
|
-
version_requirements: *id004
|
84
|
-
- !ruby/object:Gem::Dependency
|
85
|
-
name: webmock
|
86
71
|
prerelease: false
|
87
|
-
|
72
|
+
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
74
|
+
requirements:
|
75
|
+
- - ! '>='
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: 2.8.0
|
78
|
+
- !ruby/object:Gem::Dependency
|
79
|
+
name: webmock
|
80
|
+
requirement: !ruby/object:Gem::Requirement
|
88
81
|
none: false
|
89
|
-
requirements:
|
90
|
-
- -
|
91
|
-
- !ruby/object:Gem::Version
|
92
|
-
hash: 51
|
93
|
-
segments:
|
94
|
-
- 1
|
95
|
-
- 8
|
96
|
-
- 2
|
82
|
+
requirements:
|
83
|
+
- - ! '>='
|
84
|
+
- !ruby/object:Gem::Version
|
97
85
|
version: 1.8.2
|
98
86
|
type: :development
|
99
|
-
version_requirements: *id005
|
100
|
-
- !ruby/object:Gem::Dependency
|
101
|
-
name: timecop
|
102
87
|
prerelease: false
|
103
|
-
|
88
|
+
version_requirements: !ruby/object:Gem::Requirement
|
89
|
+
none: false
|
90
|
+
requirements:
|
91
|
+
- - ! '>='
|
92
|
+
- !ruby/object:Gem::Version
|
93
|
+
version: 1.8.2
|
94
|
+
- !ruby/object:Gem::Dependency
|
95
|
+
name: timecop
|
96
|
+
requirement: !ruby/object:Gem::Requirement
|
104
97
|
none: false
|
105
|
-
requirements:
|
106
|
-
- -
|
107
|
-
- !ruby/object:Gem::Version
|
108
|
-
hash: 25
|
109
|
-
segments:
|
110
|
-
- 0
|
111
|
-
- 3
|
112
|
-
- 5
|
98
|
+
requirements:
|
99
|
+
- - ! '>='
|
100
|
+
- !ruby/object:Gem::Version
|
113
101
|
version: 0.3.5
|
114
102
|
type: :development
|
115
|
-
version_requirements: *id006
|
116
|
-
- !ruby/object:Gem::Dependency
|
117
|
-
name: spork
|
118
103
|
prerelease: false
|
119
|
-
|
104
|
+
version_requirements: !ruby/object:Gem::Requirement
|
105
|
+
none: false
|
106
|
+
requirements:
|
107
|
+
- - ! '>='
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: 0.3.5
|
110
|
+
- !ruby/object:Gem::Dependency
|
111
|
+
name: spork
|
112
|
+
requirement: !ruby/object:Gem::Requirement
|
120
113
|
none: false
|
121
|
-
requirements:
|
122
|
-
- -
|
123
|
-
- !ruby/object:Gem::Version
|
124
|
-
hash: 5869077
|
125
|
-
segments:
|
126
|
-
- 1
|
127
|
-
- 0
|
128
|
-
- 0
|
129
|
-
- rc
|
130
|
-
- 2
|
114
|
+
requirements:
|
115
|
+
- - ! '>='
|
116
|
+
- !ruby/object:Gem::Version
|
131
117
|
version: 1.0.0.rc2
|
132
118
|
type: :development
|
133
|
-
|
134
|
-
|
135
|
-
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
none: false
|
122
|
+
requirements:
|
123
|
+
- - ! '>='
|
124
|
+
- !ruby/object:Gem::Version
|
125
|
+
version: 1.0.0.rc2
|
126
|
+
description: Spice is a zesty Chef API wrapper. Its primary purpose is to let you
|
127
|
+
easily integrate your apps with a Chef server easily. Spice provides support for
|
128
|
+
the entire released Chef API
|
129
|
+
email:
|
136
130
|
- hi@iamdanryan.com
|
137
131
|
executables: []
|
138
|
-
|
139
132
|
extensions: []
|
140
|
-
|
141
133
|
extra_rdoc_files: []
|
142
|
-
|
143
|
-
files:
|
134
|
+
files:
|
144
135
|
- .bundle/config
|
145
136
|
- .document
|
146
137
|
- .documentup.json
|
@@ -247,39 +238,31 @@ files:
|
|
247
238
|
- spec/support/helpers.rb
|
248
239
|
- spice.gemspec
|
249
240
|
homepage: https://github.com/danryan/spice
|
250
|
-
licenses:
|
241
|
+
licenses:
|
251
242
|
- MIT
|
252
243
|
post_install_message:
|
253
244
|
rdoc_options: []
|
254
|
-
|
255
|
-
require_paths:
|
245
|
+
require_paths:
|
256
246
|
- lib
|
257
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
247
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
258
248
|
none: false
|
259
|
-
requirements:
|
260
|
-
- -
|
261
|
-
- !ruby/object:Gem::Version
|
262
|
-
|
263
|
-
|
264
|
-
- 0
|
265
|
-
version: "0"
|
266
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
249
|
+
requirements:
|
250
|
+
- - ! '>='
|
251
|
+
- !ruby/object:Gem::Version
|
252
|
+
version: '0'
|
253
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
267
254
|
none: false
|
268
|
-
requirements:
|
269
|
-
- -
|
270
|
-
- !ruby/object:Gem::Version
|
271
|
-
|
272
|
-
segments:
|
273
|
-
- 0
|
274
|
-
version: "0"
|
255
|
+
requirements:
|
256
|
+
- - ! '>='
|
257
|
+
- !ruby/object:Gem::Version
|
258
|
+
version: '0'
|
275
259
|
requirements: []
|
276
|
-
|
277
260
|
rubyforge_project: spice
|
278
|
-
rubygems_version: 1.8.
|
261
|
+
rubygems_version: 1.8.24
|
279
262
|
signing_key:
|
280
263
|
specification_version: 3
|
281
264
|
summary: Chef API wrapper
|
282
|
-
test_files:
|
265
|
+
test_files:
|
283
266
|
- spec/fixtures/client.pem
|
284
267
|
- spec/fixtures/clients/create.json
|
285
268
|
- spec/fixtures/clients/index.json
|