active_interaction-extras 0.2.1 → 0.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: c7fe435178207a247b888536be48aa6e64ce9440
4
- data.tar.gz: 54a41e41ff3127f1b6220ca87d742f7a1ea52f46
2
+ SHA256:
3
+ metadata.gz: d0701c28aa2dd9c001e1be9c5525b39b6403caabd0024a3d6424f983fe27580f
4
+ data.tar.gz: 33f90613a5e4d9c9624a8c1e15bd33d297a3df76c9858ddaf5c57d634a5d54ad
5
5
  SHA512:
6
- metadata.gz: 63d32e869429369af8f3184091aeb8b90cd5b411931a99b8b951fbc2ca91fc9950eeae0595cc847fc44a2e9d59330f6278c5c37ad50955548f2b8ecd14a0f5dd
7
- data.tar.gz: 18b826e7e0300318093a6ff13d4a208b128d84ef072c597caf9e0b02b1de525cac8f3baa155c5124f72850880c8ab8a1ce935d24d811bc2f9a286cee0c6a1126
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{Extension for active_interaction gem}
13
- spec.description = %q{Extension for active_interaction gem}
14
- spec.homepage = "https://github.com/antulik/xxxx"
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|
@@ -67,6 +67,8 @@ module ActiveInteraction::Extras::Rspec
67
67
  expect(klass).to_not receive(:delay).with(*with)
68
68
  end
69
69
 
70
+ alias expect_to_not_run_delayed expect_not_to_run_delayed
71
+
70
72
  # see expect_to_run
71
73
  #
72
74
  # additional params
@@ -1,5 +1,5 @@
1
1
  module ActiveInteraction
2
2
  module Extras
3
- VERSION = "0.2.1"
3
+ VERSION = "0.2.2"
4
4
  end
5
5
  end
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.1
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: 2018-05-25 00:00:00.000000000 Z
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: Extension for active_interaction gem
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/xxxx
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
- rubyforge_project:
159
- rubygems_version: 2.6.8
160
- signing_key:
158
+ rubygems_version: 3.0.3
159
+ signing_key:
161
160
  specification_version: 4
162
- summary: Extension for active_interaction gem
161
+ summary: Extensions for active_interaction gem
163
162
  test_files: []