tramway-core 1.17.4.1 → 1.17.4.2
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: de93e7e3470ae4475e2562917ada23727724ed9f5d3a9e8629bb79abdc9abba3
|
4
|
+
data.tar.gz: 6eb2a75350e87dfcc01c80da40090ac4c14a7ef4d6d713a1e1ec6ad6fba36e8f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 70846eaa98acc8df08009b4c5b0ee6e954c885e87342eaa17f0cbce2cb4fa25f78a51604b234170ee0502c33195e74095a5a27b14565cf04ae6612630896092a
|
7
|
+
data.tar.gz: 020e281d3e91424d0af2ccf2e4f8554b2f1295b399433f7ce5238fe181d1d1fb4ec999773bd408a57af12e7386d5bd39211bc15d32e1562b3dc1d0de61e124cd
|
data/README.md
CHANGED
@@ -132,7 +132,7 @@ end
|
|
132
132
|
|
133
133
|
### CopyToClipboardHelper
|
134
134
|
|
135
|
-
[app/helpers/tramway/core/copy_to_clipboard_helper.rb](https://github.com/ulmic/tramway-dev/blob/develop/tramway-core/app/helpers/tramway/core/copy_to_clipboard_helper.rb)
|
135
|
+
[app/helpers/tramway/core/copy_to_clipboard_helper.rb] (https://github.com/ulmic/tramway-dev/blob/develop/tramway-core/app/helpers/tramway/core/copy_to_clipboard_helper.rb)
|
136
136
|
|
137
137
|
#### Install
|
138
138
|
|
@@ -96,7 +96,7 @@ class Tramway::Core::ApplicationForm < ::Reform::Form
|
|
96
96
|
@@model_class = model_class_name.constantize
|
97
97
|
rescue StandardError
|
98
98
|
Tramway::Error.raise_error :tramway, :core, :application_form, :model_class, :there_is_not_model_class,
|
99
|
-
|
99
|
+
name: name, model_class_name: model_class_name
|
100
100
|
end
|
101
101
|
end
|
102
102
|
end
|
@@ -127,6 +127,6 @@ class Tramway::Core::ApplicationForm < ::Reform::Form
|
|
127
127
|
Tramway::Error.raise_error :tramway, :core, :application_form, :save, :argument_error, message: e.message
|
128
128
|
rescue StandardError => e
|
129
129
|
Tramway::Error.raise_error :tramway, :core, :application_form, :save, :looks_like_you_have_method,
|
130
|
-
|
130
|
+
method_name: e.name.to_s.gsub('=', ''), model_class: @@model_class, class_name: self.class
|
131
131
|
end
|
132
132
|
end
|
@@ -17,7 +17,7 @@ module Tramway::Core::ApplicationForms::AssociationObjectHelpers
|
|
17
17
|
association_class = association_class.constantize if association_class.is_a? String
|
18
18
|
if association_class.nil?
|
19
19
|
Tramway::Error.raise_error :tramway, :core, :application_form, :initialize, :polymorphic_class_is_nil,
|
20
|
-
|
20
|
+
association_name: association
|
21
21
|
else
|
22
22
|
super association_class.find value.split('_')[-1]
|
23
23
|
send "#{association}_type=", association_class.to_s
|
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: 1.17.4.
|
4
|
+
version: 1.17.4.2
|
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: 2020-
|
12
|
+
date: 2020-04-01 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: audited
|