state_machine_buttons 0.4 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/state_machine_buttons/renderer.rb +1 -1
- data/lib/state_machine_buttons/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7bedd196ac1f212d5b7cb8806fb8b1afebbb1142
|
4
|
+
data.tar.gz: 8e32676f146b789fb79454c448de25bfdfabdc51
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '02846ce9cabde9b250a4d7a59cbc29b54434694ba227d441d99b2a62b7a5dce2dbfccdeabae45356872306736e751aa36afbf125a0f55f129c1d66905ff60865'
|
7
|
+
data.tar.gz: edbe3876f04fbe5e469a66055e501e4b5954474710116a0de98e7220f0db83a94cd64a8f061386ed540f1e48c826820ca4954f757f3f53170775f91523131161
|
@@ -27,7 +27,7 @@ module StateMachineButtons
|
|
27
27
|
class: "btn btn-sm btn-xs btn-#{object.send("#{state_method}_button_color", event.event)}",
|
28
28
|
method: :patch
|
29
29
|
) do
|
30
|
-
|
30
|
+
object.class.send "human_#{state_method}_event_name", event.event
|
31
31
|
end
|
32
32
|
)
|
33
33
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: state_machine_buttons
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 0.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pavel Kalashnikov
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-01-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -89,7 +89,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
89
89
|
version: '0'
|
90
90
|
requirements: []
|
91
91
|
rubyforge_project:
|
92
|
-
rubygems_version: 2.6.
|
92
|
+
rubygems_version: 2.6.13
|
93
93
|
signing_key:
|
94
94
|
specification_version: 4
|
95
95
|
summary: State Machines events buttons renderer
|