riak-shim 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
data/.travis.yml CHANGED
@@ -8,5 +8,6 @@ rvm:
8
8
  - rbx-18mode
9
9
  - rbx-19mode
10
10
  script: bundle exec rake travis
11
+ services: riak
11
12
 
12
13
 
data/Gemfile CHANGED
@@ -6,9 +6,21 @@ platforms :jruby do
6
6
  gem 'json-jruby'
7
7
  end
8
8
 
9
- platforms :mri_19 do
10
- gem 'guard-yard'
11
- gem 'yard'
12
- gem 'redcarpet'
9
+ def darwin_only(require_as)
10
+ RUBY_PLATFORM.include?('darwin') && require_as
13
11
  end
14
12
 
13
+ group :development do
14
+ platforms :mri_19 do
15
+ gem 'guard-yard'
16
+ gem 'yard'
17
+ gem 'redcarpet'
18
+ end
19
+ end
20
+
21
+ group :development, :test do
22
+ if RUBY_PLATFORM.include? 'darwin'
23
+ gem 'rb-fsevent', :require => darwin_only('rb-fsevent')
24
+ gem 'growl', :require => darwin_only('growl')
25
+ end
26
+ end
data/Guardfile CHANGED
@@ -1,18 +1,8 @@
1
1
 
2
- group :rspec do
3
- guard 'rspec', :version => 2, :cli => "--color --format nested" do
4
- watch(%r{^spec/(.+)_spec\.rb$}) { |m| "spec/#{m[1]}_spec.rb" }
5
- watch(%r{^spec/support/*}) { 'spec' }
6
- watch(%r{^lib/(.+)\.rb$}) { 'spec' }
7
- watch('spec/spec_helper.rb') { "spec" }
8
- end
2
+ guard 'rspec', :version => 2, :cli => "--color --format nested" do
3
+ watch(%r{^spec/(.+)_spec\.rb$}) { |m| "spec/#{m[1]}_spec.rb" }
4
+ watch(%r{^spec/support/*}) { 'spec' }
5
+ watch(%r{^lib/(.+)\.rb$}) { 'spec' }
6
+ watch('spec/spec_helper.rb') { "spec" }
9
7
  end
10
8
 
11
- group :yard do
12
- guard 'yard', :port => '8088' do
13
- watch(%r{lib/.+\.rb})
14
- watch(%r{README.md})
15
- watch(%r{FUTURE_WORK.md})
16
- watch(%r{LICENSE})
17
- end
18
- end
data/Guardfile-yard ADDED
@@ -0,0 +1,6 @@
1
+ guard 'yard', :port => '8088' do
2
+ watch(%r{lib/.+\.rb})
3
+ watch(%r{README.md})
4
+ watch(%r{FUTURE_WORK.md})
5
+ watch(%r{LICENSE})
6
+ end
@@ -50,8 +50,10 @@ module Riak
50
50
  #
51
51
  # Remove all instances of this class from Riak.
52
52
  def delete_all
53
- bucket.keys.each do |key|
54
- bucket.delete(key)
53
+ bucket.keys do |streamed_keys|
54
+ streamed_keys.each do |key|
55
+ bucket.delete(key)
56
+ end
55
57
  end
56
58
  end
57
59
 
@@ -1,5 +1,5 @@
1
1
  module Riak
2
2
  module Shim
3
- VERSION = "1.0.0"
3
+ VERSION = "1.0.1"
4
4
  end
5
5
  end
data/riak-shim.gemspec CHANGED
@@ -21,13 +21,9 @@ Gem::Specification.new do |gem|
21
21
 
22
22
  gem.add_development_dependency 'rake'
23
23
  gem.add_development_dependency 'rspec'
24
+
24
25
  gem.add_development_dependency 'guard'
25
26
  gem.add_development_dependency 'guard-rspec'
26
27
  gem.add_development_dependency 'pry'
27
28
  gem.add_development_dependency 'awesome_print'
28
-
29
- if RUBY_PLATFORM.include? 'darwin'
30
- gem.add_development_dependency 'growl'
31
- gem.add_development_dependency 'rb-fsevent'
32
- end
33
29
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: riak-shim
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.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: 2012-09-03 00:00:00.000000000 Z
12
+ date: 2012-10-03 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: riak-client
@@ -155,38 +155,6 @@ dependencies:
155
155
  - - ! '>='
156
156
  - !ruby/object:Gem::Version
157
157
  version: '0'
158
- - !ruby/object:Gem::Dependency
159
- name: growl
160
- requirement: !ruby/object:Gem::Requirement
161
- none: false
162
- requirements:
163
- - - ! '>='
164
- - !ruby/object:Gem::Version
165
- version: '0'
166
- type: :development
167
- prerelease: false
168
- version_requirements: !ruby/object:Gem::Requirement
169
- none: false
170
- requirements:
171
- - - ! '>='
172
- - !ruby/object:Gem::Version
173
- version: '0'
174
- - !ruby/object:Gem::Dependency
175
- name: rb-fsevent
176
- requirement: !ruby/object:Gem::Requirement
177
- none: false
178
- requirements:
179
- - - ! '>='
180
- - !ruby/object:Gem::Version
181
- version: '0'
182
- type: :development
183
- prerelease: false
184
- version_requirements: !ruby/object:Gem::Requirement
185
- none: false
186
- requirements:
187
- - - ! '>='
188
- - !ruby/object:Gem::Version
189
- version: '0'
190
158
  description: Riak shim for bucket naming and config.
191
159
  email:
192
160
  - mkb@engineyard.com
@@ -199,6 +167,7 @@ files:
199
167
  - FUTURE_WORK.md
200
168
  - Gemfile
201
169
  - Guardfile
170
+ - Guardfile-yard
202
171
  - LICENSE
203
172
  - README.md
204
173
  - Rakefile
@@ -243,3 +212,4 @@ test_files:
243
212
  - spec/store_spec.rb
244
213
  - spec/support/camelcase.rb
245
214
  - spec/support/database.yml
215
+ has_rdoc: