timely_reports 0.9.1 → 0.9.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +8 -8
  2. data/lib/timely.rb +5 -5
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ZWE1M2IxNDJjZDc0NjVhYTkzZTBjZWRjNzQxNzU5ZTc2NTI3MmVlMg==
4
+ ODRmYTBhNDI1ODMxZTc3Mjc1M2EwYmM0OGUwZWE2MzYxZGFhNmI4YQ==
5
5
  data.tar.gz: !binary |-
6
- NTMzYjFiZmYwNzUyYmQzZWI3Y2RjNDAyYTBjZTc5MDk2MzFmN2Q0Nw==
6
+ M2U5MzI3MDZmZWM0NDExN2EyMWUzNzM3ZDYwM2IwNDkyNWZiMzg0Ng==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- YTUzZjE5MGZkMjU5NmM2ZWM4ZGYzMDFmMTIyOTcxYzU4ZDdlNWZmZmI4ZGEw
10
- MjA0NWRlODc1MGU0YTdhZDcxZTk1ZjA2YWMwZWU0Zjg4MTRhNzZjMzI2NTQ1
11
- ZWFlYmYzMDY5NjQ2N2JjZjQzNzQxZTAxMDQyZGY0NTUwZTg5NmY=
9
+ NzM0NTY3ZGYxMGVkZTE1ZGFlMmU3M2JjYjBiYjU4OWI3OTAxNTcwNDgwMTA0
10
+ NjNiMjQ2ZjQ0NzQxYzZlODgyNTgyNDdiMDNlNDcxNDMxODZiYjdlMTdlMTEz
11
+ OGZjNjQwYTI3OWY1YzM4OTQyNzhiZTVjYTBlMGVkNTIyZTkxNDU=
12
12
  data.tar.gz: !binary |-
13
- YzgxMzk1Y2E3OGEyNTIxOTZkMTg4OTdhNWI5YmI0YzVmMWY1MTZhMmNmYmE5
14
- NGJlYWFkODQyMWEyN2UxYjY5ZTExNzMyOGIxM2NkNjQ4OGJiMDhhYTllYzlh
15
- NzJlNjM1ZjgyZjQ4ZGFmYjRmOGYzM2NhYTkyOWE5ZjllNWQxMjA=
13
+ MWFmNGFjMDgyMGFiMzc2NTRmMjEyMTI2OWMyM2Y1ODlmNWRhY2IwOWY5OTcx
14
+ NjljZWZiNGEzMTg4ODE0NjBiN2Q2NjkwOTU2ZjM1OTIyNmQ2ZGVkYjMyOWVj
15
+ N2Y2NzIwODk0OTFlY2ExZTEwODAxNjUxZTc0NDZjNzQzYTM4Mzc=
data/lib/timely.rb CHANGED
@@ -81,20 +81,20 @@ module Timely
81
81
  case server
82
82
  when String
83
83
  if server =~ /redis\:\/\//
84
- redis = Redis.connect(:url => server, :thread_safe => true)
84
+ redis = Redis.connect(url: server, thread_safe: true)
85
85
  else
86
86
  server, namespace = server.split('/', 2)
87
87
  host, port, db = server.split(':')
88
- redis = Redis.new(:host => host, :port => port,
89
- :thread_safe => true, :db => db)
88
+ redis = Redis.new(host: host, port: port,
89
+ thread_safe: true, db: db)
90
90
  end
91
- namespace ||= :resque
91
+ namespace ||= :timely
92
92
 
93
93
  @redis = Redis::Namespace.new(namespace, :redis => redis)
94
94
  when Redis::Namespace
95
95
  @redis = server
96
96
  else
97
- @redis = Redis::Namespace.new(:resque, :redis => server)
97
+ @redis = Redis::Namespace.new(:timely, :redis => server)
98
98
  end
99
99
  end
100
100
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: timely_reports
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.1
4
+ version: 0.9.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nick Ragaz
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-03-26 00:00:00.000000000 Z
11
+ date: 2013-03-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement