readline-ext 0.1.3 → 0.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.git-blame-ignore-revs +7 -0
- data/.github/dependabot.yml +6 -0
- data/.github/workflows/test.yml +2 -2
- data/ext/readline/readline.c +2 -3
- data/readline-ext.gemspec +1 -5
- metadata +6 -46
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 58f52b39a9287ece2a0c2b5e2c53bfab5445616011f7f36dc5abf0d23c9bfa25
|
4
|
+
data.tar.gz: 2550a9aab2ac93fe25a1af0764bd04285bb6820dc9e157cabacb3f4daea488b3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '0118bb153949cdc9450007bd945cd3dd39aa0681cf043a361c647e560425969fa7e3457d2b394a78707f5152b7c0d5d690be14f183a944a9342f6f5534574d23'
|
7
|
+
data.tar.gz: 23f6db65adddff7053d9331b90712a7439ba2b4e77a54984965055355d32c1918f4e92a2f24eeb5f4dd4df1cde9e7af3cd2773392cc747854230a758317b6778
|
@@ -0,0 +1,7 @@
|
|
1
|
+
# This is a file used by GitHub to ignore the following commits on `git blame`.
|
2
|
+
#
|
3
|
+
# You can also do the same thing in your local repository with:
|
4
|
+
# $ git config --local blame.ignoreRevsFile .git-blame-ignore-revs
|
5
|
+
|
6
|
+
# Expand tabs
|
7
|
+
aeae109dcf365df8c403bb53c5c39d6e08f5772c
|
data/.github/workflows/test.yml
CHANGED
@@ -7,11 +7,11 @@ jobs:
|
|
7
7
|
name: build (${{ matrix.ruby }} / ${{ matrix.os }})
|
8
8
|
strategy:
|
9
9
|
matrix:
|
10
|
-
ruby: [ '3.0', 2.7, 2.6,
|
10
|
+
ruby: [ 3.1, '3.0', 2.7, 2.6, head ]
|
11
11
|
os: [ ubuntu-latest, macos-latest ]
|
12
12
|
runs-on: ${{ matrix.os }}
|
13
13
|
steps:
|
14
|
-
- uses: actions/checkout@
|
14
|
+
- uses: actions/checkout@v3
|
15
15
|
- name: Install libedit
|
16
16
|
run: sudo apt-get install -q libedit-dev libedit2
|
17
17
|
if: startsWith(matrix.os, 'ubuntu')
|
data/ext/readline/readline.c
CHANGED
@@ -376,8 +376,8 @@ prepare_readline(void)
|
|
376
376
|
{
|
377
377
|
static int initialized = 0;
|
378
378
|
if (!initialized) {
|
379
|
-
|
380
|
-
|
379
|
+
rl_initialize();
|
380
|
+
initialized = 1;
|
381
381
|
}
|
382
382
|
|
383
383
|
if (readline_instream) {
|
@@ -696,7 +696,6 @@ str_subpos(const char *ptr, const char *end, long beg, long *sublen, rb_encoding
|
|
696
696
|
VALUE str = rb_enc_str_new_static(ptr, end-ptr, enc);
|
697
697
|
OBJ_FREEZE(str);
|
698
698
|
ptr = rb_str_subpos(str, beg, sublen);
|
699
|
-
rb_gc_force_recycle(str);
|
700
699
|
return ptr;
|
701
700
|
}
|
702
701
|
|
data/readline-ext.gemspec
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |spec|
|
2
2
|
spec.name = "readline-ext"
|
3
|
-
spec.version = "0.1.
|
3
|
+
spec.version = "0.1.5"
|
4
4
|
spec.authors = ["Yukihiro Matsumoto"]
|
5
5
|
spec.email = ["matz@ruby-lang.org"]
|
6
6
|
|
@@ -19,8 +19,4 @@ Gem::Specification.new do |spec|
|
|
19
19
|
spec.bindir = "exe"
|
20
20
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
21
21
|
spec.require_paths = ["lib"]
|
22
|
-
|
23
|
-
spec.add_development_dependency "bundler"
|
24
|
-
spec.add_development_dependency "rake"
|
25
|
-
spec.add_development_dependency "rake-compiler"
|
26
22
|
end
|
metadata
CHANGED
@@ -1,57 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: readline-ext
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yukihiro Matsumoto
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
12
|
-
dependencies:
|
13
|
-
- !ruby/object:Gem::Dependency
|
14
|
-
name: bundler
|
15
|
-
requirement: !ruby/object:Gem::Requirement
|
16
|
-
requirements:
|
17
|
-
- - ">="
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: '0'
|
20
|
-
type: :development
|
21
|
-
prerelease: false
|
22
|
-
version_requirements: !ruby/object:Gem::Requirement
|
23
|
-
requirements:
|
24
|
-
- - ">="
|
25
|
-
- !ruby/object:Gem::Version
|
26
|
-
version: '0'
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: rake
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - ">="
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: '0'
|
34
|
-
type: :development
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
37
|
-
requirements:
|
38
|
-
- - ">="
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: '0'
|
41
|
-
- !ruby/object:Gem::Dependency
|
42
|
-
name: rake-compiler
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
44
|
-
requirements:
|
45
|
-
- - ">="
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version: '0'
|
48
|
-
type: :development
|
49
|
-
prerelease: false
|
50
|
-
version_requirements: !ruby/object:Gem::Requirement
|
51
|
-
requirements:
|
52
|
-
- - ">="
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: '0'
|
11
|
+
date: 2022-12-14 00:00:00.000000000 Z
|
12
|
+
dependencies: []
|
55
13
|
description: Provides an interface for GNU Readline and Edit Line (libedit).
|
56
14
|
email:
|
57
15
|
- matz@ruby-lang.org
|
@@ -60,6 +18,8 @@ extensions:
|
|
60
18
|
- ext/readline/extconf.rb
|
61
19
|
extra_rdoc_files: []
|
62
20
|
files:
|
21
|
+
- ".git-blame-ignore-revs"
|
22
|
+
- ".github/dependabot.yml"
|
63
23
|
- ".github/workflows/test.yml"
|
64
24
|
- ".gitignore"
|
65
25
|
- Gemfile
|
@@ -97,7 +57,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
97
57
|
- !ruby/object:Gem::Version
|
98
58
|
version: '0'
|
99
59
|
requirements: []
|
100
|
-
rubygems_version: 3.
|
60
|
+
rubygems_version: 3.4.0.dev
|
101
61
|
signing_key:
|
102
62
|
specification_version: 4
|
103
63
|
summary: Provides an interface for GNU Readline and Edit Line (libedit).
|