activerecord-count_loader 0.3.2 → 0.3.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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 149eb891faa961501d252969bb45527c38215169
|
4
|
+
data.tar.gz: 5d02ab38b5412ffac71f329563106871a53aa9bd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d3333d47367a5519fc9e5c0f5cd9aad6c3c425a6605ff6841395694db5754c16962b774618dac2aca00593924f731e309f13f1c19fe45b90afa01aa9b01e7bd9
|
7
|
+
data.tar.gz: bdf89d86915d9c9d0c2896637891c881d258f7ab420f534cece0f73e1552adc897fbf286adbb3e3c1ee668d80b5f37ca2b22833582fe3139dde26f813cc1ad08
|
@@ -1,8 +1,6 @@
|
|
1
1
|
module ActiveRecord::Associations::Builder
|
2
2
|
class CountLoader < SingularAssociation
|
3
|
-
|
4
|
-
super + [:primary_key, :dependent, :as, :through, :source, :source_type, :inverse_of, :counter_cache, :join_table, :foreign_type]
|
5
|
-
end
|
3
|
+
self.valid_options = [:class, :class_name, :foreign_key]
|
6
4
|
|
7
5
|
def macro
|
8
6
|
:count_loader
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: activerecord-count_loader
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Takashi Kokubun
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-01-
|
11
|
+
date: 2015-01-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|