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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: efdc4a5a5751cc69f9c125314d352f6130c001c606ecfab121ecef2b0399ae7f
|
4
|
+
data.tar.gz: 38b5a27d2cde376f3a5ec5b967f4c7ab2236f0c118e65bb2be537ab6452dfc6a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
data/lib/tramway/core/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2018-10-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: reform-rails
|