readline-ext 0.1.0.pre.1 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ext/readline/readline-ext.gemspec +21 -0
- data/ext/readline/readline.c +5 -6
- data/readline-ext.gemspec +1 -1
- metadata +6 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4c49bd4a1ba265ca14013a16f07d2e032a515d5e7096b50ad5d5ba9c8266c724
|
4
|
+
data.tar.gz: bfd4f4d2122fe5d15c013294be1366db43b7532e6d3b138d0332e7c1b58f6b3d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3ccd3b9bb607f041bd202038c1d88e735140b110e205497676934fb56627f5954750d77aaa08ff5c78ae25f1f47174a45edbe1b99aee367fcebd1cd4f9a5897b
|
7
|
+
data.tar.gz: 8f50874cfa969ac18ee564dacfd1acb720cc7512d70ad7a06960b3c201395751828bdb703f6dd3aa6805d753c3fa6446ed3f1f39b3cf148916bb276a415f9a25
|
@@ -0,0 +1,21 @@
|
|
1
|
+
Gem::Specification.new do |spec|
|
2
|
+
spec.name = "readline-ext"
|
3
|
+
spec.version = "0.1.0"
|
4
|
+
spec.authors = ["Yukihiro Matsumoto"]
|
5
|
+
spec.email = ["matz@ruby-lang.org"]
|
6
|
+
|
7
|
+
spec.summary = %q{Provides an interface for GNU Readline and Edit Line (libedit).}
|
8
|
+
spec.description = %q{Provides an interface for GNU Readline and Edit Line (libedit).}
|
9
|
+
spec.homepage = "https://github.com/ruby/readline-ext"
|
10
|
+
spec.license = "BSD-2-Clause"
|
11
|
+
|
12
|
+
spec.metadata["homepage_uri"] = spec.homepage
|
13
|
+
spec.metadata["source_code_uri"] = spec.homepage
|
14
|
+
|
15
|
+
spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
|
16
|
+
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
17
|
+
end
|
18
|
+
spec.bindir = "exe"
|
19
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
20
|
+
spec.require_paths = ["lib"]
|
21
|
+
end
|
data/ext/readline/readline.c
CHANGED
@@ -95,7 +95,6 @@ static char **readline_attempted_completion_function(const char *text,
|
|
95
95
|
|
96
96
|
#define OutputStringValue(str) do {\
|
97
97
|
StringValueCStr(str);\
|
98
|
-
rb_check_safe_obj(str);\
|
99
98
|
(str) = rb_str_conv_enc((str), rb_enc_get(str), rb_locale_encoding());\
|
100
99
|
} while (0)\
|
101
100
|
|
@@ -1382,7 +1381,7 @@ readline_s_set_basic_word_break_characters(VALUE self, VALUE str)
|
|
1382
1381
|
* Raises NotImplementedError if the using readline library does not support.
|
1383
1382
|
*/
|
1384
1383
|
static VALUE
|
1385
|
-
readline_s_get_basic_word_break_characters(VALUE self
|
1384
|
+
readline_s_get_basic_word_break_characters(VALUE self)
|
1386
1385
|
{
|
1387
1386
|
if (rl_basic_word_break_characters == NULL)
|
1388
1387
|
return Qnil;
|
@@ -1437,7 +1436,7 @@ readline_s_set_completer_word_break_characters(VALUE self, VALUE str)
|
|
1437
1436
|
* Raises NotImplementedError if the using readline library does not support.
|
1438
1437
|
*/
|
1439
1438
|
static VALUE
|
1440
|
-
readline_s_get_completer_word_break_characters(VALUE self
|
1439
|
+
readline_s_get_completer_word_break_characters(VALUE self)
|
1441
1440
|
{
|
1442
1441
|
if (rl_completer_word_break_characters == NULL)
|
1443
1442
|
return Qnil;
|
@@ -1552,7 +1551,7 @@ readline_s_set_basic_quote_characters(VALUE self, VALUE str)
|
|
1552
1551
|
* Raises NotImplementedError if the using readline library does not support.
|
1553
1552
|
*/
|
1554
1553
|
static VALUE
|
1555
|
-
readline_s_get_basic_quote_characters(VALUE self
|
1554
|
+
readline_s_get_basic_quote_characters(VALUE self)
|
1556
1555
|
{
|
1557
1556
|
if (rl_basic_quote_characters == NULL)
|
1558
1557
|
return Qnil;
|
@@ -1608,7 +1607,7 @@ readline_s_set_completer_quote_characters(VALUE self, VALUE str)
|
|
1608
1607
|
* Raises NotImplementedError if the using readline library does not support.
|
1609
1608
|
*/
|
1610
1609
|
static VALUE
|
1611
|
-
readline_s_get_completer_quote_characters(VALUE self
|
1610
|
+
readline_s_get_completer_quote_characters(VALUE self)
|
1612
1611
|
{
|
1613
1612
|
if (rl_completer_quote_characters == NULL)
|
1614
1613
|
return Qnil;
|
@@ -1662,7 +1661,7 @@ readline_s_set_filename_quote_characters(VALUE self, VALUE str)
|
|
1662
1661
|
* Raises NotImplementedError if the using readline library does not support.
|
1663
1662
|
*/
|
1664
1663
|
static VALUE
|
1665
|
-
readline_s_get_filename_quote_characters(VALUE self
|
1664
|
+
readline_s_get_filename_quote_characters(VALUE self)
|
1666
1665
|
{
|
1667
1666
|
if (rl_filename_quote_characters == NULL)
|
1668
1667
|
return Qnil;
|
data/readline-ext.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: readline-ext
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.0
|
4
|
+
version: 0.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yukihiro Matsumoto
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-12-25 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Provides an interface for GNU Readline and Edit Line (libedit).
|
14
14
|
email:
|
@@ -30,6 +30,7 @@ files:
|
|
30
30
|
- ext/readline/README.ja
|
31
31
|
- ext/readline/depend
|
32
32
|
- ext/readline/extconf.rb
|
33
|
+
- ext/readline/readline-ext.gemspec
|
33
34
|
- ext/readline/readline.c
|
34
35
|
- readline-ext.gemspec
|
35
36
|
homepage: https://github.com/ruby/readline-ext
|
@@ -49,11 +50,11 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
49
50
|
version: '0'
|
50
51
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
51
52
|
requirements:
|
52
|
-
- - "
|
53
|
+
- - ">="
|
53
54
|
- !ruby/object:Gem::Version
|
54
|
-
version:
|
55
|
+
version: '0'
|
55
56
|
requirements: []
|
56
|
-
rubygems_version: 3.0.
|
57
|
+
rubygems_version: 3.0.6
|
57
58
|
signing_key:
|
58
59
|
specification_version: 4
|
59
60
|
summary: Provides an interface for GNU Readline and Edit Line (libedit).
|