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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6501301a8f2c7566f65e895f880a3aa19919fc04
4
- data.tar.gz: 910544b4e9d93047aea3d2f0c079456cf5cf4847
3
+ metadata.gz: 08c5c5697d1d7788438b26a74452482565af8a9a
4
+ data.tar.gz: 0db3c018cac4fda2ee2856ada1c61e9fdd540183
5
5
  SHA512:
6
- metadata.gz: 0e2954765ff984fe2a91a7ccbe970434ac124d0a0ec144c127c16b49bfb594f38e8d020d487e79f8c035832b22979e167e9fca82a6d551782a2c48f2e1ff5638
7
- data.tar.gz: 22c74ee41bb07cbd3fb4863a7effaf013298a37f80347285867e3670c086106deee927d01330e5437325f252f3fa22846f720ae9454337afe5bf1abdb7889667
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.8)
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.6)
44
- i18n (0.8.6)
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.3)
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.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.4.0)
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.13.2)
64
- tzinfo (1.2.3)
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.15.4
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
- res.each do |obj|
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] ||= @_invocations.map{ |_,v| v[0]}.join('-')
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?
@@ -1,7 +1,7 @@
1
1
  module Dldinternet
2
2
  module Mixlib
3
3
  module Thor
4
- VERSION = '0.9.8'
4
+ VERSION = '0.9.9'
5
5
 
6
6
  module Version # :nodoc: all
7
7
  MAJOR, MINOR, RELEASE, *OTHER = VERSION.split '.'
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.8
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-10-23 00:00:00.000000000 Z
11
+ date: 2017-12-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor