active_interaction-extras 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 +5 -5
- data/README.md +13 -1
- data/active_interaction-extras.gemspec +3 -3
- data/lib/active_interaction/extras/rspec.rb +2 -0
- data/lib/active_interaction/extras/version.rb +1 -1
- metadata +9 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: d0701c28aa2dd9c001e1be9c5525b39b6403caabd0024a3d6424f983fe27580f
|
4
|
+
data.tar.gz: 33f90613a5e4d9c9624a8c1e15bd33d297a3df76c9858ddaf5c57d634a5d54ad
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1098d113ec98b8a0cf1e26e438eab2c29b00cfb4915a230b0892104382d265837fdc53cdba21542743e98f750e54f317b0857e6ef443ad54efe084f0f4118607
|
7
|
+
data.tar.gz: f1a3457c4ef8bdf3ad814833427694598967934887f89beadbd2ce7b44c3a64c7b6bb018d60f780cfae995e0ea479e749f105829cc7e63d61f300c49c8c4ae38
|
data/README.md
CHANGED
@@ -120,6 +120,14 @@ form_params = ActionController::Parameters.new(
|
|
120
120
|
)
|
121
121
|
|
122
122
|
Service.run(params: form_params)
|
123
|
+
|
124
|
+
# OR
|
125
|
+
form_params = ActionController::Parameters.new(
|
126
|
+
first_name: 'Allowed',
|
127
|
+
last_name: 'Not allowed',
|
128
|
+
)
|
129
|
+
|
130
|
+
Service.run(form_params: form_params)
|
123
131
|
```
|
124
132
|
|
125
133
|
### Transaction
|
@@ -219,7 +227,7 @@ RSpec.describe SomeService do
|
|
219
227
|
|
220
228
|
# expect_to_run / expect_not_to_run / expect_to_not_run
|
221
229
|
# expect_to_execute
|
222
|
-
# expect_to_delay_run / expect_to_not_run_delayed
|
230
|
+
# expect_to_delay_run / expect_not_to_run_delayed / expect_to_not_run_delayed
|
223
231
|
# expect_to_delay_execute
|
224
232
|
end
|
225
233
|
end
|
@@ -239,6 +247,10 @@ Bug reports and pull requests are welcome on GitHub at https://github.com/antuli
|
|
239
247
|
|
240
248
|
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
241
249
|
|
250
|
+
## Credits
|
251
|
+
|
252
|
+
ActiveInteraction::Extras is brought to you by [Anton Katunin](https://github.com/antulik) and was originally built at [CarNextDoor](https://www.carnextdoor.com.au/).
|
253
|
+
|
242
254
|
## Code of Conduct
|
243
255
|
|
244
256
|
Everyone interacting in the ActiveInteraction::Extras project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/antulik/active_interaction-extras/blob/master/CODE_OF_CONDUCT.md).
|
@@ -9,9 +9,9 @@ Gem::Specification.new do |spec|
|
|
9
9
|
spec.authors = ["Anton Katunin"]
|
10
10
|
spec.email = ["antulik@gmail.com"]
|
11
11
|
|
12
|
-
spec.summary = %q{
|
13
|
-
spec.description = %q{
|
14
|
-
spec.homepage = "https://github.com/antulik/
|
12
|
+
spec.summary = %q{Extensions for active_interaction gem}
|
13
|
+
spec.description = %q{Extensions for active_interaction gem}
|
14
|
+
spec.homepage = "https://github.com/antulik/active_interaction-extras"
|
15
15
|
spec.license = "MIT"
|
16
16
|
|
17
17
|
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: active_interaction-extras
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Anton Katunin
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-12-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: active_interaction
|
@@ -108,7 +108,7 @@ dependencies:
|
|
108
108
|
- - ">="
|
109
109
|
- !ruby/object:Gem::Version
|
110
110
|
version: '0'
|
111
|
-
description:
|
111
|
+
description: Extensions for active_interaction gem
|
112
112
|
email:
|
113
113
|
- antulik@gmail.com
|
114
114
|
executables: []
|
@@ -136,11 +136,11 @@ files:
|
|
136
136
|
- lib/active_interaction/extras/strong_params.rb
|
137
137
|
- lib/active_interaction/extras/transaction.rb
|
138
138
|
- lib/active_interaction/extras/version.rb
|
139
|
-
homepage: https://github.com/antulik/
|
139
|
+
homepage: https://github.com/antulik/active_interaction-extras
|
140
140
|
licenses:
|
141
141
|
- MIT
|
142
142
|
metadata: {}
|
143
|
-
post_install_message:
|
143
|
+
post_install_message:
|
144
144
|
rdoc_options: []
|
145
145
|
require_paths:
|
146
146
|
- lib
|
@@ -155,9 +155,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
155
155
|
- !ruby/object:Gem::Version
|
156
156
|
version: '0'
|
157
157
|
requirements: []
|
158
|
-
|
159
|
-
|
160
|
-
signing_key:
|
158
|
+
rubygems_version: 3.0.3
|
159
|
+
signing_key:
|
161
160
|
specification_version: 4
|
162
|
-
summary:
|
161
|
+
summary: Extensions for active_interaction gem
|
163
162
|
test_files: []
|