alephant-publisher 0.1.5 → 0.1.6

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: 5c8298673d27ca51e22d1ff4e124bf838b91de45
4
- data.tar.gz: 554f9a1eb1dd64e4f43b42418dc5494c67dae3fd
3
+ metadata.gz: 8da5a991ba55b1f73bfb50c0245946af5d064a94
4
+ data.tar.gz: feca4233fd3a562f14a9136e202fce887133bb51
5
5
  SHA512:
6
- metadata.gz: 1d36ef84078d02c36ce4b6fc2ddb665aff51a622ef9593ed3ae64faef783fb9603a7f602bbb557faddeb898d6089df492f9cd3e20ec06229058a639e31f36cf9
7
- data.tar.gz: eb6f7446bb0abe43b1ba0c5088b543733e1b44de6c9187bca159e0afb54c893015d6c53b0018ac64c772adc2ef49140abea319d13c8cd6ccb72cf289911e91ba
6
+ metadata.gz: 1fbd792a7668e4c01a180d6b6d83503a8cde83dfdb7cd69bccc053f7fcd869698cc64dec3f262d6cb9be40d734d8830e58e8c957d822c3224b55b9f874cb5a91
7
+ data.tar.gz: 75ac1a3ad2362271be14bb798b3cf37487d586f51bd9ed64048a05d2f751a6ec803d5a40e6b6a6b3a0e2872c0e16486f98450a35239f527b50e62c90e8832489
@@ -55,9 +55,9 @@ module Alephant
55
55
  end
56
56
 
57
57
  @executor = ThreadPoolExecutor.new(
58
- @opts[:renderer_pool_min_size] || POOL_MIN_SIZE,
59
- @opts[:renderer_pool_max_size] || POOL_MAX_SIZE,
60
- @opts[:render_keep_alive_time] || KEEP_ALIVE_TIMEOUT,
58
+ @opts.fetch(:renderer_pool_min_size, POOL_MIN_SIZE).to_i,
59
+ @opts.fetch(:renderer_pool_max_size, POOL_MAX_SIZE).to_i,
60
+ @opts.fetch(:render_keep_alive_time, KEEP_ALIVE_TIMEOUT).to_i,
61
61
  TimeUnit::SECONDS,
62
62
  LinkedBlockingQueue.new
63
63
  )
@@ -1,5 +1,5 @@
1
1
  module Alephant
2
2
  module Publisher
3
- VERSION = "0.1.5"
3
+ VERSION = "0.1.6"
4
4
  end
5
5
  end
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.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Integralist
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-03-19 00:00:00.000000000 Z
11
+ date: 2014-03-20 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: