iron_worker 3.2.2 → 3.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/iron_worker/version.rb +1 -1
- data/lib/iron_worker/worker_helper.rb +2 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 82949073b62e11b9cf59212a851ea49eb0f51259
|
4
|
+
data.tar.gz: 89b20643ef1adfa16811d91179438b28d957fd60
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 588473a2154dbc8b3410eea7148545c32344225c804d71dff34b3e11c38bb580f4f2c59a14de761f75915ae03c7c4f46acac3e554a0950c2c8d3ecc6c0688374
|
7
|
+
data.tar.gz: 4526e42050dc794c66b618fc1229855873c4959583b693af3fbbd6041098372f4a2dec071736a4a8b3934bddeabc3c13e1e88729400de863fef042332e53532f
|
data/README.md
CHANGED
@@ -8,7 +8,7 @@ To run your code in cloud you need to do three things:
|
|
8
8
|
|
9
9
|
You can read how to create, package and upload your worker here: http://dev.iron.io/worker/getting_started/
|
10
10
|
|
11
|
-
This gem has two parts to it, one to access the [IronWorker API
|
11
|
+
This gem has two parts to it, one to access the [IronWorker API](http://dev.iron.io/worker/reference/api) and
|
12
12
|
the other to help you with your Ruby IronWorker's.
|
13
13
|
|
14
14
|
# Preparing Your Environment
|
data/lib/iron_worker/version.rb
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
# encoding: UTF-8
|
1
2
|
# This could be a gem to help worker users with common functions like getting config and payload.
|
2
3
|
require 'json'
|
3
4
|
|
@@ -34,8 +35,7 @@ module IronWorker
|
|
34
35
|
# puts "args: #{@@args.inspect}"
|
35
36
|
|
36
37
|
if args[:payload_file]
|
37
|
-
@@payload = File.
|
38
|
-
|
38
|
+
@@payload = File.open(@@args[:payload_file], "r:UTF-8", &:read)
|
39
39
|
begin
|
40
40
|
@@payload = JSON.parse(@@payload)
|
41
41
|
rescue => ex
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: iron_worker
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.2.
|
4
|
+
version: 3.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Travis Reeder
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-04-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: iron_core
|
@@ -90,7 +90,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
90
90
|
version: 1.3.6
|
91
91
|
requirements: []
|
92
92
|
rubyforge_project:
|
93
|
-
rubygems_version: 2.
|
93
|
+
rubygems_version: 2.5.1
|
94
94
|
signing_key:
|
95
95
|
specification_version: 4
|
96
96
|
summary: The official IronWorker gem for IronWorker by Iron.io. http://iron.io
|