omniauth-seznam-cz 0.0.5 → 0.1.0

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: d3087b76039c8f208611ae484fceb2b122056d43be731e74f80c180a9033442c
4
- data.tar.gz: 16aa161df1ce38488a555b028292f66be40cec8dfdfe89f926ee348f6d97bdd3
3
+ metadata.gz: c648d155cac9a61f968db43ea6fc26ff6d665921fec222a48b66211673f9b7ad
4
+ data.tar.gz: 6c9334d0ff6cea90af56f1f2f24203ce9b655f7548f2aa76f6b0bcaabe2f9c9c
5
5
  SHA512:
6
- metadata.gz: 98ef7528e1fbce507f13b339636c5f880d790ce0215ca35c92303954e9cdf840f04bf1adfa7348b15d37fc668e78f2f471558d0ed5d10e959672da5010fd319c
7
- data.tar.gz: dd98406be07fd84399532bda670bd18d4ade820ceab4a723815114d3c55c0701e44a85e7a74ef460e3ff93c5bd01b1c47492dbaef675c94f183cf00a491d39b8
6
+ metadata.gz: ca5180f1309200a762c9fd2c1fdad9d346730b96c2b43a4f4c186e8b8675c35edb689ca27cae35e91ae95fa55052b71a0e5eaad576685b92cd2beabfe0e2d8ea
7
+ data.tar.gz: 6651969510ae8717ed2e8018d2585198ed09ede87dfbdbeda4691094e00b4b5ca86573eafee8feb549831bd3e13917ea53ad3f5a746687e331ac1b8c91057341
@@ -2,6 +2,6 @@
2
2
 
3
3
  module OmniAuth
4
4
  module SeznamCz
5
- VERSION = '0.0.5'
5
+ VERSION = '0.1.0'
6
6
  end
7
7
  end
@@ -6,13 +6,11 @@ require 'uri'
6
6
 
7
7
  module OmniAuth
8
8
  module Strategies
9
- # Main class for Seznam.cz strategy.
10
9
  class SeznamCz < OmniAuth::Strategies::OAuth2
11
10
  ALLOWED_ISSUERS = ['login.szn.cz'].freeze
12
11
  BASE_SCOPES = %w[identity contact-phone avatar].freeze
13
12
  DEFAULT_SCOPE = 'identity'
14
13
  USER_INFO_URL = 'https://login.szn.cz/api/v1/user'
15
- IMAGE_SIZE_REGEXP = /(s\d+(-c)?)|(w\d+-h\d+(-c)?)|(w\d+(-c)?)|(h\d+(-c)?)|c/
16
14
 
17
15
  option :name, 'seznam_cz'
18
16
  option :skip_image_info, true
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-seznam-cz
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jan Sterba