console 1.3.0 → 1.3.1

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: b9e220d9ee195e716768f702ac9e54602643d9109374166934cd1fbbfef5d145
4
- data.tar.gz: 6ff0fbfe58174446b7154da69d064c3e91a53d35045b5f93a47c3d34a8c3ab76
3
+ metadata.gz: de8d5bf7f57f9e3f42e3590fd2aa5110afbb10d51e99905192d139d901ec1832
4
+ data.tar.gz: 3813dcba7055875b67794c20fd57ef840a4db646fead53a08ca8687c749e5f72
5
5
  SHA512:
6
- metadata.gz: 1015b59f334d135c439fb5f016e4dca65250b4ba73712a6e3cc9614d6560716fd26bb9d92919fbe6a24552e9f78b1a8d70f14039a5c6d035a91f0936454729d1
7
- data.tar.gz: f14b2c3463ceec7edf74117173716b3f56b3698e3af7a8e88d64a4ab531380a02f63fc50a95942311d6aec47306f39ca50a536503341bcc99889f388bdd873df
6
+ metadata.gz: bc435d2391b023d4f6921b4897e3dae2116b48e68f2b2b54311da4b7acd3219d52f6a18b805e0fbe9cd76a49d2d698208a6dcedf880ab9ebe3a5562944e7509f
7
+ data.tar.gz: 39e2aa007367e6423c9f633f027fdfea4dc65568e251cee47844a5dc8a83540391138b359384fbeebbc7df73c65c9ff4352da419b84d1ddc3cc80da23699b3ae
@@ -65,8 +65,10 @@ module Console
65
65
  @options = options
66
66
  end
67
67
 
68
- def with(**options)
68
+ def with(level: @level, verbose: @verbose, **options)
69
69
  dup.tap do |logger|
70
+ logger.level = level
71
+ logger.verbose! if verbose
70
72
  logger.options = @options.merge(options)
71
73
  end
72
74
  end
@@ -19,5 +19,5 @@
19
19
  # THE SOFTWARE.
20
20
 
21
21
  module Console
22
- VERSION = "1.3.0"
22
+ VERSION = "1.3.1"
23
23
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: console
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams