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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1bc1f7b9f8b06d8c607e75b51a267f77b017e493
4
- data.tar.gz: b5ace0f90bf10f7ab04e8bfefa63fdd22fbef02c
3
+ metadata.gz: c56ffa5f103c93088811c0dae478b2314b9321e1
4
+ data.tar.gz: fb9c7873affd71f8408b20931de5df5cbb7613b6
5
5
  SHA512:
6
- metadata.gz: 424bb4d6787044ae36c91f1e05da72dc7c25700a0a9862e87a0fd493a617593046d4202cc129ba8781f5122e57664ace03e1a1ef829e88839dcc782422a25bdb
7
- data.tar.gz: 978dbb2dceed7aa36ffe56a9906bdaba02d998b3cc168874a70fcbfb4dfeb382c6f5f0d39f6050e58ad736c418186294314608c0bdc230036e49f5cd51325f06
6
+ metadata.gz: d2b8e9facf6f202c82ab586dbda8faef5b6f335be9f7a947a881306089b67a16286937e317078448d0aeb5bbf39565eeb250cecc054658a04fdd4fe6bb920e10
7
+ data.tar.gz: 6385a7810687e828719f02ba6f973227434a25720ade7379341dcc4d198c36423556440d5257f4e6bdfbc6961110505b0170adc899d28cc8250d723943f6fc39
@@ -1,11 +1,14 @@
1
1
  module Deferrer
2
2
  module Configuration
3
3
 
4
- attr_reader :redis
4
+ attr_accessor :redis
5
5
  attr_accessor :logger
6
6
  attr_accessor :inline
7
7
 
8
- # Deferrer.redis_config = { :host => "localhost", :port => 6379 }
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
@@ -1,3 +1,3 @@
1
1
  module Deferrer
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
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.0
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-07-30 00:00:00.000000000 Z
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.0
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