active_record_association_query_economizer 0.1.2 → 0.1.3

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: 6f7e394bd1afd51a8899626c9647a0236e9a9d2ba0849f517ed13a9aea8c32c7
4
- data.tar.gz: d036d1e7375a940a1e30b8130af91b7d77cbbfd34ed9a09ee73ff3f91e38f4e4
3
+ metadata.gz: a1b68f4e24cbf4bdf20626b0152d71c12fc9cbf034b39e8d06e7845fc4e8cf87
4
+ data.tar.gz: ebd9b8b1dc1e45e9322fecebc8f0a38694665ab794b538f3dd11ca325687a46c
5
5
  SHA512:
6
- metadata.gz: 083199e1248c49d89ccd7cc7c8439755632ac9e74c692db688649ff3b834a09c9678412fa097da5121d79ac1222233b3275a1c92acec093851b99cff6be39861
7
- data.tar.gz: df6a48e2a57d95037864290f613e8098aadd0fcc9d97745fda3c15c2d51a0a7b612bd1370da97c87c7c99a82d3bc5bb810347d0056cbaae41c9aedde8e67038b
6
+ metadata.gz: af0c2481f88391921fb9d75463c8c9dfa5d8a3fd1a476204f6c5f4e5a1de77a2cc556a986a9a9282129aca4ac056d23424602578f7c635fdc34f217a72e65f28
7
+ data.tar.gz: 3c9e9a6abb7586b5a2ca00d9c4a9fed06903b0daf4a83420780a167c14b95942385c27ecba7cd59785c0951c5cb8844a1447d7a508eb13f5861fa752699f4e95
@@ -0,0 +1,11 @@
1
+ module ActiveRecordAssociationQueryEconomizer
2
+ class AssociationExtension
3
+ def valid_options
4
+ [:preload_if]
5
+ end
6
+
7
+ def build(model, reflection)
8
+ # nothing to do
9
+ end
10
+ end
11
+ end
@@ -1,3 +1,3 @@
1
1
  module ActiveRecordAssociationQueryEconomizer
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_record_association_query_economizer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - toru.yagi
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-08-03 00:00:00.000000000 Z
11
+ date: 2017-08-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -105,6 +105,7 @@ files:
105
105
  - gemfiles/activerecord-50.gemfile
106
106
  - gemfiles/activerecord-51.gemfile
107
107
  - lib/active_record_association_query_economizer.rb
108
+ - lib/active_record_association_query_economizer/association_extension.rb
108
109
  - lib/active_record_association_query_economizer/rails4-2/associations.rb
109
110
  - lib/active_record_association_query_economizer/rails5/associations.rb
110
111
  - lib/active_record_association_query_economizer/version.rb