ace-client 0.0.18 → 0.0.19

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.0.18
1
+ 0.0.19
@@ -61,6 +61,7 @@ module AceClient
61
61
  @version = options[:version]
62
62
  @path = options[:path] || ENV['ACE_PATH'] || '/'
63
63
  @user_agent = options[:user_agent]
64
+ @headers = options[:headers] || {}
64
65
  set_http_proxy
65
66
  end
66
67
 
@@ -47,6 +47,7 @@ module AceClient
47
47
  options[:headers] = {}
48
48
  options[:headers]['Content-Type'] = 'application/x-www-form-urlencoded;charset=UTF-8'
49
49
  options[:headers]['User-Agent'] = @user_agent if @user_agent
50
+ options[:headers].update(@headers)
50
51
 
51
52
  if http_method == :get
52
53
  options[:query] = @params
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ace-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.18
4
+ version: 0.0.19
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-12-23 00:00:00.000000000 Z
12
+ date: 2015-01-29 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: nokogiri
@@ -165,7 +165,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
165
165
  version: '0'
166
166
  segments:
167
167
  - 0
168
- hash: -2109146560336915270
168
+ hash: 2801629437318883077
169
169
  required_rubygems_version: !ruby/object:Gem::Requirement
170
170
  none: false
171
171
  requirements: