stepped 1.0.1 → 1.0.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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +6 -3
  3. data/lib/stepped/version.rb +1 -1
  4. metadata +5 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ff94819a694c7f49934e378c8952edbe7383ddcf53f9ee9da4ee6c6669e5c483
4
- data.tar.gz: 4feb8d60c62b314bbace0c33bfa78a7850c52adbef3add0c9cc19794bff627a1
3
+ metadata.gz: a2b28a4bc4ba842e620bd426a1b887a0f25915dfae3dd9647090ba2b59053b8a
4
+ data.tar.gz: 5a324cda715b346839300aacb530852532700f4c656946d162ae35a255d2f1c7
5
5
  SHA512:
6
- metadata.gz: 6f751bf74a6a16454a87d3f96b229f6562ca40fd4f9909414091c8fb04338222f3d5920737b3505954d8d741a6dab6261bbc748ca4416093105b63dae80550a2
7
- data.tar.gz: 532a6ff7f121a7426d02dbe6a9afb2a6c3ebe09cf0da39500949684656c81c13705a8b04e8baa8bb3d89d2e8ee1202aa542b65e7cc89ffa7fced4b579283297f
6
+ metadata.gz: f9926045bb5cfa3ded4e3eedfbcc1b97e9e0293b8bf55b3f7f7177f69cbcdaf21e3f5f1e760e2808f513140a081876eeac598b2f5f30f16aa40cc546f4c1ca05
7
+ data.tar.gz: da2bbcf38f26a74e8cfa76513912253dffa758abb9e8c928c40b5509a78c69e3055b8856de847e35955f43fd28f1f20884ebc3ff89145cceb81614ef5844f160
data/README.md CHANGED
@@ -237,11 +237,14 @@ class Car < ApplicationRecord
237
237
  end
238
238
  ```
239
239
 
240
- You can extend existing actions (including job-backed ones) by prepending steps:
240
+ You can extend existing actions by prepending steps. This is especially useful when a parent class defines an action,
241
+ that you want to modify in a child class. For example:
241
242
 
242
243
  ```ruby
243
- Car.prepend_stepped_action_step :tow do
244
- honk
244
+ class SportsCar < Car
245
+ prepend_stepped_action_step :tow do |step|
246
+ step.do :something_special
247
+ end
245
248
  end
246
249
  ```
247
250
 
@@ -1,3 +1,3 @@
1
1
  module Stepped
2
- VERSION = "1.0.1"
2
+ VERSION = "1.0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stepped
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Robert Starsi
@@ -43,14 +43,14 @@ dependencies:
43
43
  requirements:
44
44
  - - "~>"
45
45
  - !ruby/object:Gem::Version
46
- version: '5.27'
46
+ version: '6.0'
47
47
  type: :development
48
48
  prerelease: false
49
49
  version_requirements: !ruby/object:Gem::Requirement
50
50
  requirements:
51
51
  - - "~>"
52
52
  - !ruby/object:Gem::Version
53
- version: '5.27'
53
+ version: '6.0'
54
54
  email:
55
55
  - klevo@klevo.sk
56
56
  executables: []
@@ -92,14 +92,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
92
92
  requirements:
93
93
  - - ">="
94
94
  - !ruby/object:Gem::Version
95
- version: '0'
95
+ version: '3.2'
96
96
  required_rubygems_version: !ruby/object:Gem::Requirement
97
97
  requirements:
98
98
  - - ">="
99
99
  - !ruby/object:Gem::Version
100
100
  version: '0'
101
101
  requirements: []
102
- rubygems_version: 4.0.3
102
+ rubygems_version: 4.0.10
103
103
  specification_version: 4
104
104
  summary: Rails engine for orchestrating complex action trees.
105
105
  test_files: []