alephant-publisher 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/alephant/publisher/version.rb +1 -1
- data/lib/alephant/publisher.rb +4 -6
- metadata +2 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 48e7dd615cc53aea23b2b658791bd1a49580f62f
|
4
|
+
data.tar.gz: 636d0d0ab641130b8617b8c40ee2fc5db890024a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fdbf8146517075a6835398c7ed4a78d003df6d0504a05c7f6ce616eb1df7ad25c9a265b47d712fcdeb621c47e552f724cae8cc10b40aae91221ffa14cc4f0f08
|
7
|
+
data.tar.gz: c1501069aa65fd48128f60c269c940e7866966fec039c4a70716e1b5926694463a230b206330664e684e98936f871fe654a6f982f05f40e10034f5facc028e10
|
data/lib/alephant/publisher.rb
CHANGED
@@ -8,10 +8,10 @@ require 'alephant/logger'
|
|
8
8
|
|
9
9
|
module Alephant
|
10
10
|
module Publisher
|
11
|
-
include
|
11
|
+
include Logger
|
12
12
|
|
13
|
-
def self.create(opts = {}
|
14
|
-
Publisher.new(opts
|
13
|
+
def self.create(opts = {})
|
14
|
+
Publisher.new(opts)
|
15
15
|
end
|
16
16
|
|
17
17
|
class Publisher
|
@@ -20,9 +20,7 @@ module Alephant
|
|
20
20
|
|
21
21
|
attr_reader :queue, :executor
|
22
22
|
|
23
|
-
def initialize(opts
|
24
|
-
::Alephant::Logger.set_logger(logger) unless logger.nil?
|
25
|
-
|
23
|
+
def initialize(opts)
|
26
24
|
@opts = opts
|
27
25
|
|
28
26
|
@queue = Queue.new(
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: alephant-publisher
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Integralist
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-04-
|
11
|
+
date: 2014-04-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -411,4 +411,3 @@ test_files:
|
|
411
411
|
- spec/render_mapper_spec.rb
|
412
412
|
- spec/spec_helper.rb
|
413
413
|
- spec/writer_spec.rb
|
414
|
-
has_rdoc:
|