easypay 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/easypay.gemspec +1 -1
- data/lib/acts_as_payable/base.rb +1 -1
- metadata +4 -4
data/easypay.gemspec
CHANGED
data/lib/acts_as_payable/base.rb
CHANGED
|
@@ -11,7 +11,7 @@ module Easypay
|
|
|
11
11
|
|
|
12
12
|
module Config
|
|
13
13
|
def acts_as_payable args = {}
|
|
14
|
-
has_many :payment_references, :class_name => 'Easypay::PaymentReference', :foreign_key => "payable_id"
|
|
14
|
+
has_many :payment_references, :class_name => 'Easypay::PaymentReference', :conditions => ["payable_type = '#{self.name.to_s}'"], :foreign_key => "payable_id"
|
|
15
15
|
|
|
16
16
|
define_method "easypay_options" do
|
|
17
17
|
{
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: easypay
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 17
|
|
5
5
|
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 1
|
|
8
8
|
- 1
|
|
9
|
-
-
|
|
10
|
-
version: 1.1.
|
|
9
|
+
- 1
|
|
10
|
+
version: 1.1.1
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Guilherme Pereira
|
|
@@ -15,7 +15,7 @@ autorequire:
|
|
|
15
15
|
bindir: bin
|
|
16
16
|
cert_chain: []
|
|
17
17
|
|
|
18
|
-
date: 2012-08-
|
|
18
|
+
date: 2012-08-24 00:00:00 Z
|
|
19
19
|
dependencies:
|
|
20
20
|
- !ruby/object:Gem::Dependency
|
|
21
21
|
name: nokogiri
|