djinni 0.1.6 → 0.1.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/djinni.rb +1 -10
  3. metadata +6 -6
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a224fb2b8ea422604880f3b74da2707faa48e851
4
- data.tar.gz: ec43fdee763e00f9f3dc7a8bab358deca75c7e3e
3
+ metadata.gz: 5248368310688ab43b4da1b8666e400f128bc2a1
4
+ data.tar.gz: 6e32bcd778d9be2aa748965343ff13c346659050
5
5
  SHA512:
6
- metadata.gz: e90df809fa48da8d9fcf31c6aab30f293a6608e442ab157411b648323be4549adfb3e2e7f5c804a3070d2a5e166a9cfe34c874b979b982f51fb925a4c6a750a3
7
- data.tar.gz: 0b6da65ffe237038e73398aa68c2fc1f471f001fba8cfb2325c076ae271b1071f9e809a6eaa04a5e11b397d26d4b4397df49d3a16dd23e334293b71aa0bbb61e
6
+ metadata.gz: 48fc4efc19668aef5ecf4046c74eb031c88cc89bd2f1ce7f9cbedd0b5297dc4d7a3cdd3a366da255cdcfbb818272a9ca6f6c1e695663aad5f4dea207d7f80977
7
+ data.tar.gz: 95a37a0f190eecf33346f20d63d1f995ecd94b996e3d5149b96e1ab6f410151253d1a536dc16ce2b235d2e2b8bafdc0198d7cc2df6f4559c41b7a06e1ab8bb50
@@ -110,16 +110,7 @@ class Djinni
110
110
  end
111
111
 
112
112
  def load_builtins
113
- builtins = {
114
- "help": "DjinniHelpWish",
115
- "history": "DjinniHistoryWish",
116
- "quit": "DjinniQuitWish"
117
- }
118
-
119
- builtins.each do |file, wish|
120
- require_relative "builtin/#{file}"
121
- load_wish(wish)
122
- end
113
+ load_wishes("#{File.dirname(__FILE__)}/builtin")
123
114
  end
124
115
 
125
116
  def load_wish(clas)
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: 0.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Miles Whittaker
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-09-18 00:00:00.000000000 Z
11
+ date: 2015-09-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: minitest
@@ -16,20 +16,20 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '5.4'
19
+ version: '5.8'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 5.4.3
22
+ version: 5.8.1
23
23
  type: :development
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  requirements:
27
27
  - - "~>"
28
28
  - !ruby/object:Gem::Version
29
- version: '5.4'
29
+ version: '5.8'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 5.4.3
32
+ version: 5.8.1
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: ruby-terminfo
35
35
  requirement: !ruby/object:Gem::Requirement