counter_culture 2.1.3 → 2.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/counter_culture.gemspec +3 -3
- data/lib/counter_culture/extensions.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a7eb651872e81e3ab6f49970fcfc99e578c4faad126137cee4e72d85be233f3e
|
4
|
+
data.tar.gz: 5cd7b7ea96f8d6b7ab0e90ed803d734d5777506e870f9d7fe319209cf979f88d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7af00566af755096a6eccca05a1426795a05e852ed8a8c792910fc2f6399cf3747bc849b0ffa7725cc691cc22ffa617901d31013ff0be920a6938f5480ae5174
|
7
|
+
data.tar.gz: a53c2371b56e1d7f83fae4def6c6e9cfa54ad0fa74aad6aec4d5498c2f935b350c1fc692eedee03bff79d730d8aaf195a92ec1a37df7141a0903c528d25a2d57
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.1.
|
1
|
+
2.1.4
|
data/counter_culture.gemspec
CHANGED
@@ -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 2.1.
|
5
|
+
# stub: counter_culture 2.1.4 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "counter_culture".freeze
|
9
|
-
s.version = "2.1.
|
9
|
+
s.version = "2.1.4"
|
10
10
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
|
12
12
|
s.require_paths = ["lib".freeze]
|
13
13
|
s.authors = ["Magnus von Koeller".freeze]
|
14
|
-
s.date = "2019-01-
|
14
|
+
s.date = "2019-01-22"
|
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.".freeze
|
16
16
|
s.email = "magnus@vonkoeller.de".freeze
|
17
17
|
s.extra_rdoc_files = [
|
@@ -23,7 +23,7 @@ module CounterCulture
|
|
23
23
|
before_destroy :_update_counts_after_destroy, unless: :destroyed_for_counter_culture?
|
24
24
|
|
25
25
|
if respond_to?(:before_real_destroy) &&
|
26
|
-
|
26
|
+
instance_methods.include?(:paranoia_destroyed?)
|
27
27
|
before_real_destroy :_update_counts_after_destroy,
|
28
28
|
if: -> (model) { !model.paranoia_destroyed? }
|
29
29
|
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: 2.1.
|
4
|
+
version: 2.1.4
|
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: 2019-01-
|
11
|
+
date: 2019-01-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: after_commit_action
|