double_double 0.2.3 → 0.2.4
Sign up to get free protection for your applications and to get access to all the features.
data/lib/double_double/amount.rb
CHANGED
@@ -7,7 +7,7 @@ module DoubleDouble
|
|
7
7
|
class Amount < ActiveRecord::Base
|
8
8
|
self.table_name = 'double_double_amounts'
|
9
9
|
|
10
|
-
attr_accessible :account, :amount, :transaction, :context, :
|
10
|
+
attr_accessible :account, :amount, :transaction, :context, :accountee, as: :transation_builder
|
11
11
|
|
12
12
|
belongs_to :transaction
|
13
13
|
belongs_to :account
|
@@ -23,7 +23,7 @@ module DoubleDouble
|
|
23
23
|
class Transaction < ActiveRecord::Base
|
24
24
|
self.table_name = 'double_double_transactions'
|
25
25
|
|
26
|
-
attr_accessible :description
|
26
|
+
attr_accessible :description, :initiator
|
27
27
|
|
28
28
|
belongs_to :transaction_type
|
29
29
|
belongs_to :initiator, polymorphic: true
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: double_double
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-02-
|
12
|
+
date: 2013-02-06 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: money
|