tramway-core 1.6.2 → 1.6.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2e9f970361066db51ffb406b2e00a045f06a0df0417009c44e7b15a1eb6be2ab
4
- data.tar.gz: 00a4e30c013946f852e62c3ee5bc31ed3f812b8a144be626ab6ba4213b2b0d8d
3
+ metadata.gz: efdc4a5a5751cc69f9c125314d352f6130c001c606ecfab121ecef2b0399ae7f
4
+ data.tar.gz: 38b5a27d2cde376f3a5ec5b967f4c7ab2236f0c118e65bb2be537ab6452dfc6a
5
5
  SHA512:
6
- metadata.gz: 6e2ce3e306e64f91ba5f53d39d743b0b53b4b9d7a86e5ad44f0ea94c85634382330f91218946754b9db3f24f76372276efbee88d62fc1a576d498f9cfc60be5b
7
- data.tar.gz: 010fad889e94a4e6a33ff92443f4cc0a9001a85f09ef8f9ebb6215f4154f6156e361a55eeef3bd6320eea537f41a43544f150cbd03afc2b9921eb8153b145d3d
6
+ metadata.gz: 6bef5ae0da8faec96f405f3563e750e0870e5d112a80910b3032b9b5cb766ab07713515cd6b2b4f7d2359cfff251e0cffa7acf9c357a28e071b021530edf6c84
7
+ data.tar.gz: 9605911b8fa87c42e09b495a096a0452305533fca3fa9957eda6e6840a88df1bed23bb0ff248511d020a59b58705074c7ba309a890373a0a4f7320f7ce1ae542
@@ -52,8 +52,8 @@ class Tramway::Core::ApplicationDecorator
52
52
  object
53
53
  end
54
54
 
55
- def associations
56
- object.class.reflect_on_all_associations.map do |association|
55
+ def associations(associations_type)
56
+ object.class.reflect_on_all_associations(associations_type).map do |association|
57
57
  association unless association.name == :audits
58
58
  end.compact
59
59
  end
@@ -1,5 +1,5 @@
1
1
  module Tramway
2
2
  module Core
3
- VERSION = '1.6.2'
3
+ VERSION = '1.6.3'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tramway-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.2
4
+ version: 1.6.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pavel Kalashnikov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-10-01 00:00:00.000000000 Z
11
+ date: 2018-10-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: reform-rails