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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3515c7363a69a5acd427f505117357437096ce59
4
- data.tar.gz: 326738fe398530715be8b102a79fa9f7c6d0d126
3
+ metadata.gz: 82949073b62e11b9cf59212a851ea49eb0f51259
4
+ data.tar.gz: 89b20643ef1adfa16811d91179438b28d957fd60
5
5
  SHA512:
6
- metadata.gz: 911e215e413e66144c28bf9f037e7b40f629d8e430600a4c053eaaff58114ac72eb520c9925c0291375ff813a8384d2704509e18606464c0af60be4cc081741b
7
- data.tar.gz: 13fe58f06f2e5020cae949ee7cfeb40dc89492e43082524ff847c3ce4ab9f0d463cbb309796330def40f222d17926d8df3acec8b479a94b8c4f041ed1aea2e32
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[(http://dev.iron.io/worker/reference/api) and
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
@@ -1,5 +1,5 @@
1
1
  module IronWorker
2
- VERSION = "3.2.2"
2
+ VERSION = "3.2.3"
3
3
 
4
4
  def self.version
5
5
  VERSION
@@ -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.read(@@args[: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.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: 2015-10-26 00:00:00.000000000 Z
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.4.5
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