Skip to content
Browse files

Fix typo that broke Topology#shard_for_id

  • Loading branch information...
1 parent e812407 commit eba43a33a9292a3f683c788d995c5b172c1cd2e0 @evanelias evanelias committed Oct 31, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 jetpants.gemspec
  2. +1 −1 lib/jetpants/topology.rb
View
2 jetpants.gemspec
@@ -2,7 +2,7 @@ require 'rake'
Gem::Specification.new do |s|
s.name = "jetpants"
- s.version = "0.7.10"
+ s.version = "0.7.11"
s.homepage = 'https://github.com/tumblr/jetpants/'
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
View
2 lib/jetpants/topology.rb
@@ -138,7 +138,7 @@ def shard(*args)
# Returns the Jetpants::Shard that handles the given ID.
def shard_for_id(id)
- @shards.select {|s| s.min_id <= id && (s.max_id == 'INFINITY' || s.max_id >= id)}[0]
+ shards.select {|s| s.min_id <= id && (s.max_id == 'INFINITY' || s.max_id >= id)}[0]
end
# Returns the Jetpants::DB that handles the given ID with the specified

0 comments on commit eba43a3

Please sign in to comment.
Something went wrong with that request. Please try again.