torii-db 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,7 @@
1
1
  require 'redis'
2
2
 
3
3
  module Torii::Server::DataStorage
4
- @@r = Redis.new
4
+ $r = Redis.new
5
5
 
6
6
  class User
7
7
 
@@ -14,11 +14,11 @@ module Torii::Server::DataStorage
14
14
  end
15
15
 
16
16
  def set_test(test)
17
- @@r.set('foo', '#{test}')
17
+ $r.set('foo', '#{test}')
18
18
  end
19
19
 
20
20
  def get_test
21
- put "#{@@r.get('foo')}"
21
+ put "#{$r.get('foo')}"
22
22
  end
23
23
  end
24
24
 
@@ -1,3 +1,3 @@
1
1
  module ToriiDb
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: torii-db
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: