work_smarter 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/lib/work_smarter.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  class Work_smarter < Struct.new(:obj, :func, :args)
2
2
  # delayed_job wrapper, creates a new monitored job and queues it
3
- def self.queue(obj, func, args = [])
3
+ def self.queue(obj, func = [], args = [])
4
4
  Work_smarter.configure unless defined?(@@config)
5
5
  Delayed::Job.enqueue Work_smarter.new(obj, func, args)
6
6
  end
data/work_smarter.gemspec CHANGED
@@ -3,7 +3,7 @@ $:.push File.expand_path("../lib", __FILE__)
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "work_smarter"
6
- s.version = "1.0.1"
6
+ s.version = "1.0.2"
7
7
  s.platform = Gem::Platform::RUBY
8
8
  s.authors = ["Deniz Okcu"]
9
9
  s.email = ["deniz@combinio.com"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: work_smarter
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: