console 1.2.4 → 1.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b65dcae75111a5acf049d912a5be405184e68dbf300ee087653eee4bd63bde84
4
- data.tar.gz: 9f46b30d1aa9971bffa343b7d997a6699f400f6398805e15908047be6ec726c9
3
+ metadata.gz: b9e220d9ee195e716768f702ac9e54602643d9109374166934cd1fbbfef5d145
4
+ data.tar.gz: 6ff0fbfe58174446b7154da69d064c3e91a53d35045b5f93a47c3d34a8c3ab76
5
5
  SHA512:
6
- metadata.gz: c1499519021a7b6746badc70e130f5d49adf25f7cae7cb7aa598c40b85fc35b7ce80aa08e20aa373840fcc8ff03bb2c218f47b73dd9dc1a75ba841e29e3340bf
7
- data.tar.gz: 7b0dfb3733481ceb58d029ac423d320467bab909fae67d2d0035d8ff2f040b824edafb61891fd4d682717484d5fc0d9631023e4205085cbd9bb211a17da5740f
6
+ metadata.gz: 1015b59f334d135c439fb5f016e4dca65250b4ba73712a6e3cc9614d6560716fd26bb9d92919fbe6a24552e9f78b1a8d70f14039a5c6d035a91f0936454729d1
7
+ data.tar.gz: f14b2c3463ceec7edf74117173716b3f56b3698e3af7a8e88d64a4ab531380a02f63fc50a95942311d6aec47306f39ca50a536503341bcc99889f388bdd873df
data/.gitignore CHANGED
@@ -9,3 +9,4 @@
9
9
 
10
10
  # rspec failure tracking
11
11
  .rspec_status
12
+ .covered.db
data/.travis.yml CHANGED
@@ -4,12 +4,15 @@ cache: bundler
4
4
 
5
5
  matrix:
6
6
  include:
7
- - rvm: 2.3
8
7
  - rvm: 2.4
9
8
  - rvm: 2.5
10
9
  - rvm: 2.6
11
10
  - rvm: 2.6
12
- env: COVERAGE=BriefSummary,Coveralls
13
- - rvm: ruby-head
11
+ env: COVERAGE=PartialSummary,Coveralls
12
+ - rvm: truffleruby
14
13
  - rvm: jruby-head
14
+ - rvm: ruby-head
15
+ allow_failures:
15
16
  - rvm: truffleruby
17
+ - rvm: ruby-head
18
+ - rvm: jruby-head
@@ -56,27 +56,27 @@ module Console
56
56
  end
57
57
 
58
58
  def initialize(output, verbose: true, level: self.class::DEFAULT_LEVEL, **options)
59
- @level = level
59
+ @output = output
60
60
  @verbose = verbose
61
+ @level = level
61
62
 
62
63
  @subjects = {}
63
64
 
64
- @output = output
65
65
  @options = options
66
66
  end
67
67
 
68
- def dup(**options)
69
- super().tap do |logger|
68
+ def with(**options)
69
+ dup.tap do |logger|
70
70
  logger.options = @options.merge(options)
71
71
  end
72
72
  end
73
73
 
74
- attr :level
74
+ attr_accessor :output
75
75
  attr :verbose
76
+ attr :level
76
77
 
77
78
  attr :subjects
78
79
 
79
- attr_accessor :output
80
80
  attr_accessor :options
81
81
 
82
82
  def level= level
@@ -19,5 +19,5 @@
19
19
  # THE SOFTWARE.
20
20
 
21
21
  module Console
22
- VERSION = "1.2.4"
22
+ VERSION = "1.3.0"
23
23
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: console
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.4
4
+ version: 1.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-05-12 00:00:00.000000000 Z
11
+ date: 2019-06-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: covered