excursion 0.0.3 → 0.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/excursion/datasources/memcache.rb +2 -2
- data/lib/excursion/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e63fb8e58489f77a34238d04ea53e2909fddc803
|
4
|
+
data.tar.gz: 75fc64f54f019ca6b91195a6dc6c295403c3709e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 90985c4e624e2437261f1aeee8b7864faac53e3f4ae28c1873a88c2430efb72d446c962de8e6bdc59636969e4871ea131bac900de7ee333e0fc0b1c30bf1f06a
|
7
|
+
data.tar.gz: 337a635cb88386c52edec0e9c9ad421ded78b9a2bf0f5dafa9d8fb58d9cacd9d2371cc7b54f405790b28d62768d6f166e00e6941115c766cab07ac0584ef7c08
|
@@ -29,10 +29,10 @@ module Excursion
|
|
29
29
|
|
30
30
|
protected
|
31
31
|
|
32
|
-
def initialize(server=nil
|
32
|
+
def initialize(server=nil)
|
33
33
|
server ||= Excursion.configuration.memcache_server
|
34
34
|
raise MemcacheConfigurationError, "You must configure the :memcache datasource with a memcache_server" if server.nil?
|
35
|
-
@client = Dalli::Client.new(server,
|
35
|
+
@client = Dalli::Client.new(server, {namespace: "excursion"})
|
36
36
|
end
|
37
37
|
|
38
38
|
# TODO if we're using memcache, and the server goes away, it might be a good idea
|
data/lib/excursion/version.rb
CHANGED