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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ef89473af1ebcc8e04611cea16c599851dbfad64
4
- data.tar.gz: 0dc344776c9fc577d3b026969373646fec2db86e
3
+ metadata.gz: 7bedd196ac1f212d5b7cb8806fb8b1afebbb1142
4
+ data.tar.gz: 8e32676f146b789fb79454c448de25bfdfabdc51
5
5
  SHA512:
6
- metadata.gz: b9ae8dd74b32b9e52d3046abc3d4dc454600e9be8f928dd325d77e8341bdbd8abd23fac6108e0bdc900e1654667ea7474fe776155c85c33b9e991d95136b7d49
7
- data.tar.gz: de51605c9467dd1bed27c3ea94acaf4f7802b75ca2c7cc3abc1d5ff43dfe966bcbf39b254e4ec8e40a96f774c9f3e3c1b96d0cbdbbc54984c61011da0a84f0ba
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
- t("state_machines.#{model_name}.#{state_method}.events.#{event.event}")
30
+ object.class.send "human_#{state_method}_event_name", event.event
31
31
  end
32
32
  )
33
33
  end
@@ -1,3 +1,3 @@
1
1
  module StateMachineButtons
2
- VERSION = '0.4'
2
+ VERSION = '0.4.1'
3
3
  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: '0.4'
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: 2017-12-24 00:00:00.000000000 Z
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.11
92
+ rubygems_version: 2.6.13
93
93
  signing_key:
94
94
  specification_version: 4
95
95
  summary: State Machines events buttons renderer