rubysl-readline 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rubysl/readline.rb +1 -1
- data/lib/rubysl/readline/readline.rb +13 -0
- data/lib/rubysl/readline/version.rb +1 -1
- metadata +16 -16
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7e008b127c5712512bb01363364a142756b91de2
|
4
|
+
data.tar.gz: 34aaeabe0d55462b770fdb5f5518de05493aacc5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 316884b4ef894bad7c11e4cdeff81480d7ff6ff2dff8f0f0f024bd4c581d35e4964cd7f08100648637d070b4330d14094c3c15779b98c9129ba6a0d7fc73f160
|
7
|
+
data.tar.gz: c4ccf07fd7b132c71274836a1aff04a6f2027da480ebed705d43ba0301518614f6e37df50aa4e87ec7a15aedde81bd876c2830d223af4669ba5fefe13c3355f2
|
data/lib/rubysl/readline.rb
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
require "readline/readline"
|
1
|
+
require "rubysl/readline/readline"
|
2
2
|
require "rubysl/readline/version"
|
@@ -0,0 +1,13 @@
|
|
1
|
+
require 'readline/readline'
|
2
|
+
|
3
|
+
module Readline
|
4
|
+
def self.readline(prompt="", add_hist=true)
|
5
|
+
perform_readline(prompt, add_hist)
|
6
|
+
end
|
7
|
+
|
8
|
+
def readline(prompt="", add_hist=true)
|
9
|
+
Readline.perform_readline(prompt, add_hist)
|
10
|
+
end
|
11
|
+
end
|
12
|
+
|
13
|
+
Readline::HISTORY.extend Enumerable
|
metadata
CHANGED
@@ -1,69 +1,69 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubysl-readline
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brian Shirai
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2014-06-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - ~>
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '1.3'
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - ~>
|
24
|
+
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '1.3'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rake
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - ~>
|
31
|
+
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '10.0'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - ~>
|
38
|
+
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '10.0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: mspec
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- - ~>
|
45
|
+
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: '1.5'
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- - ~>
|
52
|
+
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '1.5'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: rubysl-prettyprint
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- - ~>
|
59
|
+
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: '1.0'
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- - ~>
|
66
|
+
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '1.0'
|
69
69
|
description: Ruby standard library readline.
|
@@ -74,8 +74,8 @@ extensions:
|
|
74
74
|
- ext/rubysl/readline/extconf.rb
|
75
75
|
extra_rdoc_files: []
|
76
76
|
files:
|
77
|
-
- .gitignore
|
78
|
-
- .travis.yml
|
77
|
+
- ".gitignore"
|
78
|
+
- ".travis.yml"
|
79
79
|
- Gemfile
|
80
80
|
- LICENSE
|
81
81
|
- README.md
|
@@ -84,6 +84,7 @@ files:
|
|
84
84
|
- ext/rubysl/readline/readline.c
|
85
85
|
- lib/readline.rb
|
86
86
|
- lib/rubysl/readline.rb
|
87
|
+
- lib/rubysl/readline/readline.rb
|
87
88
|
- lib/rubysl/readline/version.rb
|
88
89
|
- rubysl-readline.gemspec
|
89
90
|
- spec/basic_quote_characters_spec.rb
|
@@ -122,17 +123,17 @@ require_paths:
|
|
122
123
|
- lib
|
123
124
|
required_ruby_version: !ruby/object:Gem::Requirement
|
124
125
|
requirements:
|
125
|
-
- -
|
126
|
+
- - ">="
|
126
127
|
- !ruby/object:Gem::Version
|
127
128
|
version: '0'
|
128
129
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
129
130
|
requirements:
|
130
|
-
- -
|
131
|
+
- - ">="
|
131
132
|
- !ruby/object:Gem::Version
|
132
133
|
version: '0'
|
133
134
|
requirements: []
|
134
135
|
rubyforge_project:
|
135
|
-
rubygems_version: 2.
|
136
|
+
rubygems_version: 2.2.2
|
136
137
|
signing_key:
|
137
138
|
specification_version: 4
|
138
139
|
summary: Ruby standard library readline.
|
@@ -163,4 +164,3 @@ test_files:
|
|
163
164
|
- spec/history/to_s_spec.rb
|
164
165
|
- spec/readline_spec.rb
|
165
166
|
- spec/vi_editing_mode_spec.rb
|
166
|
-
has_rdoc:
|