telvue_state_machine 1.2.1 → 1.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: a4dd91f1d1dbbb4491b588b25da2ee8647973087
4
- data.tar.gz: 931d8a583e08d73c9e2672562f2720791046f33b
2
+ SHA256:
3
+ metadata.gz: 7ccd2a63921a46dbe9f260fc62c6e05214e96b08470481e2a965020444dc526a
4
+ data.tar.gz: d16f638fe25d563194802d04a5044d213f325a744c94c1ead746868b3c72b1bf
5
5
  SHA512:
6
- metadata.gz: e9befa9754af6aec13046f4f65c6569165f80047bff20c0c0d23341c21efc59dffb9146f28038cf14fdd01be4951ba343f1ba1bd08b5d3628ed2fff5c1ec9d75
7
- data.tar.gz: b2e029534469e528603a836b5057ae96925367c7af51f82d325154054d374867ccd2e27a96efe28065f76695e33dd10377bb9e133dd02bb55fbe078f50f89b10
6
+ metadata.gz: 7dad669c562b2ef8ae2d6df2f7192153824b490de960cf2adc6bc1afda8de84da7d2f8b0a97f22c459a4c675c4153ff12e01dde21f359237c25b3610deb23993
7
+ data.tar.gz: 7727ef86effbdb81ffcdf0c275be5e2d8406ec603347903ceb9191597d84a2ad41ec23a93bfb47943fe6a55e783e84f908100dfcd9d8f7aed272a70fd31c7221
@@ -1,8 +1,10 @@
1
- # master
1
+ ## 1.2.2 / 2020-05-08
2
+ * Fix ruby 2.7 deprecation warnings
2
3
 
3
- * Raise InvalidContext error when the current state does not define a state-driven behavior
4
- * Fix target state being indeterminate for transitions that use blacklists
5
- * Allow super to be called within state-driven behaviors
4
+ ## 1.2.1 / 2016-03-14 TelVue Fork
5
+
6
+ * Merge pull request #2 from reedlaw/master
7
+ ** fix after_transition
6
8
 
7
9
  ## 1.2.0 / 2013-03-30
8
10
 
data/README.md CHANGED
@@ -69,6 +69,12 @@ You can find much more detailed documentation in the actual API.
69
69
 
70
70
  ## Usage
71
71
 
72
+ Add to your gemfile:
73
+
74
+ ``` ruby
75
+ gem 'telvue_state_machine', require: 'state_machine'
76
+ ```
77
+
72
78
  ### Example
73
79
 
74
80
  Below is an example of many of the features offered by this plugin, including:
@@ -483,7 +483,7 @@ module StateMachine
483
483
  def define_action_hook
484
484
  if action_hook == :save
485
485
  define_helper :instance, <<-end_eval, __FILE__, __LINE__ + 1
486
- def save(*)
486
+ def save(*, **)
487
487
  self.class.state_machine(#{name.inspect}).send(:around_save, self) { super }
488
488
  end
489
489
 
@@ -1,3 +1,3 @@
1
1
  module StateMachine
2
- VERSION = '1.2.1'
2
+ VERSION = '1.2.2'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: telvue_state_machine
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.1
4
+ version: 1.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Benjamin Liu
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-03-14 00:00:00.000000000 Z
11
+ date: 2020-05-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -390,8 +390,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
390
390
  - !ruby/object:Gem::Version
391
391
  version: '0'
392
392
  requirements: []
393
- rubyforge_project:
394
- rubygems_version: 2.5.1
393
+ rubygems_version: 3.1.3
395
394
  signing_key:
396
395
  specification_version: 4
397
396
  summary: State machines for attributes