active_interaction 1.6.0 → 1.6.1
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 +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/active_interaction.rb +1 -1
- data/lib/active_interaction/filters/array_filter.rb +6 -2
- data/lib/active_interaction/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4dfc633bc6a2816016866f2a1a61c2a20805c28a
|
|
4
|
+
data.tar.gz: 53931759d4d2158be56ada22b2398a7ab539f119
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8c1a71ae668feffea91020d19b0c48633efd39c15404e6a3bfdbcaf6edef9a5f278402c7504ca77141ce761864a32ec09f8c2f6aab8b1b5b8a7951be9a132f74
|
|
7
|
+
data.tar.gz: bc56f77840ac9e9aace55893e73b4746bd0b95de9eb2e755648101f152fdd861ebfd6f4f786c6bb2e892a57604095a67c0ed0400a0ba1bf084cd40e5c67c798d
|
data/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
# [1.6.1][] (2015-10-02)
|
|
2
|
+
|
|
3
|
+
## Fixed
|
|
4
|
+
|
|
5
|
+
- [#303][]: Allowed ActiveRecord associations as inputs to array filters.
|
|
6
|
+
|
|
1
7
|
# [1.6.0][] (2015-05-06)
|
|
2
8
|
|
|
3
9
|
## Added
|
|
@@ -396,6 +402,7 @@
|
|
|
396
402
|
|
|
397
403
|
- Initial release.
|
|
398
404
|
|
|
405
|
+
[1.6.1]: https://github.com/orgsync/active_interaction/compare/v1.6.0...v1.6.1
|
|
399
406
|
[1.6.0]: https://github.com/orgsync/active_interaction/compare/v1.5.1...v1.6.0
|
|
400
407
|
[1.5.1]: https://github.com/orgsync/active_interaction/compare/v1.5.0...v1.5.1
|
|
401
408
|
[1.5.0]: https://github.com/orgsync/active_interaction/compare/v1.4.1...v1.5.0
|
|
@@ -517,3 +524,4 @@
|
|
|
517
524
|
[#248]: https://github.com/orgsync/active_interaction/issues/248
|
|
518
525
|
[#256]: https://github.com/orgsync/active_interaction/issues/256
|
|
519
526
|
[#265]: https://github.com/orgsync/active_interaction/issues/265
|
|
527
|
+
[#303]: https://github.com/orgsync/active_interaction/issues/303
|
data/lib/active_interaction.rb
CHANGED
|
@@ -65,8 +65,12 @@ module ActiveInteraction
|
|
|
65
65
|
def classes
|
|
66
66
|
result = [Array]
|
|
67
67
|
|
|
68
|
-
|
|
69
|
-
|
|
68
|
+
%w[
|
|
69
|
+
ActiveRecord::Relation
|
|
70
|
+
ActiveRecord::Associations::CollectionProxy
|
|
71
|
+
].each do |name|
|
|
72
|
+
next unless (klass = name.safe_constantize)
|
|
73
|
+
result.push(klass)
|
|
70
74
|
end
|
|
71
75
|
|
|
72
76
|
result
|
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: 1.6.
|
|
4
|
+
version: 1.6.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: 2015-
|
|
12
|
+
date: 2015-10-02 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: activemodel
|
|
@@ -273,7 +273,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
273
273
|
version: '0'
|
|
274
274
|
requirements: []
|
|
275
275
|
rubyforge_project:
|
|
276
|
-
rubygems_version: 2.4.
|
|
276
|
+
rubygems_version: 2.4.5
|
|
277
277
|
signing_key:
|
|
278
278
|
specification_version: 4
|
|
279
279
|
summary: Manage application specific business logic.
|