readline 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +4 -1
  3. data/lib/readline.rb +1 -0
  4. metadata +17 -45
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0eb072b8317e795fc36e2d7f229a9b6a4221114a4d26c740628dbecdaaab5c74
4
- data.tar.gz: c029a840d26d2d7ee393994caecbb5f60bc805e5a00b8fcd96c04e25e8212fa3
3
+ metadata.gz: 5cd0b5461abcdbd6474cbccd34c4332f8db95b652783299220528c37c0078245
4
+ data.tar.gz: 617203bd52c349b02b2c162c25a5a1e36fb824070b5cf87b3acef26bfc01556b
5
5
  SHA512:
6
- metadata.gz: a1f5144bac40e231d85c4b5a6569c56f7abc302fc6cc032f275acd5073c1429540263229143854cb7d07f274fb0eaa449d39c7ad860cafa7e285dbbf2c5e8e22
7
- data.tar.gz: 50ffede86bbcb3ef949efd37704b89084ec740f1eb6eacbcf539782decd1a7bbfc23ea3bf41ff89d2fe790b19c0f1f76ff726e9924b4dc6f52fd32e9769bfdc5
6
+ metadata.gz: 7d9629c401b7dc1c57d2e69bfea4edf0235a5a3a5134041f3b54044c839c6450b40ce4d7df14b0298fbea96862de35ee6cdb5833d5656b75c73011f2927a87db
7
+ data.tar.gz: ff23bab889be5fe35ff9fdfdc3888ccad46e8d0d0c7d08e92999b3f93a0a5414e4b2953b6c0aa36df6541df8dfd7e44f0ca29eb4a2ddb7fb9ef16fc06539ae00
data/README.md CHANGED
@@ -1,6 +1,9 @@
1
1
  # Readline Loader
2
2
 
3
- This is just loader for "readline". If Ruby has "readline-ext" gem that is a native extension, this gem will load its first. If Ruby doesn't have the "readline-ext" gem this gem will load "reline" that is a compatible library with "readline-ext" gem and is implemented by pure Ruby.
3
+ This is just a loader for "readline". If Ruby has the "readline-ext" gem
4
+ that is a native extension, this gem will load it. If Ruby does not have
5
+ the "readline-ext" gem this gem will load "reline", a library that is
6
+ compatible with the "readline-ext" gem and implemented in pure Ruby.
4
7
 
5
8
  ## License
6
9
 
data/lib/readline.rb CHANGED
@@ -2,5 +2,6 @@ begin
2
2
  require 'readline.so'
3
3
  rescue LoadError
4
4
  require 'reline' unless defined? Reline
5
+ Object.send(:remove_const, :Readline) if Object.const_defined?(:Readline)
5
6
  Readline = Reline
6
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: readline
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - aycabta
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-12-25 00:00:00.000000000 Z
11
+ date: 2021-12-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: reline
@@ -24,39 +24,11 @@ dependencies:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
- - !ruby/object:Gem::Dependency
28
- name: bundler
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
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'
55
27
  description: |
56
- This is just a loader for "readline". If Ruby has "readline-ext" gem that
57
- is a native extension, this gem will load it first. If Ruby doesn't have
58
- the "readline-ext" gem this gem will load "reline" that is a compatible
59
- library with "readline-ext" gem and is implemented by pure Ruby.
28
+ This is just a loader for "readline". If Ruby has the "readline-ext" gem
29
+ that is a native extension, this gem will load it. If Ruby does not have
30
+ the "readline-ext" gem this gem will load "reline", a library that is
31
+ compatible with the "readline-ext" gem and implemented in pure Ruby.
60
32
  email:
61
33
  - aycabta@gmail.com
62
34
  executables: []
@@ -69,17 +41,17 @@ files:
69
41
  - lib/readline.rb
70
42
  homepage: https://github.com/ruby/readline
71
43
  licenses:
72
- - Ruby license
44
+ - Ruby
73
45
  metadata: {}
74
46
  post_install_message: |
75
47
  +---------------------------------------------------------------------------+
76
- | This is just a loader for "readline". If Ruby has "readline-ext" gem that |
77
- | is a native extension, this gem will load it first. If Ruby doesn't have |
78
- | the "readline-ext" gem this gem will load "reline" that is a compatible   |
79
- | library with "readline-ext" gem and is implemented by pure Ruby.          |
80
- |                                                                           |
48
+ | This is just a loader for "readline". If Ruby has the "readline-ext" gem |
49
+ | that is a native extension, this gem will load it. If Ruby does not have |
50
+ | the "readline-ext" gem this gem will load "reline", a library that is |
51
+ | compatible with the "readline-ext" gem and implemented in pure Ruby. |
52
+ | |
81
53
  | If you intend to use GNU Readline by `require 'readline'`, please install |
82
- | "readline-ext" gem.                                                       |
54
+ | the "readline-ext" gem. |
83
55
  +---------------------------------------------------------------------------+
84
56
  rdoc_options: []
85
57
  require_paths:
@@ -95,8 +67,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
95
67
  - !ruby/object:Gem::Version
96
68
  version: '0'
97
69
  requirements: []
98
- rubygems_version: 3.0.6
99
- signing_key:
70
+ rubygems_version: 3.3.2
71
+ signing_key:
100
72
  specification_version: 4
101
- summary: It's a loader for "readline".
73
+ summary: Loader for "readline".
102
74
  test_files: []