bushpig 0.1.8.1 → 0.1.9

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 953cc975f6a214726b0991f0b856032d509815a8fdbaa5e99297f261508e96fd
4
- data.tar.gz: 13abb819a5af786cd90e1f65962b81529c7df023395592a721399f11397891b8
3
+ metadata.gz: 75f414bd5b386fdcd5d452374ab9d6f1076e59353e6a08416cd710f8119f0b9b
4
+ data.tar.gz: 91cca09ccea7aa3b9169d15fe8174d16312892c8db7668408f0c594afcdcaef2
5
5
  SHA512:
6
- metadata.gz: 0faa12236f02cdde323dbfca852613ea1b674e0928ad3e5f1f81267fc0611e04c2bcfaa4ecc4edbd0eb48d34ef141726a11c14bbc4dc52b775ae68dbc989b6f7
7
- data.tar.gz: 71eb9f88710fd21e9a339706061e197c720af991077c92f2d0c77b80a984295ff8ad65a0d8456ba8e2563467443b01d5d038e61edb4f7f87d37736e7e048c3da
6
+ metadata.gz: af10ea043bc302564ac0430b3531624c3d65b9c15cfc0e81e48f3cce9df314219b63c3bc1354de308420a6dd61d151858a9dcea1b9d999cdd23c201e9c12bcf3
7
+ data.tar.gz: e45960eddf67527a28203e73c7805b14cdfd7fc0399fac5b18d99833ee1d9d054794d437fb30c69c1c6b405a910127d2118d1d8bc9a92839c9a28404ad9e4e2e
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- bushpig (0.1.8.1)
4
+ bushpig (0.1.9)
5
5
  connection_pool (~> 2.2)
6
6
  json (>= 1.8)
7
7
  redis (~> 3.3)
data/gemset.nix CHANGED
@@ -186,7 +186,7 @@
186
186
  path = ./.;
187
187
  type = "path";
188
188
  };
189
- version = "0.1.8";
189
+ version = "0.1.9";
190
190
  };
191
191
  coderay = {
192
192
  groups = ["default" "development"];
data/lib/bushpig/job.rb CHANGED
@@ -29,6 +29,10 @@ module Bushpig
29
29
  def job_payload
30
30
  JSON.generate({ class: self.class.name, id: job_id, args: each.to_a })
31
31
  end
32
+
33
+ def call(job)
34
+ self.class.job_handler.call(job)
35
+ end
32
36
  end
33
37
  end
34
38
 
@@ -58,6 +62,10 @@ module Bushpig
58
62
  def job_payload
59
63
  JSON.generate({ class: self.class.name, id: job_id, args: each.to_a })
60
64
  end
65
+
66
+ def call(job)
67
+ self.class.job_handler.call(job)
68
+ end
61
69
  end
62
70
  end
63
71
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Bushpig
4
- VERSION = '0.1.8.1'
4
+ VERSION = '0.1.9'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bushpig
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8.1
4
+ version: 0.1.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shaun Sharples