console 1.8.1 → 1.8.2
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 +4 -4
- data/Rakefile +0 -7
- data/bake/console.rb +15 -0
- data/lib/console/version.rb +1 -1
- metadata +3 -3
- data/recipes/console.rb +0 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cd8c2a727909b3b0ca71bcb6a441d47b0cc4c84fa23092bc23e4236f9b08f252
|
4
|
+
data.tar.gz: b66c0287ec6cbdc6269620cb043c2b6a97a7f0144f01502861196f0d0f1300a0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cee7d0d65fad3401bbb1eb607c8661ee8c5645c8528a096436bebe8adf66d1d0f2e646b912286a2250a88a1ee25460c29d42bca6d173818b0a8a57e0397e117e
|
7
|
+
data.tar.gz: 03fbb80bc350caba54060baa86f4ed98e15bb2e5b323c1004b84f9b8e87ba29c5e523e996dd6288dfa30a55bd4833265190459e88c2b44a66b45b6188508fe9e
|
data/Rakefile
CHANGED
data/bake/console.rb
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Increase the verbosity of the logger to info.
|
4
|
+
def info
|
5
|
+
require_relative '../lib/console'
|
6
|
+
|
7
|
+
Console.logger.info!
|
8
|
+
end
|
9
|
+
|
10
|
+
# Increase the verbosity of the logger to debug.
|
11
|
+
def debug
|
12
|
+
require_relative '../lib/console'
|
13
|
+
|
14
|
+
Console.logger.debug!
|
15
|
+
end
|
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.8.
|
4
|
+
version: 1.8.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Samuel Williams
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-02-
|
11
|
+
date: 2020-02-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bake
|
@@ -94,6 +94,7 @@ files:
|
|
94
94
|
- Gemfile
|
95
95
|
- README.md
|
96
96
|
- Rakefile
|
97
|
+
- bake/console.rb
|
97
98
|
- console.gemspec
|
98
99
|
- lib/console.rb
|
99
100
|
- lib/console/buffer.rb
|
@@ -113,7 +114,6 @@ files:
|
|
113
114
|
- lib/console/terminal/xterm.rb
|
114
115
|
- lib/console/version.rb
|
115
116
|
- proposal.md
|
116
|
-
- recipes/console.rb
|
117
117
|
homepage: https://github.com/socketry/console
|
118
118
|
licenses:
|
119
119
|
- MIT
|
data/recipes/console.rb
DELETED
@@ -1,11 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require_relative '../lib/console'
|
4
|
-
|
5
|
-
recipe :info, description: "Increase the verbosity of the logger to info." do
|
6
|
-
Console.logger.info!
|
7
|
-
end
|
8
|
-
|
9
|
-
recipe :debug, description: "Increase the verbosity of the logger to debug." do
|
10
|
-
Console.logger.debug!
|
11
|
-
end
|