activerecord-collection_cache_key 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
  SHA1:
3
- metadata.gz: 07aede839494b5c41542a32614738d6a69c5200b
4
- data.tar.gz: 88b7d562178f81990b67a3ece77f87c8a7358613
3
+ metadata.gz: f588f9c1b9325bb485e250a5465594c7d1f204c4
4
+ data.tar.gz: 08cc63675d791d89d1ccd5aeeb7d80298a08a6e5
5
5
  SHA512:
6
- metadata.gz: 9d7f20f5dbe207988d0d2cfe70c9e75b7e9511bf9177fa56b561c68494738485cbd2c65cbe25268855d03f0b0bbebb44d3da7ea7a3cab099bce99c96ec832419
7
- data.tar.gz: 808cdcec63c9bf56722949ac2332b246a0f6fca6213534af569988edec89fa8c0857fc24f4f022668d490205c2229c3131dc9f914e0bcaec83f520227a8fabb1
6
+ metadata.gz: 6bb07b6eca4f9fc214d89c9b20126192d116cd0fdd8dc10589fc62e6ca2b0ced64bf4dd69bd23252014f6ca144c69f360715ad052f644dcc7afc1cf8e79406f6
7
+ data.tar.gz: 5cc926d1978819a0d7f786e95d2c174e507f73e9e8293b8acac0c0d2d5f46334a757ab1163d528bd3d20bd0ec499fdff954ec7ae2ec6d1a33c006524157a9855
@@ -24,3 +24,9 @@ Bugfix
24
24
  * Corrects a bug in the PostgreSQL adapter where calling `first` when getting collection stats
25
25
  adds an implicit `order_by` on an unselected column.
26
26
 
27
+ ## v0.1.3 - 2016-12-13
28
+
29
+ Bugfix
30
+
31
+ * Augments `ActiveRecord::Relation` with `:send` to support Ruby 2.0.0, which
32
+ marked `.include` as a private module method.
@@ -5,4 +5,4 @@ require 'collection_cache_key/relation'
5
5
  require 'collection_cache_key/version'
6
6
 
7
7
  ActiveRecord::Base.extend CollectionCacheKey::CacheKey
8
- ActiveRecord::Relation.include CollectionCacheKey::Relation
8
+ ActiveRecord::Relation.send(:include, CollectionCacheKey::Relation)
@@ -2,7 +2,7 @@ module CollectionCacheKey
2
2
  module VERSION
3
3
  MAJOR = 0
4
4
  MINOR = 1
5
- PATCH = 2
5
+ PATCH = 3
6
6
  PRE = nil
7
7
  STRING = [MAJOR, MINOR, PATCH, PRE].compact.join('.')
8
8
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activerecord-collection_cache_key
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
  - Dan Drinkard
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-04-26 00:00:00.000000000 Z
11
+ date: 2016-12-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord