knife-chop 0.2.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (55) hide show
  1. checksums.yaml +15 -0
  2. data/Gemfile +24 -0
  3. data/Gemfile.lock +154 -0
  4. data/LICENSE.txt +20 -0
  5. data/README.rdoc +23 -0
  6. data/Rakefile +54 -0
  7. data/TODO.rdoc +46 -0
  8. data/VERSION +1 -0
  9. data/bin/chop +48 -0
  10. data/knife-chop.gemspec +118 -0
  11. data/lib/chef/knife/chop/chef_data_bag_item.rb +43 -0
  12. data/lib/chef/knife/chop/chef_environment.rb +47 -0
  13. data/lib/chef/knife/chop/chef_knife.rb +85 -0
  14. data/lib/chef/knife/chop/chef_part.rb +191 -0
  15. data/lib/chef/knife/chop/chef_role.rb +48 -0
  16. data/lib/chef/knife/chop/cookbook_upload.rb +143 -0
  17. data/lib/chef/knife/chop/data_bag_from_file.rb +87 -0
  18. data/lib/chef/knife/chop/environment_from_file.rb +79 -0
  19. data/lib/chef/knife/chop/errors.rb +5 -0
  20. data/lib/chef/knife/chop/logging.rb +245 -0
  21. data/lib/chef/knife/chop/role_from_file.rb +45 -0
  22. data/lib/chef/knife/chop/translate.rb +23 -0
  23. data/lib/chef/knife/chop/translate/eden.rb +23 -0
  24. data/lib/chef/knife/chop/translate/rbeautify.rb +24 -0
  25. data/lib/chef/knife/chop/ui.rb +110 -0
  26. data/lib/chef/knife/chop/version.rb +9 -0
  27. data/lib/chef/knife/chop_base.rb +821 -0
  28. data/lib/chef/knife/chop_translate.rb +161 -0
  29. data/lib/chef/knife/chop_upload.rb +199 -0
  30. data/lib/ruby-beautify/Gemfile +4 -0
  31. data/lib/ruby-beautify/LICENSE +22 -0
  32. data/lib/ruby-beautify/README.md +39 -0
  33. data/lib/ruby-beautify/RELEASE.md +13 -0
  34. data/lib/ruby-beautify/Rakefile +2 -0
  35. data/lib/ruby-beautify/bin/rbeautify +28 -0
  36. data/lib/ruby-beautify/lib/beautifier.rb +168 -0
  37. data/lib/ruby-beautify/lib/ruby-beautify.rb +26 -0
  38. data/lib/ruby-beautify/lib/ruby-beautify/block_end.rb +23 -0
  39. data/lib/ruby-beautify/lib/ruby-beautify/block_matcher.rb +153 -0
  40. data/lib/ruby-beautify/lib/ruby-beautify/block_start.rb +119 -0
  41. data/lib/ruby-beautify/lib/ruby-beautify/config/ruby.rb +131 -0
  42. data/lib/ruby-beautify/lib/ruby-beautify/language.rb +37 -0
  43. data/lib/ruby-beautify/lib/ruby-beautify/line.rb +53 -0
  44. data/lib/ruby-beautify/lib/ruby-beautify/version.rb +3 -0
  45. data/lib/ruby-beautify/ruby-beautify.gemspec +17 -0
  46. data/lib/ruby-beautify/spec/fixtures/ruby.yml +408 -0
  47. data/lib/ruby-beautify/spec/rbeautify/block_matcher_spec.rb +89 -0
  48. data/lib/ruby-beautify/spec/rbeautify/block_start_spec.rb +51 -0
  49. data/lib/ruby-beautify/spec/rbeautify/config/ruby_spec.rb +183 -0
  50. data/lib/ruby-beautify/spec/rbeautify/line_spec.rb +73 -0
  51. data/lib/ruby-beautify/spec/rbeautify_spec.rb +1 -0
  52. data/lib/ruby-beautify/spec/spec_helper.rb +124 -0
  53. data/spec/knife-chop_spec.rb +7 -0
  54. data/spec/spec_helper.rb +12 -0
  55. metadata +233 -0
checksums.yaml ADDED
@@ -0,0 +1,15 @@
1
+ ---
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ MTI5MzRlZDU3YjcyNmE1ZWRkZjkxNGExNGRhZThkODEzNTJmYmQ3Yw==
5
+ data.tar.gz: !binary |-
6
+ ODlmMzZlZmRiYTE3OTFiMmFlY2I5NWYyYThhYjNjNDY3ODA4NDlhZQ==
7
+ SHA512:
8
+ metadata.gz: !binary |-
9
+ ZGMxZmU5MzRlNjM0OTNiODIzZjY5ZjQ3ZTY4NmZlOGE5ZWYxY2E0NGRkZjQy
10
+ MjNjZDVmYmI4OTc0MjA0MjM5OTAzZGVhYjQzOTRhNWM3OWZhNzdmZWI1YTFh
11
+ MTZkNjUzZjAwNzg0NGNhZTUxYzAxZDNmZTQwNWNmNDVlOTM2MTE=
12
+ data.tar.gz: !binary |-
13
+ MGE1N2I0MjJiYzNjMDI1NmEzZjIwZTIyZWVlYTkzNjEwZDcwZmJhMTM3NmJl
14
+ MTFmNDQ5ZjI3MDZkZWJmYTZlM2Y2NWM0YTNiNTZlMmQzZWY1MGE0NTc5NjYy
15
+ ZDA3MGMxMmNhYmUxNjY1ZGI3ZDEzMWJlNjg0ODE1ZDY2NzY2MjA=
data/Gemfile ADDED
@@ -0,0 +1,24 @@
1
+ source "http://rubygems.org"
2
+ gemspec
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.4.4', '<= 1.7.7'
9
+ gem 'mixlib-config', '>= 1.1.2'
10
+ gem 'chef', '~> 11.6.2'
11
+ gem 'unf' # For Fog
12
+ gem 'knife-ec2'
13
+ #
14
+ ## Add dependencies to develop your gem here.
15
+ ## Include everything needed to run rake, tests, features, etc.
16
+ group :development do
17
+ # gem "shoulda", ">= 0"
18
+ # gem "rdoc", "~> 3.12"
19
+ # gem "cucumber", ">= 0"
20
+ # gem "bundler", "~> 1.0"
21
+ # gem "rcov", ">= 0"
22
+ gem "jeweler", "~> 1.8.8"
23
+ gem "rspec"
24
+ end
data/Gemfile.lock ADDED
@@ -0,0 +1,154 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ knife-chop (0.2.6)
5
+ awesome_print
6
+ chef (~> 11.6.2)
7
+ colorize
8
+ inifile
9
+ json (>= 1.4.4, <= 1.7.7)
10
+ knife-ec2
11
+ logging
12
+ mixlib-config (>= 1.1.2)
13
+ unf
14
+
15
+ GEM
16
+ remote: http://rubygems.org/
17
+ specs:
18
+ addressable (2.3.5)
19
+ awesome_print (1.2.0)
20
+ builder (3.2.2)
21
+ chef (11.6.2)
22
+ erubis (~> 2.7)
23
+ highline (~> 1.6, >= 1.6.9)
24
+ json (>= 1.4.4, <= 1.7.7)
25
+ mixlib-authentication (~> 1.3)
26
+ mixlib-cli (~> 1.3)
27
+ mixlib-config (~> 1.1, >= 1.1.2)
28
+ mixlib-log (~> 1.3)
29
+ mixlib-shellout (~> 1.1)
30
+ net-ssh (~> 2.6)
31
+ net-ssh-multi (~> 1.1.0)
32
+ ohai (>= 0.6.0, < 7.0.0)
33
+ rest-client (>= 1.0.4, < 1.7.0)
34
+ yajl-ruby (~> 1.1)
35
+ colorize (0.6.0)
36
+ diff-lcs (1.2.4)
37
+ erubis (2.7.0)
38
+ excon (0.27.6)
39
+ faraday (0.8.8)
40
+ multipart-post (~> 1.2.0)
41
+ fog (1.17.0)
42
+ builder
43
+ excon (~> 0.27.0)
44
+ formatador (~> 0.2.0)
45
+ mime-types
46
+ multi_json (~> 1.0)
47
+ net-scp (~> 1.1)
48
+ net-ssh (>= 2.1.3)
49
+ nokogiri (~> 1.5)
50
+ ruby-hmac
51
+ formatador (0.2.4)
52
+ git (1.2.6)
53
+ github_api (0.10.1)
54
+ addressable
55
+ faraday (~> 0.8.1)
56
+ hashie (>= 1.2)
57
+ multi_json (~> 1.4)
58
+ nokogiri (~> 1.5.2)
59
+ oauth2
60
+ hashie (2.0.5)
61
+ highline (1.6.20)
62
+ httpauth (0.2.0)
63
+ inifile (2.0.2)
64
+ ipaddress (0.8.0)
65
+ jeweler (1.8.8)
66
+ builder
67
+ bundler (~> 1.0)
68
+ git (>= 1.2.5)
69
+ github_api (= 0.10.1)
70
+ highline (>= 1.6.15)
71
+ nokogiri (= 1.5.10)
72
+ rake
73
+ rdoc
74
+ json (1.7.7)
75
+ jwt (0.1.8)
76
+ multi_json (>= 1.5)
77
+ knife-ec2 (0.6.4)
78
+ chef (>= 0.10.10)
79
+ fog (~> 1.6)
80
+ little-plugger (1.1.3)
81
+ logging (1.8.1)
82
+ little-plugger (>= 1.1.3)
83
+ multi_json (>= 1.3.6)
84
+ mime-types (2.0)
85
+ mixlib-authentication (1.3.0)
86
+ mixlib-log
87
+ mixlib-cli (1.3.0)
88
+ mixlib-config (1.1.2)
89
+ mixlib-log (1.6.0)
90
+ mixlib-shellout (1.2.0)
91
+ multi_json (1.8.2)
92
+ multi_xml (0.5.5)
93
+ multipart-post (1.2.0)
94
+ net-scp (1.1.2)
95
+ net-ssh (>= 2.6.5)
96
+ net-ssh (2.7.0)
97
+ net-ssh-gateway (1.2.0)
98
+ net-ssh (>= 2.6.5)
99
+ net-ssh-multi (1.1)
100
+ net-ssh (>= 2.1.4)
101
+ net-ssh-gateway (>= 0.99.0)
102
+ nokogiri (1.5.10)
103
+ oauth2 (0.9.2)
104
+ faraday (~> 0.8)
105
+ httpauth (~> 0.2)
106
+ jwt (~> 0.1.4)
107
+ multi_json (~> 1.0)
108
+ multi_xml (~> 0.5)
109
+ rack (~> 1.2)
110
+ ohai (6.18.0)
111
+ ipaddress
112
+ mixlib-cli
113
+ mixlib-config
114
+ mixlib-log
115
+ mixlib-shellout
116
+ systemu
117
+ yajl-ruby
118
+ rack (1.5.2)
119
+ rake (10.1.0)
120
+ rdoc (3.12.2)
121
+ json (~> 1.4)
122
+ rest-client (1.6.7)
123
+ mime-types (>= 1.16)
124
+ rspec (2.14.1)
125
+ rspec-core (~> 2.14.0)
126
+ rspec-expectations (~> 2.14.0)
127
+ rspec-mocks (~> 2.14.0)
128
+ rspec-core (2.14.7)
129
+ rspec-expectations (2.14.3)
130
+ diff-lcs (>= 1.1.3, < 2.0)
131
+ rspec-mocks (2.14.4)
132
+ ruby-hmac (0.4.0)
133
+ systemu (2.5.2)
134
+ unf (0.1.3)
135
+ unf_ext
136
+ unf_ext (0.0.6)
137
+ yajl-ruby (1.1.0)
138
+
139
+ PLATFORMS
140
+ ruby
141
+
142
+ DEPENDENCIES
143
+ awesome_print
144
+ chef (~> 11.6.2)
145
+ colorize
146
+ inifile
147
+ jeweler (~> 1.8.8)
148
+ json (>= 1.4.4, <= 1.7.7)
149
+ knife-chop!
150
+ knife-ec2
151
+ logging
152
+ mixlib-config (>= 1.1.2)
153
+ rspec
154
+ unf
data/LICENSE.txt ADDED
@@ -0,0 +1,20 @@
1
+ Copyright (c) 2013 Christo De Lange
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.rdoc ADDED
@@ -0,0 +1,23 @@
1
+ = knife-chop
2
+
3
+ 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.
4
+ Resources can be matched with regular expressions. Knife-chop (Chop) also support the translation of roles and environments to/from Ruby and JSON.
5
+
6
+ == Version
7
+ {<img src="https://badge.fury.io/rb/knife-chop.png" alt="Gem Version" />}[http://badge.fury.io/rb/knife-chop]
8
+
9
+ == Contributing to knife-chop
10
+
11
+ * Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet.
12
+ * Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it.
13
+ * Fork the project.
14
+ * Start a feature/bugfix branch.
15
+ * Commit and push until you are happy with your contribution.
16
+ * Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
17
+ * 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.
18
+
19
+ == Copyright
20
+
21
+ Copyright (c) 2013 Christo De Lange. See LICENSE.txt for
22
+ further details.
23
+
data/Rakefile ADDED
@@ -0,0 +1,54 @@
1
+ # encoding: utf-8
2
+
3
+ require 'rubygems'
4
+ require 'bundler'
5
+ begin
6
+ Bundler.setup(:default, :development)
7
+ rescue Bundler::BundlerError => e
8
+ $stderr.puts e.message
9
+ $stderr.puts "Run `bundle install` to install missing gems"
10
+ exit e.status_code
11
+ end
12
+ require 'rake'
13
+
14
+ require 'jeweler'
15
+ Jeweler::Tasks.new do |gem|
16
+ # gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
17
+ gem.name = "knife-chop"
18
+ gem.homepage = "http://github.com/dldinternet/knife-chop"
19
+ gem.license = "MIT"
20
+ gem.summary = %Q{Knife plugin to ease the upload and sync of Chef server assets}
21
+ gem.description = %Q{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.}
22
+ gem.email = "rubygems@dldinternet.com"
23
+ gem.authors = ["Christo De Lange"]
24
+ # dependencies defined in Gemfile
25
+
26
+ gem.files.exclude '.document'
27
+ gem.files.exclude '.rspec'
28
+ gem.files.exclude '.ruby-*'
29
+ gem.files.exclude '.idea/**'
30
+ end
31
+ Jeweler::RubygemsDotOrgTasks.new
32
+
33
+ require 'rspec/core'
34
+ require 'rspec/core/rake_task'
35
+ RSpec::Core::RakeTask.new(:spec) do |spec|
36
+ spec.pattern = FileList['spec/**/*_spec.rb']
37
+ end
38
+
39
+ RSpec::Core::RakeTask.new(:rcov) do |spec|
40
+ spec.pattern = 'spec/**/*_spec.rb'
41
+ spec.rcov = true
42
+ end
43
+
44
+ task :default => :spec
45
+
46
+ require 'rdoc/task'
47
+ Rake::RDocTask.new do |rdoc|
48
+ version = File.exist?('VERSION') ? File.read('VERSION') : ""
49
+
50
+ rdoc.rdoc_dir = 'rdoc'
51
+ rdoc.title = "knife-chop #{version}"
52
+ rdoc.rdoc_files.include('README*')
53
+ rdoc.rdoc_files.include('lib/**/*.rb')
54
+ end
data/TODO.rdoc ADDED
@@ -0,0 +1,46 @@
1
+ = knife-chop:TODO list
2
+
3
+ * Fix some of the small things exhibited in this run
4
+
5
+ STEP: Resource 1: Upload environments ...
6
+ WARN: Ignoring webDev.json
7
+ WARN: Ignoring webDevInt.json
8
+ WARN: Ignoring webQA.json
9
+ WARN: Ignoring webQAInt.json
10
+ STEP: Updated Environment webDev
11
+ STEP: Updated Environment webDevInt
12
+ STEP: Updated Environment webQA
13
+ STEP: Updated Environment webQAInt
14
+ STEP: Updated Environment webProd
15
+ STEP: Resource 2: Upload roles ...
16
+ STEP: Updated Role webBase!
17
+ STEP: Updated Role webChef!
18
+ STEP: Updated Role webDrupalAny!
19
+ STEP: Updated Role webDrupalFS!
20
+ STEP: Updated Role webDrupalRebootSupport!
21
+ STEP: Updated Role webDrupalSI!
22
+ STEP: Updated Role webIngester!
23
+ STEP: Updated Role webUGCDrupal!
24
+ STEP: Updated Role webUGCDrupalPerf!
25
+ STEP: Updated Role webUGCDrupalSI!
26
+ STEP: Updated Role webUGCDrupalSIPerf!
27
+ STEP: Updated Role webVPCGatewayNonProd!
28
+ STEP: Updated Role webVPCGatewayProd!
29
+ STEP: Resource 3: Upload data bags ...
30
+ === Data bags typically don't have rb versions so the precedence set for them should exclude the 'rb'
31
+ WARN: 'rb' set is empty! (No data_bags/aws/*.rb files found using precedence ["json", "rb"])
32
+ WARN: 'rb' set is empty! (No data_bags/users/*.rb files found using precedence ["json", "rb"])
33
+ STEP: Resource 4: Upload cookbooks ...
34
+ === The environment the cookbooks are being uploaded to ? Dependencies off?
35
+ STEP: Uploading role [1.0.11]
36
+ STEP: Uploaded 1 cookbook.
37
+ STEP: Uploading role [1.0.11]
38
+ STEP: Uploaded 1 cookbook.
39
+ STEP: Uploading role [1.0.11]
40
+ STEP: Uploaded 1 cookbook.
41
+ STEP: Uploading role [1.0.11]
42
+ STEP: Uploaded 1 cookbook.
43
+ STEP: Uploading role [1.0.11]
44
+ STEP: Uploaded 1 cookbook.
45
+
46
+ :doc:
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 0.2.6
data/bin/chop ADDED
@@ -0,0 +1,48 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require 'rubygems'
4
+
5
+ # Borrowing from "whiches" gem ...
6
+ cmd = 'knife'
7
+ exes = []
8
+ exts = ENV['PATHEXT'] ? ENV['PATHEXT'].split(';') : ['']
9
+ ENV['PATH'].split(File::PATH_SEPARATOR).each do |path|
10
+ exts.each { |ext|
11
+ exe = File.join(path, "#{cmd}#{ext}")
12
+ exes << exe if File.executable? exe
13
+ }
14
+ end
15
+ path = if exes.size > 0
16
+ File.dirname(exes[0])
17
+ else
18
+ File.dirname(__FILE__)
19
+ end
20
+
21
+ $:.unshift(File.expand_path(File.join(path, "..", "lib")))
22
+ require 'chef/application/knife'
23
+ require 'chef/knife/bootstrap'
24
+
25
+ # If it is translate,upload we will let the uploader do the heavy lifting
26
+ verb = 'upload'
27
+ me = 'chop' # File.basename(__FILE__)
28
+ act = false
29
+ ARGV.each{|w|
30
+ if w.match(%r(^--action$))
31
+ act = true
32
+ else
33
+ case w
34
+ when 'upload'
35
+ verb = w
36
+ when 'translate'
37
+ verb = w
38
+ else
39
+ if act
40
+ aw = w.split(%r([:,]))
41
+ verb = aw[0] if aw
42
+ end
43
+ end
44
+ end
45
+ }
46
+ ARGV.unshift verb unless ARGV[0] == verb
47
+ ARGV.unshift me
48
+ Chef::Application::Knife.new.run
@@ -0,0 +1,118 @@
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
+ # -*- encoding: utf-8 -*-
5
+ # stub: knife-chop 0.2.4 ruby lib
6
+
7
+ Gem::Specification.new do |s|
8
+ s.name = "knife-chop"
9
+ s.version = "0.2.6"
10
+
11
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
12
+ s.authors = ["Christo De Lange"]
13
+ s.date = "2013-10-31"
14
+ 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."
15
+ s.email = "rubygems@dldinternet.com"
16
+ s.executables = ["chop"]
17
+ s.extra_rdoc_files = [
18
+ "LICENSE.txt",
19
+ "README.rdoc"
20
+ ]
21
+ s.files = [
22
+ "Gemfile",
23
+ "Gemfile.lock",
24
+ "LICENSE.txt",
25
+ "README.rdoc",
26
+ "Rakefile",
27
+ "TODO.rdoc",
28
+ "VERSION",
29
+ "bin/chop",
30
+ "knife-chop.gemspec",
31
+ "lib/chef/knife/chop/chef_data_bag_item.rb",
32
+ "lib/chef/knife/chop/chef_environment.rb",
33
+ "lib/chef/knife/chop/chef_knife.rb",
34
+ "lib/chef/knife/chop/chef_part.rb",
35
+ "lib/chef/knife/chop/chef_role.rb",
36
+ "lib/chef/knife/chop/cookbook_upload.rb",
37
+ "lib/chef/knife/chop/data_bag_from_file.rb",
38
+ "lib/chef/knife/chop/environment_from_file.rb",
39
+ "lib/chef/knife/chop/errors.rb",
40
+ "lib/chef/knife/chop/logging.rb",
41
+ "lib/chef/knife/chop/role_from_file.rb",
42
+ "lib/chef/knife/chop/translate.rb",
43
+ "lib/chef/knife/chop/translate/eden.rb",
44
+ "lib/chef/knife/chop/translate/rbeautify.rb",
45
+ "lib/chef/knife/chop/ui.rb",
46
+ "lib/chef/knife/chop/version.rb",
47
+ "lib/chef/knife/chop_base.rb",
48
+ "lib/chef/knife/chop_translate.rb",
49
+ "lib/chef/knife/chop_upload.rb",
50
+ "lib/ruby-beautify/Gemfile",
51
+ "lib/ruby-beautify/LICENSE",
52
+ "lib/ruby-beautify/README.md",
53
+ "lib/ruby-beautify/RELEASE.md",
54
+ "lib/ruby-beautify/Rakefile",
55
+ "lib/ruby-beautify/bin/rbeautify",
56
+ "lib/ruby-beautify/lib/beautifier.rb",
57
+ "lib/ruby-beautify/lib/ruby-beautify.rb",
58
+ "lib/ruby-beautify/lib/ruby-beautify/block_end.rb",
59
+ "lib/ruby-beautify/lib/ruby-beautify/block_matcher.rb",
60
+ "lib/ruby-beautify/lib/ruby-beautify/block_start.rb",
61
+ "lib/ruby-beautify/lib/ruby-beautify/config/ruby.rb",
62
+ "lib/ruby-beautify/lib/ruby-beautify/language.rb",
63
+ "lib/ruby-beautify/lib/ruby-beautify/line.rb",
64
+ "lib/ruby-beautify/lib/ruby-beautify/version.rb",
65
+ "lib/ruby-beautify/ruby-beautify.gemspec",
66
+ "lib/ruby-beautify/spec/fixtures/ruby.yml",
67
+ "lib/ruby-beautify/spec/rbeautify/block_matcher_spec.rb",
68
+ "lib/ruby-beautify/spec/rbeautify/block_start_spec.rb",
69
+ "lib/ruby-beautify/spec/rbeautify/config/ruby_spec.rb",
70
+ "lib/ruby-beautify/spec/rbeautify/line_spec.rb",
71
+ "lib/ruby-beautify/spec/rbeautify_spec.rb",
72
+ "lib/ruby-beautify/spec/spec_helper.rb",
73
+ "spec/knife-chop_spec.rb",
74
+ "spec/spec_helper.rb"
75
+ ]
76
+ s.homepage = "http://github.com/dldinternet/knife-chop"
77
+ s.licenses = ["MIT"]
78
+ s.require_paths = ["lib"]
79
+ s.rubygems_version = "2.1.5"
80
+ s.summary = "Knife plugin to ease the upload and sync of Chef server assets"
81
+
82
+ if s.respond_to? :specification_version then
83
+ s.specification_version = 4
84
+
85
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
86
+ s.add_runtime_dependency(%q<awesome_print>, [">= 0"])
87
+ s.add_runtime_dependency(%q<colorize>, [">= 0"])
88
+ s.add_runtime_dependency(%q<logging>, [">= 0"])
89
+ s.add_runtime_dependency(%q<inifile>, [">= 0"])
90
+ s.add_runtime_dependency(%q<json>, ["<= 1.7.7", ">= 1.4.4"])
91
+ s.add_runtime_dependency(%q<mixlib-config>, [">= 1.1.2"])
92
+ s.add_runtime_dependency(%q<chef>, ["~> 11.6.2"])
93
+ s.add_runtime_dependency(%q<unf>, [">= 0"])
94
+ s.add_runtime_dependency(%q<knife-ec2>, [">= 0"])
95
+ else
96
+ s.add_dependency(%q<awesome_print>, [">= 0"])
97
+ s.add_dependency(%q<colorize>, [">= 0"])
98
+ s.add_dependency(%q<logging>, [">= 0"])
99
+ s.add_dependency(%q<inifile>, [">= 0"])
100
+ s.add_dependency(%q<json>, ["<= 1.7.7", ">= 1.4.4"])
101
+ s.add_dependency(%q<mixlib-config>, [">= 1.1.2"])
102
+ s.add_dependency(%q<chef>, ["~> 11.6.2"])
103
+ s.add_dependency(%q<unf>, [">= 0"])
104
+ s.add_dependency(%q<knife-ec2>, [">= 0"])
105
+ end
106
+ else
107
+ s.add_dependency(%q<awesome_print>, [">= 0"])
108
+ s.add_dependency(%q<colorize>, [">= 0"])
109
+ s.add_dependency(%q<logging>, [">= 0"])
110
+ s.add_dependency(%q<inifile>, [">= 0"])
111
+ s.add_dependency(%q<json>, ["<= 1.7.7", ">= 1.4.4"])
112
+ s.add_dependency(%q<mixlib-config>, [">= 1.1.2"])
113
+ s.add_dependency(%q<chef>, ["~> 11.6.2"])
114
+ s.add_dependency(%q<unf>, [">= 0"])
115
+ s.add_dependency(%q<knife-ec2>, [">= 0"])
116
+ end
117
+ end
118
+