redlics 0.1.8 → 0.1.9

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: 9b3c72c3b8f8a23a1709ee3b87d98df85045f260
4
- data.tar.gz: bcc06740f05b247e8a6d0a419834c606f7048a8b
3
+ metadata.gz: d0b6f9912012f2d12cbf81290ff72c26bdd49049
4
+ data.tar.gz: d7a9c1c243581911669e4e972f7fc087ad6a240e
5
5
  SHA512:
6
- metadata.gz: 64eb8331cc77df0dd611067b81180f480e4c333a1ddf943fa0428b36ee941d05b13cc78f35016fd0fac45618ab09b03fbdd4b441b5571cfa0cea48745b545740
7
- data.tar.gz: 6587435da833b719e9809a928a4a8cf54412b21fa34942b97716835fdab5ff2cda134d42a455492761ae2215bea766f9cf8fef9b229524d064c5b203cca42596
6
+ metadata.gz: bd4973305a3682c412d506f194c789e71d3b862e01f7223bd810dc5d12589ff4fc8ada741a3da3033916e6a5971216c9654c23d3e2e168841a0805ef87244283
7
+ data.tar.gz: 309cb16e5f92297b665653cd3c80f7daa6e4124cbf381dd3fc1795fdcc43e7f62dff97fbb706192ab88b20ca973e396a71ada380e8234cc41de476f4f7ad8d9e
@@ -1,4 +1,7 @@
1
+ require 'active_support/core_ext/module/delegation'
2
+ require 'active_support/time'
1
3
  require 'msgpack'
4
+ require 'ostruct'
2
5
  require 'redlics/version'
3
6
  require 'redlics/config'
4
7
  require 'redlics/exception'
@@ -54,7 +57,7 @@ module Redlics
54
57
  sha = cache[file]
55
58
  else
56
59
  src = File.read(file)
57
- sha = redis { |r| r.script(:load, src) }
60
+ sha = redis { |r| r.redis.script(:load, src) }
58
61
  cache[file] = sha
59
62
  end
60
63
  redis { |r| r.evalsha(sha, *args) }
@@ -1,4 +1,4 @@
1
1
  # Redlics version.
2
2
  module Redlics
3
- VERSION = '0.1.8'
3
+ VERSION = '0.1.9'
4
4
  end
@@ -12,9 +12,9 @@ Gem::Specification.new do |spec|
12
12
  spec.date = Time.now.utc.strftime('%Y-%m-%d')
13
13
  spec.homepage = "http://github.com/phlegx/#{spec.name}"
14
14
 
15
- spec.summary = %q{Redis analytics with tracks and counts.}
16
- spec.description = %q{Redis analytics with tracks (using bitmaps) and counts (using buckets)
17
- encoding numbers in Redis keys and values.}
15
+ spec.summary = 'Redis analytics with tracks and counts.'
16
+ spec.description = 'Redis analytics with tracks (using bitmaps) and counts (using buckets)' \
17
+ 'encoding numbers in Redis keys and values.'
18
18
  spec.license = 'MIT'
19
19
 
20
20
  spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: redlics
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8
4
+ version: 0.1.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Egon Zemmer
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-05-23 00:00:00.000000000 Z
11
+ date: 2017-07-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: connection_pool
@@ -120,9 +120,8 @@ dependencies:
120
120
  - - "~>"
121
121
  - !ruby/object:Gem::Version
122
122
  version: '5.8'
123
- description: |-
124
- Redis analytics with tracks (using bitmaps) and counts (using buckets)
125
- encoding numbers in Redis keys and values.
123
+ description: Redis analytics with tracks (using bitmaps) and counts (using buckets)encoding
124
+ numbers in Redis keys and values.
126
125
  email:
127
126
  - office@phlegx.com
128
127
  executables: []