omniauth-alicloud 2.0.0 → 2.0.1

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: 4ee825813168ad56949fc867452a9bcf0a87f089d827b271f8411a3e3c4e8202
4
- data.tar.gz: c5a2fcf443cac3b60b03acca879e6adf6a41ed4212f2f7aed2f64b722c7c8eec
3
+ metadata.gz: '093afac9b636d7021b9b7b99185287c4bcbe45d1987733d1d4e6a34c2d4f4ad6'
4
+ data.tar.gz: 94bdf2255a9c75bfd08349f2ad7db0e7e89c775039627e3c00a370e85cd61f97
5
5
  SHA512:
6
- metadata.gz: d5a8f0a01be866ea824cf9f58dfd5a566a9a4edd650bf86c576113d5c98537b28f20e534326747776f7c47a1b12c7c6e886873ffabfeccb2d3965bc5a5a6fa64
7
- data.tar.gz: 8650ee1d7ca6a1911f5f9b9658400adf1c2e0b95c7bf2d1a2b952c6cf84ee24687878304aaece7193fe99f31943252e9f2f8b76afdcac46005657f0ebf6db943
6
+ metadata.gz: 3b3da9b5c71b84d7f1dba67ec0bb7fd19e94102712050b2542c0a719d2b2c187e5d769d31123e6b80b45f30974131598fe22623d3fdab8ae00cfca3b9c310b82
7
+ data.tar.gz: 3b199c3f542bde6d191a3adb93b09a19e5edf8a461f9e9a2ad31ff8ee52078f6c9ef9d221e2a2a949e1eefd5d29fc34cd24bf51927a189248cee8de7f5feae59
data/.gitlab-ci.yml ADDED
@@ -0,0 +1,21 @@
1
+ stages:
2
+ - test
3
+
4
+ .base:
5
+ image: ruby:3.0.5
6
+ cache:
7
+ key: gems_and_packages
8
+ paths:
9
+ - apt-cache/
10
+ - vendor/ruby
11
+ policy: pull
12
+ before_script:
13
+ - ruby -v
14
+ - gem install bundler --no-document
15
+ - bundle install --path=vendor/ruby
16
+
17
+ test:rspec:
18
+ extends: .base
19
+ stage: test
20
+ script:
21
+ - bundle exec rspec
data/CHANGELOG.md CHANGED
@@ -6,4 +6,8 @@ Makes compatible with OmniAuth 2 and requires it.
6
6
 
7
7
  Note: https://gitlab.com/gitlab-jh/jh-team/omniauth-alicloud/-/merge_requests/1 for reasoning - Thanks @jessieay
8
8
 
9
- _Major version bump as no longer supports Omniauth 1._
9
+ _Major version bump as no longer supports Omniauth 1._
10
+
11
+ ## v2.0.1 (2023-01-17)
12
+
13
+ Fix callback url mismatch.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- omniauth-alicloud (2.0.0)
4
+ omniauth-alicloud (2.0.1)
5
5
  omniauth-oauth2 (~> 1.8)
6
6
 
7
7
  GEM
@@ -30,6 +30,10 @@ module OmniAuth
30
30
  { raw_info: raw_info }
31
31
  end
32
32
 
33
+ def callback_url
34
+ full_host + callback_path
35
+ end
36
+
33
37
  protected
34
38
 
35
39
  def raw_info
@@ -2,6 +2,6 @@
2
2
 
3
3
  module OmniAuth
4
4
  module Alicloud
5
- VERSION = '2.0.0'
5
+ VERSION = '2.0.1'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-alicloud
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - JiHu(GitLab)
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-09-16 00:00:00.000000000 Z
11
+ date: 2023-01-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: omniauth-oauth2
@@ -33,6 +33,7 @@ extra_rdoc_files: []
33
33
  files:
34
34
  - ".bundle/config"
35
35
  - ".gitignore"
36
+ - ".gitlab-ci.yml"
36
37
  - CHANGELOG.md
37
38
  - Gemfile
38
39
  - Gemfile.lock