active_interaction 3.8.0 → 3.8.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -0
- data/lib/active_interaction/concerns/runnable.rb +3 -1
- data/lib/active_interaction/errors.rb +1 -7
- data/lib/active_interaction/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '0548218152b9de3c7b9d3138ba8e6d18404da27e0ffb7e2ed95195f066dd681b'
|
4
|
+
data.tar.gz: 917d2fe9a9c99b468aa2ad80e861e27e20f0f6caf8fdbe2698ce29f7e7ec2864
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bdd646f710eb2f8d49ba74224e17b9b4d0b4595708ee9dba6bad53dd59652ec69fb4e2f3ebcb538f949197103d5a011d1319e4a57cc9d7c96ebe21578b9b8b42
|
7
|
+
data.tar.gz: b0853777a9cd4be10de3f6de7980ba52fa8448a57203f9c531df84c5c55bfbd675860b52dc320b996e0110c5d1353e21f868a900d742828cc8b5d0b0abb72cac
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,9 @@
|
|
1
|
+
# [3.8.1][] (2020-04-04)
|
2
|
+
|
3
|
+
## Fixed
|
4
|
+
|
5
|
+
- The implementation for providing a failing interaction on `InvalidInteractionError` was a breaking API change. It now works without breaking the API.
|
6
|
+
|
1
7
|
# [3.8.0][] (2020-02-28)
|
2
8
|
|
3
9
|
## Added
|
@@ -759,6 +765,7 @@ Example.run
|
|
759
765
|
|
760
766
|
- Initial release.
|
761
767
|
|
768
|
+
[3.8.1]: https://github.com/AaronLasseigne/active_interaction/compare/v3.8.0...v3.8.1
|
762
769
|
[3.8.0]: https://github.com/AaronLasseigne/active_interaction/compare/v3.7.1...v3.8.0
|
763
770
|
[3.7.1]: https://github.com/AaronLasseigne/active_interaction/compare/v3.7.0...v3.7.1
|
764
771
|
[3.7.0]: https://github.com/AaronLasseigne/active_interaction/compare/v3.6.2...v3.7.0
|
@@ -32,13 +32,7 @@ module ActiveInteraction
|
|
32
32
|
#
|
33
33
|
# @return [Class]
|
34
34
|
class InvalidInteractionError < Error
|
35
|
-
|
36
|
-
|
37
|
-
def initialize(interaction)
|
38
|
-
@interaction = interaction
|
39
|
-
|
40
|
-
super(interaction.errors.full_messages.join(', '))
|
41
|
-
end
|
35
|
+
attr_accessor :interaction
|
42
36
|
end
|
43
37
|
|
44
38
|
# Raised if a user-supplied value is invalid.
|
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: 3.8.
|
4
|
+
version: 3.8.1
|
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: 2020-
|
12
|
+
date: 2020-04-04 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activemodel
|