acfs 2.1.0 → 2.2.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 +4 -4
- data/CHANGELOG.md +22 -0
- data/README.md +1 -1
- data/acfs.gemspec +1 -1
- data/lib/acfs/location.rb +2 -2
- data/lib/acfs/middleware/json.rb +3 -3
- data/lib/acfs/request.rb +1 -0
- data/lib/acfs/resource/attributes.rb +1 -1
- data/lib/acfs/stub.rb +1 -1
- data/lib/acfs/version.rb +2 -2
- data/lib/acfs.rb +3 -4
- data/spec/acfs/collection_spec.rb +16 -10
- data/spec/acfs/global_spec.rb +2 -2
- data/spec/acfs/middleware/json_spec.rb +16 -0
- data/spec/acfs/operation_spec.rb +2 -2
- data/spec/acfs/request/callbacks_spec.rb +2 -2
- data/spec/acfs/resource/locatable_spec.rb +5 -11
- data/spec/acfs/resource/query_methods_spec.rb +1 -1
- data/spec/acfs/resource/validation_spec.rb +3 -4
- data/spec/acfs/runner_spec.rb +6 -6
- data/spec/acfs/stub_spec.rb +6 -4
- data/spec/acfs_spec.rb +4 -4
- data/vendor/bundle/ruby/4.0.0/bundler/gems/rubocop-config-2b861962124a/README.md +23 -0
- data/vendor/bundle/ruby/{3.4.0/bundler/gems/rubocop-config-67802c9d1826 → 4.0.0/bundler/gems/rubocop-config-2b861962124a}/rubocop-config.gemspec +11 -11
- data/vendor/bundle/ruby/4.0.0/gems/actionpack-8.1.3/CHANGELOG.md +514 -0
- data/vendor/bundle/ruby/{3.4.0/gems/actionpack-8.0.1 → 4.0.0/gems/actionpack-8.1.3}/README.rdoc +1 -1
- data/vendor/bundle/ruby/4.0.0/gems/actionview-8.1.3/CHANGELOG.md +191 -0
- data/vendor/bundle/ruby/{3.4.0/gems/actionview-8.0.1 → 4.0.0/gems/actionview-8.1.3}/README.rdoc +1 -1
- data/vendor/bundle/ruby/4.0.0/gems/activemodel-8.1.3/CHANGELOG.md +68 -0
- data/vendor/bundle/ruby/{3.4.0/gems/activemodel-8.0.1 → 4.0.0/gems/activemodel-8.1.3}/README.rdoc +1 -1
- data/vendor/bundle/ruby/4.0.0/gems/activesupport-8.1.3/CHANGELOG.md +561 -0
- data/vendor/bundle/ruby/{3.4.0/gems/activesupport-8.0.1 → 4.0.0/gems/activesupport-8.1.3}/README.rdoc +1 -1
- data/vendor/bundle/ruby/{3.4.0/gems/addressable-2.8.7 → 4.0.0/gems/addressable-2.9.0}/CHANGELOG.md +71 -46
- data/vendor/bundle/ruby/{3.4.0/gems/addressable-2.8.7 → 4.0.0/gems/addressable-2.9.0}/README.md +6 -6
- data/vendor/bundle/ruby/4.0.0/gems/ast-2.4.3/LICENSE.MIT +20 -0
- data/vendor/bundle/ruby/4.0.0/gems/ast-2.4.3/README.YARD.md +12 -0
- data/vendor/bundle/ruby/{3.4.0/gems/bigdecimal-3.1.9 → 4.0.0/gems/bigdecimal-4.1.2}/bigdecimal.gemspec +6 -1
- data/vendor/bundle/ruby/{3.4.0/gems/concurrent-ruby-1.3.5 → 4.0.0/gems/concurrent-ruby-1.3.7}/CHANGELOG.md +12 -0
- data/vendor/bundle/ruby/{3.4.0/gems/concurrent-ruby-1.3.5 → 4.0.0/gems/concurrent-ruby-1.3.7}/README.md +4 -2
- data/vendor/bundle/ruby/{3.4.0/gems/connection_pool-2.5.0 → 4.0.0/gems/connection_pool-3.0.2}/README.md +49 -34
- data/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/connection_pool.gemspec +35 -0
- data/vendor/bundle/ruby/{3.4.0/gems/diff-lcs-1.6.0 → 4.0.0/gems/diff-lcs-1.6.2}/CHANGELOG.md +27 -0
- data/vendor/bundle/ruby/{3.4.0/gems/diff-lcs-1.6.0 → 4.0.0/gems/diff-lcs-1.6.2}/README.md +1 -1
- data/vendor/bundle/ruby/4.0.0/gems/docile-1.4.1/LICENSE +21 -0
- data/vendor/bundle/ruby/4.0.0/gems/docile-1.4.1/README.md +409 -0
- data/vendor/bundle/ruby/4.0.0/gems/docile-1.4.1/docile.gemspec +36 -0
- data/vendor/bundle/ruby/{3.4.0/gems/drb-2.2.1 → 4.0.0/gems/drb-2.2.3}/drb.gemspec +2 -1
- data/vendor/bundle/ruby/{3.4.0/gems/ethon-0.16.0 → 4.0.0/gems/ethon-0.18.0}/CHANGELOG.md +43 -1
- data/vendor/bundle/ruby/{3.4.0/gems/ethon-0.16.0 → 4.0.0/gems/ethon-0.18.0}/README.md +1 -1
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.18.0/ethon.gemspec +37 -0
- data/vendor/bundle/ruby/{3.4.0/gems/ffi-1.17.1-x86_64-linux-gnu → 4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu}/CHANGELOG.md +42 -0
- data/vendor/bundle/ruby/{3.4.0/gems/ffi-1.17.1-x86_64-linux-gnu → 4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu}/README.md +1 -0
- data/vendor/bundle/ruby/{3.4.0/gems/ffi-1.17.1-x86_64-linux-gnu → 4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu}/ffi.gemspec +7 -6
- data/vendor/bundle/ruby/{3.4.0/gems/hashdiff-1.1.2 → 4.0.0/gems/hashdiff-1.2.1}/README.md +26 -1
- data/vendor/bundle/ruby/4.0.0/gems/hashdiff-1.2.1/changelog.md +127 -0
- data/vendor/bundle/ruby/{3.4.0/gems/i18n-1.14.7 → 4.0.0/gems/i18n-1.15.2}/README.md +13 -1
- data/vendor/bundle/ruby/{3.4.0/gems/json-2.10.1 → 4.0.0/gems/json-2.19.9}/README.md +43 -1
- data/vendor/bundle/ruby/{3.4.0/gems/json-2.10.1 → 4.0.0/gems/json-2.19.9}/json.gemspec +2 -3
- data/vendor/bundle/ruby/4.0.0/gems/language_server-protocol-3.17.0.5/LICENSE.txt +21 -0
- data/vendor/bundle/ruby/4.0.0/gems/language_server-protocol-3.17.0.5/README.md +88 -0
- data/vendor/bundle/ruby/4.0.0/gems/lint_roller-1.1.0/CHANGELOG.md +15 -0
- data/vendor/bundle/ruby/4.0.0/gems/lint_roller-1.1.0/LICENSE.txt +21 -0
- data/vendor/bundle/ruby/4.0.0/gems/lint_roller-1.1.0/README.md +173 -0
- data/vendor/bundle/ruby/{3.4.0/gems/loofah-2.24.0 → 4.0.0/gems/loofah-2.25.1}/CHANGELOG.md +17 -0
- data/vendor/bundle/ruby/{3.4.0/gems/minitest-5.25.4 → 4.0.0/gems/minitest-6.0.6}/README.rdoc +33 -105
- data/vendor/bundle/ruby/4.0.0/gems/msgpack-1.8.3/ChangeLog +383 -0
- data/vendor/bundle/ruby/4.0.0/gems/msgpack-1.8.3/LICENSE +177 -0
- data/vendor/bundle/ruby/4.0.0/gems/msgpack-1.8.3/README.md +302 -0
- data/vendor/bundle/ruby/4.0.0/gems/msgpack-1.8.3/msgpack.gemspec +41 -0
- data/vendor/bundle/ruby/4.0.0/gems/multi_json-1.21.1/LICENSE.md +20 -0
- data/vendor/bundle/ruby/4.0.0/gems/multi_json-1.21.1/README.md +281 -0
- data/vendor/bundle/ruby/{3.4.0/gems/nokogiri-1.18.2-x86_64-linux-gnu → 4.0.0/gems/nokogiri-1.19.4-x86_64-linux-gnu}/LICENSE-DEPENDENCIES.md +187 -0
- data/vendor/bundle/ruby/{3.4.0/gems/nokogiri-1.18.2-x86_64-linux-gnu → 4.0.0/gems/nokogiri-1.19.4-x86_64-linux-gnu}/README.md +18 -3
- data/vendor/bundle/ruby/4.0.0/gems/opentelemetry-api-1.10.0/CHANGELOG.md +219 -0
- data/vendor/bundle/ruby/{3.4.0/gems/opentelemetry-api-1.4.0 → 4.0.0/gems/opentelemetry-api-1.10.0}/README.md +1 -2
- data/vendor/bundle/ruby/4.0.0/gems/opentelemetry-common-0.25.0/CHANGELOG.md +110 -0
- data/vendor/bundle/ruby/{3.4.0/gems/opentelemetry-common-0.21.0 → 4.0.0/gems/opentelemetry-common-0.25.0}/README.md +1 -1
- data/vendor/bundle/ruby/4.0.0/gems/parallel-2.1.0/MIT-LICENSE.txt +20 -0
- data/vendor/bundle/ruby/{3.4.0/gems/rspec-collection_matchers-1.2.1 → 4.0.0/gems/parser-3.3.11.1}/LICENSE.txt +4 -5
- data/vendor/bundle/ruby/4.0.0/gems/parser-3.3.11.1/parser.gemspec +43 -0
- data/vendor/bundle/ruby/4.0.0/gems/prism-1.9.0/CHANGELOG.md +786 -0
- data/vendor/bundle/ruby/4.0.0/gems/prism-1.9.0/LICENSE.md +7 -0
- data/vendor/bundle/ruby/4.0.0/gems/prism-1.9.0/README.md +143 -0
- data/vendor/bundle/ruby/4.0.0/gems/prism-1.9.0/prism.gemspec +172 -0
- data/vendor/bundle/ruby/4.0.0/gems/public_suffix-7.0.5/CHANGELOG.md +649 -0
- data/vendor/bundle/ruby/{3.4.0/gems/public_suffix-6.0.1 → 4.0.0/gems/public_suffix-7.0.5}/LICENSE.txt +1 -1
- data/vendor/bundle/ruby/{3.4.0/gems/public_suffix-6.0.1 → 4.0.0/gems/public_suffix-7.0.5}/README.md +38 -29
- data/vendor/bundle/ruby/{3.4.0/gems/rack-3.1.10 → 4.0.0/gems/rack-3.2.6}/CHANGELOG.md +338 -4
- data/vendor/bundle/ruby/{3.4.0/gems/rack-3.1.10 → 4.0.0/gems/rack-3.2.6}/README.md +76 -20
- data/vendor/bundle/ruby/{3.4.0/gems/rails-dom-testing-2.2.0 → 4.0.0/gems/rails-dom-testing-2.3.0}/README.md +3 -0
- data/vendor/bundle/ruby/{3.4.0/gems/rails-html-sanitizer-1.6.2 → 4.0.0/gems/rails-html-sanitizer-1.7.0}/CHANGELOG.md +10 -0
- data/vendor/bundle/ruby/4.0.0/gems/rainbow-3.1.1/Changelog.md +101 -0
- data/vendor/bundle/ruby/4.0.0/gems/rainbow-3.1.1/LICENSE +20 -0
- data/vendor/bundle/ruby/4.0.0/gems/rainbow-3.1.1/README.markdown +227 -0
- data/vendor/bundle/ruby/{3.4.0/gems/rake-13.2.1 → 4.0.0/gems/rake-13.4.2}/README.rdoc +5 -5
- data/vendor/bundle/ruby/{3.4.0/gems/rake-13.2.1 → 4.0.0/gems/rake-13.4.2}/rake.gemspec +3 -2
- data/vendor/bundle/ruby/{3.4.0/gems/rake-release-1.3.0 → 4.0.0/gems/rake-release-1.4.0}/rake-release.gemspec +4 -4
- data/vendor/bundle/ruby/4.0.0/gems/regexp_parser-2.12.0/LICENSE +22 -0
- data/vendor/bundle/ruby/4.0.0/gems/regexp_parser-2.12.0/regexp_parser.gemspec +36 -0
- data/vendor/bundle/ruby/{3.4.0/gems/rspec-core-3.13.3 → 4.0.0/gems/rspec-core-3.13.6}/Changelog.md +24 -2
- data/vendor/bundle/ruby/{3.4.0/gems/rspec-expectations-3.13.3 → 4.0.0/gems/rspec-expectations-3.13.5}/Changelog.md +154 -140
- data/vendor/bundle/ruby/{3.4.0/gems/rspec-mocks-3.13.2 → 4.0.0/gems/rspec-mocks-3.13.8}/Changelog.md +181 -129
- data/vendor/bundle/ruby/{3.4.0/gems/rspec-support-3.13.2 → 4.0.0/gems/rspec-support-3.13.7}/Changelog.md +101 -65
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-1.88.0/LICENSE.txt +20 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-1.88.0/README.md +255 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-ast-1.49.1/LICENSE.txt +20 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-ast-1.49.1/README.md +54 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-capybara-2.23.0/CHANGELOG.md +116 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-capybara-2.23.0/MIT-LICENSE.md +21 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-capybara-2.23.0/README.md +91 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-factory_bot-2.28.0/CHANGELOG.md +135 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-factory_bot-2.28.0/MIT-LICENSE.md +21 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-factory_bot-2.28.0/README.md +91 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-performance-1.26.1/LICENSE.txt +20 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-performance-1.26.1/README.md +100 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-rspec-3.10.2/CHANGELOG.md +1136 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-rspec-3.10.2/MIT-LICENSE.md +21 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-rspec-3.10.2/README.md +112 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-rspec_rails-2.32.0/CHANGELOG.md +98 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-rspec_rails-2.32.0/MIT-LICENSE.md +21 -0
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-rspec_rails-2.32.0/README.md +93 -0
- data/vendor/bundle/ruby/4.0.0/gems/ruby-progressbar-1.13.0/LICENSE.txt +19 -0
- data/vendor/bundle/ruby/4.0.0/gems/ruby-progressbar-1.13.0/README.md +131 -0
- data/vendor/bundle/ruby/4.0.0/gems/simplecov-0.22.0/CHANGELOG.md +191 -0
- data/vendor/bundle/ruby/4.0.0/gems/simplecov-0.22.0/LICENSE +20 -0
- data/vendor/bundle/ruby/4.0.0/gems/simplecov-0.22.0/README.md +974 -0
- data/vendor/bundle/ruby/4.0.0/gems/simplecov-cobertura-3.2.0/LICENSE +202 -0
- data/vendor/bundle/ruby/4.0.0/gems/simplecov-cobertura-3.2.0/README.md +65 -0
- data/vendor/bundle/ruby/4.0.0/gems/simplecov-cobertura-3.2.0/simplecov-cobertura.gemspec +29 -0
- data/vendor/bundle/ruby/4.0.0/gems/simplecov-html-0.13.2/CHANGELOG.md +114 -0
- data/vendor/bundle/ruby/4.0.0/gems/simplecov-html-0.13.2/LICENSE +20 -0
- data/vendor/bundle/ruby/4.0.0/gems/simplecov-html-0.13.2/README.md +30 -0
- data/vendor/bundle/ruby/4.0.0/gems/simplecov_json_formatter-0.1.4/CHANGELOG.md +13 -0
- data/vendor/bundle/ruby/4.0.0/gems/simplecov_json_formatter-0.1.4/README.md +29 -0
- data/vendor/bundle/ruby/{3.4.0/gems/thor-1.3.2 → 4.0.0/gems/thor-1.5.0}/README.md +1 -2
- data/vendor/bundle/ruby/{3.4.0/gems/thor-1.3.2 → 4.0.0/gems/thor-1.5.0}/thor.gemspec +3 -3
- data/vendor/bundle/ruby/{3.4.0/gems/typhoeus-1.4.1 → 4.0.0/gems/typhoeus-1.6.0}/CHANGELOG.md +56 -1
- data/vendor/bundle/ruby/{3.4.0/gems/typhoeus-1.4.1 → 4.0.0/gems/typhoeus-1.6.0}/README.md +2 -2
- data/vendor/bundle/ruby/{3.4.0/gems/typhoeus-1.4.1 → 4.0.0/gems/typhoeus-1.6.0}/typhoeus.gemspec +14 -4
- data/vendor/bundle/ruby/4.0.0/gems/unicode-display_width-3.2.0/CHANGELOG.md +299 -0
- data/vendor/bundle/ruby/4.0.0/gems/unicode-display_width-3.2.0/MIT-LICENSE.txt +22 -0
- data/vendor/bundle/ruby/4.0.0/gems/unicode-display_width-3.2.0/README.md +194 -0
- data/vendor/bundle/ruby/4.0.0/gems/unicode-emoji-4.2.0/CHANGELOG.md +202 -0
- data/vendor/bundle/ruby/4.0.0/gems/unicode-emoji-4.2.0/MIT-LICENSE.txt +20 -0
- data/vendor/bundle/ruby/4.0.0/gems/unicode-emoji-4.2.0/README.md +205 -0
- data/vendor/bundle/ruby/4.0.0/gems/unicode-emoji-4.2.0/unicode-emoji.gemspec +22 -0
- data/vendor/bundle/ruby/{3.4.0/gems/uri-1.0.2 → 4.0.0/gems/uri-1.1.1}/README.md +1 -1
- data/vendor/bundle/ruby/{3.4.0/gems/webmock-3.25.0 → 4.0.0/gems/webmock-3.26.2}/CHANGELOG.md +38 -0
- data/vendor/bundle/ruby/{3.4.0/gems/webmock-3.25.0 → 4.0.0/gems/webmock-3.26.2}/README.md +6 -0
- data/vendor/bundle/ruby/{3.4.0/specifications/actionpack-8.0.1.gemspec → 4.0.0/specifications/actionpack-8.1.3.gemspec} +9 -9
- data/vendor/bundle/ruby/{3.4.0/specifications/actionview-8.0.1.gemspec → 4.0.0/specifications/actionview-8.1.3.gemspec} +9 -9
- data/vendor/bundle/ruby/{3.4.0/specifications/activemodel-8.0.1.gemspec → 4.0.0/specifications/activemodel-8.1.3.gemspec} +7 -7
- data/vendor/bundle/ruby/{3.4.0/specifications/activesupport-8.0.1.gemspec → 4.0.0/specifications/activesupport-8.1.3.gemspec} +7 -7
- data/vendor/bundle/ruby/{3.4.0/specifications/addressable-2.8.7.gemspec → 4.0.0/specifications/addressable-2.9.0.gemspec} +7 -8
- data/vendor/bundle/ruby/{3.4.0 → 4.0.0}/specifications/appraisal-2.5.0.gemspec +1 -1
- data/vendor/bundle/ruby/4.0.0/specifications/ast-2.4.3.gemspec +29 -0
- data/vendor/bundle/ruby/{3.4.0/specifications/base64-0.2.0.gemspec → 4.0.0/specifications/base64-0.3.0.gemspec} +6 -6
- data/vendor/bundle/ruby/{3.4.0/specifications/bigdecimal-3.1.9.gemspec → 4.0.0/specifications/bigdecimal-4.1.2.gemspec} +6 -6
- data/vendor/bundle/ruby/{3.4.0 → 4.0.0}/specifications/builder-3.3.0.gemspec +1 -1
- data/vendor/bundle/ruby/{3.4.0/specifications/concurrent-ruby-1.3.5.gemspec → 4.0.0/specifications/concurrent-ruby-1.3.7.gemspec} +6 -6
- data/vendor/bundle/ruby/{3.4.0/specifications/connection_pool-2.5.0.gemspec → 4.0.0/specifications/connection_pool-3.0.2.gemspec} +8 -8
- data/vendor/bundle/ruby/{3.4.0/specifications/crack-1.0.0.gemspec → 4.0.0/specifications/crack-1.0.1.gemspec} +4 -4
- data/vendor/bundle/ruby/{3.4.0 → 4.0.0}/specifications/crass-1.0.6.gemspec +1 -1
- data/vendor/bundle/ruby/{3.4.0/specifications/diff-lcs-1.6.0.gemspec → 4.0.0/specifications/diff-lcs-1.6.2.gemspec} +11 -14
- data/vendor/bundle/ruby/4.0.0/specifications/docile-1.4.1.gemspec +22 -0
- data/vendor/bundle/ruby/{3.4.0/specifications/drb-2.2.1.gemspec → 4.0.0/specifications/drb-2.2.3.gemspec} +6 -6
- data/vendor/bundle/ruby/{3.4.0 → 4.0.0}/specifications/erubi-1.13.1.gemspec +1 -1
- data/vendor/bundle/ruby/4.0.0/specifications/ethon-0.18.0.gemspec +27 -0
- data/vendor/bundle/ruby/{3.4.0/specifications/ffi-1.17.1-x86_64-linux-gnu.gemspec → 4.0.0/specifications/ffi-1.17.4-x86_64-linux-gnu.gemspec} +7 -14
- data/vendor/bundle/ruby/{3.4.0/specifications/hashdiff-1.1.2.gemspec → 4.0.0/specifications/hashdiff-1.2.1.gemspec} +4 -4
- data/vendor/bundle/ruby/{3.4.0/specifications/i18n-1.14.7.gemspec → 4.0.0/specifications/i18n-1.15.2.gemspec} +6 -6
- data/vendor/bundle/ruby/{3.4.0/specifications/json-2.10.1.gemspec → 4.0.0/specifications/json-2.19.9.gemspec} +0 -0
- data/vendor/bundle/ruby/4.0.0/specifications/language_server-protocol-3.17.0.5.gemspec +31 -0
- data/vendor/bundle/ruby/4.0.0/specifications/lint_roller-1.1.0.gemspec +22 -0
- data/vendor/bundle/ruby/{3.4.0/specifications/logger-1.6.6.gemspec → 4.0.0/specifications/logger-1.7.0.gemspec} +4 -4
- data/vendor/bundle/ruby/{3.4.0/specifications/loofah-2.24.0.gemspec → 4.0.0/specifications/loofah-2.25.1.gemspec} +5 -5
- data/vendor/bundle/ruby/4.0.0/specifications/minitest-6.0.6.gemspec +35 -0
- data/vendor/bundle/ruby/4.0.0/specifications/msgpack-1.8.3.gemspec +36 -0
- data/vendor/bundle/ruby/4.0.0/specifications/multi_json-1.21.1.gemspec +22 -0
- data/vendor/bundle/ruby/{3.4.0/specifications/nokogiri-1.18.2-x86_64-linux-gnu.gemspec → 4.0.0/specifications/nokogiri-1.19.4-x86_64-linux-gnu.gemspec} +7 -7
- data/vendor/bundle/ruby/{3.4.0/specifications/opentelemetry-api-1.4.0.gemspec → 4.0.0/specifications/opentelemetry-api-1.10.0.gemspec} +11 -11
- data/vendor/bundle/ruby/{3.4.0/specifications/opentelemetry-common-0.21.0.gemspec → 4.0.0/specifications/opentelemetry-common-0.25.0.gemspec} +9 -10
- data/vendor/bundle/ruby/4.0.0/specifications/parallel-2.1.0.gemspec +21 -0
- data/vendor/bundle/ruby/4.0.0/specifications/parser-3.3.11.1.gemspec +37 -0
- data/vendor/bundle/ruby/4.0.0/specifications/prism-1.9.0.gemspec +24 -0
- data/vendor/bundle/ruby/{3.4.0/specifications/public_suffix-6.0.1.gemspec → 4.0.0/specifications/public_suffix-7.0.5.gemspec} +7 -7
- data/vendor/bundle/ruby/{3.4.0 → 4.0.0}/specifications/racc-1.8.1.gemspec +1 -1
- data/vendor/bundle/ruby/{3.4.0/specifications/rack-3.1.10.gemspec → 4.0.0/specifications/rack-3.2.6.gemspec} +7 -7
- data/vendor/bundle/ruby/{3.4.0/specifications/rack-session-2.1.0.gemspec → 4.0.0/specifications/rack-session-2.1.2.gemspec} +5 -5
- data/vendor/bundle/ruby/{3.4.0 → 4.0.0}/specifications/rack-test-2.2.0.gemspec +1 -1
- data/vendor/bundle/ruby/{3.4.0/specifications/rails-dom-testing-2.2.0.gemspec → 4.0.0/specifications/rails-dom-testing-2.3.0.gemspec} +5 -5
- data/vendor/bundle/ruby/{3.4.0/specifications/rails-html-sanitizer-1.6.2.gemspec → 4.0.0/specifications/rails-html-sanitizer-1.7.0.gemspec} +7 -7
- data/vendor/bundle/ruby/4.0.0/specifications/rainbow-3.1.1.gemspec +25 -0
- data/vendor/bundle/ruby/{3.4.0/specifications/rake-13.2.1.gemspec → 4.0.0/specifications/rake-13.4.2.gemspec} +6 -6
- data/vendor/bundle/ruby/{3.4.0/specifications/rake-release-1.3.0.gemspec → 4.0.0/specifications/rake-release-1.4.0.gemspec} +7 -7
- data/vendor/bundle/ruby/4.0.0/specifications/regexp_parser-2.12.0.gemspec +22 -0
- data/vendor/bundle/ruby/{3.4.0/specifications/rexml-3.4.0.gemspec → 4.0.0/specifications/rexml-3.4.4.gemspec} +6 -6
- data/vendor/bundle/ruby/{3.4.0/specifications/rspec-3.13.0.gemspec → 4.0.0/specifications/rspec-3.13.2.gemspec} +9 -9
- data/vendor/bundle/ruby/{3.4.0/specifications/rspec-core-3.13.3.gemspec → 4.0.0/specifications/rspec-core-3.13.6.gemspec} +8 -8
- data/vendor/bundle/ruby/4.0.0/specifications/rspec-expectations-3.13.5.gemspec +29 -0
- data/vendor/bundle/ruby/4.0.0/specifications/rspec-mocks-3.13.8.gemspec +29 -0
- data/vendor/bundle/ruby/{3.4.0/specifications/rspec-support-3.13.2.gemspec → 4.0.0/specifications/rspec-support-3.13.7.gemspec} +9 -9
- data/vendor/bundle/ruby/4.0.0/specifications/rubocop-1.88.0.gemspec +39 -0
- data/vendor/bundle/ruby/4.0.0/specifications/rubocop-ast-1.49.1.gemspec +29 -0
- data/vendor/bundle/ruby/4.0.0/specifications/rubocop-capybara-2.23.0.gemspec +28 -0
- data/vendor/bundle/ruby/4.0.0/specifications/rubocop-factory_bot-2.28.0.gemspec +28 -0
- data/vendor/bundle/ruby/4.0.0/specifications/rubocop-performance-1.26.1.gemspec +30 -0
- data/vendor/bundle/ruby/4.0.0/specifications/rubocop-rspec-3.10.2.gemspec +30 -0
- data/vendor/bundle/ruby/4.0.0/specifications/rubocop-rspec_rails-2.32.0.gemspec +29 -0
- data/vendor/bundle/ruby/4.0.0/specifications/ruby-progressbar-1.13.0.gemspec +29 -0
- data/vendor/bundle/ruby/{3.4.0 → 4.0.0}/specifications/securerandom-0.4.1.gemspec +1 -1
- data/vendor/bundle/ruby/4.0.0/specifications/simplecov-0.22.0.gemspec +28 -0
- data/vendor/bundle/ruby/4.0.0/specifications/simplecov-cobertura-3.2.0.gemspec +29 -0
- data/vendor/bundle/ruby/4.0.0/specifications/simplecov-html-0.13.2.gemspec +22 -0
- data/vendor/bundle/ruby/4.0.0/specifications/simplecov_json_formatter-0.1.4.gemspec +21 -0
- data/vendor/bundle/ruby/{3.4.0/specifications/thor-1.3.2.gemspec → 4.0.0/specifications/thor-1.5.0.gemspec} +8 -8
- data/vendor/bundle/ruby/4.0.0/specifications/typhoeus-1.6.0.gemspec +26 -0
- data/vendor/bundle/ruby/{3.4.0 → 4.0.0}/specifications/tzinfo-2.0.6.gemspec +1 -1
- data/vendor/bundle/ruby/4.0.0/specifications/unicode-display_width-3.2.0.gemspec +30 -0
- data/vendor/bundle/ruby/4.0.0/specifications/unicode-emoji-4.2.0.gemspec +22 -0
- data/vendor/bundle/ruby/{3.4.0/specifications/uri-1.0.2.gemspec → 4.0.0/specifications/uri-1.1.1.gemspec} +5 -5
- data/vendor/bundle/ruby/{3.4.0 → 4.0.0}/specifications/useragent-0.16.11.gemspec +1 -1
- data/vendor/bundle/ruby/{3.4.0/specifications/webmock-3.25.0.gemspec → 4.0.0/specifications/webmock-3.26.2.gemspec} +7 -8
- metadata +277 -206
- data/vendor/bundle/ruby/3.4.0/bundler/gems/rubocop-config-67802c9d1826/README.md +0 -23
- data/vendor/bundle/ruby/3.4.0/gems/actionpack-8.0.1/CHANGELOG.md +0 -205
- data/vendor/bundle/ruby/3.4.0/gems/actionview-8.0.1/CHANGELOG.md +0 -67
- data/vendor/bundle/ruby/3.4.0/gems/activemodel-8.0.1/CHANGELOG.md +0 -110
- data/vendor/bundle/ruby/3.4.0/gems/activesupport-8.0.1/CHANGELOG.md +0 -157
- data/vendor/bundle/ruby/3.4.0/gems/addressable-2.8.7/addressable.gemspec +0 -28
- data/vendor/bundle/ruby/3.4.0/gems/benchmark-0.4.0/README.md +0 -138
- data/vendor/bundle/ruby/3.4.0/gems/benchmark-0.4.0/benchmark.gemspec +0 -32
- data/vendor/bundle/ruby/3.4.0/gems/connection_pool-2.5.0/connection_pool.gemspec +0 -24
- data/vendor/bundle/ruby/3.4.0/gems/ethon-0.16.0/ethon.gemspec +0 -26
- data/vendor/bundle/ruby/3.4.0/gems/hashdiff-1.1.2/changelog.md +0 -119
- data/vendor/bundle/ruby/3.4.0/gems/logger-1.6.6/logger.gemspec +0 -28
- data/vendor/bundle/ruby/3.4.0/gems/multi_json-1.15.0/CHANGELOG.md +0 -275
- data/vendor/bundle/ruby/3.4.0/gems/multi_json-1.15.0/LICENSE.md +0 -20
- data/vendor/bundle/ruby/3.4.0/gems/multi_json-1.15.0/README.md +0 -121
- data/vendor/bundle/ruby/3.4.0/gems/opentelemetry-api-1.4.0/CHANGELOG.md +0 -188
- data/vendor/bundle/ruby/3.4.0/gems/opentelemetry-common-0.21.0/CHANGELOG.md +0 -94
- data/vendor/bundle/ruby/3.4.0/gems/public_suffix-6.0.1/CHANGELOG.md +0 -491
- data/vendor/bundle/ruby/3.4.0/gems/rexml-3.4.0/LICENSE.txt +0 -22
- data/vendor/bundle/ruby/3.4.0/gems/rspec-collection_matchers-1.2.1/Changelog.md +0 -68
- data/vendor/bundle/ruby/3.4.0/gems/rspec-collection_matchers-1.2.1/README.md +0 -76
- data/vendor/bundle/ruby/3.4.0/gems/rspec-collection_matchers-1.2.1/rspec-collection_matchers.gemspec +0 -33
- data/vendor/bundle/ruby/3.4.0/gems/rspec-its-2.0.0/Changelog.md +0 -73
- data/vendor/bundle/ruby/3.4.0/gems/rspec-its-2.0.0/LICENSE.txt +0 -27
- data/vendor/bundle/ruby/3.4.0/gems/rspec-its-2.0.0/README.md +0 -104
- data/vendor/bundle/ruby/3.4.0/gems/rspec-its-2.0.0/rspec-its.gemspec +0 -31
- data/vendor/bundle/ruby/3.4.0/specifications/benchmark-0.4.0.gemspec +0 -23
- data/vendor/bundle/ruby/3.4.0/specifications/ethon-0.16.0.gemspec +0 -24
- data/vendor/bundle/ruby/3.4.0/specifications/minitest-5.25.4.gemspec +0 -31
- data/vendor/bundle/ruby/3.4.0/specifications/multi_json-1.15.0.gemspec +0 -26
- data/vendor/bundle/ruby/3.4.0/specifications/rspec-collection_matchers-1.2.1.gemspec +0 -27
- data/vendor/bundle/ruby/3.4.0/specifications/rspec-expectations-3.13.3.gemspec +0 -33
- data/vendor/bundle/ruby/3.4.0/specifications/rspec-its-2.0.0.gemspec +0 -27
- data/vendor/bundle/ruby/3.4.0/specifications/rspec-mocks-3.13.2.gemspec +0 -33
- data/vendor/bundle/ruby/3.4.0/specifications/typhoeus-1.4.1.gemspec +0 -24
- /data/vendor/bundle/ruby/{3.4.0/bundler/gems/rubocop-config-67802c9d1826 → 4.0.0/bundler/gems/rubocop-config-2b861962124a}/LICENSE +0 -0
- /data/vendor/bundle/ruby/{3.4.0/gems/actionpack-8.0.1 → 4.0.0/gems/actionpack-8.1.3}/MIT-LICENSE +0 -0
- /data/vendor/bundle/ruby/{3.4.0/gems/actionview-8.0.1 → 4.0.0/gems/actionview-8.1.3}/MIT-LICENSE +0 -0
- /data/vendor/bundle/ruby/{3.4.0/gems/activemodel-8.0.1 → 4.0.0/gems/activemodel-8.1.3}/MIT-LICENSE +0 -0
- /data/vendor/bundle/ruby/{3.4.0/gems/activesupport-8.0.1 → 4.0.0/gems/activesupport-8.1.3}/MIT-LICENSE +0 -0
- /data/vendor/bundle/ruby/{3.4.0/gems/addressable-2.8.7 → 4.0.0/gems/addressable-2.9.0}/LICENSE.txt +0 -0
- /data/vendor/bundle/ruby/{3.4.0 → 4.0.0}/gems/appraisal-2.5.0/MIT-LICENSE +0 -0
- /data/vendor/bundle/ruby/{3.4.0 → 4.0.0}/gems/appraisal-2.5.0/README.md +0 -0
- /data/vendor/bundle/ruby/{3.4.0 → 4.0.0}/gems/appraisal-2.5.0/appraisal.gemspec +0 -0
- /data/vendor/bundle/ruby/{3.4.0/gems/base64-0.2.0 → 4.0.0/gems/base64-0.3.0}/README.md +0 -0
- /data/vendor/bundle/ruby/{3.4.0/gems/bigdecimal-3.1.9 → 4.0.0/gems/bigdecimal-4.1.2}/LICENSE +0 -0
- /data/vendor/bundle/ruby/{3.4.0 → 4.0.0}/gems/builder-3.3.0/MIT-LICENSE +0 -0
- /data/vendor/bundle/ruby/{3.4.0 → 4.0.0}/gems/builder-3.3.0/README.md +0 -0
- /data/vendor/bundle/ruby/{3.4.0 → 4.0.0}/gems/builder-3.3.0/builder.gemspec +0 -0
- /data/vendor/bundle/ruby/{3.4.0/gems/concurrent-ruby-1.3.5 → 4.0.0/gems/concurrent-ruby-1.3.7}/LICENSE.txt +0 -0
- /data/vendor/bundle/ruby/{3.4.0/gems/connection_pool-2.5.0 → 4.0.0/gems/connection_pool-3.0.2}/LICENSE +0 -0
- /data/vendor/bundle/ruby/{3.4.0/gems/crack-1.0.0 → 4.0.0/gems/crack-1.0.1}/LICENSE +0 -0
- /data/vendor/bundle/ruby/{3.4.0/gems/crack-1.0.0 → 4.0.0/gems/crack-1.0.1}/README.md +0 -0
- /data/vendor/bundle/ruby/{3.4.0 → 4.0.0}/gems/crass-1.0.6/LICENSE +0 -0
- /data/vendor/bundle/ruby/{3.4.0 → 4.0.0}/gems/crass-1.0.6/README.md +0 -0
- /data/vendor/bundle/ruby/{3.4.0 → 4.0.0}/gems/crass-1.0.6/crass.gemspec +0 -0
- /data/vendor/bundle/ruby/{3.4.0/gems/base64-0.2.0 → 4.0.0/gems/drb-2.2.3}/LICENSE.txt +0 -0
- /data/vendor/bundle/ruby/{3.4.0 → 4.0.0}/gems/erubi-1.13.1/CHANGELOG +0 -0
- /data/vendor/bundle/ruby/{3.4.0 → 4.0.0}/gems/erubi-1.13.1/MIT-LICENSE +0 -0
- /data/vendor/bundle/ruby/{3.4.0 → 4.0.0}/gems/erubi-1.13.1/README.rdoc +0 -0
- /data/vendor/bundle/ruby/{3.4.0/gems/ethon-0.16.0 → 4.0.0/gems/ethon-0.18.0}/LICENSE +0 -0
- /data/vendor/bundle/ruby/{3.4.0/gems/ffi-1.17.1-x86_64-linux-gnu → 4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu}/LICENSE +0 -0
- /data/vendor/bundle/ruby/{3.4.0/gems/ffi-1.17.1-x86_64-linux-gnu → 4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu}/LICENSE.SPECS +0 -0
- /data/vendor/bundle/ruby/{3.4.0/gems/hashdiff-1.1.2 → 4.0.0/gems/hashdiff-1.2.1}/LICENSE +0 -0
- /data/vendor/bundle/ruby/{3.4.0/gems/hashdiff-1.1.2 → 4.0.0/gems/hashdiff-1.2.1}/hashdiff.gemspec +0 -0
- /data/vendor/bundle/ruby/{3.4.0/gems/i18n-1.14.7 → 4.0.0/gems/i18n-1.15.2}/MIT-LICENSE +0 -0
- /data/vendor/bundle/ruby/{3.4.0/gems/logger-1.6.6 → 4.0.0/gems/logger-1.7.0}/README.md +0 -0
- /data/vendor/bundle/ruby/{3.4.0/gems/loofah-2.24.0 → 4.0.0/gems/loofah-2.25.1}/MIT-LICENSE.txt +0 -0
- /data/vendor/bundle/ruby/{3.4.0/gems/loofah-2.24.0 → 4.0.0/gems/loofah-2.25.1}/README.md +0 -0
- /data/vendor/bundle/ruby/{3.4.0/gems/nokogiri-1.18.2-x86_64-linux-gnu → 4.0.0/gems/nokogiri-1.19.4-x86_64-linux-gnu}/LICENSE.md +0 -0
- /data/vendor/bundle/ruby/{3.4.0/gems/opentelemetry-api-1.4.0 → 4.0.0/gems/opentelemetry-api-1.10.0}/LICENSE +0 -0
- /data/vendor/bundle/ruby/{3.4.0/gems/opentelemetry-common-0.21.0 → 4.0.0/gems/opentelemetry-common-0.25.0}/LICENSE +0 -0
- /data/vendor/bundle/ruby/{3.4.0 → 4.0.0}/gems/racc-1.8.1/ChangeLog +0 -0
- /data/vendor/bundle/ruby/{3.4.0 → 4.0.0}/gems/racc-1.8.1/README.ja.rdoc +0 -0
- /data/vendor/bundle/ruby/{3.4.0 → 4.0.0}/gems/racc-1.8.1/README.rdoc +0 -0
- /data/vendor/bundle/ruby/{3.4.0/gems/rack-3.1.10 → 4.0.0/gems/rack-3.2.6}/MIT-LICENSE +0 -0
- /data/vendor/bundle/ruby/{3.4.0/gems/rack-session-2.1.0 → 4.0.0/gems/rack-session-2.1.2}/license.md +0 -0
- /data/vendor/bundle/ruby/{3.4.0/gems/rack-session-2.1.0 → 4.0.0/gems/rack-session-2.1.2}/readme.md +0 -0
- /data/vendor/bundle/ruby/{3.4.0 → 4.0.0}/gems/rack-test-2.2.0/MIT-LICENSE.txt +0 -0
- /data/vendor/bundle/ruby/{3.4.0 → 4.0.0}/gems/rack-test-2.2.0/README.md +0 -0
- /data/vendor/bundle/ruby/{3.4.0/gems/rails-dom-testing-2.2.0 → 4.0.0/gems/rails-dom-testing-2.3.0}/MIT-LICENSE +0 -0
- /data/vendor/bundle/ruby/{3.4.0/gems/rails-html-sanitizer-1.6.2 → 4.0.0/gems/rails-html-sanitizer-1.7.0}/MIT-LICENSE +0 -0
- /data/vendor/bundle/ruby/{3.4.0/gems/rails-html-sanitizer-1.6.2 → 4.0.0/gems/rails-html-sanitizer-1.7.0}/README.md +0 -0
- /data/vendor/bundle/ruby/{3.4.0/gems/rake-13.2.1 → 4.0.0/gems/rake-13.4.2}/MIT-LICENSE +0 -0
- /data/vendor/bundle/ruby/{3.4.0/gems/rake-release-1.3.0 → 4.0.0/gems/rake-release-1.4.0}/LICENSE +0 -0
- /data/vendor/bundle/ruby/{3.4.0/gems/rake-release-1.3.0 → 4.0.0/gems/rake-release-1.4.0}/README.md +0 -0
- /data/vendor/bundle/ruby/{3.4.0/gems/drb-2.2.1 → 4.0.0/gems/rexml-3.4.4}/LICENSE.txt +0 -0
- /data/vendor/bundle/ruby/{3.4.0/gems/rexml-3.4.0 → 4.0.0/gems/rexml-3.4.4}/README.md +0 -0
- /data/vendor/bundle/ruby/{3.4.0/gems/rspec-3.13.0 → 4.0.0/gems/rspec-3.13.2}/LICENSE.md +0 -0
- /data/vendor/bundle/ruby/{3.4.0/gems/rspec-3.13.0 → 4.0.0/gems/rspec-3.13.2}/README.md +0 -0
- /data/vendor/bundle/ruby/{3.4.0/gems/rspec-core-3.13.3 → 4.0.0/gems/rspec-core-3.13.6}/LICENSE.md +0 -0
- /data/vendor/bundle/ruby/{3.4.0/gems/rspec-core-3.13.3 → 4.0.0/gems/rspec-core-3.13.6}/README.md +0 -0
- /data/vendor/bundle/ruby/{3.4.0/gems/rspec-expectations-3.13.3 → 4.0.0/gems/rspec-expectations-3.13.5}/LICENSE.md +0 -0
- /data/vendor/bundle/ruby/{3.4.0/gems/rspec-expectations-3.13.3 → 4.0.0/gems/rspec-expectations-3.13.5}/README.md +0 -0
- /data/vendor/bundle/ruby/{3.4.0/gems/rspec-mocks-3.13.2 → 4.0.0/gems/rspec-mocks-3.13.8}/LICENSE.md +0 -0
- /data/vendor/bundle/ruby/{3.4.0/gems/rspec-mocks-3.13.2 → 4.0.0/gems/rspec-mocks-3.13.8}/README.md +0 -0
- /data/vendor/bundle/ruby/{3.4.0/gems/rspec-support-3.13.2 → 4.0.0/gems/rspec-support-3.13.7}/LICENSE.md +0 -0
- /data/vendor/bundle/ruby/{3.4.0/gems/rspec-support-3.13.2 → 4.0.0/gems/rspec-support-3.13.7}/README.md +0 -0
- /data/vendor/bundle/ruby/{3.4.0 → 4.0.0}/gems/securerandom-0.4.1/README.md +0 -0
- /data/vendor/bundle/ruby/{3.4.0/gems/thor-1.3.2 → 4.0.0/gems/thor-1.5.0}/LICENSE.md +0 -0
- /data/vendor/bundle/ruby/{3.4.0/gems/typhoeus-1.4.1 → 4.0.0/gems/typhoeus-1.6.0}/LICENSE +0 -0
- /data/vendor/bundle/ruby/{3.4.0 → 4.0.0}/gems/tzinfo-2.0.6/LICENSE +0 -0
- /data/vendor/bundle/ruby/{3.4.0 → 4.0.0}/gems/tzinfo-2.0.6/README.md +0 -0
- /data/vendor/bundle/ruby/{3.4.0 → 4.0.0}/gems/useragent-0.16.11/LICENSE +0 -0
- /data/vendor/bundle/ruby/{3.4.0 → 4.0.0}/gems/useragent-0.16.11/README.md +0 -0
- /data/vendor/bundle/ruby/{3.4.0/gems/webmock-3.25.0 → 4.0.0/gems/webmock-3.26.2}/LICENSE +0 -0
|
@@ -6,26 +6,43 @@ way possible, it unifies and distills the bridge between web servers, web
|
|
|
6
6
|
frameworks, and web application into a single method call.
|
|
7
7
|
|
|
8
8
|
The exact details of this are described in the [Rack Specification], which all
|
|
9
|
-
Rack applications should conform to.
|
|
9
|
+
Rack applications should conform to. Browse the [Documentation] for more
|
|
10
|
+
information.
|
|
10
11
|
|
|
11
12
|
## Version support
|
|
12
13
|
|
|
13
14
|
| Version | Support |
|
|
14
15
|
|----------|------------------------------------|
|
|
15
|
-
| 3.
|
|
16
|
+
| 3.2.x | Bug fixes and security patches. |
|
|
17
|
+
| 3.1.x | Security patches only. |
|
|
18
|
+
| 3.0.x | End of support. |
|
|
16
19
|
| 2.2.x | Security patches only. |
|
|
17
20
|
| <= 2.1.x | End of support. |
|
|
18
21
|
|
|
22
|
+
**Rack 2.2.x is in security maintenance mode**. Please upgrade to Rack 3.1+ as soon
|
|
23
|
+
as possible to ensure you are receiving the latest features and security patches.
|
|
24
|
+
|
|
19
25
|
Please see the [Security Policy] for more information.
|
|
20
26
|
|
|
21
|
-
##
|
|
27
|
+
## Change log
|
|
28
|
+
|
|
29
|
+
See the [Changelog](CHANGELOG.md) for a detailed list of changes in each version of Rack.
|
|
30
|
+
|
|
31
|
+
### Rack 3.2 (latest release)
|
|
32
|
+
|
|
33
|
+
This version of rack contains bug fixes and security patches.
|
|
34
|
+
|
|
35
|
+
### Rack 3.1
|
|
36
|
+
|
|
37
|
+
This version of rack contains bug fixes and security patches.
|
|
38
|
+
|
|
39
|
+
### Rack 3.0
|
|
22
40
|
|
|
23
|
-
This
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
to Rack 3. For detailed information on specific changes, check the [Change Log](CHANGELOG.md).
|
|
41
|
+
This version of rack contains significant changes which are detailed in the
|
|
42
|
+
[Upgrade Guide](UPGRADE-GUIDE.md). It is recommended to upgrade to Rack 3 as soon
|
|
43
|
+
as possible to receive the latest features and security patches.
|
|
27
44
|
|
|
28
|
-
|
|
45
|
+
### Rack 2.2
|
|
29
46
|
|
|
30
47
|
This version of Rack is receiving security patches only, and effort should be
|
|
31
48
|
made to move to Rack 3.
|
|
@@ -69,6 +86,8 @@ server](#supported-web-servers).
|
|
|
69
86
|
```bash
|
|
70
87
|
$ gem install rackup
|
|
71
88
|
$ rackup
|
|
89
|
+
|
|
90
|
+
# In another shell:
|
|
72
91
|
$ curl http://localhost:9292
|
|
73
92
|
Hello World
|
|
74
93
|
```
|
|
@@ -83,6 +102,7 @@ Rack is supported by a wide range of servers, including:
|
|
|
83
102
|
* [NGINX Unit](https://unit.nginx.org/)
|
|
84
103
|
* [Phusion Passenger](https://www.phusionpassenger.com/) (which is mod_rack for
|
|
85
104
|
Apache and for nginx)
|
|
105
|
+
* [Pitchfork](https://github.com/Shopify/pitchfork)
|
|
86
106
|
* [Puma](https://puma.io/)
|
|
87
107
|
* [Thin](https://github.com/macournoyer/thin)
|
|
88
108
|
* [Unicorn](https://yhbt.net/unicorn/)
|
|
@@ -132,11 +152,9 @@ middleware:
|
|
|
132
152
|
* `Rack::ETag` for setting `etag` header on bodies that can be buffered.
|
|
133
153
|
* `Rack::Events` for providing easy hooks when a request is received and when
|
|
134
154
|
the response is sent.
|
|
135
|
-
* `Rack::Files` for serving static files.
|
|
136
155
|
* `Rack::Head` for returning an empty body for HEAD requests.
|
|
137
156
|
* `Rack::Lint` for checking conformance to the [Rack Specification].
|
|
138
157
|
* `Rack::Lock` for serializing requests using a mutex.
|
|
139
|
-
* `Rack::Logger` for setting a logger to handle logging errors.
|
|
140
158
|
* `Rack::MethodOverride` for modifying the request method based on a submitted
|
|
141
159
|
parameter.
|
|
142
160
|
* `Rack::Recursive` for including data from other paths in the application, and
|
|
@@ -150,7 +168,7 @@ middleware:
|
|
|
150
168
|
a nice and helpful way with clickable backtrace.
|
|
151
169
|
* `Rack::ShowStatus` for using nice error pages for empty client error
|
|
152
170
|
responses.
|
|
153
|
-
* `Rack::Static` for
|
|
171
|
+
* `Rack::Static` for configurable serving of static files.
|
|
154
172
|
* `Rack::TempfileReaper` for removing temporary files creating during a request.
|
|
155
173
|
|
|
156
174
|
All these components use the same interface, which is described in detail in the
|
|
@@ -172,6 +190,8 @@ quickly and without doing the same web stuff all over:
|
|
|
172
190
|
returns a not found or method not supported response.
|
|
173
191
|
* `Rack::Directory` for serving files under a given directory, with directory
|
|
174
192
|
indexes.
|
|
193
|
+
* `Rack::Files` for serving files under a given directory, without directory
|
|
194
|
+
indexes.
|
|
175
195
|
* `Rack::MediaType` for parsing content-type headers.
|
|
176
196
|
* `Rack::Mime` for determining content-type based on file extension.
|
|
177
197
|
* `Rack::RewindableInput` for making any IO object rewindable, using a temporary
|
|
@@ -183,6 +203,41 @@ quickly and without doing the same web stuff all over:
|
|
|
183
203
|
Rack exposes several configuration parameters to control various features of the
|
|
184
204
|
implementation.
|
|
185
205
|
|
|
206
|
+
### `RACK_QUERY_PARSER_BYTESIZE_LIMIT`
|
|
207
|
+
|
|
208
|
+
This environment variable sets the default for the maximum query string bytesize
|
|
209
|
+
that `Rack::QueryParser` will attempt to parse. Attempts to use a query string
|
|
210
|
+
that exceeds this number of bytes will result in a
|
|
211
|
+
`Rack::QueryParser::QueryLimitError` exception. If this enviroment variable is
|
|
212
|
+
provided, it must be an integer, or `Rack::QueryParser` will raise an exception.
|
|
213
|
+
|
|
214
|
+
The default limit can be overridden on a per-`Rack::QueryParser` basis using
|
|
215
|
+
the `bytesize_limit` keyword argument when creating the `Rack::QueryParser`.
|
|
216
|
+
|
|
217
|
+
### `RACK_QUERY_PARSER_PARAMS_LIMIT`
|
|
218
|
+
|
|
219
|
+
This environment variable sets the default for the maximum number of query
|
|
220
|
+
parameters that `Rack::QueryParser` will attempt to parse. Attempts to use a
|
|
221
|
+
query string with more than this many query parameters will result in a
|
|
222
|
+
`Rack::QueryParser::QueryLimitError` exception. If this enviroment variable is
|
|
223
|
+
provided, it must be an integer, or `Rack::QueryParser` will raise an exception.
|
|
224
|
+
|
|
225
|
+
The default limit can be overridden on a per-`Rack::QueryParser` basis using
|
|
226
|
+
the `params_limit` keyword argument when creating the `Rack::QueryParser`.
|
|
227
|
+
|
|
228
|
+
This is implemented by counting the number of parameter separators in the
|
|
229
|
+
query string, before attempting parsing, so if the same parameter key is
|
|
230
|
+
used multiple times in the query, each counts as a separate parameter for
|
|
231
|
+
this check.
|
|
232
|
+
|
|
233
|
+
### `RACK_MULTIPART_BUFFERED_UPLOAD_BYTESIZE_LIMIT`
|
|
234
|
+
|
|
235
|
+
This environment variable sets the maximum amount of memory Rack will use
|
|
236
|
+
to buffer multipart parameters when parsing a request body. This considers
|
|
237
|
+
the size of the multipart mime headers and the body part for multipart
|
|
238
|
+
parameters that are buffered in memory and do not use tempfiles. This
|
|
239
|
+
defaults to 16MB if not provided.
|
|
240
|
+
|
|
186
241
|
### `param_depth_limit`
|
|
187
242
|
|
|
188
243
|
```ruby
|
|
@@ -220,7 +275,6 @@ Can also be set via the `RACK_MULTIPART_FILE_LIMIT` environment variable.
|
|
|
220
275
|
|
|
221
276
|
(This is also aliased as `multipart_part_limit` and `RACK_MULTIPART_PART_LIMIT` for compatibility)
|
|
222
277
|
|
|
223
|
-
|
|
224
278
|
### `multipart_total_part_limit`
|
|
225
279
|
|
|
226
280
|
The maximum total number of parts a request can contain of any type, including
|
|
@@ -233,18 +287,12 @@ Set to 0 for no limit.
|
|
|
233
287
|
|
|
234
288
|
Can also be set via the `RACK_MULTIPART_TOTAL_PART_LIMIT` environment variable.
|
|
235
289
|
|
|
236
|
-
|
|
237
|
-
## Changelog
|
|
238
|
-
|
|
239
|
-
See [CHANGELOG.md](CHANGELOG.md).
|
|
240
|
-
|
|
241
290
|
## Contributing
|
|
242
291
|
|
|
243
292
|
See [CONTRIBUTING.md](CONTRIBUTING.md) for specific details about how to make a
|
|
244
293
|
contribution to Rack.
|
|
245
294
|
|
|
246
|
-
Please post bugs, suggestions and patches to [GitHub
|
|
247
|
-
Issues](https://github.com/rack/rack/issues).
|
|
295
|
+
Please post bugs, suggestions and patches to [GitHub Issues](https://github.com/rack/rack/issues).
|
|
248
296
|
|
|
249
297
|
Please check our [Security Policy](https://github.com/rack/rack/security/policy)
|
|
250
298
|
for responsible disclosure and security bug reporting process. Due to wide usage
|
|
@@ -254,6 +302,13 @@ is greatly appreciated.
|
|
|
254
302
|
|
|
255
303
|
## See Also
|
|
256
304
|
|
|
305
|
+
### `rackup`
|
|
306
|
+
|
|
307
|
+
A useful tool for running Rack applications from the command line, including
|
|
308
|
+
`Rackup::Server` (previously `Rack::Server`) for scripting servers.
|
|
309
|
+
|
|
310
|
+
* https://github.com/rack/rackup
|
|
311
|
+
|
|
257
312
|
### `rack-contrib`
|
|
258
313
|
|
|
259
314
|
The plethora of useful middleware created the need for a project that collects
|
|
@@ -324,5 +379,6 @@ would like to thank:
|
|
|
324
379
|
|
|
325
380
|
Rack is released under the [MIT License](MIT-LICENSE).
|
|
326
381
|
|
|
327
|
-
[Rack Specification]:
|
|
382
|
+
[Rack Specification]: https://rack.github.io/rack/main/SPEC_rdoc.html
|
|
383
|
+
[Documentation]: https://rack.github.io/rack/
|
|
328
384
|
[Security Policy]: SECURITY.md
|
|
@@ -24,6 +24,9 @@ css_select '.hello' # => Nokogiri::XML::NodeSet of elements with hello class
|
|
|
24
24
|
# select from a supplied node. assert_dom asserts elements exist.
|
|
25
25
|
assert_dom document_root_element.at('.hello'), '.goodbye'
|
|
26
26
|
|
|
27
|
+
# select from a supplied node. assert_not_dom asserts elements do not exist.
|
|
28
|
+
assert_not_dom document_root_element.at('.hello'), '.goodbye'
|
|
29
|
+
|
|
27
30
|
# elements in CDATA encoded sections can also be selected
|
|
28
31
|
assert_dom_encoded '#out-of-your-element'
|
|
29
32
|
|
|
@@ -1,3 +1,13 @@
|
|
|
1
|
+
## v1.7.0 / 2026-02-24
|
|
2
|
+
|
|
3
|
+
* Add `Rails::HTML::Sanitizer.allowed_uri?` which delegates to `Loofah::HTML5::Scrub.allowed_uri?`,
|
|
4
|
+
allowing the Rails framework to check URI safety without a direct dependency on Loofah.
|
|
5
|
+
|
|
6
|
+
The minimum Loofah dependency is now `~> 2.25`.
|
|
7
|
+
|
|
8
|
+
*Mike Dalessio*
|
|
9
|
+
|
|
10
|
+
|
|
1
11
|
## v1.6.2 / 2024-12-12
|
|
2
12
|
|
|
3
13
|
* `PermitScrubber` fully supports frozen "allowed tags".
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
# Rainbow changelog
|
|
2
|
+
|
|
3
|
+
## 3.1.0 (2020-08-26)
|
|
4
|
+
|
|
5
|
+
- added `cross_out` aka `strike`
|
|
6
|
+
- hexadecimal color names supported better, see #83
|
|
7
|
+
- gemspec: list files using a Ruby expression, avoiding git
|
|
8
|
+
|
|
9
|
+
## 3.0.0 (2017-11-29)
|
|
10
|
+
|
|
11
|
+
* added String refinement
|
|
12
|
+
* added new `Rainbow.uncolor` method
|
|
13
|
+
* dropped MRI 1.9.3 compatibility
|
|
14
|
+
* dropped MRI 2.0 compatibility
|
|
15
|
+
* removed Rake dependency
|
|
16
|
+
|
|
17
|
+
## 2.2.2 (2017-04-21)
|
|
18
|
+
|
|
19
|
+
* added explicit rake dependency to fix installation issue
|
|
20
|
+
|
|
21
|
+
## 2.2.1 (2016-12-28)
|
|
22
|
+
|
|
23
|
+
* fixed gem installation (2.2.0 was a broken release)
|
|
24
|
+
|
|
25
|
+
## 2.2.0 (2016-12-27)
|
|
26
|
+
|
|
27
|
+
* improved Windows support
|
|
28
|
+
* added Ruby 2.4 support
|
|
29
|
+
* added `bold` alias method for `bright`
|
|
30
|
+
|
|
31
|
+
## 2.1.0 (2016-01-24)
|
|
32
|
+
|
|
33
|
+
* added X11 color support
|
|
34
|
+
* fixed `require` issue when rainbow is used as a dependency in another gem
|
|
35
|
+
* improved Windows support
|
|
36
|
+
|
|
37
|
+
## 2.0.0 (2014-01-24)
|
|
38
|
+
|
|
39
|
+
* disable string mixin by default
|
|
40
|
+
|
|
41
|
+
## 1.99.2 (2014-01-24)
|
|
42
|
+
|
|
43
|
+
* bring back ruby 1.8 support
|
|
44
|
+
|
|
45
|
+
## 1.99.1 (2013-12-28)
|
|
46
|
+
|
|
47
|
+
* drop support for ruby 1.8
|
|
48
|
+
* `require "rainbow/string"` -> `require "rainbow/ext/string"`
|
|
49
|
+
* custom rainbow wrapper instances (with separate enabled/disabled state)
|
|
50
|
+
* shortcut methods for changing text color (`Rainbow("foo").red`)
|
|
51
|
+
|
|
52
|
+
## 1.99.0 (2013-12-26)
|
|
53
|
+
|
|
54
|
+
* preparation for dropping String monkey patching
|
|
55
|
+
* `require "rainbow/string"` if you want to use monkey patched String
|
|
56
|
+
* introduction of Rainbow() wrapper
|
|
57
|
+
* support for MRI 1.8.7, 1.9.2, 1.9.3, 2.0 and 2.1, JRuby and Rubinius
|
|
58
|
+
* deprecation of Sickill::Rainbow namespace (use Rainbow.enabled = true instead)
|
|
59
|
+
|
|
60
|
+
## 1.1.4 (2012-4-28)
|
|
61
|
+
|
|
62
|
+
* option for forcing coloring even when STDOUT is not a TTY (CLICOLOR_FORCE env var)
|
|
63
|
+
* fix for frozen strings
|
|
64
|
+
|
|
65
|
+
## 1.1.3 (2011-12-6)
|
|
66
|
+
|
|
67
|
+
* improved compatibility with MRI 1.8.7
|
|
68
|
+
* fix for regression with regards to original string mutation
|
|
69
|
+
|
|
70
|
+
## 1.1.2 (2011-11-13)
|
|
71
|
+
|
|
72
|
+
* improved compatibility with MRI 1.9.3
|
|
73
|
+
|
|
74
|
+
## 1.1.1 (2011-2-7)
|
|
75
|
+
|
|
76
|
+
* improved Windows support
|
|
77
|
+
|
|
78
|
+
## 1.1 (2010-6-7)
|
|
79
|
+
|
|
80
|
+
* option for enabling/disabling of escape code wrapping
|
|
81
|
+
* auto-disabling when STDOUT is not a TTY
|
|
82
|
+
|
|
83
|
+
## 1.0.4 (2009-11-27)
|
|
84
|
+
|
|
85
|
+
* support for 256 colors
|
|
86
|
+
|
|
87
|
+
## 1.0.3 (2009-7-26)
|
|
88
|
+
|
|
89
|
+
* rainbow methods don't mutate the original string object anymore
|
|
90
|
+
|
|
91
|
+
## 1.0.2 (2009-5-15)
|
|
92
|
+
|
|
93
|
+
* improved support for ruby 1.8.6 and 1.9.1
|
|
94
|
+
|
|
95
|
+
## 1.0.1 (2009-3-19)
|
|
96
|
+
|
|
97
|
+
* Windows support
|
|
98
|
+
|
|
99
|
+
## 1.0.0 (2008-7-21)
|
|
100
|
+
|
|
101
|
+
* initial version
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
Copyright (c) Marcin Kulik
|
|
2
|
+
|
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
4
|
+
a copy of this software and associated documentation files (the
|
|
5
|
+
"Software"), to deal in the Software without restriction, including
|
|
6
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
|
7
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
|
8
|
+
permit persons to whom the Software is furnished to do so, subject to
|
|
9
|
+
the following conditions:
|
|
10
|
+
|
|
11
|
+
The above copyright notice and this permission notice shall be
|
|
12
|
+
included in all copies or substantial portions of the Software.
|
|
13
|
+
|
|
14
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
15
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
16
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
17
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
|
18
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
19
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
|
20
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
@@ -0,0 +1,227 @@
|
|
|
1
|
+
# Rainbow
|
|
2
|
+
|
|
3
|
+
[](https://rubygems.org/gems/rainbow)
|
|
4
|
+
[](https://travis-ci.org/sickill/rainbow)
|
|
5
|
+
[](https://ci.appveyor.com/project/sickill/rainbow)
|
|
6
|
+
[](https://codeclimate.com/github/sickill/rainbow)
|
|
7
|
+
[](https://coveralls.io/r/sickill/rainbow)
|
|
8
|
+
|
|
9
|
+
Rainbow is a ruby gem for colorizing printed text on ANSI terminals.
|
|
10
|
+
|
|
11
|
+
It provides a string presenter object, which adds several methods to your
|
|
12
|
+
strings for wrapping them in [ANSI escape
|
|
13
|
+
codes](http://en.wikipedia.org/wiki/ANSI_escape_code). These codes when printed
|
|
14
|
+
in a terminal change text attributes like text color, background color,
|
|
15
|
+
intensity etc.
|
|
16
|
+
|
|
17
|
+
## Usage
|
|
18
|
+
|
|
19
|
+
To make your string colored wrap it with `Rainbow()` presenter and call
|
|
20
|
+
`.color(<color name>)` on it.
|
|
21
|
+
|
|
22
|
+
### Example
|
|
23
|
+
|
|
24
|
+
```ruby
|
|
25
|
+
require 'rainbow'
|
|
26
|
+
|
|
27
|
+
puts Rainbow("this is red").red + " and " + Rainbow("this on yellow bg").bg(:yellow) + " and " + Rainbow("even bright underlined!").underline.bright
|
|
28
|
+
|
|
29
|
+
# => "\e[31mthis is red\e[0m and \e[43mthis on yellow bg\e[0m and \e[4m\e[1meven bright underlined!\e[0m"
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+

|
|
33
|
+
|
|
34
|
+
Or, [watch this video example](https://asciinema.org/a/J928KpHoUQ0sl54ulOSOLE71E?rows=20&speed=2.5)
|
|
35
|
+
|
|
36
|
+
### Rainbow presenter API
|
|
37
|
+
|
|
38
|
+
Rainbow presenter adds the following methods to presented string:
|
|
39
|
+
|
|
40
|
+
* `color(c)` (with `foreground`, and `fg` aliases)
|
|
41
|
+
* `background(c)` (with `bg` alias)
|
|
42
|
+
* `bright`
|
|
43
|
+
* `underline`
|
|
44
|
+
* `blink`
|
|
45
|
+
* `inverse`
|
|
46
|
+
* `hide`
|
|
47
|
+
* `faint` (not well supported by terminal emulators)
|
|
48
|
+
* `italic` (not well supported by terminal emulators)
|
|
49
|
+
* `cross_out`, `strike`
|
|
50
|
+
|
|
51
|
+
Text color can also be changed by calling a method named by a color:
|
|
52
|
+
|
|
53
|
+
* `black`
|
|
54
|
+
* `red`
|
|
55
|
+
* `green`
|
|
56
|
+
* `yellow`
|
|
57
|
+
* `blue`
|
|
58
|
+
* `magenta`
|
|
59
|
+
* `cyan`
|
|
60
|
+
* `white`
|
|
61
|
+
* `aqua`
|
|
62
|
+
* `silver`
|
|
63
|
+
* `aliceblue`
|
|
64
|
+
* `indianred`
|
|
65
|
+
|
|
66
|
+
All of the methods return `self` (the presenter object) so you can chain method
|
|
67
|
+
calls:
|
|
68
|
+
|
|
69
|
+
```ruby
|
|
70
|
+
Rainbow("hola!").blue.bright.underline
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
### Refinement
|
|
74
|
+
|
|
75
|
+
If you want to use the Refinements version, you can:
|
|
76
|
+
|
|
77
|
+
```ruby
|
|
78
|
+
require 'rainbow/refinement'
|
|
79
|
+
using Rainbow
|
|
80
|
+
puts "Hi!".green
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
Here's an IRB session example:
|
|
84
|
+
|
|
85
|
+
```
|
|
86
|
+
>> 'Hello, World!'.blue.bright.underline
|
|
87
|
+
NoMethodError: undefined method `blue' for "Hello, World!":String
|
|
88
|
+
(ripl):1:in `<main>'
|
|
89
|
+
>> using Rainbow
|
|
90
|
+
=> main
|
|
91
|
+
>> 'Hello, World!'.blue.bright.underline
|
|
92
|
+
=> "\e[34m\e[1m\e[4mHello, World!\e[0m"
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
### Color specification
|
|
96
|
+
|
|
97
|
+
Both `color` and `background` accept color specified in any
|
|
98
|
+
of the following ways:
|
|
99
|
+
|
|
100
|
+
* ANSI color number (where 0 is black, 1 is red, 2 is green and so on):
|
|
101
|
+
`Rainbow("hello").color(1)`
|
|
102
|
+
|
|
103
|
+
* [ANSI color](https://en.wikipedia.org/wiki/ANSI_escape_code#Colors) name or [X11 color](https://en.wikipedia.org/wiki/X11_color_names) name as a symbol:
|
|
104
|
+
`Rainbow("hello").color(:yellow)`.
|
|
105
|
+
This can be simplified to `Rainbow("hello").yellow`
|
|
106
|
+
|
|
107
|
+
See [Color list](#user-content-color-list) for all available color names.
|
|
108
|
+
Note that ANSI colors can be changed in accordance with terminal setting.
|
|
109
|
+
But X11 color is just a syntax sugar for RGB triplet. So you always see what you specified.
|
|
110
|
+
|
|
111
|
+
* RGB triplet as separate values in the range 0-255:
|
|
112
|
+
`Rainbow("hello").color(115, 23, 98)`
|
|
113
|
+
|
|
114
|
+
* RGB triplet as a hex string:
|
|
115
|
+
`Rainbow("hello").color("FFC482")` or `Rainbow("hello").color("#FFC482")`
|
|
116
|
+
|
|
117
|
+
When you specify a color with a RGB triplet rainbow finds the nearest match
|
|
118
|
+
from 256 colors palette. Note that it requires a 256-colors capable terminal to
|
|
119
|
+
display correctly.
|
|
120
|
+
|
|
121
|
+
#### Example: Choose a random color
|
|
122
|
+
|
|
123
|
+
You can pick a random color with Rainbow, it's a one-liner:
|
|
124
|
+
|
|
125
|
+
```ruby
|
|
126
|
+
colors = Range.new(0,7).to_a
|
|
127
|
+
"whoop dee doop".chars.map { |char| Rainbow(char).color(colors.sample) }.join
|
|
128
|
+
# => "\e[36mw\e[0m\e[37mh\e[0m\e[34mo\e[0m\e[34mo\e[0m\e[37mp\e[0m\e[34m \e[0m\e[36md\e[0m\e[33me\e[0m\e[34me\e[0m\e[37m \e[0m\e[32md\e[0m\e[35mo\e[0m\e[33mo\e[0m\e[36mp\e[0m"
|
|
129
|
+
|
|
130
|
+
colors = [:aliceblue, :antiquewhite, :aqua, :aquamarine, :azure, :beige, :bisque, :blanchedalmond, :blueviolet]
|
|
131
|
+
"whoop dee doop".chars.map { |char| Rainbow(char).color(colors.sample) }.join
|
|
132
|
+
# => "\e[38;5;135mw\e[0m\e[38;5;230mh\e[0m\e[38;5;231mo\e[0m\e[38;5;135mo\e[0m\e[38;5;231mp\e[0m\e[38;5;231m \e[0m\e[38;5;122md\e[0m\e[38;5;231me\e[0m\e[38;5;231me\e[0m\e[38;5;230m \e[0m\e[38;5;122md\e[0m\e[38;5;51mo\e[0m\e[38;5;51mo\e[0m\e[38;5;51mp\e[0m"
|
|
133
|
+
```
|
|
134
|
+
|
|
135
|
+
### Configuration
|
|
136
|
+
|
|
137
|
+
Rainbow can be enabled/disabled globally by setting:
|
|
138
|
+
|
|
139
|
+
```ruby
|
|
140
|
+
Rainbow.enabled = true/false
|
|
141
|
+
```
|
|
142
|
+
|
|
143
|
+
When disabled all the methods return an unmodified string
|
|
144
|
+
(`Rainbow("hello").red == "hello"`).
|
|
145
|
+
|
|
146
|
+
It's enabled by default, unless STDOUT/STDERR is not a TTY or a terminal is
|
|
147
|
+
dumb.
|
|
148
|
+
|
|
149
|
+
### Advanced usage
|
|
150
|
+
|
|
151
|
+
`Rainbow()` and `Rainbow.enabled` operate on the global Rainbow wrapper
|
|
152
|
+
instance. If you would like to selectively enable/disable coloring in separate
|
|
153
|
+
parts of your application you can get a new Rainbow wrapper instance for each
|
|
154
|
+
of them and control the state of coloring during the runtime.
|
|
155
|
+
|
|
156
|
+
```ruby
|
|
157
|
+
rainbow_one = Rainbow.new
|
|
158
|
+
rainbow_two = Rainbow.new
|
|
159
|
+
|
|
160
|
+
rainbow_one.enabled = false
|
|
161
|
+
|
|
162
|
+
Rainbow("hello").red # => "\e[31mhello\e[0m" ("hello" if not on TTY)
|
|
163
|
+
rainbow_one.wrap("hello").red # => "hello"
|
|
164
|
+
rainbow_two.wrap("hello").red # => "\e[31mhello\e[0m" ("hello" if not on TTY)
|
|
165
|
+
```
|
|
166
|
+
|
|
167
|
+
By default each new instance inherits enabled/disabled state from the global
|
|
168
|
+
`Rainbow.enabled`.
|
|
169
|
+
|
|
170
|
+
This feature comes handy for example when you have multiple output formatters
|
|
171
|
+
in your application and some of them print to a terminal but others write to a
|
|
172
|
+
file. Normally rainbow would detect that STDIN/STDERR is a TTY and would
|
|
173
|
+
colorize all the strings, even the ones that go through file writing
|
|
174
|
+
formatters. You can easily solve that by disabling coloring for the Rainbow
|
|
175
|
+
instances that are used by formatters with file output.
|
|
176
|
+
|
|
177
|
+
## Installation
|
|
178
|
+
|
|
179
|
+
Add it to your Gemfile:
|
|
180
|
+
|
|
181
|
+
```ruby
|
|
182
|
+
gem 'rainbow'
|
|
183
|
+
```
|
|
184
|
+
|
|
185
|
+
Or just install it via rubygems:
|
|
186
|
+
|
|
187
|
+
```ruby
|
|
188
|
+
gem install rainbow
|
|
189
|
+
```
|
|
190
|
+
|
|
191
|
+
## Color list
|
|
192
|
+
|
|
193
|
+
### ANSI colors
|
|
194
|
+
|
|
195
|
+
`black`, `red`, `green`, `yellow`, `blue`, `magenta`, `cyan`, `white`
|
|
196
|
+
|
|
197
|
+
### X11 colors
|
|
198
|
+
|
|
199
|
+
`aliceblue`, `antiquewhite`, `aqua`, `aquamarine`, `azure`, `beige`, `bisque`,
|
|
200
|
+
`blanchedalmond`, `blueviolet`, `brown`, `burlywood`, `cadetblue`, `chartreuse`,
|
|
201
|
+
`chocolate`, `coral`, `cornflower`, `cornsilk`, `crimson`, `darkblue`,
|
|
202
|
+
`darkcyan`, `darkgoldenrod`, `darkgray`, `darkgreen`, `darkkhaki`,
|
|
203
|
+
`darkmagenta`, `darkolivegreen`, `darkorange`, `darkorchid`, `darkred`,
|
|
204
|
+
`darksalmon`, `darkseagreen`, `darkslateblue`, `darkslategray`, `darkturquoise`,
|
|
205
|
+
`darkviolet`, `deeppink`, `deepskyblue`, `dimgray`, `dodgerblue`, `firebrick`,
|
|
206
|
+
`floralwhite`, `forestgreen`, `fuchsia`, `gainsboro`, `ghostwhite`, `gold`,
|
|
207
|
+
`goldenrod`, `gray`, `greenyellow`, `honeydew`, `hotpink`, `indianred`,
|
|
208
|
+
`indigo`, `ivory`, `khaki`, `lavender`, `lavenderblush`, `lawngreen`,
|
|
209
|
+
`lemonchiffon`, `lightblue`, `lightcoral`, `lightcyan`, `lightgoldenrod`,
|
|
210
|
+
`lightgray`, `lightgreen`, `lightpink`, `lightsalmon`, `lightseagreen`,
|
|
211
|
+
`lightskyblue`, `lightslategray`, `lightsteelblue`, `lightyellow`, `lime`,
|
|
212
|
+
`limegreen`, `linen`, `maroon`, `mediumaquamarine`, `mediumblue`,
|
|
213
|
+
`mediumorchid`, `mediumpurple`, `mediumseagreen`, `mediumslateblue`,
|
|
214
|
+
`mediumspringgreen`, `mediumturquoise`, `mediumvioletred`, `midnightblue`,
|
|
215
|
+
`mintcream`, `mistyrose`, `moccasin`, `navajowhite`, `navyblue`, `oldlace`,
|
|
216
|
+
`olive`, `olivedrab`, `orange`, `orangered`, `orchid`, `palegoldenrod`,
|
|
217
|
+
`palegreen`, `paleturquoise`, `palevioletred`, `papayawhip`, `peachpuff`,
|
|
218
|
+
`peru`, `pink`, `plum`, `powderblue`, `purple`, `rebeccapurple`, `rosybrown`,
|
|
219
|
+
`royalblue`, `saddlebrown`, `salmon`, `sandybrown`, `seagreen`, `seashell`,
|
|
220
|
+
`sienna`, `silver`, `skyblue`, `slateblue`, `slategray`, `snow`, `springgreen`,
|
|
221
|
+
`steelblue`, `tan`, `teal`, `thistle`, `tomato`, `turquoise`, `violet`,
|
|
222
|
+
`webgray`, `webgreen`, `webmaroon`, `webpurple`, `wheat`, `whitesmoke`,
|
|
223
|
+
`yellowgreen`
|
|
224
|
+
|
|
225
|
+
## Authors
|
|
226
|
+
|
|
227
|
+
[Marcin Kulik](http://ku1ik.com/) and [great open-source contributors](https://github.com/sickill/rainbow/graphs/contributors).
|
|
@@ -74,10 +74,10 @@ Type "rake --help" for all available options.
|
|
|
74
74
|
|
|
75
75
|
=== Rake Information
|
|
76
76
|
|
|
77
|
-
* {Rake command-line}[
|
|
78
|
-
* {Writing Rakefiles}[
|
|
79
|
-
* The original {Rake announcement}[
|
|
80
|
-
* Rake {glossary}[
|
|
77
|
+
* {Rake command-line}[rdoc-ref:doc/command_line_usage.rdoc]
|
|
78
|
+
* {Writing Rakefiles}[rdoc-ref:doc/rakefile.rdoc]
|
|
79
|
+
* The original {Rake announcement}[rdoc-ref:doc/rational.rdoc]
|
|
80
|
+
* Rake {glossary}[rdoc-ref:doc/glossary.rdoc]
|
|
81
81
|
|
|
82
82
|
=== Presentations and Articles about Rake
|
|
83
83
|
|
|
@@ -148,7 +148,7 @@ February 2014. This repository was originally hosted at
|
|
|
148
148
|
with his passing, has been moved to {ruby/rake}[https://github.com/ruby/rake].
|
|
149
149
|
|
|
150
150
|
You can view Jim's last commit here:
|
|
151
|
-
https://github.com/jimweirich/rake/
|
|
151
|
+
https://github.com/jimweirich/rake/commit/336559f28f55bce418e2ebcc0a57548dcbac4025
|
|
152
152
|
|
|
153
153
|
You can {read more about Jim}[https://en.wikipedia.org/wiki/Jim_Weirich] at Wikipedia.
|
|
154
154
|
|
|
@@ -25,9 +25,9 @@ Gem::Specification.new do |s|
|
|
|
25
25
|
|
|
26
26
|
s.metadata = {
|
|
27
27
|
"bug_tracker_uri" => "https://github.com/ruby/rake/issues",
|
|
28
|
-
"changelog_uri" => "https://github.com/ruby/rake/
|
|
28
|
+
"changelog_uri" => "https://github.com/ruby/rake/releases",
|
|
29
29
|
"documentation_uri" => "https://ruby.github.io/rake",
|
|
30
|
-
"source_code_uri" =>
|
|
30
|
+
"source_code_uri" => s.homepage
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
s.files = [
|
|
@@ -70,6 +70,7 @@ Gem::Specification.new do |s|
|
|
|
70
70
|
"lib/rake/loaders/makefile.rb",
|
|
71
71
|
"lib/rake/multi_task.rb",
|
|
72
72
|
"lib/rake/name_space.rb",
|
|
73
|
+
"lib/rake/options.rb",
|
|
73
74
|
"lib/rake/packagetask.rb",
|
|
74
75
|
"lib/rake/phony.rb",
|
|
75
76
|
"lib/rake/private_reader.rb",
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Gem::Specification.new do |spec|
|
|
4
4
|
spec.name = 'rake-release'
|
|
5
|
-
spec.version = '1.
|
|
5
|
+
spec.version = '1.4.0'
|
|
6
6
|
spec.authors = ['Jan Graichen']
|
|
7
7
|
spec.email = ['jgraichen@altimos.de']
|
|
8
8
|
spec.licenses = ['MIT']
|
|
@@ -11,13 +11,13 @@ Gem::Specification.new do |spec|
|
|
|
11
11
|
spec.description = 'Configurable fork of bundlers release tasks.'
|
|
12
12
|
spec.homepage = 'https://github.com/jgraichen/rake-release'
|
|
13
13
|
|
|
14
|
+
spec.metadata['rubygems_mfa_required'] = 'true'
|
|
15
|
+
|
|
14
16
|
spec.files = `git ls-files -z`.split("\x0").reject {|f| f.match(%r{^(test|spec|features)/}) }
|
|
15
17
|
spec.executables = spec.files.grep(%r{^bin/}) {|f| File.basename(f) }
|
|
16
18
|
spec.require_paths = %w[lib]
|
|
17
19
|
|
|
18
20
|
spec.required_ruby_version = '>= 2.5'
|
|
19
21
|
|
|
20
|
-
spec.add_dependency 'bundler', '>= 1.11', '<
|
|
21
|
-
|
|
22
|
-
spec.add_development_dependency 'bundler', '>= 1.11', '< 3'
|
|
22
|
+
spec.add_dependency 'bundler', '>= 1.11', '< 5'
|
|
23
23
|
end
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
Copyright (c) 2010, 2012-2025, Ammar Ali
|
|
2
|
+
|
|
3
|
+
Permission is hereby granted, free of charge, to any person
|
|
4
|
+
obtaining a copy of this software and associated documentation
|
|
5
|
+
files (the "Software"), to deal in the Software without
|
|
6
|
+
restriction, including without limitation the rights to use,
|
|
7
|
+
copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
8
|
+
copies of the Software, and to permit persons to whom the
|
|
9
|
+
Software is furnished to do so, subject to the following
|
|
10
|
+
conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be
|
|
13
|
+
included in all copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
16
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
|
|
17
|
+
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
18
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
|
|
19
|
+
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
20
|
+
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
21
|
+
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
|
22
|
+
OTHER DEALINGS IN THE SOFTWARE.
|