omniauth-identity 3.1.0 → 3.1.1

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: c1fef55868658b676a13cae194b98acdc6291e95d1ea0cd0aff002c6e4aa0879
4
- data.tar.gz: 74b6a02f15f381225dfa00c72693f862297aacb06195b6bb9e14365cc855377c
3
+ metadata.gz: e2a7eb266545d5ae300646af12c8557a414f49872f05850793ebd1c7b2cc17ca
4
+ data.tar.gz: 44b4dabec7425f586b1e9b731ea5a14b08902f7c782a360a3bb3ff9c829fa041
5
5
  SHA512:
6
- metadata.gz: ac2fbae9d13daf604eb9faa346456e27f1498b71452a8623376e54069a56f2c86d4e0441cb9d23ec0e9c9479baf51603212b52f6a899f4ef25076a39264fca3a
7
- data.tar.gz: 9e4b925767c8d41354843471122ffd21d8ba2a794a45c185c214cdee797a5e75f74b76b2df02c8f86d3685d6ca8d90236253421e8b112aa7b77245472b1c63cd
6
+ metadata.gz: ba1eafc9b744438b11dc71db4c8b8e8ec731568413f8dc461fa08df0956903015976669e66ce0402b064259a675db06f325548a54c86a3197f77bee4d1b4d438
7
+ data.tar.gz: 73e8367e8cb0fe207214cc8fbca53bbe800a76d4770ac0ef4f6b650eab2c2534ea28eb7371efa7537160c89a21d3812c37e6c4c39d4dce91caa826a87cb4518f
checksums.yaml.gz.sig CHANGED
Binary file
data/CHANGELOG.md CHANGED
@@ -11,6 +11,18 @@ and this project adheres to [Semantic Versioning v2](https://semver.org/spec/v2.
11
11
  ### Fixed
12
12
  ### Removed
13
13
 
14
+ ## [3.1.1] - 2024-11-18 ([tag][3.1.1t])
15
+ - COVERAGE: 92.00% -- 345/375 lines in 15 files
16
+ - BRANCH COVERAGE: 80.26% -- 61/76 branches in 15 files
17
+ - 44.44% documented
18
+ ### Added
19
+ - [PR 130][130] Add SECURITY.md policy by @pboling
20
+ - [PR 130][130] Add Maintainer contact email by @pboling
21
+ ### Changed
22
+ - [PR 130][130] Require MFA to publish to RubyGems.org by @pboling
23
+
24
+ [130]: https://github.com/omniauth/omniauth-identity/pull/130
25
+
14
26
  ## [3.1.0] - 2024-11-18 ([tag][3.1.0t])
15
27
  - COVERAGE: 91.98% -- 344/374 lines in 15 files
16
28
  - BRANCH COVERAGE: 80.26% -- 61/76 branches in 15 files
@@ -150,7 +162,9 @@ and this project adheres to [Semantic Versioning v2](https://semver.org/spec/v2.
150
162
  - Gemfile.lock file
151
163
  - MongoMapper support; unable to satisfy dependencies of both MongoMapper and Mongoid now that MongoMapper is no longer actively maintained.
152
164
 
153
- [Unreleased]: https://github.com/omniauth/omniauth-identity/compare/v3.1.0...HEAD
165
+ [Unreleased]: https://github.com/omniauth/omniauth-identity/compare/v3.1.1...HEAD
166
+ [3.1.1]: https://github.com/omniauth/omniauth-identity/compare/v3.1.0...v3.1.1
167
+ [3.1.1t]: https://github.com/omniauth/omniauth-identity/tags/v3.1.1
154
168
  [3.1.0]: https://github.com/omniauth/omniauth-identity/compare/v3.0.9...v3.1.0
155
169
  [3.1.0t]: https://github.com/omniauth/omniauth-identity/tags/v3.1.0
156
170
  [3.0.9]: https://github.com/omniauth/omniauth-identity/compare/v3.0.8...v3.0.9
data/CONTRIBUTING.md ADDED
@@ -0,0 +1,164 @@
1
+ # Contributing
2
+
3
+ Bug reports and pull requests are welcome on GitHub at [https://github.com/omniauth/omniauth-identity][🚎src-main]
4
+ . This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to
5
+ the [code of conduct][🤝conduct].
6
+
7
+ To submit a patch, please fork the project and create a patch with tests.
8
+ Once you're happy with it send a pull request.
9
+
10
+ ## You can help!
11
+
12
+ Take a look at the `reek` list which is the file called `REEK` and find something to improve.
13
+
14
+ Simply follow these instructions:
15
+
16
+ 1. Fork the repository
17
+ 2. Create your feature branch (`git checkout -b my-new-feature`)
18
+ 3. Make some fixes.
19
+ 4. Commit your changes (`git commit -am 'Added some feature'`)
20
+ 5. Push to the branch (`git push origin my-new-feature`)
21
+ 6. Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
22
+ 7. Create new Pull Request.
23
+
24
+ ## Contributors
25
+
26
+ Your picture could be here!
27
+
28
+ [![Contributors][🖐contributors-img]][🖐contributors]
29
+
30
+ Made with [contributors-img][🖐contrib-rocks].
31
+
32
+ ## The Reek List
33
+
34
+ To refresh the `reek` list:
35
+
36
+ ```bash
37
+ bundle exec reek > REEK
38
+ ```
39
+
40
+ ## Appraisal & Combustion
41
+
42
+ ### Generate a new set of Appraisal gemfiles:
43
+
44
+ ```bash
45
+ BUNDLE_GEMFILE=Appraisal.root.gemfile appraisal update
46
+ ```
47
+
48
+ ## Run Tests
49
+
50
+ NOTE: In order to run *all* the tests you will need to have the following databases installed, configured, and running.
51
+
52
+ 1. [RethinkDB](https://rethinkdb.com), an open source, real-time, web database, [installed](https://rethinkdb.com/docs/install/) and [running](https://rethinkdb.com/docs/start-a-server/), e.g.
53
+ ```bash
54
+ brew install rethinkdb
55
+ rethinkdb
56
+ ```
57
+ 2. [MongoDB](https://docs.mongodb.com/manual/administration/install-community/)
58
+ ```bash
59
+ brew tap mongodb/brew
60
+ brew install mongodb-community@4.4
61
+ mongod --config /usr/local/etc/mongod.conf
62
+ ```
63
+ 3. [CouchDB](https://couchdb.apache.org) - download the .app, or:
64
+ ```bash
65
+ brew install couchdb
66
+ ```
67
+ CouchDB 3.x requires a set admin password set before startup.
68
+ Add one to your `$HOMEBREW_PREFIX/etc/local.ini` before starting CouchDB e.g.:
69
+ ```ini
70
+ [admins]
71
+ admin = yourabsolutesecret
72
+ ```
73
+ Also add whatever password you set to your `.env.local`:
74
+ ```dotenv
75
+ export COUCHDB_PASSWORD=yourabsolutesecret
76
+ ```
77
+ Then start the CouchDB service
78
+ ```bash
79
+ brew services start couchdb
80
+ ```
81
+
82
+ Now you can run any of the tests!
83
+
84
+ To run all tests on all databases (except RethinkDB):
85
+ ```bash
86
+ bundle exec rake spec:orm:all
87
+ ```
88
+
89
+ To run all tests that do not require any additional services, like MongoDB, CouchDB, or RethinkDB:
90
+ ```bash
91
+ bundle exec rake test
92
+ ```
93
+
94
+ To run a specific DB:
95
+ ```bash
96
+ # CouchDB / CouchPotato
97
+ bundle exec rspec spec spec_orms --tag 'couchdb'
98
+
99
+ # ActiveRecord and Sequel, as they both use the in-memory SQLite driver.
100
+ bundle exec rspec spec spec_orms --tag 'sqlite3'
101
+
102
+ # NOTE - mongoid and nobrainer specs can't be isolated with "tag" because it still loads everything,
103
+ # and the two libraries are fundamentally incompatible.
104
+
105
+ # MongoDB / Mongoid
106
+ bundle exec rspec spec_orms/mongoid_spec.rb
107
+
108
+ # RethinkDB / NoBrainer (Ignored by CI! see spec file for reasons)
109
+ bundle exec rspec spec_ignored/nobrainer_spec.rb
110
+ ```
111
+
112
+ ## Lint It
113
+
114
+ Run all the default tasks, which includes running the gradually autocorrecting linter, `rubocop-gradual`.
115
+
116
+ ```bash
117
+ bundle exec rake
118
+ ```
119
+
120
+ Or just run the linter.
121
+ ```bash
122
+ bundle exec rubocop_gradual:autocorrect
123
+ ```
124
+
125
+ ## Release
126
+
127
+ ### One-time, Per-maintainer, Setup
128
+
129
+ **IMPORTANT**: Your public key for signing gems will need to be picked up by the line in the
130
+ `gemspec` defining the `spec.cert_chain` (check the relevant ENV variables there),
131
+ in order to sign the new release.
132
+ See: [RubyGems Security Guide][🔒️rubygems-security-guide]
133
+
134
+ ### To release a new version:
135
+
136
+ 1. Run `bin/setup && bin/rake` as a tests, coverage, & linting sanity check
137
+ 2. Update the version number in `version.rb`
138
+ 3. Run `bin/setup && bin/rake` again as a secondary check, and to update `Gemfile.lock`
139
+ 4. Run `git commit -am "🔖 Prepare release v<VERSION>"` to commit the changes
140
+ 5. Run `git push` to trigger the final CI pipeline before release, & merge PRs
141
+ - NOTE: Remember to [check the build][🧪build]!
142
+ 6. Run `export GIT_TRUNK_BRANCH_NAME="$(git remote show origin | grep 'HEAD branch' | cut -d ' ' -f5)" && echo $GIT_TRUNK_BRANCH_NAME`
143
+ 7. Run `git checkout $GIT_TRUNK_BRANCH_NAME`
144
+ 8. Run `git pull origin $GIT_TRUNK_BRANCH_NAME` to ensure you will release the latest trunk code
145
+ 9. Set `SOURCE_DATE_EPOCH` so `rake build` and `rake release` use same timestamp, and generate same checksums
146
+ - Run `export SOURCE_DATE_EPOCH=$EPOCHSECONDS && echo $SOURCE_DATE_EPOCH`
147
+ - If the echo above has no output, then it didn't work.
148
+ - Note that you'll need the `zsh/datetime` module, if running `zsh`.
149
+ - In `bash` you can use `date +%s` instead, i.e. `export SOURCE_DATE_EPOCH=$(date +%s) && echo $SOURCE_DATE_EPOCH`
150
+ 10. Run `bundle exec rake build`
151
+ 11. Run `bin/checksums` (more [context][🔒️rubygems-checksums-pr]) to create SHA-256 and SHA-512 checksums
152
+ - Checksums will be committed automatically by the script, but not pushed
153
+ 12. Run `bundle exec rake release` which will create a git tag for the version,
154
+ push git commits and tags, and push the `.gem` file to [rubygems.org][💎rubygems]
155
+
156
+ [🧪build]: https://github.com/omniauth/omniauth-identity/actions
157
+ [🤝conduct]: https://github.com/omniauth/omniauth-identity/blob/main/CODE_OF_CONDUCT.md
158
+ [🖐contrib-rocks]: https://contrib.rocks
159
+ [🖐contributors]: https://github.com/omniauth/omniauth-identity/graphs/contributors
160
+ [🖐contributors-img]: https://contrib.rocks/image?repo=omniauth/omniauth-identity
161
+ [💎rubygems]: https://rubygems.org
162
+ [🔒️rubygems-security-guide]: https://guides.rubygems.org/security/#building-gems
163
+ [🔒️rubygems-checksums-pr]: https://github.com/rubygems/guides/pull/325
164
+ [🚎src-main]: https://github.com/omniauth/omniauth-identity
@@ -1,3 +1,5 @@
1
+ MIT License
2
+
1
3
  Copyright (c) 2021, 2024 Peter H. Boling, and OmniAuth-Identity Maintainers
2
4
  Copyright (c) 2020 Peter H. Boling, Andrew Roberts, and Jellybooks Ltd.
3
5
  Copyright (c) 2010-2015 Michael Bleigh, and Intridea, Inc.
data/SECURITY.md ADDED
@@ -0,0 +1,23 @@
1
+ # Security Policy
2
+
3
+ ## Supported Versions
4
+
5
+ | Version | Supported |
6
+ |---------|-----------|
7
+ | 3.1.x | ✅ |
8
+ | 3.0.x | ❌ |
9
+ | 2.x | ❌ |
10
+ | 1.x | ❌ |
11
+ | 0.x | ❌ |
12
+
13
+ ## Reporting a Vulnerability
14
+
15
+ Peter Boling is the primary maintainer of this gem. Please find a way
16
+ to [contact him directly](https://railsbling.com/contact) to report the issue. Include as much relevant information as
17
+ possible.
18
+
19
+ If you are interested in support for versions older than the latest release,
20
+ please consider sponsoring the project / maintainer @ https://liberapay.com/pboling/donate,
21
+ or find other sponsorship links in the [README].
22
+
23
+ [README]: README.md
@@ -3,7 +3,7 @@
3
3
  module OmniAuth
4
4
  module Identity
5
5
  module Version
6
- VERSION = "3.1.0"
6
+ VERSION = "3.1.1"
7
7
  end
8
8
  end
9
9
  end
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-identity
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.0
4
+ version: 3.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Boling
@@ -214,14 +214,17 @@ dependencies:
214
214
  version: '1'
215
215
  description: Traditional username/password based authentication system for OmniAuth
216
216
  email:
217
+ - peter.boling@gmail.com
217
218
  executables: []
218
219
  extensions: []
219
220
  extra_rdoc_files: []
220
221
  files:
221
222
  - CHANGELOG.md
222
223
  - CODE_OF_CONDUCT.md
223
- - LICENSE
224
+ - CONTRIBUTING.md
225
+ - LICENSE.txt
224
226
  - README.md
227
+ - SECURITY.md
225
228
  - lib/omniauth-identity.rb
226
229
  - lib/omniauth/identity.rb
227
230
  - lib/omniauth/identity/model.rb
@@ -236,7 +239,15 @@ files:
236
239
  homepage: https://github.com/omniauth/omniauth-identity
237
240
  licenses:
238
241
  - MIT
239
- metadata: {}
242
+ metadata:
243
+ homepage_uri: https://railsbling.com/tags/omniauth-identity/
244
+ source_code_uri: https://github.com/omniauth/omniauth-identity/tree/v3.1.1
245
+ changelog_uri: https://github.com/omniauth/omniauth-identity/blob/v3.1.1/CHANGELOG.md
246
+ bug_tracker_uri: https://github.com/omniauth/omniauth-identity/issues
247
+ documentation_uri: https://www.rubydoc.info/gems/omniauth-identity/3.1.1
248
+ wiki_uri: https://github.com/omniauth/omniauth-identity/wiki
249
+ funding_uri: https://liberapay.com/pboling
250
+ rubygems_mfa_required: 'true'
240
251
  post_install_message:
241
252
  rdoc_options: []
242
253
  require_paths:
metadata.gz.sig CHANGED
Binary file