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.
- checksums.yaml +4 -4
- data/README.md +6 -3
- data/lib/stepped/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a2b28a4bc4ba842e620bd426a1b887a0f25915dfae3dd9647090ba2b59053b8a
|
|
4
|
+
data.tar.gz: 5a324cda715b346839300aacb530852532700f4c656946d162ae35a255d2f1c7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
|
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
|
-
|
|
244
|
-
|
|
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
|
|
data/lib/stepped/version.rb
CHANGED
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.
|
|
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: '
|
|
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: '
|
|
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: '
|
|
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.
|
|
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: []
|