kettle-jem 7.0.0 → 7.1.3
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
- checksums.yaml.gz.sig +0 -0
- data/CHANGELOG.md +1505 -0
- data/LICENSE.md +13 -0
- data/README.md +794 -0
- data/exe/kettle-jem +20 -0
- data/lib/kettle/jem/cli.rb +334 -0
- data/lib/kettle/jem/license_txt_migrator.rb +33 -0
- data/lib/kettle/jem/rakelib/install.rake +10 -0
- data/lib/kettle/jem/rakelib/prepare.rake +10 -0
- data/lib/kettle/jem/rakelib/selftest.rake +10 -0
- data/lib/kettle/jem/rakelib/template.rake +10 -0
- data/lib/kettle/jem/tasks/install_task.rb +2178 -0
- data/lib/kettle/jem/tasks/prepare_task.rb +274 -0
- data/lib/kettle/jem/tasks/self_test_task.rb +256 -0
- data/lib/kettle/jem/tasks/template_task.rb +124 -0
- data/lib/kettle/jem/tasks.rb +6 -0
- data/lib/kettle/jem/templates/.aiignore.example +19 -0
- data/lib/kettle/jem/templates/.config/mise/env.sh +26 -0
- data/lib/kettle/jem/templates/.devcontainer/apt-install/devcontainer-feature.json.example +9 -0
- data/lib/kettle/jem/templates/.devcontainer/apt-install/install.sh.example +19 -0
- data/lib/kettle/jem/templates/.devcontainer/devcontainer.json.example +27 -0
- data/lib/kettle/jem/templates/.devcontainer/scripts/setup-tree-sitter.sh.example +210 -0
- data/lib/kettle/jem/templates/.env.local.example +67 -0
- data/lib/kettle/jem/templates/.envrc.example +4 -0
- data/lib/kettle/jem/templates/.envrc.no-osc.example +4 -0
- data/lib/kettle/jem/templates/.gemrc.example +1 -0
- data/lib/kettle/jem/templates/.git-hooks/commit-msg.example +60 -0
- data/lib/kettle/jem/templates/.git-hooks/commit-subjects-goalie.txt.example +8 -0
- data/lib/kettle/jem/templates/.git-hooks/footer-template.erb.txt.example +16 -0
- data/lib/kettle/jem/templates/.git-hooks/prepare-commit-msg.example +9 -0
- data/lib/kettle/jem/templates/.github/.codecov.yml.example +14 -0
- data/lib/kettle/jem/templates/.github/FUNDING.yml.example +10 -0
- data/lib/kettle/jem/templates/.github/FUNDING.yml.no-osc.example +10 -0
- data/lib/kettle/jem/templates/.github/copilot_instructions.md.example +1 -0
- data/lib/kettle/jem/templates/.github/dependabot.yml.example +13 -0
- data/lib/kettle/jem/templates/.github/workflows/auto-assign.yml.example +21 -0
- data/lib/kettle/jem/templates/.github/workflows/coverage.yml.example +102 -0
- data/lib/kettle/jem/templates/.github/workflows/current.yml.example +86 -0
- data/lib/kettle/jem/templates/.github/workflows/dep-heads.yml.example +249 -0
- data/lib/kettle/jem/templates/.github/workflows/dependency-review.yml.example +22 -0
- data/lib/kettle/jem/templates/.github/workflows/discord-notifier.yml.example +39 -0
- data/lib/kettle/jem/templates/.github/workflows/framework-ci.yml.example +81 -0
- data/lib/kettle/jem/templates/.github/workflows/heads.yml.example +212 -0
- data/lib/kettle/jem/templates/.github/workflows/jruby-10.0.yml.example +91 -0
- data/lib/kettle/jem/templates/.github/workflows/jruby-9.1.yml.example +90 -0
- data/lib/kettle/jem/templates/.github/workflows/jruby-9.2.yml.example +95 -0
- data/lib/kettle/jem/templates/.github/workflows/jruby-9.3.yml.example +95 -0
- data/lib/kettle/jem/templates/.github/workflows/jruby-9.4.yml.example +95 -0
- data/lib/kettle/jem/templates/.github/workflows/jruby.yml.example +91 -0
- data/lib/kettle/jem/templates/.github/workflows/license-eye.yml.example +43 -0
- data/lib/kettle/jem/templates/.github/workflows/locked_deps.yml.example +89 -0
- data/lib/kettle/jem/templates/.github/workflows/opencollective.yml.example +44 -0
- data/lib/kettle/jem/templates/.github/workflows/ruby-2.3.yml.example +80 -0
- data/lib/kettle/jem/templates/.github/workflows/ruby-2.4.yml.example +84 -0
- data/lib/kettle/jem/templates/.github/workflows/ruby-2.5.yml.example +84 -0
- data/lib/kettle/jem/templates/.github/workflows/ruby-2.6.yml.example +84 -0
- data/lib/kettle/jem/templates/.github/workflows/ruby-2.7.yml.example +84 -0
- data/lib/kettle/jem/templates/.github/workflows/ruby-3.0.yml.example +85 -0
- data/lib/kettle/jem/templates/.github/workflows/ruby-3.1.yml.example +83 -0
- data/lib/kettle/jem/templates/.github/workflows/ruby-3.2.yml.example +80 -0
- data/lib/kettle/jem/templates/.github/workflows/ruby-3.3.yml.example +80 -0
- data/lib/kettle/jem/templates/.github/workflows/ruby-3.4.yml.example +80 -0
- data/lib/kettle/jem/templates/.github/workflows/style.yml.example +78 -0
- data/lib/kettle/jem/templates/.github/workflows/templating.yml.example +86 -0
- data/lib/kettle/jem/templates/.github/workflows/truffle.yml.example +91 -0
- data/lib/kettle/jem/templates/.github/workflows/truffleruby-22.3.yml.example +92 -0
- data/lib/kettle/jem/templates/.github/workflows/truffleruby-23.0.yml.example +92 -0
- data/lib/kettle/jem/templates/.github/workflows/truffleruby-23.1.yml.example +78 -0
- data/lib/kettle/jem/templates/.github/workflows/truffleruby-24.2.yml.example +91 -0
- data/lib/kettle/jem/templates/.github/workflows/truffleruby-25.0.yml.example +96 -0
- data/lib/kettle/jem/templates/.github/workflows/truffleruby-33.0.yml.example +91 -0
- data/lib/kettle/jem/templates/.github/workflows/unlocked_deps.yml.example +93 -0
- data/lib/kettle/jem/templates/.gitignore.example +53 -0
- data/lib/kettle/jem/templates/.gitlab-ci.yml.example +134 -0
- data/lib/kettle/jem/templates/.idea/.gitignore.example +44 -0
- data/lib/kettle/jem/templates/.licenserc.yaml.example +8 -0
- data/lib/kettle/jem/templates/.opencollective.yml.example +3 -0
- data/lib/kettle/jem/templates/.qlty/qlty.toml.example +79 -0
- data/lib/kettle/jem/templates/.rspec.example +10 -0
- data/lib/kettle/jem/templates/.rubocop.example +1 -0
- data/lib/kettle/jem/templates/.rubocop.yml.example +47 -0
- data/lib/kettle/jem/templates/.rubocop_rspec.yml.example +55 -0
- data/lib/kettle/jem/templates/.simplecov.example +18 -0
- data/lib/kettle/jem/templates/.structuredmerge/git-drivers.toml.example +86 -0
- data/lib/kettle/jem/templates/.structuredmerge/kettle-jem.yml.example +519 -0
- data/lib/kettle/jem/templates/.yard-lint.yml.example +54 -0
- data/lib/kettle/jem/templates/.yardignore.example +13 -0
- data/lib/kettle/jem/templates/.yardopts.example +14 -0
- data/lib/kettle/jem/templates/AGENTS.md.example +283 -0
- data/lib/kettle/jem/templates/AGPL-3.0-only.md.example +235 -0
- data/lib/kettle/jem/templates/Appraisal.root.gemfile.example +26 -0
- data/lib/kettle/jem/templates/Appraisals.example +150 -0
- data/lib/kettle/jem/templates/Big-Time-Public-License.md.example +99 -0
- data/lib/kettle/jem/templates/CHANGELOG.md.example +33 -0
- data/lib/kettle/jem/templates/CHANGELOG.transfer.md +109 -0
- data/lib/kettle/jem/templates/CITATION.cff.example +20 -0
- data/lib/kettle/jem/templates/CODE_OF_CONDUCT.md.example +134 -0
- data/lib/kettle/jem/templates/CONTRIBUTING.md.example +292 -0
- data/lib/kettle/jem/templates/FUNDING.md.example +74 -0
- data/lib/kettle/jem/templates/FUNDING.md.no-osc.example +63 -0
- data/lib/kettle/jem/templates/Gemfile.example +52 -0
- data/lib/kettle/jem/templates/IRP.md.example +34 -0
- data/lib/kettle/jem/templates/LICENSE.md.example +3 -0
- data/lib/kettle/jem/templates/MIT.md.example +21 -0
- data/lib/kettle/jem/templates/PolyForm-Noncommercial-1.0.0.md.example +131 -0
- data/lib/kettle/jem/templates/PolyForm-Small-Business-1.0.0.md.example +121 -0
- data/lib/kettle/jem/templates/README.md.example +544 -0
- data/lib/kettle/jem/templates/REEK +0 -0
- data/lib/kettle/jem/templates/RUBOCOP.md.example +78 -0
- data/lib/kettle/jem/templates/Rakefile.example +163 -0
- data/lib/kettle/jem/templates/SECURITY.md.example +21 -0
- data/lib/kettle/jem/templates/bin/setup.example +36 -0
- data/lib/kettle/jem/templates/certs/pboling.pem.example +27 -0
- data/lib/kettle/jem/templates/gem.gemspec.example +161 -0
- data/lib/kettle/jem/templates/gemfiles/modular/benchmark/r4/v0.5.gemfile.example +2 -0
- data/lib/kettle/jem/templates/gemfiles/modular/benchmark/vHEAD.gemfile.example +2 -0
- data/lib/kettle/jem/templates/gemfiles/modular/cgi/r4/v0.5.gemfile.example +1 -0
- data/lib/kettle/jem/templates/gemfiles/modular/cgi/vHEAD.gemfile.example +1 -0
- data/lib/kettle/jem/templates/gemfiles/modular/changelog.gemfile.example +6 -0
- data/lib/kettle/jem/templates/gemfiles/modular/coverage.gemfile.example +14 -0
- data/lib/kettle/jem/templates/gemfiles/modular/coverage_local.gemfile.example +34 -0
- data/lib/kettle/jem/templates/gemfiles/modular/debug.gemfile.example +22 -0
- data/lib/kettle/jem/templates/gemfiles/modular/documentation.gemfile.example +24 -0
- data/lib/kettle/jem/templates/gemfiles/modular/documentation_local.gemfile.example +20 -0
- data/lib/kettle/jem/templates/gemfiles/modular/erb/r2/v3.0.gemfile.example +1 -0
- data/lib/kettle/jem/templates/gemfiles/modular/erb/r2.3/default.gemfile.example +6 -0
- data/lib/kettle/jem/templates/gemfiles/modular/erb/r2.6/v2.2.gemfile.example +3 -0
- data/lib/kettle/jem/templates/gemfiles/modular/erb/r3/v5.0.gemfile.example +1 -0
- data/lib/kettle/jem/templates/gemfiles/modular/erb/r3.1/v4.0.gemfile.example +2 -0
- data/lib/kettle/jem/templates/gemfiles/modular/erb/r4/v5.0.gemfile.example +1 -0
- data/lib/kettle/jem/templates/gemfiles/modular/erb/vHEAD.gemfile.example +2 -0
- data/lib/kettle/jem/templates/gemfiles/modular/json/truffleruby_22_3.gemfile.example +6 -0
- data/lib/kettle/jem/templates/gemfiles/modular/json/truffleruby_23_0.gemfile.example +6 -0
- data/lib/kettle/jem/templates/gemfiles/modular/json/truffleruby_23_1.gemfile.example +6 -0
- data/lib/kettle/jem/templates/gemfiles/modular/mutex_m/r2/v0.3.gemfile.example +2 -0
- data/lib/kettle/jem/templates/gemfiles/modular/mutex_m/r2.4/v0.1.gemfile.example +3 -0
- data/lib/kettle/jem/templates/gemfiles/modular/mutex_m/r3/v0.3.gemfile.example +2 -0
- data/lib/kettle/jem/templates/gemfiles/modular/mutex_m/r4/v0.3.gemfile.example +2 -0
- data/lib/kettle/jem/templates/gemfiles/modular/mutex_m/vHEAD.gemfile.example +2 -0
- data/lib/kettle/jem/templates/gemfiles/modular/optional.gemfile.example +16 -0
- data/lib/kettle/jem/templates/gemfiles/modular/recording/r2.3/recording.gemfile.example +16 -0
- data/lib/kettle/jem/templates/gemfiles/modular/recording/r2.4/recording.gemfile.example +18 -0
- data/lib/kettle/jem/templates/gemfiles/modular/recording/r2.5/recording.gemfile.example +16 -0
- data/lib/kettle/jem/templates/gemfiles/modular/recording/r3/recording.gemfile.example +16 -0
- data/lib/kettle/jem/templates/gemfiles/modular/recording/r4/recording.gemfile.example +16 -0
- data/lib/kettle/jem/templates/gemfiles/modular/recording/vHEAD.gemfile.example +2 -0
- data/lib/kettle/jem/templates/gemfiles/modular/rspec.gemfile.example +4 -0
- data/lib/kettle/jem/templates/gemfiles/modular/runtime_heads.gemfile.example +14 -0
- data/lib/kettle/jem/templates/gemfiles/modular/shunted.gemfile.example +21 -0
- data/lib/kettle/jem/templates/gemfiles/modular/stringio/r2/v3.0.gemfile.example +5 -0
- data/lib/kettle/jem/templates/gemfiles/modular/stringio/r2.4/v0.0.2.gemfile.example +4 -0
- data/lib/kettle/jem/templates/gemfiles/modular/stringio/r3/v3.0.gemfile.example +5 -0
- data/lib/kettle/jem/templates/gemfiles/modular/stringio/r4/v3.0.gemfile.example +5 -0
- data/lib/kettle/jem/templates/gemfiles/modular/stringio/vHEAD.gemfile.example +2 -0
- data/lib/kettle/jem/templates/gemfiles/modular/style.gemfile.example +33 -0
- data/lib/kettle/jem/templates/gemfiles/modular/style_local.gemfile.example +26 -0
- data/lib/kettle/jem/templates/gemfiles/modular/templating.gemfile.example +34 -0
- data/lib/kettle/jem/templates/gemfiles/modular/templating_local.gemfile.example +73 -0
- data/lib/kettle/jem/templates/gemfiles/modular/webrick/r4/v1.9.gemfile.example +1 -0
- data/lib/kettle/jem/templates/gemfiles/modular/webrick/vHEAD.gemfile.example +1 -0
- data/lib/kettle/jem/templates/gemfiles/modular/x_std_libs/r2/libs.gemfile.example +3 -0
- data/lib/kettle/jem/templates/gemfiles/modular/x_std_libs/r2.3/libs.gemfile.example +3 -0
- data/lib/kettle/jem/templates/gemfiles/modular/x_std_libs/r2.4/libs.gemfile.example +3 -0
- data/lib/kettle/jem/templates/gemfiles/modular/x_std_libs/r2.6/libs.gemfile.example +3 -0
- data/lib/kettle/jem/templates/gemfiles/modular/x_std_libs/r3/libs.gemfile.example +3 -0
- data/lib/kettle/jem/templates/gemfiles/modular/x_std_libs/r3.1/libs.gemfile.example +5 -0
- data/lib/kettle/jem/templates/gemfiles/modular/x_std_libs/r4/libs.gemfile.example +6 -0
- data/lib/kettle/jem/templates/gemfiles/modular/x_std_libs/vHEAD.gemfile.example +6 -0
- data/lib/kettle/jem/templates/gemfiles/modular/x_std_libs.gemfile.example +12 -0
- data/lib/kettle/jem/templates/lib/gem/version.rb.example +1 -0
- data/lib/kettle/jem/templates/lib/gem/version_gem.rb.example +1 -0
- data/lib/kettle/jem/templates/mise.toml.example +25 -0
- data/lib/kettle/jem/templates/mise.toml.no-osc.example +25 -0
- data/lib/kettle/jem/templates/parsers.toml.example +19 -0
- data/lib/kettle/jem/templates/readme/partials/basic_usage.md.example +28 -0
- data/lib/kettle/jem/templates/readme/partials/configuration.md.example +112 -0
- data/lib/kettle/jem/templates/readme/partials/synopsis.md.example +3 -0
- data/lib/kettle/jem/templates/shim/.github/workflows/current.yml.example +40 -0
- data/lib/kettle/jem/templates/shim/.rspec.example +5 -0
- data/lib/kettle/jem/templates/shim/.structuredmerge/kettle-jem.yml.example +28 -0
- data/lib/kettle/jem/templates/shim/CHANGELOG.md.example +9 -0
- data/lib/kettle/jem/templates/shim/Gemfile.example +14 -0
- data/lib/kettle/jem/templates/shim/README.md.example +25 -0
- data/lib/kettle/jem/templates/shim/Rakefile.example +8 -0
- data/lib/kettle/jem/templates/shim/gem.gemspec.example +45 -0
- data/lib/kettle/jem/templates/shim/lib/compat_require.rb.example +3 -0
- data/lib/kettle/jem/templates/shim/lib/entrypoint.rb.example +3 -0
- data/lib/kettle/jem/templates/shim/lib/version.rb.example +1 -0
- data/lib/kettle/jem/templates/shim/spec/shim_spec.rb.example +15 -0
- data/lib/kettle/jem/templates/shim/spec/spec_helper.rb.example +23 -0
- data/lib/kettle/jem/templates/sig/gem.rbs.example +1 -0
- data/lib/kettle/jem/templates/spec/README.md.example +28 -0
- data/lib/kettle/jem/templates/spec/spec_helper.rb.example +39 -0
- data/lib/kettle/jem/version.rb +5 -3
- data/lib/kettle/jem/version_gem.rb +8 -0
- data/lib/kettle/jem.rb +18540 -1517
- data/lib/kettle-jem.rb +2 -1
- data/sig/kettle/jem.rbs +8 -0
- data.tar.gz.sig +0 -0
- metadata +870 -32
- metadata.gz.sig +0 -0
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# {KJ|FREEZE_TOKEN}:freeze
|
|
4
|
+
# To retain chunks of comments & code during kettle-jem templating:
|
|
5
|
+
# Wrap custom sections with freeze markers (e.g., as above and below this comment chunk).
|
|
6
|
+
# kettle-jem will then preserve content between those markers across template runs.
|
|
7
|
+
# {KJ|FREEZE_TOKEN}:unfreeze
|
|
8
|
+
|
|
9
|
+
# HOW TO GENERATE APPRAISALS (Appraisal2 RuboCop plugin normalizes generated gemfiles on modern Ruby):
|
|
10
|
+
# bin/rake appraisal:generate
|
|
11
|
+
# Use bin/rake appraisal:update only when refreshing appraisal locks is intentional.
|
|
12
|
+
|
|
13
|
+
plugin "appraisal2-rubocop", require: "appraisal2/rubocop", optional: true
|
|
14
|
+
|
|
15
|
+
# Lock/Unlock Deps Pattern
|
|
16
|
+
#
|
|
17
|
+
# Two often conflicting goals resolved!
|
|
18
|
+
#
|
|
19
|
+
# - unlocked_deps.yml
|
|
20
|
+
# - All runtime & dev dependencies, but does not have a `gemfiles/*.gemfile.lock` committed
|
|
21
|
+
# - Uses an Appraisal2 "unlocked_deps" gemfile, and the current MRI Ruby release
|
|
22
|
+
# - Know when new dependency releases will break local dev with unlocked dependencies
|
|
23
|
+
# - Broken workflow indicates that new releases of dependencies may not work
|
|
24
|
+
#
|
|
25
|
+
# - locked_deps.yml
|
|
26
|
+
# - All runtime & dev dependencies, and has a `Gemfile.lock` committed
|
|
27
|
+
# - Uses the project's main Gemfile, and the current MRI Ruby release
|
|
28
|
+
# - Matches what contributors and maintainers use locally for development
|
|
29
|
+
# - Broken workflow indicates that a new contributor will have a bad time
|
|
30
|
+
#
|
|
31
|
+
appraise "unlocked_deps" do
|
|
32
|
+
# Seems to be an undeclared dependency of yard.
|
|
33
|
+
# /opt/hostedtoolcache/Ruby/4.0.0/x64/lib/ruby/gems/4.0.0/gems/yard-0.9.38/lib/yard/parser/ruby/legacy/irb/slex.rb:13: warning: irb/notifier is found in irb, which is not part of the default gems since Ruby 4.0.0.
|
|
34
|
+
# You can add irb to your Gemfile or gemspec to fix this error.
|
|
35
|
+
# rake aborted!
|
|
36
|
+
# LoadError: cannot load such file -- irb/notifier (LoadError)
|
|
37
|
+
# /opt/hostedtoolcache/Ruby/4.0.0/x64/bin/bundle:25:in '<main>'
|
|
38
|
+
# But it won't install on TruffleRuby, so it can't be part of modular gemfiles used there:
|
|
39
|
+
# An error occurred while installing psych (5.3.1), and Bundler cannot continue.
|
|
40
|
+
#
|
|
41
|
+
# In ruby_3_2.gemfile:
|
|
42
|
+
# irb was resolved to 1.16.0, which depends on
|
|
43
|
+
# rdoc was resolved to 7.0.3, which depends on
|
|
44
|
+
# psych
|
|
45
|
+
gem "irb", "~> 1.17" # ruby >= 2.7
|
|
46
|
+
|
|
47
|
+
eval_gemfile "modular/coverage.gemfile"
|
|
48
|
+
eval_gemfile "modular/documentation.gemfile"
|
|
49
|
+
eval_gemfile "modular/optional.gemfile"
|
|
50
|
+
eval_gemfile "modular/recording/r4/recording.gemfile"
|
|
51
|
+
eval_gemfile "modular/style.gemfile"
|
|
52
|
+
eval_gemfile "modular/x_std_libs.gemfile"
|
|
53
|
+
end
|
|
54
|
+
|
|
55
|
+
# Used for head (nightly) releases of ruby, truffleruby, and jruby.
|
|
56
|
+
# Split into discrete appraisals if one of them needs a dependency locked discretely.
|
|
57
|
+
appraise "head" do
|
|
58
|
+
eval_gemfile "modular/recording/r4/recording.gemfile"
|
|
59
|
+
eval_gemfile "modular/x_std_libs.gemfile"
|
|
60
|
+
end
|
|
61
|
+
|
|
62
|
+
# Used for current releases of ruby, truffleruby, and jruby.
|
|
63
|
+
# Split into discrete appraisals if one of them needs a dependency locked discretely.
|
|
64
|
+
appraise "current" do
|
|
65
|
+
eval_gemfile "modular/recording/r4/recording.gemfile"
|
|
66
|
+
eval_gemfile "modular/x_std_libs.gemfile"
|
|
67
|
+
end
|
|
68
|
+
|
|
69
|
+
# Test current Rubies against head versions of runtime dependencies
|
|
70
|
+
appraise "dep-heads" do
|
|
71
|
+
eval_gemfile "modular/recording/vHEAD.gemfile"
|
|
72
|
+
eval_gemfile "modular/runtime_heads.gemfile"
|
|
73
|
+
end
|
|
74
|
+
|
|
75
|
+
appraise "ruby-2-3" do
|
|
76
|
+
eval_gemfile "modular/recording/r2.3/recording.gemfile"
|
|
77
|
+
eval_gemfile "modular/x_std_libs/r2.3/libs.gemfile"
|
|
78
|
+
end
|
|
79
|
+
|
|
80
|
+
appraise "ruby-2-4" do
|
|
81
|
+
eval_gemfile "modular/recording/r2.4/recording.gemfile"
|
|
82
|
+
eval_gemfile "modular/x_std_libs/r2.4/libs.gemfile"
|
|
83
|
+
end
|
|
84
|
+
|
|
85
|
+
appraise "ruby-2-5" do
|
|
86
|
+
eval_gemfile "modular/recording/r2.5/recording.gemfile"
|
|
87
|
+
eval_gemfile "modular/x_std_libs/r2.6/libs.gemfile"
|
|
88
|
+
end
|
|
89
|
+
|
|
90
|
+
appraise "ruby-2-6" do
|
|
91
|
+
eval_gemfile "modular/recording/r2.5/recording.gemfile"
|
|
92
|
+
eval_gemfile "modular/x_std_libs/r2.6/libs.gemfile"
|
|
93
|
+
end
|
|
94
|
+
|
|
95
|
+
appraise "ruby-2-7" do
|
|
96
|
+
eval_gemfile "modular/recording/r2.5/recording.gemfile"
|
|
97
|
+
eval_gemfile "modular/x_std_libs/r2/libs.gemfile"
|
|
98
|
+
end
|
|
99
|
+
|
|
100
|
+
appraise "ruby-3-0" do
|
|
101
|
+
eval_gemfile "modular/json/truffleruby_22_3.gemfile"
|
|
102
|
+
eval_gemfile "modular/json/truffleruby_23_0.gemfile"
|
|
103
|
+
eval_gemfile "modular/recording/r3/recording.gemfile"
|
|
104
|
+
eval_gemfile "modular/x_std_libs/r3.1/libs.gemfile"
|
|
105
|
+
end
|
|
106
|
+
|
|
107
|
+
appraise "ruby-3-1" do
|
|
108
|
+
eval_gemfile "modular/recording/r3/recording.gemfile"
|
|
109
|
+
eval_gemfile "modular/x_std_libs/r3.1/libs.gemfile"
|
|
110
|
+
end
|
|
111
|
+
|
|
112
|
+
appraise "ruby-3-2" do
|
|
113
|
+
eval_gemfile "modular/json/truffleruby_23_1.gemfile"
|
|
114
|
+
eval_gemfile "modular/recording/r3/recording.gemfile"
|
|
115
|
+
eval_gemfile "modular/x_std_libs/r3/libs.gemfile"
|
|
116
|
+
end
|
|
117
|
+
|
|
118
|
+
appraise "ruby-3-3" do
|
|
119
|
+
eval_gemfile "modular/recording/r3/recording.gemfile"
|
|
120
|
+
eval_gemfile "modular/x_std_libs/r3/libs.gemfile"
|
|
121
|
+
end
|
|
122
|
+
|
|
123
|
+
appraise "ruby-3-4" do
|
|
124
|
+
eval_gemfile "modular/recording/r3/recording.gemfile"
|
|
125
|
+
eval_gemfile "modular/x_std_libs/r3/libs.gemfile"
|
|
126
|
+
end
|
|
127
|
+
|
|
128
|
+
# Only run security audit on the latest version of Ruby
|
|
129
|
+
appraise "audit" do
|
|
130
|
+
eval_gemfile "modular/x_std_libs.gemfile"
|
|
131
|
+
end
|
|
132
|
+
|
|
133
|
+
# Only run coverage on the latest version of Ruby
|
|
134
|
+
appraise "coverage" do
|
|
135
|
+
eval_gemfile "modular/coverage.gemfile"
|
|
136
|
+
eval_gemfile "modular/optional.gemfile"
|
|
137
|
+
eval_gemfile "modular/recording/r4/recording.gemfile"
|
|
138
|
+
eval_gemfile "modular/x_std_libs.gemfile"
|
|
139
|
+
end
|
|
140
|
+
|
|
141
|
+
# Only run linter on the latest version of Ruby (but, in support of oldest supported Ruby version)
|
|
142
|
+
appraise "style" do
|
|
143
|
+
eval_gemfile "modular/style.gemfile"
|
|
144
|
+
eval_gemfile "modular/x_std_libs.gemfile"
|
|
145
|
+
end
|
|
146
|
+
|
|
147
|
+
appraise "templating" do
|
|
148
|
+
eval_gemfile "modular/templating.gemfile"
|
|
149
|
+
eval_gemfile "modular/x_std_libs.gemfile"
|
|
150
|
+
end
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
# Big Time Public License
|
|
2
|
+
|
|
3
|
+
Version 2.0.2
|
|
4
|
+
|
|
5
|
+
<https://bigtimelicense.com/versions/2.0.2>
|
|
6
|
+
|
|
7
|
+
## Purpose
|
|
8
|
+
|
|
9
|
+
These terms let you use and share this software for noncommercial purposes and in small business for free, while also guaranteeing that paid licenses for big businesses will be available on fair, reasonable, and nondiscriminatory terms.
|
|
10
|
+
|
|
11
|
+
## Acceptance
|
|
12
|
+
|
|
13
|
+
In order to get any license under these terms, you must agree to them as both strict obligations and conditions to all your licenses.
|
|
14
|
+
|
|
15
|
+
## Noncommercial Purposes
|
|
16
|
+
|
|
17
|
+
You may use the software for any noncommercial purpose.
|
|
18
|
+
|
|
19
|
+
## Personal Uses
|
|
20
|
+
|
|
21
|
+
Personal use for research, experiment, and testing for the benefit of public knowledge, personal study, private entertainment, hobby projects, amateur pursuits, or religious observance, without any anticipated commercial application, count as use for noncommercial purposes.
|
|
22
|
+
|
|
23
|
+
## Noncommercial Organizations
|
|
24
|
+
|
|
25
|
+
Use by any charitable organization, educational institution, public research organization, public safety or health organization, environmental protection organization, or government institution counts as use for noncommercial purposes, regardless of the source of funding or obligations resulting from the funding.
|
|
26
|
+
|
|
27
|
+
## Small Business
|
|
28
|
+
|
|
29
|
+
You may use the software for the benefit of your company if it meets all these criteria:
|
|
30
|
+
|
|
31
|
+
1. had fewer than 20 total individuals working as employees and independent contractors at all times during the last tax year
|
|
32
|
+
|
|
33
|
+
2. earned less than $1,000,000 total revenue in the last tax year
|
|
34
|
+
|
|
35
|
+
3. received less than $1,000,000 total debt, equity, and other investment in the last five tax years, counting investment in predecessor companies that reorganized into, merged with, or spun out your company
|
|
36
|
+
|
|
37
|
+
All dollar figures are United States dollars as of 2019. Adjust for them inflation according to the United States Bureau of Labor Statistics' consumer price index for all urban consumers, United States city average, for all items, not seasonally adjusted, with 1982–1984=100 reference base.
|
|
38
|
+
|
|
39
|
+
## Big Business
|
|
40
|
+
|
|
41
|
+
You may use the software for the benefit of your company:
|
|
42
|
+
|
|
43
|
+
1. for 128 days after your company stops qualifying under [Small Business](#small-business)
|
|
44
|
+
|
|
45
|
+
2. indefinitely, if the licensor or their legal successor does not offer fair, reasonable, and nondiscriminatory terms for a commercial license for the software within 32 days of [written request](#how-to-request) and negotiate in good faith to conclude a deal
|
|
46
|
+
|
|
47
|
+
## How to Request
|
|
48
|
+
|
|
49
|
+
If this software includes an address for the licensor or an agent of the licensor in a standard place, such as in documentation, software package metadata, or an "about" page or screen, try to request a fair commercial license at that address. If this package includes both online and offline addresses, try online before offline. If you can't deliver a request that way, or this software doesn't include any addressees, spend one hour online researching an address, recording all your searches and inquiries as you go, and try any addresses that you find. If you can't find any addresses, or if those addresses also fail, that counts as failure to offer a fair commercial license by the licensor under [Big Business](#big-business).
|
|
50
|
+
|
|
51
|
+
## Fair, Reasonable, and Nondiscriminatory Terms
|
|
52
|
+
|
|
53
|
+
Fair, reasonable, and nondiscriminatory terms may license the software perpetually or for a term, and may or may not cover new versions of the software. If the licensor advertises license terms and a pricing structure for generally available commercial licenses, the licensor proposes license terms and a price as advertised, and a customer not affiliated with the licensor has bought a commercial license for the software on substantially equivalent terms in the past year, the proposal is fair, reasonable, and nondiscriminatory.
|
|
54
|
+
|
|
55
|
+
## Copyright License
|
|
56
|
+
|
|
57
|
+
The licensor grants you a copyright license to do everything with the software that would otherwise infringe the licensor's copyright in it for any purpose allowed by these terms.
|
|
58
|
+
|
|
59
|
+
## Notices
|
|
60
|
+
|
|
61
|
+
You must ensure that anyone who gets a copy of any part of the software from you also gets a copy of these terms or the URL for them above, as well as copies of any plain-text lines beginning with `Required Notice:` that the licensor provided with the software. For example:
|
|
62
|
+
|
|
63
|
+
> Required Notice: Copyright Yoyodyne, Inc. (http://example.com)
|
|
64
|
+
|
|
65
|
+
## Patent License
|
|
66
|
+
|
|
67
|
+
The licensor grants you a patent license for the software that covers patent claims the licensor can license, or becomes able to license, that you would infringe by using the software.
|
|
68
|
+
|
|
69
|
+
## Fair Use
|
|
70
|
+
|
|
71
|
+
You may have "fair use" rights for the software under the law. These terms do not limit them.
|
|
72
|
+
|
|
73
|
+
## No Other Rights
|
|
74
|
+
|
|
75
|
+
These terms do not allow you to sublicense or transfer any of your licenses to anyone else, or prevent the licensor from granting licenses to anyone else. These terms do not imply any other licenses.
|
|
76
|
+
|
|
77
|
+
## Patent Defense
|
|
78
|
+
|
|
79
|
+
If you make any written claim that the software infringes or contributes to infringement of any patent, your patent license for the software granted under these terms ends immediately. If your company makes such a claim, your patent license ends immediately for work on behalf of your company.
|
|
80
|
+
|
|
81
|
+
## Violations
|
|
82
|
+
|
|
83
|
+
The first time you are notified in writing that you have violated any of these terms, or done anything with the software not covered by your licenses, your licenses can nonetheless continue if you come into full compliance with these terms, and take practical steps to correct past violations, within 32 days of receiving notice. Otherwise, all your licenses end immediately.
|
|
84
|
+
|
|
85
|
+
## No Liability
|
|
86
|
+
|
|
87
|
+
***As far as the law allows, the software comes as is, without any warranty or condition, and the licensor will not be liable to you for any damages arising out of these terms or the use or nature of the software, under any kind of legal claim.***
|
|
88
|
+
|
|
89
|
+
## Definitions
|
|
90
|
+
|
|
91
|
+
The **licensor** is the individual or entity offering these terms, and the **software** is the software the licensor makes available under these terms.
|
|
92
|
+
|
|
93
|
+
**You** refers to the individual or entity agreeing to these terms.
|
|
94
|
+
|
|
95
|
+
**Your company** is any legal entity, sole proprietorship, or other kind of organization that you work for, plus all organizations that have control over, are under the control of, or are under common control with that organization. **Control** means ownership of substantially all the assets of an entity, or the power to direct its management and policies by vote, contract, or otherwise. Control can be direct or indirect.
|
|
96
|
+
|
|
97
|
+
**Your licenses** are all the licenses granted to you for the software under these terms.
|
|
98
|
+
|
|
99
|
+
**Use** means anything you do with the software requiring one of your licenses.
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
[![SemVer 2.0.0][📌semver-img]][📌semver] [![Keep-A-Changelog 1.0.0][📗keep-changelog-img]][📗keep-changelog]
|
|
4
|
+
|
|
5
|
+
All notable changes to this project will be documented in this file.
|
|
6
|
+
|
|
7
|
+
The format is based on [Keep a Changelog][📗keep-changelog],
|
|
8
|
+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html),
|
|
9
|
+
and [yes][📌major-versions-not-sacred], platform and engine support are part of the [public API][📌semver-breaking].
|
|
10
|
+
Please file a bug if you notice a violation of semantic versioning.
|
|
11
|
+
|
|
12
|
+
[📌semver]: https://semver.org/spec/v2.0.0.html
|
|
13
|
+
[📌semver-img]: https://img.shields.io/badge/semver-2.0.0-FFDD67.svg?style=flat
|
|
14
|
+
[📌semver-breaking]: https://github.com/semver/semver/issues/716#issuecomment-869336139
|
|
15
|
+
[📌major-versions-not-sacred]: https://tom.preston-werner.com/2022/05/23/major-version-numbers-are-not-sacred.html
|
|
16
|
+
[📗keep-changelog]: https://keepachangelog.com/en/1.0.0/
|
|
17
|
+
[📗keep-changelog-img]: https://img.shields.io/badge/keep--a--changelog-1.0.0-FFDD67.svg?style=flat
|
|
18
|
+
|
|
19
|
+
## [Unreleased]
|
|
20
|
+
|
|
21
|
+
### Added
|
|
22
|
+
|
|
23
|
+
### Changed
|
|
24
|
+
|
|
25
|
+
### Deprecated
|
|
26
|
+
|
|
27
|
+
### Removed
|
|
28
|
+
|
|
29
|
+
### Fixed
|
|
30
|
+
|
|
31
|
+
### Security
|
|
32
|
+
|
|
33
|
+
[Unreleased]: {KJ|CHANGELOG:GL_COMPARE_URL}/HEAD
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
# kettle-jem Transferable Changelog
|
|
2
|
+
|
|
3
|
+
This file contains **destination release notes**, not a record of every template
|
|
4
|
+
implementation change. Add an entry only when applying the template change
|
|
5
|
+
changes behavior, configuration, compatibility, packaging, documentation, or
|
|
6
|
+
developer workflow for a destination gem. A replayed entry is intentionally
|
|
7
|
+
inserted into that gem's `Unreleased` section and must make it pending for
|
|
8
|
+
release. Do not add entries for internal template refactors, merge mechanics,
|
|
9
|
+
or other changes with no destination user or developer impact.
|
|
10
|
+
|
|
11
|
+
`kettle-jem-template-YYYYMMDD-NNN` is a stable replay identifier, not metadata
|
|
12
|
+
that exempts the entry from the destination changelog or release state.
|
|
13
|
+
|
|
14
|
+
An entry may declare destination-only applicability immediately after its
|
|
15
|
+
identifier: `[if field=value & other.field!=value]`. Kettle/Jem evaluates these
|
|
16
|
+
filters against a fixed project context, never transfers them to a destination
|
|
17
|
+
changelog, and rejects unknown fields, values, and operators. Use filters only
|
|
18
|
+
for genuine destination applicability boundaries.
|
|
19
|
+
|
|
20
|
+
Available fields are `profile`, `topology`, `ruby.min`, `engine.jruby`,
|
|
21
|
+
`engine.truffleruby`, `engine.alternates`, `feature.appraisals`,
|
|
22
|
+
`feature.rubyforum`, `feature.rubyforum_project_tag`,
|
|
23
|
+
`feature.corporate_sponsors`, `feature.organization_logo`,
|
|
24
|
+
`feature.structuredmerge_driver`, `feature.dedicated_version_gem`,
|
|
25
|
+
`workflow.dep_heads`, `workflow.jruby_94`, and `version_gem.mode`. Boolean
|
|
26
|
+
fields accept `true` or `false`; `ruby.min` accepts normal version comparisons;
|
|
27
|
+
the other fields accept `=` or `!=`.
|
|
28
|
+
|
|
29
|
+
## Added
|
|
30
|
+
|
|
31
|
+
- kettle-jem-template-20260720-001 [if feature.corporate_sponsors=true] - READMEs can now display configured
|
|
32
|
+
corporate sponsor logos.
|
|
33
|
+
- kettle-jem-template-20260720-005 - README Support & Community links now
|
|
34
|
+
include RubyForum.
|
|
35
|
+
- kettle-jem-template-20260726-001 - Projects now include YARD lint
|
|
36
|
+
configuration and documentation dependencies so documentation issues fail
|
|
37
|
+
before generated docs are refreshed.
|
|
38
|
+
- kettle-jem-template-20260727-001 - Spec harness documentation now lists the
|
|
39
|
+
RSpec helpers provided by `kettle-test`.
|
|
40
|
+
- kettle-jem-template-20260729-005 [if feature.rubyforum_project_tag=true] - Gemspec metadata now publishes this
|
|
41
|
+
project's RubyForum tag as `mailing_list_uri`, and support docs link to the
|
|
42
|
+
tagged RubyForum community alongside Discord.
|
|
43
|
+
|
|
44
|
+
## Changed
|
|
45
|
+
|
|
46
|
+
- kettle-jem-template-20260716-002 - Gemspecs now ship fewer repository-only
|
|
47
|
+
files, reducing package noise for downstream packagers.
|
|
48
|
+
- kettle-jem-template-20260720-002 - Development Gemfiles now use the released
|
|
49
|
+
`tree_sitter_language_pack` gem 1.13.3 or newer by default.
|
|
50
|
+
- kettle-jem-template-20260725-002 - Version specs now use `anonymous_loader` to
|
|
51
|
+
cover `version.rb` without redefining constants, or are removed when version
|
|
52
|
+
specs are not managed for the project.
|
|
53
|
+
- kettle-jem-template-20260728-001 [if feature.appraisals=true] - Generated Ruby workflows now use clearer
|
|
54
|
+
setup-ruby-flash planning and can prepare appraisal-only jobs without
|
|
55
|
+
installing the main Gemfile bundle.
|
|
56
|
+
- kettle-jem-template-20260801-001 - Generated README gem dashboard links now
|
|
57
|
+
use ClickGems instead of BestGems.
|
|
58
|
+
|
|
59
|
+
## Fixed
|
|
60
|
+
|
|
61
|
+
- kettle-jem-template-20260802-001 - Devcontainer JSON files now merge as JSONC,
|
|
62
|
+
preserving comments and trailing commas during template updates.
|
|
63
|
+
- kettle-jem-template-20260801-004 - Generated organization README logos now
|
|
64
|
+
use GitHub's stable organization avatar endpoint instead of assuming a
|
|
65
|
+
matching Galtzo-hosted asset exists.
|
|
66
|
+
- kettle-jem-template-20260801-003 - Generated project metadata and
|
|
67
|
+
documentation now normalize configured underscore hostnames to valid
|
|
68
|
+
hyphenated hostnames.
|
|
69
|
+
- kettle-jem-template-20260801-002 - Generated RSpec helpers now normalize
|
|
70
|
+
managed configuration block bindings structurally, preventing mixed block
|
|
71
|
+
parameter names from producing invalid configuration after a merge.
|
|
72
|
+
- kettle-jem-template-20260716-001 [if profile=shim] - Shim gems now package `LICENSE.md` instead
|
|
73
|
+
of a missing `LICENSE.txt` file.
|
|
74
|
+
- kettle-jem-template-20260720-003 [if feature.structuredmerge_driver=true] - StructuredMerge Git diff driver config now
|
|
75
|
+
uses the installed `smorg-rb` driver command.
|
|
76
|
+
- kettle-jem-template-20260720-004 [if engine.alternates=false] - MRI-only projects now omit JRuby and
|
|
77
|
+
TruffleRuby workflow jobs.
|
|
78
|
+
- kettle-jem-template-20260725-001 [if engine.alternates=true] - Release pull request branches beginning
|
|
79
|
+
with `feature/release` now run JRuby and TruffleRuby workflows.
|
|
80
|
+
- kettle-jem-template-20260726-002 - Generated version files now document their
|
|
81
|
+
version namespace and constants, reducing warning-only YARD lint output.
|
|
82
|
+
- kettle-jem-template-20260726-003 - Coverage upload steps now treat Coveralls,
|
|
83
|
+
QLTY, and Codecov as optional, so provider outages do not fail CI when local
|
|
84
|
+
coverage thresholds still pass.
|
|
85
|
+
- kettle-jem-template-20260728-002 - Generated RuboCop configs now ignore the
|
|
86
|
+
same `gemfiles/vendor/bundle` tree as `.gitignore`, so vendored dependency
|
|
87
|
+
installs are not reported as project lint debt.
|
|
88
|
+
- kettle-jem-template-20260728-003 [if workflow.dep_heads=true & engine.truffleruby=true] - Generated dep-heads workflows now run
|
|
89
|
+
TruffleRuby jobs with current RubyGems and Bundler, avoiding setup failures
|
|
90
|
+
before the test suite starts.
|
|
91
|
+
- kettle-jem-template-20260728-004 [if workflow.dep_heads=true & feature.appraisals=true] - Generated dep-heads workflows now use the
|
|
92
|
+
setup-ruby Bundler install path for direct appraisal Gemfiles, avoiding rv
|
|
93
|
+
lockfile parser failures on Git and path dependencies.
|
|
94
|
+
- kettle-jem-template-20260728-005 - VersionGem bootstrap now creates the
|
|
95
|
+
missing canonical version spec when a project only has shim namespace version
|
|
96
|
+
specs.
|
|
97
|
+
- kettle-jem-template-20260729-001 [if workflow.jruby_94=true] - Generated JRuby 9.4 workflows now use the
|
|
98
|
+
legacy manual bundle install path, avoiding setup-time Bundler full-index
|
|
99
|
+
failures against `gem.coop`.
|
|
100
|
+
- kettle-jem-template-20260729-002 [if feature.dedicated_version_gem=true] - VersionGem bootstrap now preserves
|
|
101
|
+
and templates dedicated `version_gem.rb` entrypoints even when the gemspec
|
|
102
|
+
dependency is intentionally omitted, and generated anonymous-loader specs
|
|
103
|
+
cover both `version.rb` and `version_gem.rb`.
|
|
104
|
+
- kettle-jem-template-20260729-003 [if ruby.min<2.2] - Old-Ruby gems below the VersionGem runtime
|
|
105
|
+
floor now get managed minimal `version.rb` files and anonymous-loader version
|
|
106
|
+
specs without adding `version_gem`.
|
|
107
|
+
- kettle-jem-template-20260730-001 - Gemspec package file enumeration now runs
|
|
108
|
+
relative to the gemspec directory, so release package contents stay correct
|
|
109
|
+
even when the gemspec is loaded from another working directory.
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
cff-version: 1.2.0
|
|
2
|
+
title: "{KJ|GEM_NAME}"
|
|
3
|
+
message: >-
|
|
4
|
+
If you use this work and you want to cite it,
|
|
5
|
+
then you can use the metadata from this file.
|
|
6
|
+
type: software
|
|
7
|
+
authors:
|
|
8
|
+
- given-names: "{KJ|AUTHOR:GIVEN_NAMES}"
|
|
9
|
+
family-names: "{KJ|AUTHOR:FAMILY_NAMES}"
|
|
10
|
+
email: "{KJ|AUTHOR:EMAIL}"
|
|
11
|
+
affiliation: "{KJ|AUTHOR:DOMAIN}"
|
|
12
|
+
orcid: 'https://orcid.org/{KJ|AUTHOR:ORCID}'
|
|
13
|
+
identifiers:
|
|
14
|
+
- type: url
|
|
15
|
+
value: '{KJ|README:GH_PACKAGE_SOURCE_URL}'
|
|
16
|
+
description: "{KJ|GEM_NAME}"
|
|
17
|
+
repository-code: '{KJ|README:GH_PACKAGE_SOURCE_URL}'
|
|
18
|
+
abstract: >-
|
|
19
|
+
{KJ|GEM_NAME}
|
|
20
|
+
license: See license file
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
# Contributor Covenant Code of Conduct
|
|
2
|
+
|
|
3
|
+
## Our Pledge
|
|
4
|
+
|
|
5
|
+
We as members, contributors, and leaders pledge to make participation in our
|
|
6
|
+
community a harassment-free experience for everyone, regardless of age, body
|
|
7
|
+
size, visible or invisible disability, ethnicity, sex characteristics, gender
|
|
8
|
+
identity and expression, level of experience, education, socio-economic status,
|
|
9
|
+
nationality, personal appearance, race, caste, color, religion, or sexual
|
|
10
|
+
identity and orientation.
|
|
11
|
+
|
|
12
|
+
We pledge to act and interact in ways that contribute to an open, welcoming,
|
|
13
|
+
diverse, inclusive, and healthy community.
|
|
14
|
+
|
|
15
|
+
## Our Standards
|
|
16
|
+
|
|
17
|
+
Examples of behavior that contributes to a positive environment for our
|
|
18
|
+
community include:
|
|
19
|
+
|
|
20
|
+
* Demonstrating empathy and kindness toward other people
|
|
21
|
+
* Being respectful of differing opinions, viewpoints, and experiences
|
|
22
|
+
* Giving and gracefully accepting constructive feedback
|
|
23
|
+
* Accepting responsibility and apologizing to those affected by our mistakes,
|
|
24
|
+
and learning from the experience
|
|
25
|
+
* Focusing on what is best not just for us as individuals, but for the overall
|
|
26
|
+
community
|
|
27
|
+
|
|
28
|
+
Examples of unacceptable behavior include:
|
|
29
|
+
|
|
30
|
+
* The use of sexualized language or imagery, and sexual attention or advances of
|
|
31
|
+
any kind
|
|
32
|
+
* Trolling, insulting or derogatory comments, and personal or political attacks
|
|
33
|
+
* Public or private harassment
|
|
34
|
+
* Publishing others' private information, such as a physical or email address,
|
|
35
|
+
without their explicit permission
|
|
36
|
+
* Other conduct which could reasonably be considered inappropriate in a
|
|
37
|
+
professional setting
|
|
38
|
+
|
|
39
|
+
## Enforcement Responsibilities
|
|
40
|
+
|
|
41
|
+
Community leaders are responsible for clarifying and enforcing our standards of
|
|
42
|
+
acceptable behavior and will take appropriate and fair corrective action in
|
|
43
|
+
response to any behavior that they deem inappropriate, threatening, offensive,
|
|
44
|
+
or harmful.
|
|
45
|
+
|
|
46
|
+
Community leaders have the right and responsibility to remove, edit, or reject
|
|
47
|
+
comments, commits, code, wiki edits, issues, and other contributions that are
|
|
48
|
+
not aligned to this Code of Conduct, and will communicate reasons for moderation
|
|
49
|
+
decisions when appropriate.
|
|
50
|
+
|
|
51
|
+
## Scope
|
|
52
|
+
|
|
53
|
+
This Code of Conduct applies within all community spaces, and also applies when
|
|
54
|
+
an individual is officially representing the community in public spaces.
|
|
55
|
+
Examples of representing our community include using an official email address,
|
|
56
|
+
posting via an official social media account, or acting as an appointed
|
|
57
|
+
representative at an online or offline event.
|
|
58
|
+
|
|
59
|
+
## Enforcement
|
|
60
|
+
|
|
61
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
|
62
|
+
reported to the community leaders responsible for enforcement at
|
|
63
|
+
[![Contact Maintainer][🚂maint-contact-img]][🚂maint-contact].
|
|
64
|
+
All complaints will be reviewed and investigated promptly and fairly.
|
|
65
|
+
|
|
66
|
+
All community leaders are obligated to respect the privacy and security of the
|
|
67
|
+
reporter of any incident.
|
|
68
|
+
|
|
69
|
+
## Enforcement Guidelines
|
|
70
|
+
|
|
71
|
+
Community leaders will follow these Community Impact Guidelines in determining
|
|
72
|
+
the consequences for any action they deem in violation of this Code of Conduct:
|
|
73
|
+
|
|
74
|
+
### 1. Correction
|
|
75
|
+
|
|
76
|
+
**Community Impact**: Use of inappropriate language or other behavior deemed
|
|
77
|
+
unprofessional or unwelcome in the community.
|
|
78
|
+
|
|
79
|
+
**Consequence**: A private, written warning from community leaders, providing
|
|
80
|
+
clarity around the nature of the violation and an explanation of why the
|
|
81
|
+
behavior was inappropriate. A public apology may be requested.
|
|
82
|
+
|
|
83
|
+
### 2. Warning
|
|
84
|
+
|
|
85
|
+
**Community Impact**: A violation through a single incident or series of
|
|
86
|
+
actions.
|
|
87
|
+
|
|
88
|
+
**Consequence**: A warning with consequences for continued behavior. No
|
|
89
|
+
interaction with the people involved, including unsolicited interaction with
|
|
90
|
+
those enforcing the Code of Conduct, for a specified period of time. This
|
|
91
|
+
includes avoiding interactions in community spaces as well as external channels
|
|
92
|
+
like social media. Violating these terms may lead to a temporary or permanent
|
|
93
|
+
ban.
|
|
94
|
+
|
|
95
|
+
### 3. Temporary Ban
|
|
96
|
+
|
|
97
|
+
**Community Impact**: A serious violation of community standards, including
|
|
98
|
+
sustained inappropriate behavior.
|
|
99
|
+
|
|
100
|
+
**Consequence**: A temporary ban from any sort of interaction or public
|
|
101
|
+
communication with the community for a specified period of time. No public or
|
|
102
|
+
private interaction with the people involved, including unsolicited interaction
|
|
103
|
+
with those enforcing the Code of Conduct, is allowed during this period.
|
|
104
|
+
Violating these terms may lead to a permanent ban.
|
|
105
|
+
|
|
106
|
+
### 4. Permanent Ban
|
|
107
|
+
|
|
108
|
+
**Community Impact**: Demonstrating a pattern of violation of community
|
|
109
|
+
standards, including sustained inappropriate behavior, harassment of an
|
|
110
|
+
individual, or aggression toward or disparagement of classes of individuals.
|
|
111
|
+
|
|
112
|
+
**Consequence**: A permanent ban from any sort of public interaction within the
|
|
113
|
+
community.
|
|
114
|
+
|
|
115
|
+
## Attribution
|
|
116
|
+
|
|
117
|
+
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
|
|
118
|
+
version 2.1, available at
|
|
119
|
+
[https://www.contributor-covenant.org/version/2/1/code_of_conduct.html][v2.1].
|
|
120
|
+
|
|
121
|
+
Community Impact Guidelines were inspired by
|
|
122
|
+
[Mozilla's code of conduct enforcement ladder][Mozilla CoC].
|
|
123
|
+
|
|
124
|
+
For answers to common questions about this code of conduct, see the FAQ at
|
|
125
|
+
[https://www.contributor-covenant.org/faq][FAQ]. Translations are available at
|
|
126
|
+
[https://www.contributor-covenant.org/translations][translations].
|
|
127
|
+
|
|
128
|
+
[homepage]: https://www.contributor-covenant.org
|
|
129
|
+
[v2.1]: https://www.contributor-covenant.org/version/2/1/code_of_conduct.html
|
|
130
|
+
[Mozilla CoC]: https://github.com/mozilla/diversity
|
|
131
|
+
[FAQ]: https://www.contributor-covenant.org/faq
|
|
132
|
+
[translations]: https://www.contributor-covenant.org/translations
|
|
133
|
+
[🚂maint-contact]: http://www.railsbling.com/contact
|
|
134
|
+
[🚂maint-contact-img]: https://img.shields.io/badge/Contact-Maintainer-0093D0.svg?style=flat&logo=rubyonrails&logoColor=red
|