ridley 1.0.0.rc2 → 1.0.0.rc3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (50) hide show
  1. data/LICENSE +3 -188
  2. data/README.md +1 -0
  3. data/lib/ridley.rb +0 -1
  4. data/lib/ridley/bootstrap_context/unix.rb +0 -2
  5. data/lib/ridley/bootstrap_context/windows.rb +0 -2
  6. data/lib/ridley/chef.rb +0 -2
  7. data/lib/ridley/chef/cookbook.rb +0 -1
  8. data/lib/ridley/chef/cookbook/metadata.rb +0 -2
  9. data/lib/ridley/chef/cookbook/syntax_check.rb +0 -2
  10. data/lib/ridley/chef/digester.rb +0 -2
  11. data/lib/ridley/chef_object.rb +0 -1
  12. data/lib/ridley/chef_objects/client_object.rb +0 -1
  13. data/lib/ridley/chef_objects/cookbook_object.rb +0 -1
  14. data/lib/ridley/chef_objects/data_bag_item_obect.rb +0 -1
  15. data/lib/ridley/chef_objects/data_bag_object.rb +0 -2
  16. data/lib/ridley/chef_objects/environment_object.rb +0 -1
  17. data/lib/ridley/chef_objects/node_object.rb +0 -1
  18. data/lib/ridley/chef_objects/role_object.rb +0 -1
  19. data/lib/ridley/chef_objects/sandbox_object.rb +0 -1
  20. data/lib/ridley/client.rb +0 -1
  21. data/lib/ridley/connection.rb +0 -1
  22. data/lib/ridley/errors.rb +0 -1
  23. data/lib/ridley/host_commander.rb +1 -1
  24. data/lib/ridley/host_connector.rb +0 -1
  25. data/lib/ridley/host_connector/response.rb +0 -1
  26. data/lib/ridley/host_connector/ssh.rb +1 -2
  27. data/lib/ridley/host_connector/winrm.rb +0 -1
  28. data/lib/ridley/host_connector/winrm/command_uploader.rb +0 -3
  29. data/lib/ridley/logging.rb +0 -1
  30. data/lib/ridley/middleware.rb +0 -1
  31. data/lib/ridley/middleware/chef_auth.rb +0 -1
  32. data/lib/ridley/middleware/chef_response.rb +0 -1
  33. data/lib/ridley/middleware/gzip.rb +0 -1
  34. data/lib/ridley/middleware/parse_json.rb +0 -1
  35. data/lib/ridley/middleware/retry.rb +0 -2
  36. data/lib/ridley/mixin/checksum.rb +0 -2
  37. data/lib/ridley/resource.rb +0 -1
  38. data/lib/ridley/resources/client_resource.rb +0 -2
  39. data/lib/ridley/resources/cookbook_resource.rb +0 -1
  40. data/lib/ridley/resources/data_bag_item_resource.rb +0 -1
  41. data/lib/ridley/resources/data_bag_resource.rb +0 -1
  42. data/lib/ridley/resources/environment_resource.rb +0 -1
  43. data/lib/ridley/resources/node_resource.rb +0 -1
  44. data/lib/ridley/resources/role_resource.rb +0 -1
  45. data/lib/ridley/resources/sandbox_resource.rb +0 -1
  46. data/lib/ridley/resources/search_resource.rb +0 -1
  47. data/lib/ridley/sandbox_uploader.rb +0 -1
  48. data/lib/ridley/version.rb +1 -1
  49. data/ridley.gemspec +2 -2
  50. metadata +4 -2
data/LICENSE CHANGED
@@ -1,192 +1,7 @@
1
- Apache License
2
- Version 2.0, January 2004
3
- http://www.apache.org/licenses/
1
+ Copyright 2012-2013 Riot Games
4
2
 
5
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
-
7
- 1. Definitions.
8
-
9
- "License" shall mean the terms and conditions for use, reproduction,
10
- and distribution as defined by Sections 1 through 9 of this document.
11
-
12
- "Licensor" shall mean the copyright owner or entity authorized by
13
- the copyright owner that is granting the License.
14
-
15
- "Legal Entity" shall mean the union of the acting entity and all
16
- other entities that control, are controlled by, or are under common
17
- control with that entity. For the purposes of this definition,
18
- "control" means (i) the power, direct or indirect, to cause the
19
- direction or management of such entity, whether by contract or
20
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
- outstanding shares, or (iii) beneficial ownership of such entity.
22
-
23
- "You" (or "Your") shall mean an individual or Legal Entity
24
- exercising permissions granted by this License.
25
-
26
- "Source" form shall mean the preferred form for making modifications,
27
- including but not limited to software source code, documentation
28
- source, and configuration files.
29
-
30
- "Object" form shall mean any form resulting from mechanical
31
- transformation or translation of a Source form, including but
32
- not limited to compiled object code, generated documentation,
33
- and conversions to other media types.
34
-
35
- "Work" shall mean the work of authorship, whether in Source or
36
- Object form, made available under the License, as indicated by a
37
- copyright notice that is included in or attached to the work
38
- (an example is provided in the Appendix below).
39
-
40
- "Derivative Works" shall mean any work, whether in Source or Object
41
- form, that is based on (or derived from) the Work and for which the
42
- editorial revisions, annotations, elaborations, or other modifications
43
- represent, as a whole, an original work of authorship. For the purposes
44
- of this License, Derivative Works shall not include works that remain
45
- separable from, or merely link (or bind by name) to the interfaces of,
46
- the Work and Derivative Works thereof.
47
-
48
- "Contribution" shall mean any work of authorship, including
49
- the original version of the Work and any modifications or additions
50
- to that Work or Derivative Works thereof, that is intentionally
51
- submitted to Licensor for inclusion in the Work by the copyright owner
52
- or by an individual or Legal Entity authorized to submit on behalf of
53
- the copyright owner. For the purposes of this definition, "submitted"
54
- means any form of electronic, verbal, or written communication sent
55
- to the Licensor or its representatives, including but not limited to
56
- communication on electronic mailing lists, source code control systems,
57
- and issue tracking systems that are managed by, or on behalf of, the
58
- Licensor for the purpose of discussing and improving the Work, but
59
- excluding communication that is conspicuously marked or otherwise
60
- designated in writing by the copyright owner as "Not a Contribution."
61
-
62
- "Contributor" shall mean Licensor and any individual or Legal Entity
63
- on behalf of whom a Contribution has been received by Licensor and
64
- subsequently incorporated within the Work.
65
-
66
- 2. Grant of Copyright License. Subject to the terms and conditions of
67
- this License, each Contributor hereby grants to You a perpetual,
68
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
- copyright license to reproduce, prepare Derivative Works of,
70
- publicly display, publicly perform, sublicense, and distribute the
71
- Work and such Derivative Works in Source or Object form.
72
-
73
- 3. Grant of Patent License. Subject to the terms and conditions of
74
- this License, each Contributor hereby grants to You a perpetual,
75
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
- (except as stated in this section) patent license to make, have made,
77
- use, offer to sell, sell, import, and otherwise transfer the Work,
78
- where such license applies only to those patent claims licensable
79
- by such Contributor that are necessarily infringed by their
80
- Contribution(s) alone or by combination of their Contribution(s)
81
- with the Work to which such Contribution(s) was submitted. If You
82
- institute patent litigation against any entity (including a
83
- cross-claim or counterclaim in a lawsuit) alleging that the Work
84
- or a Contribution incorporated within the Work constitutes direct
85
- or contributory patent infringement, then any patent licenses
86
- granted to You under this License for that Work shall terminate
87
- as of the date such litigation is filed.
88
-
89
- 4. Redistribution. You may reproduce and distribute copies of the
90
- Work or Derivative Works thereof in any medium, with or without
91
- modifications, and in Source or Object form, provided that You
92
- meet the following conditions:
93
-
94
- (a) You must give any other recipients of the Work or
95
- Derivative Works a copy of this License; and
96
-
97
- (b) You must cause any modified files to carry prominent notices
98
- stating that You changed the files; and
99
-
100
- (c) You must retain, in the Source form of any Derivative Works
101
- that You distribute, all copyright, patent, trademark, and
102
- attribution notices from the Source form of the Work,
103
- excluding those notices that do not pertain to any part of
104
- the Derivative Works; and
105
-
106
- (d) If the Work includes a "NOTICE" text file as part of its
107
- distribution, then any Derivative Works that You distribute must
108
- include a readable copy of the attribution notices contained
109
- within such NOTICE file, excluding those notices that do not
110
- pertain to any part of the Derivative Works, in at least one
111
- of the following places: within a NOTICE text file distributed
112
- as part of the Derivative Works; within the Source form or
113
- documentation, if provided along with the Derivative Works; or,
114
- within a display generated by the Derivative Works, if and
115
- wherever such third-party notices normally appear. The contents
116
- of the NOTICE file are for informational purposes only and
117
- do not modify the License. You may add Your own attribution
118
- notices within Derivative Works that You distribute, alongside
119
- or as an addendum to the NOTICE text from the Work, provided
120
- that such additional attribution notices cannot be construed
121
- as modifying the License.
122
-
123
- You may add Your own copyright statement to Your modifications and
124
- may provide additional or different license terms and conditions
125
- for use, reproduction, or distribution of Your modifications, or
126
- for any such Derivative Works as a whole, provided Your use,
127
- reproduction, and distribution of the Work otherwise complies with
128
- the conditions stated in this License.
129
-
130
- 5. Submission of Contributions. Unless You explicitly state otherwise,
131
- any Contribution intentionally submitted for inclusion in the Work
132
- by You to the Licensor shall be under the terms and conditions of
133
- this License, without any additional terms or conditions.
134
- Notwithstanding the above, nothing herein shall supersede or modify
135
- the terms of any separate license agreement you may have executed
136
- with Licensor regarding such Contributions.
137
-
138
- 6. Trademarks. This License does not grant permission to use the trade
139
- names, trademarks, service marks, or product names of the Licensor,
140
- except as required for reasonable and customary use in describing the
141
- origin of the Work and reproducing the content of the NOTICE file.
142
-
143
- 7. Disclaimer of Warranty. Unless required by applicable law or
144
- agreed to in writing, Licensor provides the Work (and each
145
- Contributor provides its Contributions) on an "AS IS" BASIS,
146
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
- implied, including, without limitation, any warranties or conditions
148
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
- PARTICULAR PURPOSE. You are solely responsible for determining the
150
- appropriateness of using or redistributing the Work and assume any
151
- risks associated with Your exercise of permissions under this License.
152
-
153
- 8. Limitation of Liability. In no event and under no legal theory,
154
- whether in tort (including negligence), contract, or otherwise,
155
- unless required by applicable law (such as deliberate and grossly
156
- negligent acts) or agreed to in writing, shall any Contributor be
157
- liable to You for damages, including any direct, indirect, special,
158
- incidental, or consequential damages of any character arising as a
159
- result of this License or out of the use or inability to use the
160
- Work (including but not limited to damages for loss of goodwill,
161
- work stoppage, computer failure or malfunction, or any and all
162
- other commercial damages or losses), even if such Contributor
163
- has been advised of the possibility of such damages.
164
-
165
- 9. Accepting Warranty or Additional Liability. While redistributing
166
- the Work or Derivative Works thereof, You may choose to offer,
167
- and charge a fee for, acceptance of support, warranty, indemnity,
168
- or other liability obligations and/or rights consistent with this
169
- License. However, in accepting such obligations, You may act only
170
- on Your own behalf and on Your sole responsibility, not on behalf
171
- of any other Contributor, and only if You agree to indemnify,
172
- defend, and hold each Contributor harmless for any liability
173
- incurred by, or claims asserted against, such Contributor by reason
174
- of your accepting any such warranty or additional liability.
175
-
176
- END OF TERMS AND CONDITIONS
177
-
178
- APPENDIX: How to apply the Apache License to your work.
179
-
180
- To apply the Apache License to your work, attach the following
181
- boilerplate notice, with the fields enclosed by brackets "[]"
182
- replaced with your own identifying information. (Don't include
183
- the brackets!) The text should be enclosed in the appropriate
184
- comment syntax for the file format. We also recommend that a
185
- file or class name and description of purpose be included on the
186
- same "printed page" as the copyright notice for easier
187
- identification within third-party archives.
188
-
189
- Copyright 2012-2013, Riot Games
3
+ Jamie Winsor (<reset@riotgames.com>)
4
+ Kyle Allan (<kallan@riotgames.com>)
190
5
 
191
6
  Licensed under the Apache License, Version 2.0 (the "License");
192
7
  you may not use this file except in compliance with the License.
data/README.md CHANGED
@@ -297,5 +297,6 @@ Search will return an array of the appropriate Chef Objects if one of the defaul
297
297
  # Authors and Contributors
298
298
 
299
299
  * Jamie Winsor (<reset@riotgames.com>)
300
+ * Kyle Allan (<kallan@riotgames.com>)
300
301
 
301
302
  Thank you to all of our [Contributors](https://github.com/RiotGames/ridley/graphs/contributors), testers, and users.
@@ -11,7 +11,6 @@ require 'solve'
11
11
 
12
12
  JSON.create_id = nil
13
13
 
14
- # @author Jamie Winsor <reset@riotgames.com>
15
14
  module Ridley
16
15
  CHEF_VERSION = '11.4.0'.freeze
17
16
 
@@ -4,8 +4,6 @@ module Ridley
4
4
  # nodes, an instance of this class represents the customizable and necessary configurations
5
5
  # needed by the Host in order to install and connect to Chef. By default, this class will be used
6
6
  # when SSH is the best way to connect to the node.
7
- #
8
- # @author Kyle Allan <kallan@riotgames.com>
9
7
  class Unix < BootstrapContext::Base
10
8
  attr_reader :sudo
11
9
 
@@ -5,8 +5,6 @@ module Ridley
5
5
  # needed by the Host in order to install and connect to Chef. By default, this class will be used
6
6
  # when WinRM is the best way to connect to the node.
7
7
  #
8
- # @author Kyle Allan <kallan@riotgames.com>
9
- #
10
8
  # Windows Specific code written by Seth Chisamore (<schisamo@opscode.com>) in knife-windows
11
9
  # https://github.com/opscode/knife-windows/blob/3b8886ddcfb928ca0958cd05b22f8c3d78bee86e/lib/chef/knife/bootstrap/windows-chef-client-msi.erb
12
10
  # https://github.com/opscode/knife-windows/blob/78d38bbed358ac20107fc2b5b427f4b5e52e5cb2/lib/chef/knife/core/windows_bootstrap_context.rb
@@ -1,6 +1,4 @@
1
1
  module Ridley
2
- # @author Jamie Winsor <reset@riotgames.com>
3
- #
4
2
  # Classes and modules used for integrating with a Chef Server, the Chef community
5
3
  # site, and Chef Cookbooks
6
4
  module Chef
@@ -1,5 +1,4 @@
1
1
  module Ridley::Chef
2
- # @author Jamie Winsor <reset@riotgames.com>
3
2
  class Cookbook
4
3
  require_relative 'cookbook/metadata'
5
4
  require_relative 'cookbook/syntax_check'
@@ -1,7 +1,5 @@
1
1
  module Ridley::Chef
2
2
  class Cookbook
3
- # @author Jamie Winsor <reset@riotgames.com>
4
- #
5
3
  # Borrowed and modified from: {https://raw.github.com/opscode/chef/11.4.0/lib/chef/cookbook/metadata.rb}
6
4
  #
7
5
  # Copyright:: Copyright 2008-2010 Opscode, Inc.
@@ -2,8 +2,6 @@ require 'shellwords'
2
2
 
3
3
  module Ridley::Chef
4
4
  class Cookbook
5
- # @author Jamie Winsor <reset@riotgames.com>
6
- #
7
5
  # Encapsulates the process of validating the ruby syntax of files in Chef
8
6
  # cookbooks.
9
7
  #
@@ -1,8 +1,6 @@
1
1
  require 'digest'
2
2
 
3
3
  module Ridley::Chef
4
- # @author Jamie Winsor <reset@riotgames.com>
5
- #
6
4
  # Borrowed and modified from: {https://github.com/opscode/chef/blob/11.4.0/lib/chef/digester.rb}
7
5
  class Digester
8
6
  class << self
@@ -1,5 +1,4 @@
1
1
  module Ridley
2
- # @author Jamie Winsor <reset@riotgames.com>
3
2
  class ChefObject
4
3
  class << self
5
4
  # @return [String, nil]
@@ -1,5 +1,4 @@
1
1
  module Ridley
2
- # @author Jamie Winsor <reset@riotgames.com>
3
2
  class ClientObject < Ridley::ChefObject
4
3
  set_chef_id "name"
5
4
  set_chef_type "client"
@@ -1,5 +1,4 @@
1
1
  module Ridley
2
- # @author Jamie Winsor <reset@riotgames.com>
3
2
  class CookbookObject < Ridley::ChefObject
4
3
  include Ridley::Logging
5
4
 
@@ -1,5 +1,4 @@
1
1
  module Ridley
2
- # @author Jamie Winsor <reset@riotgames.com>
3
2
  class DataBagItemObject < ChefObject
4
3
  set_chef_id "id"
5
4
  set_assignment_mode :carefree
@@ -1,5 +1,4 @@
1
1
  module Ridley
2
- # @author Jamie Winsor <reset@riotgames.com>
3
2
  class DataBagObject < ChefObject
4
3
  set_chef_id "name"
5
4
 
@@ -10,7 +9,6 @@ module Ridley
10
9
  DataBagItemProxy.new(self, resource.item_resource)
11
10
  end
12
11
 
13
- # @author Jamie Winsor <reset@riotgames.com>
14
12
  # @api private
15
13
  class DataBagItemProxy
16
14
  attr_reader :data_bag_object
@@ -1,5 +1,4 @@
1
1
  module Ridley
2
- # @author Jamie Winsor <reset@riotgames.com>
3
2
  class EnvironmentObject < Ridley::ChefObject
4
3
  set_chef_id "name"
5
4
  set_chef_type "environment"
@@ -1,5 +1,4 @@
1
1
  module Ridley
2
- # @author Jamie Winsor <reset@riotgames.com>
3
2
  class NodeObject < Ridley::ChefObject
4
3
  set_chef_id "name"
5
4
  set_chef_type "node"
@@ -1,5 +1,4 @@
1
1
  module Ridley
2
- # @author Jamie Winsor <reset@riotgames.com>
3
2
  class RoleObject < Ridley::ChefObject
4
3
  set_chef_id "name"
5
4
  set_chef_type "role"
@@ -1,5 +1,4 @@
1
1
  module Ridley
2
- # @author Jamie Winsor <reset@riotgames.com>
3
2
  class SandboxObject < ChefObject
4
3
  set_chef_id "sandbox_id"
5
4
 
@@ -1,5 +1,4 @@
1
1
  module Ridley
2
- # @author Jamie Winsor <reset@riotgames.com>
3
2
  class Client
4
3
  class ConnectionSupervisor < ::Celluloid::SupervisionGroup
5
4
  def initialize(registry, options)
@@ -4,7 +4,6 @@ require 'tempfile'
4
4
  require 'zlib'
5
5
 
6
6
  module Ridley
7
- # @author Jamie Winsor <reset@riotgames.com>
8
7
  class Connection < Faraday::Connection
9
8
  include Celluloid
10
9
 
@@ -1,5 +1,4 @@
1
1
  module Ridley
2
- # @author Jamie Winsor <reset@riotgames.com>
3
2
  module Errors
4
3
  class RidleyError < StandardError; end
5
4
  class InternalError < RidleyError; end
@@ -200,7 +200,7 @@ module Ridley
200
200
  # @param block [Proc]
201
201
  # an optional block that is yielded the best HostConnector
202
202
  #
203
- # @return [Symbol]
203
+ # @return [HostConnector::SSH, HostConnector::WinRM]
204
204
  def connector_for(host, options = {})
205
205
  options = options.reverse_merge(ssh: Hash.new, winrm: Hash.new)
206
206
  options[:ssh][:port] ||= HostConnector::SSH::DEFAULT_PORT
@@ -1,5 +1,4 @@
1
1
  module Ridley
2
- # @author Kyle Allan <kallan@riotgames.com>
3
2
  module HostConnector
4
3
  class Base
5
4
  include Celluloid
@@ -1,6 +1,5 @@
1
1
  module Ridley
2
2
  module HostConnector
3
- # @author Jamie Winsor <reset@riotgames.com>
4
3
  class Response
5
4
  attr_reader :host
6
5
 
@@ -2,7 +2,6 @@ require 'net/ssh'
2
2
 
3
3
  module Ridley
4
4
  module HostConnector
5
- # @author Jamie Winsor <reset@riotgames.com>
6
5
  class SSH < HostConnector::Base
7
6
  DEFAULT_PORT = 22
8
7
  EMBEDDED_RUBY_PATH = '/opt/chef/embedded/bin/ruby'.freeze
@@ -25,7 +24,7 @@ module Ridley
25
24
  options = options.reverse_merge(ssh: Hash.new)
26
25
  options[:ssh].reverse_merge!(port: DEFAULT_PORT, paranoid: false, sudo: false)
27
26
 
28
- command = "sudo #{command}" if options[:sudo]
27
+ command = "sudo #{command}" if options[:ssh][:sudo]
29
28
 
30
29
  Ridley::HostConnector::Response.new(host).tap do |response|
31
30
  begin
@@ -7,7 +7,6 @@ end
7
7
 
8
8
  module Ridley
9
9
  module HostConnector
10
- # @author Kyle Allan <kallan@riotgames.com>
11
10
  class WinRM < HostConnector::Base
12
11
  require_relative 'winrm/command_uploader'
13
12
 
@@ -1,9 +1,6 @@
1
1
  module Ridley
2
2
  module HostConnector
3
3
  class WinRM
4
- # @author Kyle Allan <kallan@riotgames.com>
5
- # @author Justin Campbell <justin.campbell@riotgames.com>
6
- #
7
4
  # @example
8
5
  # command_uploader = CommandUploader.new(long_command, winrm)
9
6
  # command_uploader.upload
@@ -1,7 +1,6 @@
1
1
  require 'logger'
2
2
 
3
3
  module Ridley
4
- # @author Jamie Winsor <reset@riotgames.com>
5
4
  module Logging
6
5
  class << self
7
6
  # @return [Logger]
@@ -1,5 +1,4 @@
1
1
  module Ridley
2
- # @author Jamie Winsor <reset@riotgames.com>
3
2
  module Middleware
4
3
  CONTENT_TYPE = 'content-type'.freeze
5
4
  CONTENT_ENCODING = 'content-encoding'.freeze
@@ -2,7 +2,6 @@ require 'mixlib/authentication/signedheaderauth'
2
2
 
3
3
  module Ridley
4
4
  module Middleware
5
- # @author Jamie Winsor <reset@riotgames.com>
6
5
  class ChefAuth < Faraday::Middleware
7
6
  class << self
8
7
  include Mixlib::Authentication
@@ -1,6 +1,5 @@
1
1
  module Ridley
2
2
  module Middleware
3
- # @author Jamie Winsor <reset@riotgames.com>
4
3
  class ChefResponse < Faraday::Response::Middleware
5
4
  class << self
6
5
  # Determines if a response from the Chef server was successful
@@ -2,7 +2,6 @@ require 'zlib'
2
2
 
3
3
  module Ridley
4
4
  module Middleware
5
- # @author Jamie Winsor <reset@riotgames.com>
6
5
  class Gzip < Faraday::Response::Middleware
7
6
  def on_complete(env)
8
7
  case env[:response_headers][CONTENT_ENCODING].to_s.downcase
@@ -1,6 +1,5 @@
1
1
  module Ridley
2
2
  module Middleware
3
- # @author Jamie Winsor <reset@riotgames.com>
4
3
  class ParseJson < Faraday::Response::Middleware
5
4
  include Ridley::Logging
6
5
 
@@ -1,6 +1,4 @@
1
1
  module Ridley
2
- # @author Jamie Winsor <reset@riotgames.com>
3
- #
4
2
  # Catches exceptions and retries each request a limited number of times.
5
3
  #
6
4
  # @example
@@ -1,6 +1,4 @@
1
1
  module Ridley::Mixin
2
- # @author Jamie Winsor <reset@riotgames.com>
3
- #
4
2
  # Inspired by and dependency-free replacement for
5
3
  # {https://github.com/opscode/chef/blob/11.4.0/lib/chef/mixin/checksum.rb}
6
4
  module Checksum
@@ -1,5 +1,4 @@
1
1
  module Ridley
2
- # @author Jamie Winsor <reset@riotgames.com>
3
2
  class Resource
4
3
  class << self
5
4
  # @return [String]
@@ -1,6 +1,4 @@
1
1
  module Ridley
2
- # @author Jamie Winsor <reset@riotgames.com>
3
- #
4
2
  # @example listing all clients
5
3
  # conn = Ridley.new(...)
6
4
  # conn.client.all #=> [
@@ -1,5 +1,4 @@
1
1
  module Ridley
2
- # @author Jamie Winsor <reset@riotgames.com>
3
2
  class CookbookResource < Ridley::Resource
4
3
  set_resource_path "cookbooks"
5
4
  represented_by Ridley::CookbookObject
@@ -1,5 +1,4 @@
1
1
  module Ridley
2
- # @author Jamie Winsor <reset@riotgames.com>
3
2
  class DataBagItemResource < Ridley::Resource
4
3
  represented_by Ridley::DataBagItemObject
5
4
 
@@ -1,5 +1,4 @@
1
1
  module Ridley
2
- # @author Jamie Winsor <reset@riotgames.com>
3
2
  class DataBagResource < Ridley::Resource
4
3
  require_relative 'data_bag_item_resource'
5
4
 
@@ -1,5 +1,4 @@
1
1
  module Ridley
2
- # @author Jamie Winsor <reset@riotgames.com>
3
2
  class EnvironmentResource < Ridley::Resource
4
3
  set_resource_path "environments"
5
4
  represented_by Ridley::EnvironmentObject
@@ -1,5 +1,4 @@
1
1
  module Ridley
2
- # @author Jamie Winsor <reset@riotgames.com>
3
2
  class NodeResource < Ridley::Resource
4
3
  include Ridley::Logging
5
4
 
@@ -1,5 +1,4 @@
1
1
  module Ridley
2
- # @author Jamie Winsor <reset@riotgames.com>
3
2
  class RoleResource < Ridley::Resource
4
3
  set_resource_path "roles"
5
4
  represented_by Ridley::RoleObject
@@ -1,5 +1,4 @@
1
1
  module Ridley
2
- # @author Jamie Winsor <reset@riotgames.com>
3
2
  class SandboxResource < Ridley::Resource
4
3
  set_resource_path "sandboxes"
5
4
  represented_by Ridley::SandboxObject
@@ -1,5 +1,4 @@
1
1
  module Ridley
2
- # @author Jamie Winsor <reset@riotgames.com>
3
2
  class SearchResource < Ridley::Resource
4
3
  class << self
5
4
  # @param [String] query_string
@@ -1,5 +1,4 @@
1
1
  module Ridley
2
- # @author Jamie Winsor <reset@riotgames.com>
3
2
  # @api private
4
3
  class SandboxUploader
5
4
  class << self
@@ -1,3 +1,3 @@
1
1
  module Ridley
2
- VERSION = "1.0.0.rc2"
2
+ VERSION = "1.0.0.rc3"
3
3
  end
@@ -2,8 +2,8 @@
2
2
  require File.expand_path('../lib/ridley/version', __FILE__)
3
3
 
4
4
  Gem::Specification.new do |s|
5
- s.authors = ["Jamie Winsor"]
6
- s.email = ["reset@riotgames.com"]
5
+ s.authors = ["Jamie Winsor", "Kyle Allan"]
6
+ s.email = ["reset@riotgames.com", "kallan@riotgames.com"]
7
7
  s.description = %q{A reliable Chef API client with a clean syntax}
8
8
  s.summary = s.description
9
9
  s.homepage = "https://github.com/RiotGames/ridley"
metadata CHANGED
@@ -1,15 +1,16 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ridley
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.rc2
4
+ version: 1.0.0.rc3
5
5
  prerelease: 6
6
6
  platform: ruby
7
7
  authors:
8
8
  - Jamie Winsor
9
+ - Kyle Allan
9
10
  autorequire:
10
11
  bindir: bin
11
12
  cert_chain: []
12
- date: 2013-06-05 00:00:00.000000000 Z
13
+ date: 2013-06-06 00:00:00.000000000 Z
13
14
  dependencies:
14
15
  - !ruby/object:Gem::Dependency
15
16
  name: addressable
@@ -206,6 +207,7 @@ dependencies:
206
207
  description: A reliable Chef API client with a clean syntax
207
208
  email:
208
209
  - reset@riotgames.com
210
+ - kallan@riotgames.com
209
211
  executables: []
210
212
  extensions: []
211
213
  extra_rdoc_files: []