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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8ab07ab8e11e7520b6bfb6d309943f8824076362
4
- data.tar.gz: ad6a3abff29c918cd16e9dc94a283f222cfdb606
3
+ metadata.gz: 6c0a7bd4023ebbb079c20a6b79845d12ea0493a0
4
+ data.tar.gz: 77d036b6babd1742da69e85804428e66f6c0c6ff
5
5
  SHA512:
6
- metadata.gz: fcecd3db779daa85deb56636edd9511c670cca9c079a02f861a09e1547e3758af0f5423471bce501d7156d51267dd845dff5b76e6884966ef2679a8cfc7f442a
7
- data.tar.gz: 1811c6219eb8123a54dc4e6a95bd75952fd71a28ef70038b57f5a5b6f50d9073a4f67d7f0bb4b3873b45da28d4e69f3fadf471216347551bcb0774bf1759f075
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(app.cache)
5
+ ActiveRemote::Cached.cache(Rails.cache)
6
6
  ActiveRemote::Cached.default_options(:race_condition_ttl => 5.seconds)
7
7
  end
8
8
 
@@ -1,5 +1,5 @@
1
1
  module ActiveRemote
2
2
  module Cached
3
- VERSION = "0.0.6"
3
+ VERSION = "0.0.7"
4
4
  end
5
5
  end
@@ -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.6
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-07-31 00:00:00.000000000 Z
11
+ date: 2014-08-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: active_remote