omnistore 0.0.15 → 0.0.16

Sign up to get free protection for your applications and to get access to all the features.
@@ -30,7 +30,9 @@ module OmniStore
30
30
  end
31
31
 
32
32
  def delete_if(key_prefix = nil, &block)
33
- bucket.objects.with_prefix(key_prefix).delete_if(&block)
33
+ bucket.objects.with_prefix(key_prefix).delete_if do |object|
34
+ yield object.key
35
+ end
34
36
  end
35
37
 
36
38
  def read(key, options = {}, &block)
@@ -1,3 +1,3 @@
1
1
  module OmniStore
2
- VERSION = "0.0.15"
2
+ VERSION = "0.0.16"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omnistore
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.15
4
+ version: 0.0.16
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -123,7 +123,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
123
123
  version: '0'
124
124
  segments:
125
125
  - 0
126
- hash: -184788141
126
+ hash: 1050916659
127
127
  required_rubygems_version: !ruby/object:Gem::Requirement
128
128
  none: false
129
129
  requirements:
@@ -132,7 +132,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
132
132
  version: '0'
133
133
  segments:
134
134
  - 0
135
- hash: -184788141
135
+ hash: 1050916659
136
136
  requirements: []
137
137
  rubyforge_project:
138
138
  rubygems_version: 1.8.24