rails-rfc6570 3.2.0 → 3.4.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 +31 -1
- data/README.md +3 -1
- data/lib/rails/rfc6570/version.rb +1 -1
- data/lib/rails/rfc6570.rb +10 -29
- data/rails-rfc6570.gemspec +1 -1
- data/spec/dummy/config/application.rb +5 -1
- data/spec/dummy/config/environments/test.rb +1 -1
- data/spec/rails/rfc6570/extensions/route_set_spec.rb +29 -0
- data/spec/rails/rfc6570/helper_spec.rb +44 -0
- data/spec/rails/rfc6570/visitor_spec.rb +12 -0
- data/spec/spec_helper.rb +6 -0
- data/vendor/bundle/ruby/{3.3.0/bundler/gems/rubocop-config-943facea9d8f → 3.4.0/bundler/gems/rubocop-config-67802c9d1826}/rubocop-config.gemspec +8 -8
- data/vendor/bundle/ruby/3.4.0/gems/actionpack-8.0.1/CHANGELOG.md +205 -0
- data/vendor/bundle/ruby/3.4.0/gems/actionview-8.0.1/CHANGELOG.md +67 -0
- data/vendor/bundle/ruby/3.4.0/gems/activesupport-8.0.1/CHANGELOG.md +157 -0
- data/vendor/bundle/ruby/{3.3.0/gems/io-console-0.7.2 → 3.4.0/gems/base64-0.2.0}/README.md +17 -15
- data/vendor/bundle/ruby/3.4.0/gems/benchmark-0.4.0/README.md +138 -0
- data/vendor/bundle/ruby/3.4.0/gems/benchmark-0.4.0/benchmark.gemspec +32 -0
- data/vendor/bundle/ruby/{3.3.0/gems/concurrent-ruby-1.3.4 → 3.4.0/gems/concurrent-ruby-1.3.5}/CHANGELOG.md +12 -2
- data/vendor/bundle/ruby/{3.3.0/gems/concurrent-ruby-1.3.4 → 3.4.0/gems/concurrent-ruby-1.3.5}/README.md +1 -1
- data/vendor/bundle/ruby/{3.3.0/gems/connection_pool-2.4.1 → 3.4.0/gems/connection_pool-2.5.0}/README.md +32 -0
- data/vendor/bundle/ruby/{3.3.0/gems/erubi-1.13.0 → 3.4.0/gems/erubi-1.13.1}/CHANGELOG +4 -0
- data/vendor/bundle/ruby/3.4.0/gems/logger-1.6.5/README.md +104 -0
- data/vendor/bundle/ruby/3.4.0/gems/logger-1.6.5/logger.gemspec +28 -0
- data/vendor/bundle/ruby/{3.3.0/gems/loofah-2.22.0 → 3.4.0/gems/loofah-2.24.0}/CHANGELOG.md +25 -0
- data/vendor/bundle/ruby/{3.3.0/gems/loofah-2.22.0 → 3.4.0/gems/loofah-2.24.0}/README.md +59 -12
- data/vendor/bundle/ruby/{3.3.0/gems/nokogiri-1.16.7-x86_64-linux → 3.4.0/gems/nokogiri-1.18.2-x86_64-linux-gnu}/LICENSE-DEPENDENCIES.md +6 -6
- data/vendor/bundle/ruby/{3.3.0/gems/nokogiri-1.16.7-x86_64-linux → 3.4.0/gems/nokogiri-1.18.2-x86_64-linux-gnu}/README.md +8 -5
- data/vendor/bundle/ruby/{3.3.0/gems/rack-3.1.7 → 3.4.0/gems/rack-3.1.9}/CHANGELOG.md +12 -0
- data/vendor/bundle/ruby/{3.3.0/gems/rails-html-sanitizer-1.6.0 → 3.4.0/gems/rails-html-sanitizer-1.6.2}/CHANGELOG.md +54 -0
- data/vendor/bundle/ruby/{3.3.0/gems/rails-html-sanitizer-1.6.0 → 3.4.0/gems/rails-html-sanitizer-1.6.2}/README.md +0 -4
- data/vendor/bundle/ruby/3.4.0/gems/securerandom-0.4.1/README.md +72 -0
- data/vendor/bundle/ruby/3.4.0/gems/uri-1.0.2/README.md +55 -0
- data/vendor/bundle/ruby/{3.3.0/gems/useragent-0.16.10 → 3.4.0/gems/useragent-0.16.11}/README.md +2 -2
- data/vendor/bundle/ruby/{3.3.0/specifications/actionpack-7.2.1.gemspec → 3.4.0/specifications/actionpack-8.0.1.gemspec} +11 -12
- data/vendor/bundle/ruby/{3.3.0/specifications/actionview-7.2.1.gemspec → 3.4.0/specifications/actionview-8.0.1.gemspec} +10 -10
- data/vendor/bundle/ruby/{3.3.0/specifications/activesupport-7.2.1.gemspec → 3.4.0/specifications/activesupport-8.0.1.gemspec} +9 -7
- data/vendor/bundle/ruby/{3.3.0 → 3.4.0}/specifications/addressable-2.8.7.gemspec +1 -1
- data/vendor/bundle/ruby/3.4.0/specifications/base64-0.2.0.gemspec +23 -0
- data/vendor/bundle/ruby/3.4.0/specifications/benchmark-0.4.0.gemspec +23 -0
- data/vendor/bundle/ruby/{3.3.0/specifications/bigdecimal-3.1.8.gemspec → 3.4.0/specifications/bigdecimal-3.1.9.gemspec} +5 -5
- data/vendor/bundle/ruby/{3.3.0 → 3.4.0}/specifications/builder-3.3.0.gemspec +1 -1
- data/vendor/bundle/ruby/{3.3.0/specifications/concurrent-ruby-1.3.4.gemspec → 3.4.0/specifications/concurrent-ruby-1.3.5.gemspec} +4 -4
- data/vendor/bundle/ruby/{3.3.0/specifications/connection_pool-2.4.1.gemspec → 3.4.0/specifications/connection_pool-2.5.0.gemspec} +5 -5
- data/vendor/bundle/ruby/{3.3.0 → 3.4.0}/specifications/crass-1.0.6.gemspec +1 -1
- data/vendor/bundle/ruby/{3.3.0 → 3.4.0}/specifications/diff-lcs-1.5.1.gemspec +1 -1
- data/vendor/bundle/ruby/{3.3.0 → 3.4.0}/specifications/drb-2.2.1.gemspec +1 -1
- data/vendor/bundle/ruby/{3.3.0/specifications/erubi-1.13.0.gemspec → 3.4.0/specifications/erubi-1.13.1.gemspec} +5 -5
- data/vendor/bundle/ruby/{3.3.0/specifications/i18n-1.14.5.gemspec → 3.4.0/specifications/i18n-1.14.7.gemspec} +5 -5
- data/vendor/bundle/ruby/3.4.0/specifications/logger-1.6.5.gemspec +22 -0
- data/vendor/bundle/ruby/{3.3.0/specifications/loofah-2.22.0.gemspec → 3.4.0/specifications/loofah-2.24.0.gemspec} +6 -6
- data/vendor/bundle/ruby/{3.3.0/specifications/minitest-5.25.1.gemspec → 3.4.0/specifications/minitest-5.25.4.gemspec} +5 -5
- data/vendor/bundle/ruby/3.4.0/specifications/nokogiri-1.18.2-x86_64-linux-gnu.gemspec +31 -0
- data/vendor/bundle/ruby/{3.3.0 → 3.4.0}/specifications/public_suffix-6.0.1.gemspec +1 -1
- data/vendor/bundle/ruby/{3.3.0 → 3.4.0}/specifications/racc-1.8.1.gemspec +1 -1
- data/vendor/bundle/ruby/{3.3.0/specifications/rack-3.1.7.gemspec → 3.4.0/specifications/rack-3.1.9.gemspec} +5 -5
- data/vendor/bundle/ruby/{3.3.0/specifications/rack-session-2.0.0.gemspec → 3.4.0/specifications/rack-session-2.1.0.gemspec} +8 -6
- data/vendor/bundle/ruby/{3.3.0/specifications/rack-test-2.1.0.gemspec → 3.4.0/specifications/rack-test-2.2.0.gemspec} +5 -5
- data/vendor/bundle/ruby/{3.3.0 → 3.4.0}/specifications/rails-dom-testing-2.2.0.gemspec +1 -1
- data/vendor/bundle/ruby/{3.3.0/specifications/rails-html-sanitizer-1.6.0.gemspec → 3.4.0/specifications/rails-html-sanitizer-1.6.2.gemspec} +7 -7
- data/vendor/bundle/ruby/{3.3.0 → 3.4.0}/specifications/rake-13.2.1.gemspec +1 -1
- data/vendor/bundle/ruby/{3.3.0 → 3.4.0}/specifications/rake-release-1.3.0.gemspec +1 -1
- data/vendor/bundle/ruby/{3.3.0 → 3.4.0}/specifications/rspec-3.13.0.gemspec +1 -1
- data/vendor/bundle/ruby/{3.3.0/specifications/rspec-core-3.13.0.gemspec → 3.4.0/specifications/rspec-core-3.13.2.gemspec} +7 -7
- data/vendor/bundle/ruby/{3.3.0/specifications/rspec-expectations-3.13.2.gemspec → 3.4.0/specifications/rspec-expectations-3.13.3.gemspec} +6 -6
- data/vendor/bundle/ruby/{3.3.0/specifications/rspec-mocks-3.13.1.gemspec → 3.4.0/specifications/rspec-mocks-3.13.2.gemspec} +7 -7
- data/vendor/bundle/ruby/{3.3.0/specifications/rspec-support-3.13.1.gemspec → 3.4.0/specifications/rspec-support-3.13.2.gemspec} +8 -8
- data/vendor/bundle/ruby/3.4.0/specifications/securerandom-0.4.1.gemspec +23 -0
- data/vendor/bundle/ruby/{3.3.0 → 3.4.0}/specifications/tzinfo-2.0.6.gemspec +1 -1
- data/vendor/bundle/ruby/3.4.0/specifications/uri-1.0.2.gemspec +23 -0
- data/vendor/bundle/ruby/{3.3.0/specifications/useragent-0.16.10.gemspec → 3.4.0/specifications/useragent-0.16.11.gemspec} +6 -6
- metadata +132 -262
- data/vendor/bundle/ruby/3.3.0/gems/actionpack-7.2.1/CHANGELOG.md +0 -154
- data/vendor/bundle/ruby/3.3.0/gems/actionview-7.2.1/CHANGELOG.md +0 -113
- data/vendor/bundle/ruby/3.3.0/gems/activesupport-7.2.1/CHANGELOG.md +0 -258
- data/vendor/bundle/ruby/3.3.0/gems/appraisal-2.5.0/MIT-LICENSE +0 -21
- data/vendor/bundle/ruby/3.3.0/gems/appraisal-2.5.0/README.md +0 -243
- data/vendor/bundle/ruby/3.3.0/gems/appraisal-2.5.0/appraisal.gemspec +0 -29
- data/vendor/bundle/ruby/3.3.0/gems/ast-2.4.2/LICENSE.MIT +0 -20
- data/vendor/bundle/ruby/3.3.0/gems/ast-2.4.2/README.YARD.md +0 -12
- data/vendor/bundle/ruby/3.3.0/gems/benchmark-ips-2.13.0/LICENSE +0 -20
- data/vendor/bundle/ruby/3.3.0/gems/benchmark-ips-2.13.0/README.md +0 -279
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/CHANGELOG.md +0 -934
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/LICENSE +0 -23
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/README.md +0 -199
- data/vendor/bundle/ruby/3.3.0/gems/coderay-1.1.3/MIT-LICENSE +0 -22
- data/vendor/bundle/ruby/3.3.0/gems/coderay-1.1.3/README_INDEX.rdoc +0 -123
- data/vendor/bundle/ruby/3.3.0/gems/docile-1.4.1/LICENSE +0 -21
- data/vendor/bundle/ruby/3.3.0/gems/docile-1.4.1/README.md +0 -409
- data/vendor/bundle/ruby/3.3.0/gems/docile-1.4.1/docile.gemspec +0 -36
- data/vendor/bundle/ruby/3.3.0/gems/irb-1.14.0/LICENSE.txt +0 -22
- data/vendor/bundle/ruby/3.3.0/gems/irb-1.14.0/README.md +0 -405
- data/vendor/bundle/ruby/3.3.0/gems/irb-1.14.0/irb.gemspec +0 -46
- data/vendor/bundle/ruby/3.3.0/gems/json-2.7.2/LICENSE +0 -56
- data/vendor/bundle/ruby/3.3.0/gems/json-2.7.2/README.md +0 -416
- data/vendor/bundle/ruby/3.3.0/gems/json-2.7.2/json.gemspec +0 -68
- data/vendor/bundle/ruby/3.3.0/gems/language_server-protocol-3.17.0.3/LICENSE.txt +0 -21
- data/vendor/bundle/ruby/3.3.0/gems/language_server-protocol-3.17.0.3/README.md +0 -88
- data/vendor/bundle/ruby/3.3.0/gems/method_source-1.1.0/CHANGELOG.md +0 -15
- data/vendor/bundle/ruby/3.3.0/gems/method_source-1.1.0/LICENSE +0 -22
- data/vendor/bundle/ruby/3.3.0/gems/method_source-1.1.0/README.markdown +0 -101
- data/vendor/bundle/ruby/3.3.0/gems/method_source-1.1.0/method_source.gemspec +0 -19
- data/vendor/bundle/ruby/3.3.0/gems/parallel-1.26.3/MIT-LICENSE.txt +0 -20
- data/vendor/bundle/ruby/3.3.0/gems/parser-3.3.4.2/LICENSE.txt +0 -25
- data/vendor/bundle/ruby/3.3.0/gems/parser-3.3.4.2/parser.gemspec +0 -43
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/CHANGELOG.md +0 -1141
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/LICENSE +0 -25
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/README.md +0 -466
- data/vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/slop/LICENSE +0 -20
- data/vendor/bundle/ruby/3.3.0/gems/pry-byebug-3.10.1/CHANGELOG.md +0 -230
- data/vendor/bundle/ruby/3.3.0/gems/pry-byebug-3.10.1/LICENSE +0 -20
- data/vendor/bundle/ruby/3.3.0/gems/pry-byebug-3.10.1/README.md +0 -189
- data/vendor/bundle/ruby/3.3.0/gems/railties-7.2.1/CHANGELOG.md +0 -361
- data/vendor/bundle/ruby/3.3.0/gems/railties-7.2.1/MIT-LICENSE +0 -20
- data/vendor/bundle/ruby/3.3.0/gems/railties-7.2.1/README.rdoc +0 -39
- data/vendor/bundle/ruby/3.3.0/gems/railties-7.2.1/lib/rails/generators/rails/app/templates/README.md.tt +0 -24
- data/vendor/bundle/ruby/3.3.0/gems/railties-7.2.1/lib/rails/generators/rails/plugin/templates/%name%.gemspec.tt +0 -28
- data/vendor/bundle/ruby/3.3.0/gems/railties-7.2.1/lib/rails/generators/rails/plugin/templates/MIT-LICENSE.tt +0 -20
- data/vendor/bundle/ruby/3.3.0/gems/railties-7.2.1/lib/rails/generators/rails/plugin/templates/README.md.tt +0 -28
- data/vendor/bundle/ruby/3.3.0/gems/rainbow-3.1.1/LICENSE +0 -20
- data/vendor/bundle/ruby/3.3.0/gems/rainbow-3.1.1/README.markdown +0 -227
- data/vendor/bundle/ruby/3.3.0/gems/rdoc-6.7.0/LICENSE.rdoc +0 -57
- data/vendor/bundle/ruby/3.3.0/gems/rdoc-6.7.0/README.rdoc +0 -129
- data/vendor/bundle/ruby/3.3.0/gems/regexp_parser-2.9.2/LICENSE +0 -22
- data/vendor/bundle/ruby/3.3.0/gems/regexp_parser-2.9.2/regexp_parser.gemspec +0 -34
- data/vendor/bundle/ruby/3.3.0/gems/reline-0.5.9/README.md +0 -94
- data/vendor/bundle/ruby/3.3.0/gems/rexml-3.3.6/LICENSE.txt +0 -22
- data/vendor/bundle/ruby/3.3.0/gems/rexml-3.3.6/README.md +0 -57
- data/vendor/bundle/ruby/3.3.0/gems/rspec-rails-6.1.4/LICENSE.md +0 -25
- data/vendor/bundle/ruby/3.3.0/gems/rspec-rails-6.1.4/README.md +0 -381
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-1.65.1/LICENSE.txt +0 -20
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-1.65.1/README.md +0 -251
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-ast-1.32.1/LICENSE.txt +0 -20
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-ast-1.32.1/README.md +0 -56
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-capybara-2.21.0/CHANGELOG.md +0 -85
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-capybara-2.21.0/MIT-LICENSE.md +0 -21
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-capybara-2.21.0/README.md +0 -88
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-factory_bot-2.26.1/CHANGELOG.md +0 -116
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-factory_bot-2.26.1/MIT-LICENSE.md +0 -21
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-factory_bot-2.26.1/README.md +0 -88
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-performance-1.21.1/LICENSE.txt +0 -20
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-performance-1.21.1/README.md +0 -97
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-rspec-3.0.4/CHANGELOG.md +0 -1028
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-rspec-3.0.4/MIT-LICENSE.md +0 -21
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-rspec-3.0.4/README.md +0 -109
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-rspec_rails-2.30.0/CHANGELOG.md +0 -84
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-rspec_rails-2.30.0/MIT-LICENSE.md +0 -21
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-rspec_rails-2.30.0/README.md +0 -90
- data/vendor/bundle/ruby/3.3.0/gems/ruby-progressbar-1.13.0/LICENSE.txt +0 -19
- data/vendor/bundle/ruby/3.3.0/gems/ruby-progressbar-1.13.0/README.md +0 -131
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-0.22.0/CHANGELOG.md +0 -191
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-0.22.0/LICENSE +0 -20
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-0.22.0/README.md +0 -974
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-cobertura-2.1.0/LICENSE +0 -202
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-cobertura-2.1.0/README.md +0 -62
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-cobertura-2.1.0/simplecov-cobertura.gemspec +0 -29
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-html-0.12.3/CHANGELOG.md +0 -81
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-html-0.12.3/LICENSE +0 -20
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-html-0.12.3/README.md +0 -30
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-html-0.12.3/simplecov-html.gemspec +0 -23
- data/vendor/bundle/ruby/3.3.0/gems/simplecov_json_formatter-0.1.4/CHANGELOG.md +0 -13
- data/vendor/bundle/ruby/3.3.0/gems/simplecov_json_formatter-0.1.4/README.md +0 -29
- data/vendor/bundle/ruby/3.3.0/gems/strscan-3.1.0/LICENSE.txt +0 -22
- data/vendor/bundle/ruby/3.3.0/gems/thor-1.3.1/LICENSE.md +0 -20
- data/vendor/bundle/ruby/3.3.0/gems/thor-1.3.1/README.md +0 -45
- data/vendor/bundle/ruby/3.3.0/gems/thor-1.3.1/thor.gemspec +0 -33
- data/vendor/bundle/ruby/3.3.0/gems/unicode-display_width-2.5.0/CHANGELOG.md +0 -196
- data/vendor/bundle/ruby/3.3.0/gems/unicode-display_width-2.5.0/MIT-LICENSE.txt +0 -22
- data/vendor/bundle/ruby/3.3.0/gems/unicode-display_width-2.5.0/README.md +0 -171
- data/vendor/bundle/ruby/3.3.0/gems/webrick-1.8.1/LICENSE.txt +0 -22
- data/vendor/bundle/ruby/3.3.0/gems/webrick-1.8.1/README.md +0 -61
- data/vendor/bundle/ruby/3.3.0/gems/webrick-1.8.1/webrick.gemspec +0 -70
- data/vendor/bundle/ruby/3.3.0/gems/zeitwerk-2.6.17/MIT-LICENSE +0 -20
- data/vendor/bundle/ruby/3.3.0/gems/zeitwerk-2.6.17/README.md +0 -1494
- data/vendor/bundle/ruby/3.3.0/specifications/appraisal-2.5.0.gemspec +0 -31
- data/vendor/bundle/ruby/3.3.0/specifications/ast-2.4.2.gemspec +0 -30
- data/vendor/bundle/ruby/3.3.0/specifications/benchmark-ips-2.13.0.gemspec +0 -28
- data/vendor/bundle/ruby/3.3.0/specifications/byebug-11.1.3.gemspec +0 -31
- data/vendor/bundle/ruby/3.3.0/specifications/coderay-1.1.3.gemspec +0 -25
- data/vendor/bundle/ruby/3.3.0/specifications/docile-1.4.1.gemspec +0 -22
- data/vendor/bundle/ruby/3.3.0/specifications/io-console-0.7.2.gemspec +0 -25
- data/vendor/bundle/ruby/3.3.0/specifications/irb-1.14.0.gemspec +0 -30
- 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 +0 -31
- data/vendor/bundle/ruby/3.3.0/specifications/method_source-1.1.0.gemspec +0 -21
- data/vendor/bundle/ruby/3.3.0/specifications/nokogiri-1.16.7-x86_64-linux.gemspec +0 -31
- data/vendor/bundle/ruby/3.3.0/specifications/parallel-1.26.3.gemspec +0 -21
- data/vendor/bundle/ruby/3.3.0/specifications/parser-3.3.4.2.gemspec +0 -37
- data/vendor/bundle/ruby/3.3.0/specifications/pry-0.14.2.gemspec +0 -29
- data/vendor/bundle/ruby/3.3.0/specifications/pry-byebug-3.10.1.gemspec +0 -28
- data/vendor/bundle/ruby/3.3.0/specifications/rackup-2.1.0.gemspec +0 -31
- data/vendor/bundle/ruby/3.3.0/specifications/railties-7.2.1.gemspec +0 -37
- data/vendor/bundle/ruby/3.3.0/specifications/rainbow-3.1.1.gemspec +0 -25
- data/vendor/bundle/ruby/3.3.0/specifications/rdoc-6.7.0.gemspec +0 -31
- data/vendor/bundle/ruby/3.3.0/specifications/regexp_parser-2.9.2.gemspec +0 -22
- data/vendor/bundle/ruby/3.3.0/specifications/reline-0.5.9.gemspec +0 -26
- data/vendor/bundle/ruby/3.3.0/specifications/rexml-3.3.6.gemspec +0 -29
- data/vendor/bundle/ruby/3.3.0/specifications/rspec-rails-6.1.4.gemspec +0 -37
- data/vendor/bundle/ruby/3.3.0/specifications/rubocop-1.65.1.gemspec +0 -39
- data/vendor/bundle/ruby/3.3.0/specifications/rubocop-ast-1.32.1.gemspec +0 -28
- data/vendor/bundle/ruby/3.3.0/specifications/rubocop-capybara-2.21.0.gemspec +0 -27
- data/vendor/bundle/ruby/3.3.0/specifications/rubocop-factory_bot-2.26.1.gemspec +0 -27
- data/vendor/bundle/ruby/3.3.0/specifications/rubocop-performance-1.21.1.gemspec +0 -29
- data/vendor/bundle/ruby/3.3.0/specifications/rubocop-rspec-3.0.4.gemspec +0 -28
- data/vendor/bundle/ruby/3.3.0/specifications/rubocop-rspec_rails-2.30.0.gemspec +0 -28
- data/vendor/bundle/ruby/3.3.0/specifications/ruby-progressbar-1.13.0.gemspec +0 -29
- data/vendor/bundle/ruby/3.3.0/specifications/simplecov-0.22.0.gemspec +0 -28
- data/vendor/bundle/ruby/3.3.0/specifications/simplecov-cobertura-2.1.0.gemspec +0 -29
- data/vendor/bundle/ruby/3.3.0/specifications/simplecov-html-0.12.3.gemspec +0 -21
- data/vendor/bundle/ruby/3.3.0/specifications/simplecov_json_formatter-0.1.4.gemspec +0 -21
- data/vendor/bundle/ruby/3.3.0/specifications/strscan-3.1.0.gemspec +0 -24
- data/vendor/bundle/ruby/3.3.0/specifications/thor-1.3.1.gemspec +0 -28
- data/vendor/bundle/ruby/3.3.0/specifications/unicode-display_width-2.5.0.gemspec +0 -29
- data/vendor/bundle/ruby/3.3.0/specifications/webrick-1.8.1.gemspec +0 -22
- data/vendor/bundle/ruby/3.3.0/specifications/zeitwerk-2.6.17.gemspec +0 -22
- /data/vendor/bundle/ruby/{3.3.0/bundler/gems/rubocop-config-943facea9d8f → 3.4.0/bundler/gems/rubocop-config-67802c9d1826}/LICENSE +0 -0
- /data/vendor/bundle/ruby/{3.3.0/bundler/gems/rubocop-config-943facea9d8f → 3.4.0/bundler/gems/rubocop-config-67802c9d1826}/README.md +0 -0
- /data/vendor/bundle/ruby/{3.3.0/gems/actionpack-7.2.1 → 3.4.0/gems/actionpack-8.0.1}/MIT-LICENSE +0 -0
- /data/vendor/bundle/ruby/{3.3.0/gems/actionpack-7.2.1 → 3.4.0/gems/actionpack-8.0.1}/README.rdoc +0 -0
- /data/vendor/bundle/ruby/{3.3.0/gems/actionview-7.2.1 → 3.4.0/gems/actionview-8.0.1}/MIT-LICENSE +0 -0
- /data/vendor/bundle/ruby/{3.3.0/gems/actionview-7.2.1 → 3.4.0/gems/actionview-8.0.1}/README.rdoc +0 -0
- /data/vendor/bundle/ruby/{3.3.0/gems/activesupport-7.2.1 → 3.4.0/gems/activesupport-8.0.1}/MIT-LICENSE +0 -0
- /data/vendor/bundle/ruby/{3.3.0/gems/activesupport-7.2.1 → 3.4.0/gems/activesupport-8.0.1}/README.rdoc +0 -0
- /data/vendor/bundle/ruby/{3.3.0 → 3.4.0}/gems/addressable-2.8.7/CHANGELOG.md +0 -0
- /data/vendor/bundle/ruby/{3.3.0 → 3.4.0}/gems/addressable-2.8.7/LICENSE.txt +0 -0
- /data/vendor/bundle/ruby/{3.3.0 → 3.4.0}/gems/addressable-2.8.7/README.md +0 -0
- /data/vendor/bundle/ruby/{3.3.0 → 3.4.0}/gems/addressable-2.8.7/addressable.gemspec +0 -0
- /data/vendor/bundle/ruby/{3.3.0/gems/drb-2.2.1 → 3.4.0/gems/base64-0.2.0}/LICENSE.txt +0 -0
- /data/vendor/bundle/ruby/{3.3.0/gems/bigdecimal-3.1.8 → 3.4.0/gems/bigdecimal-3.1.9}/LICENSE +0 -0
- /data/vendor/bundle/ruby/{3.3.0/gems/bigdecimal-3.1.8 → 3.4.0/gems/bigdecimal-3.1.9}/bigdecimal.gemspec +0 -0
- /data/vendor/bundle/ruby/{3.3.0 → 3.4.0}/gems/builder-3.3.0/MIT-LICENSE +0 -0
- /data/vendor/bundle/ruby/{3.3.0 → 3.4.0}/gems/builder-3.3.0/README.md +0 -0
- /data/vendor/bundle/ruby/{3.3.0 → 3.4.0}/gems/builder-3.3.0/builder.gemspec +0 -0
- /data/vendor/bundle/ruby/{3.3.0/gems/concurrent-ruby-1.3.4 → 3.4.0/gems/concurrent-ruby-1.3.5}/LICENSE.txt +0 -0
- /data/vendor/bundle/ruby/{3.3.0/gems/connection_pool-2.4.1 → 3.4.0/gems/connection_pool-2.5.0}/LICENSE +0 -0
- /data/vendor/bundle/ruby/{3.3.0/gems/connection_pool-2.4.1 → 3.4.0/gems/connection_pool-2.5.0}/connection_pool.gemspec +0 -0
- /data/vendor/bundle/ruby/{3.3.0 → 3.4.0}/gems/crass-1.0.6/LICENSE +0 -0
- /data/vendor/bundle/ruby/{3.3.0 → 3.4.0}/gems/crass-1.0.6/README.md +0 -0
- /data/vendor/bundle/ruby/{3.3.0 → 3.4.0}/gems/crass-1.0.6/crass.gemspec +0 -0
- /data/vendor/bundle/ruby/{3.3.0 → 3.4.0}/gems/diff-lcs-1.5.1/README.rdoc +0 -0
- /data/vendor/bundle/ruby/{3.3.0/gems/io-console-0.7.2 → 3.4.0/gems/drb-2.2.1}/LICENSE.txt +0 -0
- /data/vendor/bundle/ruby/{3.3.0 → 3.4.0}/gems/drb-2.2.1/drb.gemspec +0 -0
- /data/vendor/bundle/ruby/{3.3.0/gems/erubi-1.13.0 → 3.4.0/gems/erubi-1.13.1}/MIT-LICENSE +0 -0
- /data/vendor/bundle/ruby/{3.3.0/gems/erubi-1.13.0 → 3.4.0/gems/erubi-1.13.1}/README.rdoc +0 -0
- /data/vendor/bundle/ruby/{3.3.0/gems/i18n-1.14.5 → 3.4.0/gems/i18n-1.14.7}/MIT-LICENSE +0 -0
- /data/vendor/bundle/ruby/{3.3.0/gems/i18n-1.14.5 → 3.4.0/gems/i18n-1.14.7}/README.md +0 -0
- /data/vendor/bundle/ruby/{3.3.0/gems/loofah-2.22.0 → 3.4.0/gems/loofah-2.24.0}/MIT-LICENSE.txt +0 -0
- /data/vendor/bundle/ruby/{3.3.0/gems/minitest-5.25.1 → 3.4.0/gems/minitest-5.25.4}/README.rdoc +0 -0
- /data/vendor/bundle/ruby/{3.3.0/gems/nokogiri-1.16.7-x86_64-linux → 3.4.0/gems/nokogiri-1.18.2-x86_64-linux-gnu}/LICENSE.md +0 -0
- /data/vendor/bundle/ruby/{3.3.0 → 3.4.0}/gems/public_suffix-6.0.1/CHANGELOG.md +0 -0
- /data/vendor/bundle/ruby/{3.3.0 → 3.4.0}/gems/public_suffix-6.0.1/LICENSE.txt +0 -0
- /data/vendor/bundle/ruby/{3.3.0 → 3.4.0}/gems/public_suffix-6.0.1/README.md +0 -0
- /data/vendor/bundle/ruby/{3.3.0 → 3.4.0}/gems/racc-1.8.1/README.ja.rdoc +0 -0
- /data/vendor/bundle/ruby/{3.3.0 → 3.4.0}/gems/racc-1.8.1/README.rdoc +0 -0
- /data/vendor/bundle/ruby/{3.3.0/gems/rack-3.1.7 → 3.4.0/gems/rack-3.1.9}/MIT-LICENSE +0 -0
- /data/vendor/bundle/ruby/{3.3.0/gems/rack-3.1.7 → 3.4.0/gems/rack-3.1.9}/README.md +0 -0
- /data/vendor/bundle/ruby/{3.3.0/gems/rack-test-2.1.0 → 3.4.0/gems/rack-test-2.2.0}/MIT-LICENSE.txt +0 -0
- /data/vendor/bundle/ruby/{3.3.0/gems/rack-test-2.1.0 → 3.4.0/gems/rack-test-2.2.0}/README.md +0 -0
- /data/vendor/bundle/ruby/{3.3.0 → 3.4.0}/gems/rails-dom-testing-2.2.0/MIT-LICENSE +0 -0
- /data/vendor/bundle/ruby/{3.3.0 → 3.4.0}/gems/rails-dom-testing-2.2.0/README.md +0 -0
- /data/vendor/bundle/ruby/{3.3.0/gems/rails-html-sanitizer-1.6.0 → 3.4.0/gems/rails-html-sanitizer-1.6.2}/MIT-LICENSE +0 -0
- /data/vendor/bundle/ruby/{3.3.0 → 3.4.0}/gems/rake-13.2.1/MIT-LICENSE +0 -0
- /data/vendor/bundle/ruby/{3.3.0 → 3.4.0}/gems/rake-13.2.1/README.rdoc +0 -0
- /data/vendor/bundle/ruby/{3.3.0 → 3.4.0}/gems/rake-13.2.1/rake.gemspec +0 -0
- /data/vendor/bundle/ruby/{3.3.0 → 3.4.0}/gems/rake-release-1.3.0/LICENSE +0 -0
- /data/vendor/bundle/ruby/{3.3.0 → 3.4.0}/gems/rake-release-1.3.0/README.md +0 -0
- /data/vendor/bundle/ruby/{3.3.0 → 3.4.0}/gems/rake-release-1.3.0/rake-release.gemspec +0 -0
- /data/vendor/bundle/ruby/{3.3.0 → 3.4.0}/gems/rspec-3.13.0/LICENSE.md +0 -0
- /data/vendor/bundle/ruby/{3.3.0 → 3.4.0}/gems/rspec-3.13.0/README.md +0 -0
- /data/vendor/bundle/ruby/{3.3.0/gems/rspec-core-3.13.0 → 3.4.0/gems/rspec-core-3.13.2}/LICENSE.md +0 -0
- /data/vendor/bundle/ruby/{3.3.0/gems/rspec-core-3.13.0 → 3.4.0/gems/rspec-core-3.13.2}/README.md +0 -0
- /data/vendor/bundle/ruby/{3.3.0/gems/rspec-expectations-3.13.2 → 3.4.0/gems/rspec-expectations-3.13.3}/LICENSE.md +0 -0
- /data/vendor/bundle/ruby/{3.3.0/gems/rspec-expectations-3.13.2 → 3.4.0/gems/rspec-expectations-3.13.3}/README.md +0 -0
- /data/vendor/bundle/ruby/{3.3.0/gems/rspec-mocks-3.13.1 → 3.4.0/gems/rspec-mocks-3.13.2}/LICENSE.md +0 -0
- /data/vendor/bundle/ruby/{3.3.0/gems/rspec-mocks-3.13.1 → 3.4.0/gems/rspec-mocks-3.13.2}/README.md +0 -0
- /data/vendor/bundle/ruby/{3.3.0/gems/rspec-support-3.13.1 → 3.4.0/gems/rspec-support-3.13.2}/LICENSE.md +0 -0
- /data/vendor/bundle/ruby/{3.3.0/gems/rspec-support-3.13.1 → 3.4.0/gems/rspec-support-3.13.2}/README.md +0 -0
- /data/vendor/bundle/ruby/{3.3.0 → 3.4.0}/gems/tzinfo-2.0.6/LICENSE +0 -0
- /data/vendor/bundle/ruby/{3.3.0 → 3.4.0}/gems/tzinfo-2.0.6/README.md +0 -0
- /data/vendor/bundle/ruby/{3.3.0/gems/useragent-0.16.10 → 3.4.0/gems/useragent-0.16.11}/LICENSE +0 -0
@@ -1,227 +0,0 @@
|
|
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).
|
@@ -1,57 +0,0 @@
|
|
1
|
-
RDoc is copyrighted free software.
|
2
|
-
|
3
|
-
You can redistribute it and/or modify it under either the terms of the GPL
|
4
|
-
version 2 (see the file GPL), or the conditions below:
|
5
|
-
|
6
|
-
1. You may make and give away verbatim copies of the source form of the
|
7
|
-
software without restriction, provided that you duplicate all of the
|
8
|
-
original copyright notices and associated disclaimers.
|
9
|
-
|
10
|
-
2. You may modify your copy of the software in any way, provided that
|
11
|
-
you do at least ONE of the following:
|
12
|
-
|
13
|
-
a. place your modifications in the Public Domain or otherwise
|
14
|
-
make them Freely Available, such as by posting said
|
15
|
-
modifications to Usenet or an equivalent medium, or by allowing
|
16
|
-
the author to include your modifications in the software.
|
17
|
-
|
18
|
-
b. use the modified software only within your corporation or
|
19
|
-
organization.
|
20
|
-
|
21
|
-
c. give non-standard binaries non-standard names, with
|
22
|
-
instructions on where to get the original software distribution.
|
23
|
-
|
24
|
-
d. make other distribution arrangements with the author.
|
25
|
-
|
26
|
-
3. You may distribute the software in object code or binary form,
|
27
|
-
provided that you do at least ONE of the following:
|
28
|
-
|
29
|
-
a. distribute the binaries and library files of the software,
|
30
|
-
together with instructions (in the manual page or equivalent)
|
31
|
-
on where to get the original distribution.
|
32
|
-
|
33
|
-
b. accompany the distribution with the machine-readable source of
|
34
|
-
the software.
|
35
|
-
|
36
|
-
c. give non-standard binaries non-standard names, with
|
37
|
-
instructions on where to get the original software distribution.
|
38
|
-
|
39
|
-
d. make other distribution arrangements with the author.
|
40
|
-
|
41
|
-
4. You may modify and include the part of the software into any other
|
42
|
-
software (possibly commercial). But some files in the distribution
|
43
|
-
are not written by the author, so that they are not under these terms.
|
44
|
-
|
45
|
-
For the list of those files and their copying conditions, see the
|
46
|
-
file LEGAL.
|
47
|
-
|
48
|
-
5. The scripts and library files supplied as input to or produced as
|
49
|
-
output from the software do not automatically fall under the
|
50
|
-
copyright of the software, but belong to whomever generated them,
|
51
|
-
and may be sold commercially, and may be aggregated with this
|
52
|
-
software.
|
53
|
-
|
54
|
-
6. THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR
|
55
|
-
IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
|
56
|
-
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
57
|
-
PURPOSE.
|
@@ -1,129 +0,0 @@
|
|
1
|
-
= \RDoc - Ruby Documentation System
|
2
|
-
|
3
|
-
home :: https://github.com/ruby/rdoc
|
4
|
-
rdoc :: https://ruby.github.io/rdoc
|
5
|
-
bugs :: https://github.com/ruby/rdoc/issues
|
6
|
-
code quality :: https://codeclimate.com/github/ruby/rdoc
|
7
|
-
|
8
|
-
== Description
|
9
|
-
|
10
|
-
RDoc produces HTML and command-line documentation for Ruby projects. RDoc
|
11
|
-
includes the +rdoc+ and +ri+ tools for generating and displaying documentation
|
12
|
-
from the command-line.
|
13
|
-
|
14
|
-
== Generating Documentation
|
15
|
-
|
16
|
-
Once installed, you can create documentation using the +rdoc+ command
|
17
|
-
|
18
|
-
$ rdoc [options] [names...]
|
19
|
-
|
20
|
-
For an up-to-date option summary, type
|
21
|
-
|
22
|
-
$ rdoc --help
|
23
|
-
|
24
|
-
A typical use might be to generate documentation for a package of Ruby
|
25
|
-
source (such as RDoc itself).
|
26
|
-
|
27
|
-
$ rdoc
|
28
|
-
|
29
|
-
This command generates documentation for all the Ruby and C source
|
30
|
-
files in and below the current directory. These will be stored in a
|
31
|
-
documentation tree starting in the subdirectory +doc+.
|
32
|
-
|
33
|
-
You can make this slightly more useful for your readers by having the
|
34
|
-
index page contain the documentation for the primary file. In our
|
35
|
-
case, we could type
|
36
|
-
|
37
|
-
% rdoc --main README.rdoc
|
38
|
-
|
39
|
-
You'll find information on the various formatting tricks you can use
|
40
|
-
in comment blocks in the documentation this generates.
|
41
|
-
|
42
|
-
RDoc uses file extensions to determine how to process each file. File names
|
43
|
-
ending +.rb+ and +.rbw+ are assumed to be Ruby source. Files
|
44
|
-
ending +.c+ are parsed as C files. All other files are assumed to
|
45
|
-
contain just Markup-style markup (with or without leading '#' comment
|
46
|
-
markers). If directory names are passed to RDoc, they are scanned
|
47
|
-
recursively for C and Ruby source files only.
|
48
|
-
|
49
|
-
To generate documentation using +rake+ see RDoc::Task[https://ruby.github.io/rdoc/RDoc/Task.html].
|
50
|
-
|
51
|
-
To generate documentation programmatically:
|
52
|
-
|
53
|
-
gem 'rdoc'
|
54
|
-
require 'rdoc/rdoc'
|
55
|
-
|
56
|
-
options = RDoc::Options.new
|
57
|
-
# see RDoc::Options
|
58
|
-
|
59
|
-
rdoc = RDoc::RDoc.new
|
60
|
-
rdoc.document options
|
61
|
-
# see RDoc::RDoc
|
62
|
-
|
63
|
-
== Writing Documentation
|
64
|
-
|
65
|
-
To write documentation for RDoc place a comment above the class, module,
|
66
|
-
method, constant, or attribute you want documented:
|
67
|
-
|
68
|
-
##
|
69
|
-
# This class represents an arbitrary shape by a series of points.
|
70
|
-
|
71
|
-
class Shape
|
72
|
-
|
73
|
-
##
|
74
|
-
# Creates a new shape described by a +polyline+.
|
75
|
-
#
|
76
|
-
# If the +polyline+ does not end at the same point it started at the
|
77
|
-
# first pointed is copied and placed at the end of the line.
|
78
|
-
#
|
79
|
-
# An ArgumentError is raised if the line crosses itself, but shapes may
|
80
|
-
# be concave.
|
81
|
-
|
82
|
-
def initialize polyline
|
83
|
-
# ...
|
84
|
-
end
|
85
|
-
|
86
|
-
end
|
87
|
-
|
88
|
-
The default comment markup format is the RDoc::Markup format.
|
89
|
-
TomDoc[rdoc-ref:RDoc::TomDoc], Markdown[rdoc-ref:RDoc::Markdown] and
|
90
|
-
RD[rdoc-ref:RDoc::RD] format comments are also supported. You can set the
|
91
|
-
default comment format for your entire project by creating a
|
92
|
-
<tt>.rdoc_options</tt> file. See RDoc::Options@Saved+Options for instructions
|
93
|
-
on creating one. You can also set the comment format for a single file
|
94
|
-
through the +:markup:+ directive, but this is only recommended if you wish to
|
95
|
-
switch markup formats. See RDoc::Markup@Other+directives.
|
96
|
-
|
97
|
-
Comments can contain directives that tell RDoc information that it cannot
|
98
|
-
otherwise discover through parsing. See RDoc::Markup@Directives to control
|
99
|
-
what is or is not documented, to define method arguments or to break up
|
100
|
-
methods in a class by topic. See RDoc::Parser::Ruby for directives used to
|
101
|
-
teach RDoc about metaprogrammed methods.
|
102
|
-
|
103
|
-
See RDoc::Parser::C for documenting C extensions with RDoc.
|
104
|
-
|
105
|
-
To determine how well your project is documented run <tt>rdoc -C lib</tt> to
|
106
|
-
get a documentation coverage report. <tt>rdoc -C1 lib</tt> includes parameter
|
107
|
-
names in the documentation coverage report.
|
108
|
-
|
109
|
-
== Bugs
|
110
|
-
|
111
|
-
See CONTRIBUTING@Bugs for information on filing a bug report. It's OK to file
|
112
|
-
a bug report for anything you're having a problem with. If you can't figure
|
113
|
-
out how to make RDoc produce the output you like that is probably a
|
114
|
-
documentation bug.
|
115
|
-
|
116
|
-
== License
|
117
|
-
|
118
|
-
RDoc is Copyright (c) 2001-2003 Dave Thomas, The Pragmatic Programmers.
|
119
|
-
Portions (c) 2007-2011 Eric Hodel. Portions copyright others, see individual
|
120
|
-
files and LEGAL.rdoc for details.
|
121
|
-
|
122
|
-
RDoc is free software, and may be redistributed under the terms specified in
|
123
|
-
LICENSE.rdoc.
|
124
|
-
|
125
|
-
== Warranty
|
126
|
-
|
127
|
-
This software is provided "as is" and without any express or implied
|
128
|
-
warranties, including, without limitation, the implied warranties of
|
129
|
-
merchantability and fitness for a particular purpose.
|
@@ -1,22 +0,0 @@
|
|
1
|
-
Copyright (c) 2010, 2012-2024, 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.
|
@@ -1,34 +0,0 @@
|
|
1
|
-
$:.unshift File.join(File.dirname(__FILE__), 'lib')
|
2
|
-
|
3
|
-
require 'regexp_parser/version'
|
4
|
-
|
5
|
-
Gem::Specification.new do |spec|
|
6
|
-
spec.name = 'regexp_parser'
|
7
|
-
spec.version = ::Regexp::Parser::VERSION
|
8
|
-
|
9
|
-
spec.summary = "Scanner, lexer, parser for ruby's regular expressions"
|
10
|
-
spec.description = 'A library for tokenizing, lexing, and parsing Ruby regular expressions.'
|
11
|
-
spec.homepage = 'https://github.com/ammar/regexp_parser'
|
12
|
-
|
13
|
-
spec.metadata['bug_tracker_uri'] = "#{spec.homepage}/issues"
|
14
|
-
spec.metadata['changelog_uri'] = "#{spec.homepage}/blob/master/CHANGELOG.md"
|
15
|
-
spec.metadata['homepage_uri'] = spec.homepage
|
16
|
-
spec.metadata['source_code_uri'] = spec.homepage
|
17
|
-
spec.metadata['wiki_uri'] = "#{spec.homepage}/wiki"
|
18
|
-
|
19
|
-
spec.metadata['rubygems_mfa_required'] = 'true'
|
20
|
-
|
21
|
-
spec.authors = ['Ammar Ali', 'Janosch Müller']
|
22
|
-
spec.email = ['ammarabuali@gmail.com', 'janosch84@gmail.com']
|
23
|
-
|
24
|
-
spec.license = 'MIT'
|
25
|
-
|
26
|
-
spec.require_paths = ['lib']
|
27
|
-
|
28
|
-
spec.files = Dir.glob('lib/**/*.{csv,rb,rl}') +
|
29
|
-
%w[Gemfile Rakefile LICENSE regexp_parser.gemspec]
|
30
|
-
|
31
|
-
spec.platform = Gem::Platform::RUBY
|
32
|
-
|
33
|
-
spec.required_ruby_version = '>= 2.0.0'
|
34
|
-
end
|
@@ -1,94 +0,0 @@
|
|
1
|
-
[](https://badge.fury.io/rb/reline)
|
2
|
-
[](https://github.com/ruby/reline/actions/workflows/reline.yml)
|
3
|
-
|
4
|
-
This is a screen capture of *IRB improved by Reline*.
|
5
|
-
|
6
|
-

|
7
|
-
|
8
|
-
# Reline
|
9
|
-
|
10
|
-
Reline is compatible with the API of Ruby's stdlib 'readline', GNU Readline and Editline by pure Ruby implementation.
|
11
|
-
|
12
|
-
## Usage
|
13
|
-
|
14
|
-
### Single line editing mode
|
15
|
-
|
16
|
-
It's compatible with the readline standard library.
|
17
|
-
|
18
|
-
See [the document of readline stdlib](https://ruby-doc.org/stdlib/exts/readline/Readline.html) or [bin/example](https://github.com/ruby/reline/blob/master/bin/example).
|
19
|
-
|
20
|
-
### Multi-line editing mode
|
21
|
-
|
22
|
-
```ruby
|
23
|
-
require "reline"
|
24
|
-
|
25
|
-
prompt = 'prompt> '
|
26
|
-
use_history = true
|
27
|
-
|
28
|
-
begin
|
29
|
-
while true
|
30
|
-
text = Reline.readmultiline(prompt, use_history) do |multiline_input|
|
31
|
-
# Accept the input until `end` is entered
|
32
|
-
multiline_input.split.last == "end"
|
33
|
-
end
|
34
|
-
|
35
|
-
puts 'You entered:'
|
36
|
-
puts text
|
37
|
-
end
|
38
|
-
# If you want to exit, type Ctrl-C
|
39
|
-
rescue Interrupt
|
40
|
-
puts '^C'
|
41
|
-
exit 0
|
42
|
-
end
|
43
|
-
```
|
44
|
-
|
45
|
-
```bash
|
46
|
-
$ ruby example.rb
|
47
|
-
prompt> aaa
|
48
|
-
prompt> bbb
|
49
|
-
prompt> end
|
50
|
-
You entered:
|
51
|
-
aaa
|
52
|
-
bbb
|
53
|
-
end
|
54
|
-
```
|
55
|
-
|
56
|
-
See also: [test/reline/yamatanooroti/multiline_repl](https://github.com/ruby/reline/blob/master/test/reline/yamatanooroti/multiline_repl)
|
57
|
-
|
58
|
-
## Documentation
|
59
|
-
|
60
|
-
### Reline::Face
|
61
|
-
|
62
|
-
You can modify the text color and text decorations in your terminal emulator.
|
63
|
-
See [doc/reline/face.md](./doc/reline/face.md)
|
64
|
-
|
65
|
-
## Contributing
|
66
|
-
|
67
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/ruby/reline.
|
68
|
-
|
69
|
-
### Run tests
|
70
|
-
|
71
|
-
> **Note**
|
72
|
-
> Please make sure you have `libvterm` installed for `yamatanooroti` tests (integration tests).
|
73
|
-
|
74
|
-
If you use Homebrew, you can install it by running `brew install libvterm`.
|
75
|
-
|
76
|
-
```bash
|
77
|
-
WITH_VTERM=1 bundle install
|
78
|
-
WITH_VTERM=1 bundle exec rake test test_yamatanooroti
|
79
|
-
```
|
80
|
-
|
81
|
-
## Releasing
|
82
|
-
|
83
|
-
```bash
|
84
|
-
rake release
|
85
|
-
gh release create vX.Y.Z --generate-notes
|
86
|
-
```
|
87
|
-
|
88
|
-
## License
|
89
|
-
|
90
|
-
The gem is available as open source under the terms of the [Ruby License](https://www.ruby-lang.org/en/about/license.txt).
|
91
|
-
|
92
|
-
## Acknowledgments for [rb-readline](https://github.com/ConnorAtherton/rb-readline)
|
93
|
-
|
94
|
-
In developing Reline, we have used some of the rb-readline implementation, so this library includes [copyright notice, list of conditions and the disclaimer](license_of_rb-readline) under the 3-Clause BSD License. Reline would never have been developed without rb-readline. Thank you for the tremendous accomplishments.
|
@@ -1,22 +0,0 @@
|
|
1
|
-
Copyright (C) 1993-2013 Yukihiro Matsumoto. All rights reserved.
|
2
|
-
|
3
|
-
Redistribution and use in source and binary forms, with or without
|
4
|
-
modification, are permitted provided that the following conditions
|
5
|
-
are met:
|
6
|
-
1. Redistributions of source code must retain the above copyright
|
7
|
-
notice, this list of conditions and the following disclaimer.
|
8
|
-
2. Redistributions in binary form must reproduce the above copyright
|
9
|
-
notice, this list of conditions and the following disclaimer in the
|
10
|
-
documentation and/or other materials provided with the distribution.
|
11
|
-
|
12
|
-
THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
|
13
|
-
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
14
|
-
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
15
|
-
ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
|
16
|
-
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
17
|
-
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
18
|
-
OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
19
|
-
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
20
|
-
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
21
|
-
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
22
|
-
SUCH DAMAGE.
|
@@ -1,57 +0,0 @@
|
|
1
|
-
# REXML
|
2
|
-
|
3
|
-
REXML was inspired by the Electric XML library for Java, which features an easy-to-use API, small size, and speed. Hopefully, REXML, designed with the same philosophy, has these same features. I've tried to keep the API as intuitive as possible, and have followed the Ruby methodology for method naming and code flow, rather than mirroring the Java API.
|
4
|
-
|
5
|
-
REXML supports both tree and stream document parsing. Stream parsing is faster (about 1.5 times as fast). However, with stream parsing, you don't get access to features such as XPath.
|
6
|
-
|
7
|
-
## API
|
8
|
-
|
9
|
-
See the [API documentation](https://ruby.github.io/rexml/).
|
10
|
-
|
11
|
-
## Usage
|
12
|
-
|
13
|
-
We'll start with parsing an XML document
|
14
|
-
|
15
|
-
```ruby
|
16
|
-
require "rexml/document"
|
17
|
-
file = File.new( "mydoc.xml" )
|
18
|
-
doc = REXML::Document.new file
|
19
|
-
```
|
20
|
-
|
21
|
-
Line 3 creates a new document and parses the supplied file. You can also do the following
|
22
|
-
|
23
|
-
```ruby
|
24
|
-
require "rexml/document"
|
25
|
-
include REXML # so that we don't have to prefix everything with REXML::...
|
26
|
-
string = <<EOF
|
27
|
-
<mydoc>
|
28
|
-
<someelement attribute="nanoo">Text, text, text</someelement>
|
29
|
-
</mydoc>
|
30
|
-
EOF
|
31
|
-
doc = Document.new string
|
32
|
-
```
|
33
|
-
|
34
|
-
So parsing a string is just as easy as parsing a file.
|
35
|
-
|
36
|
-
## Support
|
37
|
-
|
38
|
-
REXML support follows the same maintenance cycle as Ruby releases, as shown on <https://www.ruby-lang.org/en/downloads/branches/>.
|
39
|
-
|
40
|
-
If you are running on an end-of-life Ruby, do not expect modern REXML releases to be compatible with it; in fact, it's recommended that you DO NOT use this gem, and instead use the REXML version that came bundled with your end-of-life Ruby version.
|
41
|
-
|
42
|
-
The `required_ruby_version` on the gemspec is kept updated on a [best-effort basis](https://github.com/ruby/rexml/pull/70) by the community.
|
43
|
-
Up to version 3.2.5, this information was not set. That version [is known broken with at least Ruby < 2.3](https://github.com/ruby/rexml/issues/69).
|
44
|
-
|
45
|
-
## Development
|
46
|
-
|
47
|
-
After checking out the repo, run `rake test` to run the tests.
|
48
|
-
|
49
|
-
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
50
|
-
|
51
|
-
## Contributing
|
52
|
-
|
53
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/ruby/rexml.
|
54
|
-
|
55
|
-
## License
|
56
|
-
|
57
|
-
The gem is available as open source under the terms of the [BSD-2-Clause](LICENSE.txt).
|
@@ -1,25 +0,0 @@
|
|
1
|
-
The MIT License (MIT)
|
2
|
-
=====================
|
3
|
-
|
4
|
-
* Copyright © 2015 David Chelimsky, Aaron Kromer
|
5
|
-
* Copyright © 2012 David Chelimsky, Andy Lindeman
|
6
|
-
* Copyright © 2006 David Chelimsky, The RSpec Development Team
|
7
|
-
|
8
|
-
Permission is hereby granted, free of charge, to any person obtaining
|
9
|
-
a copy of this software and associated documentation files (the
|
10
|
-
"Software"), to deal in the Software without restriction, including
|
11
|
-
without limitation the rights to use, copy, modify, merge, publish,
|
12
|
-
distribute, sublicense, and/or sell copies of the Software, and to
|
13
|
-
permit persons to whom the Software is furnished to do so, subject to
|
14
|
-
the following conditions:
|
15
|
-
|
16
|
-
The above copyright notice and this permission notice shall be
|
17
|
-
included in all copies or substantial portions of the Software.
|
18
|
-
|
19
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
20
|
-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
21
|
-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
22
|
-
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
23
|
-
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
24
|
-
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
25
|
-
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|