tramway-core 2.0 → 2.0.0.1
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: 00bb04a9c6afb2c0803e4b0d8ee009ce9af3b511564793933c1e21862345fe16
|
4
|
+
data.tar.gz: f2b70d7ee88943a6e134764fc582830d46fbcc78eda2712e6974c5887432bfe6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 49ec7b81fa82bf40b32f32d2a716f5affbbb7428b2934506697d6f3a79c9f34b2a849570e9f90b09da27af79738422748ec98ca5a576c71295b64dfe1415f93f
|
7
|
+
data.tar.gz: e623ac3c3a5e189459d5144a3227807ea4229eb6b5a54c49b65177c0da5d4c60d463e545c19f9459c3f25c1f22d0acef25ca8011171f84ce616d1e54ce155d5b
|
@@ -10,7 +10,7 @@ module Tramway::Core::Concerns::AttributesDecoratorHelper
|
|
10
10
|
end
|
11
11
|
|
12
12
|
def state_machine_view(object, attribute_name)
|
13
|
-
object.
|
13
|
+
I18n.t("state_machines.#{object.class.model_name.to_s.underscore}.#{attribute_name}.states.#{object.send(attribute_name)}")
|
14
14
|
rescue
|
15
15
|
object.aasm.human_state
|
16
16
|
end
|
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
|
+
version: 2.0.0.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: 2021-02-
|
12
|
+
date: 2021-02-06 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: audited
|