ripl-rc 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGES CHANGED
@@ -1,5 +1,9 @@
1
1
  = ripl-rc changes history
2
2
 
3
+ == ripl-rc 0.2.1 -- 2011-04-11
4
+
5
+ * [multiline] fixed history with editline (e.g. mac's build-in ruby)
6
+
3
7
  == ripl-rc 0.2.0 -- 2011-04-10
4
8
 
5
9
  * [ ripl-rc] tested with MRI 1.8.7, 1.9.2 and Rubinius 1.2.3, JRuby 1.6.0
@@ -21,7 +21,8 @@ module Ripl::Rc::SqueezeHistory
21
21
  def eval_input input
22
22
  return super if SqueezeHistory.disabled?
23
23
  history.pop if input.strip == '' ||
24
- (history.size > 1 && input == history[-2])
24
+ (history.size > 1 && input == history.to_a[-2])
25
+ # EditLine is really broken, to_a is needed for it
25
26
  super
26
27
  end
27
28
 
@@ -1,6 +1,6 @@
1
1
 
2
2
  module Ripl
3
3
  module Rc
4
- VERSION = '0.2.0'
4
+ VERSION = '0.2.1'
5
5
  end
6
6
  end
data/ripl-rc.gemspec CHANGED
@@ -2,11 +2,11 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{ripl-rc}
5
- s.version = "0.2.0"
5
+ s.version = "0.2.1"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Lin Jen-Shin (godfat)"]
9
- s.date = %q{2011-04-10}
9
+ s.date = %q{2011-04-11}
10
10
  s.description = %q{ripl plugins collection, take you want, leave you don't.}
11
11
  s.email = ["godfat (XD) godfat.org"]
12
12
  s.executables = ["ripl-rc"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ripl-rc
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-04-10 00:00:00.000000000Z
12
+ date: 2011-04-11 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: ripl
16
- requirement: &2156866000 !ruby/object:Gem::Requirement
16
+ requirement: &2156654560 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *2156866000
24
+ version_requirements: *2156654560
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: bacon
27
- requirement: &2156865520 !ruby/object:Gem::Requirement
27
+ requirement: &2156654080 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: '0'
33
33
  type: :development
34
34
  prerelease: false
35
- version_requirements: *2156865520
35
+ version_requirements: *2156654080
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: rr
38
- requirement: &2156865040 !ruby/object:Gem::Requirement
38
+ requirement: &2156653600 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ! '>='
@@ -43,7 +43,7 @@ dependencies:
43
43
  version: '0'
44
44
  type: :development
45
45
  prerelease: false
46
- version_requirements: *2156865040
46
+ version_requirements: *2156653600
47
47
  description: ripl plugins collection, take you want, leave you don't.
48
48
  email:
49
49
  - godfat (XD) godfat.org