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 +5 -5
- data/lib/hotdog/application.rb +15 -0
- data/lib/hotdog/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: dcecc952d1506d37d5b5c76ab31b6c9eb4d4e06e85adafefda6d4864299c6fb8
|
4
|
+
data.tar.gz: 042be0d1b27868b9b2e6bee9d452d33ffc2076718904547c9258435c8eebc84d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d9eef4e808bc465c320e7738696a8a6e08f160db09835af6759e3a3ad0cf8788d041668b588be956f487e69c53baaf3398ffe36b239e9f69825729ee478c1469
|
7
|
+
data.tar.gz: 24eef7efe179079b9f862022f827594038954c23f04b7ebf4da7322d5b07ddd77470e4f4de76e1536dcff6f3cb9f38d07e3cc325ae2d513eaf650f503bb16668
|
data/lib/hotdog/application.rb
CHANGED
@@ -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
|
data/lib/hotdog/version.rb
CHANGED
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.
|
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:
|
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
|
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
|