statesman-multi_state 0.2.1 → 0.2.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: a4b8c9c47ecda9c736feaf3a97086b56d2f019a5b979b8d9b636d6d3732159d0
4
- data.tar.gz: 43ba1e393245d8c87fab6efdd457f0b335bd71d3658dab6f74af9713205bc9b9
3
+ metadata.gz: 97dc94e4e800c1b91c2204e074e5928c3d318209aae91334bf92969b837c8630
4
+ data.tar.gz: 7944ffe74d05497c0661cfbb1490f7b88d4ad72a3925c1bf9cd93b934e0a6753
5
5
  SHA512:
6
- metadata.gz: 33435bad1dde992be4d977ddba9cc7eec2b99c75e79bc00c1fdfebc27973c2f7ee93003fe1d3ac6fec0f65d87fcd288325eac5019cea75eba4e4e06995d24256
7
- data.tar.gz: 3eaac52379397cd9fc2f97f5d623d2640bd490674a5932a051e55a792abb2f65c2ddc054c86495ed2fafd97a9348b5a375c1ef935b5b98f11999e9e3f2ae0a74
6
+ metadata.gz: ed8b84f4a8ad5b85dc909c9ff128939f50a94f1a4fb51ff8054ffa6346d59fef1ef760482d67e48263aca911196cfcdf19be78fe5efd34f37156da0b472a82b3
7
+ data.tar.gz: 424f636e766eabeb2480e791e5a647370dcd56f1618d449c6ba75c6adfcacc9b7005f2f29dbfd31393454bf3e96e81c881d9663dea047428471d66580a9c9b8f
@@ -10,7 +10,7 @@ module Statesman
10
10
 
11
11
  class_methods do
12
12
  def has_one_state_machine(field_name, state_machine_klass:, transition_klass:,
13
- transition_name: transition_klass.to_s.underscore.demodulize.pluralize.to_sym, virtual_attribute_name: "#{field_name}_state_form",
13
+ transition_name: transition_klass.to_s.demodulize.underscore.pluralize.to_sym, virtual_attribute_name: "#{field_name}_state_form",
14
14
  transition_foreign_key: nil)
15
15
  state_machine_name = "#{field_name}_state_machine"
16
16
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Statesman
4
4
  module MultiState
5
- VERSION = '0.2.1'
5
+ VERSION = '0.2.2'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: statesman-multi_state
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chedli Bourguiba