subscription_fu 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -4,4 +4,8 @@ class SubscriptionFu::SystemInitiator < ActiveRecord::Base
4
4
  def self.paypal_sync_initiator
5
5
  find_or_create_by_name("paypal sync", :description => "Updates subscription status based on status returned by Paypal")
6
6
  end
7
+
8
+ def to_s
9
+ name
10
+ end
7
11
  end
@@ -1,3 +1,3 @@
1
1
  module SubscriptionFu
2
- VERSION = "0.3.0"
2
+ VERSION = "0.3.1"
3
3
  end
@@ -240,7 +240,7 @@ describe SubscriptionFu::Subscription do
240
240
  it "should mark subscription as cancelled" do
241
241
  @sub.reload.should be_canceled
242
242
  @sub.canceled_at.should == Time.parse("2010-02-10 00:00 UTC")
243
- @sub.cacnel_reason.should == "gwcacnel"
243
+ @sub.cancel_reason.should == "gwcancel"
244
244
  @sub.transactions.last.status.should == "complete"
245
245
  end
246
246
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: subscription_fu
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.3.0
5
+ version: 0.3.1
6
6
  platform: ruby
7
7
  authors:
8
8
  - Paul McMahon
@@ -11,7 +11,7 @@ autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
13
 
14
- date: 2011-07-01 00:00:00 +09:00
14
+ date: 2011-07-05 00:00:00 +09:00
15
15
  default_executable:
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency