roqua-core-api 0.0.17 → 0.0.18

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: 50c40344f6697004903f2952c40768b4dd5ce8e2
4
- data.tar.gz: 31e41c1d5826c1a774c51a800aeb7aed08f1abd9
3
+ metadata.gz: 525bad4bd5d6f0bf56e38eae8f8aa3c266932ba9
4
+ data.tar.gz: 3e56da95c04d4bf6b166a6582cb3eda467167c8f
5
5
  SHA512:
6
- metadata.gz: 9dba8ce70e38185f9d35800e0f113e931fdc84a8fec4f3c90b96750f2617890fed0230b62b920db1c3c8665ea454508a13fcae9ec3600988f8ad4cb7c62b7df3
7
- data.tar.gz: 608ee4473cab2d2612057584a938bf23793bbc5f1c2d5da59dd8825e8795d53f24dd0d50e566ede53871e427b60499c9dc8c13875164698865ad3f5b6e948792
6
+ metadata.gz: 5d3606d20042a3e8a644172f2ee0b00868925598e09f4fcbe9baf7703e113d6c462553fcc505970e681754121976da795f85180b11ebc36874ed3afacf988722
7
+ data.tar.gz: 0cc51596844ae875770c0108bc64d2ed893dd0bf490bda376614497c77cc0dbf31ad21b47d3fb2ae513d822ae2329be8538b5904070d6f72d0d4828a74efd9e8
@@ -1,5 +1,5 @@
1
1
  module Roqua
2
2
  module CoreApi
3
- VERSION = "0.0.17"
3
+ VERSION = "0.0.18"
4
4
  end
5
5
  end
@@ -4,16 +4,8 @@ require 'roqua/omniauth/strategies/doorkeeper'
4
4
  OmniAuth.config.logger = Rails.logger
5
5
 
6
6
  Rails.application.config.middleware.use OmniAuth::Builder do
7
- case Rails.env
8
- when 'development', 'test'
9
- provider :doorkeeper,
10
- 'b30f46f3e991d87f52f54365dda6b147d74039fd9c0336490ab41a7254702651',
11
- '49b42787e6fcf9d42878c62c77817a92251abf48923d8c269c9c088e66066fd2',
12
- client_options: {site: 'http://core.dev'}
13
- else
14
- provider :doorkeeper,
15
- ENV.fetch('CORE_OAUTH_CLIENT_ID'),
16
- ENV.fetch('CORE_OAUTH_CLIENT_SECRET'),
17
- client_options: {site: ENV.fetch('CORE_OAUTH_URL')}
18
- end
7
+ provider :doorkeeper,
8
+ ENV.fetch('CORE_OAUTH_CLIENT_ID'),
9
+ ENV.fetch('CORE_OAUTH_CLIENT_SECRET'),
10
+ client_options: {site: ENV.fetch('CORE_SITE')}
19
11
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: roqua-core-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.17
4
+ version: 0.0.18
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marten Veldthuis