console 1.8.1 → 1.8.2

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: 83349667c0bee216b5f436e7c4ccfb058fd513017866172951c272dd1adf4890
4
- data.tar.gz: b1ad812339bc394ea7431d9442362d8257331d451d7a4e0f38e48c270bd97b89
3
+ metadata.gz: cd8c2a727909b3b0ca71bcb6a441d47b0cc4c84fa23092bc23e4236f9b08f252
4
+ data.tar.gz: b66c0287ec6cbdc6269620cb043c2b6a97a7f0144f01502861196f0d0f1300a0
5
5
  SHA512:
6
- metadata.gz: 6b9629d5018f77eecc078c4878a3fbcf4487c7e819f50bbc91c1eebc02ab757270d2b0a8d256331c1b379210e54f2cc57c7ad825146c43d7424bf8edddd1dd1f
7
- data.tar.gz: da4765d7df9425099817db318019c81570430e1cb6dc4b73823fe87c451be106cb4ffcf53c40f3f9d66cab385b777de82b3493b05034ce9d4dd938d09d6bf04b
6
+ metadata.gz: cee7d0d65fad3401bbb1eb607c8661ee8c5645c8528a096436bebe8adf66d1d0f2e646b912286a2250a88a1ee25460c29d42bca6d173818b0a8a57e0397e117e
7
+ data.tar.gz: 03fbb80bc350caba54060baa86f4ed98e15bb2e5b323c1004b84f9b8e87ba29c5e523e996dd6288dfa30a55bd4833265190459e88c2b44a66b45b6188508fe9e
data/Rakefile CHANGED
@@ -4,10 +4,3 @@ require "rspec/core/rake_task"
4
4
  RSpec::Core::RakeTask.new(:spec)
5
5
 
6
6
  task :default => :spec
7
-
8
- task :console do
9
- require 'pry'
10
- require 'console'
11
-
12
- binding.pry
13
- end
@@ -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
@@ -19,5 +19,5 @@
19
19
  # THE SOFTWARE.
20
20
 
21
21
  module Console
22
- VERSION = "1.8.1"
22
+ VERSION = "1.8.2"
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.8.1
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-03 00:00:00.000000000 Z
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
@@ -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