active_interaction 4.0.6 → 4.1.0

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
2
  SHA256:
3
- metadata.gz: 8ea0d31fc8d2cf65540edb64cc51b1b3a31205a5f4a179fd56ecdb1606d84c9f
4
- data.tar.gz: fd79ef266a8357bad053b282068b0fe5bfb3cf677f778b97ebe373b7c9c9a216
3
+ metadata.gz: 557de518b6e1a33937d70d31e6c29dd6179384372e082595f8087b3efcdae784
4
+ data.tar.gz: 2ba312b6ddc61043acbc8bcb48dbbc4a60010be6701a5a368325d0a14fc4c557
5
5
  SHA512:
6
- metadata.gz: d4070194c1bcf654043c65e340abf6a1be0977282c214636511cb5188cace08a81a34ef811f9d3a369b7dc10a8ce8fcdda6a563c69fe34435fef6618c67dc5b7
7
- data.tar.gz: 446e6ccc7f28132c70808817b3db99b5852486f1c097212aea861db4235da1df676c1cd3751019425a34f84b6590b9c06e954b31ae3c8dc32cf0843ea3c7d326
6
+ metadata.gz: 28674a0400c7bd8dafaae7430f1609fdbd3cd93e3ca5c60a07d2df2970b825a7e218d2482026f0a6365ba11fdd6518830fdfb96f496909ee7d8cb63154c5b8e7
7
+ data.tar.gz: e527210922d3e9af79ff3c61f2e5d1ba873fe9eb31be543ffd640d255f69de19b40d0621ff9900db19e3cf3f553c8cfbcf583954385d2c8a3db2f24a747037f7
data/CHANGELOG.md CHANGED
@@ -1,38 +1,44 @@
1
+ # [4.1.0][] (2021-12-30)
2
+
3
+ ## Added
4
+
5
+ - [#518][] - Add Rails 7 support
6
+
1
7
  # [4.0.6][] (2021-10-13)
2
8
 
3
- ## Fix
9
+ ## Fixed
4
10
 
5
11
  - [#515][] - Filters nested in arrays should accept default values as indicated in the documentation.
6
12
 
7
13
  # [4.0.5][] (2021-07-11)
8
14
 
9
- ## Fix
15
+ ## Fixed
10
16
 
11
17
  - [#480][] - Interfaces used inside hashes failed to recognize `nil` as a non-value.
12
18
 
13
19
  # [4.0.4][] (2021-07-03)
14
20
 
15
- ## Fix
21
+ ## Fixed
16
22
 
17
23
  - [#510][] - Hash parameters failed when working outside of Rails.
18
24
  - [#511][] - Nested filters with options but no `:class` failed to have `:class` automatically added.
19
25
 
20
26
  # [4.0.3][] (2021-06-24)
21
27
 
22
- ## Fix
28
+ ## Fixed
23
29
 
24
30
  - [#499][] - `given?` now recognizes multi-part date inputs by their primary key name
25
31
  - [#493][] - `compose` now properly accepts `Inputs`
26
32
 
27
33
  # [4.0.2][] (2021-06-22)
28
34
 
29
- ## Fix
35
+ ## Fixed
30
36
 
31
37
  - [#505][] - Nested Interface filters using the `:methods` option threw an error.
32
38
 
33
39
  # [4.0.1][] (2021-05-26)
34
40
 
35
- ## Fix
41
+ ## Fixed
36
42
 
37
43
  - Fix regression of filter name relaxing.
38
44
  - [#495][] - Fix time filter ignoring time zones
@@ -970,6 +976,7 @@ Example.run
970
976
 
971
977
  - Initial release.
972
978
 
979
+ [4.1.0]: https://github.com/AaronLasseigne/active_interaction/compare/v4.0.6...v4.1.0
973
980
  [4.0.6]: https://github.com/AaronLasseigne/active_interaction/compare/v4.0.5...v4.0.6
974
981
  [4.0.5]: https://github.com/AaronLasseigne/active_interaction/compare/v4.0.4...v4.0.5
975
982
  [4.0.4]: https://github.com/AaronLasseigne/active_interaction/compare/v4.0.3...v4.0.4
@@ -1190,3 +1197,4 @@ Example.run
1190
1197
  [#412]: https://github.com/AaronLasseigne/active_interaction/issues/412
1191
1198
  [#480]: https://github.com/AaronLasseigne/active_interaction/issues/480
1192
1199
  [#515]: https://github.com/AaronLasseigne/active_interaction/issues/515
1200
+ [#518]: https://github.com/AaronLasseigne/active_interaction/issues/518
data/README.md CHANGED
@@ -5,7 +5,6 @@ It's an implementation of the command pattern in Ruby.
5
5
 
6
6
  [![Version](https://img.shields.io/gem/v/active_interaction.svg?style=flat-square)](https://rubygems.org/gems/active_interaction)
7
7
  [![Test](https://img.shields.io/github/workflow/status/AaronLasseigne/active_interaction/Test?label=Test&style=flat-square)](https://github.com/AaronLasseigne/active_interaction/actions?query=workflow%3ATest)
8
- [![Climate](https://img.shields.io/codeclimate/maintainability/orgsync/active_interaction.svg?style=flat-square)](https://codeclimate.com/github/orgsync/active_interaction)
9
8
 
10
9
  ---
11
10
 
@@ -64,13 +63,13 @@ handles your verbs.
64
63
  Add it to your Gemfile:
65
64
 
66
65
  ``` rb
67
- gem 'active_interaction', '~> 4.0'
66
+ gem 'active_interaction', '~> 4.1'
68
67
  ```
69
68
 
70
69
  Or install it manually:
71
70
 
72
71
  ``` sh
73
- $ gem install active_interaction --version '~> 4.0'
72
+ $ gem install active_interaction --version '~> 4.1'
74
73
  ```
75
74
 
76
75
  This project uses [Semantic Versioning][]. Check out [GitHub releases][] for a
@@ -1020,9 +1019,9 @@ end
1020
1019
 
1021
1020
  ### Callbacks
1022
1021
 
1023
- ActiveModel provides a powerful framework for defining callbacks.
1024
- ActiveInteraction hooks into that framework to allow hooking into various parts
1025
- of an interaction's lifecycle.
1022
+ [ActiveSupport::Callbacks][] provides a powerful framework for defining callbacks.
1023
+ ActiveInteraction uses that framework to allow hooking into various parts of an
1024
+ interaction's lifecycle.
1026
1025
 
1027
1026
  ``` rb
1028
1027
  class Increment < ActiveInteraction::Base
@@ -1471,3 +1470,4 @@ ActiveInteraction is licensed under [the MIT License][].
1471
1470
  [the errors section]: #errors
1472
1471
  [the optional inputs section]: #optional-inputs
1473
1472
  [`with_options`]: http://api.rubyonrails.org/classes/Object.html#method-i-with_options
1473
+ [ActiveSupport::Callbacks]: https://api.rubyonrails.org/classes/ActiveSupport/Callbacks.html
@@ -4,5 +4,5 @@ module ActiveInteraction
4
4
  # The version number.
5
5
  #
6
6
  # @return [Gem::Version]
7
- VERSION = Gem::Version.new('4.0.6')
7
+ VERSION = Gem::Version.new('4.1.0')
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_interaction
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.6
4
+ version: 4.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aaron Lasseigne
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2021-10-14 00:00:00.000000000 Z
12
+ date: 2021-12-30 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activemodel
@@ -20,7 +20,7 @@ dependencies:
20
20
  version: '5'
21
21
  - - "<"
22
22
  - !ruby/object:Gem::Version
23
- version: '7'
23
+ version: '8'
24
24
  type: :runtime
25
25
  prerelease: false
26
26
  version_requirements: !ruby/object:Gem::Requirement
@@ -30,7 +30,7 @@ dependencies:
30
30
  version: '5'
31
31
  - - "<"
32
32
  - !ruby/object:Gem::Version
33
- version: '7'
33
+ version: '8'
34
34
  - !ruby/object:Gem::Dependency
35
35
  name: activesupport
36
36
  requirement: !ruby/object:Gem::Requirement
@@ -40,7 +40,7 @@ dependencies:
40
40
  version: '5'
41
41
  - - "<"
42
42
  - !ruby/object:Gem::Version
43
- version: '7'
43
+ version: '8'
44
44
  type: :runtime
45
45
  prerelease: false
46
46
  version_requirements: !ruby/object:Gem::Requirement
@@ -50,7 +50,7 @@ dependencies:
50
50
  version: '5'
51
51
  - - "<"
52
52
  - !ruby/object:Gem::Version
53
- version: '7'
53
+ version: '8'
54
54
  - !ruby/object:Gem::Dependency
55
55
  name: actionpack
56
56
  requirement: !ruby/object:Gem::Requirement
@@ -141,42 +141,42 @@ dependencies:
141
141
  requirements:
142
142
  - - "~>"
143
143
  - !ruby/object:Gem::Version
144
- version: 1.17.0
144
+ version: 1.24.0
145
145
  type: :development
146
146
  prerelease: false
147
147
  version_requirements: !ruby/object:Gem::Requirement
148
148
  requirements:
149
149
  - - "~>"
150
150
  - !ruby/object:Gem::Version
151
- version: 1.17.0
151
+ version: 1.24.0
152
152
  - !ruby/object:Gem::Dependency
153
153
  name: rubocop-rake
154
154
  requirement: !ruby/object:Gem::Requirement
155
155
  requirements:
156
156
  - - "~>"
157
157
  - !ruby/object:Gem::Version
158
- version: 0.5.1
158
+ version: 0.6.0
159
159
  type: :development
160
160
  prerelease: false
161
161
  version_requirements: !ruby/object:Gem::Requirement
162
162
  requirements:
163
163
  - - "~>"
164
164
  - !ruby/object:Gem::Version
165
- version: 0.5.1
165
+ version: 0.6.0
166
166
  - !ruby/object:Gem::Dependency
167
167
  name: rubocop-rspec
168
168
  requirement: !ruby/object:Gem::Requirement
169
169
  requirements:
170
170
  - - "~>"
171
171
  - !ruby/object:Gem::Version
172
- version: '2.1'
172
+ version: 2.7.0
173
173
  type: :development
174
174
  prerelease: false
175
175
  version_requirements: !ruby/object:Gem::Requirement
176
176
  requirements:
177
177
  - - "~>"
178
178
  - !ruby/object:Gem::Version
179
- version: '2.1'
179
+ version: 2.7.0
180
180
  - !ruby/object:Gem::Dependency
181
181
  name: yard
182
182
  requirement: !ruby/object:Gem::Requirement
@@ -309,6 +309,7 @@ metadata:
309
309
  homepage_uri: https://github.com/AaronLasseigne/active_interaction
310
310
  source_code_uri: https://github.com/AaronLasseigne/active_interaction
311
311
  changelog_uri: https://github.com/AaronLasseigne/active_interaction/blob/master/CHANGELOG.md
312
+ rubygems_mfa_required: 'true'
312
313
  post_install_message:
313
314
  rdoc_options: []
314
315
  require_paths: