mauth-client 7.1.0 → 7.3.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 +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 +62 -46
- data/README.md +0 -1
- data/UPGRADE_GUIDE.md +1 -1
- data/gemfiles/faraday_1.x.gemfile +1 -1
- data/lib/mauth/client.rb +2 -4
- data/lib/mauth/version.rb +1 -1
- data/mauth-client.gemspec +1 -0
- data/release-please-config.json +11 -0
- metadata +25 -7
- 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: 382afef415a9f26e2ccd2d9c931c3d8494cdf3617630ef418fd54099675ca817
|
4
|
+
data.tar.gz: 7217f086976bacc388a3c702fd72adce9ea407a0caadd05909095cc7b58c50bb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 27cd354b5884f9d9655d930257f6cd5f4dc6e17f4dac94c12a388689160ab0885411a0e53c9288e0beb66da09ae72c9ea625e220211573bd3e981bdbcbb9b3a2
|
7
|
+
data.tar.gz: 94cdf4d3cfbca6e69610c4d8b7ac8b568f1ee42e1c640a2fd654145661548831f41b4535f2a8e34f63e24257acb09196670f5f1af86595ac638522a143d9ef46
|
@@ -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', '3.4']
|
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.4
|
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
@@ -1,11 +1,27 @@
|
|
1
|
-
|
1
|
+
# Changelog
|
2
|
+
|
3
|
+
## [7.3.0](https://github.com/mdsol/mauth-client-ruby/compare/v7.2.0...v7.3.0) (2025-01-16)
|
4
|
+
|
5
|
+
|
6
|
+
### Features
|
7
|
+
|
8
|
+
* Support ruby 3.4 ([97f0f32](https://github.com/mdsol/mauth-client-ruby/commit/97f0f3211d5da8c92fc0ab6bbf44c6ad6929c807))
|
9
|
+
|
10
|
+
## [7.2.0](https://github.com/mdsol/mauth-client-ruby/compare/v7.1.0...v7.2.0) (2024-04-25)
|
11
|
+
|
12
|
+
|
13
|
+
### Features
|
14
|
+
|
15
|
+
* Support Ruby 3.3 ([245bb06](https://github.com/mdsol/mauth-client-ruby/commit/245bb06d8abb86bd6a4b557b84bc9d0898254a95))
|
16
|
+
|
17
|
+
## 7.1.0
|
2
18
|
- Add MAuth::PrivateKeyHelper.load method to process RSA private keys.
|
3
19
|
- Update Faraday configuration in SecurityTokenCacher:
|
4
20
|
- Add the `MAUTH_USE_RAILS_CACHE` environment variable to make `Rails.cache` usable to cache public keys.
|
5
21
|
- Shorten timeout for connection, add retries, and use persistent HTTP connections.
|
6
22
|
- Drop support for Faraday < 1.9.
|
7
23
|
|
8
|
-
##
|
24
|
+
## 7.0.0
|
9
25
|
- Remove dice_bag and set configuration through environment variables directly.
|
10
26
|
- Rename the `V2_ONLY_SIGN_REQUESTS`, `V2_ONLY_AUTHENTICATE`, `DISABLE_FALLBACK_TO_V1_ON_V2_FAILURE` and `V1_ONLY_SIGN_REQUESTS` environment variables.
|
11
27
|
- Remove the remote authenticator.
|
@@ -13,37 +29,37 @@
|
|
13
29
|
|
14
30
|
See [UPGRADE_GUIDE.md](UPGRADE_GUIDE.md#upgrading-to-700) for migration.
|
15
31
|
|
16
|
-
##
|
32
|
+
## 6.4.3
|
17
33
|
- Force Rack > 2.2.3 to resolve [CVE-2022-30123](https://github.com/advisories/GHSA-wq4h-7r42-5hrr).
|
18
34
|
|
19
|
-
##
|
35
|
+
## 6.4.2
|
20
36
|
- Add MAuth::ServerHelper module with convenience methods for servers to access requester app uuid.
|
21
37
|
|
22
|
-
##
|
38
|
+
## 6.4.1
|
23
39
|
- Fix MAuth::Rack::Response to not raise FrozenError.
|
24
40
|
|
25
|
-
##
|
41
|
+
## 6.4.0
|
26
42
|
- Support Ruby 3.1.
|
27
43
|
- Drop support for Ruby < 2.6.0.
|
28
44
|
- Allow Faraday 2.x.
|
29
45
|
|
30
|
-
##
|
46
|
+
## 6.3.0
|
31
47
|
- Support Ruby 3.0.
|
32
48
|
- Drop support for Ruby < 2.5.0.
|
33
49
|
|
34
|
-
##
|
50
|
+
## 6.2.1
|
35
51
|
- Fix SecurityTokenCacher to not cache tokens forever.
|
36
52
|
|
37
|
-
##
|
53
|
+
## 6.2.0
|
38
54
|
- Drop legacy security token expiry in favor of honoring server cache headers via Faraday HTTP Cache Middleware.
|
39
55
|
|
40
|
-
##
|
56
|
+
## 6.1.1
|
41
57
|
- Replace `URI.escape` with `CGI.escape` in SecurityTokenCacher to suppress "URI.escape is obsolete" warning.
|
42
58
|
|
43
|
-
##
|
59
|
+
## 6.1.0
|
44
60
|
- Allow Faraday 1.x.
|
45
61
|
|
46
|
-
##
|
62
|
+
## 6.0.0
|
47
63
|
- Added parsing code to test with mauth-protocol-test-suite.
|
48
64
|
- Added unescape step in query_string encoding in order to remove 'double encoding'.
|
49
65
|
- Added normalization of paths.
|
@@ -51,106 +67,106 @@ See [UPGRADE_GUIDE.md](UPGRADE_GUIDE.md#upgrading-to-700) for migration.
|
|
51
67
|
- Changed V2 to V1 fallback to be configurable.
|
52
68
|
- Fixed bug in sorting query parameters.
|
53
69
|
|
54
|
-
##
|
70
|
+
## 5.1.0
|
55
71
|
- Fall back to V1 when V2 authentication fails.
|
56
72
|
|
57
|
-
##
|
73
|
+
## 5.0.2
|
58
74
|
- Fix to not raise FrozenError when string to sign contains frozen value.
|
59
75
|
|
60
|
-
##
|
76
|
+
## 5.0.1
|
61
77
|
- Update euresource escaping of query string.
|
62
78
|
|
63
|
-
##
|
79
|
+
## 5.0.0
|
64
80
|
- Add support for MWSV2 protocol.
|
65
81
|
- Change request signing to sign with both V1 and V2 protocols by default.
|
66
82
|
- Update log message for authentication request to include protocol version used.
|
67
83
|
- Added `benchmark` rake task to benchmark request signing and authentication.
|
68
84
|
|
69
|
-
##
|
85
|
+
## 4.1.1
|
70
86
|
- Use warning level instead of error level for logs about missing mauth header.
|
71
87
|
|
72
|
-
##
|
88
|
+
## 4.1.0
|
73
89
|
- Drop support for Ruby < 2.3.0
|
74
90
|
- Update development dependencies
|
75
91
|
|
76
|
-
##
|
92
|
+
## 4.0.4
|
77
93
|
- Restore original behavior in the proxy of forwarding of headers that begin with HTTP_ (except for HTTP_HOST) but removing the HTTP_.
|
78
94
|
|
79
|
-
##
|
95
|
+
## 4.0.3
|
80
96
|
- Updated signature to decode number sign (#) in requests
|
81
97
|
|
82
|
-
##
|
98
|
+
## 4.0.2
|
83
99
|
- Store the config data to not load the config file multiple times
|
84
100
|
|
85
|
-
##
|
101
|
+
## 4.0.1
|
86
102
|
- Open source and publish this gem on rubygems.org, no functionality changes
|
87
103
|
|
88
|
-
##
|
104
|
+
## 4.0.0
|
89
105
|
- *yanked*
|
90
106
|
|
91
|
-
##
|
107
|
+
## 3.1.4
|
92
108
|
- Use String#bytesize method instead of Rack::Utils' one, which was removed in Rack 2.0
|
93
109
|
|
94
|
-
##
|
110
|
+
## 3.1.3
|
95
111
|
- Increased the default timeout when fetching keys from MAuth from 1 second to 10 seconds
|
96
112
|
- Properly honor faraday_options: timeout in mauth.yml for faraday < 0.9
|
97
113
|
|
98
|
-
##
|
114
|
+
## 3.1.2
|
99
115
|
- Fixed bug in Faraday call, not to raise exception when adding authenticate information to response.
|
100
116
|
|
101
|
-
##
|
117
|
+
## 3.1.1
|
102
118
|
- Properly require version file. Solves exception with the Faraday middleware.
|
103
119
|
|
104
|
-
##
|
120
|
+
## 3.1.0
|
105
121
|
- Updated `mauth.rb.dice` template to use `MAuth::Client.default_config` method and store the config in `MAUTH_CONF` constant
|
106
122
|
|
107
|
-
##
|
123
|
+
## 3.0.2
|
108
124
|
- Always pass a private key to the `ensure_is_private_key` method
|
109
125
|
|
110
|
-
##
|
126
|
+
## 3.0.1
|
111
127
|
- Use `ensure_is_private_key` in the `mauth_key` template
|
112
128
|
|
113
|
-
##
|
129
|
+
## 3.0.0
|
114
130
|
- Drop support for ruby 1.x
|
115
131
|
|
116
|
-
##
|
132
|
+
## 2.9.0
|
117
133
|
- Add a dice template for mauth initializer
|
118
134
|
|
119
135
|
## 2-8-stable
|
120
136
|
- Added an ssl_certs_path option to support JRuby applications
|
121
137
|
- Updated dice templates to ensure `rake config` raises an error in production env if required variables are missing.
|
122
138
|
|
123
|
-
##
|
139
|
+
## 2.7.2
|
124
140
|
- Added logging of mauth app_uuid of requester and requestee on each request
|
125
141
|
|
126
|
-
##
|
142
|
+
## 2.7.0
|
127
143
|
- Ability to pass custom headers into mauth-client and mauth-proxy
|
128
144
|
- Upgraded to use newest version of Faraday Middleware
|
129
145
|
- Faraday_options now only get merged to the request (previously got merged into everything)
|
130
146
|
- Syntax highlighting in hale+json output
|
131
147
|
|
132
|
-
##
|
148
|
+
## 2.6.4
|
133
149
|
- Less restrictive rack versioning to allow for more consumers.
|
134
150
|
- Allow verification even if intermediate web servers unescape URLs.
|
135
151
|
|
136
|
-
##
|
152
|
+
## 2.6.3
|
137
153
|
- Fixed bug where nil Rails.logger prevented a logger from being built.
|
138
154
|
|
139
|
-
##
|
155
|
+
## 2.6.2
|
140
156
|
- Added templates for dice_bag, now rake config:generate_all will create mauth config files when you include this gem.
|
141
157
|
|
142
|
-
##
|
158
|
+
## 2.6.1
|
143
159
|
- Imported documentation from Medinet into the project's doc directory
|
144
160
|
- Add Shamus
|
145
161
|
|
146
|
-
##
|
162
|
+
## 2.6.0
|
147
163
|
- CLI option --no-ssl-verify disables SSL verification
|
148
164
|
- Syntax highlighting with CodeRay colorizes request and response bodies of recognized media types
|
149
165
|
- MAuth::Proxy class now lives in lib, in mauth/proxy, and may be used as a rack application
|
150
166
|
- mauth-proxy executable recognizes --no-authenticate option for responses
|
151
167
|
- MAuth::Proxy bugfix usage of REQUEST_URI; use Rack::Request#fullpath instead
|
152
168
|
|
153
|
-
##
|
169
|
+
## 2.5.0
|
154
170
|
- MAuth::Rack::RequestAuthenticator middleware responds with json (instead of text/plain) for inauthentic requests and requests which it is unable to authenticate
|
155
171
|
- Added MAuth::Client.default_config method
|
156
172
|
- Added mauth-proxy executable
|
@@ -158,7 +174,7 @@ See [UPGRADE_GUIDE.md](UPGRADE_GUIDE.md#upgrading-to-700) for migration.
|
|
158
174
|
- Rack middleware correctly handles Content-Length with HEAD requests
|
159
175
|
- MAuth::Client raises MAuth::Client::ConfigurationError instead of ArgumentError or RuntimeError as appropriate
|
160
176
|
|
161
|
-
##
|
177
|
+
## 2.4.0
|
162
178
|
- Colorized output from the mauth-client CLI
|
163
179
|
- Add --content-type option to CLI
|
164
180
|
- CLI rescues and prints MAuth errors instead of them bubbling up to the interpreter
|
@@ -166,7 +182,7 @@ See [UPGRADE_GUIDE.md](UPGRADE_GUIDE.md#upgrading-to-700) for migration.
|
|
166
182
|
- Fix default null logger on windows where /dev/null is not available
|
167
183
|
- Improve error logging
|
168
184
|
|
169
|
-
##
|
185
|
+
## 2.3.0
|
170
186
|
- When authentication headers are missing, the previous message ("No x-mws-time present") is replaced by the somewhat more informative "Authentication Failed. No mAuth signature present; X-MWS-Authentication header is blank."
|
171
187
|
- More informative help messages from mauth-client CLI
|
172
188
|
- CLI sets a user-agent
|
@@ -174,7 +190,7 @@ See [UPGRADE_GUIDE.md](UPGRADE_GUIDE.md#upgrading-to-700) for migration.
|
|
174
190
|
- Middleware MAuth::Rack::RequestAuthenticationFaker for testing
|
175
191
|
- More and better specs
|
176
192
|
|
177
|
-
##
|
193
|
+
## 2.2.0
|
178
194
|
- Fixes an issue where requests which have a body and are not PUT or POST were not being correctly signed in rack middleware
|
179
195
|
- Improves the CLI, adding command-line options --[no-]authenticate to decide whether to authenticate responses, and --[no-]verbose to decide whether to dump the entire request and response, or just the response body. and --help to
|
180
196
|
Remind you.
|
@@ -184,10 +200,10 @@ See [UPGRADE_GUIDE.md](UPGRADE_GUIDE.md#upgrading-to-700) for migration.
|
|
184
200
|
- Drops backports dependency (Ben has found some issues with this gem, and it was easier to drop the depedency entirely than figure out whether these issues affected mauth-client and if it could be fixed)
|
185
201
|
- Fix issue with remote authentication against the currently-deployed mauth service with a request signed by a nonexistent app_uuid
|
186
202
|
|
187
|
-
##
|
203
|
+
## 2.1.1
|
188
204
|
- Fix an issue in a case where the rack.input is not rewound before mauth-client attempts to read it
|
189
205
|
|
190
|
-
##
|
206
|
+
## 2.1.0
|
191
207
|
- MAuth::Client handles the :private_key_file, so you can remove from your application the bit that does that - this bit can be deleted:
|
192
208
|
```
|
193
209
|
if mauth_conf['private_key_file']
|
@@ -197,5 +213,5 @@ end
|
|
197
213
|
|
198
214
|
- Autoloads are in place so that once you require 'mauth/client', you should not need to require mauth/rack, mauth/faraday, or mauth/request_and_response.
|
199
215
|
|
200
|
-
##
|
216
|
+
## 2.0.0
|
201
217
|
- Rewrite combining the mauth_signer and rack-mauth gems
|
data/README.md
CHANGED
@@ -1,5 +1,4 @@
|
|
1
1
|
# MAuth-Client
|
2
|
-
[](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/client.rb
CHANGED
@@ -97,9 +97,7 @@ module MAuth
|
|
97
97
|
Rails.logger
|
98
98
|
else
|
99
99
|
require 'logger'
|
100
|
-
|
101
|
-
null_device = is_win ? 'NUL' : '/dev/null'
|
102
|
-
::Logger.new(File.open(null_device, File::WRONLY))
|
100
|
+
::Logger.new(File.open(File::NULL, File::WRONLY))
|
103
101
|
end
|
104
102
|
end
|
105
103
|
|
@@ -183,7 +181,7 @@ module MAuth
|
|
183
181
|
|
184
182
|
# Changes all keys in the top level of the hash to symbols. Does not affect nested hashes inside this one.
|
185
183
|
def symbolize_keys(hash)
|
186
|
-
hash.keys.each do |key|
|
184
|
+
hash.keys.each do |key|
|
187
185
|
hash[(key.to_sym rescue key) || key] = hash.delete(key)
|
188
186
|
end
|
189
187
|
hash
|
data/lib/mauth/version.rb
CHANGED
data/mauth-client.gemspec
CHANGED
@@ -22,6 +22,7 @@ Gem::Specification.new do |spec|
|
|
22
22
|
spec.require_paths = ['lib']
|
23
23
|
|
24
24
|
spec.add_dependency 'addressable', '~> 2.0'
|
25
|
+
spec.add_dependency 'base64', '~> 0.2'
|
25
26
|
spec.add_dependency 'coderay', '~> 1.0'
|
26
27
|
spec.add_dependency 'faraday', '>= 1.9', '< 3.0'
|
27
28
|
spec.add_dependency 'faraday-http-cache', '>= 2.0', '< 3.0'
|
metadata
CHANGED
@@ -1,17 +1,16 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mauth-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 7.
|
4
|
+
version: 7.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matthew Szenher
|
8
8
|
- Aaron Suggs
|
9
9
|
- Geoffrey Ducharme
|
10
10
|
- Ethan
|
11
|
-
autorequire:
|
12
11
|
bindir: exe
|
13
12
|
cert_chain: []
|
14
|
-
date:
|
13
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
15
14
|
dependencies:
|
16
15
|
- !ruby/object:Gem::Dependency
|
17
16
|
name: addressable
|
@@ -27,6 +26,20 @@ dependencies:
|
|
27
26
|
- - "~>"
|
28
27
|
- !ruby/object:Gem::Version
|
29
28
|
version: '2.0'
|
29
|
+
- !ruby/object:Gem::Dependency
|
30
|
+
name: base64
|
31
|
+
requirement: !ruby/object:Gem::Requirement
|
32
|
+
requirements:
|
33
|
+
- - "~>"
|
34
|
+
- !ruby/object:Gem::Version
|
35
|
+
version: '0.2'
|
36
|
+
type: :runtime
|
37
|
+
prerelease: false
|
38
|
+
version_requirements: !ruby/object:Gem::Requirement
|
39
|
+
requirements:
|
40
|
+
- - "~>"
|
41
|
+
- !ruby/object:Gem::Version
|
42
|
+
version: '0.2'
|
30
43
|
- !ruby/object:Gem::Dependency
|
31
44
|
name: coderay
|
32
45
|
requirement: !ruby/object:Gem::Requirement
|
@@ -162,12 +175,18 @@ executables:
|
|
162
175
|
extensions: []
|
163
176
|
extra_rdoc_files: []
|
164
177
|
files:
|
178
|
+
- ".github/PULL_REQUEST_TEMPLATE.md"
|
179
|
+
- ".github/dependabot.yml"
|
180
|
+
- ".github/workflows/ci.yml"
|
181
|
+
- ".github/workflows/fossa.yml"
|
182
|
+
- ".github/workflows/publish.yml"
|
183
|
+
- ".github/workflows/release-please.yml"
|
165
184
|
- ".gitignore"
|
166
185
|
- ".gitmodules"
|
186
|
+
- ".release-please-manifest.json"
|
167
187
|
- ".rspec"
|
168
188
|
- ".rubocop.yml"
|
169
189
|
- ".ruby-version"
|
170
|
-
- ".travis.yml"
|
171
190
|
- ".yardopts"
|
172
191
|
- Appraisals
|
173
192
|
- CHANGELOG.md
|
@@ -208,11 +227,11 @@ files:
|
|
208
227
|
- lib/mauth/version.rb
|
209
228
|
- lib/rack/mauth.rb
|
210
229
|
- mauth-client.gemspec
|
230
|
+
- release-please-config.json
|
211
231
|
homepage: https://github.com/mdsol/mauth-client-ruby
|
212
232
|
licenses:
|
213
233
|
- MIT
|
214
234
|
metadata: {}
|
215
|
-
post_install_message:
|
216
235
|
rdoc_options: []
|
217
236
|
require_paths:
|
218
237
|
- lib
|
@@ -227,8 +246,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
227
246
|
- !ruby/object:Gem::Version
|
228
247
|
version: '0'
|
229
248
|
requirements: []
|
230
|
-
rubygems_version: 3.
|
231
|
-
signing_key:
|
249
|
+
rubygems_version: 3.6.9
|
232
250
|
specification_version: 4
|
233
251
|
summary: Sign and authenticate requests and responses with mAuth authentication.
|
234
252
|
test_files: []
|
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
|