omniauth-alicloud 2.0.1 → 3.0.0

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
  SHA256:
3
- metadata.gz: '093afac9b636d7021b9b7b99185287c4bcbe45d1987733d1d4e6a34c2d4f4ad6'
4
- data.tar.gz: 94bdf2255a9c75bfd08349f2ad7db0e7e89c775039627e3c00a370e85cd61f97
3
+ metadata.gz: caee651847deda5fa83c95dbbd4c3e4629f40bbbf387d8b72117d2985020a851
4
+ data.tar.gz: 4b60b78070f34d84e16d7a3e8762f908674ec40fc591a665f495c97220ec6480
5
5
  SHA512:
6
- metadata.gz: 3b3da9b5c71b84d7f1dba67ec0bb7fd19e94102712050b2542c0a719d2b2c187e5d769d31123e6b80b45f30974131598fe22623d3fdab8ae00cfca3b9c310b82
7
- data.tar.gz: 3b199c3f542bde6d191a3adb93b09a19e5edf8a461f9e9a2ad31ff8ee52078f6c9ef9d221e2a2a949e1eefd5d29fc34cd24bf51927a189248cee8de7f5feae59
6
+ metadata.gz: e01608ed142006f55957d74c1c2dfd93126e2d42a95f5d7d050779314313d4fe438631719d40dab030b44de523928d3297ab12ff960bad02c74d08e0e32c12ee
7
+ data.tar.gz: a1a01eeccbd5997fc9b2c602465444f9b2433baaa536febb8ce8bd7eddc052c5cd0654a37d78e0c38ee3e1786f09896f23ef99fb64a882bf7b5ae633c385379c
data/.gitlab-ci.yml CHANGED
@@ -1,21 +1,31 @@
1
- stages:
2
- - test
3
-
4
- .base:
1
+ default:
5
2
  image: ruby:3.0.5
3
+
4
+ workflow:
5
+ rules:
6
+ # For merge requests, create a pipeline.
7
+ - if: '$CI_MERGE_REQUEST_IID'
8
+ # For `main` branch, create a pipeline (this includes on schedules, pushes, merges, etc.).
9
+ - if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
10
+ # For tags, create a pipeline.
11
+ - if: '$CI_COMMIT_TAG'
12
+
13
+ .test_template: &test_definition
14
+ image: ruby:${RUBY_VERSION}
15
+ stage: test
16
+ script:
17
+ - gem install bundler --no-document
18
+ - bundle config --local path "vendor/bundle"
19
+ - bundle install
20
+ - bundle exec rspec
6
21
  cache:
7
- key: gems_and_packages
22
+ key: ${CI_JOB_IMAGE}
8
23
  paths:
9
24
  - apt-cache/
10
25
  - vendor/ruby
11
- policy: pull
12
- before_script:
13
- - ruby -v
14
- - gem install bundler --no-document
15
- - bundle install --path=vendor/ruby
16
26
 
17
- test:rspec:
18
- extends: .base
19
- stage: test
20
- script:
21
- - bundle exec rspec
27
+ ruby:
28
+ <<: *test_definition
29
+ parallel:
30
+ matrix:
31
+ - RUBY_VERSION: ["3.0", "3.1", "3.2"]
data/CHANGELOG.md CHANGED
@@ -10,4 +10,8 @@ _Major version bump as no longer supports Omniauth 1._
10
10
 
11
11
  ## v2.0.1 (2023-01-17)
12
12
 
13
- Fix callback url mismatch.
13
+ Fix callback url mismatch.
14
+
15
+ ## v3.0.0 (2023-09-15)
16
+
17
+ Change use sub openid as omniauth uid.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- omniauth-alicloud (2.0.1)
4
+ omniauth-alicloud (3.0.0)
5
5
  omniauth-oauth2 (~> 1.8)
6
6
 
7
7
  GEM
@@ -12,7 +12,7 @@ module OmniAuth
12
12
  }
13
13
 
14
14
  uid do
15
- raw_info['uid']
15
+ raw_info['sub']
16
16
  end
17
17
 
18
18
  info do
@@ -2,6 +2,6 @@
2
2
 
3
3
  module OmniAuth
4
4
  module Alicloud
5
- VERSION = '2.0.1'
5
+ VERSION = '3.0.0'
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.1
4
+ version: 3.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - JiHu(GitLab)
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-01-17 00:00:00.000000000 Z
11
+ date: 2023-09-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: omniauth-oauth2