active_interaction 3.7.0 → 3.7.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a5876e7199c749e87440e2a3d4efec4685e2d0b42ab167e5089ee9b014a44850
4
- data.tar.gz: 046dcc3fe7bd76e1572922904b6ea4568ff29674dc815a303a5e891d5ecf9019
3
+ metadata.gz: af64e2c9d517eda9f5f86be8927f2d8d82b53f905112379ca49bb6e42e487e99
4
+ data.tar.gz: 9f59937f4722d923d79611a9c99b81a0ee920e405352ee48cf01050000bc06d3
5
5
  SHA512:
6
- metadata.gz: c6491e9403f720062ecf1ac841b50d30f70f5309ae1ab6a35bcb473dd10030995676a0913c8ad6aec7698042f564a58a465281e5da0668fb6563422d169bf6f7
7
- data.tar.gz: 7078526498db343ee4d8893f57d44be58f40440fda73417e330e40ef944473261deef31e73eb16a685b0e4c5d57d3ac07e5d82c795f834b559f8a0881188ce31
6
+ metadata.gz: eb7c7b81e0105785bba793aa3ca5466daea5f49e197a5461689c45b1b5f637fdd18f1d58ed394afa7f23a28a1d8a39d16c7c146ad05055e577f89760508ee879
7
+ data.tar.gz: 277a4bebd07bb0c8465851104a95b0ea9c3d7d07de4386c20082551b4bd2ce09a822687d9d891322825625daf76ec5e4606b19b97308475ec735a5ad73f42356
@@ -1,3 +1,10 @@
1
+ # [3.7.1][] (2019-03-20)
2
+
3
+ ## Fixed
4
+
5
+ - [#455][] Switch to `BigDecimal()` to avoid warnings in Ruby 2.6.
6
+ - [#457][] When using an after callback on `execute` the `:if` option does not see composed errors.
7
+
1
8
  # [3.7.0][] (2019-02-10)
2
9
 
3
10
  ## Added
@@ -745,194 +752,197 @@ Example.run
745
752
 
746
753
  - Initial release.
747
754
 
748
- [3.7.0]: https://github.com/orgsync/active_interaction/compare/v3.6.2...v3.7.0
749
- [3.6.2]: https://github.com/orgsync/active_interaction/compare/v3.6.1...v3.6.2
750
- [3.6.1]: https://github.com/orgsync/active_interaction/compare/v3.6.0...v3.6.1
751
- [3.6.0]: https://github.com/orgsync/active_interaction/compare/v3.5.3...v3.6.0
752
- [3.5.3]: https://github.com/orgsync/active_interaction/compare/v3.5.2...v3.5.3
753
- [3.5.2]: https://github.com/orgsync/active_interaction/compare/v3.5.1...v3.5.2
754
- [3.5.1]: https://github.com/orgsync/active_interaction/compare/v3.5.0...v3.5.1
755
- [3.5.0]: https://github.com/orgsync/active_interaction/compare/v3.4.0...v3.5.0
756
- [3.4.0]: https://github.com/orgsync/active_interaction/compare/v3.3.0...v3.4.0
757
- [3.3.0]: https://github.com/orgsync/active_interaction/compare/v3.2.1...v3.3.0
758
- [3.2.1]: https://github.com/orgsync/active_interaction/compare/v3.2.0...v3.2.1
759
- [3.2.0]: https://github.com/orgsync/active_interaction/compare/v3.1.1...v3.2.0
760
- [3.1.1]: https://github.com/orgsync/active_interaction/compare/v3.1.0...v3.1.1
761
- [3.1.0]: https://github.com/orgsync/active_interaction/compare/v3.0.1...v3.1.0
762
- [3.0.1]: https://github.com/orgsync/active_interaction/compare/v3.0.0...v3.0.1
763
- [3.0.0]: https://github.com/orgsync/active_interaction/compare/v2.2.0...v3.0.0
764
- [2.2.0]: https://github.com/orgsync/active_interaction/compare/v2.1.5...v2.2.0
765
- [2.1.5]: https://github.com/orgsync/active_interaction/compare/v2.1.4...v2.1.5
766
- [2.1.4]: https://github.com/orgsync/active_interaction/compare/v2.1.3...v2.1.4
767
- [2.1.3]: https://github.com/orgsync/active_interaction/compare/v2.1.2...v2.1.3
768
- [2.1.2]: https://github.com/orgsync/active_interaction/compare/v2.1.1...v2.1.2
769
- [2.1.1]: https://github.com/orgsync/active_interaction/compare/v2.1.0...v2.1.1
770
- [2.1.0]: https://github.com/orgsync/active_interaction/compare/v2.0.1...v2.1.0
771
- [2.0.1]: https://github.com/orgsync/active_interaction/compare/v2.0.0...v2.0.1
772
- [2.0.0]: https://github.com/orgsync/active_interaction/compare/v1.6.0...v2.0.0
773
- [1.6.1]: https://github.com/orgsync/active_interaction/compare/v1.6.0...v1.6.1
774
- [1.6.0]: https://github.com/orgsync/active_interaction/compare/v1.5.1...v1.6.0
775
- [1.5.1]: https://github.com/orgsync/active_interaction/compare/v1.5.0...v1.5.1
776
- [1.5.0]: https://github.com/orgsync/active_interaction/compare/v1.4.1...v1.5.0
777
- [1.4.1]: https://github.com/orgsync/active_interaction/compare/v1.4.0...v1.4.1
778
- [1.4.0]: https://github.com/orgsync/active_interaction/compare/v1.3.1...v1.4.0
779
- [1.3.1]: https://github.com/orgsync/active_interaction/compare/v1.3.0...v1.3.1
780
- [1.3.0]: https://github.com/orgsync/active_interaction/compare/v1.2.5...v1.3.0
781
- [1.2.5]: https://github.com/orgsync/active_interaction/compare/v1.2.4...v1.2.5
782
- [1.2.4]: https://github.com/orgsync/active_interaction/compare/v1.2.3...v1.2.4
783
- [1.2.3]: https://github.com/orgsync/active_interaction/compare/v1.2.2...v1.2.3
784
- [1.2.2]: https://github.com/orgsync/active_interaction/compare/v1.2.1...v1.2.2
785
- [1.2.1]: https://github.com/orgsync/active_interaction/compare/v1.2.0...v1.2.1
786
- [1.2.0]: https://github.com/orgsync/active_interaction/compare/v1.1.7...v1.2.0
787
- [1.1.7]: https://github.com/orgsync/active_interaction/compare/v1.1.6...v1.1.7
788
- [1.1.6]: https://github.com/orgsync/active_interaction/compare/v1.1.5...v1.1.6
789
- [1.1.5]: https://github.com/orgsync/active_interaction/compare/v1.1.4...v1.1.5
790
- [1.1.4]: https://github.com/orgsync/active_interaction/compare/v1.1.3...v1.1.4
791
- [1.1.3]: https://github.com/orgsync/active_interaction/compare/v1.1.2...v1.1.3
792
- [1.1.2]: https://github.com/orgsync/active_interaction/compare/v1.1.1...v1.1.2
793
- [1.1.1]: https://github.com/orgsync/active_interaction/compare/v1.1.0...v1.1.1
794
- [1.1.0]: https://github.com/orgsync/active_interaction/compare/v1.0.5...v1.1.0
795
- [1.0.5]: https://github.com/orgsync/active_interaction/compare/v1.0.4...v1.0.5
796
- [1.0.4]: https://github.com/orgsync/active_interaction/compare/v1.0.3...v1.0.4
797
- [1.0.3]: https://github.com/orgsync/active_interaction/compare/v1.0.2...v1.0.3
798
- [1.0.2]: https://github.com/orgsync/active_interaction/compare/v1.0.1...v1.0.2
799
- [1.0.1]: https://github.com/orgsync/active_interaction/compare/v1.0.0...v1.0.1
800
- [1.0.0]: https://github.com/orgsync/active_interaction/compare/v0.10.2...v1.0.0
801
- [0.10.2]: https://github.com/orgsync/active_interaction/compare/v0.10.1...v0.10.2
802
- [0.10.1]: https://github.com/orgsync/active_interaction/compare/v0.10.0...v0.10.1
803
- [0.10.0]: https://github.com/orgsync/active_interaction/compare/v0.9.1...v0.10.0
804
- [0.9.1]: https://github.com/orgsync/active_interaction/compare/v0.9.0...v0.9.1
805
- [0.9.0]: https://github.com/orgsync/active_interaction/compare/v0.8.0...v0.9.0
806
- [0.8.0]: https://github.com/orgsync/active_interaction/compare/v0.7.0...v0.8.0
807
- [0.7.0]: https://github.com/orgsync/active_interaction/compare/v0.6.1...v0.7.0
808
- [0.6.1]: https://github.com/orgsync/active_interaction/compare/v0.6.0...v0.6.1
809
- [0.6.0]: https://github.com/orgsync/active_interaction/compare/v0.5.0...v0.6.0
810
- [0.5.0]: https://github.com/orgsync/active_interaction/compare/v0.4.0...v0.5.0
811
- [0.4.0]: https://github.com/orgsync/active_interaction/compare/v0.3.0...v0.4.0
812
- [0.3.0]: https://github.com/orgsync/active_interaction/compare/v0.2.2...v0.3.0
813
- [0.2.2]: https://github.com/orgsync/active_interaction/compare/v0.2.1...v0.2.2
814
- [0.2.1]: https://github.com/orgsync/active_interaction/compare/v0.2.0...v0.2.1
815
- [0.2.0]: https://github.com/orgsync/active_interaction/compare/v0.1.3...v0.2.0
816
- [0.1.3]: https://github.com/orgsync/active_interaction/compare/v0.1.2...v0.1.3
817
- [0.1.2]: https://github.com/orgsync/active_interaction/compare/v0.1.1...v0.1.2
818
- [0.1.1]: https://github.com/orgsync/active_interaction/compare/v0.1.0...v0.1.1
819
- [0.1.0]: https://github.com/orgsync/active_interaction/compare/v0.0.0...v0.1.0
820
-
821
- [#20]: https://github.com/orgsync/active_interaction/issues/20
822
- [#23]: https://github.com/orgsync/active_interaction/issues/23
823
- [#24]: https://github.com/orgsync/active_interaction/issues/24
824
- [#27]: https://github.com/orgsync/active_interaction/issues/27
825
- [#28]: https://github.com/orgsync/active_interaction/issues/28
826
- [#29]: https://github.com/orgsync/active_interaction/issues/29
827
- [#30]: https://github.com/orgsync/active_interaction/issues/30
828
- [#34]: https://github.com/orgsync/active_interaction/issues/34
829
- [#36]: https://github.com/orgsync/active_interaction/issues/36
830
- [#37]: https://github.com/orgsync/active_interaction/issues/37
831
- [#38]: https://github.com/orgsync/active_interaction/issues/38
832
- [#39]: https://github.com/orgsync/active_interaction/issues/39
833
- [#40]: https://github.com/orgsync/active_interaction/issues/40
834
- [#41]: https://github.com/orgsync/active_interaction/issues/41
835
- [#44]: https://github.com/orgsync/active_interaction/issues/44
836
- [#45]: https://github.com/orgsync/active_interaction/issues/45
837
- [#49]: https://github.com/orgsync/active_interaction/issues/49
838
- [#56]: https://github.com/orgsync/active_interaction/issues/56
839
- [#57]: https://github.com/orgsync/active_interaction/issues/57
840
- [#58]: https://github.com/orgsync/active_interaction/issues/58
841
- [#61]: https://github.com/orgsync/active_interaction/issues/61
842
- [#66]: https://github.com/orgsync/active_interaction/issues/66
843
- [#77]: https://github.com/orgsync/active_interaction/issues/77
844
- [#82]: https://github.com/orgsync/active_interaction/issues/82
845
- [#84]: https://github.com/orgsync/active_interaction/issues/84
846
- [#88]: https://github.com/orgsync/active_interaction/issues/88
847
- [#89]: https://github.com/orgsync/active_interaction/issues/89
848
- [#90]: https://github.com/orgsync/active_interaction/issues/90
849
- [#94]: https://github.com/orgsync/active_interaction/issues/94
850
- [#98]: https://github.com/orgsync/active_interaction/issues/98
851
- [#102]: https://github.com/orgsync/active_interaction/issues/102
852
- [#103]: https://github.com/orgsync/active_interaction/issues/103
853
- [#104]: https://github.com/orgsync/active_interaction/issues/104
854
- [#106]: https://github.com/orgsync/active_interaction/issues/106
855
- [#111]: https://github.com/orgsync/active_interaction/issues/111
856
- [#114]: https://github.com/orgsync/active_interaction/issues/114
857
- [#115]: https://github.com/orgsync/active_interaction/issues/115
858
- [#116]: https://github.com/orgsync/active_interaction/issues/116
859
- [#119]: https://github.com/orgsync/active_interaction/issues/119
860
- [#122]: https://github.com/orgsync/active_interaction/issues/122
861
- [#125]: https://github.com/orgsync/active_interaction/issues/125
862
- [#127]: https://github.com/orgsync/active_interaction/issues/127
863
- [#128]: https://github.com/orgsync/active_interaction/issues/128
864
- [#129]: https://github.com/orgsync/active_interaction/issues/129
865
- [#130]: https://github.com/orgsync/active_interaction/issues/130
866
- [#134]: https://github.com/orgsync/active_interaction/issues/134
867
- [#135]: https://github.com/orgsync/active_interaction/issues/135
868
- [#136]: https://github.com/orgsync/active_interaction/issues/136
869
- [#138]: https://github.com/orgsync/active_interaction/issues/138
870
- [#140]: https://github.com/orgsync/active_interaction/issues/140
871
- [#143]: https://github.com/orgsync/active_interaction/issues/143
872
- [#153]: https://github.com/orgsync/active_interaction/issues/153
873
- [#155]: https://github.com/orgsync/active_interaction/issues/155
874
- [#156]: https://github.com/orgsync/active_interaction/issues/156
875
- [#163]: https://github.com/orgsync/active_interaction/issues/163
876
- [#164]: https://github.com/orgsync/active_interaction/issues/164
877
- [#165]: https://github.com/orgsync/active_interaction/issues/165
878
- [#173]: https://github.com/orgsync/active_interaction/issues/173
879
- [#174]: https://github.com/orgsync/active_interaction/issues/174
880
- [#175]: https://github.com/orgsync/active_interaction/issues/175
881
- [#178]: https://github.com/orgsync/active_interaction/issues/178
882
- [#179]: https://github.com/orgsync/active_interaction/issues/179
883
- [#192]: https://github.com/orgsync/active_interaction/issues/192
884
- [#196]: https://github.com/orgsync/active_interaction/issues/196
885
- [#201]: https://github.com/orgsync/active_interaction/issues/201
886
- [#203]: https://github.com/orgsync/active_interaction/issues/203
887
- [#206]: https://github.com/orgsync/active_interaction/issues/206
888
- [#207]: https://github.com/orgsync/active_interaction/issues/207
889
- [#213]: https://github.com/orgsync/active_interaction/issues/213
890
- [#214]: https://github.com/orgsync/active_interaction/issues/214
891
- [#215]: https://github.com/orgsync/active_interaction/issues/215
892
- [#224]: https://github.com/orgsync/active_interaction/issues/224
893
- [#235]: https://github.com/orgsync/active_interaction/issues/235
894
- [#236]: https://github.com/orgsync/active_interaction/issues/236
895
- [#239]: https://github.com/orgsync/active_interaction/issues/239
896
- [#244]: https://github.com/orgsync/active_interaction/issues/244
897
- [#248]: https://github.com/orgsync/active_interaction/issues/248
898
- [#250]: https://github.com/orgsync/active_interaction/issues/250
899
- [#256]: https://github.com/orgsync/active_interaction/issues/256
900
- [#264]: https://github.com/orgsync/active_interaction/issues/264
901
- [#265]: https://github.com/orgsync/active_interaction/issues/265
902
- [#269]: https://github.com/orgsync/active_interaction/issues/269
903
- [#286]: https://github.com/orgsync/active_interaction/issues/286
904
- [#289]: https://github.com/orgsync/active_interaction/issues/289
905
- [#295]: https://github.com/orgsync/active_interaction/issues/295
906
- [#296]: https://github.com/orgsync/active_interaction/issues/296
907
- [#298]: https://github.com/orgsync/active_interaction/issues/298
908
- [#303]: https://github.com/orgsync/active_interaction/issues/303
909
- [#304]: https://github.com/orgsync/active_interaction/issues/304
910
- [#310]: https://github.com/orgsync/active_interaction/issues/310
911
- [#311]: https://github.com/orgsync/active_interaction/issues/311
912
- [#320]: https://github.com/orgsync/active_interaction/issues/320
913
- [#330]: https://github.com/orgsync/active_interaction/pull/330
914
- [#332]: https://github.com/orgsync/active_interaction/pull/332
915
- [#333]: https://github.com/orgsync/active_interaction/pull/333
916
- [#336]: https://github.com/orgsync/active_interaction/pull/336
917
- [#344]: https://github.com/orgsync/active_interaction/pull/344
918
- [#346]: https://github.com/orgsync/active_interaction/pull/346
919
- [#349]: https://github.com/orgsync/active_interaction/pull/349
920
- [#357]: https://github.com/orgsync/active_interaction/pull/357
921
- [#362]: https://github.com/orgsync/active_interaction/pull/362
922
- [#364]: https://github.com/orgsync/active_interaction/pull/364
923
- [#365]: https://github.com/orgsync/active_interaction/pull/365
924
- [#370]: https://github.com/orgsync/active_interaction/pull/370
925
- [#377]: https://github.com/orgsync/active_interaction/pull/377
926
- [#383]: https://github.com/orgsync/active_interaction/pull/383
927
- [#384]: https://github.com/orgsync/active_interaction/pull/384
928
- [#387]: https://github.com/orgsync/active_interaction/pull/387
929
- [#408]: https://github.com/orgsync/active_interaction/pull/408
930
- [#411]: https://github.com/orgsync/active_interaction/pull/411
931
- [#415]: https://github.com/orgsync/active_interaction/pull/415
932
- [#417]: https://github.com/orgsync/active_interaction/pull/417
933
- [#420]: https://github.com/orgsync/active_interaction/pull/420
934
- [#422]: https://github.com/orgsync/active_interaction/pull/422
935
- [#425]: https://github.com/orgsync/active_interaction/pull/425
936
- [#429]: https://github.com/orgsync/active_interaction/pull/429
937
- [#435]: https://github.com/orgsync/active_interaction/pull/435
938
- [#454]: https://github.com/orgsync/active_interaction/pull/454
755
+ [3.7.1]: https://github.com/AaronLasseigne/active_interaction/compare/v3.7.0...v3.7.1
756
+ [3.7.0]: https://github.com/AaronLasseigne/active_interaction/compare/v3.6.2...v3.7.0
757
+ [3.6.2]: https://github.com/AaronLasseigne/active_interaction/compare/v3.6.1...v3.6.2
758
+ [3.6.1]: https://github.com/AaronLasseigne/active_interaction/compare/v3.6.0...v3.6.1
759
+ [3.6.0]: https://github.com/AaronLasseigne/active_interaction/compare/v3.5.3...v3.6.0
760
+ [3.5.3]: https://github.com/AaronLasseigne/active_interaction/compare/v3.5.2...v3.5.3
761
+ [3.5.2]: https://github.com/AaronLasseigne/active_interaction/compare/v3.5.1...v3.5.2
762
+ [3.5.1]: https://github.com/AaronLasseigne/active_interaction/compare/v3.5.0...v3.5.1
763
+ [3.5.0]: https://github.com/AaronLasseigne/active_interaction/compare/v3.4.0...v3.5.0
764
+ [3.4.0]: https://github.com/AaronLasseigne/active_interaction/compare/v3.3.0...v3.4.0
765
+ [3.3.0]: https://github.com/AaronLasseigne/active_interaction/compare/v3.2.1...v3.3.0
766
+ [3.2.1]: https://github.com/AaronLasseigne/active_interaction/compare/v3.2.0...v3.2.1
767
+ [3.2.0]: https://github.com/AaronLasseigne/active_interaction/compare/v3.1.1...v3.2.0
768
+ [3.1.1]: https://github.com/AaronLasseigne/active_interaction/compare/v3.1.0...v3.1.1
769
+ [3.1.0]: https://github.com/AaronLasseigne/active_interaction/compare/v3.0.1...v3.1.0
770
+ [3.0.1]: https://github.com/AaronLasseigne/active_interaction/compare/v3.0.0...v3.0.1
771
+ [3.0.0]: https://github.com/AaronLasseigne/active_interaction/compare/v2.2.0...v3.0.0
772
+ [2.2.0]: https://github.com/AaronLasseigne/active_interaction/compare/v2.1.5...v2.2.0
773
+ [2.1.5]: https://github.com/AaronLasseigne/active_interaction/compare/v2.1.4...v2.1.5
774
+ [2.1.4]: https://github.com/AaronLasseigne/active_interaction/compare/v2.1.3...v2.1.4
775
+ [2.1.3]: https://github.com/AaronLasseigne/active_interaction/compare/v2.1.2...v2.1.3
776
+ [2.1.2]: https://github.com/AaronLasseigne/active_interaction/compare/v2.1.1...v2.1.2
777
+ [2.1.1]: https://github.com/AaronLasseigne/active_interaction/compare/v2.1.0...v2.1.1
778
+ [2.1.0]: https://github.com/AaronLasseigne/active_interaction/compare/v2.0.1...v2.1.0
779
+ [2.0.1]: https://github.com/AaronLasseigne/active_interaction/compare/v2.0.0...v2.0.1
780
+ [2.0.0]: https://github.com/AaronLasseigne/active_interaction/compare/v1.6.0...v2.0.0
781
+ [1.6.1]: https://github.com/AaronLasseigne/active_interaction/compare/v1.6.0...v1.6.1
782
+ [1.6.0]: https://github.com/AaronLasseigne/active_interaction/compare/v1.5.1...v1.6.0
783
+ [1.5.1]: https://github.com/AaronLasseigne/active_interaction/compare/v1.5.0...v1.5.1
784
+ [1.5.0]: https://github.com/AaronLasseigne/active_interaction/compare/v1.4.1...v1.5.0
785
+ [1.4.1]: https://github.com/AaronLasseigne/active_interaction/compare/v1.4.0...v1.4.1
786
+ [1.4.0]: https://github.com/AaronLasseigne/active_interaction/compare/v1.3.1...v1.4.0
787
+ [1.3.1]: https://github.com/AaronLasseigne/active_interaction/compare/v1.3.0...v1.3.1
788
+ [1.3.0]: https://github.com/AaronLasseigne/active_interaction/compare/v1.2.5...v1.3.0
789
+ [1.2.5]: https://github.com/AaronLasseigne/active_interaction/compare/v1.2.4...v1.2.5
790
+ [1.2.4]: https://github.com/AaronLasseigne/active_interaction/compare/v1.2.3...v1.2.4
791
+ [1.2.3]: https://github.com/AaronLasseigne/active_interaction/compare/v1.2.2...v1.2.3
792
+ [1.2.2]: https://github.com/AaronLasseigne/active_interaction/compare/v1.2.1...v1.2.2
793
+ [1.2.1]: https://github.com/AaronLasseigne/active_interaction/compare/v1.2.0...v1.2.1
794
+ [1.2.0]: https://github.com/AaronLasseigne/active_interaction/compare/v1.1.7...v1.2.0
795
+ [1.1.7]: https://github.com/AaronLasseigne/active_interaction/compare/v1.1.6...v1.1.7
796
+ [1.1.6]: https://github.com/AaronLasseigne/active_interaction/compare/v1.1.5...v1.1.6
797
+ [1.1.5]: https://github.com/AaronLasseigne/active_interaction/compare/v1.1.4...v1.1.5
798
+ [1.1.4]: https://github.com/AaronLasseigne/active_interaction/compare/v1.1.3...v1.1.4
799
+ [1.1.3]: https://github.com/AaronLasseigne/active_interaction/compare/v1.1.2...v1.1.3
800
+ [1.1.2]: https://github.com/AaronLasseigne/active_interaction/compare/v1.1.1...v1.1.2
801
+ [1.1.1]: https://github.com/AaronLasseigne/active_interaction/compare/v1.1.0...v1.1.1
802
+ [1.1.0]: https://github.com/AaronLasseigne/active_interaction/compare/v1.0.5...v1.1.0
803
+ [1.0.5]: https://github.com/AaronLasseigne/active_interaction/compare/v1.0.4...v1.0.5
804
+ [1.0.4]: https://github.com/AaronLasseigne/active_interaction/compare/v1.0.3...v1.0.4
805
+ [1.0.3]: https://github.com/AaronLasseigne/active_interaction/compare/v1.0.2...v1.0.3
806
+ [1.0.2]: https://github.com/AaronLasseigne/active_interaction/compare/v1.0.1...v1.0.2
807
+ [1.0.1]: https://github.com/AaronLasseigne/active_interaction/compare/v1.0.0...v1.0.1
808
+ [1.0.0]: https://github.com/AaronLasseigne/active_interaction/compare/v0.10.2...v1.0.0
809
+ [0.10.2]: https://github.com/AaronLasseigne/active_interaction/compare/v0.10.1...v0.10.2
810
+ [0.10.1]: https://github.com/AaronLasseigne/active_interaction/compare/v0.10.0...v0.10.1
811
+ [0.10.0]: https://github.com/AaronLasseigne/active_interaction/compare/v0.9.1...v0.10.0
812
+ [0.9.1]: https://github.com/AaronLasseigne/active_interaction/compare/v0.9.0...v0.9.1
813
+ [0.9.0]: https://github.com/AaronLasseigne/active_interaction/compare/v0.8.0...v0.9.0
814
+ [0.8.0]: https://github.com/AaronLasseigne/active_interaction/compare/v0.7.0...v0.8.0
815
+ [0.7.0]: https://github.com/AaronLasseigne/active_interaction/compare/v0.6.1...v0.7.0
816
+ [0.6.1]: https://github.com/AaronLasseigne/active_interaction/compare/v0.6.0...v0.6.1
817
+ [0.6.0]: https://github.com/AaronLasseigne/active_interaction/compare/v0.5.0...v0.6.0
818
+ [0.5.0]: https://github.com/AaronLasseigne/active_interaction/compare/v0.4.0...v0.5.0
819
+ [0.4.0]: https://github.com/AaronLasseigne/active_interaction/compare/v0.3.0...v0.4.0
820
+ [0.3.0]: https://github.com/AaronLasseigne/active_interaction/compare/v0.2.2...v0.3.0
821
+ [0.2.2]: https://github.com/AaronLasseigne/active_interaction/compare/v0.2.1...v0.2.2
822
+ [0.2.1]: https://github.com/AaronLasseigne/active_interaction/compare/v0.2.0...v0.2.1
823
+ [0.2.0]: https://github.com/AaronLasseigne/active_interaction/compare/v0.1.3...v0.2.0
824
+ [0.1.3]: https://github.com/AaronLasseigne/active_interaction/compare/v0.1.2...v0.1.3
825
+ [0.1.2]: https://github.com/AaronLasseigne/active_interaction/compare/v0.1.1...v0.1.2
826
+ [0.1.1]: https://github.com/AaronLasseigne/active_interaction/compare/v0.1.0...v0.1.1
827
+ [0.1.0]: https://github.com/AaronLasseigne/active_interaction/compare/v0.0.0...v0.1.0
828
+
829
+ [#20]: https://github.com/AaronLasseigne/active_interaction/issues/20
830
+ [#23]: https://github.com/AaronLasseigne/active_interaction/issues/23
831
+ [#24]: https://github.com/AaronLasseigne/active_interaction/issues/24
832
+ [#27]: https://github.com/AaronLasseigne/active_interaction/issues/27
833
+ [#28]: https://github.com/AaronLasseigne/active_interaction/issues/28
834
+ [#29]: https://github.com/AaronLasseigne/active_interaction/issues/29
835
+ [#30]: https://github.com/AaronLasseigne/active_interaction/issues/30
836
+ [#34]: https://github.com/AaronLasseigne/active_interaction/issues/34
837
+ [#36]: https://github.com/AaronLasseigne/active_interaction/issues/36
838
+ [#37]: https://github.com/AaronLasseigne/active_interaction/issues/37
839
+ [#38]: https://github.com/AaronLasseigne/active_interaction/issues/38
840
+ [#39]: https://github.com/AaronLasseigne/active_interaction/issues/39
841
+ [#40]: https://github.com/AaronLasseigne/active_interaction/issues/40
842
+ [#41]: https://github.com/AaronLasseigne/active_interaction/issues/41
843
+ [#44]: https://github.com/AaronLasseigne/active_interaction/issues/44
844
+ [#45]: https://github.com/AaronLasseigne/active_interaction/issues/45
845
+ [#49]: https://github.com/AaronLasseigne/active_interaction/issues/49
846
+ [#56]: https://github.com/AaronLasseigne/active_interaction/issues/56
847
+ [#57]: https://github.com/AaronLasseigne/active_interaction/issues/57
848
+ [#58]: https://github.com/AaronLasseigne/active_interaction/issues/58
849
+ [#61]: https://github.com/AaronLasseigne/active_interaction/issues/61
850
+ [#66]: https://github.com/AaronLasseigne/active_interaction/issues/66
851
+ [#77]: https://github.com/AaronLasseigne/active_interaction/issues/77
852
+ [#82]: https://github.com/AaronLasseigne/active_interaction/issues/82
853
+ [#84]: https://github.com/AaronLasseigne/active_interaction/issues/84
854
+ [#88]: https://github.com/AaronLasseigne/active_interaction/issues/88
855
+ [#89]: https://github.com/AaronLasseigne/active_interaction/issues/89
856
+ [#90]: https://github.com/AaronLasseigne/active_interaction/issues/90
857
+ [#94]: https://github.com/AaronLasseigne/active_interaction/issues/94
858
+ [#98]: https://github.com/AaronLasseigne/active_interaction/issues/98
859
+ [#102]: https://github.com/AaronLasseigne/active_interaction/issues/102
860
+ [#103]: https://github.com/AaronLasseigne/active_interaction/issues/103
861
+ [#104]: https://github.com/AaronLasseigne/active_interaction/issues/104
862
+ [#106]: https://github.com/AaronLasseigne/active_interaction/issues/106
863
+ [#111]: https://github.com/AaronLasseigne/active_interaction/issues/111
864
+ [#114]: https://github.com/AaronLasseigne/active_interaction/issues/114
865
+ [#115]: https://github.com/AaronLasseigne/active_interaction/issues/115
866
+ [#116]: https://github.com/AaronLasseigne/active_interaction/issues/116
867
+ [#119]: https://github.com/AaronLasseigne/active_interaction/issues/119
868
+ [#122]: https://github.com/AaronLasseigne/active_interaction/issues/122
869
+ [#125]: https://github.com/AaronLasseigne/active_interaction/issues/125
870
+ [#127]: https://github.com/AaronLasseigne/active_interaction/issues/127
871
+ [#128]: https://github.com/AaronLasseigne/active_interaction/issues/128
872
+ [#129]: https://github.com/AaronLasseigne/active_interaction/issues/129
873
+ [#130]: https://github.com/AaronLasseigne/active_interaction/issues/130
874
+ [#134]: https://github.com/AaronLasseigne/active_interaction/issues/134
875
+ [#135]: https://github.com/AaronLasseigne/active_interaction/issues/135
876
+ [#136]: https://github.com/AaronLasseigne/active_interaction/issues/136
877
+ [#138]: https://github.com/AaronLasseigne/active_interaction/issues/138
878
+ [#140]: https://github.com/AaronLasseigne/active_interaction/issues/140
879
+ [#143]: https://github.com/AaronLasseigne/active_interaction/issues/143
880
+ [#153]: https://github.com/AaronLasseigne/active_interaction/issues/153
881
+ [#155]: https://github.com/AaronLasseigne/active_interaction/issues/155
882
+ [#156]: https://github.com/AaronLasseigne/active_interaction/issues/156
883
+ [#163]: https://github.com/AaronLasseigne/active_interaction/issues/163
884
+ [#164]: https://github.com/AaronLasseigne/active_interaction/issues/164
885
+ [#165]: https://github.com/AaronLasseigne/active_interaction/issues/165
886
+ [#173]: https://github.com/AaronLasseigne/active_interaction/issues/173
887
+ [#174]: https://github.com/AaronLasseigne/active_interaction/issues/174
888
+ [#175]: https://github.com/AaronLasseigne/active_interaction/issues/175
889
+ [#178]: https://github.com/AaronLasseigne/active_interaction/issues/178
890
+ [#179]: https://github.com/AaronLasseigne/active_interaction/issues/179
891
+ [#192]: https://github.com/AaronLasseigne/active_interaction/issues/192
892
+ [#196]: https://github.com/AaronLasseigne/active_interaction/issues/196
893
+ [#201]: https://github.com/AaronLasseigne/active_interaction/issues/201
894
+ [#203]: https://github.com/AaronLasseigne/active_interaction/issues/203
895
+ [#206]: https://github.com/AaronLasseigne/active_interaction/issues/206
896
+ [#207]: https://github.com/AaronLasseigne/active_interaction/issues/207
897
+ [#213]: https://github.com/AaronLasseigne/active_interaction/issues/213
898
+ [#214]: https://github.com/AaronLasseigne/active_interaction/issues/214
899
+ [#215]: https://github.com/AaronLasseigne/active_interaction/issues/215
900
+ [#224]: https://github.com/AaronLasseigne/active_interaction/issues/224
901
+ [#235]: https://github.com/AaronLasseigne/active_interaction/issues/235
902
+ [#236]: https://github.com/AaronLasseigne/active_interaction/issues/236
903
+ [#239]: https://github.com/AaronLasseigne/active_interaction/issues/239
904
+ [#244]: https://github.com/AaronLasseigne/active_interaction/issues/244
905
+ [#248]: https://github.com/AaronLasseigne/active_interaction/issues/248
906
+ [#250]: https://github.com/AaronLasseigne/active_interaction/issues/250
907
+ [#256]: https://github.com/AaronLasseigne/active_interaction/issues/256
908
+ [#264]: https://github.com/AaronLasseigne/active_interaction/issues/264
909
+ [#265]: https://github.com/AaronLasseigne/active_interaction/issues/265
910
+ [#269]: https://github.com/AaronLasseigne/active_interaction/issues/269
911
+ [#286]: https://github.com/AaronLasseigne/active_interaction/issues/286
912
+ [#289]: https://github.com/AaronLasseigne/active_interaction/issues/289
913
+ [#295]: https://github.com/AaronLasseigne/active_interaction/issues/295
914
+ [#296]: https://github.com/AaronLasseigne/active_interaction/issues/296
915
+ [#298]: https://github.com/AaronLasseigne/active_interaction/issues/298
916
+ [#303]: https://github.com/AaronLasseigne/active_interaction/issues/303
917
+ [#304]: https://github.com/AaronLasseigne/active_interaction/issues/304
918
+ [#310]: https://github.com/AaronLasseigne/active_interaction/issues/310
919
+ [#311]: https://github.com/AaronLasseigne/active_interaction/issues/311
920
+ [#320]: https://github.com/AaronLasseigne/active_interaction/issues/320
921
+ [#330]: https://github.com/AaronLasseigne/active_interaction/pull/330
922
+ [#332]: https://github.com/AaronLasseigne/active_interaction/pull/332
923
+ [#333]: https://github.com/AaronLasseigne/active_interaction/pull/333
924
+ [#336]: https://github.com/AaronLasseigne/active_interaction/pull/336
925
+ [#344]: https://github.com/AaronLasseigne/active_interaction/pull/344
926
+ [#346]: https://github.com/AaronLasseigne/active_interaction/pull/346
927
+ [#349]: https://github.com/AaronLasseigne/active_interaction/issues/349
928
+ [#357]: https://github.com/AaronLasseigne/active_interaction/issues/357
929
+ [#362]: https://github.com/AaronLasseigne/active_interaction/pull/362
930
+ [#364]: https://github.com/AaronLasseigne/active_interaction/pull/364
931
+ [#365]: https://github.com/AaronLasseigne/active_interaction/pull/365
932
+ [#370]: https://github.com/AaronLasseigne/active_interaction/pull/370
933
+ [#377]: https://github.com/AaronLasseigne/active_interaction/pull/377
934
+ [#383]: https://github.com/AaronLasseigne/active_interaction/pull/383
935
+ [#384]: https://github.com/AaronLasseigne/active_interaction/issues/384
936
+ [#387]: https://github.com/AaronLasseigne/active_interaction/pull/387
937
+ [#408]: https://github.com/AaronLasseigne/active_interaction/issues/408
938
+ [#411]: https://github.com/AaronLasseigne/active_interaction/issues/411
939
+ [#415]: https://github.com/AaronLasseigne/active_interaction/issues/415
940
+ [#417]: https://github.com/AaronLasseigne/active_interaction/issues/417
941
+ [#420]: https://github.com/AaronLasseigne/active_interaction/issues/420
942
+ [#422]: https://github.com/AaronLasseigne/active_interaction/issues/422
943
+ [#425]: https://github.com/AaronLasseigne/active_interaction/issues/425
944
+ [#429]: https://github.com/AaronLasseigne/active_interaction/issues/429
945
+ [#435]: https://github.com/AaronLasseigne/active_interaction/issues/435
946
+ [#454]: https://github.com/AaronLasseigne/active_interaction/pull/454
947
+ [#455]: https://github.com/AaronLasseigne/active_interaction/pull/455
948
+ [#457]: https://github.com/AaronLasseigne/active_interaction/issues/457
data/README.md CHANGED
@@ -614,7 +614,7 @@ end
614
614
 
615
615
  DecimalInteraction.run!(price: 'one ninety-nine')
616
616
  # ActiveInteraction::InvalidInteractionError: Price is not a valid decimal
617
- DecimalInteraction.run!(price: BigDecimal.new(1.99, 2))
617
+ DecimalInteraction.run!(price: BigDecimal(1.99, 2))
618
618
  # => #<BigDecimal:7fe792a42028,'0.2165E1',18(45)>
619
619
  ```
620
620
 
@@ -74,20 +74,20 @@ module ActiveInteraction
74
74
  def run # rubocop:disable MethodLength
75
75
  self.result =
76
76
  if valid?
77
- result_or_errors = run_callbacks(:execute) do
78
- begin
79
- execute
80
- rescue Interrupt => interrupt
81
- interrupt.errors
77
+ run_callbacks(:execute) do
78
+ result_or_errors =
79
+ begin
80
+ execute
81
+ rescue Interrupt => interrupt
82
+ interrupt.errors
83
+ end
84
+
85
+ if result_or_errors.is_a?(ActiveInteraction::Errors)
86
+ errors.merge!(result_or_errors)
87
+ else
88
+ result_or_errors
82
89
  end
83
90
  end
84
-
85
- if result_or_errors.is_a?(ActiveInteraction::Errors)
86
- errors.merge!(result_or_errors)
87
- nil
88
- else
89
- result_or_errors
90
- end
91
91
  end
92
92
  end
93
93
 
@@ -25,7 +25,7 @@ module ActiveInteraction
25
25
  def cast(value, _interaction)
26
26
  case value
27
27
  when Numeric
28
- BigDecimal.new(value, digits)
28
+ BigDecimal(value, digits)
29
29
  when String
30
30
  decimal_from_string(value)
31
31
  else
@@ -47,7 +47,7 @@ module ActiveInteraction
47
47
  # @raise [InvalidValueError] if given value can not be converted
48
48
  def decimal_from_string(value)
49
49
  Float(value)
50
- BigDecimal.new(value, digits)
50
+ BigDecimal(value, digits)
51
51
  rescue ArgumentError
52
52
  raise InvalidValueError, "Given value: #{value.inspect}"
53
53
  end
@@ -6,5 +6,5 @@ module ActiveInteraction
6
6
  # The version number.
7
7
  #
8
8
  # @return [Gem::Version]
9
- VERSION = Gem::Version.new('3.7.0')
9
+ VERSION = Gem::Version.new('3.7.1')
10
10
  end
@@ -103,6 +103,20 @@ describe ActiveInteraction::Runnable do
103
103
  WithFailingCompose.run
104
104
  expect(has_run).to be_truthy
105
105
  end
106
+
107
+ context 'using if' do
108
+ it 'yields errors to the if' do
109
+ has_run = false
110
+ # rubocop:disable Metic/LineLength
111
+ WithFailingCompose.set_callback :execute, :after, if: -> { errors.any? } do
112
+ has_run = true
113
+ end
114
+ # rubocop:enable Metic/LineLength
115
+
116
+ WithFailingCompose.run
117
+ expect(has_run).to be_truthy
118
+ end
119
+ end
106
120
  end
107
121
  end
108
122
  end
@@ -21,7 +21,7 @@ describe ActiveInteraction::DecimalFilter, :filter do
21
21
  let(:value) { rand }
22
22
 
23
23
  it 'returns the BigDecimal' do
24
- expect(result).to eql BigDecimal.new(value, 0)
24
+ expect(result).to eql BigDecimal(value, 0)
25
25
  end
26
26
 
27
27
  context 'with :digits option' do
@@ -30,7 +30,7 @@ describe ActiveInteraction::DecimalFilter, :filter do
30
30
  let(:value) { 1.23456789 }
31
31
 
32
32
  it 'returns BigDecimal with given digits' do
33
- expect(result).to eql BigDecimal.new('1.235')
33
+ expect(result).to eql BigDecimal('1.235')
34
34
  end
35
35
  end
36
36
  end
@@ -39,7 +39,7 @@ describe ActiveInteraction::DecimalFilter, :filter do
39
39
  let(:value) { rand(1 << 16) }
40
40
 
41
41
  it 'returns a BigDecimal' do
42
- expect(result).to eql BigDecimal.new(value)
42
+ expect(result).to eql BigDecimal(value)
43
43
  end
44
44
  end
45
45
 
@@ -47,7 +47,7 @@ describe ActiveInteraction::DecimalFilter, :filter do
47
47
  let(:value) { rand.to_s }
48
48
 
49
49
  it 'returns a BigDecimal' do
50
- expect(result).to eql BigDecimal.new(value)
50
+ expect(result).to eql BigDecimal(value)
51
51
  end
52
52
  end
53
53
 
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.7.0
4
+ version: 3.7.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: 2019-02-11 00:00:00.000000000 Z
12
+ date: 2019-03-20 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activemodel
@@ -264,7 +264,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
264
264
  - !ruby/object:Gem::Version
265
265
  version: '0'
266
266
  requirements: []
267
- rubygems_version: 3.0.1
267
+ rubygems_version: 3.0.3
268
268
  signing_key:
269
269
  specification_version: 4
270
270
  summary: Manage application specific business logic.