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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 41e9c97ead83ee84ac09bcbb5d4e4192513aa0cb
4
- data.tar.gz: e8e98767913c3afa849d7f8a5bcc2215a18cd442
3
+ metadata.gz: b9ee310f2d14e4f751007c7631ac2100b6bf32ac
4
+ data.tar.gz: cabdf7aff563d6ff739bf87dade3dd854902a215
5
5
  SHA512:
6
- metadata.gz: 9fcbb580a0e0907a441566aab7e6d23b7d63c5bc7e0ff08bdb8a68a9e1c1ecbe724d6028a9297751a72ffb75678fb83fcfa42043c62a7decb3fbb657c6e51538
7
- data.tar.gz: 9548bbdf12e8c6b4354711814653faff335a88741dfc00e9a8344bb521b06010c9685f4bc9c68ecb11bfaa66607378cceca82b1eb2bf5113e628d610ccd490ee
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.1"
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"
@@ -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
@@ -1,3 +1,3 @@
1
1
  module Influxer
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
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.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.1'
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.1'
60
+ version: '0.3'
61
61
  - !ruby/object:Gem::Dependency
62
62
  name: timecop
63
63
  requirement: !ruby/object:Gem::Requirement