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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bacfbe3bd9b3fa1e06d05b6c1041e7e30d7c6e64
4
- data.tar.gz: b58a5689a5a9f4028f6ac4c565801bc83ef18203
3
+ metadata.gz: 48e7dd615cc53aea23b2b658791bd1a49580f62f
4
+ data.tar.gz: 636d0d0ab641130b8617b8c40ee2fc5db890024a
5
5
  SHA512:
6
- metadata.gz: fecb4254a1c8bd0cb72ea7e3b01f1ba3641b9dabc6ffc4c6fb90ed6066dca1df1504cb991c5fe454c015a1fdec5c7cd137201eeafa7cb2caf7c132b0916b8673
7
- data.tar.gz: 09be2c0a1557a66538b2f83f46a4dc0069d99ca2898be8960c42bdaa74d36d22cf8d63d7f83be914f20c2107bdc3028bb8dabd8c7f3fbc20255dddc43e2a12b4
6
+ metadata.gz: fdbf8146517075a6835398c7ed4a78d003df6d0504a05c7f6ce616eb1df7ad25c9a265b47d712fcdeb621c47e552f724cae8cc10b40aae91221ffa14cc4f0f08
7
+ data.tar.gz: c1501069aa65fd48128f60c269c940e7866966fec039c4a70716e1b5926694463a230b206330664e684e98936f871fe654a6f982f05f40e10034f5facc028e10
@@ -1,5 +1,5 @@
1
1
  module Alephant
2
2
  module Publisher
3
- VERSION = "0.2.1"
3
+ VERSION = "0.2.2"
4
4
  end
5
5
  end
@@ -8,10 +8,10 @@ require 'alephant/logger'
8
8
 
9
9
  module Alephant
10
10
  module Publisher
11
- include ::Alephant::Logger
11
+ include Logger
12
12
 
13
- def self.create(opts = {}, logger = nil)
14
- Publisher.new(opts, logger)
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, logger)
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.1
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-09 00:00:00.000000000 Z
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: