counter_culture 0.2.1 → 0.2.2

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: 31d3e78549aeff7e69173ac1c5723b00be56ef8f
4
- data.tar.gz: 997a2d03fb2b208894c80c1282ef7094241b12a2
3
+ metadata.gz: 9e66602a56b11c2f0d339149bbae08eea6904c87
4
+ data.tar.gz: 5e7bbc39f261492db78d74d1ae81f6cf5d98f824
5
5
  SHA512:
6
- metadata.gz: 3bac32314498b675600b72742d7cb5c317666de5d6bec07b377f8ed63b295f20ff919639136373527f725882ed03b369efb37639e0a55dce30c728614c33cd0b
7
- data.tar.gz: 556109999f9a2f28dc04250e15e89e11420d3194f0b45bf580fe46fed2fbd9fe7e174a1e7705f27ad3dd9b678e07632bf0b003690794584a11cbf8e86210c179
6
+ metadata.gz: be97b621e4e6c783ffa371ba7177af1c529bf7b0238e02a92c2c435cf8ed468ae95a81bdfab2f2a11731ad1fd339e97145beb3ecf1459358b61c879f154d8619
7
+ data.tar.gz: 23bd89ddcd5b651a835442f43795b14dcf3afc450e88fb57963663b3ed70a00c7d7739bfd6110347d5b0e468417a0e189df0836303f517f349f894f866f1fe9d
data/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ ## 0.2.2 (July 11, 2016)
2
+
3
+ Bugfixes:
4
+ - Use `ActiveSupport.on_load` for better Rails 5 compatibility (see [rails/rails#23589](https://github.com/rails/rails/issues/23589))
5
+
1
6
  ## 0.2.1 (June 15, 2016)
2
7
 
3
8
  Improvements:
data/Rakefile CHANGED
@@ -15,7 +15,7 @@ require 'jeweler'
15
15
  Jeweler::Tasks.new do |gem|
16
16
  # gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
17
17
  gem.name = "counter_culture"
18
- gem.homepage = "http://github.com/bestvendor/counter_culture"
18
+ gem.homepage = "http://github.com/magnusvk/counter_culture"
19
19
  gem.license = "MIT"
20
20
  gem.summary = %Q{Turbo-charged counter caches for your Rails app.}
21
21
  gem.description = %Q{counter_culture provides turbo-charged counter caches that are kept up-to-date not just on create and destroy, that support multiple levels of indirection through relationships, allow dynamic column names and that avoid deadlocks by updating in the after_commit callback.}
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.1
1
+ 0.2.2
@@ -2,16 +2,16 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
- # stub: counter_culture 0.2.1 ruby lib
5
+ # stub: counter_culture 0.2.2 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "counter_culture"
9
- s.version = "0.2.1"
9
+ s.version = "0.2.2"
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
12
12
  s.require_paths = ["lib"]
13
13
  s.authors = ["Magnus von Koeller"]
14
- s.date = "2016-06-15"
14
+ s.date = "2016-07-11"
15
15
  s.description = "counter_culture provides turbo-charged counter caches that are kept up-to-date not just on create and destroy, that support multiple levels of indirection through relationships, allow dynamic column names and that avoid deadlocks by updating in the after_commit callback."
16
16
  s.email = "magnus@vonkoeller.de"
17
17
  s.extra_rdoc_files = [
@@ -109,7 +109,7 @@ Gem::Specification.new do |s|
109
109
  "spec/schema.rb",
110
110
  "spec/spec_helper.rb"
111
111
  ]
112
- s.homepage = "http://github.com/bestvendor/counter_culture"
112
+ s.homepage = "http://github.com/magnusvk/counter_culture"
113
113
  s.licenses = ["MIT"]
114
114
  s.rubygems_version = "2.4.5.1"
115
115
  s.summary = "Turbo-charged counter caches for your Rails app."
@@ -16,4 +16,6 @@ module CounterCulture
16
16
  end
17
17
 
18
18
  # extend ActiveRecord with our own code here
19
- ::ActiveRecord::Base.send :include, CounterCulture::Extensions
19
+ ActiveSupport.on_load(:active_record) do
20
+ include CounterCulture::Extensions
21
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: counter_culture
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Magnus von Koeller
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-06-15 00:00:00.000000000 Z
11
+ date: 2016-07-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: after_commit_action
@@ -250,7 +250,7 @@ files:
250
250
  - spec/rails_app/vendor/plugins/.gitkeep
251
251
  - spec/schema.rb
252
252
  - spec/spec_helper.rb
253
- homepage: http://github.com/bestvendor/counter_culture
253
+ homepage: http://github.com/magnusvk/counter_culture
254
254
  licenses:
255
255
  - MIT
256
256
  metadata: {}