wrapbox 0.8.1 → 0.8.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
  SHA256:
3
- metadata.gz: d1adbc843547f27022289f187d46434d523e7c162d80ab3ab4cd873406637617
4
- data.tar.gz: fd8edc95b1622e45ee83dd4620536b7df128380888ef20db1cc6c86245892a96
3
+ metadata.gz: d0945185eb499784f2b696a4f65947f05f9225edb203a6a1c1d3b00e9b5e3d2f
4
+ data.tar.gz: f595d49cae8a2bde5ffe8dded0d0b25e1e4ff817f4bbcc7ec838774ed715c04c
5
5
  SHA512:
6
- metadata.gz: 38097303455eb3c05831296ce05d68f8ffefe217b85b3259834fa9b695e871f95f1043176fe029fdbe51cb8eeb537a4cb8f6fd87d0aee1897fa0c86b64a6cc32
7
- data.tar.gz: 5b35c162bb2c2b8da1835cd48ab1ac74831c4668dea6e4a1905b014782f8a9105f8a6b98704a4fd1a628cada48e344b088bb659ab5e112985043eb8bd307aac6
6
+ metadata.gz: fb901d6faadfe0fb1e84eb2ff586488fb9c1a7e2bb7724272675a7e25cd0cbb66d70a4fba124f855f5e45797350b55370d961dca07b85819a6bef4aa5e0b5314
7
+ data.tar.gz: 4cc9fa285184986af51b433e1404b5f7c07c0d24e594b735661ea586faa80ada6e1a18a5faec061ffc638a368cd3543747b828eed27c33529df0a6aa2867f9f3
@@ -8,6 +8,7 @@ module Wrapbox
8
8
  def self.new(type, **options)
9
9
  raise "log_fetcher config needs `type`" unless type
10
10
  require "wrapbox/log_fetcher/#{type}"
11
+ options = options.reject { |k, v| k == :type }
11
12
  self.const_get(type.camelize).new(**options)
12
13
  end
13
14
 
@@ -96,7 +96,7 @@ module Wrapbox
96
96
  $stdout.sync = true
97
97
  @logger = Logger.new($stdout)
98
98
  if options[:log_fetcher]
99
- type = options[:log_fetcher].delete(:type)
99
+ type = options[:log_fetcher][:type]
100
100
  @log_fetcher = LogFetcher.new(type, options[:log_fetcher])
101
101
  end
102
102
  end
@@ -1,3 +1,3 @@
1
1
  module Wrapbox
2
- VERSION = "0.8.1"
2
+ VERSION = "0.8.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wrapbox
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.1
4
+ version: 0.8.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - joker1007
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-09-13 00:00:00.000000000 Z
11
+ date: 2018-10-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-ecs