Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

forgot to run tests )

  • Loading branch information...
commit b5939ad613010348ce820e503dd734a37b44066c 1 parent 366bbe1
@plukevdh authored
Showing with 3 additions and 3 deletions.
  1. +2 −2 kthxbye.gemspec
  2. +1 −1  lib/kthxbye/job.rb
View
4 kthxbye.gemspec
@@ -10,11 +10,11 @@ Gem::Specification.new do |s|
s.summary = %q{Async processing + results notification}
s.description = %q{Kthxbye is the answer to a fairly unique-yet-common problem: Background job processing when we care about the result.}
s.email = %q{hungerandthirst@gmail.com}
- s.extra_rdoc_files = %w(LICENSE README.rdoc)
+ s.extra_rdoc_files = %w(LICENSE README.md)
s.executables = ['kthxbye-monitor']
s.default_executable = 'kthxbye-monitor'
- s.files = Dir.glob("{bin,lib}/**/*") + %w(LICENSE README.rdoc DESIGN.textile config.ru Gemfile)
+ s.files = Dir.glob("{bin,lib}/**/*") + %w(LICENSE README.md DESIGN.textile config.ru Gemfile)
s.test_files = Dir.glob("{test}/**/*")
s.homepage = %q{http://github.com/plukevdh/kthxbye}
View
2  lib/kthxbye/job.rb
@@ -122,7 +122,7 @@ def perform
result = @klass.send(:perform, *@payload)
redis.hset( "result-store:#{@queue}", @id, encode( result ) )
- redis.publish("job.completed", @current_job.id)
+ redis.publish("job.completed", @id)
return result
rescue Object => ex
# handled by worker
Please sign in to comment.
Something went wrong with that request. Please try again.