beanstalkapp 1.1.0 → 1.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.0
1
+ 1.1.1
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{beanstalkapp}
8
- s.version = "1.1.0"
8
+ s.version = "1.1.1"
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"]
@@ -1,4 +1,3 @@
1
- require 'rubygems'
2
1
  require 'active_resource'
3
2
 
4
3
  module Beanstalk
@@ -1,7 +1,7 @@
1
1
  module Beanstalk::API
2
2
  class Release < Base
3
3
 
4
- def find_all_for_repository(repo_id)
4
+ def self.find_all_for_repository(repo_id)
5
5
  find :all, :params => { :repository_id => repo_id }
6
6
  end
7
7
 
@@ -2,11 +2,11 @@ module Beanstalk::API
2
2
  class ReleaseServer < Base
3
3
  add_prefix ':repository_id'
4
4
 
5
- def find_all_for_repository(repo_id)
5
+ def self.find_all_for_repository(repo_id)
6
6
  find :all, :params => { :repository_id => repo_id }
7
7
  end
8
8
 
9
- def find_for_repository(name, repo_id)
9
+ def self.find_for_repository(name, repo_id)
10
10
  find name, :params => { :repository_id => repo_id }
11
11
  end
12
12
 
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.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ilya Sabanin