deb 0.0.12 → 0.0.13

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 00f5f131d0fab002694de6921668bd87a42e57d4
4
- data.tar.gz: 7b83f540e406e4f73154dedc46b4e80a07f1bdf1
3
+ metadata.gz: 0f74580ac1c639c274084556133e16878e2227ee
4
+ data.tar.gz: 080c455c5ef885f55a392bd59b551ae1da357f41
5
5
  SHA512:
6
- metadata.gz: 81bad13af867c4e4bacc6b713f39682000a969ce107bca8f6fa571b43b604ad6aa1796d5bfe5683e88334cf741d689c8c2d89b327f48438327ff20096d7a9b2f
7
- data.tar.gz: 8c90a65a055b9f6c8456715d7928291735fa55c261944172310f8451342bc9e611dd88b6803b5cf227720f11191fab088c1e3adb13c4269487a7b5f08d5ffaa9
6
+ metadata.gz: e5c61bf91defefbc278e42796caf20215c2d1f7356066226972f60518cb86d8f99bea6c342fa72b7eaa94f8a2151519b9cc548bff4fe78e1ddfe4f0b1693eb97
7
+ data.tar.gz: 4dd9edc59909a101db2c9227457fc2f9ade20389662753c7af9b91487918c69cdc9fa44f3e0aa6000e0119dfc84f9b4f281409d574a0de90a31c641e8a696469
@@ -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::Item"
10
+ belongs_to :rollback_transaction, class_name: "Deb::Entry"
11
11
 
12
12
  validate :debit_items_presence
13
13
  validate :credit_items_presence
@@ -1,3 +1,3 @@
1
1
  module Deb
2
- VERSION = "0.0.12"
2
+ VERSION = "0.0.13"
3
3
  end
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.12
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-06 00:00:00.000000000 Z
11
+ date: 2016-03-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails