djinni 0.1.10 → 0.1.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/builtin/history.rb +4 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ec712ec140052ac46cadf1536e6d01677ad2f3b6
4
- data.tar.gz: 0871df60e4464dfa7fd1aa4f4da1a3177d241807
3
+ metadata.gz: 820f96aa67e8b22f13e2023e0dea6efddffda0e3
4
+ data.tar.gz: e5a00afa33804e83cc2ff600e4af76c74283c26f
5
5
  SHA512:
6
- metadata.gz: 133735ba86e75da94280b638a09dcee2e425a296e5060900d094acbebdccd298a9066b5a8a6b8eb9a810f75ee567bd301b12420d9ae4eaa97fd15a4aae4ade57
7
- data.tar.gz: 4f38d9654bb91c7a44d2a22a9e76298f3067a7db55c334ce47d7aff78fc7f1600a4c5feec9d77d8b2f00388a82a715c4ea0cbee9043542344b045f0ee017260e
6
+ metadata.gz: 3655fdde55f24f101302b8eb5b52baffad89f3519e8733c3cde3942903991ee5a95562368320bebb65266453a5b4939af62f67e731addacf2ee0e559c5d79720
7
+ data.tar.gz: 315d3b3f7b36cfc919b55791db9d5f749d13628ee4c0d316d3a20a0705b599b3d7282ce97177e5b59fa000749b69bbeafde3d624762cc544da3ab93bb4cf3ff5
@@ -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("#{history[index]}\n")
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: djinni
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.10
4
+ version: 0.1.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Miles Whittaker