Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit c44f0fc

Browse files
committed
🔧 prepare gemspec
1 parent 70c8b0d commit c44f0fc

File tree

1 file changed

+36
-38
lines changed

1 file changed

+36
-38
lines changed

‎oauth.gemspec‎

Lines changed: 36 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -18,45 +18,12 @@ Gem::Specification.new do |spec|
1818
spec.authors = ["Pelle Braendgaard", "Blaine Cook", "Larry Halff", "Jesse Clark", "Jon Crosby", "Seth Fitzsimmons", "Matt Sanford", "Aaron Quint", "Peter Boling"]
1919
spec.email = ["floss@galtzo.com", "oauth-ruby@googlegroups.com"]
2020

21+
2122
spec.summary = "🔑 OAuth 1.0 / 1.0a Core Ruby implementation"
2223
spec.description = "🔑 A Ruby wrapper for the original OAuth 1.0 / 1.0a spec."
2324
spec.homepage = "https://github.com/ruby-oauth/oauth"
2425
spec.licenses = ["MIT"]
2526
spec.required_ruby_version = ">= 2.3"
26-
spec.post_install_message = "
27-
You have installed oauth version #{gem_version}, congratulations!
28-
29-
Please see:
30-
#{spec.homepage}/-/blob/main/SECURITY.md
31-
#{spec.homepage}/-/blob/v#{spec.version}/CHANGELOG.md#111-2022年09月19日
32-
33-
Major updates:
34-
1. master branch renamed to main
35-
• Update your local: git checkout master; git branch -m master main; git branch --unset-upstream; git branch -u origin/main
36-
2. Github has been replaced with Gitlab; I wrote about some of the reasons here:
37-
• https://dev.to/galtzo/im-leaving-github-50ba
38-
• Update your local: git remote set-url origin git@gitlab.com:ruby-oauth/oauth.git
39-
3. Google Group is active (again)!
40-
• https://groups.google.com/g/oauth-ruby/c/QA_dtrXWXaE
41-
4. Gitter Chat is active (still)!
42-
• https://gitter.im/oauth-xx/
43-
5. Non-commercial support for the 1.x series will end by April, 2025. Please make a plan to upgrade to the next version prior to that date.
44-
Support will be dropped for Ruby 2.7 and any other Ruby versions which will also have reached EOL by then.
45-
6. Gem releases are now cryptographically signed for security.
46-
47-
If you are a human, please consider a donation as I move toward supporting myself with Open Source work:
48-
• https://liberapay.com/pboling
49-
• https://ko-fi.com/pboling
50-
• https://patreon.com/galtzo
51-
52-
If you are a corporation, please consider supporting this project, and open source work generally, with a TideLift subscription.
53-
• https://tidelift.com/funding/github/rubygems/oauth
54-
• Or hire me. I am looking for a job!
55-
56-
Please report issues, and support the project!
57-
58-
Thanks, |7eter l-|. l3oling
59-
"
6027

6128
# Linux distros often package gems and securely certify them independent
6229
# of the official RubyGem certification process. Allowed via ENV["SKIP_GEM_SIGNING"]
@@ -76,13 +43,44 @@ Thanks, |7eter l-|. l3oling
7643
end
7744
end
7845

46+
gl_homepage = "https://gitlab.com/ruby-oauth/#{spec.name}"
47+
gh_mirror = spec.homepage
48+
49+
spec.post_install_message = %{
50+
---+++--- oauth2 v#{gem_version} ---+++---
51+
52+
(minor) ⚠️ BREAKING CHANGES ⚠️ when upgrading from < v2
53+
• Summary of breaking changes: #{gl_homepage}#what-is-new-for-v20
54+
• Changes in this patch: #{gl_homepage}/-/blob/v#{gem_version}/CHANGELOG.md#2015-2025年09月08日
55+
56+
News:
57+
1. New documentation website, covering usage with OAuth 1.0 and 1.0a: https://oauth.galtzo.com
58+
2. New official Discord for discussion and support: https://discord.gg/3qme4XHNKN
59+
3. New org name "ruby-oauth" on Open Source Collective, GitHub, GitLab, Codeberg (update git remotes!)
60+
4. Non-commercial support for the 2.x series will end by April, 2026. Please make a plan to upgrade to the next version prior to that date.
61+
Support will be dropped for Ruby 2.2, 2.3, 2.4, 2.5, 2.6, 2.7, 3.0, 3.1 and any other Ruby versions which will also have reached EOL by then.
62+
5. Gem releases are cryptographically signed with a 20-year cert; SHA-256 & SHA-512 checksums by stone_checksums.
63+
6. Please consider supporting this project:
64+
• https://opencollective.com/ruby-oauth (new!)
65+
• https://liberapay.com/pboling
66+
• https://github.com/sponsors/pboling
67+
• https://www.paypal.com/paypalme/peterboling
68+
• https://ko-fi.com/pboling
69+
• https://www.buymeacoffee.com/pboling
70+
• https://tidelift.com/funding/github/rubygems/oauth
71+
• Hire me - I can build anything
72+
• Report issues, and star the project
73+
Thanks, @pboling / @galtzo
74+
}
75+
7976
spec.metadata["homepage_uri"] = "https://#{spec.name.tr("_", "-")}.galtzo.com/"
80-
spec.metadata["source_code_uri"] = "#{spec.homepage}/tree/v#{spec.version}"
81-
spec.metadata["changelog_uri"] = "#{spec.homepage}/blob/v#{spec.version}/CHANGELOG.md"
82-
spec.metadata["bug_tracker_uri"] = "#{spec.homepage}/issues"
77+
spec.metadata["source_code_uri"] = "#{gh_mirror}/tree/v#{spec.version}"
78+
spec.metadata["changelog_uri"] = "#{gh_mirror}/blob/v#{spec.version}/CHANGELOG.md"
79+
spec.metadata["bug_tracker_uri"] = "#{gh_mirror}/issues"
8380
spec.metadata["documentation_uri"] = "https://www.rubydoc.info/gems/#{spec.name}/#{spec.version}"
81+
spec.metadata["mailing_list_uri"] = "https://groups.google.com/g/oauth-ruby"
8482
spec.metadata["funding_uri"] = "https://github.com/sponsors/pboling"
85-
spec.metadata["wiki_uri"] = "#{spec.homepage}/wiki"
83+
spec.metadata["wiki_uri"] = "#{gl_homepage}/-/wiki"
8684
spec.metadata["news_uri"] = "https://www.railsbling.com/tags/#{spec.name}"
8785
spec.metadata["discord_uri"] = "https://discord.gg/3qme4XHNKN"
8886
spec.metadata["rubygems_mfa_required"] = "true"

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /