Skip to content

Commit

Permalink
Merge pull request petergoldstein#342 from vipulnsward/master
Browse files Browse the repository at this point in the history
Change Source, Fix Typo and remove unused line
  • Loading branch information
mperham committed Mar 14, 2013
2 parents c0a9b28 + 724f6ab commit 58c2434
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
source :rubygems
source 'https://rubygems.org'

gemspec

Expand Down
2 changes: 1 addition & 1 deletion lib/dalli/client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ def touch(key, ttl=nil)

##
# Collect the stats for each server.
# You can optionaly pass a type including :items or :slabs to get specific stats
# You can optionally pass a type including :items or :slabs to get specific stats
# Returns a hash like { 'hostname:port' => { 'stat1' => 'value1', ... }, 'hostname2:port' => { ... } }
def stats(type=nil)
type = nil if ![nil, :items,:slabs].include? type
Expand Down
1 change: 0 additions & 1 deletion test/memcached_mock.rb
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ def find_memcached
end

raise Errno::ENOENT, "Unable to find memcached 1.4+ locally"
nil
end

def memcached(port=19122, args='', options={})
Expand Down

0 comments on commit 58c2434

Please sign in to comment.