added sidekiq and redis to gemspec
This commit is contained in:
parent
0415c64960
commit
c3fe3a2bb7
2 changed files with 3 additions and 1 deletions
|
@ -156,7 +156,7 @@ class Pastebinner
|
|||
end
|
||||
|
||||
def json_paste(key=nil, keys)
|
||||
# if we give keys, create an array of 50 json pastes
|
||||
# if we give keys, create an array of X json pastes
|
||||
if keys
|
||||
self.hash_pastes(keys).map do |paste_hash|
|
||||
paste_hash.to_json
|
||||
|
|
|
@ -36,4 +36,6 @@ Gem::Specification.new do |spec|
|
|||
spec.add_runtime_dependency 'json', '~> 2.0'
|
||||
spec.add_runtime_dependency 'pry', '~> 0.11'
|
||||
spec.add_runtime_dependency 'rest-client', '~> 2.0'
|
||||
spec.add_runtime_dependency 'sidekiq', '~> 5.2.5'
|
||||
spec_add_runtime_dependency 'redis', '~> 4.1.0'
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue