omniauth-naranya_id 0.0.15 → 0.0.16

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: aae17711f483e0ea4fc400c11f11abd09ac77400
4
- data.tar.gz: 2ccf1c9521021cad216dd9cd09101301e0645b0a
3
+ metadata.gz: fb12d2d05dad2dcf650856eaf5642ec262f3367a
4
+ data.tar.gz: 78c8566b283af06dade9f2f7afed8a8df917937d
5
5
  SHA512:
6
- metadata.gz: b2b24f9dbb89d429940075b5432fdfdba24c35bc43800dbb40073d55bd1f40275fdc9ddd6c2d1e3ee3dd268c9ad09245c4a1dfe2a170b0dda11e01bd64399599
7
- data.tar.gz: e6f35c490700d88f6f953fedd8b8cd05805623aff58fd3608ed1ed7119e3c031172d0b1ca04c4394a538e08cbe050840dad8285d71dc2386e5b6f9af8bb56bd5
6
+ metadata.gz: 1f4d5d0481a494eedbeb05e4a8049a6f454a2ca56e5f1c70236c9468bcc2363e223726c4ce6269db73994110294c8c3adf4cebfd8f5a23f4ad6cf28852f97b5b
7
+ data.tar.gz: a9f7d021fdd281605b3f6e01870929b80b95e0de2e61570b6be1f8e81821ebe087db0a7f91d35465def5b6d46b25d20ba216680fc3e984613cb2e15e3ee4afb8
data/lib/naranya_id.rb CHANGED
@@ -28,9 +28,9 @@ module NaranyaId
28
28
 
29
29
  # Sitio de Naranya ID:
30
30
  # TODO: Sustituir con el URL de producción (https)
31
- site: ENV.fetch('NARANYA_ID_WEB_URL', 'http://id.naranya.net'),
32
- api_site: ENV.fetch('NARANYA_ID_API_URL', 'http://id.naranya.net:89'),
33
- api_path: ENV.fetch('NARANYA_ID_API_PATH', '/crmcapi'),
31
+ site: ENV.fetch('NARANYA_ID_WEB_URL', 'https://id.naranya.net'),
32
+ api_site: ENV.fetch('NARANYA_ID_API_URL', 'https://id.naranya.net:89'),
33
+ api_path: ENV.fetch('NARANYA_ID_API_PATH', '/api'),
34
34
  scheme: :query_string,
35
35
  http_method: :post,
36
36
  request_token_path: "/oauthv1/request_token.php",
@@ -51,9 +51,9 @@ module NaranyaId
51
51
  end
52
52
 
53
53
  # TODO: WTF??? Porqué no carga la config default?????
54
- config.client_options[:site] = ENV.fetch('NARANYA_ID_WEB_URL', 'http://id.naranya.net')
55
- config.client_options[:api_site] = ENV.fetch('NARANYA_ID_API_URL', 'http://id.naranya.net:89')
56
- config.client_options[:api_path] = ENV.fetch('NARANYA_ID_API_PATH', '/crmcapi')
54
+ config.client_options[:site] = ENV.fetch('NARANYA_ID_WEB_URL', 'https://id.naranya.net')
55
+ config.client_options[:api_site] = ENV.fetch('NARANYA_ID_API_URL', 'https://id.naranya.net:89')
56
+ config.client_options[:api_path] = ENV.fetch('NARANYA_ID_API_PATH', '/api')
57
57
 
58
58
  consumer_key = config.consumer_key || ENV['NARANYA_ID_API_KEY']
59
59
  consumer_secret = config.consumer_secret || ENV['NARANYA_ID_API_SECRET']
@@ -1,5 +1,5 @@
1
1
  module Omniauth
2
2
  module NaranyaId
3
- VERSION = "0.0.15"
3
+ VERSION = "0.0.16"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-naranya_id
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.15
4
+ version: 0.0.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - Roberto Quintanilla