Skip to content

Commit

Permalink
Merge pull request deanpcmad#70 from spajus/symbol_namespace
Browse files Browse the repository at this point in the history
Make namespace symbol friendly
  • Loading branch information
Ravil Bayramgalin authored Jun 17, 2016
2 parents 408a9f7 + 3a1fdd0 commit 485c0dd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/sidekiq/limit_fetch/queues.rb
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def ordered_queues; @queues.shuffle.uniq end
def namespace
@namespace ||= Sidekiq.redis do |it|
if it.respond_to?(:namespace) and it.namespace
it.namespace + ':'
"#{it.namespace}:"
else
''
end
Expand Down
2 changes: 1 addition & 1 deletion sidekiq-limit_fetch.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Gem::Specification.new do |gem|

gem.files = `git ls-files`.split($/)
gem.test_files = gem.files.grep %r{^spec/}
gem.require_paths = 'lib'
gem.require_paths = %w(lib)

gem.add_dependency 'sidekiq', '>= 4'
gem.add_development_dependency 'redis-namespace', '~> 1.5', '>= 1.5.2'
Expand Down

0 comments on commit 485c0dd

Please sign in to comment.