active_remote-cached 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/active_remote/cached/railtie.rb +1 -1
- data/lib/active_remote/cached/version.rb +1 -1
- data/lib/active_remote/cached.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6c0a7bd4023ebbb079c20a6b79845d12ea0493a0
|
4
|
+
data.tar.gz: 77d036b6babd1742da69e85804428e66f6c0c6ff
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 01bd0c70bb4800a85e2ba2602f0806c85b9f5a72542ee827f295595d7190dda1bf3137da26242b311505c40428d757ba8e2f4aef3fe865ee3940af93b4b66b87
|
7
|
+
data.tar.gz: dff531d3a5d86fba8b8ce4c9d171a7ff7011edb449e18a4e323766f8453c43154ba68c3eae7ae81f192ba89c030f1718dbbf3babbd921930d3d0d3badee4cf86
|
@@ -2,7 +2,7 @@ module ActiveRemote
|
|
2
2
|
module Cached
|
3
3
|
class Railtie < Rails::Railtie
|
4
4
|
initializer "active_remote-cached.initialize_cache" do |app|
|
5
|
-
ActiveRemote::Cached.cache(
|
5
|
+
ActiveRemote::Cached.cache(Rails.cache)
|
6
6
|
ActiveRemote::Cached.default_options(:race_condition_ttl => 5.seconds)
|
7
7
|
end
|
8
8
|
|
data/lib/active_remote/cached.rb
CHANGED
@@ -6,8 +6,6 @@ require "active_support/core_ext/array/extract_options"
|
|
6
6
|
require "active_remote/cached/cache"
|
7
7
|
require "active_remote/cached/version"
|
8
8
|
|
9
|
-
require "active_remote/cached/railtie" if defined?(Rails)
|
10
|
-
|
11
9
|
module ActiveRemote
|
12
10
|
module Cached
|
13
11
|
extend ::ActiveSupport::Concern
|
@@ -267,3 +265,5 @@ module ActiveRemote
|
|
267
265
|
cache(ActiveSupport::Cache::MemoryStore.new)
|
268
266
|
end
|
269
267
|
end
|
268
|
+
|
269
|
+
require "active_remote/cached/railtie" if defined?(Rails)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: active_remote-cached
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brandon Dewitt
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-08-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: active_remote
|