active_record_extended 0.2.0 → 0.2.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: 6d852a8ee92e11e7a68b77e9763553d43e965778fdebd063a7d9bce6f94e9094
4
- data.tar.gz: 72b31962b0f85f57436e2f364022a1f43edae3d471eff1efcb1b8b7d066b05d1
3
+ metadata.gz: fcb4ef3928cc2b75f2499ccdf52359bb101a0d6da8e26271f396fdefd755d5b4
4
+ data.tar.gz: 5dfd11998b3e4e461f25533286ae1e418c72b14dc8a18c4680956457d071cef6
5
5
  SHA512:
6
- metadata.gz: 1170988a8f118aaa08a7257177427748c584aebe340310aba9afe93ec4878dc237efd8098c071029ef5df200d30f1349b02f6f0e1a3862b8bc5d14f20d0c00c9
7
- data.tar.gz: cc6b9102753928f300986767cf4c9e7466ae8758e55cabc54e0ef967a40c95c981199f4319bde271155868f02bc6fec4b77f3889585354ba56023ca3bf7c271d
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
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- active_record_extended (0.1.1)
4
+ active_record_extended (0.2.0)
5
5
  activerecord (>= 5.1, < 6.0)
6
6
  ar_outer_joins (~> 0.2)
7
7
  pg (~> 0.18)
@@ -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
- if ActiveRecord::VERSION::MINOR >= 2
12
- require "active_record_extended/patch/5_2/where_clause"
13
- else
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ActiveRecordExtended
4
- VERSION = "0.2.0"
4
+ VERSION = "0.2.1"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_record_extended
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - George Protacio-Karaszi