beanstalkapp 1.1.1 → 1.1.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,20 @@
1
+ = Changelog
2
+
3
+ == 1.1.2
4
+
5
+ * Fixed find methods in Release class.
6
+
7
+ == 1.1.1
8
+
9
+ * Bug fixing
10
+
11
+ == 1.1
12
+
13
+ * Added Comment model;
14
+ * Added little helper methods to models, such as Release.find_all_for_repository;
15
+ * Repackaged from Rails plugin to gem (Gemcutter);
16
+ * Moved repository to Github.
17
+
18
+ == 1.0
19
+
20
+ * Initial public release
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.1
1
+ 1.1.2
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{beanstalkapp}
8
- s.version = "1.1.1"
8
+ s.version = "1.1.2"
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"]
@@ -16,6 +16,7 @@ Gem::Specification.new do |s|
16
16
  ]
17
17
  s.files = [
18
18
  ".gitignore",
19
+ "CHANGES.rdoc",
19
20
  "MIT-LICENSE",
20
21
  "README.rdoc",
21
22
  "Rakefile",
@@ -1,9 +1,14 @@
1
1
  module Beanstalk::API
2
2
  class Release < Base
3
+ add_prefix ':repository_id'
3
4
 
4
5
  def self.find_all_for_repository(repo_id)
5
6
  find :all, :params => { :repository_id => repo_id }
6
7
  end
7
8
 
9
+ def self.find_for_repository(id, repo_id)
10
+ find id, :params => { :repository_id => repo_id }
11
+ end
12
+
8
13
  end
9
14
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: beanstalkapp
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ilya Sabanin
@@ -32,6 +32,7 @@ extra_rdoc_files:
32
32
  - README.rdoc
33
33
  files:
34
34
  - .gitignore
35
+ - CHANGES.rdoc
35
36
  - MIT-LICENSE
36
37
  - README.rdoc
37
38
  - Rakefile