dldinternet-mixlib-thor 0.9.8 → 0.9.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +10 -9
- data/lib/dldinternet/thor/mixins/no_commands.rb +7 -4
- data/lib/dldinternet/thor/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 08c5c5697d1d7788438b26a74452482565af8a9a
|
4
|
+
data.tar.gz: 0db3c018cac4fda2ee2856ada1c61e9fdd540183
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 52cdf2066a5913bf9c2ad64e90b44c4514e19018f012a4ee4a813887ec3229ce8a229acf62cc4d6a2c58f75ca0dd4315fc5edc3cab104625c94ecccf120df15f
|
7
|
+
data.tar.gz: 10ffcba0c3623f93821970790d50d37a9b24ab136fec070a2c89401239535a9b6ebaec15d21cdbc2b9f39983faac40f983c47f6001532f30c50c6d94ec1d8ba7
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
dldinternet-mixlib-thor (0.9.
|
4
|
+
dldinternet-mixlib-thor (0.9.9)
|
5
5
|
activesupport (~> 5.1, >= 5.1.4)
|
6
6
|
awesome_print
|
7
7
|
command_line_reporter (~> 3.3, >= 3.3.6)
|
@@ -40,10 +40,11 @@ GEM
|
|
40
40
|
logging (~> 2.1, >= 2.1.0)
|
41
41
|
gherkin (2.4.21)
|
42
42
|
json (>= 1.4.6)
|
43
|
-
hashie (3.5.
|
44
|
-
i18n (0.
|
43
|
+
hashie (3.5.7)
|
44
|
+
i18n (0.9.1)
|
45
|
+
concurrent-ruby (~> 1.0)
|
45
46
|
inifile (3.0.0)
|
46
|
-
json (2.0
|
47
|
+
json (2.1.0)
|
47
48
|
json-pointer (0.0.1)
|
48
49
|
little-plugger (1.1.4)
|
49
50
|
logging (2.2.2)
|
@@ -51,17 +52,17 @@ GEM
|
|
51
52
|
multi_json (~> 1.10)
|
52
53
|
minitest (5.10.3)
|
53
54
|
multi_json (1.12.2)
|
54
|
-
paint (2.0.
|
55
|
+
paint (2.0.1)
|
55
56
|
paint-shortcuts (2.0.0)
|
56
57
|
paint (>= 1.0, < 3.0)
|
57
58
|
rake (10.5.0)
|
58
59
|
rubygems-tasks (0.2.4)
|
59
|
-
term-ansicolor (1.
|
60
|
+
term-ansicolor (1.6.0)
|
60
61
|
tins (~> 1.0)
|
61
62
|
thor (0.20.0)
|
62
63
|
thread_safe (0.3.6)
|
63
|
-
tins (1.
|
64
|
-
tzinfo (1.2.
|
64
|
+
tins (1.16.3)
|
65
|
+
tzinfo (1.2.4)
|
65
66
|
thread_safe (~> 0.1)
|
66
67
|
vcr (3.0.3)
|
67
68
|
|
@@ -76,4 +77,4 @@ DEPENDENCIES
|
|
76
77
|
rubygems-tasks (~> 0.2)
|
77
78
|
|
78
79
|
BUNDLED WITH
|
79
|
-
1.
|
80
|
+
1.16.1
|
@@ -375,15 +375,15 @@ module DLDInternet
|
|
375
375
|
output(header_line(res, fmtr), fmtr, true) unless options[:header] === false
|
376
376
|
case res.class.name
|
377
377
|
when /Array/
|
378
|
-
|
378
|
+
fmtr.object.each do |obj|
|
379
379
|
output format_line(obj, fmtr)
|
380
380
|
end
|
381
381
|
# when /Hash|String/
|
382
382
|
else
|
383
|
-
output format_line(res, fmtr)
|
383
|
+
output format_line(fmtr.object || res, fmtr)
|
384
384
|
end
|
385
385
|
else
|
386
|
-
output res
|
386
|
+
output fmtr.object || res
|
387
387
|
end
|
388
388
|
end
|
389
389
|
|
@@ -436,7 +436,10 @@ module DLDInternet
|
|
436
436
|
|
437
437
|
command_pre_config_vcr
|
438
438
|
opts = args[0].is_a?(Hash) ? args.shift : {}
|
439
|
-
options[:cassette]
|
439
|
+
unless options[:cassette]
|
440
|
+
options[:cassette] = @_invocations.map{ |_,v| v[0]}.join('-')
|
441
|
+
options[:cassette_not_given] = true
|
442
|
+
end
|
440
443
|
@cassette = ::VCR.insert_cassette(opts[:cassette] || options[:cassette])
|
441
444
|
end
|
442
445
|
yield if block_given?
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dldinternet-mixlib-thor
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Christo De Lange
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-12-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|