domoscio_rails 0.0.1 → 0.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: da322351b16df6aff89c11ac583872aeacc877b4
4
- data.tar.gz: 90b1d066c885639f022dded7abfa96ccc7ddd2d6
3
+ metadata.gz: 58a4eecf3af57713d58a9f407e00c2befe8f6c3b
4
+ data.tar.gz: 2fa98be7897b89bdfe74b60cc866240dbfb8272a
5
5
  SHA512:
6
- metadata.gz: 1517bc4ed42eb63af1899223188c2d3b71ce309f3af129632c01ebf93df7711127e74b0f1fa7eaafb9c848e6722f878782bc0ce4fd8ed3f94cf0455bbb730b68
7
- data.tar.gz: c7146111bad3a8cf898a0556fda1d510c94c7215795351f01f5897ab948bcc927f9f9b49c1eb3cc8e8177686aa655ccdfae59ce883172f7cb88de7f5fa445a29
6
+ metadata.gz: 874bd6381924961ae34e2e6da165f253f60f20041467abde6700e4e2394bb65ae54923dd55a902ff8b8c2edc9cecbb64ed221f91102239bb0ec73eb9ffc4720b
7
+ data.tar.gz: fdec1c01a39bc8e62f381c29285e73b35177ee17c1e98c22f250933b9b4f5e4ac3183397df4c44abdebb9a86bb9b34e35387c437da379fab4c23a2cabe4bc4f3
@@ -33,7 +33,7 @@ module DomoscioRails
33
33
  end
34
34
 
35
35
  def root_url
36
- @root_url || (@preproduction == true ? "http://stats-engine-api-env-nmkmmsqaxr.elasticbeanstalk.com/" : "")
36
+ @root_url || (@preproduction == true ? "http://domoscio-stats-engine-api.herokuapp.com/" : "")
37
37
  end
38
38
  end
39
39
 
@@ -125,11 +125,11 @@ module DomoscioRails
125
125
  'Authorization' => "Token token=#{DomoscioRails.configuration.client_passphrase}",#"#{auth_token['token_type']} #{auth_token['access_token']}",
126
126
  'Content-Type' => 'application/json'
127
127
  }
128
- begin
129
- headers.update('x_mangopay_client_user_agent' => DomoscioRails::JSON.dump(user_agent))
130
- rescue => e
131
- headers.update('x_mangopay_client_raw_user_agent' => user_agent.inspect, error: "#{e} (#{e.class})")
132
- end
128
+ # begin
129
+ # headers.update('x_mangopay_client_user_agent' => DomoscioRails::JSON.dump(user_agent))
130
+ # rescue => e
131
+ # headers.update('x_mangopay_client_raw_user_agent' => user_agent.inspect, error: "#{e} (#{e.class})")
132
+ # end
133
133
  end
134
134
 
135
135
 
@@ -1,3 +1,3 @@
1
1
  module DomoscioRails
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: domoscio_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Benoit Praly