active_record_extended 0.2.0 → 0.2.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 +4 -0
- data/Gemfile.lock +1 -1
- data/lib/active_record_extended/active_record.rb +4 -6
- data/lib/active_record_extended/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: fcb4ef3928cc2b75f2499ccdf52359bb101a0d6da8e26271f396fdefd755d5b4
|
|
4
|
+
data.tar.gz: 5dfd11998b3e4e461f25533286ae1e418c72b14dc8a18c4680956457d071cef6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b6ed469df6a02c42941f78e1dc499334790221fdd87a579080dca4d4b862641577fa3f5678bcd792a9f20367134816efa381ded242e8766406856751790f5288
|
|
7
|
+
data.tar.gz: 87c1c2e5af7f20c6f7b8d352e7953ba36074608ae66e8d1215bd0397722ccf7107553e4b25ed11ce9c16338d67519057ad3739d92eed7e46101a42fc760676e8
|
data/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,8 @@ Added ActiveRecord Where Chain Functionality
|
|
|
4
4
|
- .where.any_of
|
|
5
5
|
- .where.none_of
|
|
6
6
|
|
|
7
|
+
Major thanks to [Olivier El Mekki author of ActiveRecord AnyOf](https://github.com/oelmekki/activerecord_any_of)
|
|
8
|
+
|
|
7
9
|
# 0.1.1 - May 2nd 2018
|
|
8
10
|
|
|
9
11
|
Added ActiveRecord Where Chain Functionality:
|
|
@@ -14,6 +16,8 @@ Added ActiveRecord Where Chain Functionality:
|
|
|
14
16
|
- .where.any/1
|
|
15
17
|
- .where.all/1
|
|
16
18
|
|
|
19
|
+
Major thanks to [Dan McClain author of Postgres Ext](https://github.com/dockyard/postgres_ext)
|
|
20
|
+
|
|
17
21
|
Added ActiveRecord Base Extentions
|
|
18
22
|
- .either_order/2
|
|
19
23
|
- .either_join/2
|
data/Gemfile.lock
CHANGED
|
@@ -7,10 +7,8 @@ require "active_record_extended/query_methods/where_chain"
|
|
|
7
7
|
require "active_record_extended/query_methods/either"
|
|
8
8
|
require "active_record_extended/query_methods/any_of"
|
|
9
9
|
|
|
10
|
-
if ActiveRecord::VERSION::MAJOR >= 5
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
require "active_record_extended/patch/5_1/where_clause"
|
|
15
|
-
end
|
|
10
|
+
if ActiveRecord::VERSION::MAJOR >= 5 && ActiveRecord::VERSION::MINOR == 1
|
|
11
|
+
require "active_record_extended/patch/5_1/where_clause"
|
|
12
|
+
elsif ActiveRecord::VERSION::MAJOR >= 5
|
|
13
|
+
require "active_record_extended/patch/5_2/where_clause"
|
|
16
14
|
end
|