flixit 0.0.18 → 0.0.19

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/VERSION +1 -1
  2. data/lib/flixit/record.rb +6 -2
  3. metadata +2 -2
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.18
1
+ 0.0.19
@@ -33,10 +33,14 @@ protected
33
33
  def post(path, body)
34
34
  begin
35
35
  flixcloud = RestClient::Resource.new(
36
- "https://www.flixcloud.com/#{path}",
36
+ "https://flixcloud.com/#{path}",
37
+ # :ssl_client_cert => OpenSSL::X509::Certificate.new(File.read("host.cert")),
38
+ # :ssl_client_key => OpenSSL::PKey::RSA.new(File.read("host.key"), ""),
39
+ # :ssl_ca_file => Flixit::CA_FILE,
40
+ # :verify_ssl => OpenSSL::SSL::VERIFY_PEER
37
41
  :verify_ssl => false
38
42
  )
39
- Flixit::Response.new(flixcloud.post body, :content_type => :xml, :accept => :xml)
43
+ Flixit::Response.new(flixcloud.post body, :content_type => 'application/xml', :accept => 'text/xml')
40
44
  # rescue HTTPClient::KeepAliveDisconnected
41
45
  # raise Flixit::ServerBrokeConnection, $!.message
42
46
  # rescue HTTPClient::ReceiveTimeoutError
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 18
9
- version: 0.0.18
8
+ - 19
9
+ version: 0.0.19
10
10
  platform: ruby
11
11
  authors:
12
12
  - Leandro Pedroni