coffee_table 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/coffee_table/version.rb +1 -1
- data/lib/coffee_table.rb +6 -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: 0a500c15b47d59719b545a05f0202fff9520233c
|
4
|
+
data.tar.gz: 7e3af3f690eeea5312797da412e3cb240037fbf5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 53e13c4b868600c6870af3468ced06ec976e5f89eccf29260b1b8f33a7fde61b64235e88760f1559ba97b13d6728065f3e2fe0331512afedefcca4c470465e3e
|
7
|
+
data.tar.gz: f2084d4c0b148073490192953eb32c188eefd8ede78e83a5ecb551aa53fcc70a729bbd2e8eede03543652964f1f486c40896a2004a0d6aad8f1f3208979bb756
|
data/lib/coffee_table/version.rb
CHANGED
data/lib/coffee_table.rb
CHANGED
@@ -27,7 +27,12 @@ module CoffeeTable
|
|
27
27
|
default_ignore_code_changes_to false
|
28
28
|
default_compress_content_to true
|
29
29
|
default_compress_min_size_to 10240
|
30
|
-
|
30
|
+
|
31
|
+
if @options.has_key?(:redis_url)
|
32
|
+
@redis = Redis.new({:url => @options[:redis_url]})
|
33
|
+
else
|
34
|
+
@redis = Redis.new({:server => @options[:redis_server], :port => @options[:redis_port]})
|
35
|
+
end
|
31
36
|
rufus_version = Gem::Version.new(Rufus::Scheduler::VERSION)
|
32
37
|
if rufus_version >= Gem::Version.new('3.0.0')
|
33
38
|
@scheduler = Rufus::Scheduler.new
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: coffee_table
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stewart McKee
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-04-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|