Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Bump connection_pool dep to ~> 0.9.0 #56

Merged
merged 1 commit into from

2 participants

Alexander Mankuta Mike Perham
Alexander Mankuta

No description provided.

Mike Perham mperham merged commit 9edea0f into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jul 20, 2012
  1. Alexander Mankuta
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 2 deletions.
  1. +1 −1  girl_friday.gemspec
  2. +1 −1  test/test_girl_friday_queue.rb
2  girl_friday.gemspec
View
@@ -16,7 +16,7 @@ Gem::Specification.new do |s|
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
s.require_paths = ["lib"]
- s.add_dependency 'connection_pool', '~> 0.1.0'
+ s.add_dependency 'connection_pool', '~> 0.9.0'
s.add_development_dependency 'sinatra', '~> 1.3'
s.add_development_dependency 'rake'
end
2  test/test_girl_friday_queue.rb
View
@@ -125,7 +125,7 @@ def test_should_persist_with_redis_connection_pool
require 'redis'
require 'connection_pool'
pool = ConnectionPool.new(:size => 5, :timeout => 2){ Redis.new }
- pool.flushdb
+ pool.with_connection {|redis| redis.flushdb }
rescue LoadError
return puts "Skipping redis test, 'redis' gem not found: #{$!.message}"
rescue Errno::ECONNREFUSED
Something went wrong with that request. Please try again.