iron_worker_ng 0.3.7 → 0.3.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.7
1
+ 0.3.8
@@ -17,6 +17,8 @@ module IronWorkerNG
17
17
  attr_accessor :api_version
18
18
  attr_accessor :user_agent
19
19
 
20
+ attr_reader :options
21
+
20
22
  def initialize(options = {})
21
23
  load_from_hash(options)
22
24
  load_from_config(options[:config_file] || options['config_file'])
@@ -31,6 +33,17 @@ module IronWorkerNG
31
33
  raise 'Both iron.io token and project_id must be specified'
32
34
  end
33
35
 
36
+ @options = {
37
+ :token => @token,
38
+ :project_id => @project_id,
39
+
40
+ :scheme => @scheme,
41
+ :host => @host,
42
+ :port => @port,
43
+ :api_version => @api_version,
44
+ :user_agent => @user_agent
45
+ }
46
+
34
47
  @rest = Rest::Client.new
35
48
  end
36
49
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: iron_worker_ng
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.7
4
+ version: 0.3.8
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -156,7 +156,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
156
156
  version: '0'
157
157
  segments:
158
158
  - 0
159
- hash: -452150865
159
+ hash: -81500049
160
160
  required_rubygems_version: !ruby/object:Gem::Requirement
161
161
  none: false
162
162
  requirements: