textbringer 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGES.md +5 -0
- data/lib/textbringer/modes/ruby_mode.rb +2 -1
- data/lib/textbringer/utils.rb +3 -0
- data/lib/textbringer/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a50dd7957ac593c31d5f1f0102d2240b277f419cd7ea431af422afe53cb3746b
|
4
|
+
data.tar.gz: 7c4ad8bca8b8ec2ca21bea0a855872f4de39f7e18e22c64e072a4723fbf8a029
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 96b9ca053d2efeef296ff47db39aa1ef8d345456a5bd3a762025a4928ffb63dc8a3f63cdab5c60e6280a1cf47d56eedfa7734ddd0a23d0bd368fece0e58a96a3
|
7
|
+
data.tar.gz: 1cbe3d4cc148f6d837913c5080199bff92417a584fd6b9a452d2f414e1b9e3a09259ce16cc7bfd5a05c2987ac2bc4a55f1d417d42314c59155100d5d0c98764c
|
data/CHANGES.md
CHANGED
@@ -283,6 +283,7 @@ def calculate_indentation
|
|
283
283
|
end
|
284
284
|
|
285
285
|
BLOCK_END = {
|
286
|
+
'#{' => "}",
|
286
287
|
"{" => "}",
|
287
288
|
"(" => ")",
|
288
289
|
"[" => "]"
|
@@ -326,7 +327,7 @@ def find_nearest_beginning_token(tokens)
|
|
326
327
|
stack.pop
|
327
328
|
end
|
328
329
|
end
|
329
|
-
return nil, stack.size
|
330
|
+
return nil, stack.grep_v(/[)\]]/).size
|
330
331
|
end
|
331
332
|
|
332
333
|
def find_test_target_path(base, namespace, name)
|
data/lib/textbringer/utils.rb
CHANGED
data/lib/textbringer/version.rb
CHANGED
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.0.
|
4
|
+
version: 1.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Shugo Maeda
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-03-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: curses
|
@@ -253,7 +253,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
253
253
|
- !ruby/object:Gem::Version
|
254
254
|
version: '0'
|
255
255
|
requirements: []
|
256
|
-
rubygems_version: 3.
|
256
|
+
rubygems_version: 3.2.0.pre1
|
257
257
|
signing_key:
|
258
258
|
specification_version: 4
|
259
259
|
summary: An Emacs-like text editor
|