chef-server-api 0.9.16 → 0.9.18

Sign up to get free protection for your applications and to get access to all the features.
@@ -28,7 +28,8 @@ class Cookbooks < Application
28
28
 
29
29
  before :authenticate_every
30
30
  before :params_helper
31
-
31
+ before :is_admin, :only => [ :update, :destroy ]
32
+
32
33
  attr_accessor :cookbook_name, :cookbook_version
33
34
 
34
35
  def params_helper
@@ -1,3 +1,3 @@
1
1
  module ChefServerApi
2
- VERSION = '0.9.16'
2
+ VERSION = '0.9.18'
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: chef-server-api
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.9.16
5
+ version: 0.9.18
6
6
  platform: ruby
7
7
  authors:
8
8
  - Opscode
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-04-15 00:00:00 -07:00
13
+ date: 2011-06-29 00:00:00 -07:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency