deferrer 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/deferrer/configuration.rb +5 -2
- data/lib/deferrer/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: c56ffa5f103c93088811c0dae478b2314b9321e1
|
4
|
+
data.tar.gz: fb9c7873affd71f8408b20931de5df5cbb7613b6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d2b8e9facf6f202c82ab586dbda8faef5b6f335be9f7a947a881306089b67a16286937e317078448d0aeb5bbf39565eeb250cecc054658a04fdd4fe6bb920e10
|
7
|
+
data.tar.gz: 6385a7810687e828719f02ba6f973227434a25720ade7379341dcc4d198c36423556440d5257f4e6bdfbc6961110505b0170adc899d28cc8250d723943f6fc39
|
@@ -1,11 +1,14 @@
|
|
1
1
|
module Deferrer
|
2
2
|
module Configuration
|
3
3
|
|
4
|
-
|
4
|
+
attr_accessor :redis
|
5
5
|
attr_accessor :logger
|
6
6
|
attr_accessor :inline
|
7
7
|
|
8
|
-
#
|
8
|
+
# Convenience for instantiating Redis.
|
9
|
+
#
|
10
|
+
# Example:
|
11
|
+
# Deferrer.redis_config = { :host => "localhost", :port => 6379 }
|
9
12
|
def redis_config=(config)
|
10
13
|
@redis = Redis.new(config)
|
11
14
|
end
|
data/lib/deferrer/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: deferrer
|
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
|
- Dalibor Nasevic
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-10-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: redis
|
@@ -134,7 +134,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
134
134
|
version: '0'
|
135
135
|
requirements: []
|
136
136
|
rubyforge_project:
|
137
|
-
rubygems_version: 2.2.
|
137
|
+
rubygems_version: 2.2.2
|
138
138
|
signing_key:
|
139
139
|
specification_version: 4
|
140
140
|
summary: Defer work units and process only the last work unit when time comes
|