chef-server-api 0.8.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (49) hide show
  1. data/LICENSE +201 -0
  2. data/README.rdoc +92 -0
  3. data/Rakefile +59 -0
  4. data/app/controllers/application.rb +289 -0
  5. data/app/controllers/clients.rb +111 -0
  6. data/app/controllers/cookbooks.rb +213 -0
  7. data/app/controllers/data.rb +75 -0
  8. data/app/controllers/data_item.rb +108 -0
  9. data/app/controllers/exceptions.rb +40 -0
  10. data/app/controllers/main.rb +18 -0
  11. data/app/controllers/nodes.rb +102 -0
  12. data/app/controllers/roles.rb +73 -0
  13. data/app/controllers/search.rb +60 -0
  14. data/app/controllers/users.rb +77 -0
  15. data/app/helpers/application_helper.rb +163 -0
  16. data/app/helpers/exceptions_helper.rb +6 -0
  17. data/app/helpers/global_helpers.rb +25 -0
  18. data/app/helpers/nodes_helper.rb +26 -0
  19. data/app/helpers/roles_helper.rb +5 -0
  20. data/app/helpers/tarball_helper.rb +82 -0
  21. data/app/views/exceptions/bad_request.json.erb +1 -0
  22. data/app/views/exceptions/internal_server_error.html.erb +216 -0
  23. data/app/views/exceptions/not_acceptable.html.haml +5 -0
  24. data/app/views/exceptions/not_found.html.erb +47 -0
  25. data/app/views/exceptions/standard_error.html.erb +217 -0
  26. data/app/views/layout/chef_server_api.html.haml +23 -0
  27. data/app/views/main/index.html.haml +5 -0
  28. data/config/init.rb +45 -0
  29. data/config/router.rb +6 -0
  30. data/lib/chef-server-api.rb +158 -0
  31. data/lib/chef-server-api/merbtasks.rb +103 -0
  32. data/lib/chef-server-api/slicetasks.rb +20 -0
  33. data/lib/chef-server-api/spectasks.rb +53 -0
  34. data/public/images/avatar.png +0 -0
  35. data/public/images/indicator.gif +0 -0
  36. data/public/images/merb.jpg +0 -0
  37. data/public/stylesheets/base.css +336 -0
  38. data/public/stylesheets/chef.css +157 -0
  39. data/public/stylesheets/themes/bec-green/style.css +290 -0
  40. data/public/stylesheets/themes/bec/style.css +301 -0
  41. data/public/stylesheets/themes/blue/style.css +280 -0
  42. data/public/stylesheets/themes/default/style.css +267 -0
  43. data/public/stylesheets/themes/djime-cerulean/style.css +298 -0
  44. data/public/stylesheets/themes/kathleene/style.css +272 -0
  45. data/public/stylesheets/themes/orange/style.css +263 -0
  46. data/public/stylesheets/themes/reidb-greenish/style.css +301 -0
  47. data/stubs/app/controllers/application.rb +2 -0
  48. data/stubs/app/controllers/main.rb +2 -0
  49. metadata +193 -0
@@ -0,0 +1,2 @@
1
+ class ChefServerApi::Application < Merb::Controller
2
+ end
@@ -0,0 +1,2 @@
1
+ class ChefServerApi::Main < ChefServerApi::Application
2
+ end
metadata ADDED
@@ -0,0 +1,193 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: chef-server-api
3
+ version: !ruby/object:Gem::Version
4
+ prerelease: false
5
+ segments:
6
+ - 0
7
+ - 8
8
+ - 2
9
+ version: 0.8.2
10
+ platform: ruby
11
+ authors:
12
+ - Opscode
13
+ autorequire:
14
+ bindir: bin
15
+ cert_chain: []
16
+
17
+ date: 2010-02-28 00:00:00 -08:00
18
+ default_executable:
19
+ dependencies:
20
+ - !ruby/object:Gem::Dependency
21
+ name: merb-slices
22
+ prerelease: false
23
+ requirement: &id001 !ruby/object:Gem::Requirement
24
+ requirements:
25
+ - - ">="
26
+ - !ruby/object:Gem::Version
27
+ segments:
28
+ - 0
29
+ version: "0"
30
+ type: :runtime
31
+ version_requirements: *id001
32
+ - !ruby/object:Gem::Dependency
33
+ name: merb-core
34
+ prerelease: false
35
+ requirement: &id002 !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - ">="
38
+ - !ruby/object:Gem::Version
39
+ segments:
40
+ - 0
41
+ version: "0"
42
+ type: :runtime
43
+ version_requirements: *id002
44
+ - !ruby/object:Gem::Dependency
45
+ name: merb-assets
46
+ prerelease: false
47
+ requirement: &id003 !ruby/object:Gem::Requirement
48
+ requirements:
49
+ - - ">="
50
+ - !ruby/object:Gem::Version
51
+ segments:
52
+ - 0
53
+ version: "0"
54
+ type: :runtime
55
+ version_requirements: *id003
56
+ - !ruby/object:Gem::Dependency
57
+ name: merb-helpers
58
+ prerelease: false
59
+ requirement: &id004 !ruby/object:Gem::Requirement
60
+ requirements:
61
+ - - ">="
62
+ - !ruby/object:Gem::Version
63
+ segments:
64
+ - 0
65
+ version: "0"
66
+ type: :runtime
67
+ version_requirements: *id004
68
+ - !ruby/object:Gem::Dependency
69
+ name: thin
70
+ prerelease: false
71
+ requirement: &id005 !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ segments:
76
+ - 0
77
+ version: "0"
78
+ type: :runtime
79
+ version_requirements: *id005
80
+ - !ruby/object:Gem::Dependency
81
+ name: json
82
+ prerelease: false
83
+ requirement: &id006 !ruby/object:Gem::Requirement
84
+ requirements:
85
+ - - ">="
86
+ - !ruby/object:Gem::Version
87
+ segments:
88
+ - 0
89
+ version: "0"
90
+ type: :runtime
91
+ version_requirements: *id006
92
+ - !ruby/object:Gem::Dependency
93
+ name: uuidtools
94
+ prerelease: false
95
+ requirement: &id007 !ruby/object:Gem::Requirement
96
+ requirements:
97
+ - - ">="
98
+ - !ruby/object:Gem::Version
99
+ segments:
100
+ - 0
101
+ version: "0"
102
+ type: :runtime
103
+ version_requirements: *id007
104
+ description: A systems integration framework, built to bring the benefits of configuration management to your entire infrastructure.
105
+ email: chef@opscode.com
106
+ executables: []
107
+
108
+ extensions: []
109
+
110
+ extra_rdoc_files:
111
+ - README.rdoc
112
+ - LICENSE
113
+ files:
114
+ - LICENSE
115
+ - README.rdoc
116
+ - Rakefile
117
+ - config/init.rb
118
+ - config/router.rb
119
+ - lib/chef-server-api/merbtasks.rb
120
+ - lib/chef-server-api/slicetasks.rb
121
+ - lib/chef-server-api/spectasks.rb
122
+ - lib/chef-server-api.rb
123
+ - app/controllers/application.rb
124
+ - app/controllers/clients.rb
125
+ - app/controllers/cookbooks.rb
126
+ - app/controllers/data.rb
127
+ - app/controllers/data_item.rb
128
+ - app/controllers/exceptions.rb
129
+ - app/controllers/main.rb
130
+ - app/controllers/nodes.rb
131
+ - app/controllers/roles.rb
132
+ - app/controllers/search.rb
133
+ - app/controllers/users.rb
134
+ - app/helpers/application_helper.rb
135
+ - app/helpers/exceptions_helper.rb
136
+ - app/helpers/global_helpers.rb
137
+ - app/helpers/nodes_helper.rb
138
+ - app/helpers/roles_helper.rb
139
+ - app/helpers/tarball_helper.rb
140
+ - app/views/exceptions/bad_request.json.erb
141
+ - app/views/exceptions/internal_server_error.html.erb
142
+ - app/views/exceptions/not_acceptable.html.haml
143
+ - app/views/exceptions/not_found.html.erb
144
+ - app/views/exceptions/standard_error.html.erb
145
+ - app/views/layout/chef_server_api.html.haml
146
+ - app/views/main/index.html.haml
147
+ - public/images/avatar.png
148
+ - public/images/indicator.gif
149
+ - public/images/merb.jpg
150
+ - public/stylesheets/base.css
151
+ - public/stylesheets/chef.css
152
+ - public/stylesheets/themes/bec/style.css
153
+ - public/stylesheets/themes/bec-green/style.css
154
+ - public/stylesheets/themes/blue/style.css
155
+ - public/stylesheets/themes/default/style.css
156
+ - public/stylesheets/themes/djime-cerulean/style.css
157
+ - public/stylesheets/themes/kathleene/style.css
158
+ - public/stylesheets/themes/orange/style.css
159
+ - public/stylesheets/themes/reidb-greenish/style.css
160
+ - stubs/app/controllers/application.rb
161
+ - stubs/app/controllers/main.rb
162
+ has_rdoc: true
163
+ homepage: http://wiki.opscode.com/display/chef
164
+ licenses: []
165
+
166
+ post_install_message:
167
+ rdoc_options: []
168
+
169
+ require_paths:
170
+ - lib
171
+ required_ruby_version: !ruby/object:Gem::Requirement
172
+ requirements:
173
+ - - ">="
174
+ - !ruby/object:Gem::Version
175
+ segments:
176
+ - 0
177
+ version: "0"
178
+ required_rubygems_version: !ruby/object:Gem::Requirement
179
+ requirements:
180
+ - - ">="
181
+ - !ruby/object:Gem::Version
182
+ segments:
183
+ - 0
184
+ version: "0"
185
+ requirements: []
186
+
187
+ rubyforge_project:
188
+ rubygems_version: 1.3.6
189
+ signing_key:
190
+ specification_version: 3
191
+ summary: A systems integration framework, built to bring the benefits of configuration management to your entire infrastructure.
192
+ test_files: []
193
+