deb 0.0.12 → 0.0.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/deb/entry.rb +1 -1
- data/lib/deb/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0f74580ac1c639c274084556133e16878e2227ee
|
4
|
+
data.tar.gz: 080c455c5ef885f55a392bd59b551ae1da357f41
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e5c61bf91defefbc278e42796caf20215c2d1f7356066226972f60518cb86d8f99bea6c342fa72b7eaa94f8a2151519b9cc548bff4fe78e1ddfe4f0b1693eb97
|
7
|
+
data.tar.gz: 4dd9edc59909a101db2c9227457fc2f9ade20389662753c7af9b91487918c69cdc9fa44f3e0aa6000e0119dfc84f9b4f281409d574a0de90a31c641e8a696469
|
data/app/models/deb/entry.rb
CHANGED
@@ -7,7 +7,7 @@ module Deb
|
|
7
7
|
has_many :debit_accounts, through: :debit_items, source: :account
|
8
8
|
has_many :credit_items, -> { where(kind: "credit") }, class_name: "Deb::Item", foreign_key: :transaction_id
|
9
9
|
has_many :credit_accounts, through: :credit_items, source: :account
|
10
|
-
belongs_to :rollback_transaction, class_name: "Deb::
|
10
|
+
belongs_to :rollback_transaction, class_name: "Deb::Entry"
|
11
11
|
|
12
12
|
validate :debit_items_presence
|
13
13
|
validate :credit_items_presence
|
data/lib/deb/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: deb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.13
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Boris Nadion
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-03-
|
11
|
+
date: 2016-03-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|