textbringer 1.1.2 → 1.2.0

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: 9641c360dd5bb038429536d85e666ff3518e37413eeece13898fa1a730665193
4
- data.tar.gz: e2e9f71f90e060e30aac0bfa273fe65349eacc633f83c7c6dda034aa160436c6
3
+ metadata.gz: f26fbba03cd3a598394d22f7edee8521b01c0ff0492c41fff8b2ede22dfbc321
4
+ data.tar.gz: 2eb497b690e8a3c36a724a68675daeae0ca29936bd42a5ac367abf5b8408e751
5
5
  SHA512:
6
- metadata.gz: 285df14ab50ac3b27e5c61a3c24503c7ce724b84a918072ada9e920c323f94c46564b329a3217950bddeee5e1c4b5e83f426ad577bb8cb6596004c2b374fd12d
7
- data.tar.gz: 6ed66854359cdd89310f77cb79c2b14cdafe4b5c7636aee662c7d1a4103563388e183bf11b5b7aab45fd691b70fa16c5d33f66231f109c6a733d05c98f1087e2
6
+ metadata.gz: 4d39ca69665b6383083bab06f724d961c9d88c41d50ac23c1abc44c15ec9d4440b6d9fff304c49d96b150d9c2145382d466f5449707a5d6c350247bc2726d08f
7
+ data.tar.gz: e6baed2d72e9af279bded9ece8671dabb8cdddce1230b4fe308eb7c20fd875d6c0ebd5e98eb8f0ad75d450642c221bcd1c1481a194267b739ee47c4ebabd8fd1
@@ -6,7 +6,7 @@ jobs:
6
6
  test:
7
7
  strategy:
8
8
  matrix:
9
- ruby: [ head, 3.1, 3.0, 2.7, 2.6 ]
9
+ ruby: [ head, 3.1, 3.0, 2.7 ]
10
10
  runs-on: ubuntu-latest
11
11
  timeout-minutes: 10
12
12
  steps:
@@ -7,7 +7,7 @@ jobs:
7
7
  runs-on: windows-latest
8
8
  strategy:
9
9
  matrix:
10
- ruby: [ 'mingw', 'mswin', '3.0', '2.7', '2.6' ]
10
+ ruby: [ 'mingw', 'mswin', '3.0', '2.7' ]
11
11
  timeout-minutes: 10
12
12
  steps:
13
13
  - uses: actions/checkout@v2
data/CHANGES.md CHANGED
@@ -1,3 +1,8 @@
1
+ ## 1.2.0
2
+
3
+ * Drop Ruby 2.6 support.
4
+ * Change the command name to `txtb`.
5
+
1
6
  ## 1.1.2
2
7
 
3
8
  * Buf fixes.
data/README.md CHANGED
@@ -30,7 +30,7 @@ Install ncursesw before installing curses.gem, on which textbringer depends.
30
30
 
31
31
  ## Usage
32
32
 
33
- $ textbringer
33
+ $ txtb
34
34
 
35
35
  You can quit the editor by `Ctrl-x Ctrl-c`.
36
36
 
@@ -19,7 +19,7 @@ def load_user_config(path)
19
19
  end
20
20
 
21
21
  unless STDIN.tty?
22
- STDERR.puts("textbringer: standard input is not a tty")
22
+ STDERR.puts("txtb: standard input is not a tty")
23
23
  exit 1
24
24
  end
25
25
 
@@ -269,7 +269,7 @@ module Textbringer
269
269
  end
270
270
  end
271
271
 
272
- CANONICAL_PUNCTUATORS = Hash.new { |h, k| k }
272
+ CANONICAL_PUNCTUATORS = Hash.new { _2 }
273
273
  CANONICAL_PUNCTUATORS["<:"] = "["
274
274
  CANONICAL_PUNCTUATORS[":>"] = "]"
275
275
  CANONICAL_PUNCTUATORS["<%"] = "{"
@@ -164,7 +164,7 @@ module Textbringer
164
164
  Window.echo_area.redisplay
165
165
  Window.update
166
166
  recursive_edit
167
- s = Buffer.minibuffer.to_s.chomp
167
+ s = Buffer.minibuffer.to_s
168
168
  if default && s.empty?
169
169
  default
170
170
  else
@@ -1,3 +1,3 @@
1
1
  module Textbringer
2
- VERSION = "1.1.2"
2
+ VERSION = "1.2.0"
3
3
  end
data/textbringer.gemspec CHANGED
@@ -19,7 +19,7 @@ Gem::Specification.new do |spec|
19
19
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
20
20
  spec.require_paths = ["lib"]
21
21
 
22
- spec.required_ruby_version = '>= 2.6'
22
+ spec.required_ruby_version = '>= 2.7'
23
23
 
24
24
  spec.add_runtime_dependency "curses", ">= 1.2.7"
25
25
  spec.add_runtime_dependency "unicode-display_width", ">= 1.1"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: textbringer
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.2
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shugo Maeda
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-09-08 00:00:00.000000000 Z
11
+ date: 2022-10-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: curses
@@ -171,7 +171,7 @@ email:
171
171
  executables:
172
172
  - tbclient
173
173
  - tbtags
174
- - textbringer
174
+ - txtb
175
175
  extensions: []
176
176
  extra_rdoc_files: []
177
177
  files:
@@ -190,7 +190,7 @@ files:
190
190
  - bin/merge_mazegaki_dic
191
191
  - exe/tbclient
192
192
  - exe/tbtags
193
- - exe/textbringer
193
+ - exe/txtb
194
194
  - lib/textbringer.rb
195
195
  - lib/textbringer/buffer.rb
196
196
  - lib/textbringer/color.rb
@@ -251,7 +251,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
251
251
  requirements:
252
252
  - - ">="
253
253
  - !ruby/object:Gem::Version
254
- version: '2.6'
254
+ version: '2.7'
255
255
  required_rubygems_version: !ruby/object:Gem::Requirement
256
256
  requirements:
257
257
  - - ">="