torii-db 0.0.1 → 0.0.2

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.
@@ -1,7 +1,15 @@
1
1
  require "torii_db/version"
2
+ require "torii_db/torii_redis"
3
+
2
4
 
3
5
  module ToriiDb
4
6
  # Your code goes here...
7
+
8
+ def torii(test)
9
+ set_test(test)
10
+ get_test
11
+ end
12
+ =begin
5
13
  class Runner
6
14
  def initalize(args)
7
15
  @args = args
@@ -20,4 +28,5 @@ module ToriiDb
20
28
  raise "Must have atleast one argument" unless @args[0]
21
29
  end
22
30
  end
31
+ =end
23
32
  end
@@ -12,5 +12,13 @@ module Torii::Server::DataStorage
12
12
  # add urls to these areas
13
13
  # assign a user access_right to these area or not
14
14
  end
15
+
16
+ def set_test(test)
17
+ r.set('foo', '#{test}')
18
+ end
19
+
20
+ def get_test
21
+ put "#{r.get('foo')}"
22
+ end
15
23
  end
16
24
 
@@ -1,3 +1,3 @@
1
1
  module ToriiDb
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
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.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: