knife-chop 0.4.1 → 0.5.15
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/Gemfile +11 -11
- data/Gemfile.lock +144 -76
- data/Rakefile +24 -25
- data/VERSION +1 -1
- data/knife-chop.gemspec +46 -6
- data/lib/chef/knife/chop_base.rb +0 -2
- data/lib/chef/knife/chop_translate.rb +2 -0
- data/lib/chef/knife/chop_upload.rb +2 -0
- metadata +87 -49
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
NTAwNTMzYTI2OWYyN2NhYzg4N2I1NDlhOGJiNmY5YzBiMzYxZDY4Yg==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MzM1ZTgyNzdkOWNiM2FjZDc0ODYzZWI1MWU4YjZmNDg2N2FjMGM4NQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
YjUwZmM1YWZiN2ZjM2EwNjE2ZjE5ZWYyMjVkNzNjYWY4ODVmYjY0MmFhZjA5
|
10
|
+
ZjQ4ZjgwNTc0Y2MxYWQ1MWI0MjI2YmRjZDU1NDg3YjQ0YWVhNjRlY2UwODg3
|
11
|
+
NzBhOWExOWZkYmE5NGVjN2YzZTgyZTVmNzZjZGQyODY5MDUwNTc=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
OGI3YzM1NDJjNzU0YzdhMDFiYzIwYWMwNTZiZmQyNDg1NzQwOWUzNmEyN2Qw
|
14
|
+
MDg2OTQ2NzQ4OWY3NDdkY2MyMzE3NGU4Y2M5NWNkY2Y3ZTdiZGY3NjRlYWFk
|
15
|
+
Zjc1YmIzYWE1YzU3OTkyZWE0MzA2ZWRjMjFjMjZmNzcwNGNlYWM=
|
data/Gemfile
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
source "http://rubygems.org"
|
2
2
|
gemspec
|
3
3
|
## Add dependencies required to use your gem here.
|
4
|
-
gem 'awesome_print'
|
5
|
-
gem 'colorize'
|
6
|
-
gem 'logging'
|
7
|
-
gem 'inifile'
|
8
|
-
gem 'json', '>= 1.
|
9
|
-
gem 'mixlib-config', '>=
|
10
|
-
gem 'chef'
|
11
|
-
gem 'unf' # For Fog
|
12
|
-
gem 'knife-ec2'
|
4
|
+
gem 'awesome_print', '~> 1.2', '>= 1.2.0'
|
5
|
+
gem 'colorize', '~> 0.7', '>= 0.7.1'
|
6
|
+
gem 'logging', '~> 1.8', '>= 1.8.2'
|
7
|
+
gem 'inifile', '~> 2.0', '>= 2.0.2'
|
8
|
+
gem 'json', '~> 1.8', '>= 1.8.1' #, '<= 1.7.7'
|
9
|
+
gem 'mixlib-config', '~> 2.1', '>= 2.1.0'
|
10
|
+
gem 'chef', '~> 11.10', '>= 11.10.0'
|
11
|
+
gem 'unf', '~> 0.1', '>= 0.1.4' # For Fog
|
12
|
+
gem 'knife-ec2', '~> 0.6', '>= 0.6.6'
|
13
13
|
#
|
14
14
|
## Add dependencies to develop your gem here.
|
15
15
|
## Include everything needed to run rake, tests, features, etc.
|
@@ -19,6 +19,6 @@ group :development do
|
|
19
19
|
# gem "cucumber", ">= 0"
|
20
20
|
# gem "bundler", "~> 1.0"
|
21
21
|
# gem "rcov", ">= 0"
|
22
|
-
|
23
|
-
|
22
|
+
# gem 'jeweler', '>= 1.8.8'
|
23
|
+
# gem "rspec", '~> 2.14', '>= 2.14.1'
|
24
24
|
end
|
data/Gemfile.lock
CHANGED
@@ -1,114 +1,161 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
knife-chop (0.
|
4
|
+
knife-chop (0.5.15)
|
5
|
+
awesome_print (~> 1.2, >= 1.2.0)
|
6
|
+
chef (~> 11.10, >= 11.10.0)
|
7
|
+
colorize (~> 0.7, >= 0.7.1)
|
8
|
+
inifile (~> 2.0, >= 2.0.2)
|
9
|
+
json (~> 1.8, >= 1.8.1)
|
10
|
+
knife-ec2 (~> 0.6, >= 0.6.6)
|
11
|
+
logging (~> 1.8, >= 1.8.2)
|
12
|
+
mixlib-config (~> 2.1, >= 2.1.0)
|
13
|
+
unf (~> 0.1, >= 0.1.4)
|
5
14
|
|
6
15
|
GEM
|
7
16
|
remote: http://rubygems.org/
|
8
17
|
specs:
|
9
|
-
addressable (2.3.
|
18
|
+
addressable (2.3.6)
|
19
|
+
akami (1.2.1)
|
20
|
+
gyoku (>= 0.4.0)
|
21
|
+
nokogiri
|
10
22
|
awesome_print (1.2.0)
|
11
23
|
builder (3.2.2)
|
12
|
-
chef (11.
|
24
|
+
chef (11.12.0)
|
25
|
+
chef-zero (~> 2.0, >= 2.0.2)
|
26
|
+
diff-lcs (~> 1.2, >= 1.2.4)
|
13
27
|
erubis (~> 2.7)
|
14
28
|
highline (~> 1.6, >= 1.6.9)
|
15
|
-
json (>= 1.4.4, <= 1.
|
29
|
+
json (>= 1.4.4, <= 1.8.1)
|
30
|
+
mime-types (~> 1.16)
|
16
31
|
mixlib-authentication (~> 1.3)
|
17
|
-
mixlib-cli (~> 1.
|
18
|
-
mixlib-config (~>
|
32
|
+
mixlib-cli (~> 1.4)
|
33
|
+
mixlib-config (~> 2.0)
|
19
34
|
mixlib-log (~> 1.3)
|
20
|
-
mixlib-shellout (~> 1.
|
35
|
+
mixlib-shellout (~> 1.4)
|
21
36
|
net-ssh (~> 2.6)
|
22
|
-
net-ssh-multi (~> 1.1
|
23
|
-
ohai (
|
37
|
+
net-ssh-multi (~> 1.1)
|
38
|
+
ohai (~> 7.0)
|
39
|
+
pry (~> 0.9)
|
24
40
|
rest-client (>= 1.0.4, < 1.7.0)
|
25
41
|
yajl-ruby (~> 1.1)
|
26
|
-
|
27
|
-
|
42
|
+
chef-zero (2.0.2)
|
43
|
+
hashie (~> 2.0)
|
44
|
+
json
|
45
|
+
mixlib-log (~> 1.3)
|
46
|
+
rack
|
47
|
+
coderay (1.1.0)
|
48
|
+
colorize (0.7.2)
|
49
|
+
descendants_tracker (0.0.4)
|
50
|
+
thread_safe (~> 0.3, >= 0.3.1)
|
51
|
+
diff-lcs (1.2.5)
|
52
|
+
em-winrm (0.5.5)
|
53
|
+
eventmachine (~> 1.0.0)
|
54
|
+
mixlib-log (>= 1.3.0)
|
55
|
+
uuidtools (~> 2.1.1)
|
56
|
+
winrm (~> 1.1.2)
|
28
57
|
erubis (2.7.0)
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
58
|
+
eventmachine (1.0.3)
|
59
|
+
excon (0.31.0)
|
60
|
+
faraday (0.9.0)
|
61
|
+
multipart-post (>= 1.2, < 3)
|
62
|
+
ffi (1.9.3)
|
63
|
+
fog (1.20.0)
|
33
64
|
builder
|
34
|
-
excon (~> 0.
|
65
|
+
excon (~> 0.31.0)
|
35
66
|
formatador (~> 0.2.0)
|
36
67
|
mime-types
|
37
68
|
multi_json (~> 1.0)
|
38
69
|
net-scp (~> 1.1)
|
39
70
|
net-ssh (>= 2.1.3)
|
40
|
-
nokogiri (
|
41
|
-
ruby-hmac
|
71
|
+
nokogiri (>= 1.5.11)
|
42
72
|
formatador (0.2.4)
|
43
73
|
git (1.2.6)
|
44
|
-
github_api (0.
|
45
|
-
addressable
|
46
|
-
|
74
|
+
github_api (0.11.3)
|
75
|
+
addressable (~> 2.3)
|
76
|
+
descendants_tracker (~> 0.0.1)
|
77
|
+
faraday (~> 0.8, < 0.10)
|
47
78
|
hashie (>= 1.2)
|
48
|
-
multi_json (
|
49
|
-
nokogiri (~> 1.
|
79
|
+
multi_json (>= 1.7.5, < 2.0)
|
80
|
+
nokogiri (~> 1.6.0)
|
50
81
|
oauth2
|
51
|
-
|
52
|
-
|
53
|
-
|
82
|
+
gssapi (1.0.3)
|
83
|
+
ffi (>= 1.0.1)
|
84
|
+
gyoku (1.1.1)
|
85
|
+
builder (>= 2.1.2)
|
86
|
+
hashie (2.1.0)
|
87
|
+
highline (1.6.21)
|
88
|
+
httpclient (2.3.4.1)
|
89
|
+
httpi (0.9.7)
|
90
|
+
rack
|
54
91
|
inifile (2.0.2)
|
55
92
|
ipaddress (0.8.0)
|
56
|
-
jeweler (
|
93
|
+
jeweler (2.0.1)
|
57
94
|
builder
|
58
|
-
bundler (
|
95
|
+
bundler (>= 1.0)
|
59
96
|
git (>= 1.2.5)
|
60
|
-
github_api
|
97
|
+
github_api
|
61
98
|
highline (>= 1.6.15)
|
62
|
-
nokogiri (
|
99
|
+
nokogiri (>= 1.5.10)
|
63
100
|
rake
|
64
101
|
rdoc
|
65
|
-
json (1.
|
66
|
-
jwt (0.1.
|
102
|
+
json (1.8.1)
|
103
|
+
jwt (0.1.11)
|
67
104
|
multi_json (>= 1.5)
|
68
|
-
knife-ec2 (0.
|
69
|
-
|
70
|
-
|
105
|
+
knife-ec2 (0.8.0)
|
106
|
+
fog (~> 1.20.0)
|
107
|
+
knife-windows (>= 0.5.12)
|
108
|
+
knife-windows (0.5.15)
|
109
|
+
em-winrm (~> 0.5, >= 0.5.4)
|
71
110
|
little-plugger (1.1.3)
|
72
|
-
logging (1.8.
|
111
|
+
logging (1.8.2)
|
73
112
|
little-plugger (>= 1.1.3)
|
74
|
-
multi_json (>= 1.
|
75
|
-
|
113
|
+
multi_json (>= 1.8.4)
|
114
|
+
method_source (0.8.2)
|
115
|
+
mime-types (1.25.1)
|
116
|
+
mini_portile (0.5.3)
|
76
117
|
mixlib-authentication (1.3.0)
|
77
118
|
mixlib-log
|
78
|
-
mixlib-cli (1.
|
79
|
-
mixlib-config (
|
119
|
+
mixlib-cli (1.4.0)
|
120
|
+
mixlib-config (2.1.0)
|
80
121
|
mixlib-log (1.6.0)
|
81
|
-
mixlib-shellout (1.
|
82
|
-
multi_json (1.
|
122
|
+
mixlib-shellout (1.4.0)
|
123
|
+
multi_json (1.9.2)
|
83
124
|
multi_xml (0.5.5)
|
84
|
-
multipart-post (
|
125
|
+
multipart-post (2.0.0)
|
85
126
|
net-scp (1.1.2)
|
86
127
|
net-ssh (>= 2.6.5)
|
87
|
-
net-ssh (2.
|
128
|
+
net-ssh (2.8.0)
|
88
129
|
net-ssh-gateway (1.2.0)
|
89
130
|
net-ssh (>= 2.6.5)
|
90
|
-
net-ssh-multi (1.
|
91
|
-
net-ssh (>= 2.
|
92
|
-
net-ssh-gateway (>=
|
93
|
-
nokogiri (1.
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
131
|
+
net-ssh-multi (1.2.0)
|
132
|
+
net-ssh (>= 2.6.5)
|
133
|
+
net-ssh-gateway (>= 1.2.0)
|
134
|
+
nokogiri (1.6.1)
|
135
|
+
mini_portile (~> 0.5.0)
|
136
|
+
nori (1.1.5)
|
137
|
+
oauth2 (0.9.3)
|
138
|
+
faraday (>= 0.8, < 0.10)
|
139
|
+
jwt (~> 0.1.8)
|
140
|
+
multi_json (~> 1.3)
|
99
141
|
multi_xml (~> 0.5)
|
100
142
|
rack (~> 1.2)
|
101
|
-
ohai (
|
143
|
+
ohai (7.0.0)
|
102
144
|
ipaddress
|
145
|
+
mime-types (~> 1.16)
|
103
146
|
mixlib-cli
|
104
|
-
mixlib-config
|
147
|
+
mixlib-config (~> 2.0)
|
105
148
|
mixlib-log
|
106
|
-
mixlib-shellout
|
107
|
-
systemu
|
149
|
+
mixlib-shellout (~> 1.2)
|
150
|
+
systemu (~> 2.5.2)
|
108
151
|
yajl-ruby
|
152
|
+
pry (0.9.12.6)
|
153
|
+
coderay (~> 1.0)
|
154
|
+
method_source (~> 0.8)
|
155
|
+
slop (~> 3.4)
|
109
156
|
rack (1.5.2)
|
110
|
-
rake (10.
|
111
|
-
rdoc (
|
157
|
+
rake (10.2.2)
|
158
|
+
rdoc (4.1.1)
|
112
159
|
json (~> 1.4)
|
113
160
|
rest-client (1.6.7)
|
114
161
|
mime-types (>= 1.16)
|
@@ -116,30 +163,51 @@ GEM
|
|
116
163
|
rspec-core (~> 2.14.0)
|
117
164
|
rspec-expectations (~> 2.14.0)
|
118
165
|
rspec-mocks (~> 2.14.0)
|
119
|
-
rspec-core (2.14.
|
120
|
-
rspec-expectations (2.14.
|
166
|
+
rspec-core (2.14.8)
|
167
|
+
rspec-expectations (2.14.5)
|
121
168
|
diff-lcs (>= 1.1.3, < 2.0)
|
122
|
-
rspec-mocks (2.14.
|
123
|
-
|
169
|
+
rspec-mocks (2.14.6)
|
170
|
+
rubyntlm (0.1.1)
|
171
|
+
savon (0.9.5)
|
172
|
+
akami (~> 1.0)
|
173
|
+
builder (>= 2.1.2)
|
174
|
+
gyoku (>= 0.4.0)
|
175
|
+
httpi (~> 0.9)
|
176
|
+
nokogiri (>= 1.4.0)
|
177
|
+
nori (~> 1.0)
|
178
|
+
wasabi (~> 1.0)
|
179
|
+
slop (3.5.0)
|
124
180
|
systemu (2.5.2)
|
125
|
-
|
181
|
+
thread_safe (0.3.3)
|
182
|
+
unf (0.1.4)
|
126
183
|
unf_ext
|
127
184
|
unf_ext (0.0.6)
|
128
|
-
|
185
|
+
uuidtools (2.1.4)
|
186
|
+
wasabi (1.0.0)
|
187
|
+
nokogiri (>= 1.4.0)
|
188
|
+
winrm (1.1.3)
|
189
|
+
gssapi (~> 1.0.0)
|
190
|
+
httpclient (~> 2.2, >= 2.2.0.2)
|
191
|
+
logging (~> 1.6, >= 1.6.1)
|
192
|
+
nokogiri (~> 1.5)
|
193
|
+
rubyntlm (~> 0.1.1)
|
194
|
+
savon (= 0.9.5)
|
195
|
+
uuidtools (~> 2.1.2)
|
196
|
+
yajl-ruby (1.2.0)
|
129
197
|
|
130
198
|
PLATFORMS
|
131
199
|
ruby
|
132
200
|
|
133
201
|
DEPENDENCIES
|
134
|
-
awesome_print
|
135
|
-
chef
|
136
|
-
colorize
|
137
|
-
inifile
|
138
|
-
jeweler (
|
139
|
-
json (
|
202
|
+
awesome_print (~> 1.2, >= 1.2.0)
|
203
|
+
chef (~> 11.10, >= 11.10.0)
|
204
|
+
colorize (~> 0.7, >= 0.7.1)
|
205
|
+
inifile (~> 2.0, >= 2.0.2)
|
206
|
+
jeweler (>= 1.8.8)
|
207
|
+
json (~> 1.8, >= 1.8.1)
|
140
208
|
knife-chop!
|
141
|
-
knife-ec2
|
142
|
-
logging
|
143
|
-
mixlib-config (>=
|
144
|
-
rspec
|
145
|
-
unf
|
209
|
+
knife-ec2 (~> 0.6, >= 0.6.6)
|
210
|
+
logging (~> 1.8, >= 1.8.2)
|
211
|
+
mixlib-config (~> 2.1, >= 2.1.0)
|
212
|
+
rspec (~> 2.14, >= 2.14.1)
|
213
|
+
unf (~> 0.1, >= 0.1.4)
|
data/Rakefile
CHANGED
@@ -3,6 +3,7 @@
|
|
3
3
|
require 'rubygems'
|
4
4
|
require 'rubygems/package_task'
|
5
5
|
require 'bundler'
|
6
|
+
require 'rake'
|
6
7
|
begin
|
7
8
|
Bundler.setup(:default, :development)
|
8
9
|
rescue Bundler::BundlerError => e
|
@@ -10,7 +11,6 @@ rescue Bundler::BundlerError => e
|
|
10
11
|
$stderr.puts "Run `bundle install` to install missing gems"
|
11
12
|
exit e.status_code
|
12
13
|
end
|
13
|
-
require 'rake'
|
14
14
|
|
15
15
|
|
16
16
|
Dir[File.expand_path("../*gemspec", __FILE__)].reverse.each do |gemspec_path|
|
@@ -18,9 +18,31 @@ Dir[File.expand_path("../*gemspec", __FILE__)].reverse.each do |gemspec_path|
|
|
18
18
|
Gem::PackageTask.new(gemspec).define
|
19
19
|
end
|
20
20
|
|
21
|
+
require 'rspec/core/rake_task'
|
22
|
+
RSpec::Core::RakeTask.new(:spec) do |spec|
|
23
|
+
spec.pattern = FileList['spec/**/*_spec.rb']
|
24
|
+
end
|
25
|
+
|
26
|
+
RSpec::Core::RakeTask.new(:rcov) do |spec|
|
27
|
+
spec.pattern = 'spec/**/*_spec.rb'
|
28
|
+
spec.rcov = true
|
29
|
+
end
|
30
|
+
|
31
|
+
task :default => :spec
|
32
|
+
|
33
|
+
require 'rdoc/task'
|
34
|
+
Rake::RDocTask.new do |rdoc|
|
35
|
+
version = File.exist?('VERSION') ? File.read('VERSION') : ""
|
36
|
+
|
37
|
+
rdoc.rdoc_dir = 'rdoc'
|
38
|
+
rdoc.title = "knife-chop #{version}"
|
39
|
+
rdoc.rdoc_files.include('README*')
|
40
|
+
rdoc.rdoc_files.include('lib/**/*.rb')
|
41
|
+
end
|
42
|
+
|
21
43
|
require File.dirname(__FILE__) + '/lib/chef/knife/chop/version'
|
22
44
|
desc "Build it, tag it and ship it"
|
23
|
-
task :ship => [:
|
45
|
+
task :ship => [:clobber_package,:clobber_rdoc,:gem] do
|
24
46
|
sh("git add -A")
|
25
47
|
sh("git commit -m 'Ship #{::Knife::Chop::VERSION}'")
|
26
48
|
sh("git tag #{::Knife::Chop::VERSION}")
|
@@ -49,26 +71,3 @@ Jeweler::Tasks.new do |gem|
|
|
49
71
|
end
|
50
72
|
Jeweler::RubygemsDotOrgTasks.new
|
51
73
|
|
52
|
-
require 'rspec/core'
|
53
|
-
require 'rspec/core/rake_task'
|
54
|
-
RSpec::Core::RakeTask.new(:spec) do |spec|
|
55
|
-
spec.pattern = FileList['spec/**/*_spec.rb']
|
56
|
-
end
|
57
|
-
|
58
|
-
RSpec::Core::RakeTask.new(:rcov) do |spec|
|
59
|
-
spec.pattern = 'spec/**/*_spec.rb'
|
60
|
-
spec.rcov = true
|
61
|
-
end
|
62
|
-
|
63
|
-
task :default => :spec
|
64
|
-
|
65
|
-
require 'rdoc/task'
|
66
|
-
Rake::RDocTask.new do |rdoc|
|
67
|
-
version = File.exist?('VERSION') ? File.read('VERSION') : ""
|
68
|
-
|
69
|
-
rdoc.rdoc_dir = 'rdoc'
|
70
|
-
rdoc.title = "knife-chop #{version}"
|
71
|
-
rdoc.rdoc_files.include('README*')
|
72
|
-
rdoc.rdoc_files.include('lib/**/*.rb')
|
73
|
-
end
|
74
|
-
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.5.15
|
data/knife-chop.gemspec
CHANGED
@@ -2,16 +2,16 @@
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
|
-
# stub: knife-chop 0.
|
5
|
+
# stub: knife-chop 0.5.12 ruby lib
|
6
6
|
|
7
|
-
require File.dirname(__FILE__) + '/lib/chef/knife/chop/version'
|
8
7
|
Gem::Specification.new do |s|
|
9
8
|
s.name = "knife-chop"
|
10
|
-
s.version =
|
9
|
+
s.version = IO.read(File.join(File.dirname(__FILE__), 'VERSION')).chomp rescue '1.0.0'
|
11
10
|
|
12
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
12
|
+
s.require_paths = ["lib"]
|
13
13
|
s.authors = ["Christo De Lange"]
|
14
|
-
s.date = "
|
14
|
+
s.date = "2014-04-10"
|
15
15
|
s.description = "Knife plugin to assist with the upload and sync of Chef server assets like roles, environments and cookbooks allowing for multiple parts to be uploaded at once to multiple environments. Resources can be matched with regular expressions."
|
16
16
|
s.email = "rubygems@dldinternet.com"
|
17
17
|
s.executables = ["chop"]
|
@@ -76,9 +76,49 @@ Gem::Specification.new do |s|
|
|
76
76
|
]
|
77
77
|
s.homepage = "http://github.com/dldinternet/knife-chop"
|
78
78
|
s.licenses = ["MIT"]
|
79
|
-
s.
|
80
|
-
s.rubygems_version = "2.1.5"
|
79
|
+
s.rubygems_version = "2.2.2"
|
81
80
|
s.summary = "Knife plugin to ease the upload and sync of Chef server assets"
|
82
81
|
|
82
|
+
if s.respond_to? :specification_version
|
83
|
+
s.specification_version = 4
|
84
|
+
|
85
|
+
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0')
|
86
|
+
s.add_runtime_dependency(%q<awesome_print>, [">= 1.2.0", "~> 1.2"])
|
87
|
+
s.add_runtime_dependency(%q<colorize>, [">= 0.7.1", "~> 0.7"])
|
88
|
+
s.add_runtime_dependency(%q<logging>, [">= 1.8.2", "~> 1.8"])
|
89
|
+
s.add_runtime_dependency(%q<inifile>, [">= 2.0.2", "~> 2.0"])
|
90
|
+
s.add_runtime_dependency(%q<json>, [">= 1.8.1", "~> 1.8"])
|
91
|
+
s.add_runtime_dependency(%q<mixlib-config>, [">= 2.1.0", "~> 2.1"])
|
92
|
+
s.add_runtime_dependency(%q<chef>, [">= 11.10.0", "~> 11.10"])
|
93
|
+
s.add_runtime_dependency(%q<unf>, [">= 0.1.4", "~> 0.1"])
|
94
|
+
s.add_runtime_dependency(%q<knife-ec2>, [">= 0.6.6", "~> 0.6"])
|
95
|
+
s.add_development_dependency(%q<rspec>, [">= 2.14.1", "~> 2.14"])
|
96
|
+
s.add_development_dependency(%q<jeweler>, [">= 1.8.8"])
|
97
|
+
else
|
98
|
+
s.add_dependency(%q<awesome_print>, [">= 1.2.0", "~> 1.2"])
|
99
|
+
s.add_dependency(%q<colorize>, [">= 0.7.1", "~> 0.7"])
|
100
|
+
s.add_dependency(%q<logging>, [">= 1.8.2", "~> 1.8"])
|
101
|
+
s.add_dependency(%q<inifile>, [">= 2.0.2", "~> 2.0"])
|
102
|
+
s.add_dependency(%q<json>, [">= 1.8.1", "~> 1.8"])
|
103
|
+
s.add_dependency(%q<mixlib-config>, [">= 2.1.0", "~> 2.1"])
|
104
|
+
s.add_dependency(%q<chef>, [">= 11.10.0", "~> 11.10"])
|
105
|
+
s.add_dependency(%q<unf>, [">= 0.1.4", "~> 0.1"])
|
106
|
+
s.add_dependency(%q<knife-ec2>, [">= 0.6.6", "~> 0.6"])
|
107
|
+
s.add_dependency(%q<rspec>, [">= 2.14.1", "~> 2.14"])
|
108
|
+
s.add_dependency(%q<jeweler>, [">= 1.8.8"])
|
109
|
+
end
|
110
|
+
else
|
111
|
+
s.add_dependency(%q<awesome_print>, [">= 1.2.0", "~> 1.2"])
|
112
|
+
s.add_dependency(%q<colorize>, [">= 0.7.1", "~> 0.7"])
|
113
|
+
s.add_dependency(%q<logging>, [">= 1.8.2", "~> 1.8"])
|
114
|
+
s.add_dependency(%q<inifile>, [">= 2.0.2", "~> 2.0"])
|
115
|
+
s.add_dependency(%q<json>, [">= 1.8.1", "~> 1.8"])
|
116
|
+
s.add_dependency(%q<mixlib-config>, [">= 2.1.0", "~> 2.1"])
|
117
|
+
s.add_dependency(%q<chef>, [">= 11.10.0", "~> 11.10"])
|
118
|
+
s.add_dependency(%q<unf>, [">= 0.1.4", "~> 0.1"])
|
119
|
+
s.add_dependency(%q<knife-ec2>, [">= 0.6.6", "~> 0.6"])
|
120
|
+
s.add_dependency(%q<rspec>, [">= 2.14.1", "~> 2.14"])
|
121
|
+
s.add_dependency(%q<jeweler>, [">= 1.8.8"])
|
122
|
+
end
|
83
123
|
end
|
84
124
|
|
data/lib/chef/knife/chop_base.rb
CHANGED
metadata
CHANGED
@@ -1,191 +1,229 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: knife-chop
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.15
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Christo De Lange
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2014-04-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
-
- !ruby/object:Gem::Dependency
|
14
|
-
name: knife-chop
|
15
|
-
requirement: !ruby/object:Gem::Requirement
|
16
|
-
requirements:
|
17
|
-
- - ! '>='
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: '0'
|
20
|
-
type: :runtime
|
21
|
-
prerelease: false
|
22
|
-
version_requirements: !ruby/object:Gem::Requirement
|
23
|
-
requirements:
|
24
|
-
- - ! '>='
|
25
|
-
- !ruby/object:Gem::Version
|
26
|
-
version: '0'
|
27
13
|
- !ruby/object:Gem::Dependency
|
28
14
|
name: awesome_print
|
29
15
|
requirement: !ruby/object:Gem::Requirement
|
30
16
|
requirements:
|
31
17
|
- - ! '>='
|
32
18
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
19
|
+
version: 1.2.0
|
20
|
+
- - ~>
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: '1.2'
|
34
23
|
type: :runtime
|
35
24
|
prerelease: false
|
36
25
|
version_requirements: !ruby/object:Gem::Requirement
|
37
26
|
requirements:
|
38
27
|
- - ! '>='
|
39
28
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
29
|
+
version: 1.2.0
|
30
|
+
- - ~>
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '1.2'
|
41
33
|
- !ruby/object:Gem::Dependency
|
42
34
|
name: colorize
|
43
35
|
requirement: !ruby/object:Gem::Requirement
|
44
36
|
requirements:
|
45
37
|
- - ! '>='
|
46
38
|
- !ruby/object:Gem::Version
|
47
|
-
version:
|
39
|
+
version: 0.7.1
|
40
|
+
- - ~>
|
41
|
+
- !ruby/object:Gem::Version
|
42
|
+
version: '0.7'
|
48
43
|
type: :runtime
|
49
44
|
prerelease: false
|
50
45
|
version_requirements: !ruby/object:Gem::Requirement
|
51
46
|
requirements:
|
52
47
|
- - ! '>='
|
53
48
|
- !ruby/object:Gem::Version
|
54
|
-
version:
|
49
|
+
version: 0.7.1
|
50
|
+
- - ~>
|
51
|
+
- !ruby/object:Gem::Version
|
52
|
+
version: '0.7'
|
55
53
|
- !ruby/object:Gem::Dependency
|
56
54
|
name: logging
|
57
55
|
requirement: !ruby/object:Gem::Requirement
|
58
56
|
requirements:
|
59
57
|
- - ! '>='
|
60
58
|
- !ruby/object:Gem::Version
|
61
|
-
version:
|
59
|
+
version: 1.8.2
|
60
|
+
- - ~>
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: '1.8'
|
62
63
|
type: :runtime
|
63
64
|
prerelease: false
|
64
65
|
version_requirements: !ruby/object:Gem::Requirement
|
65
66
|
requirements:
|
66
67
|
- - ! '>='
|
67
68
|
- !ruby/object:Gem::Version
|
68
|
-
version:
|
69
|
+
version: 1.8.2
|
70
|
+
- - ~>
|
71
|
+
- !ruby/object:Gem::Version
|
72
|
+
version: '1.8'
|
69
73
|
- !ruby/object:Gem::Dependency
|
70
74
|
name: inifile
|
71
75
|
requirement: !ruby/object:Gem::Requirement
|
72
76
|
requirements:
|
73
77
|
- - ! '>='
|
74
78
|
- !ruby/object:Gem::Version
|
75
|
-
version:
|
79
|
+
version: 2.0.2
|
80
|
+
- - ~>
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '2.0'
|
76
83
|
type: :runtime
|
77
84
|
prerelease: false
|
78
85
|
version_requirements: !ruby/object:Gem::Requirement
|
79
86
|
requirements:
|
80
87
|
- - ! '>='
|
81
88
|
- !ruby/object:Gem::Version
|
82
|
-
version:
|
89
|
+
version: 2.0.2
|
90
|
+
- - ~>
|
91
|
+
- !ruby/object:Gem::Version
|
92
|
+
version: '2.0'
|
83
93
|
- !ruby/object:Gem::Dependency
|
84
94
|
name: json
|
85
95
|
requirement: !ruby/object:Gem::Requirement
|
86
96
|
requirements:
|
87
|
-
- - <=
|
88
|
-
- !ruby/object:Gem::Version
|
89
|
-
version: 1.7.7
|
90
97
|
- - ! '>='
|
91
98
|
- !ruby/object:Gem::Version
|
92
|
-
version:
|
93
|
-
|
99
|
+
version: 1.8.1
|
100
|
+
- - ~>
|
101
|
+
- !ruby/object:Gem::Version
|
102
|
+
version: '1.8'
|
94
103
|
type: :runtime
|
95
104
|
prerelease: false
|
96
105
|
version_requirements: !ruby/object:Gem::Requirement
|
97
106
|
requirements:
|
98
|
-
- - <=
|
99
|
-
- !ruby/object:Gem::Version
|
100
|
-
version: 1.7.7
|
101
107
|
- - ! '>='
|
102
108
|
- !ruby/object:Gem::Version
|
103
|
-
version:
|
104
|
-
|
109
|
+
version: 1.8.1
|
110
|
+
- - ~>
|
111
|
+
- !ruby/object:Gem::Version
|
112
|
+
version: '1.8'
|
105
113
|
- !ruby/object:Gem::Dependency
|
106
114
|
name: mixlib-config
|
107
115
|
requirement: !ruby/object:Gem::Requirement
|
108
116
|
requirements:
|
109
117
|
- - ! '>='
|
110
118
|
- !ruby/object:Gem::Version
|
111
|
-
version:
|
119
|
+
version: 2.1.0
|
120
|
+
- - ~>
|
121
|
+
- !ruby/object:Gem::Version
|
122
|
+
version: '2.1'
|
112
123
|
type: :runtime
|
113
124
|
prerelease: false
|
114
125
|
version_requirements: !ruby/object:Gem::Requirement
|
115
126
|
requirements:
|
116
127
|
- - ! '>='
|
117
128
|
- !ruby/object:Gem::Version
|
118
|
-
version:
|
129
|
+
version: 2.1.0
|
130
|
+
- - ~>
|
131
|
+
- !ruby/object:Gem::Version
|
132
|
+
version: '2.1'
|
119
133
|
- !ruby/object:Gem::Dependency
|
120
134
|
name: chef
|
121
135
|
requirement: !ruby/object:Gem::Requirement
|
122
136
|
requirements:
|
123
137
|
- - ! '>='
|
124
138
|
- !ruby/object:Gem::Version
|
125
|
-
version:
|
139
|
+
version: 11.10.0
|
140
|
+
- - ~>
|
141
|
+
- !ruby/object:Gem::Version
|
142
|
+
version: '11.10'
|
126
143
|
type: :runtime
|
127
144
|
prerelease: false
|
128
145
|
version_requirements: !ruby/object:Gem::Requirement
|
129
146
|
requirements:
|
130
147
|
- - ! '>='
|
131
148
|
- !ruby/object:Gem::Version
|
132
|
-
version:
|
149
|
+
version: 11.10.0
|
150
|
+
- - ~>
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '11.10'
|
133
153
|
- !ruby/object:Gem::Dependency
|
134
154
|
name: unf
|
135
155
|
requirement: !ruby/object:Gem::Requirement
|
136
156
|
requirements:
|
137
157
|
- - ! '>='
|
138
158
|
- !ruby/object:Gem::Version
|
139
|
-
version:
|
159
|
+
version: 0.1.4
|
160
|
+
- - ~>
|
161
|
+
- !ruby/object:Gem::Version
|
162
|
+
version: '0.1'
|
140
163
|
type: :runtime
|
141
164
|
prerelease: false
|
142
165
|
version_requirements: !ruby/object:Gem::Requirement
|
143
166
|
requirements:
|
144
167
|
- - ! '>='
|
145
168
|
- !ruby/object:Gem::Version
|
146
|
-
version:
|
169
|
+
version: 0.1.4
|
170
|
+
- - ~>
|
171
|
+
- !ruby/object:Gem::Version
|
172
|
+
version: '0.1'
|
147
173
|
- !ruby/object:Gem::Dependency
|
148
174
|
name: knife-ec2
|
149
175
|
requirement: !ruby/object:Gem::Requirement
|
150
176
|
requirements:
|
151
177
|
- - ! '>='
|
152
178
|
- !ruby/object:Gem::Version
|
153
|
-
version:
|
179
|
+
version: 0.6.6
|
180
|
+
- - ~>
|
181
|
+
- !ruby/object:Gem::Version
|
182
|
+
version: '0.6'
|
154
183
|
type: :runtime
|
155
184
|
prerelease: false
|
156
185
|
version_requirements: !ruby/object:Gem::Requirement
|
157
186
|
requirements:
|
158
187
|
- - ! '>='
|
159
188
|
- !ruby/object:Gem::Version
|
160
|
-
version:
|
189
|
+
version: 0.6.6
|
190
|
+
- - ~>
|
191
|
+
- !ruby/object:Gem::Version
|
192
|
+
version: '0.6'
|
161
193
|
- !ruby/object:Gem::Dependency
|
162
|
-
name:
|
194
|
+
name: rspec
|
163
195
|
requirement: !ruby/object:Gem::Requirement
|
164
196
|
requirements:
|
197
|
+
- - ! '>='
|
198
|
+
- !ruby/object:Gem::Version
|
199
|
+
version: 2.14.1
|
165
200
|
- - ~>
|
166
201
|
- !ruby/object:Gem::Version
|
167
|
-
version:
|
202
|
+
version: '2.14'
|
168
203
|
type: :development
|
169
204
|
prerelease: false
|
170
205
|
version_requirements: !ruby/object:Gem::Requirement
|
171
206
|
requirements:
|
207
|
+
- - ! '>='
|
208
|
+
- !ruby/object:Gem::Version
|
209
|
+
version: 2.14.1
|
172
210
|
- - ~>
|
173
211
|
- !ruby/object:Gem::Version
|
174
|
-
version:
|
212
|
+
version: '2.14'
|
175
213
|
- !ruby/object:Gem::Dependency
|
176
|
-
name:
|
214
|
+
name: jeweler
|
177
215
|
requirement: !ruby/object:Gem::Requirement
|
178
216
|
requirements:
|
179
217
|
- - ! '>='
|
180
218
|
- !ruby/object:Gem::Version
|
181
|
-
version:
|
219
|
+
version: 1.8.8
|
182
220
|
type: :development
|
183
221
|
prerelease: false
|
184
222
|
version_requirements: !ruby/object:Gem::Requirement
|
185
223
|
requirements:
|
186
224
|
- - ! '>='
|
187
225
|
- !ruby/object:Gem::Version
|
188
|
-
version:
|
226
|
+
version: 1.8.8
|
189
227
|
description: Knife plugin to assist with the upload and sync of Chef server assets
|
190
228
|
like roles, environments and cookbooks allowing for multiple parts to be uploaded
|
191
229
|
at once to multiple environments. Resources can be matched with regular expressions.
|
@@ -270,7 +308,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
270
308
|
version: '0'
|
271
309
|
requirements: []
|
272
310
|
rubyforge_project:
|
273
|
-
rubygems_version: 2.
|
311
|
+
rubygems_version: 2.2.2
|
274
312
|
signing_key:
|
275
313
|
specification_version: 4
|
276
314
|
summary: Knife plugin to ease the upload and sync of Chef server assets
|