console 1.2.4 → 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/.travis.yml +6 -3
- data/lib/console/filter.rb +6 -6
- data/lib/console/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b9e220d9ee195e716768f702ac9e54602643d9109374166934cd1fbbfef5d145
|
4
|
+
data.tar.gz: 6ff0fbfe58174446b7154da69d064c3e91a53d35045b5f93a47c3d34a8c3ab76
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1015b59f334d135c439fb5f016e4dca65250b4ba73712a6e3cc9614d6560716fd26bb9d92919fbe6a24552e9f78b1a8d70f14039a5c6d035a91f0936454729d1
|
7
|
+
data.tar.gz: f14b2c3463ceec7edf74117173716b3f56b3698e3af7a8e88d64a4ab531380a02f63fc50a95942311d6aec47306f39ca50a536503341bcc99889f388bdd873df
|
data/.gitignore
CHANGED
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=
|
13
|
-
- rvm:
|
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
|
data/lib/console/filter.rb
CHANGED
@@ -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
|
-
@
|
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
|
69
|
-
|
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
|
-
|
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
|
data/lib/console/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2019-06-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: covered
|