@@ -80,10 +80,11 @@ Thanks, |7eter l-|. l3oling
80
80
spec . metadata [ "changelog_uri" ] = "#{ gl_homepage } /-/blob/v#{ spec . version } /CHANGELOG.md"
81
81
spec . metadata [ "bug_tracker_uri" ] = "#{ gl_homepage } /-/issues"
82
82
spec . metadata [ "documentation_uri" ] = "https://www.rubydoc.info/gems/#{ spec . name } /#{ spec . version } "
83
- spec . metadata [ "wiki_uri" ] = "#{ gl_homepage } /-/wiki"
84
83
spec . metadata [ "mailing_list_uri" ] = "https://groups.google.com/g/oauth-ruby"
85
84
spec . metadata [ "funding_uri" ] = "https://github.com/sponsors/pboling"
85
+ spec . metadata [ "wiki_uri" ] = "#{ gl_homepage } /-/wiki"
86
86
spec . metadata [ "news_uri" ] = "https://www.railsbling.com/tags/#{ spec . name } "
87
+ spec . metadata [ "discord_uri" ] = "https://discord.gg/3qme4XHNKN"
87
88
spec . metadata [ "rubygems_mfa_required" ] = "true"
88
89
89
90
# Specify which files should be added to the gem when it is released.
@@ -127,6 +128,20 @@ Thanks, |7eter l-|. l3oling
127
128
spec . add_dependency ( "snaky_hash" , "~> 2.0" , ">= 2.0.3" ) # Ruby >= 2.2
128
129
spec . add_dependency ( "version_gem" , ">= 1.1.8" , "< 3" ) # Ruby >= 2.2
129
130
131
+ # NOTE: It is preferable to list development dependencies in the gemspec due to increased
132
+ # visibility and discoverability on RubyGems.org.
133
+ # However, development dependencies in gemspec will install on
134
+ # all versions of Ruby that will run in CI.
135
+ # This gem, and its runtime dependencies, will install on Ruby down to 2.2.
136
+ # This gem, and its development dependencies, will install on Ruby down to 2.3.
137
+ # This is because in CI easy installation of Ruby, via setup-ruby, is for >= 2.3.
138
+ # Thus, dev dependencies in gemspec must have
139
+ #
140
+ # required_ruby_version ">= 2.3" (or lower)
141
+ #
142
+ # Development dependencies that require strictly newer Ruby versions should be in a "gemfile",
143
+ # and preferably a modular one (see gemfiles/modular/*.gemfile).
144
+
130
145
spec . add_development_dependency ( "addressable" , "~> 2.8" , ">= 2.8.7" ) # ruby >= 2.2
131
146
spec . add_development_dependency ( "appraisal2" , "~> 3.0" ) # ruby >= 1.8.7
132
147
spec . add_development_dependency ( "backports" , "~> 3.25" , ">= 3.25.1" ) # ruby >= 0
0 commit comments