mauth-client 7.1.0 → 7.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/PULL_REQUEST_TEMPLATE.md +8 -0
- data/.github/dependabot.yml +24 -0
- data/.github/workflows/ci.yml +53 -0
- data/.github/workflows/fossa.yml +17 -0
- data/.github/workflows/publish.yml +34 -0
- data/.github/workflows/release-please.yml +16 -0
- data/.release-please-manifest.json +3 -0
- data/Appraisals +1 -1
- data/CHANGELOG.md +7 -0
- data/README.md +0 -1
- data/UPGRADE_GUIDE.md +1 -1
- data/gemfiles/faraday_1.x.gemfile +1 -1
- data/lib/mauth/version.rb +1 -1
- data/release-please-config.json +11 -0
- metadata +11 -4
- data/.travis.yml +0 -46
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 26dbb5eeff53416bf247a264a415eb7223359a142a2150e75734c0f62e824256
|
4
|
+
data.tar.gz: 6e73c8fdc1637927ba7625dc33b0e1ab0d8239f5e086c68a74d4a46385479940
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c4eb6c25146c155208258e513ed64c9215c39dc0f250078db7fc57288d66df7f1d64f68aa41382be6c22ed25ed8dcf98249421433b93f2feb8ef7377d5922825
|
7
|
+
data.tar.gz: a06299bb7874d516e4391e33edab52c8c4d1ea8bef8ee39ca4e325115700b241ae25a0fe50ee49dee11029607056a6043922f2a0246c2393ad31aafa479341ab
|
@@ -0,0 +1,24 @@
|
|
1
|
+
# To get started with Dependabot version updates, you'll need to specify which
|
2
|
+
# package ecosystems to update and where the package manifests are located.
|
3
|
+
# Please see the documentation for all configuration options:
|
4
|
+
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
|
5
|
+
|
6
|
+
version: 2
|
7
|
+
|
8
|
+
updates:
|
9
|
+
- package-ecosystem: bundler
|
10
|
+
directory: /
|
11
|
+
insecure-external-code-execution: allow
|
12
|
+
schedule:
|
13
|
+
interval: weekly
|
14
|
+
allow:
|
15
|
+
- dependency-type: all
|
16
|
+
groups:
|
17
|
+
dependencies:
|
18
|
+
patterns:
|
19
|
+
- "*"
|
20
|
+
|
21
|
+
- package-ecosystem: github-actions
|
22
|
+
directory: /
|
23
|
+
schedule:
|
24
|
+
interval: weekly
|
@@ -0,0 +1,53 @@
|
|
1
|
+
# This workflow uses actions that are not certified by GitHub.
|
2
|
+
# They are provided by a third-party and are governed by
|
3
|
+
# separate terms of service, privacy policy, and support
|
4
|
+
# documentation.
|
5
|
+
# This workflow will download a prebuilt Ruby version, install dependencies and run tests with Rake
|
6
|
+
# For more information see: https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby
|
7
|
+
|
8
|
+
name: CI
|
9
|
+
|
10
|
+
on:
|
11
|
+
push:
|
12
|
+
branches:
|
13
|
+
- master
|
14
|
+
pull_request:
|
15
|
+
|
16
|
+
permissions:
|
17
|
+
contents: read
|
18
|
+
|
19
|
+
jobs:
|
20
|
+
test:
|
21
|
+
runs-on: ubuntu-latest
|
22
|
+
timeout-minutes: 10
|
23
|
+
|
24
|
+
concurrency:
|
25
|
+
# Cancel intermediate builds
|
26
|
+
group: ${{ github.workflow }}-${{ github.ref }}-${{ matrix.ruby-version }}-${{ matrix.appraisal }}
|
27
|
+
cancel-in-progress: true
|
28
|
+
|
29
|
+
strategy:
|
30
|
+
matrix:
|
31
|
+
ruby-version: ['2.7', '3.0', '3.1', '3.2', '3.3']
|
32
|
+
appraisal: ['faraday_1.x', 'faraday_2.x']
|
33
|
+
|
34
|
+
env:
|
35
|
+
BUNDLE_JOBS: 4
|
36
|
+
BUNDLE_GEMFILE: gemfiles/${{ matrix.appraisal }}.gemfile
|
37
|
+
|
38
|
+
steps:
|
39
|
+
- uses: actions/checkout@v4
|
40
|
+
with:
|
41
|
+
submodules: true
|
42
|
+
|
43
|
+
- name: Set up Ruby
|
44
|
+
uses: ruby/setup-ruby@v1
|
45
|
+
with:
|
46
|
+
ruby-version: ${{ matrix.ruby-version }}
|
47
|
+
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
|
48
|
+
|
49
|
+
- name: Run tests
|
50
|
+
run: |
|
51
|
+
bundle exec rspec
|
52
|
+
bundle exec rubocop
|
53
|
+
bundle exec rake benchmark
|
@@ -0,0 +1,17 @@
|
|
1
|
+
name: FOSSA License Check
|
2
|
+
|
3
|
+
on:
|
4
|
+
push:
|
5
|
+
# branches:
|
6
|
+
# - master
|
7
|
+
pull_request:
|
8
|
+
|
9
|
+
jobs:
|
10
|
+
fossa-scan:
|
11
|
+
runs-on: ubuntu-latest
|
12
|
+
steps:
|
13
|
+
- uses: actions/checkout@v4
|
14
|
+
- uses: mdsol/fossa_ci_scripts@main
|
15
|
+
env:
|
16
|
+
FOSSA_API_KEY: ${{ secrets.FOSSA_API_KEY }}
|
17
|
+
FOSSA_FAIL_BUILD: false
|
@@ -0,0 +1,34 @@
|
|
1
|
+
name: Publish
|
2
|
+
|
3
|
+
on:
|
4
|
+
release:
|
5
|
+
types:
|
6
|
+
- published
|
7
|
+
workflow_dispatch:
|
8
|
+
|
9
|
+
permissions:
|
10
|
+
contents: read
|
11
|
+
|
12
|
+
jobs:
|
13
|
+
build:
|
14
|
+
name: Build + Publish
|
15
|
+
runs-on: ubuntu-latest
|
16
|
+
|
17
|
+
steps:
|
18
|
+
- uses: actions/checkout@v4
|
19
|
+
|
20
|
+
- name: Set up Ruby
|
21
|
+
uses: ruby/setup-ruby@v1
|
22
|
+
with:
|
23
|
+
ruby-version: 3.3
|
24
|
+
|
25
|
+
- name: Publish to RubyGems
|
26
|
+
run: |
|
27
|
+
mkdir -p $HOME/.gem
|
28
|
+
touch $HOME/.gem/credentials
|
29
|
+
chmod 0600 $HOME/.gem/credentials
|
30
|
+
printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
|
31
|
+
gem build *.gemspec
|
32
|
+
gem push *.gem
|
33
|
+
env:
|
34
|
+
GEM_HOST_API_KEY: "${{ secrets.RUBYGEMS_AUTH_TOKEN }}"
|
data/Appraisals
CHANGED
data/CHANGELOG.md
CHANGED
@@ -5,6 +5,13 @@
|
|
5
5
|
- Shorten timeout for connection, add retries, and use persistent HTTP connections.
|
6
6
|
- Drop support for Faraday < 1.9.
|
7
7
|
|
8
|
+
## [7.2.0](https://github.com/mdsol/mauth-client-ruby/compare/v7.1.0...v7.2.0) (2024-04-25)
|
9
|
+
|
10
|
+
|
11
|
+
### Features
|
12
|
+
|
13
|
+
* Support Ruby 3.3 ([245bb06](https://github.com/mdsol/mauth-client-ruby/commit/245bb06d8abb86bd6a4b557b84bc9d0898254a95))
|
14
|
+
|
8
15
|
## v7.0.0
|
9
16
|
- Remove dice_bag and set configuration through environment variables directly.
|
10
17
|
- Rename the `V2_ONLY_SIGN_REQUESTS`, `V2_ONLY_AUTHENTICATE`, `DISABLE_FALLBACK_TO_V1_ON_V2_FAILURE` and `V1_ONLY_SIGN_REQUESTS` environment variables.
|
data/README.md
CHANGED
@@ -1,5 +1,4 @@
|
|
1
1
|
# MAuth-Client
|
2
|
-
[![Build Status](https://travis-ci.org/mdsol/mauth-client-ruby.svg?branch=master)](https://travis-ci.org/mdsol/mauth-client-ruby)
|
3
2
|
|
4
3
|
This gem consists of MAuth::Client, a class to manage the information needed to both sign and authenticate requests
|
5
4
|
and responses, and middlewares for Rack and Faraday which leverage the client's capabilities.
|
data/UPGRADE_GUIDE.md
CHANGED
@@ -8,7 +8,7 @@
|
|
8
8
|
Version 7.0.0 drops dice_bag.
|
9
9
|
|
10
10
|
Please remove the following files and update the `.gitignore` file accordingly:
|
11
|
-
- `config/initializers/mauth.rb.dice`
|
11
|
+
- `config/initializers/mauth.rb.dice` (rename to `mauth.rb` and remove the top line `<%= warning.as_yaml_comment %>`)
|
12
12
|
- `config/mauth_key`
|
13
13
|
- `config/mauth_key.dice`
|
14
14
|
- `config/mauth.yml`
|
data/lib/mauth/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mauth-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 7.
|
4
|
+
version: 7.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matthew Szenher
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: exe
|
13
13
|
cert_chain: []
|
14
|
-
date:
|
14
|
+
date: 2024-04-25 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: addressable
|
@@ -162,12 +162,18 @@ executables:
|
|
162
162
|
extensions: []
|
163
163
|
extra_rdoc_files: []
|
164
164
|
files:
|
165
|
+
- ".github/PULL_REQUEST_TEMPLATE.md"
|
166
|
+
- ".github/dependabot.yml"
|
167
|
+
- ".github/workflows/ci.yml"
|
168
|
+
- ".github/workflows/fossa.yml"
|
169
|
+
- ".github/workflows/publish.yml"
|
170
|
+
- ".github/workflows/release-please.yml"
|
165
171
|
- ".gitignore"
|
166
172
|
- ".gitmodules"
|
173
|
+
- ".release-please-manifest.json"
|
167
174
|
- ".rspec"
|
168
175
|
- ".rubocop.yml"
|
169
176
|
- ".ruby-version"
|
170
|
-
- ".travis.yml"
|
171
177
|
- ".yardopts"
|
172
178
|
- Appraisals
|
173
179
|
- CHANGELOG.md
|
@@ -208,6 +214,7 @@ files:
|
|
208
214
|
- lib/mauth/version.rb
|
209
215
|
- lib/rack/mauth.rb
|
210
216
|
- mauth-client.gemspec
|
217
|
+
- release-please-config.json
|
211
218
|
homepage: https://github.com/mdsol/mauth-client-ruby
|
212
219
|
licenses:
|
213
220
|
- MIT
|
@@ -227,7 +234,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
227
234
|
- !ruby/object:Gem::Version
|
228
235
|
version: '0'
|
229
236
|
requirements: []
|
230
|
-
rubygems_version: 3.
|
237
|
+
rubygems_version: 3.5.9
|
231
238
|
signing_key:
|
232
239
|
specification_version: 4
|
233
240
|
summary: Sign and authenticate requests and responses with mAuth authentication.
|
data/.travis.yml
DELETED
@@ -1,46 +0,0 @@
|
|
1
|
-
dist: focal
|
2
|
-
language: ruby
|
3
|
-
cache: bundler
|
4
|
-
|
5
|
-
rvm:
|
6
|
-
- 2.7
|
7
|
-
- 3.0
|
8
|
-
- 3.1
|
9
|
-
- 3.2
|
10
|
-
|
11
|
-
env:
|
12
|
-
global:
|
13
|
-
- BUNDLE_JOBS=4
|
14
|
-
|
15
|
-
gemfile:
|
16
|
-
- gemfiles/faraday_1.x.gemfile
|
17
|
-
- gemfiles/faraday_2.x.gemfile
|
18
|
-
|
19
|
-
before_install:
|
20
|
-
- gem update --system -N > /dev/null && echo "Rubygems version $(gem --version)" && bundle --version
|
21
|
-
|
22
|
-
install:
|
23
|
-
- bundle install
|
24
|
-
- >-
|
25
|
-
curl -H 'Cache-Control: no-cache'
|
26
|
-
https://raw.githubusercontent.com/mdsol/fossa_ci_scripts/main/travis_ci/fossa_install.sh |
|
27
|
-
bash -s -- -b $TRAVIS_BUILD_DIR
|
28
|
-
|
29
|
-
script:
|
30
|
-
- bundle exec rspec
|
31
|
-
- bundle exec rubocop
|
32
|
-
- bundle exec rake benchmark
|
33
|
-
- >-
|
34
|
-
curl -H 'Cache-Control: no-cache'
|
35
|
-
https://raw.githubusercontent.com/mdsol/fossa_ci_scripts/main/travis_ci/fossa_run.sh |
|
36
|
-
bash -s -- -b $TRAVIS_BUILD_DIR
|
37
|
-
|
38
|
-
deploy:
|
39
|
-
provider: rubygems
|
40
|
-
gem: mauth-client
|
41
|
-
api_key:
|
42
|
-
secure: QDp0P/lMGLYc4+A3M6VD9y551X6GrGwOSBE6xSG4lE6mPXoSISK5Yj18vNWQRQuQ4BsE6CdfZ/xsPjSRDda6b+yUQbgisjJ+Ry6jUVE1v9UKTZ0VHgHyXcsaJFC29tBKBeuGCj0AD5qhbTO1+ybeZSUfdSeVVoidD4W/bSnvzlT1Lht7IE8jbHbR57LsJKoEaDxKu33dg4CYV96xrlYGxHAS2UgEgi5Ve3ohzBWkX9RWF/wWoGCzIYhJBzXgCEEFw8iWkspjTePgv9yjD2HIMtF44aiSTHM5iqBBsYJ7A8+kUwoq7+srsashHZ1wZz1YulsCSkjwM9AXZ4E0f9AnERw/RQ5gG7bCuHZtSG9g/0SWBQeNfkAF3An6eTSS24KVfnarGdH2bk0G28k2oP26MWiDKz8nlQxNAY4rH+dITael18bgf45H4KccQqiooBEGnuYpUAuIPB+1l+BsIcRQnrU3LDtmtZn0KrCHHJ7EHOdogOG+/Pxof8ht1xF7V+HYhhzSRJs2JkvmZsp4q2T7W6b6kfi59Cz3LpqA1HHYcL5/OFZeLA/TlCNke0CRMxG8k3udDKj50jqFATXEa8lNyGLjmWh7tL9Bb/uy+CU47qUdx+V4K+kheAvNFtHfpxmyUGJSY0FH02H1VBPWm10DZ7kH+6jgCKyXuql+yWDw62s=
|
43
|
-
on:
|
44
|
-
tags: true
|
45
|
-
repo: mdsol/mauth-client-ruby
|
46
|
-
condition: $TRAVIS_RUBY_VERSION == 3.2 && $BUNDLE_GEMFILE == $TRAVIS_BUILD_DIR/gemfiles/faraday_2.x.gemfile
|