djinni 0.1.10 → 0.1.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/builtin/history.rb +4 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 820f96aa67e8b22f13e2023e0dea6efddffda0e3
|
4
|
+
data.tar.gz: e5a00afa33804e83cc2ff600e4af76c74283c26f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3655fdde55f24f101302b8eb5b52baffad89f3519e8733c3cde3942903991ee5a95562368320bebb65266453a5b4939af62f67e731addacf2ee0e559c5d79720
|
7
|
+
data.tar.gz: 315d3b3f7b36cfc919b55791db9d5f749d13628ee4c0d316d3a20a0705b599b3d7282ce97177e5b59fa000749b69bbeafde3d624762cc544da3ab93bb4cf3ff5
|
data/lib/builtin/history.rb
CHANGED
@@ -24,7 +24,10 @@ class DjinniHistoryWish < DjinniWish
|
|
24
24
|
args.split(" ").each do |arg|
|
25
25
|
index = arg.to_i
|
26
26
|
if ((index >= 0) && (index < history.length))
|
27
|
-
djinni.grant_wish(
|
27
|
+
djinni.grant_wish(
|
28
|
+
"#{history[index]}\n",
|
29
|
+
djinni_env
|
30
|
+
)
|
28
31
|
else
|
29
32
|
puts "Index out of bounds"
|
30
33
|
end
|