tramway-core 4.1.3 → 4.1.3.1
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
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3996e22dd536b17253eb34170ab6338f7065488e7f421b4fb94af68fab0d3a11
|
|
4
|
+
data.tar.gz: 849987597f7fb8651749e992610e073337f71ba21a0ced634f53e7f6291fb172
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 275c115262843a94b71703317a02a6e07dedae325d9d5c0b39e682b98c72cf69aa720926aa0428c6fafdab7a97df77dca475bcb247ce7e5891cab327734b4754
|
|
7
|
+
data.tar.gz: e422d1be9ecefe65c38b6dfb398e3e7757930a7b145a05e1aa3b5fe0dca44a19593b9e653c0f88b03b0264669b8a604d2274072226100ec9e3b09b86b5516691
|
|
@@ -7,7 +7,9 @@ module Tramway::Core::Inputs::AssociationsHelper
|
|
|
7
7
|
check_valid_association full_class_name_association
|
|
8
8
|
full_class_name_association.send("#{user.role}_scope", user.id).map do |obj|
|
|
9
9
|
decorator_class(full_class_name_association).decorate obj
|
|
10
|
-
end.sort_by
|
|
10
|
+
end.sort_by do |association|
|
|
11
|
+
association.name || "#{association.class.name} ##{association.id}"
|
|
12
|
+
end
|
|
11
13
|
end
|
|
12
14
|
|
|
13
15
|
def build_value_for_association(form_object, property, value)
|
data/lib/tramway/core/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: tramway-core
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 4.1.3
|
|
4
|
+
version: 4.1.3.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Pavel Kalashnikov
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2022-
|
|
12
|
+
date: 2022-09-17 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: audited
|