LVS-JSONService 0.5.2 → 0.5.3

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.
@@ -2,11 +2,11 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{LVS-JSONService}
5
- s.version = "0.5.2"
5
+ s.version = "0.5.3"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
- s.authors = ["LVS", "andyjeffries"]
9
- s.date = %q{2011-01-20}
8
+ s.authors = ["LVS", "andyjeffries", "mooktakim"]
9
+ s.date = %q{2011-01-21}
10
10
  s.email = %q{info@lvs.co.uk}
11
11
  s.extra_rdoc_files = [
12
12
  "LICENSE",
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.5.2
1
+ 0.5.3
@@ -18,8 +18,9 @@ module LVS
18
18
 
19
19
  def http_standard_request_with_timeout(service, args, options)
20
20
  uri = URI.parse(service)
21
-
21
+
22
22
  req = Net::HTTP::Post.new(uri.path)
23
+ req.basic_auth(uri.user, uri.password) unless uri.user.to_s == ""
23
24
  req.add_field("X-LVS-Request-ID", options[:request_id])
24
25
 
25
26
  req.form_data = { "object_request" => args.to_json }
metadata CHANGED
@@ -5,17 +5,18 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 5
8
- - 2
9
- version: 0.5.2
8
+ - 3
9
+ version: 0.5.3
10
10
  platform: ruby
11
11
  authors:
12
12
  - LVS
13
13
  - andyjeffries
14
+ - mooktakim
14
15
  autorequire:
15
16
  bindir: bin
16
17
  cert_chain: []
17
18
 
18
- date: 2011-01-20 00:00:00 +00:00
19
+ date: 2011-01-21 00:00:00 +00:00
19
20
  default_executable:
20
21
  dependencies:
21
22
  - !ruby/object:Gem::Dependency