omniauth-visma 0.0.2 → 0.0.3

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
  SHA256:
3
- metadata.gz: b69c471c4830c834a707552dfce31ab4fb116f7bd4e9287ce7d73ac17c8773fe
4
- data.tar.gz: 5f3d357e8fcef707e5929b00f639abbf3afdaf7cac5281bbe021c36e51f5664a
3
+ metadata.gz: 477afd3499aa92780ec4bd963663f94d0a856786090d97847d61b8d3dd3292d0
4
+ data.tar.gz: 54789a09b77956aa697fff347c09a0a9cdda39886daaf2c7aa0d8a76a37ae40d
5
5
  SHA512:
6
- metadata.gz: fb03b412910b81e49d9a2a5872fdae3cae547126fc6a42bbbafc0c57d759a94c806086e42916773daebe7407f6abfbe0dc22a765685f8d31aa6ffd20f1d6071d
7
- data.tar.gz: c24e165eeef01c517c169e9795ad8eadf46ac9d127dc0047b54e72185ca27faa9ee1125fc03c4cba85a77770756c185002115c72a8b21310c346f7a1c90343d3
6
+ metadata.gz: c2305700f15a743ffd9ceb076cdc77fdd6f520171a716657474ab8ee0834e354a2666aeb627f783c7bc3bc5edf7af84d9d9707c7d3cb762f1b14d6dbfa492980
7
+ data.tar.gz: e60145dfb1922c2b0a3c4a5426db6a60ff238ecea72f8835f0d0a369dc40ba7bd742424fa9f1470abaaf6be4f87ebb776c0149d8929809ccf68db19ac41a67a4
data/README.md CHANGED
@@ -9,10 +9,10 @@ For more information about the API see https://developer.vismaonline.com/.
9
9
  ## Basic Usage
10
10
 
11
11
  use OmniAuth::Builder do
12
- provider "visma", ENV['VISMA_CLIENT_ID'], ENV['VISMA_CLIENT_SECRET'], scope: 'offline_access ea:api', environment: 'production'
12
+ provider "visma", ENV['VISMA_CLIENT_ID'], ENV['VISMA_CLIENT_SECRET'], scope: 'offline_access ea:api'
13
13
  end
14
14
 
15
- The default environment is 'sandbox'.
15
+ The default environment is ```:production```. For testing you can use the sandbox environment by specifying ```:sandbox``` as ```environment``` in the provider setup.
16
16
 
17
17
  ## Credits
18
18
 
@@ -18,8 +18,8 @@ module OmniAuth
18
18
  }
19
19
 
20
20
  option :name, "visma"
21
- option :environment, "sandbox"
22
- option :client_options, AUTH_URLS[:sandbox]
21
+ option :environment, :production
22
+ option :client_options, AUTH_URLS[:production]
23
23
 
24
24
  info do
25
25
  {
@@ -1,6 +1,6 @@
1
1
  module OmniAuth
2
2
  module Visma
3
- VERSION = "0.0.2"
3
+ VERSION = "0.0.3"
4
4
  end
5
5
  end
6
6
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-visma
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Espen Antonsen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-12-10 00:00:00.000000000 Z
11
+ date: 2017-12-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: omniauth