rails-rfc6570 3.1.0 → 3.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/README.md +2 -1
- data/lib/rails/rfc6570/version.rb +1 -1
- data/rails-rfc6570.gemspec +2 -2
- data/spec/spec_helper.rb +8 -5
- data/vendor/bundle/ruby/3.3.0/bundler/gems/rubocop-config-943facea9d8f/LICENSE +21 -0
- data/vendor/bundle/ruby/3.3.0/bundler/gems/rubocop-config-943facea9d8f/README.md +23 -0
- data/vendor/bundle/ruby/3.3.0/bundler/gems/rubocop-config-943facea9d8f/rubocop-config.gemspec +31 -0
- data/vendor/bundle/ruby/3.3.0/gems/actionpack-7.2.1/CHANGELOG.md +154 -0
- data/vendor/bundle/ruby/3.3.0/gems/actionpack-7.2.1/MIT-LICENSE +21 -0
- data/vendor/bundle/ruby/3.3.0/gems/actionpack-7.2.1/README.rdoc +57 -0
- data/vendor/bundle/ruby/3.3.0/gems/actionview-7.2.1/CHANGELOG.md +113 -0
- data/vendor/bundle/ruby/3.3.0/gems/actionview-7.2.1/MIT-LICENSE +21 -0
- data/vendor/bundle/ruby/3.3.0/gems/actionview-7.2.1/README.rdoc +40 -0
- data/vendor/bundle/ruby/3.3.0/gems/activesupport-7.2.1/CHANGELOG.md +258 -0
- data/vendor/bundle/ruby/3.3.0/gems/activesupport-7.2.1/MIT-LICENSE +20 -0
- data/vendor/bundle/ruby/3.3.0/gems/activesupport-7.2.1/README.rdoc +40 -0
- data/vendor/bundle/ruby/3.3.0/gems/addressable-2.8.7/CHANGELOG.md +301 -0
- data/vendor/bundle/ruby/3.3.0/gems/addressable-2.8.7/LICENSE.txt +202 -0
- data/vendor/bundle/ruby/3.3.0/gems/addressable-2.8.7/README.md +121 -0
- data/vendor/bundle/ruby/3.3.0/gems/addressable-2.8.7/addressable.gemspec +28 -0
- data/vendor/bundle/ruby/3.3.0/gems/appraisal-2.5.0/MIT-LICENSE +21 -0
- data/vendor/bundle/ruby/3.3.0/gems/appraisal-2.5.0/README.md +243 -0
- data/vendor/bundle/ruby/3.3.0/gems/appraisal-2.5.0/appraisal.gemspec +29 -0
- data/vendor/bundle/ruby/3.3.0/gems/ast-2.4.2/LICENSE.MIT +20 -0
- data/vendor/bundle/ruby/3.3.0/gems/ast-2.4.2/README.YARD.md +12 -0
- data/vendor/bundle/ruby/3.3.0/gems/benchmark-ips-2.13.0/LICENSE +20 -0
- data/vendor/bundle/ruby/3.3.0/gems/benchmark-ips-2.13.0/README.md +279 -0
- data/vendor/bundle/ruby/3.3.0/gems/bigdecimal-3.1.8/LICENSE +56 -0
- data/vendor/bundle/ruby/3.3.0/gems/bigdecimal-3.1.8/bigdecimal.gemspec +57 -0
- data/vendor/bundle/ruby/3.3.0/gems/builder-3.3.0/MIT-LICENSE +20 -0
- data/vendor/bundle/ruby/3.3.0/gems/builder-3.3.0/README.md +258 -0
- data/vendor/bundle/ruby/3.3.0/gems/builder-3.3.0/builder.gemspec +49 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/CHANGELOG.md +934 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/LICENSE +23 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/README.md +199 -0
- data/vendor/bundle/ruby/3.3.0/gems/coderay-1.1.3/MIT-LICENSE +22 -0
- data/vendor/bundle/ruby/3.3.0/gems/coderay-1.1.3/README_INDEX.rdoc +123 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/CHANGELOG.md +593 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/LICENSE.txt +21 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/README.md +407 -0
- data/vendor/bundle/ruby/3.3.0/gems/connection_pool-2.4.1/LICENSE +20 -0
- data/vendor/bundle/ruby/3.3.0/gems/connection_pool-2.4.1/README.md +135 -0
- data/vendor/bundle/ruby/3.3.0/gems/connection_pool-2.4.1/connection_pool.gemspec +24 -0
- data/vendor/bundle/ruby/3.3.0/gems/crass-1.0.6/LICENSE +18 -0
- data/vendor/bundle/ruby/3.3.0/gems/crass-1.0.6/README.md +192 -0
- data/vendor/bundle/ruby/3.3.0/gems/crass-1.0.6/crass.gemspec +31 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.5.1/README.rdoc +84 -0
- data/vendor/bundle/ruby/3.3.0/gems/docile-1.4.1/LICENSE +21 -0
- data/vendor/bundle/ruby/3.3.0/gems/docile-1.4.1/README.md +409 -0
- data/vendor/bundle/ruby/3.3.0/gems/docile-1.4.1/docile.gemspec +36 -0
- data/vendor/bundle/ruby/3.3.0/gems/drb-2.2.1/LICENSE.txt +22 -0
- data/vendor/bundle/ruby/3.3.0/gems/drb-2.2.1/drb.gemspec +41 -0
- data/vendor/bundle/ruby/3.3.0/gems/erubi-1.13.0/CHANGELOG +107 -0
- data/vendor/bundle/ruby/3.3.0/gems/erubi-1.13.0/MIT-LICENSE +21 -0
- data/vendor/bundle/ruby/3.3.0/gems/erubi-1.13.0/README.rdoc +151 -0
- data/vendor/bundle/ruby/3.3.0/gems/i18n-1.14.5/MIT-LICENSE +20 -0
- data/vendor/bundle/ruby/3.3.0/gems/i18n-1.14.5/README.md +127 -0
- data/vendor/bundle/ruby/3.3.0/gems/io-console-0.7.2/LICENSE.txt +22 -0
- data/vendor/bundle/ruby/3.3.0/gems/io-console-0.7.2/README.md +46 -0
- data/vendor/bundle/ruby/3.3.0/gems/irb-1.14.0/LICENSE.txt +22 -0
- data/vendor/bundle/ruby/3.3.0/gems/irb-1.14.0/README.md +405 -0
- data/vendor/bundle/ruby/3.3.0/gems/irb-1.14.0/irb.gemspec +46 -0
- data/vendor/bundle/ruby/3.3.0/gems/json-2.7.2/LICENSE +56 -0
- data/vendor/bundle/ruby/3.3.0/gems/json-2.7.2/README.md +416 -0
- data/vendor/bundle/ruby/3.3.0/gems/json-2.7.2/json.gemspec +68 -0
- data/vendor/bundle/ruby/3.3.0/gems/language_server-protocol-3.17.0.3/LICENSE.txt +21 -0
- data/vendor/bundle/ruby/3.3.0/gems/language_server-protocol-3.17.0.3/README.md +88 -0
- data/vendor/bundle/ruby/3.3.0/gems/loofah-2.22.0/CHANGELOG.md +566 -0
- data/vendor/bundle/ruby/3.3.0/gems/loofah-2.22.0/MIT-LICENSE.txt +23 -0
- data/vendor/bundle/ruby/3.3.0/gems/loofah-2.22.0/README.md +363 -0
- data/vendor/bundle/ruby/3.3.0/gems/method_source-1.1.0/CHANGELOG.md +15 -0
- data/vendor/bundle/ruby/3.3.0/gems/method_source-1.1.0/LICENSE +22 -0
- data/vendor/bundle/ruby/3.3.0/gems/method_source-1.1.0/README.markdown +101 -0
- data/vendor/bundle/ruby/3.3.0/gems/method_source-1.1.0/method_source.gemspec +19 -0
- data/vendor/bundle/ruby/3.3.0/gems/minitest-5.25.1/README.rdoc +835 -0
- data/vendor/bundle/ruby/3.3.0/gems/nokogiri-1.16.7-x86_64-linux/LICENSE-DEPENDENCIES.md +2224 -0
- data/vendor/bundle/ruby/3.3.0/gems/nokogiri-1.16.7-x86_64-linux/LICENSE.md +9 -0
- data/vendor/bundle/ruby/3.3.0/gems/nokogiri-1.16.7-x86_64-linux/README.md +290 -0
- data/vendor/bundle/ruby/3.3.0/gems/parallel-1.26.3/MIT-LICENSE.txt +20 -0
- data/vendor/bundle/ruby/3.3.0/gems/parser-3.3.4.2/LICENSE.txt +25 -0
- data/vendor/bundle/ruby/3.3.0/gems/parser-3.3.4.2/parser.gemspec +43 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/CHANGELOG.md +1141 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/LICENSE +25 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/README.md +466 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/slop/LICENSE +20 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-byebug-3.10.1/CHANGELOG.md +230 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-byebug-3.10.1/LICENSE +20 -0
- data/vendor/bundle/ruby/3.3.0/gems/pry-byebug-3.10.1/README.md +189 -0
- data/vendor/bundle/ruby/3.3.0/gems/public_suffix-6.0.1/CHANGELOG.md +491 -0
- data/vendor/bundle/ruby/3.3.0/gems/public_suffix-6.0.1/LICENSE.txt +22 -0
- data/vendor/bundle/ruby/3.3.0/gems/public_suffix-6.0.1/README.md +222 -0
- data/vendor/bundle/ruby/3.3.0/gems/racc-1.8.1/README.ja.rdoc +58 -0
- data/vendor/bundle/ruby/3.3.0/gems/racc-1.8.1/README.rdoc +60 -0
- data/vendor/bundle/ruby/3.3.0/gems/rack-3.1.7/CHANGELOG.md +994 -0
- data/vendor/bundle/ruby/3.3.0/gems/rack-3.1.7/MIT-LICENSE +20 -0
- data/vendor/bundle/ruby/3.3.0/gems/rack-3.1.7/README.md +328 -0
- data/vendor/bundle/ruby/3.3.0/gems/rack-test-2.1.0/MIT-LICENSE.txt +20 -0
- data/vendor/bundle/ruby/3.3.0/gems/rack-test-2.1.0/README.md +139 -0
- data/vendor/bundle/ruby/3.3.0/gems/rails-dom-testing-2.2.0/MIT-LICENSE +23 -0
- data/vendor/bundle/ruby/3.3.0/gems/rails-dom-testing-2.2.0/README.md +91 -0
- data/vendor/bundle/ruby/3.3.0/gems/rails-html-sanitizer-1.6.0/CHANGELOG.md +201 -0
- data/vendor/bundle/ruby/3.3.0/gems/rails-html-sanitizer-1.6.0/MIT-LICENSE +23 -0
- data/vendor/bundle/ruby/3.3.0/gems/rails-html-sanitizer-1.6.0/README.md +271 -0
- data/vendor/bundle/ruby/3.3.0/gems/railties-7.2.1/CHANGELOG.md +361 -0
- data/vendor/bundle/ruby/3.3.0/gems/railties-7.2.1/MIT-LICENSE +20 -0
- data/vendor/bundle/ruby/3.3.0/gems/railties-7.2.1/README.rdoc +39 -0
- data/vendor/bundle/ruby/3.3.0/gems/railties-7.2.1/lib/rails/generators/rails/app/templates/README.md.tt +24 -0
- data/vendor/bundle/ruby/3.3.0/gems/railties-7.2.1/lib/rails/generators/rails/plugin/templates/%name%.gemspec.tt +28 -0
- data/vendor/bundle/ruby/3.3.0/gems/railties-7.2.1/lib/rails/generators/rails/plugin/templates/MIT-LICENSE.tt +20 -0
- data/vendor/bundle/ruby/3.3.0/gems/railties-7.2.1/lib/rails/generators/rails/plugin/templates/README.md.tt +28 -0
- data/vendor/bundle/ruby/3.3.0/gems/rainbow-3.1.1/LICENSE +20 -0
- data/vendor/bundle/ruby/3.3.0/gems/rainbow-3.1.1/README.markdown +227 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.2.1/MIT-LICENSE +21 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.2.1/README.rdoc +155 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.2.1/rake.gemspec +101 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-release-1.3.0/LICENSE +21 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-release-1.3.0/README.md +107 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-release-1.3.0/rake-release.gemspec +23 -0
- data/vendor/bundle/ruby/3.3.0/gems/rdoc-6.7.0/LICENSE.rdoc +57 -0
- data/vendor/bundle/ruby/3.3.0/gems/rdoc-6.7.0/README.rdoc +129 -0
- data/vendor/bundle/ruby/3.3.0/gems/regexp_parser-2.9.2/LICENSE +22 -0
- data/vendor/bundle/ruby/3.3.0/gems/regexp_parser-2.9.2/regexp_parser.gemspec +34 -0
- data/vendor/bundle/ruby/3.3.0/gems/reline-0.5.9/README.md +94 -0
- data/vendor/bundle/ruby/3.3.0/gems/rexml-3.3.6/LICENSE.txt +22 -0
- data/vendor/bundle/ruby/3.3.0/gems/rexml-3.3.6/README.md +57 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-3.13.0/LICENSE.md +27 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-3.13.0/README.md +47 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.0/LICENSE.md +26 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.0/README.md +389 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-expectations-3.13.2/LICENSE.md +25 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-expectations-3.13.2/README.md +326 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-mocks-3.13.1/LICENSE.md +25 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-mocks-3.13.1/README.md +465 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-rails-6.1.4/LICENSE.md +25 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-rails-6.1.4/README.md +381 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-support-3.13.1/LICENSE.md +23 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-support-3.13.1/README.md +40 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-1.65.1/LICENSE.txt +20 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-1.65.1/README.md +251 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-ast-1.32.1/LICENSE.txt +20 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-ast-1.32.1/README.md +56 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-capybara-2.21.0/CHANGELOG.md +85 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-capybara-2.21.0/MIT-LICENSE.md +21 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-capybara-2.21.0/README.md +88 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-factory_bot-2.26.1/CHANGELOG.md +116 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-factory_bot-2.26.1/MIT-LICENSE.md +21 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-factory_bot-2.26.1/README.md +88 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-performance-1.21.1/LICENSE.txt +20 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-performance-1.21.1/README.md +97 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-rspec-3.0.4/CHANGELOG.md +1028 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-rspec-3.0.4/MIT-LICENSE.md +21 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-rspec-3.0.4/README.md +109 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-rspec_rails-2.30.0/CHANGELOG.md +84 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-rspec_rails-2.30.0/MIT-LICENSE.md +21 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-rspec_rails-2.30.0/README.md +90 -0
- data/vendor/bundle/ruby/3.3.0/gems/ruby-progressbar-1.13.0/LICENSE.txt +19 -0
- data/vendor/bundle/ruby/3.3.0/gems/ruby-progressbar-1.13.0/README.md +131 -0
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-0.22.0/CHANGELOG.md +191 -0
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-0.22.0/LICENSE +20 -0
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-0.22.0/README.md +974 -0
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-cobertura-2.1.0/LICENSE +202 -0
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-cobertura-2.1.0/README.md +62 -0
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-cobertura-2.1.0/simplecov-cobertura.gemspec +29 -0
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-html-0.12.3/CHANGELOG.md +81 -0
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-html-0.12.3/LICENSE +20 -0
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-html-0.12.3/README.md +30 -0
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-html-0.12.3/simplecov-html.gemspec +23 -0
- data/vendor/bundle/ruby/3.3.0/gems/simplecov_json_formatter-0.1.4/CHANGELOG.md +13 -0
- data/vendor/bundle/ruby/3.3.0/gems/simplecov_json_formatter-0.1.4/README.md +29 -0
- data/vendor/bundle/ruby/3.3.0/gems/strscan-3.1.0/LICENSE.txt +22 -0
- data/vendor/bundle/ruby/3.3.0/gems/thor-1.3.1/LICENSE.md +20 -0
- data/vendor/bundle/ruby/3.3.0/gems/thor-1.3.1/README.md +45 -0
- data/vendor/bundle/ruby/3.3.0/gems/thor-1.3.1/thor.gemspec +33 -0
- data/vendor/bundle/ruby/3.3.0/gems/tzinfo-2.0.6/LICENSE +19 -0
- data/vendor/bundle/ruby/3.3.0/gems/tzinfo-2.0.6/README.md +406 -0
- data/vendor/bundle/ruby/3.3.0/gems/unicode-display_width-2.5.0/CHANGELOG.md +196 -0
- data/vendor/bundle/ruby/3.3.0/gems/unicode-display_width-2.5.0/MIT-LICENSE.txt +22 -0
- data/vendor/bundle/ruby/3.3.0/gems/unicode-display_width-2.5.0/README.md +171 -0
- data/vendor/bundle/ruby/3.3.0/gems/useragent-0.16.10/LICENSE +20 -0
- data/vendor/bundle/ruby/3.3.0/gems/useragent-0.16.10/README.md +42 -0
- data/vendor/bundle/ruby/3.3.0/gems/webrick-1.8.1/LICENSE.txt +22 -0
- data/vendor/bundle/ruby/3.3.0/gems/webrick-1.8.1/README.md +61 -0
- data/vendor/bundle/ruby/3.3.0/gems/webrick-1.8.1/webrick.gemspec +70 -0
- data/vendor/bundle/ruby/3.3.0/gems/zeitwerk-2.6.17/MIT-LICENSE +20 -0
- data/vendor/bundle/ruby/3.3.0/gems/zeitwerk-2.6.17/README.md +1494 -0
- data/vendor/bundle/ruby/3.3.0/specifications/actionpack-7.2.1.gemspec +37 -0
- data/vendor/bundle/ruby/3.3.0/specifications/actionview-7.2.1.gemspec +33 -0
- data/vendor/bundle/ruby/3.3.0/specifications/activesupport-7.2.1.gemspec +36 -0
- data/vendor/bundle/ruby/3.3.0/specifications/addressable-2.8.7.gemspec +30 -0
- data/vendor/bundle/ruby/3.3.0/specifications/appraisal-2.5.0.gemspec +31 -0
- data/vendor/bundle/ruby/3.3.0/specifications/ast-2.4.2.gemspec +30 -0
- data/vendor/bundle/ruby/3.3.0/specifications/benchmark-ips-2.13.0.gemspec +28 -0
- data/vendor/bundle/ruby/3.3.0/specifications/bigdecimal-3.1.8.gemspec +25 -0
- data/vendor/bundle/ruby/3.3.0/specifications/builder-3.3.0.gemspec +22 -0
- data/vendor/bundle/ruby/3.3.0/specifications/byebug-11.1.3.gemspec +31 -0
- data/vendor/bundle/ruby/3.3.0/specifications/coderay-1.1.3.gemspec +25 -0
- data/vendor/bundle/ruby/3.3.0/specifications/concurrent-ruby-1.3.4.gemspec +24 -0
- data/vendor/bundle/ruby/3.3.0/specifications/connection_pool-2.4.1.gemspec +28 -0
- data/vendor/bundle/ruby/3.3.0/specifications/crass-1.0.6.gemspec +27 -0
- data/vendor/bundle/ruby/3.3.0/specifications/diff-lcs-1.5.1.gemspec +37 -0
- data/vendor/bundle/ruby/3.3.0/specifications/docile-1.4.1.gemspec +22 -0
- data/vendor/bundle/ruby/3.3.0/specifications/drb-2.2.1.gemspec +22 -0
- data/vendor/bundle/ruby/3.3.0/specifications/erubi-1.13.0.gemspec +29 -0
- data/vendor/bundle/ruby/3.3.0/specifications/i18n-1.14.5.gemspec +26 -0
- data/vendor/bundle/ruby/3.3.0/specifications/io-console-0.7.2.gemspec +25 -0
- data/vendor/bundle/ruby/3.3.0/specifications/irb-1.14.0.gemspec +30 -0
- data/vendor/bundle/ruby/3.3.0/specifications/json-2.7.2.gemspec +0 -0
- data/vendor/bundle/ruby/3.3.0/specifications/language_server-protocol-3.17.0.3.gemspec +31 -0
- data/vendor/bundle/ruby/3.3.0/specifications/loofah-2.22.0.gemspec +27 -0
- data/vendor/bundle/ruby/3.3.0/specifications/method_source-1.1.0.gemspec +21 -0
- data/vendor/bundle/ruby/3.3.0/specifications/minitest-5.25.1.gemspec +31 -0
- data/vendor/bundle/ruby/3.3.0/specifications/nokogiri-1.16.7-x86_64-linux.gemspec +31 -0
- data/vendor/bundle/ruby/3.3.0/specifications/parallel-1.26.3.gemspec +21 -0
- data/vendor/bundle/ruby/3.3.0/specifications/parser-3.3.4.2.gemspec +37 -0
- data/vendor/bundle/ruby/3.3.0/specifications/pry-0.14.2.gemspec +29 -0
- data/vendor/bundle/ruby/3.3.0/specifications/pry-byebug-3.10.1.gemspec +28 -0
- data/vendor/bundle/ruby/3.3.0/specifications/public_suffix-6.0.1.gemspec +24 -0
- data/vendor/bundle/ruby/3.3.0/specifications/racc-1.8.1.gemspec +28 -0
- data/vendor/bundle/ruby/3.3.0/specifications/rack-3.1.7.gemspec +31 -0
- data/vendor/bundle/ruby/3.3.0/specifications/rack-session-2.0.0.gemspec +28 -0
- data/vendor/bundle/ruby/3.3.0/specifications/rack-test-2.1.0.gemspec +29 -0
- data/vendor/bundle/ruby/3.3.0/specifications/rackup-2.1.0.gemspec +31 -0
- data/vendor/bundle/ruby/3.3.0/specifications/rails-dom-testing-2.2.0.gemspec +28 -0
- data/vendor/bundle/ruby/3.3.0/specifications/rails-html-sanitizer-1.6.0.gemspec +27 -0
- data/vendor/bundle/ruby/3.3.0/specifications/railties-7.2.1.gemspec +37 -0
- data/vendor/bundle/ruby/3.3.0/specifications/rainbow-3.1.1.gemspec +25 -0
- data/vendor/bundle/ruby/3.3.0/specifications/rake-13.2.1.gemspec +26 -0
- data/vendor/bundle/ruby/3.3.0/specifications/rake-release-1.3.0.gemspec +26 -0
- data/vendor/bundle/ruby/3.3.0/specifications/rdoc-6.7.0.gemspec +31 -0
- data/vendor/bundle/ruby/3.3.0/specifications/regexp_parser-2.9.2.gemspec +22 -0
- data/vendor/bundle/ruby/3.3.0/specifications/reline-0.5.9.gemspec +26 -0
- data/vendor/bundle/ruby/3.3.0/specifications/rexml-3.3.6.gemspec +29 -0
- data/vendor/bundle/ruby/3.3.0/specifications/rspec-3.13.0.gemspec +31 -0
- data/vendor/bundle/ruby/3.3.0/specifications/rspec-core-3.13.0.gemspec +39 -0
- data/vendor/bundle/ruby/3.3.0/specifications/rspec-expectations-3.13.2.gemspec +33 -0
- data/vendor/bundle/ruby/3.3.0/specifications/rspec-mocks-3.13.1.gemspec +33 -0
- data/vendor/bundle/ruby/3.3.0/specifications/rspec-rails-6.1.4.gemspec +37 -0
- data/vendor/bundle/ruby/3.3.0/specifications/rspec-support-3.13.1.gemspec +29 -0
- data/vendor/bundle/ruby/3.3.0/specifications/rubocop-1.65.1.gemspec +39 -0
- data/vendor/bundle/ruby/3.3.0/specifications/rubocop-ast-1.32.1.gemspec +28 -0
- data/vendor/bundle/ruby/3.3.0/specifications/rubocop-capybara-2.21.0.gemspec +27 -0
- data/vendor/bundle/ruby/3.3.0/specifications/rubocop-factory_bot-2.26.1.gemspec +27 -0
- data/vendor/bundle/ruby/3.3.0/specifications/rubocop-performance-1.21.1.gemspec +29 -0
- data/vendor/bundle/ruby/3.3.0/specifications/rubocop-rspec-3.0.4.gemspec +28 -0
- data/vendor/bundle/ruby/3.3.0/specifications/rubocop-rspec_rails-2.30.0.gemspec +28 -0
- data/vendor/bundle/ruby/3.3.0/specifications/ruby-progressbar-1.13.0.gemspec +29 -0
- data/vendor/bundle/ruby/3.3.0/specifications/simplecov-0.22.0.gemspec +28 -0
- data/vendor/bundle/ruby/3.3.0/specifications/simplecov-cobertura-2.1.0.gemspec +29 -0
- data/vendor/bundle/ruby/3.3.0/specifications/simplecov-html-0.12.3.gemspec +21 -0
- data/vendor/bundle/ruby/3.3.0/specifications/simplecov_json_formatter-0.1.4.gemspec +21 -0
- data/vendor/bundle/ruby/3.3.0/specifications/strscan-3.1.0.gemspec +24 -0
- data/vendor/bundle/ruby/3.3.0/specifications/thor-1.3.1.gemspec +28 -0
- data/vendor/bundle/ruby/3.3.0/specifications/tzinfo-2.0.6.gemspec +30 -0
- data/vendor/bundle/ruby/3.3.0/specifications/unicode-display_width-2.5.0.gemspec +29 -0
- data/vendor/bundle/ruby/3.3.0/specifications/useragent-0.16.10.gemspec +25 -0
- data/vendor/bundle/ruby/3.3.0/specifications/webrick-1.8.1.gemspec +22 -0
- data/vendor/bundle/ruby/3.3.0/specifications/zeitwerk-2.6.17.gemspec +22 -0
- metadata +258 -6
- data/spec/dummy/log/test.log +0 -192
@@ -0,0 +1,227 @@
|
|
1
|
+
# Rainbow
|
2
|
+
|
3
|
+
[![Gem Version](https://badge.fury.io/rb/rainbow.svg)](https://rubygems.org/gems/rainbow)
|
4
|
+
[![Build Status](https://travis-ci.org/sickill/rainbow.svg?branch=master)](https://travis-ci.org/sickill/rainbow)
|
5
|
+
[![Build status](https://ci.appveyor.com/api/projects/status/vq4acb2c38642s5q?svg=true)](https://ci.appveyor.com/project/sickill/rainbow)
|
6
|
+
[![Code Climate](https://codeclimate.com/github/sickill/rainbow.svg)](https://codeclimate.com/github/sickill/rainbow)
|
7
|
+
[![Coverage Status](https://coveralls.io/repos/sickill/rainbow/badge.svg)](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
|
+
![Screenshot of the previous code in a terminal](https://user-images.githubusercontent.com/132/132943811-93747cc5-bdaf-43a2-a1a4-a1f18e805eba.png)
|
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).
|
@@ -0,0 +1,21 @@
|
|
1
|
+
Copyright (c) Jim Weirich
|
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.
|
21
|
+
|
@@ -0,0 +1,155 @@
|
|
1
|
+
= RAKE -- Ruby Make
|
2
|
+
|
3
|
+
home :: https://github.com/ruby/rake
|
4
|
+
bugs :: https://github.com/ruby/rake/issues
|
5
|
+
docs :: https://ruby.github.io/rake
|
6
|
+
|
7
|
+
== Description
|
8
|
+
|
9
|
+
Rake is a Make-like program implemented in Ruby. Tasks and dependencies are
|
10
|
+
specified in standard Ruby syntax.
|
11
|
+
|
12
|
+
Rake has the following features:
|
13
|
+
|
14
|
+
* Rakefiles (rake's version of Makefiles) are completely defined in
|
15
|
+
standard Ruby syntax. No XML files to edit. No quirky Makefile
|
16
|
+
syntax to worry about (is that a tab or a space?)
|
17
|
+
|
18
|
+
* Users can specify tasks with prerequisites.
|
19
|
+
|
20
|
+
* Rake supports rule patterns to synthesize implicit tasks.
|
21
|
+
|
22
|
+
* Flexible FileLists that act like arrays but know about manipulating
|
23
|
+
file names and paths.
|
24
|
+
|
25
|
+
* A library of prepackaged tasks to make building rakefiles easier. For example,
|
26
|
+
tasks for building tarballs. (Formerly
|
27
|
+
tasks for building RDoc, Gems, and publishing to FTP were included in rake but they're now
|
28
|
+
available in RDoc, RubyGems, and rake-contrib respectively.)
|
29
|
+
|
30
|
+
* Supports parallel execution of tasks.
|
31
|
+
|
32
|
+
== Installation
|
33
|
+
|
34
|
+
=== Gem Installation
|
35
|
+
|
36
|
+
Download and install rake with the following.
|
37
|
+
|
38
|
+
gem install rake
|
39
|
+
|
40
|
+
== Usage
|
41
|
+
|
42
|
+
=== Simple Example
|
43
|
+
|
44
|
+
First, you must write a "Rakefile" file which contains the build rules. Here's
|
45
|
+
a simple example:
|
46
|
+
|
47
|
+
task default: %w[test]
|
48
|
+
|
49
|
+
task :test do
|
50
|
+
ruby "test/unittest.rb"
|
51
|
+
end
|
52
|
+
|
53
|
+
This Rakefile has two tasks:
|
54
|
+
|
55
|
+
* A task named "test", which -- upon invocation -- will run a unit test file
|
56
|
+
in Ruby.
|
57
|
+
* A task named "default". This task does nothing by itself, but it has exactly
|
58
|
+
one dependency, namely the "test" task. Invoking the "default" task will
|
59
|
+
cause Rake to invoke the "test" task as well.
|
60
|
+
|
61
|
+
Running the "rake" command without any options will cause it to run the
|
62
|
+
"default" task in the Rakefile:
|
63
|
+
|
64
|
+
% ls
|
65
|
+
Rakefile test/
|
66
|
+
% rake
|
67
|
+
(in /home/some_user/Projects/rake)
|
68
|
+
ruby test/unittest.rb
|
69
|
+
....unit test output here...
|
70
|
+
|
71
|
+
Type "rake --help" for all available options.
|
72
|
+
|
73
|
+
== Resources
|
74
|
+
|
75
|
+
=== Rake Information
|
76
|
+
|
77
|
+
* {Rake command-line}[link:doc/command_line_usage.rdoc]
|
78
|
+
* {Writing Rakefiles}[link:doc/rakefile.rdoc]
|
79
|
+
* The original {Rake announcement}[link:doc/rational.rdoc]
|
80
|
+
* Rake {glossary}[link:doc/glossary.rdoc]
|
81
|
+
|
82
|
+
=== Presentations and Articles about Rake
|
83
|
+
|
84
|
+
* Avdi Grimm's rake series:
|
85
|
+
1. {Rake Basics}[https://avdi.codes/rake-part-1-basics/]
|
86
|
+
2. {Rake File Lists}[https://avdi.codes/rake-part-2-file-lists-2/]
|
87
|
+
3. {Rake Rules}[https://avdi.codes/rake-part-3-rules/]
|
88
|
+
4. {Rake Pathmap}[https://avdi.codes/rake-part-4-pathmap/]
|
89
|
+
5. {File Operations}[https://avdi.codes/rake-part-5-file-operations/]
|
90
|
+
6. {Clean and Clobber}[https://avdi.codes/rake-part-6-clean-and-clobber/]
|
91
|
+
7. {MultiTask}[https://avdi.codes/rake-part-7-multitask/]
|
92
|
+
* {Jim Weirich's 2003 RubyConf presentation}[https://web.archive.org/web/20140221123354/http://onestepback.org/articles/buildingwithrake/]
|
93
|
+
* Martin Fowler's article on Rake: https://martinfowler.com/articles/rake.html
|
94
|
+
|
95
|
+
== Other Make Re-envisionings ...
|
96
|
+
|
97
|
+
Rake is a late entry in the make replacement field. Here are links to
|
98
|
+
other projects with similar (and not so similar) goals.
|
99
|
+
|
100
|
+
* https://directory.fsf.org/wiki/Bras -- Bras, one of earliest
|
101
|
+
implementations of "make in a scripting language".
|
102
|
+
* http://www.a-a-p.org -- Make in Python
|
103
|
+
* https://ant.apache.org -- The Ant project
|
104
|
+
* https://search.cpan.org/search?query=PerlBuildSystem -- The Perl Build System
|
105
|
+
* https://www.rubydoc.info/gems/rant/0.5.7/frames -- Rant, another Ruby make tool.
|
106
|
+
|
107
|
+
== Credits
|
108
|
+
|
109
|
+
[<b>Jim Weirich</b>] Who originally created Rake.
|
110
|
+
|
111
|
+
[<b>Ryan Dlugosz</b>] For the initial conversation that sparked Rake.
|
112
|
+
|
113
|
+
[<b>Nobuyoshi Nakada <nobu@ruby-lang.org></b>] For the initial patch for rule support.
|
114
|
+
|
115
|
+
[<b>Tilman Sauerbeck <tilman@code-monkey.de></b>] For the recursive rule patch.
|
116
|
+
|
117
|
+
[<b>Eric Hodel</b>] For aid in maintaining rake.
|
118
|
+
|
119
|
+
[<b>Hiroshi SHIBATA</b>] Maintainer of Rake 10 and later
|
120
|
+
|
121
|
+
== License
|
122
|
+
|
123
|
+
Rake is available under an MIT-style license.
|
124
|
+
|
125
|
+
:include: MIT-LICENSE
|
126
|
+
|
127
|
+
---
|
128
|
+
|
129
|
+
= Other stuff
|
130
|
+
|
131
|
+
Author:: Jim Weirich <jim.weirich@gmail.com>
|
132
|
+
Requires:: Ruby 2.0.0 or later
|
133
|
+
License:: Copyright Jim Weirich.
|
134
|
+
Released under an MIT-style license. See the MIT-LICENSE
|
135
|
+
file included in the distribution.
|
136
|
+
|
137
|
+
== Warranty
|
138
|
+
|
139
|
+
This software is provided "as is" and without any express or implied
|
140
|
+
warranties, including, without limitation, the implied warranties of
|
141
|
+
merchantability and fitness for a particular purpose.
|
142
|
+
|
143
|
+
== Historical
|
144
|
+
|
145
|
+
Rake was originally created by Jim Weirich, who unfortunately passed away in
|
146
|
+
February 2014. This repository was originally hosted at
|
147
|
+
{github.com/jimweirich/rake}[https://github.com/jimweirich/rake/], however
|
148
|
+
with his passing, has been moved to {ruby/rake}[https://github.com/ruby/rake].
|
149
|
+
|
150
|
+
You can view Jim's last commit here:
|
151
|
+
https://github.com/jimweirich/rake/tree/336559f28f55bce418e2ebcc0a57548dcbac4025
|
152
|
+
|
153
|
+
You can {read more about Jim}[https://en.wikipedia.org/wiki/Jim_Weirich] at Wikipedia.
|
154
|
+
|
155
|
+
Thank you for this great tool, Jim. We'll remember you.
|
@@ -0,0 +1,101 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require_relative "lib/rake/version"
|
4
|
+
|
5
|
+
Gem::Specification.new do |s|
|
6
|
+
s.name = "rake"
|
7
|
+
s.version = Rake::VERSION
|
8
|
+
s.authors = ["Hiroshi SHIBATA", "Eric Hodel", "Jim Weirich"]
|
9
|
+
s.email = ["hsbt@ruby-lang.org", "drbrain@segment7.net", ""]
|
10
|
+
|
11
|
+
s.summary = "Rake is a Make-like program implemented in Ruby"
|
12
|
+
s.description = <<~DESCRIPTION
|
13
|
+
Rake is a Make-like program implemented in Ruby. Tasks and dependencies are
|
14
|
+
specified in standard Ruby syntax.
|
15
|
+
Rake has the following features:
|
16
|
+
* Rakefiles (rake's version of Makefiles) are completely defined in standard Ruby syntax.
|
17
|
+
No XML files to edit. No quirky Makefile syntax to worry about (is that a tab or a space?)
|
18
|
+
* Users can specify tasks with prerequisites.
|
19
|
+
* Rake supports rule patterns to synthesize implicit tasks.
|
20
|
+
* Flexible FileLists that act like arrays but know about manipulating file names and paths.
|
21
|
+
* Supports parallel execution of tasks.
|
22
|
+
DESCRIPTION
|
23
|
+
s.homepage = "https://github.com/ruby/rake"
|
24
|
+
s.licenses = ["MIT"]
|
25
|
+
|
26
|
+
s.metadata = {
|
27
|
+
"bug_tracker_uri" => "https://github.com/ruby/rake/issues",
|
28
|
+
"changelog_uri" => "https://github.com/ruby/rake/blob/v#{s.version}/History.rdoc",
|
29
|
+
"documentation_uri" => "https://ruby.github.io/rake",
|
30
|
+
"source_code_uri" => "https://github.com/ruby/rake/tree/v#{s.version}"
|
31
|
+
}
|
32
|
+
|
33
|
+
s.files = [
|
34
|
+
"History.rdoc",
|
35
|
+
"MIT-LICENSE",
|
36
|
+
"README.rdoc",
|
37
|
+
"doc/command_line_usage.rdoc",
|
38
|
+
"doc/example/Rakefile1",
|
39
|
+
"doc/example/Rakefile2",
|
40
|
+
"doc/example/a.c",
|
41
|
+
"doc/example/b.c",
|
42
|
+
"doc/example/main.c",
|
43
|
+
"doc/glossary.rdoc",
|
44
|
+
"doc/jamis.rb",
|
45
|
+
"doc/proto_rake.rdoc",
|
46
|
+
"doc/rake.1",
|
47
|
+
"doc/rakefile.rdoc",
|
48
|
+
"doc/rational.rdoc",
|
49
|
+
"exe/rake",
|
50
|
+
"lib/rake.rb",
|
51
|
+
"lib/rake/application.rb",
|
52
|
+
"lib/rake/backtrace.rb",
|
53
|
+
"lib/rake/clean.rb",
|
54
|
+
"lib/rake/cloneable.rb",
|
55
|
+
"lib/rake/cpu_counter.rb",
|
56
|
+
"lib/rake/default_loader.rb",
|
57
|
+
"lib/rake/dsl_definition.rb",
|
58
|
+
"lib/rake/early_time.rb",
|
59
|
+
"lib/rake/ext/core.rb",
|
60
|
+
"lib/rake/ext/string.rb",
|
61
|
+
"lib/rake/file_creation_task.rb",
|
62
|
+
"lib/rake/file_list.rb",
|
63
|
+
"lib/rake/file_task.rb",
|
64
|
+
"lib/rake/file_utils.rb",
|
65
|
+
"lib/rake/file_utils_ext.rb",
|
66
|
+
"lib/rake/invocation_chain.rb",
|
67
|
+
"lib/rake/invocation_exception_mixin.rb",
|
68
|
+
"lib/rake/late_time.rb",
|
69
|
+
"lib/rake/linked_list.rb",
|
70
|
+
"lib/rake/loaders/makefile.rb",
|
71
|
+
"lib/rake/multi_task.rb",
|
72
|
+
"lib/rake/name_space.rb",
|
73
|
+
"lib/rake/packagetask.rb",
|
74
|
+
"lib/rake/phony.rb",
|
75
|
+
"lib/rake/private_reader.rb",
|
76
|
+
"lib/rake/promise.rb",
|
77
|
+
"lib/rake/pseudo_status.rb",
|
78
|
+
"lib/rake/rake_module.rb",
|
79
|
+
"lib/rake/rake_test_loader.rb",
|
80
|
+
"lib/rake/rule_recursion_overflow_error.rb",
|
81
|
+
"lib/rake/scope.rb",
|
82
|
+
"lib/rake/task.rb",
|
83
|
+
"lib/rake/task_argument_error.rb",
|
84
|
+
"lib/rake/task_arguments.rb",
|
85
|
+
"lib/rake/task_manager.rb",
|
86
|
+
"lib/rake/tasklib.rb",
|
87
|
+
"lib/rake/testtask.rb",
|
88
|
+
"lib/rake/thread_history_display.rb",
|
89
|
+
"lib/rake/thread_pool.rb",
|
90
|
+
"lib/rake/trace_output.rb",
|
91
|
+
"lib/rake/version.rb",
|
92
|
+
"lib/rake/win32.rb",
|
93
|
+
"rake.gemspec"
|
94
|
+
]
|
95
|
+
s.bindir = "exe"
|
96
|
+
s.executables = s.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
97
|
+
s.require_paths = ["lib"]
|
98
|
+
|
99
|
+
s.required_ruby_version = Gem::Requirement.new(">= 2.3")
|
100
|
+
s.rdoc_options = ["--main", "README.rdoc"]
|
101
|
+
end
|
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2016 Jan Graichen
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
13
|
+
copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
+
SOFTWARE.
|
@@ -0,0 +1,107 @@
|
|
1
|
+
# Rake::Release
|
2
|
+
|
3
|
+
Customized fork for bundlers gem task helpers.
|
4
|
+
|
5
|
+
Automatically detects multiple gemspecs and protect from releasing code not matching git version tag.
|
6
|
+
|
7
|
+
## Installation
|
8
|
+
|
9
|
+
Add this line to your Gemfile:
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
gem 'rake-release'
|
13
|
+
```
|
14
|
+
|
15
|
+
## Usage
|
16
|
+
|
17
|
+
Simply require in Rakefile:
|
18
|
+
|
19
|
+
```ruby
|
20
|
+
require 'rake/release'
|
21
|
+
```
|
22
|
+
|
23
|
+
Check with `rake -D`:
|
24
|
+
|
25
|
+
```
|
26
|
+
rake build
|
27
|
+
Build rake-release-0.2.1.gem.gem into the pkg directory.
|
28
|
+
|
29
|
+
rake install
|
30
|
+
Build and install rake-release-0.2.1.gem into system gems.
|
31
|
+
|
32
|
+
rake install:local
|
33
|
+
Build and install rake-release-0.2.1.gem into system gems without network access.
|
34
|
+
|
35
|
+
rake release[remote]
|
36
|
+
Create and push tag v0.2.1, build gem and publish to rubygems.org.
|
37
|
+
```
|
38
|
+
|
39
|
+
### With multiple gemspecs
|
40
|
+
|
41
|
+
```
|
42
|
+
> rake -T
|
43
|
+
rake lib-alpha:build # Build lib-alpha-0.6.0.gem.gem into the pkg directory
|
44
|
+
rake lib-alpha:install # Build and install lib-alpha-0.6.0.gem into system gems
|
45
|
+
rake lib-alpha:install:local # Build and install lib-alpha-0.6.0.gem into system gems without network access
|
46
|
+
rake lib-alpha:release[remote] # Create and push tag v0.6.0, build gem and publish to rubygems.org
|
47
|
+
rake lib-beta:build # Build lib-beta-0.8.0.gem.gem into the pkg directory
|
48
|
+
rake lib-beta:install # Build and install lib-beta-0.8.0.gem into system gems
|
49
|
+
rake lib-beta:install:local # Build and install lib-beta-0.8.0.gem into system gems without network access
|
50
|
+
rake lib-beta:release[remote] # Create and push tag v0.6.0, build gem and publish to rubygems.org
|
51
|
+
```
|
52
|
+
|
53
|
+
### With tag signing
|
54
|
+
|
55
|
+
Enable tag signing by manually loading the task:
|
56
|
+
|
57
|
+
```ruby
|
58
|
+
require 'rake/release/task'
|
59
|
+
|
60
|
+
Rake::Release::Task.new do |spec|
|
61
|
+
spec.sign_tag = true
|
62
|
+
end
|
63
|
+
```
|
64
|
+
|
65
|
+
Or with multiple gems:
|
66
|
+
|
67
|
+
```ruby
|
68
|
+
require 'rake/release/task'
|
69
|
+
|
70
|
+
Rake::Release::Task.load_all do |spec|
|
71
|
+
spec.sign_tag = true
|
72
|
+
end
|
73
|
+
```
|
74
|
+
|
75
|
+
### Manually set namespace
|
76
|
+
|
77
|
+
```ruby
|
78
|
+
require 'rake/release/task'
|
79
|
+
|
80
|
+
Rake::Release::Task.new do |spec|
|
81
|
+
spec.namespace = 'client'
|
82
|
+
end
|
83
|
+
```
|
84
|
+
|
85
|
+
```
|
86
|
+
> rake -T
|
87
|
+
rake client:build # Build rake-release-0.6.0.gem.gem into the pkg directory
|
88
|
+
rake client:install # Build and install rake-release-0.6.0.gem into system gems
|
89
|
+
rake client:install:local # Build and install rake-release-0.6.0.gem into system gems without network access
|
90
|
+
rake client:release[remote] # Create and push tag v0.6.0, build gem and publish to rubygems.org
|
91
|
+
```
|
92
|
+
|
93
|
+
### Set gem host and version tag
|
94
|
+
|
95
|
+
You can customize the task e.g. with a custom git tag or gem push host:
|
96
|
+
|
97
|
+
```ruby
|
98
|
+
Rake::Release::Task.load_all do |spec|
|
99
|
+
spec.version_tag = "gem-v#{spec.version}"
|
100
|
+
spec.host = 'https://user:pass@gemhost/'
|
101
|
+
end
|
102
|
+
|
103
|
+
```
|
104
|
+
|
105
|
+
# License
|
106
|
+
|
107
|
+
MIT
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
Gem::Specification.new do |spec|
|
4
|
+
spec.name = 'rake-release'
|
5
|
+
spec.version = '1.3.0'
|
6
|
+
spec.authors = ['Jan Graichen']
|
7
|
+
spec.email = ['jgraichen@altimos.de']
|
8
|
+
spec.licenses = ['MIT']
|
9
|
+
|
10
|
+
spec.summary = 'Configurable fork of bundlers release tasks.'
|
11
|
+
spec.description = 'Configurable fork of bundlers release tasks.'
|
12
|
+
spec.homepage = 'https://github.com/jgraichen/rake-release'
|
13
|
+
|
14
|
+
spec.files = `git ls-files -z`.split("\x0").reject {|f| f.match(%r{^(test|spec|features)/}) }
|
15
|
+
spec.executables = spec.files.grep(%r{^bin/}) {|f| File.basename(f) }
|
16
|
+
spec.require_paths = %w[lib]
|
17
|
+
|
18
|
+
spec.required_ruby_version = '>= 2.5'
|
19
|
+
|
20
|
+
spec.add_dependency 'bundler', '>= 1.11', '< 3'
|
21
|
+
|
22
|
+
spec.add_development_dependency 'bundler', '>= 1.11', '< 3'
|
23
|
+
end
|