interact 0.5.1 → 0.5.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -253,7 +253,7 @@ module Interactive
253
253
  if completion == ans
254
254
  return [true, x]
255
255
  elsif completion.start_with? ans
256
- matches << ans
256
+ matches << x
257
257
  end
258
258
  end
259
259
 
@@ -1,5 +1,5 @@
1
1
  # Copyright (c) 2011 Alex Suraci
2
2
 
3
3
  module Interact
4
- VERSION = "0.5.1"
4
+ VERSION = "0.5.2"
5
5
  end
metadata CHANGED
@@ -1,104 +1,89 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: interact
3
- version: !ruby/object:Gem::Version
4
- hash: 9
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.5.2
5
5
  prerelease:
6
- segments:
7
- - 0
8
- - 5
9
- - 1
10
- version: 0.5.1
11
6
  platform: ruby
12
- authors:
7
+ authors:
13
8
  - Alex Suraci
14
9
  autorequire:
15
10
  bindir: bin
16
11
  cert_chain: []
17
-
18
- date: 2012-12-17 00:00:00 -08:00
19
- default_executable:
20
- dependencies:
21
- - !ruby/object:Gem::Dependency
12
+ date: 2013-02-04 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
22
15
  name: rake
23
- prerelease: false
24
- requirement: &id001 !ruby/object:Gem::Requirement
16
+ requirement: !ruby/object:Gem::Requirement
25
17
  none: false
26
- requirements:
27
- - - ">="
28
- - !ruby/object:Gem::Version
29
- hash: 3
30
- segments:
31
- - 0
32
- version: "0"
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: '0'
33
22
  type: :development
34
- version_requirements: *id001
35
- - !ruby/object:Gem::Dependency
36
- name: rspec
37
23
  prerelease: false
38
- requirement: &id002 !ruby/object:Gem::Requirement
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ! '>='
28
+ - !ruby/object:Gem::Version
29
+ version: '0'
30
+ - !ruby/object:Gem::Dependency
31
+ name: rspec
32
+ requirement: !ruby/object:Gem::Requirement
39
33
  none: false
40
- requirements:
34
+ requirements:
41
35
  - - ~>
42
- - !ruby/object:Gem::Version
43
- hash: 3
44
- segments:
45
- - 2
46
- - 0
47
- version: "2.0"
36
+ - !ruby/object:Gem::Version
37
+ version: '2.0'
48
38
  type: :development
49
- version_requirements: *id002
50
- description: A simple API for command-line interaction. Provides a novel 'rewinding' feature, allowing users to go back in time and re-enter a botched answer. Supports multiple-choice, password prompting, overriding input events, defaults, etc.
39
+ prerelease: false
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ~>
44
+ - !ruby/object:Gem::Version
45
+ version: '2.0'
46
+ description: A simple API for command-line interaction. Provides a novel 'rewinding'
47
+ feature, allowing users to go back in time and re-enter a botched answer. Supports
48
+ multiple-choice, password prompting, overriding input events, defaults, etc.
51
49
  email: i.am@toogeneric.com
52
50
  executables: []
53
-
54
51
  extensions: []
55
-
56
- extra_rdoc_files:
52
+ extra_rdoc_files:
57
53
  - README.md
58
54
  - LICENSE
59
- files:
55
+ files:
60
56
  - LICENSE
61
57
  - README.md
62
58
  - Rakefile
63
- - lib/interact.rb
64
- - lib/interact/version.rb
65
- - lib/interact/pretty.rb
66
59
  - lib/interact/interactive.rb
67
- - lib/interact/rewindable.rb
60
+ - lib/interact/pretty.rb
68
61
  - lib/interact/progress.rb
69
- has_rdoc: true
62
+ - lib/interact/rewindable.rb
63
+ - lib/interact/version.rb
64
+ - lib/interact.rb
70
65
  homepage: http://github.com/vito/interact
71
66
  licenses: []
72
-
73
67
  post_install_message:
74
68
  rdoc_options: []
75
-
76
- require_paths:
69
+ require_paths:
77
70
  - lib
78
- required_ruby_version: !ruby/object:Gem::Requirement
71
+ required_ruby_version: !ruby/object:Gem::Requirement
79
72
  none: false
80
- requirements:
81
- - - ">="
82
- - !ruby/object:Gem::Version
83
- hash: 3
84
- segments:
85
- - 0
86
- version: "0"
87
- required_rubygems_version: !ruby/object:Gem::Requirement
73
+ requirements:
74
+ - - ! '>='
75
+ - !ruby/object:Gem::Version
76
+ version: '0'
77
+ required_rubygems_version: !ruby/object:Gem::Requirement
88
78
  none: false
89
- requirements:
90
- - - ">="
91
- - !ruby/object:Gem::Version
92
- hash: 3
93
- segments:
94
- - 0
95
- version: "0"
79
+ requirements:
80
+ - - ! '>='
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
96
83
  requirements: []
97
-
98
84
  rubyforge_project:
99
- rubygems_version: 1.6.2
85
+ rubygems_version: 1.8.24
100
86
  signing_key:
101
87
  specification_version: 3
102
88
  summary: A simple API for command-line interaction.
103
89
  test_files: []
104
-