djinni 2.0.1 → 2.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/djinni.rb +4 -3
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9e5d5b282735848c1a75d8ca154ba9cac9307ca2
|
4
|
+
data.tar.gz: 83bb54eb074e91eb3dd5be431f97078c7971a9c6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 21a12ab4ee5132f8eb1e31579446ea440fb2bcaf8a54b1342ecf8b35d08891225d6f9d6de4d41909704a3da1807cd035b6b2ec7c409c40f5d8995d240182d8e0
|
7
|
+
data.tar.gz: 4f43dd63b95822c8ba7d9c905e278500c72eb9da9413a17ca2af76885091d46d991d158b93908598580602da9ac29add88182ac1596bece96c0870594f728709
|
data/lib/djinni.rb
CHANGED
@@ -16,7 +16,7 @@ class Djinni
|
|
16
16
|
return ""
|
17
17
|
when "\x04" # ^D
|
18
18
|
return "\x04"
|
19
|
-
when "\x7F" # Backspace
|
19
|
+
when "\x7F", "\b" # Backspace or ^H
|
20
20
|
return input[0..-3]
|
21
21
|
when "\f" # ^L
|
22
22
|
system("clear") if (@interactive)
|
@@ -207,8 +207,9 @@ class Djinni
|
|
207
207
|
|
208
208
|
classes = Fagin.find_children("Djinni::Wish", dir)
|
209
209
|
classes.each do |clas, wish|
|
210
|
-
wish.
|
211
|
-
|
210
|
+
w = wish.new
|
211
|
+
w.aliases.each do |aliaz|
|
212
|
+
@wishes[aliaz] = w
|
212
213
|
end
|
213
214
|
end
|
214
215
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: djinni
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Miles Whittaker
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-03
|
11
|
+
date: 2016-11-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: minitest
|
@@ -56,20 +56,20 @@ dependencies:
|
|
56
56
|
requirements:
|
57
57
|
- - "~>"
|
58
58
|
- !ruby/object:Gem::Version
|
59
|
-
version: '0
|
59
|
+
version: '1.0'
|
60
60
|
- - ">="
|
61
61
|
- !ruby/object:Gem::Version
|
62
|
-
version: 0.
|
62
|
+
version: 1.0.0
|
63
63
|
type: :runtime
|
64
64
|
prerelease: false
|
65
65
|
version_requirements: !ruby/object:Gem::Requirement
|
66
66
|
requirements:
|
67
67
|
- - "~>"
|
68
68
|
- !ruby/object:Gem::Version
|
69
|
-
version: '0
|
69
|
+
version: '1.0'
|
70
70
|
- - ">="
|
71
71
|
- !ruby/object:Gem::Version
|
72
|
-
version: 0.
|
72
|
+
version: 1.0.0
|
73
73
|
- !ruby/object:Gem::Dependency
|
74
74
|
name: ruby-terminfo
|
75
75
|
requirement: !ruby/object:Gem::Requirement
|
@@ -126,7 +126,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
126
126
|
version: '0'
|
127
127
|
requirements: []
|
128
128
|
rubyforge_project:
|
129
|
-
rubygems_version: 2.5.1
|
129
|
+
rubygems_version: 2.4.5.1
|
130
130
|
signing_key:
|
131
131
|
specification_version: 4
|
132
132
|
summary: A Ruby command handler
|