gameon-redis 0.0.0.pre36 → 0.0.0.pre37

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/gameon-redis/base.rb +0 -9
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e5baf9487b676a82fedb1444a377fd4c395e661d
4
- data.tar.gz: de79c1df7f3b36b894c2ef76de4608545ed94fac
3
+ metadata.gz: 0b5fcf6caf63a9a2d982362a371547eabde06eaf
4
+ data.tar.gz: 24b69e1a32eb507d900863e77eb65206ae7632ce
5
5
  SHA512:
6
- metadata.gz: 3dbbaada77aca404dc5a29cd9412a5531fc4302a9243a559e06e60c7831730644fe0504e5f0e208d81df23b5d8ea70dbc9abc5e3051680548fda3d7594c14410
7
- data.tar.gz: 2e3fbb415d9c2630d030d4e7b0d7b640c650596ac5e0879025e7e6faec360a2a1d58d18f40c43a060b3b462684f2f56d0da4a1bdee40c0fa9afb726cd4e5d583
6
+ metadata.gz: 411fa9d9bbc6849297224cdbd3475e4f97ac2d6aebba7bf102de27fb5b220bfe97268938c4d5a30283f2c999a3dcec148ac4e2ce53941d9ab5ab5cd7091450a7
7
+ data.tar.gz: 9273024bb646117511bcc52be97c87d27da963a892d54644a749c297bb4a216085335b9407d5922cda64c91e0161434bcf487432c8f39d4a62e8b61b365c1b99
@@ -38,18 +38,9 @@ module GameOn
38
38
  begin
39
39
  @gameon_env = Marshal.dump obj
40
40
  @@redis.set(obj.id, @gameon_env)
41
- #rescue SomeExceptionClass => some_variable
42
- # code that deals with some exception
43
- #rescue SomeOtherException => some_other_variable
44
- # code that deals with some other exception
45
- #else
46
- # return false
47
- # code that runs only if *no* exception was raised
48
41
  ensure
49
42
  p "storing GameOn Env #{obj}"
50
- # ensure that this code always runs, no matter what
51
43
  end
52
- #return Marshal.load @gameon_env
53
44
  end
54
45
  def DS.load id
55
46
  return Marshal.load (@@redis.get(id))
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gameon-redis
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.0.pre36
4
+ version: 0.0.0.pre37
5
5
  platform: ruby
6
6
  authors:
7
7
  - theotherstupidguy