influxer 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/influxer.gemspec +1 -1
- data/lib/influxer/config.rb +1 -4
- data/lib/influxer/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b9ee310f2d14e4f751007c7631ac2100b6bf32ac
|
4
|
+
data.tar.gz: cabdf7aff563d6ff739bf87dade3dd854902a215
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 74c94e618b70f37cfd7ae18ab5c7d7f0b15ab812173edfe5e5a23a1707c8b2e9bbeb3abdd931e739a762829f5666d8cedfe6dc8a5a26bdcd2ecb8e695816cdc6
|
7
|
+
data.tar.gz: cf738ba3405153292bfd23336a81e2cff9cba551de404551bc6dd646271e529b4b3b03698107cfbc97c11495302028cacc2bef846cdb434daf9c9c4a38e9d0e4
|
data/influxer.gemspec
CHANGED
@@ -17,7 +17,7 @@ Gem::Specification.new do |s|
|
|
17
17
|
|
18
18
|
s.add_runtime_dependency "rails", '~> 4.0'
|
19
19
|
s.add_dependency "influxdb", "~> 0.1.0", ">= 0.1.8"
|
20
|
-
s.add_dependency "anyway_config", "~> 0.
|
20
|
+
s.add_dependency "anyway_config", "~> 0.3"
|
21
21
|
|
22
22
|
s.add_development_dependency "timecop"
|
23
23
|
s.add_development_dependency "simplecov", ">= 0.3.8"
|
data/lib/influxer/config.rb
CHANGED
@@ -23,10 +23,7 @@ module Influxer
|
|
23
23
|
super
|
24
24
|
# we want pass @cache value as options to cache store, so we want it to be a Hash
|
25
25
|
if @cache == true
|
26
|
-
@cache = {}
|
27
|
-
elsif @cache != false
|
28
|
-
# cache keys should be symbols to work as Rails.cache options
|
29
|
-
@cache.symbolize_keys!
|
26
|
+
@cache = {}.with_indifferent_access
|
30
27
|
end
|
31
28
|
end
|
32
29
|
end
|
data/lib/influxer/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: influxer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Vlad Dem
|
@@ -50,14 +50,14 @@ dependencies:
|
|
50
50
|
requirements:
|
51
51
|
- - "~>"
|
52
52
|
- !ruby/object:Gem::Version
|
53
|
-
version: '0.
|
53
|
+
version: '0.3'
|
54
54
|
type: :runtime
|
55
55
|
prerelease: false
|
56
56
|
version_requirements: !ruby/object:Gem::Requirement
|
57
57
|
requirements:
|
58
58
|
- - "~>"
|
59
59
|
- !ruby/object:Gem::Version
|
60
|
-
version: '0.
|
60
|
+
version: '0.3'
|
61
61
|
- !ruby/object:Gem::Dependency
|
62
62
|
name: timecop
|
63
63
|
requirement: !ruby/object:Gem::Requirement
|