ihealth 2.2.5 → 2.2.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/ihealth.rb +2 -2
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d05e56577099cf9c6811b942ff4190bd65c27e5e
4
- data.tar.gz: 27915cb8f5168c0d3bd9fb8cf72b0003259b0bf7
3
+ metadata.gz: 4c6c5f9c1e770456693e59d8bd3c74d3e3cfe0ea
4
+ data.tar.gz: 840793595ee7ddd6fcf4fd61e73c69f057413329
5
5
  SHA512:
6
- metadata.gz: 543e59971ce53cf396424f2d6c87a49a4d877aa29f22c95430dff86be19ef73e41d806fe70e52a95c7db88eabbee15d93f5aa818ce3d75afc62d714d36eac455
7
- data.tar.gz: 2274a02b37f5eb94b991e377f883429531a12aa110fedb39962aa1d2752e9fdf93e5150d9b8df2c73dc9110422ee0d9a45dc155407b552d654828b7b49fac8fe
6
+ metadata.gz: 145f050b80ab8c999002cc50b9665a072871bd472edd4cbb29c27752a2e19588c467769ffe01697d64be9d1d6858ba55aecfe5fd36f352b33a8a554dd333c7d8
7
+ data.tar.gz: 0659fa849b633142acbc0364994504a8457b45cfb287ed6f184c71802bab3d5e4e544479dba200b2d84bb5cd95e0381d5b26cbfce807e13152fa4bd4d6c40e12
@@ -22,7 +22,7 @@ class Ihealth
22
22
 
23
23
  # Sets the default "User Agent" that will be passed to identify the application
24
24
  # Please Change the User Agent to be descriptive for your organization.
25
- USER_AGENT = "Ruby iHealth Gem/2.2.3"
25
+ USER_AGENT = "Ruby iHealth Gem/2.2.6"
26
26
 
27
27
  # Creates the initial connection by performaing authentication
28
28
  def initialize username, password, proxyserver = nil, proxyport = nil, proxyuser = nil, proxypass = nil
@@ -181,7 +181,7 @@ class Ihealth
181
181
  else
182
182
  commandstring = commands[0]
183
183
  end
184
- url = URI("#{@IHEALTHBASE}qkviews/#{qid}/commands.#{format}?#{commandstring}")
184
+ url = URI("#{@IHEALTHBASE}qkviews/#{qid}/commands.#{format}?resources=#{commandstring}")
185
185
  respone = make_request url
186
186
  headers = {'User Agent' => USER_AGENT, 'Cookie' => @cookies }
187
187
  @proxyserver.nil? ? (ihealthclient = Net::HTTP::new(url.host, url.port)) : (ihealthclient = Net::HTTP::new(url.host, url.port,@proxyserver, @proxyport, @proxyuser, @proxypass))
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ihealth
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.5
4
+ version: 2.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dave B. Greene