hotdog 0.35.0 → 0.36.0

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
- SHA1:
3
- metadata.gz: 5c34bd3f352760468e86aecb50152087c9534938
4
- data.tar.gz: 105739578293caaaf5b2264fc8c5614b1cccddda
2
+ SHA256:
3
+ metadata.gz: dcecc952d1506d37d5b5c76ab31b6c9eb4d4e06e85adafefda6d4864299c6fb8
4
+ data.tar.gz: 042be0d1b27868b9b2e6bee9d452d33ffc2076718904547c9258435c8eebc84d
5
5
  SHA512:
6
- metadata.gz: 7d095e791a616d81e24cc2510c6fcceb8ed1461075a622a08b90ab6c6b3e865ac343c28ce2dbc7fb22239ac8e143e744bb5f009278f34ed6d46b7660b84b8994
7
- data.tar.gz: 6ffd19158c137ad8eea99942a38c3fda059f9fcdc668df8f4cb8442cac3f8f916addea202e635a01b14d02a26e7bab4fae53e77f33ac7a4b9c59956f306e83aa
6
+ metadata.gz: d9eef4e808bc465c320e7738696a8a6e08f160db09835af6759e3a3ad0cf8788d041668b588be956f487e69c53baaf3398ffe36b239e9f69825729ee478c1469
7
+ data.tar.gz: 24eef7efe179079b9f862022f827594038954c23f04b7ebf4da7322d5b07ddd77470e4f4de76e1536dcff6f3cb9f38d07e3cc325ae2d513eaf650f503bb16668
@@ -260,6 +260,11 @@ module Hotdog
260
260
  end
261
261
 
262
262
  def get_formatter(name)
263
+ begin
264
+ require "hotdog/formatters/#{name}"
265
+ rescue LoadError => error
266
+ @logger.info("failed to load library file: #{error}")
267
+ end
263
268
  begin
264
269
  klass = Hotdog::Formatters.const_get(const_name(name))
265
270
  rescue NameError
@@ -275,6 +280,11 @@ module Hotdog
275
280
  end
276
281
 
277
282
  def get_command(name)
283
+ begin
284
+ require "hotdog/commands/#{name}"
285
+ rescue LoadError => error
286
+ @logger.info("failed to load library file: #{error}")
287
+ end
278
288
  begin
279
289
  klass = Hotdog::Commands.const_get(const_name(name))
280
290
  rescue NameError
@@ -290,6 +300,11 @@ module Hotdog
290
300
  end
291
301
 
292
302
  def get_source(name)
303
+ begin
304
+ require "hotdog/sources/#{name}"
305
+ rescue LoadError => error
306
+ @logger.info("failed to load library file: #{error}")
307
+ end
293
308
  begin
294
309
  klass = Hotdog::Sources.const_get(const_name(name))
295
310
  rescue NameError
@@ -1,3 +1,3 @@
1
1
  module Hotdog
2
- VERSION = "0.35.0"
2
+ VERSION = "0.36.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hotdog
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.35.0
4
+ version: 0.36.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yamashita Yuu
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-09-03 00:00:00.000000000 Z
11
+ date: 2019-04-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -228,7 +228,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
228
228
  version: '0'
229
229
  requirements: []
230
230
  rubyforge_project:
231
- rubygems_version: 2.6.11
231
+ rubygems_version: 2.7.6
232
232
  signing_key:
233
233
  specification_version: 4
234
234
  summary: Yet another command-line tool for Datadog