tml 5.4.7 → 5.4.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/tml/cache.rb +5 -1
- data/lib/tml/session.rb +1 -0
- data/lib/tml/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: 66299fedc0ad670424b3c099d816feca815f25cc
|
4
|
+
data.tar.gz: a3511b6492de5957d70cf7abdc70f44b7b87491e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 31bad9591d26cdeb58bf2ecb8c0720ba728f966c6f29b743665476e3ce807163bbe875262dcf9647145d9fc74b7e182099accdc1b658d67073e28592431583ad
|
7
|
+
data.tar.gz: 521afb4459fa5d718f957a94f3839634f6894e00b754248b8c09592388e2fd04c0d25fc5e8738072e4fc600c81163776e00020215f5d85ce1043fb14db7511a9
|
data/lib/tml/cache.rb
CHANGED
@@ -95,10 +95,14 @@ module Tml
|
|
95
95
|
Tml.logger.warn("#{cache_name} - #{msg}")
|
96
96
|
end
|
97
97
|
|
98
|
+
def namespace=(value)
|
99
|
+
@namespace = value
|
100
|
+
end
|
101
|
+
|
98
102
|
# namespace of each cache key
|
99
103
|
def namespace
|
100
104
|
return '#' if Tml.config.disabled?
|
101
|
-
Tml.config.cache[:namespace] || Tml.config.application[:key][0..5]
|
105
|
+
@namespace || Tml.config.cache[:namespace] || Tml.config.application[:key][0..5]
|
102
106
|
end
|
103
107
|
|
104
108
|
# versioned name of cache key
|
data/lib/tml/session.rb
CHANGED
data/lib/tml/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tml
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.4.
|
4
|
+
version: 5.4.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Berkovich
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-05-
|
11
|
+
date: 2016-05-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|