excursion 0.0.13 → 0.0.15
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/excursion/pool.rb +2 -2
- data/lib/excursion/version.rb +1 -1
- 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: e59d9d16c549f96a4fff810e41959845dff9a47b
|
4
|
+
data.tar.gz: c50fcaa0fd1b057cfcb1e6f884f6193679d339c0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d07d1e5adf5ba64f666ef57d6f7086e8b3e30eaeba34146ea7100b0d7f3a5dfac4a40ac0af2e746dca765b7689077095f12ab4817fd8dd986cdbaefaae39f42b
|
7
|
+
data.tar.gz: cc178b8160347b1c653c170176e2df9e697f32317ea986432189b54821c68cf2f62ce399888dfe31591ade673d238d8318d9a916be32900e0e6575e37bccbab6
|
data/lib/excursion/pool.rb
CHANGED
@@ -21,7 +21,7 @@ module Excursion
|
|
21
21
|
|
22
22
|
def self.register_application(app=nil, opts={}, &block)
|
23
23
|
raise ArgumentError, "app must be an instance of Rails::Application" unless app.is_a?(Rails::Application) || block_given?
|
24
|
-
opts = {
|
24
|
+
opts = {store: true}.merge(opts)
|
25
25
|
|
26
26
|
if app.is_a?(Rails::Application)
|
27
27
|
name = app.class.name.underscore.split("/").first
|
@@ -40,7 +40,7 @@ module Excursion
|
|
40
40
|
end
|
41
41
|
end
|
42
42
|
|
43
|
-
datastore.set(name, @@applications[name].to_cache) if opts[:
|
43
|
+
datastore.set(name, @@applications[name].to_cache) if opts[:store]
|
44
44
|
@@applications[name]
|
45
45
|
end
|
46
46
|
|
data/lib/excursion/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: excursion
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.15
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mark Rebec
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-09-
|
11
|
+
date: 2013-09-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|