beanstalkapp 1.5.0 → 1.6.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,9 @@
1
1
  = Changelog
2
2
 
3
+ == 1.6.0
4
+
5
+ * Introducing Permission resource.
6
+
3
7
  == 1.5.0
4
8
 
5
9
  * Introducing PublicKey resource.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.5.0
1
+ 1.6.0
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{beanstalkapp}
8
- s.version = "1.5.0"
8
+ s.version = "1.6.0"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Ilya Sabanin"]
12
- s.date = %q{2011-03-18}
12
+ s.date = %q{2011-03-29}
13
13
  s.email = %q{ilya.sabanin@gmail.com}
14
14
  s.extra_rdoc_files = [
15
15
  "README.rdoc"
@@ -130,6 +130,7 @@ Gem::Specification.new do |s|
130
130
  "lib/beanstalkapp/base.rb",
131
131
  "lib/beanstalkapp/changeset.rb",
132
132
  "lib/beanstalkapp/comment.rb",
133
+ "lib/beanstalkapp/permission.rb",
133
134
  "lib/beanstalkapp/plan.rb",
134
135
  "lib/beanstalkapp/public_key.rb",
135
136
  "lib/beanstalkapp/release.rb",
@@ -14,6 +14,7 @@ require_local 'beanstalkapp/account'
14
14
  require_local 'beanstalkapp/plan'
15
15
  require_local 'beanstalkapp/changeset'
16
16
  require_local 'beanstalkapp/repository'
17
+ require_local 'beanstalkapp/permission'
17
18
  require_local 'beanstalkapp/comment'
18
19
  require_local 'beanstalkapp/server_environment'
19
20
  require_local 'beanstalkapp/release'
@@ -0,0 +1,9 @@
1
+ module Beanstalk::API
2
+ class Permission < Base
3
+
4
+ def self.find_all_for_user(id)
5
+ instantiate_collection(get(id))
6
+ end
7
+
8
+ end
9
+ end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: beanstalkapp
3
3
  version: !ruby/object:Gem::Version
4
- hash: 3
4
+ hash: 15
5
5
  prerelease: false
6
6
  segments:
7
7
  - 1
8
- - 5
8
+ - 6
9
9
  - 0
10
- version: 1.5.0
10
+ version: 1.6.0
11
11
  platform: ruby
12
12
  authors:
13
13
  - Ilya Sabanin
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-03-18 00:00:00 +07:00
18
+ date: 2011-03-29 00:00:00 +08:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -158,6 +158,7 @@ files:
158
158
  - lib/beanstalkapp/base.rb
159
159
  - lib/beanstalkapp/changeset.rb
160
160
  - lib/beanstalkapp/comment.rb
161
+ - lib/beanstalkapp/permission.rb
161
162
  - lib/beanstalkapp/plan.rb
162
163
  - lib/beanstalkapp/public_key.rb
163
164
  - lib/beanstalkapp/release.rb