--- !ruby/object:Gem::Specification name: resque-result version: !ruby/object:Gem::Version hash: 23 prerelease: false segments: - 1 - 0 - 0 version: 1.0.0 platform: ruby authors: - Lee Marlow autorequire: bindir: bin cert_chain: [] date: 2010-06-04 00:00:00 -06:00 default_executable: dependencies: - !ruby/object:Gem::Dependency name: resque prerelease: false requirement: &id001 !ruby/object:Gem::Requirement none: false requirements: - - ">=" - !ruby/object:Gem::Version hash: 51 segments: - 1 - 9 - 0 version: 1.9.0 type: :runtime version_requirements: *id001 - !ruby/object:Gem::Dependency name: resque-meta prerelease: false requirement: &id002 !ruby/object:Gem::Requirement none: false requirements: - - ">=" - !ruby/object:Gem::Version hash: 23 segments: - 1 - 0 - 0 version: 1.0.0 type: :runtime version_requirements: *id002 description: | If you want to be able fetch the result from a Resque job's perform method. Results will be encoded using JSON. For example: class MyJob extend Resque::Jobs::Result def self.perform(meta_id, big_num) factor(big_num) end end meta0 = MyJob.enqueue(3574406403731) meta0.enqueued_at # => 'Wed May 19 13:42:41 -0600 2010' meta0.meta_id # => '03c9e1a045ad012dd20500264a19273c' # later meta1 = MyJob.get_meta('03c9e1a045ad012dd20500264a19273c') meta1.succeeded? # => true meta1.result # => [ 1299709, 2750159 ] email: lee.marlow@gmail.com executables: [] extensions: [] extra_rdoc_files: [] files: - README.md - Rakefile - LICENSE - lib/resque/plugins/result/version.rb - lib/resque/plugins/result.rb - test/redis-test.conf - test/result_test.rb - test/test_helper.rb has_rdoc: true homepage: http://github.com/lmarlow/resque-result licenses: [] post_install_message: rdoc_options: [] require_paths: - lib required_ruby_version: !ruby/object:Gem::Requirement none: false requirements: - - ">=" - !ruby/object:Gem::Version hash: 3 segments: - 0 version: "0" required_rubygems_version: !ruby/object:Gem::Requirement none: false requirements: - - ">=" - !ruby/object:Gem::Version hash: 3 segments: - 0 version: "0" requirements: [] rubyforge_project: rubygems_version: 1.3.7 signing_key: specification_version: 3 summary: A Resque plugin for retrieving a job's return value. test_files: []