mag 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/mag.rb +2 -2
  2. data/lib/mag/version.rb +2 -2
  3. metadata +3 -3
data/lib/mag.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  require "mag/version"
2
2
 
3
- class Mag
3
+ module Mag
4
4
  class << self
5
5
  def commit
6
6
  Maglev.commit_transaction
@@ -21,7 +21,7 @@ class Mag
21
21
  alias store box
22
22
 
23
23
  def box= this
24
- Maglev::PERSISTENT_ROOT.replace this
24
+ class_eval "Maglev::PERSISTENT_ROOT = this"
25
25
  end
26
26
 
27
27
  alias store= box=
@@ -1,3 +1,3 @@
1
- class Mag
2
- VERSION = "0.3.0"
1
+ module Mag
2
+ VERSION = "0.3.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mag
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-12-08 00:00:00.000000000 Z
12
+ date: 2012-01-10 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: Load a tiny gem to save typing a few characters when committing or aborting
15
15
  in Maglev? Why not!? =P
@@ -46,7 +46,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
46
46
  version: '0'
47
47
  requirements: []
48
48
  rubyforge_project: mag
49
- rubygems_version: 1.8.12
49
+ rubygems_version: 1.8.15
50
50
  signing_key:
51
51
  specification_version: 3
52
52
  summary: Shortcuts for Maglev's Persistent Store'