Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

update to active resource 3.1 #7

Open
wants to merge 2 commits into from

3 participants

@bcm

the only change was to stop using the deprecated attr_accessor_with_default.

@brntbeer

for the love of god. BUMP.

pleasemerge this.

:+1:

@mahmoudimus

pull request 7 has been merged by pull request 8.

@bcm

given that 3.2 has been out for a while, perhaps changing ~> to >= would be best.

@brntbeer

@bcm which line number are you referencing?

@bcm

s.add_dependency("activeresource", "~> 3.1.0")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Nov 24, 2011
  1. @bcm

    update to active resource 3.1

    bcm authored
Commits on Jan 23, 2012
  1. @bcm
This page is out of date. Refresh to see the latest.
Showing with 4 additions and 2 deletions.
  1. +3 −1 lib/poundpay/resource.rb
  2. +1 −1  poundpay.gemspec
View
4 lib/poundpay/resource.rb
@@ -7,7 +7,9 @@ class Resource < ActiveResource::Base
self.format = Formats::UrlencodedJsonFormat
class << self
- attr_accessor_with_default(:primary_key, 'sid')
+ def primary_key
+ 'sid'
+ end
# Modified default to not use an extension
def element_path(id, prefix_options = {}, query_options = nil)
View
2  poundpay.gemspec
@@ -14,7 +14,7 @@ Gem::Specification.new do |s|
s.rubyforge_project = "poundpay"
- s.add_dependency("activeresource", "~> 3.0.0")
+ s.add_dependency("activeresource", "~> 3.1.0")
s.add_development_dependency("rspec", ">= 2.0")
s.add_development_dependency("wirble")
Something went wrong with that request. Please try again.