rereline 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +44 -0
- data/lib/rereline/debugger.rb +6 -4
- data/lib/rereline/terminal.rb +0 -1
- data/lib/rereline/version.rb +1 -1
- data/rereline.gemspec +1 -1
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 37e887322ac196580e425a51e799bfd651e4b15bef2f5897c51c66b5c974f413
|
4
|
+
data.tar.gz: aeee41a83d406e0d298fda00090b4631f68834e653c383a471f1658c60e5b154
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bf1c4140dbf1cee9113cfbde81b48d91e05664eb98a9034600f9e835d4938a7ac5164fee526b50875b857470e7a1590d955c6e684e649337abd51d42481f3461
|
7
|
+
data.tar.gz: 54737ebd852fa9b3b77323150d989365601a104621a210afa4cc83069d359c7417ca3d10e856ade153effd46a7047050bc8db385c39e954a43d3d400a6204be4
|
data/CHANGELOG.md
ADDED
@@ -0,0 +1,44 @@
|
|
1
|
+
# Change log
|
2
|
+
|
3
|
+
## master (unreleased)
|
4
|
+
|
5
|
+
### New features
|
6
|
+
|
7
|
+
### Bug fixes
|
8
|
+
|
9
|
+
### Changes
|
10
|
+
|
11
|
+
|
12
|
+
## 0.1.2
|
13
|
+
|
14
|
+
### New features
|
15
|
+
|
16
|
+
### Bug fixes
|
17
|
+
|
18
|
+
* Remove debug output.
|
19
|
+
|
20
|
+
|
21
|
+
### Changes
|
22
|
+
|
23
|
+
## 0.1.1
|
24
|
+
|
25
|
+
### New features
|
26
|
+
|
27
|
+
### Bug fixes
|
28
|
+
|
29
|
+
* Fix backspace key.
|
30
|
+
|
31
|
+
### Changes
|
32
|
+
|
33
|
+
|
34
|
+
|
35
|
+
## 0.1.0
|
36
|
+
|
37
|
+
### New features
|
38
|
+
|
39
|
+
* Release
|
40
|
+
|
41
|
+
### Bug fixes
|
42
|
+
|
43
|
+
### Changes
|
44
|
+
|
data/lib/rereline/debugger.rb
CHANGED
@@ -1,5 +1,3 @@
|
|
1
|
-
# ENV["RELINE_STDERR_TTY"] = "/dev/pts/1"
|
2
|
-
|
3
1
|
module Rereline
|
4
2
|
class Debugger
|
5
3
|
def initialize(output)
|
@@ -22,11 +20,15 @@ module Rereline
|
|
22
20
|
|
23
21
|
module Refine
|
24
22
|
refine Kernel do
|
25
|
-
output =
|
23
|
+
output = if ENV['RERELINE_DEBUG_OUTPUT_TTY']
|
24
|
+
File.open(ENV['RERELINE_DEBUG_OUTPUT_TTY'], 'a')
|
25
|
+
else
|
26
|
+
$stdout
|
27
|
+
end
|
26
28
|
debugger = Debugger.new(output)
|
27
29
|
|
28
30
|
define_method(:debug) do |*args, **kwd, &block|
|
29
|
-
debugger.debug(*args, **kwd, &block)
|
31
|
+
debugger.debug(*args, **kwd, &block) if ENV["RERELINE_DEBUG"]
|
30
32
|
end
|
31
33
|
end
|
32
34
|
end
|
data/lib/rereline/terminal.rb
CHANGED
data/lib/rereline/version.rb
CHANGED
data/rereline.gemspec
CHANGED
@@ -15,7 +15,7 @@ Gem::Specification.new do |spec|
|
|
15
15
|
|
16
16
|
spec.metadata["homepage_uri"] = spec.homepage
|
17
17
|
spec.metadata["source_code_uri"] = "https://github.com/osyo-manga/gem-rereline"
|
18
|
-
|
18
|
+
spec.metadata["changelog_uri"] = "https://github.com/osyo-manga/gem-rereline/CHANGELOG.md"
|
19
19
|
|
20
20
|
# Specify which files should be added to the gem when it is released.
|
21
21
|
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rereline
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- manga_osyo
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-02-
|
11
|
+
date: 2023-02-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: reline
|
@@ -31,6 +31,7 @@ executables: []
|
|
31
31
|
extensions: []
|
32
32
|
extra_rdoc_files: []
|
33
33
|
files:
|
34
|
+
- CHANGELOG.md
|
34
35
|
- Gemfile
|
35
36
|
- README.md
|
36
37
|
- Rakefile
|
@@ -48,6 +49,7 @@ licenses: []
|
|
48
49
|
metadata:
|
49
50
|
homepage_uri: https://github.com/osyo-manga/gem-rereline
|
50
51
|
source_code_uri: https://github.com/osyo-manga/gem-rereline
|
52
|
+
changelog_uri: https://github.com/osyo-manga/gem-rereline/CHANGELOG.md
|
51
53
|
post_install_message:
|
52
54
|
rdoc_options: []
|
53
55
|
require_paths:
|