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: c3992494b721b481ebd3405d0e33ddb78fc14ca0
4
- data.tar.gz: 3636ed81b5735ede0ac1e24b43323ba40cb226b0
3
+ metadata.gz: 149eb891faa961501d252969bb45527c38215169
4
+ data.tar.gz: 5d02ab38b5412ffac71f329563106871a53aa9bd
5
5
  SHA512:
6
- metadata.gz: 7f2f246cff996e4c901ca7f52f6e24ebc1633b61f7e8198deecdd7ece225592e8caf040f5524e6f9484c16c4254ebf6ddcdf61bb80e6baf5d1449efb7d933ff8
7
- data.tar.gz: 7835fa76176153fdc417b6d8070505b2da7eabf6441281811fd85093879dbc85b1ed3c7e329da101b7444d646c5c20956961afca5b74fb1580d8f1f0c325042f
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
- def valid_options
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
@@ -1,5 +1,5 @@
1
1
  module ActiveRecord
2
2
  module CountLoader
3
- VERSION = "0.3.2"
3
+ VERSION = "0.3.3"
4
4
  end
5
5
  end
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.2
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-30 00:00:00.000000000 Z
11
+ date: 2015-01-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord