dkastner-moneta 1.0.5 → 1.0.6

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile CHANGED
@@ -1,6 +1,3 @@
1
1
  source :rubygems
2
2
 
3
3
  gemspec
4
-
5
- gem 'activerecord'
6
- gem 'sqlite3'
@@ -49,9 +49,9 @@ module Moneta
49
49
 
50
50
  def store(key, value, *)
51
51
  key = key_for(key)
52
- serialized_value = BSON::ByteBuffer.new serialize(value)
52
+ buffer = BSON::ByteBuffer.new serialize(value)
53
53
  @cache.update({ '_id' => key },
54
- { '_id' => key, 'data' => serialized_value },
54
+ { '_id' => key, 'data' => buffer.to_s },
55
55
  { :upsert => true })
56
56
  end
57
57
 
@@ -1,3 +1,3 @@
1
1
  module Moneta
2
- VERSION = '1.0.5'
2
+ VERSION = '1.0.6'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dkastner-moneta
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.5
4
+ version: 1.0.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -14,7 +14,7 @@ date: 2011-02-10 00:00:00.000000000Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: bundler
17
- requirement: &2152743980 !ruby/object:Gem::Requirement
17
+ requirement: &2153963480 !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
20
  - - ! '>='
@@ -22,10 +22,10 @@ dependencies:
22
22
  version: '0'
23
23
  type: :development
24
24
  prerelease: false
25
- version_requirements: *2152743980
25
+ version_requirements: *2153963480
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: rake
28
- requirement: &2152743560 !ruby/object:Gem::Requirement
28
+ requirement: &2153962860 !ruby/object:Gem::Requirement
29
29
  none: false
30
30
  requirements:
31
31
  - - ! '>='
@@ -33,10 +33,10 @@ dependencies:
33
33
  version: '0'
34
34
  type: :development
35
35
  prerelease: false
36
- version_requirements: *2152743560
36
+ version_requirements: *2153962860
37
37
  - !ruby/object:Gem::Dependency
38
38
  name: rspec
39
- requirement: &2152743140 !ruby/object:Gem::Requirement
39
+ requirement: &2153962280 !ruby/object:Gem::Requirement
40
40
  none: false
41
41
  requirements:
42
42
  - - ! '>='
@@ -44,7 +44,7 @@ dependencies:
44
44
  version: '0'
45
45
  type: :development
46
46
  prerelease: false
47
- version_requirements: *2152743140
47
+ version_requirements: *2153962280
48
48
  description: A unified interface to key/value stores
49
49
  email:
50
50
  - wycats@gmail.com
@@ -120,12 +120,18 @@ required_ruby_version: !ruby/object:Gem::Requirement
120
120
  - - ! '>='
121
121
  - !ruby/object:Gem::Version
122
122
  version: '0'
123
+ segments:
124
+ - 0
125
+ hash: -1965399956378123003
123
126
  required_rubygems_version: !ruby/object:Gem::Requirement
124
127
  none: false
125
128
  requirements:
126
129
  - - ! '>='
127
130
  - !ruby/object:Gem::Version
128
131
  version: '0'
132
+ segments:
133
+ - 0
134
+ hash: -1965399956378123003
129
135
  requirements: []
130
136
  rubyforge_project:
131
137
  rubygems_version: 1.8.5