soda_xml_team 1.0.1 → 1.0.2

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: fc4f73bce6b08392c043c74e28b26cb211ff46bf
4
- data.tar.gz: f74b0ae421363c4d78b97c45dfaa820e07337de6
3
+ metadata.gz: b8265500ff78d9809b6f8c58b0be1bf15de1eb69
4
+ data.tar.gz: 249f406ecc331128d7699913f8e1d26423be263c
5
5
  SHA512:
6
- metadata.gz: 78d8485b40511813ccdd379e8ed1b15f250a3ac78a03ef804ab02a58d3d9d239600181d285d7b4f1f33921c71bc3aa057cd861ab31407750cf55bab1fa004a2b
7
- data.tar.gz: 4d1a8177cea209ce2993ac67dec266486032d97034a2af57a6eab9734e47763ef71a11e6e4838a033514633ff0fa9d165f15e4476eab2ba8318ea434cc5e3d2d
6
+ metadata.gz: 8430fe4090772492d3d253109dd5caa4e657752da05390835ea8c9aa6e339902adfca91471369f0d8638a21bdc72ce3fdbb7d30907130d05776fc6dc7f2b5560
7
+ data.tar.gz: 1b849aaf3bbec488b81a9b4477466a535d9072c4eb871b7e6f31834cd7e4df2b85b0b074dded1244199efcbd431863ca373c31764ec60a6c4ba614c9eaa97433
data/lib/ca-bundle.crt ADDED
@@ -0,0 +1,67 @@
1
+ -----BEGIN CERTIFICATE-----
2
+ MIIDIDCCAomgAwIBAgIENd70zzANBgkqhkiG9w0BAQUFADBOMQswCQYDVQQGEwJV
3
+ UzEQMA4GA1UEChMHRXF1aWZheDEtMCsGA1UECxMkRXF1aWZheCBTZWN1cmUgQ2Vy
4
+ dGlmaWNhdGUgQXV0aG9yaXR5MB4XDTk4MDgyMjE2NDE1MVoXDTE4MDgyMjE2NDE1
5
+ MVowTjELMAkGA1UEBhMCVVMxEDAOBgNVBAoTB0VxdWlmYXgxLTArBgNVBAsTJEVx
6
+ dWlmYXggU2VjdXJlIENlcnRpZmljYXRlIEF1dGhvcml0eTCBnzANBgkqhkiG9w0B
7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ix7e64HXprQU9nceJSOC7KMgD4TCTZF5SwFlwIjVXiIrxlQqD17wxcwE0
57
+ 7e9GceBrAqg1cmuXm2bgyxx5X9gaBGgeRwLmnWDiNpcB3841kt++Z8dtd1k7j53W
58
+ kBWUvEI0EME5+bEnPn7WinXFsq+W06Lem+SYvn3h6YGttm/81w7a4DSwDRp35+MI
59
+ mO9Y+pyEtzavwt+s0vQQBnBxNQIDAQABo0IwQDAPBgNVHRMBAf8EBTADAQH/MA4G
60
+ A1UdDwEB/wQEAwIBBjAdBgNVHQ4EFgQULNVQQZcVi/CPNmFbSvtr2ZnJM5IwDQYJ
61
+ KoZIhvcNAQEFBQADggEBAFpwfyzdtzRP9YZRqSa+S7iq8XEN3GHHoOo0Hnp3DwQ1
62
+ 6CePbJC/kRYkRj5KTs4rFtULUh38H2eiAkUxT87z+gOneZ1TatnaYzr4gNfTmeGl
63
+ 4b7UVXGYNTq+k+qurUKykG/g/CFNNWMziUnWm07Kx+dOCQD32sfvmWKZd7aVIl6K
64
+ oKv0uHiYyjgZmclynnjNS6yvGaBzEi38wkG6gZHaFloxt/m0cYASSJlyc1pZU8Fj
65
+ UjPtp8nSOQJw+uCxQmYpqptR7TBUIhRf2asdweSU8Pj1K/fqynhG1riR/aYNKxoU
66
+ AT6A8EKglQdebc3MS6RFjasS6LPeWuWgfOgPIh1a6Vk=
67
+ -----END CERTIFICATE-----
@@ -5,19 +5,21 @@ module SodaXmlTeam
5
5
 
6
6
  class Client
7
7
 
8
- attr_accessor :auth
8
+ include HTTParty
9
+ debug_output $stderr
9
10
 
10
11
  def initialize(username, password)
11
- self.auth = {:username => username, :password => password}
12
+ @auth = {:username => username, :password => password}
13
+ @certs = 'lib/ca-bundle.crt'
12
14
  end
13
15
 
14
16
  def get_listing(options={})
15
- response = HTTParty.get(SodaXmlTeam::Address.build("get_listing", options), :basic_auth => self.auth, :verify => false)
17
+ response = HTTParty.get(SodaXmlTeam::Address.build("get_listing", options), :basic_auth => @auth, :ssl_ca_file => @certs)
16
18
  Nokogiri::XML(response.body)
17
19
  end
18
20
 
19
21
  def get_document(options={})
20
- response = HTTParty.get(SodaXmlTeam::Address.build("get_document", options), :basic_auth => self.auth, :verify => false)
22
+ response = HTTParty.get(SodaXmlTeam::Address.build("get_document", options), :basic_auth => @auth, :ssl_ca_file => @certs)
21
23
  Nokogiri::XML(response.body)
22
24
  end
23
25
 
@@ -1,3 +1,3 @@
1
1
  module SodaXmlTeam
2
- VERSION = "1.0.1"
2
+ VERSION = "1.0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: soda_xml_team
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stephen Yeargin
@@ -103,6 +103,7 @@ files:
103
103
  - Gemfile
104
104
  - README.md
105
105
  - Rakefile
106
+ - lib/ca-bundle.crt
106
107
  - lib/soda_xml_team.rb
107
108
  - lib/soda_xml_team/address.rb
108
109
  - lib/soda_xml_team/base.rb