incrdecr_cached_counts 0.4.0 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cached_counts.rb +0 -1
- data/lib/cached_counts/version.rb +1 -1
- data/spec/spec_helper.rb +2 -2
- metadata +2 -3
- data/lib/cached_counts/dalli_check.rb +0 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5c0a0f2090aabd3b286436ad4bce2dca587f003cb5c19307be1d7974c84894ab
|
4
|
+
data.tar.gz: 546850171cb6d859149155acd0a6c3cc4697702306c7e7d7015c6a6e86bc4066
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dc5aa5c3e0977528853821aa6d11484f1bfccbb8c435c003ea4c90856cac06933448c52707884dd182a5727f04c701ff5a5bf21d8454b695637a62fd0860ed72
|
7
|
+
data.tar.gz: 7ce3ec421d5bea4a5f6e1a5a80c341fcb603f8288a13751058afb9ced3aea58ceae75668a42522132d3f3246e5955a60a16ecf80f6b9a1b6d6017a1286e9f9b1
|
data/lib/cached_counts.rb
CHANGED
data/spec/spec_helper.rb
CHANGED
@@ -3,7 +3,7 @@ require 'bundler/setup'
|
|
3
3
|
require 'pry'
|
4
4
|
require 'active_record'
|
5
5
|
require 'rails'
|
6
|
-
require 'active_support/cache/
|
6
|
+
require 'active_support/cache/mem_cache_store'
|
7
7
|
require 'cached_counts'
|
8
8
|
|
9
9
|
ActiveRecord::Base.configurations = YAML::load_file('spec/database.yml')
|
@@ -13,7 +13,7 @@ if ActiveRecord::Base.respond_to?(:raise_in_transactional_callbacks)
|
|
13
13
|
ActiveRecord::Base.raise_in_transactional_callbacks = true
|
14
14
|
end
|
15
15
|
|
16
|
-
Rails.cache = ActiveSupport::Cache::
|
16
|
+
Rails.cache = ActiveSupport::Cache::MemCacheStore.new("localhost")
|
17
17
|
|
18
18
|
RSpec.configure do |config|
|
19
19
|
config.before(:each) do
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: incrdecr_cached_counts
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Judd
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-01-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -111,7 +111,6 @@ files:
|
|
111
111
|
- Rakefile
|
112
112
|
- incrdecr_cached_counts.gemspec
|
113
113
|
- lib/cached_counts.rb
|
114
|
-
- lib/cached_counts/dalli_check.rb
|
115
114
|
- lib/cached_counts/logger.rb
|
116
115
|
- lib/cached_counts/query_context.rb
|
117
116
|
- lib/cached_counts/railtie.rb
|