omniauth-scalingo 1.0.1 → 2.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 +5 -5
- data/.github/dependabot.yml +8 -0
- data/.github/workflows/publish.yml +28 -0
- data/.github/workflows/tests.yml +34 -0
- data/lib/omniauth-scalingo/version.rb +1 -1
- data/omniauth-scalingo.gemspec +10 -3
- metadata +16 -10
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: 9d4a96aa3d0b5f12d5a58c8ae4d420a3c5ec46ac029a1d53e49da20d428aa92a
|
|
4
|
+
data.tar.gz: 9182e414b03518a06e999ed5dedb9f251a2faade96c650f5a624aa8131703754
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4232df838bd8fd4f771b50265def26244a7ad10ffe1b7bf8b82dd4d453a5863a72a0aa441ddbd0df5a77e977a4542dceb2858e5eeec94aa87522a4b3d2d53e20
|
|
7
|
+
data.tar.gz: 5673499fd12c0614ae860cdf97a80fabcb05de8d71051b20c046b0f52d2470b407892249e2b52fa9c037ecfc1ac67f2bf6d0f4c9cdbad228b45cd63cb296edac
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
name: Publish Gem
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
workflow_dispatch:
|
|
5
|
+
release:
|
|
6
|
+
types: [created]
|
|
7
|
+
|
|
8
|
+
jobs:
|
|
9
|
+
build:
|
|
10
|
+
runs-on: ubuntu-latest
|
|
11
|
+
|
|
12
|
+
steps:
|
|
13
|
+
- uses: actions/checkout@v2
|
|
14
|
+
- name: Set up Ruby
|
|
15
|
+
uses: ruby/setup-ruby@v1
|
|
16
|
+
with:
|
|
17
|
+
ruby-version: 3.0
|
|
18
|
+
bundler-cache: true
|
|
19
|
+
- name: Publish to RubyGems
|
|
20
|
+
run: |
|
|
21
|
+
mkdir -p $HOME/.gem
|
|
22
|
+
touch $HOME/.gem/credentials
|
|
23
|
+
chmod 0600 $HOME/.gem/credentials
|
|
24
|
+
printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
|
|
25
|
+
gem build *.gemspec
|
|
26
|
+
gem push *.gem
|
|
27
|
+
env:
|
|
28
|
+
GEM_HOST_API_KEY: "${{secrets.RUBYGEMS_AUTH_TOKEN}}"
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
name: Continuous Integration
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
workflow_dispatch:
|
|
5
|
+
push:
|
|
6
|
+
branches: [ master ]
|
|
7
|
+
pull_request:
|
|
8
|
+
branches: [ master ]
|
|
9
|
+
|
|
10
|
+
jobs:
|
|
11
|
+
lint:
|
|
12
|
+
runs-on: ubuntu-latest
|
|
13
|
+
steps:
|
|
14
|
+
- uses: actions/checkout@v2
|
|
15
|
+
- uses: ruby/setup-ruby@v1
|
|
16
|
+
with:
|
|
17
|
+
ruby-version: 3.0
|
|
18
|
+
bundler-cache: true
|
|
19
|
+
- name: RuboCop checks
|
|
20
|
+
run: bundle exec rubocop
|
|
21
|
+
|
|
22
|
+
test:
|
|
23
|
+
runs-on: ubuntu-latest
|
|
24
|
+
strategy:
|
|
25
|
+
matrix:
|
|
26
|
+
ruby-version: ['2.7', '3.0', '3.1']
|
|
27
|
+
steps:
|
|
28
|
+
- uses: actions/checkout@v2
|
|
29
|
+
- uses: ruby/setup-ruby@v1
|
|
30
|
+
with:
|
|
31
|
+
ruby-version: ${{ matrix.ruby-version }}
|
|
32
|
+
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
|
|
33
|
+
- name: Run tests
|
|
34
|
+
run: bundle exec rake
|
data/omniauth-scalingo.gemspec
CHANGED
|
@@ -2,13 +2,20 @@
|
|
|
2
2
|
require File.expand_path('../lib/omniauth-scalingo/version', __FILE__)
|
|
3
3
|
|
|
4
4
|
Gem::Specification.new do |gem|
|
|
5
|
-
gem.authors = ["Léo Unbekandt"]
|
|
6
|
-
gem.email = ["leo@scalingo.com"]
|
|
5
|
+
gem.authors = ["Léo Unbekandt", "Kevin Soltysiak"]
|
|
6
|
+
gem.email = ["leo@scalingo.com", "kevin@scalingo.com"]
|
|
7
7
|
gem.description = %q{Official OmniAuth strategy for Scalingo.}
|
|
8
8
|
gem.summary = %q{Official OmniAuth strategy for Scalingo.}
|
|
9
9
|
gem.homepage = "https://github.com/Scalingo/omniauth-scalingo"
|
|
10
10
|
gem.license = "MIT"
|
|
11
11
|
|
|
12
|
+
gem.metadata = {
|
|
13
|
+
"bug_tracker_uri" => "https://github.com/Scalingo/omniauth-scalingo/issues",
|
|
14
|
+
"documentation_uri" => "https://github.com/Scalingo/omniauth-scalingo",
|
|
15
|
+
"homepage_uri" => "https://github.com/Scalingo/omniauth-scalingo",
|
|
16
|
+
"source_code_uri" => "https://github.com/Scalingo/omniauth-scalingo",
|
|
17
|
+
}
|
|
18
|
+
|
|
12
19
|
gem.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
|
13
20
|
gem.files = `git ls-files`.split("\n")
|
|
14
21
|
gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
|
@@ -16,7 +23,7 @@ Gem::Specification.new do |gem|
|
|
|
16
23
|
gem.require_paths = ["lib"]
|
|
17
24
|
gem.version = OmniAuth::Scalingo::VERSION
|
|
18
25
|
|
|
19
|
-
gem.add_dependency 'omniauth', '~>
|
|
26
|
+
gem.add_dependency 'omniauth', '~> 2.0'
|
|
20
27
|
gem.add_dependency 'omniauth-oauth2', '>= 1.4.0', '< 2.0'
|
|
21
28
|
gem.add_development_dependency 'rspec', '~> 3.5'
|
|
22
29
|
gem.add_development_dependency 'rack-test'
|
metadata
CHANGED
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: omniauth-scalingo
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version:
|
|
4
|
+
version: 2.0.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Léo Unbekandt
|
|
8
|
+
- Kevin Soltysiak
|
|
8
9
|
autorequire:
|
|
9
10
|
bindir: bin
|
|
10
11
|
cert_chain: []
|
|
11
|
-
date:
|
|
12
|
+
date: 2023-11-03 00:00:00.000000000 Z
|
|
12
13
|
dependencies:
|
|
13
14
|
- !ruby/object:Gem::Dependency
|
|
14
15
|
name: omniauth
|
|
@@ -16,14 +17,14 @@ dependencies:
|
|
|
16
17
|
requirements:
|
|
17
18
|
- - "~>"
|
|
18
19
|
- !ruby/object:Gem::Version
|
|
19
|
-
version: '
|
|
20
|
+
version: '2.0'
|
|
20
21
|
type: :runtime
|
|
21
22
|
prerelease: false
|
|
22
23
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
24
|
requirements:
|
|
24
25
|
- - "~>"
|
|
25
26
|
- !ruby/object:Gem::Version
|
|
26
|
-
version: '
|
|
27
|
+
version: '2.0'
|
|
27
28
|
- !ruby/object:Gem::Dependency
|
|
28
29
|
name: omniauth-oauth2
|
|
29
30
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -103,10 +104,14 @@ dependencies:
|
|
|
103
104
|
description: Official OmniAuth strategy for Scalingo.
|
|
104
105
|
email:
|
|
105
106
|
- leo@scalingo.com
|
|
107
|
+
- kevin@scalingo.com
|
|
106
108
|
executables: []
|
|
107
109
|
extensions: []
|
|
108
110
|
extra_rdoc_files: []
|
|
109
111
|
files:
|
|
112
|
+
- ".github/dependabot.yml"
|
|
113
|
+
- ".github/workflows/publish.yml"
|
|
114
|
+
- ".github/workflows/tests.yml"
|
|
110
115
|
- ".gitignore"
|
|
111
116
|
- ".rspec"
|
|
112
117
|
- Gemfile
|
|
@@ -123,7 +128,11 @@ files:
|
|
|
123
128
|
homepage: https://github.com/Scalingo/omniauth-scalingo
|
|
124
129
|
licenses:
|
|
125
130
|
- MIT
|
|
126
|
-
metadata:
|
|
131
|
+
metadata:
|
|
132
|
+
bug_tracker_uri: https://github.com/Scalingo/omniauth-scalingo/issues
|
|
133
|
+
documentation_uri: https://github.com/Scalingo/omniauth-scalingo
|
|
134
|
+
homepage_uri: https://github.com/Scalingo/omniauth-scalingo
|
|
135
|
+
source_code_uri: https://github.com/Scalingo/omniauth-scalingo
|
|
127
136
|
post_install_message:
|
|
128
137
|
rdoc_options: []
|
|
129
138
|
require_paths:
|
|
@@ -139,11 +148,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
139
148
|
- !ruby/object:Gem::Version
|
|
140
149
|
version: '0'
|
|
141
150
|
requirements: []
|
|
142
|
-
|
|
143
|
-
rubygems_version: 2.6.13
|
|
151
|
+
rubygems_version: 3.4.10
|
|
144
152
|
signing_key:
|
|
145
153
|
specification_version: 4
|
|
146
154
|
summary: Official OmniAuth strategy for Scalingo.
|
|
147
|
-
test_files:
|
|
148
|
-
- spec/omniauth/strategies/scalingo_spec.rb
|
|
149
|
-
- spec/spec_helper.rb
|
|
155
|
+
test_files: []
|