logstash-filter-base64 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/CHANGELOG.md +3 -0
- data/CONTRIBUTORS +12 -0
- data/Gemfile +2 -0
- data/LICENSE +13 -0
- data/NOTICE.TXT +5 -0
- data/README.md +98 -0
- data/lib/logstash/filters/base64.rb +59 -0
- data/logstash-filter-base64.gemspec +24 -0
- data/spec/filters/base64_spec.rb +135 -0
- data/spec/spec_helper.rb +2 -0
- data/vendor/bundle/jruby/2.3.0/bin/coderay +22 -0
- data/vendor/bundle/jruby/2.3.0/bin/htmldiff +24 -0
- data/vendor/bundle/jruby/2.3.0/bin/kramdown +22 -0
- data/vendor/bundle/jruby/2.3.0/bin/ldiff +24 -0
- data/vendor/bundle/jruby/2.3.0/bin/minitar +22 -0
- data/vendor/bundle/jruby/2.3.0/bin/pry +22 -0
- data/vendor/bundle/jruby/2.3.0/bin/puma +22 -0
- data/vendor/bundle/jruby/2.3.0/bin/pumactl +22 -0
- data/vendor/bundle/jruby/2.3.0/bin/rackup +22 -0
- data/vendor/bundle/jruby/2.3.0/bin/rake +22 -0
- data/vendor/bundle/jruby/2.3.0/bin/rmvn +22 -0
- data/vendor/bundle/jruby/2.3.0/bin/rspec +22 -0
- data/vendor/bundle/jruby/2.3.0/bin/tilt +22 -0
- data/vendor/bundle/jruby/2.3.0/bin/tt +22 -0
- data/vendor/bundle/jruby/2.3.0/cache/chronic_duration-0.10.6.gem +0 -0
- data/vendor/bundle/jruby/2.3.0/cache/clamp-0.6.5.gem +0 -0
- data/vendor/bundle/jruby/2.3.0/cache/coderay-1.1.1.gem +0 -0
- data/vendor/bundle/jruby/2.3.0/cache/concurrent-ruby-1.0.0-java.gem +0 -0
- data/vendor/bundle/jruby/2.3.0/cache/diff-lcs-1.2.5.gem +0 -0
- data/vendor/bundle/jruby/2.3.0/cache/ffi-1.9.14-java.gem +0 -0
- data/vendor/bundle/jruby/2.3.0/cache/filesize-0.0.4.gem +0 -0
- data/vendor/bundle/jruby/2.3.0/cache/fivemat-1.3.2.gem +0 -0
- data/vendor/bundle/jruby/2.3.0/cache/gem_publisher-1.5.0.gem +0 -0
- data/vendor/bundle/jruby/2.3.0/cache/gems-0.8.3.gem +0 -0
- data/vendor/bundle/jruby/2.3.0/cache/i18n-0.6.9.gem +0 -0
- data/vendor/bundle/jruby/2.3.0/cache/insist-1.0.0.gem +0 -0
- data/vendor/bundle/jruby/2.3.0/cache/jrjackson-0.4.0-java.gem +0 -0
- data/vendor/bundle/jruby/2.3.0/cache/jrmonitor-0.4.2.gem +0 -0
- data/vendor/bundle/jruby/2.3.0/cache/jruby-openssl-0.9.16-java.gem +0 -0
- data/vendor/bundle/jruby/2.3.0/cache/kramdown-1.12.0.gem +0 -0
- data/vendor/bundle/jruby/2.3.0/cache/logstash-core-5.0.0.alpha6.snapshot5-java.gem +0 -0
- data/vendor/bundle/jruby/2.3.0/cache/logstash-core-event-java-5.0.0.alpha6.snapshot5-java.gem +0 -0
- data/vendor/bundle/jruby/2.3.0/cache/logstash-core-plugin-api-2.1.15-java.gem +0 -0
- data/vendor/bundle/jruby/2.3.0/cache/logstash-devutils-1.0.2-java.gem +0 -0
- data/vendor/bundle/jruby/2.3.0/cache/method_source-0.8.2.gem +0 -0
- data/vendor/bundle/jruby/2.3.0/cache/minitar-0.5.4.gem +0 -0
- data/vendor/bundle/jruby/2.3.0/cache/numerizer-0.1.1.gem +0 -0
- data/vendor/bundle/jruby/2.3.0/cache/polyglot-0.3.5.gem +0 -0
- data/vendor/bundle/jruby/2.3.0/cache/pry-0.10.4-java.gem +0 -0
- data/vendor/bundle/jruby/2.3.0/cache/puma-2.16.0-java.gem +0 -0
- data/vendor/bundle/jruby/2.3.0/cache/rack-1.6.4.gem +0 -0
- data/vendor/bundle/jruby/2.3.0/cache/rack-protection-1.5.3.gem +0 -0
- data/vendor/bundle/jruby/2.3.0/cache/rake-11.2.2.gem +0 -0
- data/vendor/bundle/jruby/2.3.0/cache/rspec-3.5.0.gem +0 -0
- data/vendor/bundle/jruby/2.3.0/cache/rspec-core-3.5.3.gem +0 -0
- data/vendor/bundle/jruby/2.3.0/cache/rspec-expectations-3.5.0.gem +0 -0
- data/vendor/bundle/jruby/2.3.0/cache/rspec-mocks-3.5.0.gem +0 -0
- data/vendor/bundle/jruby/2.3.0/cache/rspec-support-3.5.0.gem +0 -0
- data/vendor/bundle/jruby/2.3.0/cache/rspec-wait-0.0.9.gem +0 -0
- data/vendor/bundle/jruby/2.3.0/cache/ruby-maven-3.3.12.gem +0 -0
- data/vendor/bundle/jruby/2.3.0/cache/ruby-maven-libs-3.3.9.gem +0 -0
- data/vendor/bundle/jruby/2.3.0/cache/rubyzip-1.1.7.gem +0 -0
- data/vendor/bundle/jruby/2.3.0/cache/sinatra-1.4.7.gem +0 -0
- data/vendor/bundle/jruby/2.3.0/cache/slop-3.6.0.gem +0 -0
- data/vendor/bundle/jruby/2.3.0/cache/spoon-0.0.4.gem +0 -0
- data/vendor/bundle/jruby/2.3.0/cache/stud-0.0.22.gem +0 -0
- data/vendor/bundle/jruby/2.3.0/cache/thread_safe-0.3.5-java.gem +0 -0
- data/vendor/bundle/jruby/2.3.0/cache/tilt-2.0.5.gem +0 -0
- data/vendor/bundle/jruby/2.3.0/cache/treetop-1.4.15.gem +0 -0
- data/vendor/bundle/jruby/2.3.0/gems/chronic_duration-0.10.6/Gemfile +2 -0
- data/vendor/bundle/jruby/2.3.0/gems/chronic_duration-0.10.6/LICENSE.txt +22 -0
- data/vendor/bundle/jruby/2.3.0/gems/chronic_duration-0.10.6/README.md +80 -0
- data/vendor/bundle/jruby/2.3.0/gems/chronic_duration-0.10.6/Rakefile +6 -0
- data/vendor/bundle/jruby/2.3.0/gems/chronic_duration-0.10.6/chronic_duration.gemspec +28 -0
- data/vendor/bundle/jruby/2.3.0/gems/chronic_duration-0.10.6/lib/chronic_duration.rb +289 -0
- data/vendor/bundle/jruby/2.3.0/gems/chronic_duration-0.10.6/lib/chronic_duration/version.rb +3 -0
- data/vendor/bundle/jruby/2.3.0/gems/chronic_duration-0.10.6/spec/lib/chronic_duration_spec.rb +284 -0
- data/vendor/bundle/jruby/2.3.0/gems/chronic_duration-0.10.6/spec/spec_helper.rb +8 -0
- data/vendor/bundle/jruby/2.3.0/gems/clamp-0.6.5/CHANGES.md +33 -0
- data/vendor/bundle/jruby/2.3.0/gems/clamp-0.6.5/Gemfile +9 -0
- data/vendor/bundle/jruby/2.3.0/gems/clamp-0.6.5/LICENSE +20 -0
- data/vendor/bundle/jruby/2.3.0/gems/clamp-0.6.5/README.md +403 -0
- data/vendor/bundle/jruby/2.3.0/gems/clamp-0.6.5/Rakefile +12 -0
- data/vendor/bundle/jruby/2.3.0/gems/clamp-0.6.5/clamp.gemspec +26 -0
- data/vendor/bundle/jruby/2.3.0/gems/clamp-0.6.5/examples/admin +20 -0
- data/vendor/bundle/jruby/2.3.0/gems/clamp-0.6.5/examples/flipflop +29 -0
- data/vendor/bundle/jruby/2.3.0/gems/clamp-0.6.5/examples/fubar +21 -0
- data/vendor/bundle/jruby/2.3.0/gems/clamp-0.6.5/examples/gitdown +70 -0
- data/vendor/bundle/jruby/2.3.0/gems/clamp-0.6.5/examples/scoop +17 -0
- data/vendor/bundle/jruby/2.3.0/gems/clamp-0.6.5/examples/speak +31 -0
- data/vendor/bundle/jruby/2.3.0/gems/clamp-0.6.5/lib/clamp.rb +7 -0
- data/vendor/bundle/jruby/2.3.0/gems/clamp-0.6.5/lib/clamp/attribute/declaration.rb +54 -0
- data/vendor/bundle/jruby/2.3.0/gems/clamp-0.6.5/lib/clamp/attribute/definition.rb +90 -0
- data/vendor/bundle/jruby/2.3.0/gems/clamp-0.6.5/lib/clamp/attribute/instance.rb +79 -0
- data/vendor/bundle/jruby/2.3.0/gems/clamp-0.6.5/lib/clamp/command.rb +152 -0
- data/vendor/bundle/jruby/2.3.0/gems/clamp-0.6.5/lib/clamp/errors.rb +41 -0
- data/vendor/bundle/jruby/2.3.0/gems/clamp-0.6.5/lib/clamp/help.rb +100 -0
- data/vendor/bundle/jruby/2.3.0/gems/clamp-0.6.5/lib/clamp/option/declaration.rb +59 -0
- data/vendor/bundle/jruby/2.3.0/gems/clamp-0.6.5/lib/clamp/option/definition.rb +94 -0
- data/vendor/bundle/jruby/2.3.0/gems/clamp-0.6.5/lib/clamp/option/parsing.rb +68 -0
- data/vendor/bundle/jruby/2.3.0/gems/clamp-0.6.5/lib/clamp/parameter/declaration.rb +29 -0
- data/vendor/bundle/jruby/2.3.0/gems/clamp-0.6.5/lib/clamp/parameter/definition.rb +48 -0
- data/vendor/bundle/jruby/2.3.0/gems/clamp-0.6.5/lib/clamp/parameter/parsing.rb +29 -0
- data/vendor/bundle/jruby/2.3.0/gems/clamp-0.6.5/lib/clamp/subcommand/declaration.rb +77 -0
- data/vendor/bundle/jruby/2.3.0/gems/clamp-0.6.5/lib/clamp/subcommand/definition.rb +25 -0
- data/vendor/bundle/jruby/2.3.0/gems/clamp-0.6.5/lib/clamp/subcommand/execution.rb +35 -0
- data/vendor/bundle/jruby/2.3.0/gems/clamp-0.6.5/lib/clamp/subcommand/parsing.rb +24 -0
- data/vendor/bundle/jruby/2.3.0/gems/clamp-0.6.5/lib/clamp/truthy.rb +9 -0
- data/vendor/bundle/jruby/2.3.0/gems/clamp-0.6.5/lib/clamp/version.rb +3 -0
- data/vendor/bundle/jruby/2.3.0/gems/clamp-0.6.5/spec/clamp/command_group_spec.rb +327 -0
- data/vendor/bundle/jruby/2.3.0/gems/clamp-0.6.5/spec/clamp/command_spec.rb +983 -0
- data/vendor/bundle/jruby/2.3.0/gems/clamp-0.6.5/spec/clamp/option/definition_spec.rb +260 -0
- data/vendor/bundle/jruby/2.3.0/gems/clamp-0.6.5/spec/clamp/option_module_spec.rb +37 -0
- data/vendor/bundle/jruby/2.3.0/gems/clamp-0.6.5/spec/clamp/parameter/definition_spec.rb +242 -0
- data/vendor/bundle/jruby/2.3.0/gems/clamp-0.6.5/spec/spec_helper.rb +60 -0
- data/vendor/bundle/jruby/2.3.0/gems/coderay-1.1.1/README_INDEX.rdoc +123 -0
- data/vendor/bundle/jruby/2.3.0/gems/coderay-1.1.1/Rakefile +37 -0
- data/vendor/bundle/jruby/2.3.0/gems/coderay-1.1.1/bin/coderay +215 -0
- data/vendor/bundle/jruby/2.3.0/gems/coderay-1.1.1/lib/coderay.rb +284 -0
- data/vendor/bundle/jruby/2.3.0/gems/coderay-1.1.1/lib/coderay/duo.rb +81 -0
- data/vendor/bundle/jruby/2.3.0/gems/coderay-1.1.1/lib/coderay/encoders.rb +18 -0
- data/vendor/bundle/jruby/2.3.0/gems/coderay-1.1.1/lib/coderay/encoders/_map.rb +17 -0
- data/vendor/bundle/jruby/2.3.0/gems/coderay-1.1.1/lib/coderay/encoders/comment_filter.rb +25 -0
- data/vendor/bundle/jruby/2.3.0/gems/coderay-1.1.1/lib/coderay/encoders/count.rb +39 -0
- data/vendor/bundle/jruby/2.3.0/gems/coderay-1.1.1/lib/coderay/encoders/debug.rb +49 -0
- data/vendor/bundle/jruby/2.3.0/gems/coderay-1.1.1/lib/coderay/encoders/debug_lint.rb +63 -0
- data/vendor/bundle/jruby/2.3.0/gems/coderay-1.1.1/lib/coderay/encoders/div.rb +23 -0
- data/vendor/bundle/jruby/2.3.0/gems/coderay-1.1.1/lib/coderay/encoders/encoder.rb +190 -0
- data/vendor/bundle/jruby/2.3.0/gems/coderay-1.1.1/lib/coderay/encoders/filter.rb +58 -0
- data/vendor/bundle/jruby/2.3.0/gems/coderay-1.1.1/lib/coderay/encoders/html.rb +333 -0
- data/vendor/bundle/jruby/2.3.0/gems/coderay-1.1.1/lib/coderay/encoders/html/css.rb +65 -0
- data/vendor/bundle/jruby/2.3.0/gems/coderay-1.1.1/lib/coderay/encoders/html/numbering.rb +108 -0
- data/vendor/bundle/jruby/2.3.0/gems/coderay-1.1.1/lib/coderay/encoders/html/output.rb +166 -0
- data/vendor/bundle/jruby/2.3.0/gems/coderay-1.1.1/lib/coderay/encoders/json.rb +83 -0
- data/vendor/bundle/jruby/2.3.0/gems/coderay-1.1.1/lib/coderay/encoders/lines_of_code.rb +45 -0
- data/vendor/bundle/jruby/2.3.0/gems/coderay-1.1.1/lib/coderay/encoders/lint.rb +59 -0
- data/vendor/bundle/jruby/2.3.0/gems/coderay-1.1.1/lib/coderay/encoders/null.rb +18 -0
- data/vendor/bundle/jruby/2.3.0/gems/coderay-1.1.1/lib/coderay/encoders/page.rb +24 -0
- data/vendor/bundle/jruby/2.3.0/gems/coderay-1.1.1/lib/coderay/encoders/span.rb +23 -0
- data/vendor/bundle/jruby/2.3.0/gems/coderay-1.1.1/lib/coderay/encoders/statistic.rb +95 -0
- data/vendor/bundle/jruby/2.3.0/gems/coderay-1.1.1/lib/coderay/encoders/terminal.rb +195 -0
- data/vendor/bundle/jruby/2.3.0/gems/coderay-1.1.1/lib/coderay/encoders/text.rb +46 -0
- data/vendor/bundle/jruby/2.3.0/gems/coderay-1.1.1/lib/coderay/encoders/token_kind_filter.rb +111 -0
- data/vendor/bundle/jruby/2.3.0/gems/coderay-1.1.1/lib/coderay/encoders/xml.rb +72 -0
- data/vendor/bundle/jruby/2.3.0/gems/coderay-1.1.1/lib/coderay/encoders/yaml.rb +50 -0
- data/vendor/bundle/jruby/2.3.0/gems/coderay-1.1.1/lib/coderay/for_redcloth.rb +95 -0
- data/vendor/bundle/jruby/2.3.0/gems/coderay-1.1.1/lib/coderay/helpers/file_type.rb +151 -0
- data/vendor/bundle/jruby/2.3.0/gems/coderay-1.1.1/lib/coderay/helpers/plugin.rb +55 -0
- data/vendor/bundle/jruby/2.3.0/gems/coderay-1.1.1/lib/coderay/helpers/plugin_host.rb +221 -0
- data/vendor/bundle/jruby/2.3.0/gems/coderay-1.1.1/lib/coderay/helpers/word_list.rb +72 -0
- data/vendor/bundle/jruby/2.3.0/gems/coderay-1.1.1/lib/coderay/scanners.rb +27 -0
- data/vendor/bundle/jruby/2.3.0/gems/coderay-1.1.1/lib/coderay/scanners/_map.rb +24 -0
- data/vendor/bundle/jruby/2.3.0/gems/coderay-1.1.1/lib/coderay/scanners/c.rb +189 -0
- data/vendor/bundle/jruby/2.3.0/gems/coderay-1.1.1/lib/coderay/scanners/clojure.rb +217 -0
- data/vendor/bundle/jruby/2.3.0/gems/coderay-1.1.1/lib/coderay/scanners/cpp.rb +215 -0
- data/vendor/bundle/jruby/2.3.0/gems/coderay-1.1.1/lib/coderay/scanners/css.rb +196 -0
- data/vendor/bundle/jruby/2.3.0/gems/coderay-1.1.1/lib/coderay/scanners/debug.rb +75 -0
- data/vendor/bundle/jruby/2.3.0/gems/coderay-1.1.1/lib/coderay/scanners/delphi.rb +144 -0
- data/vendor/bundle/jruby/2.3.0/gems/coderay-1.1.1/lib/coderay/scanners/diff.rb +221 -0
- data/vendor/bundle/jruby/2.3.0/gems/coderay-1.1.1/lib/coderay/scanners/erb.rb +81 -0
- data/vendor/bundle/jruby/2.3.0/gems/coderay-1.1.1/lib/coderay/scanners/go.rb +208 -0
- data/vendor/bundle/jruby/2.3.0/gems/coderay-1.1.1/lib/coderay/scanners/groovy.rb +268 -0
- data/vendor/bundle/jruby/2.3.0/gems/coderay-1.1.1/lib/coderay/scanners/haml.rb +168 -0
- data/vendor/bundle/jruby/2.3.0/gems/coderay-1.1.1/lib/coderay/scanners/html.rb +275 -0
- data/vendor/bundle/jruby/2.3.0/gems/coderay-1.1.1/lib/coderay/scanners/java.rb +174 -0
- data/vendor/bundle/jruby/2.3.0/gems/coderay-1.1.1/lib/coderay/scanners/java/builtin_types.rb +421 -0
- data/vendor/bundle/jruby/2.3.0/gems/coderay-1.1.1/lib/coderay/scanners/java_script.rb +237 -0
- data/vendor/bundle/jruby/2.3.0/gems/coderay-1.1.1/lib/coderay/scanners/json.rb +98 -0
- data/vendor/bundle/jruby/2.3.0/gems/coderay-1.1.1/lib/coderay/scanners/lua.rb +280 -0
- data/vendor/bundle/jruby/2.3.0/gems/coderay-1.1.1/lib/coderay/scanners/php.rb +527 -0
- data/vendor/bundle/jruby/2.3.0/gems/coderay-1.1.1/lib/coderay/scanners/python.rb +287 -0
- data/vendor/bundle/jruby/2.3.0/gems/coderay-1.1.1/lib/coderay/scanners/raydebug.rb +75 -0
- data/vendor/bundle/jruby/2.3.0/gems/coderay-1.1.1/lib/coderay/scanners/ruby.rb +477 -0
- data/vendor/bundle/jruby/2.3.0/gems/coderay-1.1.1/lib/coderay/scanners/ruby/patterns.rb +178 -0
- data/vendor/bundle/jruby/2.3.0/gems/coderay-1.1.1/lib/coderay/scanners/ruby/string_state.rb +79 -0
- data/vendor/bundle/jruby/2.3.0/gems/coderay-1.1.1/lib/coderay/scanners/sass.rb +232 -0
- data/vendor/bundle/jruby/2.3.0/gems/coderay-1.1.1/lib/coderay/scanners/scanner.rb +337 -0
- data/vendor/bundle/jruby/2.3.0/gems/coderay-1.1.1/lib/coderay/scanners/sql.rb +169 -0
- data/vendor/bundle/jruby/2.3.0/gems/coderay-1.1.1/lib/coderay/scanners/taskpaper.rb +36 -0
- data/vendor/bundle/jruby/2.3.0/gems/coderay-1.1.1/lib/coderay/scanners/text.rb +26 -0
- data/vendor/bundle/jruby/2.3.0/gems/coderay-1.1.1/lib/coderay/scanners/xml.rb +17 -0
- data/vendor/bundle/jruby/2.3.0/gems/coderay-1.1.1/lib/coderay/scanners/yaml.rb +140 -0
- data/vendor/bundle/jruby/2.3.0/gems/coderay-1.1.1/lib/coderay/styles.rb +15 -0
- data/vendor/bundle/jruby/2.3.0/gems/coderay-1.1.1/lib/coderay/styles/_map.rb +7 -0
- data/vendor/bundle/jruby/2.3.0/gems/coderay-1.1.1/lib/coderay/styles/alpha.rb +153 -0
- data/vendor/bundle/jruby/2.3.0/gems/coderay-1.1.1/lib/coderay/styles/style.rb +18 -0
- data/vendor/bundle/jruby/2.3.0/gems/coderay-1.1.1/lib/coderay/token_kinds.rb +85 -0
- data/vendor/bundle/jruby/2.3.0/gems/coderay-1.1.1/lib/coderay/tokens.rb +161 -0
- data/vendor/bundle/jruby/2.3.0/gems/coderay-1.1.1/lib/coderay/tokens_proxy.rb +55 -0
- data/vendor/bundle/jruby/2.3.0/gems/coderay-1.1.1/lib/coderay/version.rb +3 -0
- data/vendor/bundle/jruby/2.3.0/gems/coderay-1.1.1/test/functional/basic.rb +318 -0
- data/vendor/bundle/jruby/2.3.0/gems/coderay-1.1.1/test/functional/examples.rb +129 -0
- data/vendor/bundle/jruby/2.3.0/gems/coderay-1.1.1/test/functional/for_redcloth.rb +78 -0
- data/vendor/bundle/jruby/2.3.0/gems/coderay-1.1.1/test/functional/suite.rb +15 -0
- data/vendor/bundle/jruby/2.3.0/gems/concurrent-ruby-1.0.0-java/CHANGELOG.md +323 -0
- data/vendor/bundle/jruby/2.3.0/gems/concurrent-ruby-1.0.0-java/LICENSE.txt +21 -0
- data/vendor/bundle/jruby/2.3.0/gems/concurrent-ruby-1.0.0-java/README.md +261 -0
- data/vendor/bundle/jruby/2.3.0/gems/concurrent-ruby-1.0.0-java/lib/concurrent.rb +130 -0
- data/vendor/bundle/jruby/2.3.0/gems/concurrent-ruby-1.0.0-java/lib/concurrent/agent.rb +587 -0
- data/vendor/bundle/jruby/2.3.0/gems/concurrent-ruby-1.0.0-java/lib/concurrent/array.rb +39 -0
- data/vendor/bundle/jruby/2.3.0/gems/concurrent-ruby-1.0.0-java/lib/concurrent/async.rb +445 -0
- data/vendor/bundle/jruby/2.3.0/gems/concurrent-ruby-1.0.0-java/lib/concurrent/atom.rb +221 -0
- data/vendor/bundle/jruby/2.3.0/gems/concurrent-ruby-1.0.0-java/lib/concurrent/atomic/abstract_thread_local_var.rb +38 -0
- data/vendor/bundle/jruby/2.3.0/gems/concurrent-ruby-1.0.0-java/lib/concurrent/atomic/atomic_boolean.rb +116 -0
- data/vendor/bundle/jruby/2.3.0/gems/concurrent-ruby-1.0.0-java/lib/concurrent/atomic/atomic_fixnum.rb +133 -0
- data/vendor/bundle/jruby/2.3.0/gems/concurrent-ruby-1.0.0-java/lib/concurrent/atomic/atomic_reference.rb +42 -0
- data/vendor/bundle/jruby/2.3.0/gems/concurrent-ruby-1.0.0-java/lib/concurrent/atomic/count_down_latch.rb +77 -0
- data/vendor/bundle/jruby/2.3.0/gems/concurrent-ruby-1.0.0-java/lib/concurrent/atomic/cyclic_barrier.rb +108 -0
- data/vendor/bundle/jruby/2.3.0/gems/concurrent-ruby-1.0.0-java/lib/concurrent/atomic/event.rb +89 -0
- data/vendor/bundle/jruby/2.3.0/gems/concurrent-ruby-1.0.0-java/lib/concurrent/atomic/java_count_down_latch.rb +39 -0
- data/vendor/bundle/jruby/2.3.0/gems/concurrent-ruby-1.0.0-java/lib/concurrent/atomic/java_thread_local_var.rb +50 -0
- data/vendor/bundle/jruby/2.3.0/gems/concurrent-ruby-1.0.0-java/lib/concurrent/atomic/mutex_atomic_boolean.rb +60 -0
- data/vendor/bundle/jruby/2.3.0/gems/concurrent-ruby-1.0.0-java/lib/concurrent/atomic/mutex_atomic_fixnum.rb +91 -0
- data/vendor/bundle/jruby/2.3.0/gems/concurrent-ruby-1.0.0-java/lib/concurrent/atomic/mutex_count_down_latch.rb +43 -0
- data/vendor/bundle/jruby/2.3.0/gems/concurrent-ruby-1.0.0-java/lib/concurrent/atomic/mutex_semaphore.rb +115 -0
- data/vendor/bundle/jruby/2.3.0/gems/concurrent-ruby-1.0.0-java/lib/concurrent/atomic/read_write_lock.rb +253 -0
- data/vendor/bundle/jruby/2.3.0/gems/concurrent-ruby-1.0.0-java/lib/concurrent/atomic/reentrant_read_write_lock.rb +377 -0
- data/vendor/bundle/jruby/2.3.0/gems/concurrent-ruby-1.0.0-java/lib/concurrent/atomic/ruby_thread_local_var.rb +172 -0
- data/vendor/bundle/jruby/2.3.0/gems/concurrent-ruby-1.0.0-java/lib/concurrent/atomic/semaphore.rb +113 -0
- data/vendor/bundle/jruby/2.3.0/gems/concurrent-ruby-1.0.0-java/lib/concurrent/atomic/thread_local_var.rb +102 -0
- data/vendor/bundle/jruby/2.3.0/gems/concurrent-ruby-1.0.0-java/lib/concurrent/atomic_reference/concurrent_update_error.rb +8 -0
- data/vendor/bundle/jruby/2.3.0/gems/concurrent-ruby-1.0.0-java/lib/concurrent/atomic_reference/direct_update.rb +81 -0
- data/vendor/bundle/jruby/2.3.0/gems/concurrent-ruby-1.0.0-java/lib/concurrent/atomic_reference/jruby+truffle.rb +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/concurrent-ruby-1.0.0-java/lib/concurrent/atomic_reference/jruby.rb +16 -0
- data/vendor/bundle/jruby/2.3.0/gems/concurrent-ruby-1.0.0-java/lib/concurrent/atomic_reference/mutex_atomic.rb +61 -0
- data/vendor/bundle/jruby/2.3.0/gems/concurrent-ruby-1.0.0-java/lib/concurrent/atomic_reference/numeric_cas_wrapper.rb +28 -0
- data/vendor/bundle/jruby/2.3.0/gems/concurrent-ruby-1.0.0-java/lib/concurrent/atomic_reference/rbx.rb +22 -0
- data/vendor/bundle/jruby/2.3.0/gems/concurrent-ruby-1.0.0-java/lib/concurrent/atomic_reference/ruby.rb +32 -0
- data/vendor/bundle/jruby/2.3.0/gems/concurrent-ruby-1.0.0-java/lib/concurrent/atomics.rb +52 -0
- data/vendor/bundle/jruby/2.3.0/gems/concurrent-ruby-1.0.0-java/lib/concurrent/collection/copy_on_notify_observer_set.rb +107 -0
- data/vendor/bundle/jruby/2.3.0/gems/concurrent-ruby-1.0.0-java/lib/concurrent/collection/copy_on_write_observer_set.rb +111 -0
- data/vendor/bundle/jruby/2.3.0/gems/concurrent-ruby-1.0.0-java/lib/concurrent/collection/java_non_concurrent_priority_queue.rb +84 -0
- data/vendor/bundle/jruby/2.3.0/gems/concurrent-ruby-1.0.0-java/lib/concurrent/collection/map/atomic_reference_map_backend.rb +927 -0
- data/vendor/bundle/jruby/2.3.0/gems/concurrent-ruby-1.0.0-java/lib/concurrent/collection/map/mri_map_backend.rb +66 -0
- data/vendor/bundle/jruby/2.3.0/gems/concurrent-ruby-1.0.0-java/lib/concurrent/collection/map/non_concurrent_map_backend.rb +144 -0
- data/vendor/bundle/jruby/2.3.0/gems/concurrent-ruby-1.0.0-java/lib/concurrent/collection/map/synchronized_map_backend.rb +86 -0
- data/vendor/bundle/jruby/2.3.0/gems/concurrent-ruby-1.0.0-java/lib/concurrent/collection/non_concurrent_priority_queue.rb +143 -0
- data/vendor/bundle/jruby/2.3.0/gems/concurrent-ruby-1.0.0-java/lib/concurrent/collection/ruby_non_concurrent_priority_queue.rb +150 -0
- data/vendor/bundle/jruby/2.3.0/gems/concurrent-ruby-1.0.0-java/lib/concurrent/concern/deprecation.rb +34 -0
- data/vendor/bundle/jruby/2.3.0/gems/concurrent-ruby-1.0.0-java/lib/concurrent/concern/dereferenceable.rb +73 -0
- data/vendor/bundle/jruby/2.3.0/gems/concurrent-ruby-1.0.0-java/lib/concurrent/concern/logging.rb +27 -0
- data/vendor/bundle/jruby/2.3.0/gems/concurrent-ruby-1.0.0-java/lib/concurrent/concern/obligation.rb +219 -0
- data/vendor/bundle/jruby/2.3.0/gems/concurrent-ruby-1.0.0-java/lib/concurrent/concern/observable.rb +110 -0
- data/vendor/bundle/jruby/2.3.0/gems/concurrent-ruby-1.0.0-java/lib/concurrent/configuration.rb +153 -0
- data/vendor/bundle/jruby/2.3.0/gems/concurrent-ruby-1.0.0-java/lib/concurrent/constants.rb +8 -0
- data/vendor/bundle/jruby/2.3.0/gems/concurrent-ruby-1.0.0-java/lib/concurrent/dataflow.rb +78 -0
- data/vendor/bundle/jruby/2.3.0/gems/concurrent-ruby-1.0.0-java/lib/concurrent/delay.rb +196 -0
- data/vendor/bundle/jruby/2.3.0/gems/concurrent-ruby-1.0.0-java/lib/concurrent/edge.rb +30 -0
- data/vendor/bundle/jruby/2.3.0/gems/concurrent-ruby-1.0.0-java/lib/concurrent/errors.rb +46 -0
- data/vendor/bundle/jruby/2.3.0/gems/concurrent-ruby-1.0.0-java/lib/concurrent/exchanger.rb +356 -0
- data/vendor/bundle/jruby/2.3.0/gems/concurrent-ruby-1.0.0-java/lib/concurrent/executor/abstract_executor_service.rb +134 -0
- data/vendor/bundle/jruby/2.3.0/gems/concurrent-ruby-1.0.0-java/lib/concurrent/executor/cached_thread_pool.rb +62 -0
- data/vendor/bundle/jruby/2.3.0/gems/concurrent-ruby-1.0.0-java/lib/concurrent/executor/executor_service.rb +185 -0
- data/vendor/bundle/jruby/2.3.0/gems/concurrent-ruby-1.0.0-java/lib/concurrent/executor/fixed_thread_pool.rb +206 -0
- data/vendor/bundle/jruby/2.3.0/gems/concurrent-ruby-1.0.0-java/lib/concurrent/executor/immediate_executor.rb +66 -0
- data/vendor/bundle/jruby/2.3.0/gems/concurrent-ruby-1.0.0-java/lib/concurrent/executor/indirect_immediate_executor.rb +44 -0
- data/vendor/bundle/jruby/2.3.0/gems/concurrent-ruby-1.0.0-java/lib/concurrent/executor/java_executor_service.rb +100 -0
- data/vendor/bundle/jruby/2.3.0/gems/concurrent-ruby-1.0.0-java/lib/concurrent/executor/java_single_thread_executor.rb +29 -0
- data/vendor/bundle/jruby/2.3.0/gems/concurrent-ruby-1.0.0-java/lib/concurrent/executor/java_thread_pool_executor.rb +120 -0
- data/vendor/bundle/jruby/2.3.0/gems/concurrent-ruby-1.0.0-java/lib/concurrent/executor/ruby_executor_service.rb +78 -0
- data/vendor/bundle/jruby/2.3.0/gems/concurrent-ruby-1.0.0-java/lib/concurrent/executor/ruby_single_thread_executor.rb +22 -0
- data/vendor/bundle/jruby/2.3.0/gems/concurrent-ruby-1.0.0-java/lib/concurrent/executor/ruby_thread_pool_executor.rb +347 -0
- data/vendor/bundle/jruby/2.3.0/gems/concurrent-ruby-1.0.0-java/lib/concurrent/executor/safe_task_executor.rb +35 -0
- data/vendor/bundle/jruby/2.3.0/gems/concurrent-ruby-1.0.0-java/lib/concurrent/executor/serial_executor_service.rb +34 -0
- data/vendor/bundle/jruby/2.3.0/gems/concurrent-ruby-1.0.0-java/lib/concurrent/executor/serialized_execution.rb +107 -0
- data/vendor/bundle/jruby/2.3.0/gems/concurrent-ruby-1.0.0-java/lib/concurrent/executor/serialized_execution_delegator.rb +28 -0
- data/vendor/bundle/jruby/2.3.0/gems/concurrent-ruby-1.0.0-java/lib/concurrent/executor/simple_executor_service.rb +100 -0
- data/vendor/bundle/jruby/2.3.0/gems/concurrent-ruby-1.0.0-java/lib/concurrent/executor/single_thread_executor.rb +56 -0
- data/vendor/bundle/jruby/2.3.0/gems/concurrent-ruby-1.0.0-java/lib/concurrent/executor/thread_pool_executor.rb +81 -0
- data/vendor/bundle/jruby/2.3.0/gems/concurrent-ruby-1.0.0-java/lib/concurrent/executor/timer_set.rb +164 -0
- data/vendor/bundle/jruby/2.3.0/gems/concurrent-ruby-1.0.0-java/lib/concurrent/executors.rb +20 -0
- data/vendor/bundle/jruby/2.3.0/gems/concurrent-ruby-1.0.0-java/lib/concurrent/future.rb +138 -0
- data/vendor/bundle/jruby/2.3.0/gems/concurrent-ruby-1.0.0-java/lib/concurrent/hash.rb +35 -0
- data/vendor/bundle/jruby/2.3.0/gems/concurrent-ruby-1.0.0-java/lib/concurrent/immutable_struct.rb +93 -0
- data/vendor/bundle/jruby/2.3.0/gems/concurrent-ruby-1.0.0-java/lib/concurrent/ivar.rb +208 -0
- data/vendor/bundle/jruby/2.3.0/gems/concurrent-ruby-1.0.0-java/lib/concurrent/lazy_register.rb +81 -0
- data/vendor/bundle/jruby/2.3.0/gems/concurrent-ruby-1.0.0-java/lib/concurrent/map.rb +180 -0
- data/vendor/bundle/jruby/2.3.0/gems/concurrent-ruby-1.0.0-java/lib/concurrent/maybe.rb +229 -0
- data/vendor/bundle/jruby/2.3.0/gems/concurrent-ruby-1.0.0-java/lib/concurrent/mutable_struct.rb +228 -0
- data/vendor/bundle/jruby/2.3.0/gems/concurrent-ruby-1.0.0-java/lib/concurrent/mvar.rb +242 -0
- data/vendor/bundle/jruby/2.3.0/gems/concurrent-ruby-1.0.0-java/lib/concurrent/options.rb +44 -0
- data/vendor/bundle/jruby/2.3.0/gems/concurrent-ruby-1.0.0-java/lib/concurrent/promise.rb +542 -0
- data/vendor/bundle/jruby/2.3.0/gems/concurrent-ruby-1.0.0-java/lib/concurrent/scheduled_task.rb +318 -0
- data/vendor/bundle/jruby/2.3.0/gems/concurrent-ruby-1.0.0-java/lib/concurrent/settable_struct.rb +128 -0
- data/vendor/bundle/jruby/2.3.0/gems/concurrent-ruby-1.0.0-java/lib/concurrent/synchronization.rb +29 -0
- data/vendor/bundle/jruby/2.3.0/gems/concurrent-ruby-1.0.0-java/lib/concurrent/synchronization/abstract_lockable_object.rb +98 -0
- data/vendor/bundle/jruby/2.3.0/gems/concurrent-ruby-1.0.0-java/lib/concurrent/synchronization/abstract_object.rb +24 -0
- data/vendor/bundle/jruby/2.3.0/gems/concurrent-ruby-1.0.0-java/lib/concurrent/synchronization/abstract_struct.rb +157 -0
- data/vendor/bundle/jruby/2.3.0/gems/concurrent-ruby-1.0.0-java/lib/concurrent/synchronization/condition.rb +55 -0
- data/vendor/bundle/jruby/2.3.0/gems/concurrent-ruby-1.0.0-java/lib/concurrent/synchronization/jruby_lockable_object.rb +13 -0
- data/vendor/bundle/jruby/2.3.0/gems/concurrent-ruby-1.0.0-java/lib/concurrent/synchronization/jruby_object.rb +44 -0
- data/vendor/bundle/jruby/2.3.0/gems/concurrent-ruby-1.0.0-java/lib/concurrent/synchronization/lock.rb +33 -0
- data/vendor/bundle/jruby/2.3.0/gems/concurrent-ruby-1.0.0-java/lib/concurrent/synchronization/lockable_object.rb +72 -0
- data/vendor/bundle/jruby/2.3.0/gems/concurrent-ruby-1.0.0-java/lib/concurrent/synchronization/mri_lockable_object.rb +71 -0
- data/vendor/bundle/jruby/2.3.0/gems/concurrent-ruby-1.0.0-java/lib/concurrent/synchronization/mri_object.rb +43 -0
- data/vendor/bundle/jruby/2.3.0/gems/concurrent-ruby-1.0.0-java/lib/concurrent/synchronization/object.rb +150 -0
- data/vendor/bundle/jruby/2.3.0/gems/concurrent-ruby-1.0.0-java/lib/concurrent/synchronization/rbx_lockable_object.rb +65 -0
- data/vendor/bundle/jruby/2.3.0/gems/concurrent-ruby-1.0.0-java/lib/concurrent/synchronization/rbx_object.rb +45 -0
- data/vendor/bundle/jruby/2.3.0/gems/concurrent-ruby-1.0.0-java/lib/concurrent/synchronization/volatile.rb +34 -0
- data/vendor/bundle/jruby/2.3.0/gems/concurrent-ruby-1.0.0-java/lib/concurrent/thread_safe/synchronized_delegator.rb +50 -0
- data/vendor/bundle/jruby/2.3.0/gems/concurrent-ruby-1.0.0-java/lib/concurrent/thread_safe/util.rb +14 -0
- data/vendor/bundle/jruby/2.3.0/gems/concurrent-ruby-1.0.0-java/lib/concurrent/thread_safe/util/adder.rb +74 -0
- data/vendor/bundle/jruby/2.3.0/gems/concurrent-ruby-1.0.0-java/lib/concurrent/thread_safe/util/array_hash_rbx.rb +30 -0
- data/vendor/bundle/jruby/2.3.0/gems/concurrent-ruby-1.0.0-java/lib/concurrent/thread_safe/util/cheap_lockable.rb +118 -0
- data/vendor/bundle/jruby/2.3.0/gems/concurrent-ruby-1.0.0-java/lib/concurrent/thread_safe/util/power_of_two_tuple.rb +38 -0
- data/vendor/bundle/jruby/2.3.0/gems/concurrent-ruby-1.0.0-java/lib/concurrent/thread_safe/util/striped64.rb +241 -0
- data/vendor/bundle/jruby/2.3.0/gems/concurrent-ruby-1.0.0-java/lib/concurrent/thread_safe/util/volatile.rb +75 -0
- data/vendor/bundle/jruby/2.3.0/gems/concurrent-ruby-1.0.0-java/lib/concurrent/thread_safe/util/xor_shift_random.rb +50 -0
- data/vendor/bundle/jruby/2.3.0/gems/concurrent-ruby-1.0.0-java/lib/concurrent/timer_task.rb +329 -0
- data/vendor/bundle/jruby/2.3.0/gems/concurrent-ruby-1.0.0-java/lib/concurrent/tuple.rb +86 -0
- data/vendor/bundle/jruby/2.3.0/gems/concurrent-ruby-1.0.0-java/lib/concurrent/tvar.rb +258 -0
- data/vendor/bundle/jruby/2.3.0/gems/concurrent-ruby-1.0.0-java/lib/concurrent/utility/at_exit.rb +97 -0
- data/vendor/bundle/jruby/2.3.0/gems/concurrent-ruby-1.0.0-java/lib/concurrent/utility/engine.rb +48 -0
- data/vendor/bundle/jruby/2.3.0/gems/concurrent-ruby-1.0.0-java/lib/concurrent/utility/monotonic_time.rb +58 -0
- data/vendor/bundle/jruby/2.3.0/gems/concurrent-ruby-1.0.0-java/lib/concurrent/utility/native_extension_loader.rb +73 -0
- data/vendor/bundle/jruby/2.3.0/gems/concurrent-ruby-1.0.0-java/lib/concurrent/utility/processor_counter.rb +156 -0
- data/vendor/bundle/jruby/2.3.0/gems/concurrent-ruby-1.0.0-java/lib/concurrent/version.rb +4 -0
- data/vendor/bundle/jruby/2.3.0/gems/concurrent-ruby-1.0.0-java/lib/concurrent_ruby_ext.jar +0 -0
- data/vendor/bundle/jruby/2.3.0/gems/diff-lcs-1.2.5/Contributing.rdoc +64 -0
- data/vendor/bundle/jruby/2.3.0/gems/diff-lcs-1.2.5/Gemfile +20 -0
- data/vendor/bundle/jruby/2.3.0/gems/diff-lcs-1.2.5/History.rdoc +152 -0
- data/vendor/bundle/jruby/2.3.0/gems/diff-lcs-1.2.5/License.rdoc +39 -0
- data/vendor/bundle/jruby/2.3.0/gems/diff-lcs-1.2.5/Manifest.txt +38 -0
- data/vendor/bundle/jruby/2.3.0/gems/diff-lcs-1.2.5/README.rdoc +85 -0
- data/vendor/bundle/jruby/2.3.0/gems/diff-lcs-1.2.5/Rakefile +41 -0
- data/vendor/bundle/jruby/2.3.0/gems/diff-lcs-1.2.5/autotest/discover.rb +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/diff-lcs-1.2.5/bin/htmldiff +32 -0
- data/vendor/bundle/jruby/2.3.0/gems/diff-lcs-1.2.5/bin/ldiff +6 -0
- data/vendor/bundle/jruby/2.3.0/gems/diff-lcs-1.2.5/docs/COPYING.txt +339 -0
- data/vendor/bundle/jruby/2.3.0/gems/diff-lcs-1.2.5/docs/artistic.txt +127 -0
- data/vendor/bundle/jruby/2.3.0/gems/diff-lcs-1.2.5/lib/diff-lcs.rb +3 -0
- data/vendor/bundle/jruby/2.3.0/gems/diff-lcs-1.2.5/lib/diff/lcs.rb +805 -0
- data/vendor/bundle/jruby/2.3.0/gems/diff-lcs-1.2.5/lib/diff/lcs/array.rb +7 -0
- data/vendor/bundle/jruby/2.3.0/gems/diff-lcs-1.2.5/lib/diff/lcs/block.rb +37 -0
- data/vendor/bundle/jruby/2.3.0/gems/diff-lcs-1.2.5/lib/diff/lcs/callbacks.rb +322 -0
- data/vendor/bundle/jruby/2.3.0/gems/diff-lcs-1.2.5/lib/diff/lcs/change.rb +177 -0
- data/vendor/bundle/jruby/2.3.0/gems/diff-lcs-1.2.5/lib/diff/lcs/htmldiff.rb +149 -0
- data/vendor/bundle/jruby/2.3.0/gems/diff-lcs-1.2.5/lib/diff/lcs/hunk.rb +276 -0
- data/vendor/bundle/jruby/2.3.0/gems/diff-lcs-1.2.5/lib/diff/lcs/internals.rb +301 -0
- data/vendor/bundle/jruby/2.3.0/gems/diff-lcs-1.2.5/lib/diff/lcs/ldiff.rb +195 -0
- data/vendor/bundle/jruby/2.3.0/gems/diff-lcs-1.2.5/lib/diff/lcs/string.rb +5 -0
- data/vendor/bundle/jruby/2.3.0/gems/diff-lcs-1.2.5/spec/change_spec.rb +65 -0
- data/vendor/bundle/jruby/2.3.0/gems/diff-lcs-1.2.5/spec/diff_spec.rb +47 -0
- data/vendor/bundle/jruby/2.3.0/gems/diff-lcs-1.2.5/spec/hunk_spec.rb +72 -0
- data/vendor/bundle/jruby/2.3.0/gems/diff-lcs-1.2.5/spec/issues_spec.rb +24 -0
- data/vendor/bundle/jruby/2.3.0/gems/diff-lcs-1.2.5/spec/lcs_spec.rb +54 -0
- data/vendor/bundle/jruby/2.3.0/gems/diff-lcs-1.2.5/spec/patch_spec.rb +414 -0
- data/vendor/bundle/jruby/2.3.0/gems/diff-lcs-1.2.5/spec/sdiff_spec.rb +214 -0
- data/vendor/bundle/jruby/2.3.0/gems/diff-lcs-1.2.5/spec/spec_helper.rb +290 -0
- data/vendor/bundle/jruby/2.3.0/gems/diff-lcs-1.2.5/spec/traverse_balanced_spec.rb +310 -0
- data/vendor/bundle/jruby/2.3.0/gems/diff-lcs-1.2.5/spec/traverse_sequences_spec.rb +139 -0
- data/vendor/bundle/jruby/2.3.0/gems/ffi-1.9.14-java/COPYING +49 -0
- data/vendor/bundle/jruby/2.3.0/gems/ffi-1.9.14-java/LICENSE +24 -0
- data/vendor/bundle/jruby/2.3.0/gems/ffi-1.9.14-java/README.md +109 -0
- data/vendor/bundle/jruby/2.3.0/gems/ffi-1.9.14-java/Rakefile +232 -0
- data/vendor/bundle/jruby/2.3.0/gems/filesize-0.0.4/CHANGELOG +3 -0
- data/vendor/bundle/jruby/2.3.0/gems/filesize-0.0.4/README.markdown +52 -0
- data/vendor/bundle/jruby/2.3.0/gems/filesize-0.0.4/filesize.gemspec +19 -0
- data/vendor/bundle/jruby/2.3.0/gems/filesize-0.0.4/lib/filesize.rb +178 -0
- data/vendor/bundle/jruby/2.3.0/gems/fivemat-1.3.2/Gemfile +2 -0
- data/vendor/bundle/jruby/2.3.0/gems/fivemat-1.3.2/LICENSE +22 -0
- data/vendor/bundle/jruby/2.3.0/gems/fivemat-1.3.2/MIT-LICENSE +20 -0
- data/vendor/bundle/jruby/2.3.0/gems/fivemat-1.3.2/README.markdown +75 -0
- data/vendor/bundle/jruby/2.3.0/gems/fivemat-1.3.2/Rakefile +2 -0
- data/vendor/bundle/jruby/2.3.0/gems/fivemat-1.3.2/fivemat.gemspec +16 -0
- data/vendor/bundle/jruby/2.3.0/gems/fivemat-1.3.2/lib/fivemat.rb +44 -0
- data/vendor/bundle/jruby/2.3.0/gems/fivemat-1.3.2/lib/fivemat/cucumber.rb +39 -0
- data/vendor/bundle/jruby/2.3.0/gems/fivemat-1.3.2/lib/fivemat/elapsed_time.rb +9 -0
- data/vendor/bundle/jruby/2.3.0/gems/fivemat-1.3.2/lib/fivemat/minitest.rb +6 -0
- data/vendor/bundle/jruby/2.3.0/gems/fivemat-1.3.2/lib/fivemat/minitest/autorun.rb +2 -0
- data/vendor/bundle/jruby/2.3.0/gems/fivemat-1.3.2/lib/fivemat/minitest/unit.rb +31 -0
- data/vendor/bundle/jruby/2.3.0/gems/fivemat-1.3.2/lib/fivemat/rspec.rb +69 -0
- data/vendor/bundle/jruby/2.3.0/gems/fivemat-1.3.2/lib/fivemat/rspec3.rb +70 -0
- data/vendor/bundle/jruby/2.3.0/gems/fivemat-1.3.2/lib/fivemat/spec.rb +57 -0
- data/vendor/bundle/jruby/2.3.0/gems/fivemat-1.3.2/lib/minitest/fivemat_plugin.rb +30 -0
- data/vendor/bundle/jruby/2.3.0/gems/gem_publisher-1.5.0/lib/gem_publisher.rb +28 -0
- data/vendor/bundle/jruby/2.3.0/gems/gem_publisher-1.5.0/lib/gem_publisher/builder.rb +13 -0
- data/vendor/bundle/jruby/2.3.0/gems/gem_publisher-1.5.0/lib/gem_publisher/cli_facade.rb +17 -0
- data/vendor/bundle/jruby/2.3.0/gems/gem_publisher-1.5.0/lib/gem_publisher/git_remote.rb +26 -0
- data/vendor/bundle/jruby/2.3.0/gems/gem_publisher-1.5.0/lib/gem_publisher/publisher.rb +45 -0
- data/vendor/bundle/jruby/2.3.0/gems/gem_publisher-1.5.0/lib/gem_publisher/pusher.rb +26 -0
- data/vendor/bundle/jruby/2.3.0/gems/gem_publisher-1.5.0/lib/gem_publisher/version.rb +3 -0
- data/vendor/bundle/jruby/2.3.0/gems/gem_publisher-1.5.0/lib/rubygems_plugin.rb +48 -0
- data/vendor/bundle/jruby/2.3.0/gems/gem_publisher-1.5.0/test/builder_test.rb +16 -0
- data/vendor/bundle/jruby/2.3.0/gems/gem_publisher-1.5.0/test/cli_facade_test.rb +43 -0
- data/vendor/bundle/jruby/2.3.0/gems/gem_publisher-1.5.0/test/common.rb +15 -0
- data/vendor/bundle/jruby/2.3.0/gems/gem_publisher-1.5.0/test/data/example.gemspec +12 -0
- data/vendor/bundle/jruby/2.3.0/gems/gem_publisher-1.5.0/test/data/gem_build +4 -0
- data/vendor/bundle/jruby/2.3.0/gems/gem_publisher-1.5.0/test/data/tags +10 -0
- data/vendor/bundle/jruby/2.3.0/gems/gem_publisher-1.5.0/test/data/toplevel_version.gemspec +12 -0
- data/vendor/bundle/jruby/2.3.0/gems/gem_publisher-1.5.0/test/git_remote_test.rb +32 -0
- data/vendor/bundle/jruby/2.3.0/gems/gem_publisher-1.5.0/test/integration_test.rb +49 -0
- data/vendor/bundle/jruby/2.3.0/gems/gem_publisher-1.5.0/test/publisher_test.rb +102 -0
- data/vendor/bundle/jruby/2.3.0/gems/gem_publisher-1.5.0/test/rubygems_plugin_test.rb +76 -0
- data/vendor/bundle/jruby/2.3.0/gems/gems-0.8.3/CONTRIBUTING.md +45 -0
- data/vendor/bundle/jruby/2.3.0/gems/gems-0.8.3/LICENSE.md +20 -0
- data/vendor/bundle/jruby/2.3.0/gems/gems-0.8.3/README.md +158 -0
- data/vendor/bundle/jruby/2.3.0/gems/gems-0.8.3/Rakefile +11 -0
- data/vendor/bundle/jruby/2.3.0/gems/gems-0.8.3/gems.gemspec +24 -0
- data/vendor/bundle/jruby/2.3.0/gems/gems-0.8.3/lib/gems.rb +24 -0
- data/vendor/bundle/jruby/2.3.0/gems/gems-0.8.3/lib/gems/client.rb +318 -0
- data/vendor/bundle/jruby/2.3.0/gems/gems-0.8.3/lib/gems/configuration.rb +54 -0
- data/vendor/bundle/jruby/2.3.0/gems/gems-0.8.3/lib/gems/request.rb +73 -0
- data/vendor/bundle/jruby/2.3.0/gems/gems-0.8.3/lib/gems/version.rb +17 -0
- data/vendor/bundle/jruby/2.3.0/gems/gems-0.8.3/spec/fixtures/add_owner +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/gems-0.8.3/spec/fixtures/add_web_hook +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/gems-0.8.3/spec/fixtures/api_key +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/gems-0.8.3/spec/fixtures/dependencies +0 -0
- data/vendor/bundle/jruby/2.3.0/gems/gems-0.8.3/spec/fixtures/downloads.yaml +91 -0
- data/vendor/bundle/jruby/2.3.0/gems/gems-0.8.3/spec/fixtures/fire_web_hook +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/gems-0.8.3/spec/fixtures/gems-0.0.8.gem +0 -0
- data/vendor/bundle/jruby/2.3.0/gems/gems-0.8.3/spec/fixtures/gems.yaml +1072 -0
- data/vendor/bundle/jruby/2.3.0/gems/gems-0.8.3/spec/fixtures/just_updated.yaml +1376 -0
- data/vendor/bundle/jruby/2.3.0/gems/gems-0.8.3/spec/fixtures/latest.yaml +1098 -0
- data/vendor/bundle/jruby/2.3.0/gems/gems-0.8.3/spec/fixtures/most_downloaded.yaml +20 -0
- data/vendor/bundle/jruby/2.3.0/gems/gems-0.8.3/spec/fixtures/most_downloaded_today.yaml +1053 -0
- data/vendor/bundle/jruby/2.3.0/gems/gems-0.8.3/spec/fixtures/owners.yaml +2 -0
- data/vendor/bundle/jruby/2.3.0/gems/gems-0.8.3/spec/fixtures/push +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/gems-0.8.3/spec/fixtures/rails.yaml +33 -0
- data/vendor/bundle/jruby/2.3.0/gems/gems-0.8.3/spec/fixtures/rails_admin-0.0.0.yaml +3 -0
- data/vendor/bundle/jruby/2.3.0/gems/gems-0.8.3/spec/fixtures/remove_owner +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/gems-0.8.3/spec/fixtures/remove_web_hook +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/gems-0.8.3/spec/fixtures/reverse_dependencies_short.yaml +70 -0
- data/vendor/bundle/jruby/2.3.0/gems/gems-0.8.3/spec/fixtures/script_helpers.yaml +17 -0
- data/vendor/bundle/jruby/2.3.0/gems/gems-0.8.3/spec/fixtures/search.yaml +898 -0
- data/vendor/bundle/jruby/2.3.0/gems/gems-0.8.3/spec/fixtures/total_downloads.yaml +2 -0
- data/vendor/bundle/jruby/2.3.0/gems/gems-0.8.3/spec/fixtures/unyank +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/gems-0.8.3/spec/fixtures/web_hooks.yaml +4 -0
- data/vendor/bundle/jruby/2.3.0/gems/gems-0.8.3/spec/fixtures/yank +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/gems-0.8.3/spec/gems/client_spec.rb +432 -0
- data/vendor/bundle/jruby/2.3.0/gems/gems-0.8.3/spec/gems/request_spec.rb +31 -0
- data/vendor/bundle/jruby/2.3.0/gems/gems-0.8.3/spec/gems_spec.rb +73 -0
- data/vendor/bundle/jruby/2.3.0/gems/gems-0.8.3/spec/helper.rb +64 -0
- data/vendor/bundle/jruby/2.3.0/gems/i18n-0.6.9/MIT-LICENSE +20 -0
- data/vendor/bundle/jruby/2.3.0/gems/i18n-0.6.9/README.textile +105 -0
- data/vendor/bundle/jruby/2.3.0/gems/i18n-0.6.9/ci/Gemfile.no-rails +5 -0
- data/vendor/bundle/jruby/2.3.0/gems/i18n-0.6.9/ci/Gemfile.no-rails.lock +14 -0
- data/vendor/bundle/jruby/2.3.0/gems/i18n-0.6.9/ci/Gemfile.rails-2.3.x +9 -0
- data/vendor/bundle/jruby/2.3.0/gems/i18n-0.6.9/ci/Gemfile.rails-2.3.x.lock +23 -0
- data/vendor/bundle/jruby/2.3.0/gems/i18n-0.6.9/ci/Gemfile.rails-3.x +9 -0
- data/vendor/bundle/jruby/2.3.0/gems/i18n-0.6.9/ci/Gemfile.rails-3.x.lock +23 -0
- data/vendor/bundle/jruby/2.3.0/gems/i18n-0.6.9/lib/i18n.rb +367 -0
- data/vendor/bundle/jruby/2.3.0/gems/i18n-0.6.9/lib/i18n/backend.rb +18 -0
- data/vendor/bundle/jruby/2.3.0/gems/i18n-0.6.9/lib/i18n/backend/base.rb +190 -0
- data/vendor/bundle/jruby/2.3.0/gems/i18n-0.6.9/lib/i18n/backend/cache.rb +96 -0
- data/vendor/bundle/jruby/2.3.0/gems/i18n-0.6.9/lib/i18n/backend/cascade.rb +54 -0
- data/vendor/bundle/jruby/2.3.0/gems/i18n-0.6.9/lib/i18n/backend/chain.rb +83 -0
- data/vendor/bundle/jruby/2.3.0/gems/i18n-0.6.9/lib/i18n/backend/fallbacks.rb +65 -0
- data/vendor/bundle/jruby/2.3.0/gems/i18n-0.6.9/lib/i18n/backend/flatten.rb +113 -0
- data/vendor/bundle/jruby/2.3.0/gems/i18n-0.6.9/lib/i18n/backend/gettext.rb +72 -0
- data/vendor/bundle/jruby/2.3.0/gems/i18n-0.6.9/lib/i18n/backend/interpolation_compiler.rb +121 -0
- data/vendor/bundle/jruby/2.3.0/gems/i18n-0.6.9/lib/i18n/backend/key_value.rb +101 -0
- data/vendor/bundle/jruby/2.3.0/gems/i18n-0.6.9/lib/i18n/backend/memoize.rb +46 -0
- data/vendor/bundle/jruby/2.3.0/gems/i18n-0.6.9/lib/i18n/backend/metadata.rb +65 -0
- data/vendor/bundle/jruby/2.3.0/gems/i18n-0.6.9/lib/i18n/backend/pluralization.rb +53 -0
- data/vendor/bundle/jruby/2.3.0/gems/i18n-0.6.9/lib/i18n/backend/simple.rb +87 -0
- data/vendor/bundle/jruby/2.3.0/gems/i18n-0.6.9/lib/i18n/backend/transliterator.rb +99 -0
- data/vendor/bundle/jruby/2.3.0/gems/i18n-0.6.9/lib/i18n/config.rb +121 -0
- data/vendor/bundle/jruby/2.3.0/gems/i18n-0.6.9/lib/i18n/core_ext/hash.rb +29 -0
- data/vendor/bundle/jruby/2.3.0/gems/i18n-0.6.9/lib/i18n/core_ext/kernel/surpress_warnings.rb +9 -0
- data/vendor/bundle/jruby/2.3.0/gems/i18n-0.6.9/lib/i18n/core_ext/string/interpolate.rb +105 -0
- data/vendor/bundle/jruby/2.3.0/gems/i18n-0.6.9/lib/i18n/exceptions.rb +128 -0
- data/vendor/bundle/jruby/2.3.0/gems/i18n-0.6.9/lib/i18n/gettext.rb +25 -0
- data/vendor/bundle/jruby/2.3.0/gems/i18n-0.6.9/lib/i18n/gettext/helpers.rb +64 -0
- data/vendor/bundle/jruby/2.3.0/gems/i18n-0.6.9/lib/i18n/gettext/po_parser.rb +329 -0
- data/vendor/bundle/jruby/2.3.0/gems/i18n-0.6.9/lib/i18n/interpolate/ruby.rb +37 -0
- data/vendor/bundle/jruby/2.3.0/gems/i18n-0.6.9/lib/i18n/locale.rb +6 -0
- data/vendor/bundle/jruby/2.3.0/gems/i18n-0.6.9/lib/i18n/locale/fallbacks.rb +96 -0
- data/vendor/bundle/jruby/2.3.0/gems/i18n-0.6.9/lib/i18n/locale/tag.rb +28 -0
- data/vendor/bundle/jruby/2.3.0/gems/i18n-0.6.9/lib/i18n/locale/tag/parents.rb +22 -0
- data/vendor/bundle/jruby/2.3.0/gems/i18n-0.6.9/lib/i18n/locale/tag/rfc4646.rb +74 -0
- data/vendor/bundle/jruby/2.3.0/gems/i18n-0.6.9/lib/i18n/locale/tag/simple.rb +39 -0
- data/vendor/bundle/jruby/2.3.0/gems/i18n-0.6.9/lib/i18n/tests.rb +12 -0
- data/vendor/bundle/jruby/2.3.0/gems/i18n-0.6.9/lib/i18n/tests/basics.rb +59 -0
- data/vendor/bundle/jruby/2.3.0/gems/i18n-0.6.9/lib/i18n/tests/defaults.rb +40 -0
- data/vendor/bundle/jruby/2.3.0/gems/i18n-0.6.9/lib/i18n/tests/interpolation.rb +133 -0
- data/vendor/bundle/jruby/2.3.0/gems/i18n-0.6.9/lib/i18n/tests/link.rb +56 -0
- data/vendor/bundle/jruby/2.3.0/gems/i18n-0.6.9/lib/i18n/tests/localization.rb +19 -0
- data/vendor/bundle/jruby/2.3.0/gems/i18n-0.6.9/lib/i18n/tests/localization/date.rb +91 -0
- data/vendor/bundle/jruby/2.3.0/gems/i18n-0.6.9/lib/i18n/tests/localization/date_time.rb +82 -0
- data/vendor/bundle/jruby/2.3.0/gems/i18n-0.6.9/lib/i18n/tests/localization/procs.rb +116 -0
- data/vendor/bundle/jruby/2.3.0/gems/i18n-0.6.9/lib/i18n/tests/localization/time.rb +81 -0
- data/vendor/bundle/jruby/2.3.0/gems/i18n-0.6.9/lib/i18n/tests/lookup.rb +81 -0
- data/vendor/bundle/jruby/2.3.0/gems/i18n-0.6.9/lib/i18n/tests/pluralization.rb +35 -0
- data/vendor/bundle/jruby/2.3.0/gems/i18n-0.6.9/lib/i18n/tests/procs.rb +55 -0
- data/vendor/bundle/jruby/2.3.0/gems/i18n-0.6.9/lib/i18n/version.rb +3 -0
- data/vendor/bundle/jruby/2.3.0/gems/i18n-0.6.9/test/all.rb +8 -0
- data/vendor/bundle/jruby/2.3.0/gems/i18n-0.6.9/test/api/all_features_test.rb +58 -0
- data/vendor/bundle/jruby/2.3.0/gems/i18n-0.6.9/test/api/cascade_test.rb +28 -0
- data/vendor/bundle/jruby/2.3.0/gems/i18n-0.6.9/test/api/chain_test.rb +24 -0
- data/vendor/bundle/jruby/2.3.0/gems/i18n-0.6.9/test/api/fallbacks_test.rb +30 -0
- data/vendor/bundle/jruby/2.3.0/gems/i18n-0.6.9/test/api/key_value_test.rb +28 -0
- data/vendor/bundle/jruby/2.3.0/gems/i18n-0.6.9/test/api/memoize_test.rb +60 -0
- data/vendor/bundle/jruby/2.3.0/gems/i18n-0.6.9/test/api/override_test.rb +48 -0
- data/vendor/bundle/jruby/2.3.0/gems/i18n-0.6.9/test/api/pluralization_test.rb +30 -0
- data/vendor/bundle/jruby/2.3.0/gems/i18n-0.6.9/test/api/simple_test.rb +28 -0
- data/vendor/bundle/jruby/2.3.0/gems/i18n-0.6.9/test/backend/cache_test.rb +85 -0
- data/vendor/bundle/jruby/2.3.0/gems/i18n-0.6.9/test/backend/cascade_test.rb +85 -0
- data/vendor/bundle/jruby/2.3.0/gems/i18n-0.6.9/test/backend/chain_test.rb +76 -0
- data/vendor/bundle/jruby/2.3.0/gems/i18n-0.6.9/test/backend/exceptions_test.rb +35 -0
- data/vendor/bundle/jruby/2.3.0/gems/i18n-0.6.9/test/backend/fallbacks_test.rb +125 -0
- data/vendor/bundle/jruby/2.3.0/gems/i18n-0.6.9/test/backend/interpolation_compiler_test.rb +119 -0
- data/vendor/bundle/jruby/2.3.0/gems/i18n-0.6.9/test/backend/key_value_test.rb +46 -0
- data/vendor/bundle/jruby/2.3.0/gems/i18n-0.6.9/test/backend/memoize_test.rb +47 -0
- data/vendor/bundle/jruby/2.3.0/gems/i18n-0.6.9/test/backend/metadata_test.rb +47 -0
- data/vendor/bundle/jruby/2.3.0/gems/i18n-0.6.9/test/backend/pluralization_test.rb +44 -0
- data/vendor/bundle/jruby/2.3.0/gems/i18n-0.6.9/test/backend/simple_test.rb +83 -0
- data/vendor/bundle/jruby/2.3.0/gems/i18n-0.6.9/test/backend/transliterator_test.rb +85 -0
- data/vendor/bundle/jruby/2.3.0/gems/i18n-0.6.9/test/core_ext/hash_test.rb +30 -0
- data/vendor/bundle/jruby/2.3.0/gems/i18n-0.6.9/test/core_ext/string/interpolate_test.rb +99 -0
- data/vendor/bundle/jruby/2.3.0/gems/i18n-0.6.9/test/gettext/api_test.rb +206 -0
- data/vendor/bundle/jruby/2.3.0/gems/i18n-0.6.9/test/gettext/backend_test.rb +101 -0
- data/vendor/bundle/jruby/2.3.0/gems/i18n-0.6.9/test/i18n/exceptions_test.rb +120 -0
- data/vendor/bundle/jruby/2.3.0/gems/i18n-0.6.9/test/i18n/interpolate_test.rb +79 -0
- data/vendor/bundle/jruby/2.3.0/gems/i18n-0.6.9/test/i18n/load_path_test.rb +33 -0
- data/vendor/bundle/jruby/2.3.0/gems/i18n-0.6.9/test/i18n_test.rb +365 -0
- data/vendor/bundle/jruby/2.3.0/gems/i18n-0.6.9/test/locale/fallbacks_test.rb +136 -0
- data/vendor/bundle/jruby/2.3.0/gems/i18n-0.6.9/test/locale/tag/rfc4646_test.rb +142 -0
- data/vendor/bundle/jruby/2.3.0/gems/i18n-0.6.9/test/locale/tag/simple_test.rb +32 -0
- data/vendor/bundle/jruby/2.3.0/gems/i18n-0.6.9/test/run_all.rb +21 -0
- data/vendor/bundle/jruby/2.3.0/gems/i18n-0.6.9/test/test_data/locales/de.po +82 -0
- data/vendor/bundle/jruby/2.3.0/gems/i18n-0.6.9/test/test_data/locales/en.rb +3 -0
- data/vendor/bundle/jruby/2.3.0/gems/i18n-0.6.9/test/test_data/locales/en.yml +3 -0
- data/vendor/bundle/jruby/2.3.0/gems/i18n-0.6.9/test/test_data/locales/invalid/empty.yml +0 -0
- data/vendor/bundle/jruby/2.3.0/gems/i18n-0.6.9/test/test_data/locales/invalid/syntax.yml +4 -0
- data/vendor/bundle/jruby/2.3.0/gems/i18n-0.6.9/test/test_data/locales/plurals.rb +113 -0
- data/vendor/bundle/jruby/2.3.0/gems/i18n-0.6.9/test/test_helper.rb +56 -0
- data/vendor/bundle/jruby/2.3.0/gems/insist-1.0.0/Gemfile +7 -0
- data/vendor/bundle/jruby/2.3.0/gems/insist-1.0.0/Gemfile.lock +25 -0
- data/vendor/bundle/jruby/2.3.0/gems/insist-1.0.0/LICENSE +14 -0
- data/vendor/bundle/jruby/2.3.0/gems/insist-1.0.0/Makefile +50 -0
- data/vendor/bundle/jruby/2.3.0/gems/insist-1.0.0/README.md +57 -0
- data/vendor/bundle/jruby/2.3.0/gems/insist-1.0.0/insist.gemspec +20 -0
- data/vendor/bundle/jruby/2.3.0/gems/insist-1.0.0/lib/insist.rb +81 -0
- data/vendor/bundle/jruby/2.3.0/gems/insist-1.0.0/lib/insist/assert.rb +10 -0
- data/vendor/bundle/jruby/2.3.0/gems/insist-1.0.0/lib/insist/comparators.rb +41 -0
- data/vendor/bundle/jruby/2.3.0/gems/insist-1.0.0/lib/insist/comparators19.rb +23 -0
- data/vendor/bundle/jruby/2.3.0/gems/insist-1.0.0/lib/insist/enumerables.rb +14 -0
- data/vendor/bundle/jruby/2.3.0/gems/insist-1.0.0/lib/insist/failure.rb +4 -0
- data/vendor/bundle/jruby/2.3.0/gems/insist-1.0.0/lib/insist/namespace.rb +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/insist-1.0.0/lib/insist/nil.rb +7 -0
- data/vendor/bundle/jruby/2.3.0/gems/insist-1.0.0/lib/insist/predicates.rb +41 -0
- data/vendor/bundle/jruby/2.3.0/gems/insist-1.0.0/lib/insist/raises.rb +19 -0
- data/vendor/bundle/jruby/2.3.0/gems/insist-1.0.0/notify-failure.sh +15 -0
- data/vendor/bundle/jruby/2.3.0/gems/insist-1.0.0/spec/insist/comparators_spec.rb +110 -0
- data/vendor/bundle/jruby/2.3.0/gems/insist-1.0.0/spec/insist/enumerables_spec.rb +18 -0
- data/vendor/bundle/jruby/2.3.0/gems/insist-1.0.0/spec/insist/nil_spec.rb +16 -0
- data/vendor/bundle/jruby/2.3.0/gems/insist-1.0.0/spec/insist/predicates_spec.rb +53 -0
- data/vendor/bundle/jruby/2.3.0/gems/insist-1.0.0/spec/insist/reject_spec.rb +18 -0
- data/vendor/bundle/jruby/2.3.0/gems/insist-1.0.0/spec/insist_spec.rb +14 -0
- data/vendor/bundle/jruby/2.3.0/gems/insist-1.0.0/spec/spec_setup.rb +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/insist-1.0.0/test/all.rb +24 -0
- data/vendor/bundle/jruby/2.3.0/gems/insist-1.0.0/test/docs.rb +42 -0
- data/vendor/bundle/jruby/2.3.0/gems/insist-1.0.0/test/testing.rb +14 -0
- data/vendor/bundle/jruby/2.3.0/gems/jrjackson-0.4.0-java/Gemfile +10 -0
- data/vendor/bundle/jruby/2.3.0/gems/jrjackson-0.4.0-java/Mavenfile +32 -0
- data/vendor/bundle/jruby/2.3.0/gems/jrjackson-0.4.0-java/README.md +150 -0
- data/vendor/bundle/jruby/2.3.0/gems/jrjackson-0.4.0-java/Rakefile +10 -0
- data/vendor/bundle/jruby/2.3.0/gems/jrjackson-0.4.0-java/alt_bench.rb +46 -0
- data/vendor/bundle/jruby/2.3.0/gems/jrjackson-0.4.0-java/changelog.md +131 -0
- data/vendor/bundle/jruby/2.3.0/gems/jrjackson-0.4.0-java/jrjackson.gemspec +32 -0
- data/vendor/bundle/jruby/2.3.0/gems/jrjackson-0.4.0-java/lib/com/fasterxml/jackson/core/jackson-annotations/2.7.3/jackson-annotations-2.7.3.jar +0 -0
- data/vendor/bundle/jruby/2.3.0/gems/jrjackson-0.4.0-java/lib/com/fasterxml/jackson/core/jackson-core/2.7.3/jackson-core-2.7.3.jar +0 -0
- data/vendor/bundle/jruby/2.3.0/gems/jrjackson-0.4.0-java/lib/com/fasterxml/jackson/core/jackson-databind/2.7.3/jackson-databind-2.7.3.jar +0 -0
- data/vendor/bundle/jruby/2.3.0/gems/jrjackson-0.4.0-java/lib/com/fasterxml/jackson/module/jackson-module-afterburner/2.7.3/jackson-module-afterburner-2.7.3.jar +0 -0
- data/vendor/bundle/jruby/2.3.0/gems/jrjackson-0.4.0-java/lib/jrjackson.rb +2 -0
- data/vendor/bundle/jruby/2.3.0/gems/jrjackson-0.4.0-java/lib/jrjackson/build_info.rb +15 -0
- data/vendor/bundle/jruby/2.3.0/gems/jrjackson-0.4.0-java/lib/jrjackson/jars/jrjackson-1.2.19.jar +0 -0
- data/vendor/bundle/jruby/2.3.0/gems/jrjackson-0.4.0-java/lib/jrjackson/jrjackson.rb +94 -0
- data/vendor/bundle/jruby/2.3.0/gems/jrjackson-0.4.0-java/lib/jrjackson_jars.rb +16 -0
- data/vendor/bundle/jruby/2.3.0/gems/jrjackson-0.4.0-java/lib/require_relative_patch.rb +6 -0
- data/vendor/bundle/jruby/2.3.0/gems/jrjackson-0.4.0-java/pom.xml +193 -0
- data/vendor/bundle/jruby/2.3.0/gems/jrjackson-0.4.0-java/profiling/profiled.rb +15 -0
- data/vendor/bundle/jruby/2.3.0/gems/jrjackson-0.4.0-java/run_all_individual_bench.sh +25 -0
- data/vendor/bundle/jruby/2.3.0/gems/jrjackson-0.4.0-java/run_jruby_individual_bench.sh +20 -0
- data/vendor/bundle/jruby/2.3.0/gems/jrjackson-0.4.0-java/run_mri_individual_bench.sh +7 -0
- data/vendor/bundle/jruby/2.3.0/gems/jrjackson-0.4.0-java/src/main/java/com/jrjackson/IParseHandler.java +53 -0
- data/vendor/bundle/jruby/2.3.0/gems/jrjackson-0.4.0-java/src/main/java/com/jrjackson/JavaBigDecimalValueConverter.java +17 -0
- data/vendor/bundle/jruby/2.3.0/gems/jrjackson-0.4.0-java/src/main/java/com/jrjackson/JavaBigIntValueConverter.java +17 -0
- data/vendor/bundle/jruby/2.3.0/gems/jrjackson-0.4.0-java/src/main/java/com/jrjackson/JavaConverter.java +10 -0
- data/vendor/bundle/jruby/2.3.0/gems/jrjackson-0.4.0-java/src/main/java/com/jrjackson/JavaFloatValueConverter.java +16 -0
- data/vendor/bundle/jruby/2.3.0/gems/jrjackson-0.4.0-java/src/main/java/com/jrjackson/JavaHandler.java +118 -0
- data/vendor/bundle/jruby/2.3.0/gems/jrjackson-0.4.0-java/src/main/java/com/jrjackson/JavaLongValueConverter.java +16 -0
- data/vendor/bundle/jruby/2.3.0/gems/jrjackson-0.4.0-java/src/main/java/com/jrjackson/JjParse.java +139 -0
- data/vendor/bundle/jruby/2.3.0/gems/jrjackson-0.4.0-java/src/main/java/com/jrjackson/JrJacksonBase.java +152 -0
- data/vendor/bundle/jruby/2.3.0/gems/jrjackson-0.4.0-java/src/main/java/com/jrjackson/JrJacksonJava.java +81 -0
- data/vendor/bundle/jruby/2.3.0/gems/jrjackson-0.4.0-java/src/main/java/com/jrjackson/JrJacksonRaw.java +108 -0
- data/vendor/bundle/jruby/2.3.0/gems/jrjackson-0.4.0-java/src/main/java/com/jrjackson/JrJacksonRuby.java +89 -0
- data/vendor/bundle/jruby/2.3.0/gems/jrjackson-0.4.0-java/src/main/java/com/jrjackson/JrJacksonSaj.java +26 -0
- data/vendor/bundle/jruby/2.3.0/gems/jrjackson-0.4.0-java/src/main/java/com/jrjackson/JrJacksonSch.java +25 -0
- data/vendor/bundle/jruby/2.3.0/gems/jrjackson-0.4.0-java/src/main/java/com/jrjackson/JrJacksonService.java +38 -0
- data/vendor/bundle/jruby/2.3.0/gems/jrjackson-0.4.0-java/src/main/java/com/jrjackson/JrParse.java +142 -0
- data/vendor/bundle/jruby/2.3.0/gems/jrjackson-0.4.0-java/src/main/java/com/jrjackson/ParseError.java +16 -0
- data/vendor/bundle/jruby/2.3.0/gems/jrjackson-0.4.0-java/src/main/java/com/jrjackson/RubyAnySerializer.java +269 -0
- data/vendor/bundle/jruby/2.3.0/gems/jrjackson-0.4.0-java/src/main/java/com/jrjackson/RubyBigDecimalValueConverter.java +18 -0
- data/vendor/bundle/jruby/2.3.0/gems/jrjackson-0.4.0-java/src/main/java/com/jrjackson/RubyBigIntValueConverter.java +21 -0
- data/vendor/bundle/jruby/2.3.0/gems/jrjackson-0.4.0-java/src/main/java/com/jrjackson/RubyConverter.java +12 -0
- data/vendor/bundle/jruby/2.3.0/gems/jrjackson-0.4.0-java/src/main/java/com/jrjackson/RubyDateFormat.java +34 -0
- data/vendor/bundle/jruby/2.3.0/gems/jrjackson-0.4.0-java/src/main/java/com/jrjackson/RubyFloatValueConverter.java +18 -0
- data/vendor/bundle/jruby/2.3.0/gems/jrjackson-0.4.0-java/src/main/java/com/jrjackson/RubyHandler.java +119 -0
- data/vendor/bundle/jruby/2.3.0/gems/jrjackson-0.4.0-java/src/main/java/com/jrjackson/RubyIntValueConverter.java +18 -0
- data/vendor/bundle/jruby/2.3.0/gems/jrjackson-0.4.0-java/src/main/java/com/jrjackson/RubyJacksonModule.java +72 -0
- data/vendor/bundle/jruby/2.3.0/gems/jrjackson-0.4.0-java/src/main/java/com/jrjackson/RubyKeyConverter.java +12 -0
- data/vendor/bundle/jruby/2.3.0/gems/jrjackson-0.4.0-java/src/main/java/com/jrjackson/RubyNameConverter.java +9 -0
- data/vendor/bundle/jruby/2.3.0/gems/jrjackson-0.4.0-java/src/main/java/com/jrjackson/RubyObjectDeserializer.java +182 -0
- data/vendor/bundle/jruby/2.3.0/gems/jrjackson-0.4.0-java/src/main/java/com/jrjackson/RubyStringConverter.java +18 -0
- data/vendor/bundle/jruby/2.3.0/gems/jrjackson-0.4.0-java/src/main/java/com/jrjackson/RubyStringKeyConverter.java +15 -0
- data/vendor/bundle/jruby/2.3.0/gems/jrjackson-0.4.0-java/src/main/java/com/jrjackson/RubyStringNameConverter.java +12 -0
- data/vendor/bundle/jruby/2.3.0/gems/jrjackson-0.4.0-java/src/main/java/com/jrjackson/RubySymbolKeyConverter.java +15 -0
- data/vendor/bundle/jruby/2.3.0/gems/jrjackson-0.4.0-java/src/main/java/com/jrjackson/RubySymbolNameConverter.java +12 -0
- data/vendor/bundle/jruby/2.3.0/gems/jrjackson-0.4.0-java/src/main/java/com/jrjackson/RubyUtils.java +149 -0
- data/vendor/bundle/jruby/2.3.0/gems/jrjackson-0.4.0-java/src/main/java/com/jrjackson/SajParse.java +169 -0
- data/vendor/bundle/jruby/2.3.0/gems/jrjackson-0.4.0-java/src/main/java/com/jrjackson/SchParse.java +209 -0
- data/vendor/bundle/jruby/2.3.0/gems/jrjackson-0.4.0-java/src/main/java/com/jrjackson/StreamParse.java +66 -0
- data/vendor/bundle/jruby/2.3.0/gems/jrjackson-0.4.0-java/test/jrjackson_test.rb +550 -0
- data/vendor/bundle/jruby/2.3.0/gems/jrmonitor-0.4.2/jrmonitor.gemspec +25 -0
- data/vendor/bundle/jruby/2.3.0/gems/jrmonitor-0.4.2/jruby-ext/target/classes/com/purbon/jrmonitor/JRMonitorService$1.class +0 -0
- data/vendor/bundle/jruby/2.3.0/gems/jrmonitor-0.4.2/jruby-ext/target/classes/com/purbon/jrmonitor/JRMonitorService$2.class +0 -0
- data/vendor/bundle/jruby/2.3.0/gems/jrmonitor-0.4.2/jruby-ext/target/classes/com/purbon/jrmonitor/JRMonitorService$3.class +0 -0
- data/vendor/bundle/jruby/2.3.0/gems/jrmonitor-0.4.2/jruby-ext/target/classes/com/purbon/jrmonitor/JRMonitorService$4.class +0 -0
- data/vendor/bundle/jruby/2.3.0/gems/jrmonitor-0.4.2/jruby-ext/target/classes/com/purbon/jrmonitor/JRMonitorService.class +0 -0
- data/vendor/bundle/jruby/2.3.0/gems/jrmonitor-0.4.2/jruby-ext/target/classes/com/purbon/jrmonitor/JRubyUtils.class +0 -0
- data/vendor/bundle/jruby/2.3.0/gems/jrmonitor-0.4.2/jruby-ext/target/classes/com/purbon/jrmonitor/monitors/HotThreadsMonitor$1.class +0 -0
- data/vendor/bundle/jruby/2.3.0/gems/jrmonitor-0.4.2/jruby-ext/target/classes/com/purbon/jrmonitor/monitors/HotThreadsMonitor$ThreadReport.class +0 -0
- data/vendor/bundle/jruby/2.3.0/gems/jrmonitor-0.4.2/jruby-ext/target/classes/com/purbon/jrmonitor/monitors/HotThreadsMonitor.class +0 -0
- data/vendor/bundle/jruby/2.3.0/gems/jrmonitor-0.4.2/jruby-ext/target/classes/com/purbon/jrmonitor/monitors/MemoryMonitor$Report.class +0 -0
- data/vendor/bundle/jruby/2.3.0/gems/jrmonitor-0.4.2/jruby-ext/target/classes/com/purbon/jrmonitor/monitors/MemoryMonitor$Type.class +0 -0
- data/vendor/bundle/jruby/2.3.0/gems/jrmonitor-0.4.2/jruby-ext/target/classes/com/purbon/jrmonitor/monitors/MemoryMonitor.class +0 -0
- data/vendor/bundle/jruby/2.3.0/gems/jrmonitor-0.4.2/jruby-ext/target/classes/com/purbon/jrmonitor/monitors/ProcessMonitor$Report.class +0 -0
- data/vendor/bundle/jruby/2.3.0/gems/jrmonitor-0.4.2/jruby-ext/target/classes/com/purbon/jrmonitor/monitors/ProcessMonitor.class +0 -0
- data/vendor/bundle/jruby/2.3.0/gems/jrmonitor-0.4.2/jruby-ext/target/classes/com/purbon/jrmonitor/monitors/SystemMonitor$Report.class +0 -0
- data/vendor/bundle/jruby/2.3.0/gems/jrmonitor-0.4.2/jruby-ext/target/classes/com/purbon/jrmonitor/monitors/SystemMonitor.class +0 -0
- data/vendor/bundle/jruby/2.3.0/gems/jrmonitor-0.4.2/jruby-ext/target/classes/com/purbon/jrmonitor/reports/RubyMemoryReport.class +0 -0
- data/vendor/bundle/jruby/2.3.0/gems/jrmonitor-0.4.2/jruby-ext/target/classes/com/purbon/jrmonitor/reports/RubyProcessReport.class +0 -0
- data/vendor/bundle/jruby/2.3.0/gems/jrmonitor-0.4.2/jruby-ext/target/classes/com/purbon/jrmonitor/reports/RubySystemReport.class +0 -0
- data/vendor/bundle/jruby/2.3.0/gems/jrmonitor-0.4.2/jruby-ext/target/classes/com/purbon/jrmonitor/reports/RubyThreadsReport.class +0 -0
- data/vendor/bundle/jruby/2.3.0/gems/jrmonitor-0.4.2/lib/jrmonitor.rb +23 -0
- data/vendor/bundle/jruby/2.3.0/gems/jrmonitor-0.4.2/spec/lib/memory_monitor_spec.rb +37 -0
- data/vendor/bundle/jruby/2.3.0/gems/jrmonitor-0.4.2/spec/lib/process_monitor_spec.rb +40 -0
- data/vendor/bundle/jruby/2.3.0/gems/jrmonitor-0.4.2/spec/lib/system_monitor_spec.rb +27 -0
- data/vendor/bundle/jruby/2.3.0/gems/jrmonitor-0.4.2/spec/lib/thread_monitor_spec.rb +105 -0
- data/vendor/bundle/jruby/2.3.0/gems/jrmonitor-0.4.2/spec/spec_helper.rb +2 -0
- data/vendor/bundle/jruby/2.3.0/gems/jruby-openssl-0.9.16-java/History.md +412 -0
- data/vendor/bundle/jruby/2.3.0/gems/jruby-openssl-0.9.16-java/LICENSE.txt +37 -0
- data/vendor/bundle/jruby/2.3.0/gems/jruby-openssl-0.9.16-java/README.md +55 -0
- data/vendor/bundle/jruby/2.3.0/gems/jruby-openssl-0.9.16-java/Rakefile +67 -0
- data/vendor/bundle/jruby/2.3.0/gems/jruby-openssl-0.9.16-java/lib/jopenssl.jar +0 -0
- data/vendor/bundle/jruby/2.3.0/gems/jruby-openssl-0.9.16-java/lib/jopenssl/load.rb +40 -0
- data/vendor/bundle/jruby/2.3.0/gems/jruby-openssl-0.9.16-java/lib/jopenssl/version.rb +11 -0
- data/vendor/bundle/jruby/2.3.0/gems/jruby-openssl-0.9.16-java/lib/jopenssl18/openssl.rb +23 -0
- data/vendor/bundle/jruby/2.3.0/gems/jruby-openssl-0.9.16-java/lib/jopenssl18/openssl/bn.rb +25 -0
- data/vendor/bundle/jruby/2.3.0/gems/jruby-openssl-0.9.16-java/lib/jopenssl18/openssl/buffering.rb +241 -0
- data/vendor/bundle/jruby/2.3.0/gems/jruby-openssl-0.9.16-java/lib/jopenssl18/openssl/cipher.rb +28 -0
- data/vendor/bundle/jruby/2.3.0/gems/jruby-openssl-0.9.16-java/lib/jopenssl18/openssl/config.rb +316 -0
- data/vendor/bundle/jruby/2.3.0/gems/jruby-openssl-0.9.16-java/lib/jopenssl18/openssl/digest.rb +32 -0
- data/vendor/bundle/jruby/2.3.0/gems/jruby-openssl-0.9.16-java/lib/jopenssl18/openssl/pkcs7.rb +25 -0
- data/vendor/bundle/jruby/2.3.0/gems/jruby-openssl-0.9.16-java/lib/jopenssl18/openssl/ssl-internal.rb +112 -0
- data/vendor/bundle/jruby/2.3.0/gems/jruby-openssl-0.9.16-java/lib/jopenssl18/openssl/ssl.rb +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/jruby-openssl-0.9.16-java/lib/jopenssl18/openssl/x509-internal.rb +110 -0
- data/vendor/bundle/jruby/2.3.0/gems/jruby-openssl-0.9.16-java/lib/jopenssl18/openssl/x509.rb +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/jruby-openssl-0.9.16-java/lib/jopenssl19/openssl.rb +22 -0
- data/vendor/bundle/jruby/2.3.0/gems/jruby-openssl-0.9.16-java/lib/jopenssl19/openssl/bn.rb +29 -0
- data/vendor/bundle/jruby/2.3.0/gems/jruby-openssl-0.9.16-java/lib/jopenssl19/openssl/buffering.rb +449 -0
- data/vendor/bundle/jruby/2.3.0/gems/jruby-openssl-0.9.16-java/lib/jopenssl19/openssl/cipher.rb +28 -0
- data/vendor/bundle/jruby/2.3.0/gems/jruby-openssl-0.9.16-java/lib/jopenssl19/openssl/config.rb +472 -0
- data/vendor/bundle/jruby/2.3.0/gems/jruby-openssl-0.9.16-java/lib/jopenssl19/openssl/digest.rb +32 -0
- data/vendor/bundle/jruby/2.3.0/gems/jruby-openssl-0.9.16-java/lib/jopenssl19/openssl/ssl-internal.rb +119 -0
- data/vendor/bundle/jruby/2.3.0/gems/jruby-openssl-0.9.16-java/lib/jopenssl19/openssl/ssl.rb +2 -0
- data/vendor/bundle/jruby/2.3.0/gems/jruby-openssl-0.9.16-java/lib/jopenssl19/openssl/x509-internal.rb +115 -0
- data/vendor/bundle/jruby/2.3.0/gems/jruby-openssl-0.9.16-java/lib/jopenssl19/openssl/x509.rb +2 -0
- data/vendor/bundle/jruby/2.3.0/gems/jruby-openssl-0.9.16-java/lib/jopenssl21/openssl.rb +22 -0
- data/vendor/bundle/jruby/2.3.0/gems/jruby-openssl-0.9.16-java/lib/jopenssl21/openssl/bn.rb +28 -0
- data/vendor/bundle/jruby/2.3.0/gems/jruby-openssl-0.9.16-java/lib/jopenssl21/openssl/buffering.rb +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/jruby-openssl-0.9.16-java/lib/jopenssl21/openssl/cipher.rb +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/jruby-openssl-0.9.16-java/lib/jopenssl21/openssl/config.rb +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/jruby-openssl-0.9.16-java/lib/jopenssl21/openssl/digest.rb +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/jruby-openssl-0.9.16-java/lib/jopenssl21/openssl/ssl.rb +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/jruby-openssl-0.9.16-java/lib/jopenssl21/openssl/x509.rb +119 -0
- data/vendor/bundle/jruby/2.3.0/gems/jruby-openssl-0.9.16-java/lib/jopenssl22/openssl.rb +22 -0
- data/vendor/bundle/jruby/2.3.0/gems/jruby-openssl-0.9.16-java/lib/jopenssl22/openssl/bn.rb +39 -0
- data/vendor/bundle/jruby/2.3.0/gems/jruby-openssl-0.9.16-java/lib/jopenssl22/openssl/buffering.rb +456 -0
- data/vendor/bundle/jruby/2.3.0/gems/jruby-openssl-0.9.16-java/lib/jopenssl22/openssl/cipher.rb +28 -0
- data/vendor/bundle/jruby/2.3.0/gems/jruby-openssl-0.9.16-java/lib/jopenssl22/openssl/config.rb +313 -0
- data/vendor/bundle/jruby/2.3.0/gems/jruby-openssl-0.9.16-java/lib/jopenssl22/openssl/digest.rb +54 -0
- data/vendor/bundle/jruby/2.3.0/gems/jruby-openssl-0.9.16-java/lib/jopenssl22/openssl/ssl.rb +330 -0
- data/vendor/bundle/jruby/2.3.0/gems/jruby-openssl-0.9.16-java/lib/jopenssl22/openssl/x509.rb +139 -0
- data/vendor/bundle/jruby/2.3.0/gems/jruby-openssl-0.9.16-java/lib/jopenssl23/openssl.rb +19 -0
- data/vendor/bundle/jruby/2.3.0/gems/jruby-openssl-0.9.16-java/lib/jopenssl23/openssl/bn.rb +37 -0
- data/vendor/bundle/jruby/2.3.0/gems/jruby-openssl-0.9.16-java/lib/jopenssl23/openssl/buffering.rb +453 -0
- data/vendor/bundle/jruby/2.3.0/gems/jruby-openssl-0.9.16-java/lib/jopenssl23/openssl/cipher.rb +22 -0
- data/vendor/bundle/jruby/2.3.0/gems/jruby-openssl-0.9.16-java/lib/jopenssl23/openssl/config.rb +473 -0
- data/vendor/bundle/jruby/2.3.0/gems/jruby-openssl-0.9.16-java/lib/jopenssl23/openssl/digest.rb +48 -0
- data/vendor/bundle/jruby/2.3.0/gems/jruby-openssl-0.9.16-java/lib/jopenssl23/openssl/pkey.rb +37 -0
- data/vendor/bundle/jruby/2.3.0/gems/jruby-openssl-0.9.16-java/lib/jopenssl23/openssl/ssl.rb +425 -0
- data/vendor/bundle/jruby/2.3.0/gems/jruby-openssl-0.9.16-java/lib/jopenssl23/openssl/x509.rb +133 -0
- data/vendor/bundle/jruby/2.3.0/gems/jruby-openssl-0.9.16-java/lib/jruby-openssl.rb +5 -0
- data/vendor/bundle/jruby/2.3.0/gems/jruby-openssl-0.9.16-java/lib/openssl.rb +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/jruby-openssl-0.9.16-java/lib/openssl/bn.rb +11 -0
- data/vendor/bundle/jruby/2.3.0/gems/jruby-openssl-0.9.16-java/lib/openssl/buffering.rb +11 -0
- data/vendor/bundle/jruby/2.3.0/gems/jruby-openssl-0.9.16-java/lib/openssl/cipher.rb +11 -0
- data/vendor/bundle/jruby/2.3.0/gems/jruby-openssl-0.9.16-java/lib/openssl/config.rb +11 -0
- data/vendor/bundle/jruby/2.3.0/gems/jruby-openssl-0.9.16-java/lib/openssl/digest.rb +11 -0
- data/vendor/bundle/jruby/2.3.0/gems/jruby-openssl-0.9.16-java/lib/openssl/pkcs12.rb +106 -0
- data/vendor/bundle/jruby/2.3.0/gems/jruby-openssl-0.9.16-java/lib/openssl/pkcs7.rb +5 -0
- data/vendor/bundle/jruby/2.3.0/gems/jruby-openssl-0.9.16-java/lib/openssl/pkey.rb +5 -0
- data/vendor/bundle/jruby/2.3.0/gems/jruby-openssl-0.9.16-java/lib/openssl/ssl-internal.rb +7 -0
- data/vendor/bundle/jruby/2.3.0/gems/jruby-openssl-0.9.16-java/lib/openssl/ssl.rb +11 -0
- data/vendor/bundle/jruby/2.3.0/gems/jruby-openssl-0.9.16-java/lib/openssl/x509-internal.rb +7 -0
- data/vendor/bundle/jruby/2.3.0/gems/jruby-openssl-0.9.16-java/lib/openssl/x509.rb +11 -0
- data/vendor/bundle/jruby/2.3.0/gems/jruby-openssl-0.9.16-java/lib/org/bouncycastle/bcpkix-jdk15on/1.54/bcpkix-jdk15on-1.54.jar +0 -0
- data/vendor/bundle/jruby/2.3.0/gems/jruby-openssl-0.9.16-java/lib/org/bouncycastle/bcprov-jdk15on/1.54/bcprov-jdk15on-1.54.jar +0 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/AUTHORS +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/CONTRIBUTERS +49 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/COPYING +30 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/README.md +71 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/Rakefile +271 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/VERSION +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/benchmark/benchmark.rb +43 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/benchmark/benchmark.sh +74 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/benchmark/generate_data.rb +119 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/benchmark/mdbasics.text +306 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/benchmark/mdsyntax.text +888 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/benchmark/testing.sh +12 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/benchmark/timing.sh +10 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/bin/kramdown +67 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/data/kramdown/document.html +22 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/data/kramdown/document.latex +50 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/doc/_design.scss +441 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/doc/bg.png +0 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/doc/default.scss +192 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/doc/default.template +68 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/doc/documentation.page +84 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/doc/documentation.template +29 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/doc/index.page +109 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/doc/installation.page +86 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/doc/links.markdown +6 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/doc/metainfo +3 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/doc/news.feed +9 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/doc/news.page +29 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/doc/options.page +49 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/doc/quickref.page +599 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/doc/sidebar.template +19 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/doc/sitemap.sitemap +5 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/doc/syntax.page +1791 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/doc/tests.page +104 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/doc/virtual +14 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/lib/kramdown.rb +10 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/lib/kramdown/compatibility.rb +48 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/lib/kramdown/converter.rb +67 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/lib/kramdown/converter/base.rb +267 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/lib/kramdown/converter/hash_ast.rb +36 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/lib/kramdown/converter/html.rb +471 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/lib/kramdown/converter/kramdown.rb +437 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/lib/kramdown/converter/latex.rb +613 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/lib/kramdown/converter/math_engine/itex2mml.rb +39 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/lib/kramdown/converter/math_engine/mathjax.rb +48 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/lib/kramdown/converter/math_engine/mathjaxnode.rb +56 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/lib/kramdown/converter/math_engine/ritex.rb +38 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/lib/kramdown/converter/pdf.rb +625 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/lib/kramdown/converter/remove_html_tags.rb +55 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/lib/kramdown/converter/syntax_highlighter.rb +56 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/lib/kramdown/converter/syntax_highlighter/coderay.rb +81 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/lib/kramdown/converter/syntax_highlighter/minted.rb +35 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/lib/kramdown/converter/syntax_highlighter/rouge.rb +59 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/lib/kramdown/converter/toc.rb +69 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/lib/kramdown/document.rb +144 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/lib/kramdown/element.rb +522 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/lib/kramdown/error.rb +17 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/lib/kramdown/options.rb +627 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/lib/kramdown/parser.rb +27 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/lib/kramdown/parser/base.rb +134 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/lib/kramdown/parser/gfm.rb +123 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/lib/kramdown/parser/html.rb +600 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/lib/kramdown/parser/kramdown.rb +363 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/lib/kramdown/parser/kramdown/abbreviation.rb +75 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/lib/kramdown/parser/kramdown/autolink.rb +37 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/lib/kramdown/parser/kramdown/blank_line.rb +30 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/lib/kramdown/parser/kramdown/block_boundary.rb +33 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/lib/kramdown/parser/kramdown/blockquote.rb +39 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/lib/kramdown/parser/kramdown/codeblock.rb +58 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/lib/kramdown/parser/kramdown/codespan.rb +44 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/lib/kramdown/parser/kramdown/emphasis.rb +61 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/lib/kramdown/parser/kramdown/eob.rb +26 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/lib/kramdown/parser/kramdown/escaped_chars.rb +25 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/lib/kramdown/parser/kramdown/extensions.rb +203 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/lib/kramdown/parser/kramdown/footnote.rb +63 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/lib/kramdown/parser/kramdown/header.rb +59 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/lib/kramdown/parser/kramdown/horizontal_rule.rb +27 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/lib/kramdown/parser/kramdown/html.rb +163 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/lib/kramdown/parser/kramdown/html_entity.rb +33 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/lib/kramdown/parser/kramdown/line_break.rb +25 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/lib/kramdown/parser/kramdown/link.rb +143 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/lib/kramdown/parser/kramdown/list.rb +253 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/lib/kramdown/parser/kramdown/math.rb +54 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/lib/kramdown/parser/kramdown/paragraph.rb +55 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/lib/kramdown/parser/kramdown/smart_quotes.rb +174 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/lib/kramdown/parser/kramdown/table.rb +173 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/lib/kramdown/parser/kramdown/typographic_symbol.rb +44 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/lib/kramdown/parser/markdown.rb +56 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/lib/kramdown/utils.rb +58 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/lib/kramdown/utils/configurable.rb +44 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/lib/kramdown/utils/entities.rb +347 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/lib/kramdown/utils/html.rb +77 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/lib/kramdown/utils/ordered_hash.rb +92 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/lib/kramdown/utils/string_scanner.rb +82 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/lib/kramdown/utils/unidecoder.rb +48 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/lib/kramdown/version.rb +15 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/man/man1/kramdown.1 +508 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/setup.rb +1585 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/run_tests.rb +46 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/test_files.rb +395 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/test_location.rb +229 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/test_string_scanner_kramdown.rb +30 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/01_blank_line/spaces.html +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/01_blank_line/spaces.text +3 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/01_blank_line/tabs.html +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/01_blank_line/tabs.text +6 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/02_eob/beginning.html +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/02_eob/beginning.text +3 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/02_eob/end.html +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/02_eob/end.text +3 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/02_eob/middle.html +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/02_eob/middle.text +5 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/03_paragraph/indented.html +18 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/03_paragraph/indented.html.gfm +18 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/03_paragraph/indented.text +19 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/03_paragraph/no_newline_at_end.html +5 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/03_paragraph/no_newline_at_end.text +5 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/03_paragraph/one_para.html +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/03_paragraph/one_para.text +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/03_paragraph/two_para.html +4 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/03_paragraph/two_para.text +4 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/04_header/atx_header.html +51 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/04_header/atx_header.text +48 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/04_header/atx_header_no_newline_at_end.html +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/04_header/atx_header_no_newline_at_end.text +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/04_header/header_type_offset.html +11 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/04_header/header_type_offset.kramdown +12 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/04_header/header_type_offset.latex +12 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/04_header/header_type_offset.options +2 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/04_header/header_type_offset.text +13 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/04_header/setext_header.html +32 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/04_header/setext_header.text +39 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/04_header/setext_header_no_newline_at_end.html +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/04_header/setext_header_no_newline_at_end.text +2 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/04_header/with_auto_id_prefix.html +3 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/04_header/with_auto_id_prefix.options +2 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/04_header/with_auto_id_prefix.text +3 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/04_header/with_auto_id_stripping.html +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/04_header/with_auto_id_stripping.options +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/04_header/with_auto_id_stripping.text +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/04_header/with_auto_ids.html +21 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/04_header/with_auto_ids.options +2 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/04_header/with_auto_ids.text +24 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/05_blockquote/indented.html +25 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/05_blockquote/indented.text +14 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/05_blockquote/lazy.html +34 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/05_blockquote/lazy.text +20 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/05_blockquote/nested.html +10 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/05_blockquote/nested.text +6 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/05_blockquote/no_newline_at_end.html +4 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/05_blockquote/no_newline_at_end.text +2 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/05_blockquote/very_long_line.html +3 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/05_blockquote/very_long_line.text +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/05_blockquote/with_code_blocks.html +15 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/05_blockquote/with_code_blocks.text +11 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/06_codeblock/disable-highlighting.html +4 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/06_codeblock/disable-highlighting.options +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/06_codeblock/disable-highlighting.text +4 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/06_codeblock/error.html +4 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/06_codeblock/error.text +4 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/06_codeblock/highlighting-minted-with-opts.latex +9 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/06_codeblock/highlighting-minted-with-opts.options +4 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/06_codeblock/highlighting-minted-with-opts.text +5 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/06_codeblock/highlighting-minted.latex +8 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/06_codeblock/highlighting-minted.options +3 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/06_codeblock/highlighting-minted.text +4 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/06_codeblock/highlighting-opts.html +6 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/06_codeblock/highlighting-opts.options +7 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/06_codeblock/highlighting-opts.text +4 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/06_codeblock/highlighting.html +6 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/06_codeblock/highlighting.options +5 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/06_codeblock/highlighting.text +4 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/06_codeblock/issue_gh45.html +164 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/06_codeblock/issue_gh45.test +188 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/06_codeblock/lazy.html +4 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/06_codeblock/lazy.text +5 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/06_codeblock/no_newline_at_end.html +2 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/06_codeblock/no_newline_at_end.text +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/06_codeblock/no_newline_at_end_1.html +2 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/06_codeblock/no_newline_at_end_1.text +2 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/06_codeblock/normal.html +13 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/06_codeblock/normal.text +10 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/06_codeblock/rouge/disabled.html +2 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/06_codeblock/rouge/disabled.options +4 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/06_codeblock/rouge/disabled.text +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/06_codeblock/rouge/multiple.html +11 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/06_codeblock/rouge/multiple.options +4 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/06_codeblock/rouge/multiple.text +11 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/06_codeblock/rouge/simple.html +10 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/06_codeblock/rouge/simple.options +3 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/06_codeblock/rouge/simple.text +9 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/06_codeblock/tilde_syntax.html +7 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/06_codeblock/tilde_syntax.text +9 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/06_codeblock/whitespace.html +3 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/06_codeblock/whitespace.text +3 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/06_codeblock/with_blank_line.html +13 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/06_codeblock/with_blank_line.text +12 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/06_codeblock/with_eob_marker.html +6 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/06_codeblock/with_eob_marker.text +5 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/06_codeblock/with_ial.html +6 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/06_codeblock/with_ial.text +5 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/06_codeblock/with_lang_in_fenced_block.html +24 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/06_codeblock/with_lang_in_fenced_block.options +2 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/06_codeblock/with_lang_in_fenced_block.text +33 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/06_codeblock/with_lang_in_fenced_block_any_char.html +8 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/06_codeblock/with_lang_in_fenced_block_any_char.options +2 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/06_codeblock/with_lang_in_fenced_block_any_char.text +11 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/06_codeblock/with_lang_in_fenced_block_name_with_dash.html +3 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/06_codeblock/with_lang_in_fenced_block_name_with_dash.options +2 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/06_codeblock/with_lang_in_fenced_block_name_with_dash.text +4 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/07_horizontal_rule/error.html +7 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/07_horizontal_rule/error.html.19 +7 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/07_horizontal_rule/error.text +7 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/07_horizontal_rule/normal.html +19 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/07_horizontal_rule/normal.text +20 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/07_horizontal_rule/sepspaces.html +3 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/07_horizontal_rule/sepspaces.text +3 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/07_horizontal_rule/septabs.html +3 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/07_horizontal_rule/septabs.text +3 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/08_list/escaping.html +17 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/08_list/escaping.text +17 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/08_list/item_ial.html +10 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/08_list/item_ial.text +8 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/08_list/lazy.html +39 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/08_list/lazy.text +29 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/08_list/list_and_hr.html +9 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/08_list/list_and_hr.text +5 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/08_list/list_and_others.html +40 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/08_list/list_and_others.text +26 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/08_list/mixed.html +117 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/08_list/mixed.text +66 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/08_list/nested.html +17 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/08_list/nested.text +7 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/08_list/other_first_element.html +39 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/08_list/other_first_element.text +18 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/08_list/simple_ol.html +19 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/08_list/simple_ol.text +13 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/08_list/simple_ul.html +48 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/08_list/simple_ul.text +36 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/08_list/single_item.html +3 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/08_list/single_item.text +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/08_list/special_cases.html +62 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/08_list/special_cases.text +40 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/09_html/comment.html +18 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/09_html/comment.text +15 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/09_html/content_model/deflists.html +6 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/09_html/content_model/deflists.options +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/09_html/content_model/deflists.text +6 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/09_html/content_model/tables.html +14 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/09_html/content_model/tables.options +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/09_html/content_model/tables.text +14 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/09_html/html5_attributes.html +13 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/09_html/html5_attributes.text +13 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/09_html/html_after_block.html +7 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/09_html/html_after_block.text +5 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/09_html/html_and_codeblocks.html +15 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/09_html/html_and_codeblocks.options +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/09_html/html_and_codeblocks.text +13 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/09_html/html_and_headers.html +5 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/09_html/html_and_headers.text +6 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/09_html/html_to_native/code.html +10 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/09_html/html_to_native/code.text +9 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/09_html/html_to_native/comment.html +7 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/09_html/html_to_native/comment.text +8 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/09_html/html_to_native/emphasis.html +6 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/09_html/html_to_native/emphasis.text +6 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/09_html/html_to_native/entity.html +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/09_html/html_to_native/entity.text +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/09_html/html_to_native/header.html +6 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/09_html/html_to_native/header.options +2 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/09_html/html_to_native/header.text +6 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/09_html/html_to_native/list_dl.html +8 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/09_html/html_to_native/list_dl.text +8 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/09_html/html_to_native/list_ol.html +15 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/09_html/html_to_native/list_ol.text +17 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/09_html/html_to_native/list_ul.html +19 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/09_html/html_to_native/list_ul.text +22 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/09_html/html_to_native/options +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/09_html/html_to_native/paragraph.html +3 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/09_html/html_to_native/paragraph.text +4 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/09_html/html_to_native/table_normal.html +12 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/09_html/html_to_native/table_normal.text +12 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/09_html/html_to_native/table_simple.html +61 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/09_html/html_to_native/table_simple.text +71 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/09_html/html_to_native/typography.html +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/09_html/html_to_native/typography.html.19 +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/09_html/html_to_native/typography.text +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/09_html/invalid_html_1.html +5 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/09_html/invalid_html_1.text +5 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/09_html/invalid_html_2.html +5 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/09_html/invalid_html_2.text +5 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/09_html/markdown_attr.html +38 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/09_html/markdown_attr.text +38 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/09_html/not_parsed.html +24 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/09_html/not_parsed.text +24 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/09_html/parse_as_raw.html +35 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/09_html/parse_as_raw.htmlinput +34 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/09_html/parse_as_raw.options +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/09_html/parse_as_raw.text +33 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/09_html/parse_as_span.html +12 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/09_html/parse_as_span.htmlinput +12 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/09_html/parse_as_span.options +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/09_html/parse_as_span.text +9 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/09_html/parse_block_html.html +21 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/09_html/parse_block_html.options +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/09_html/parse_block_html.text +17 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/09_html/processing_instruction.html +13 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/09_html/processing_instruction.text +12 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/09_html/simple.html +60 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/09_html/simple.html.19 +60 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/09_html/simple.options +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/09_html/simple.text +55 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/09_html/textarea.html +8 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/09_html/textarea.text +8 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/09_html/xml.html +8 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/09_html/xml.text +7 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/10_ald/simple.html +2 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/10_ald/simple.text +8 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/11_ial/auto_id_and_ial.html +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/11_ial/auto_id_and_ial.options +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/11_ial/auto_id_and_ial.text +2 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/11_ial/nested.html +11 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/11_ial/nested.text +15 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/11_ial/simple.html +29 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/11_ial/simple.text +41 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/12_extension/comment.html +8 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/12_extension/comment.text +12 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/12_extension/ignored.html +8 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/12_extension/ignored.text +8 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/12_extension/nomarkdown.html +10 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/12_extension/nomarkdown.kramdown +20 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/12_extension/nomarkdown.latex +13 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/12_extension/nomarkdown.text +21 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/12_extension/options.html +21 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/12_extension/options.text +21 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/12_extension/options2.html +10 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/12_extension/options2.text +5 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/12_extension/options3.html +7 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/12_extension/options3.text +7 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/13_definition_list/auto_ids.html +15 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/13_definition_list/auto_ids.text +18 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/13_definition_list/definition_at_beginning.html +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/13_definition_list/definition_at_beginning.text +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/13_definition_list/deflist_ial.html +4 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/13_definition_list/deflist_ial.text +4 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/13_definition_list/item_ial.html +17 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/13_definition_list/item_ial.text +16 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/13_definition_list/multiple_terms.html +13 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/13_definition_list/multiple_terms.text +10 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/13_definition_list/no_def_list.html +2 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/13_definition_list/no_def_list.text +2 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/13_definition_list/para_wrapping.html +10 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/13_definition_list/para_wrapping.text +6 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/13_definition_list/separated_by_eob.html +8 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/13_definition_list/separated_by_eob.text +5 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/13_definition_list/simple.html +10 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/13_definition_list/simple.text +10 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/13_definition_list/styled_terms.html +4 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/13_definition_list/styled_terms.text +2 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/13_definition_list/too_much_space.html +3 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/13_definition_list/too_much_space.text +4 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/13_definition_list/with_blocks.html +38 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/13_definition_list/with_blocks.text +24 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/14_table/errors.html +12 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/14_table/errors.text +13 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/14_table/escaping.html +52 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/14_table/escaping.text +19 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/14_table/footer.html +65 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/14_table/footer.text +25 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/14_table/header.html +96 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/14_table/header.text +32 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/14_table/no_table.html +3 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/14_table/no_table.text +3 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/14_table/simple.html +177 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/14_table/simple.html.19 +177 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/14_table/simple.text +49 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/14_table/table_with_footnote.html +25 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/14_table/table_with_footnote.latex +11 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/14_table/table_with_footnote.text +6 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/15_math/gh_128.html +2 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/15_math/gh_128.text +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/15_math/itex2mml.html +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/15_math/itex2mml.options +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/15_math/itex2mml.text +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/15_math/mathjax_preview.html +4 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/15_math/mathjax_preview.options +2 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/15_math/mathjax_preview.text +5 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/15_math/mathjax_preview_simple.html +4 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/15_math/mathjax_preview_simple.options +2 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/15_math/mathjax_preview_simple.text +5 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/15_math/mathjaxnode.html.19 +27 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/15_math/mathjaxnode.options +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/15_math/mathjaxnode.text +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/15_math/mathjaxnode_notexhints.html.19 +23 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/15_math/mathjaxnode_notexhints.options +3 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/15_math/mathjaxnode_notexhints.text +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/15_math/mathjaxnode_semantics.html.19 +32 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/15_math/mathjaxnode_semantics.options +3 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/15_math/mathjaxnode_semantics.text +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/15_math/no_engine.html +3 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/15_math/no_engine.options +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/15_math/no_engine.text +2 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/15_math/normal.html +29 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/15_math/normal.text +30 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/15_math/ritex.html +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/15_math/ritex.options +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/15_math/ritex.text +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/16_toc/no_toc.html +14 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/16_toc/no_toc.text +16 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/16_toc/toc_exclude.html +35 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/16_toc/toc_exclude.options +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/16_toc/toc_exclude.text +19 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/16_toc/toc_levels.html +24 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/16_toc/toc_levels.options +2 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/16_toc/toc_levels.text +16 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/16_toc/toc_with_footnotes.html +13 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/16_toc/toc_with_footnotes.options +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/block/16_toc/toc_with_footnotes.text +6 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/encoding.html +46 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/encoding.text +28 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/01_link/empty.html +5 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/01_link/empty.text +5 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/01_link/empty_title.htmlinput +3 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/01_link/empty_title.text +7 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/01_link/image_in_a.html +5 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/01_link/image_in_a.text +5 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/01_link/imagelinks.html +15 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/01_link/imagelinks.text +18 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/01_link/inline.html +46 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/01_link/inline.html.19 +46 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/01_link/inline.text +48 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/01_link/link_defs.html +9 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/01_link/link_defs.text +27 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/01_link/link_defs_with_ial.html +4 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/01_link/link_defs_with_ial.text +16 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/01_link/links_with_angle_brackets.html +3 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/01_link/links_with_angle_brackets.text +3 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/01_link/reference.html +37 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/01_link/reference.html.19 +37 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/01_link/reference.options +3 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/01_link/reference.text +53 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/02_emphasis/empty.html +3 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/02_emphasis/empty.text +3 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/02_emphasis/errors.html +9 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/02_emphasis/errors.text +9 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/02_emphasis/nesting.html +41 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/02_emphasis/nesting.text +36 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/02_emphasis/normal.html +61 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/02_emphasis/normal.options +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/02_emphasis/normal.text +59 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/03_codespan/empty.html +5 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/03_codespan/empty.text +5 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/03_codespan/errors.html +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/03_codespan/errors.text +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/03_codespan/highlighting-minted.latex +2 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/03_codespan/highlighting-minted.options +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/03_codespan/highlighting-minted.text +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/03_codespan/highlighting.html +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/03_codespan/highlighting.text +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/03_codespan/normal.html +16 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/03_codespan/normal.text +16 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/03_codespan/rouge/disabled.html +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/03_codespan/rouge/disabled.options +4 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/03_codespan/rouge/disabled.text +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/03_codespan/rouge/simple.html +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/03_codespan/rouge/simple.options +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/03_codespan/rouge/simple.text +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/04_footnote/backlink_text.html +9 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/04_footnote/backlink_text.options +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/04_footnote/backlink_text.text +3 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/04_footnote/definitions.html +17 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/04_footnote/definitions.latex +17 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/04_footnote/definitions.text +24 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/04_footnote/footnote_nr.html +12 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/04_footnote/footnote_nr.latex +2 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/04_footnote/footnote_nr.options +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/04_footnote/footnote_nr.text +4 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/04_footnote/inside_footnote.html +17 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/04_footnote/inside_footnote.text +9 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/04_footnote/markers.html +46 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/04_footnote/markers.latex +23 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/04_footnote/markers.text +27 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/04_footnote/placement.html +11 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/04_footnote/placement.text +8 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/04_footnote/regexp_problem.html +14 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/04_footnote/regexp_problem.text +52 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/04_footnote/without_backlink.html +9 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/04_footnote/without_backlink.options +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/04_footnote/without_backlink.text +3 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/05_html/across_lines.html +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/05_html/across_lines.text +2 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/05_html/button.html +7 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/05_html/button.text +7 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/05_html/invalid.html +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/05_html/invalid.text +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/05_html/link_with_mailto.html +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/05_html/link_with_mailto.text +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/05_html/mark_element.html +3 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/05_html/mark_element.text +3 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/05_html/markdown_attr.html +6 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/05_html/markdown_attr.text +6 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/05_html/normal.html +43 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/05_html/normal.text +43 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/05_html/raw_span_elements.html +2 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/05_html/raw_span_elements.text +2 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/05_html/xml.html +5 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/05_html/xml.text +5 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/abbreviations/abbrev.html +21 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/abbreviations/abbrev.text +34 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/abbreviations/abbrev_defs.html +2 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/abbreviations/abbrev_defs.text +5 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/autolinks/url_links.html +15 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/autolinks/url_links.text +16 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/escaped_chars/normal.html +47 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/escaped_chars/normal.text +47 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/extension/comment.html +6 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/extension/comment.text +6 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/extension/ignored.html +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/extension/ignored.text +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/extension/nomarkdown.html +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/extension/nomarkdown.text +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/extension/options.html +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/extension/options.text +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/ial/simple.html +6 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/ial/simple.text +6 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/line_breaks/normal.html +11 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/line_breaks/normal.latex +12 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/line_breaks/normal.text +11 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/math/itex2mml.html +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/math/itex2mml.options +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/math/itex2mml.text +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/math/mathjaxnode.html.19 +27 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/math/mathjaxnode.options +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/math/mathjaxnode.text +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/math/no_engine.html +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/math/no_engine.options +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/math/no_engine.text +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/math/normal.html +10 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/math/normal.text +10 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/math/ritex.html +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/math/ritex.options +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/math/ritex.text +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/text_substitutions/entities.html +6 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/text_substitutions/entities.options +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/text_substitutions/entities.text +6 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/text_substitutions/entities_as_char.html +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/text_substitutions/entities_as_char.html.19 +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/text_substitutions/entities_as_char.options +2 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/text_substitutions/entities_as_char.text +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/text_substitutions/entities_as_input.html +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/text_substitutions/entities_as_input.options +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/text_substitutions/entities_as_input.text +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/text_substitutions/entities_numeric.html +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/text_substitutions/entities_numeric.options +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/text_substitutions/entities_numeric.text +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/text_substitutions/entities_symbolic.html +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/text_substitutions/entities_symbolic.options +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/text_substitutions/entities_symbolic.text +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/text_substitutions/greaterthan.html +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/text_substitutions/greaterthan.text +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/text_substitutions/lowerthan.html +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/text_substitutions/lowerthan.text +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/text_substitutions/typography.html +38 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/text_substitutions/typography.options +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases/span/text_substitutions/typography.text +38 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases_gfm/atx_header.html +3 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases_gfm/atx_header.text +3 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases_gfm/backticks_disable_highlighting.html +2 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases_gfm/backticks_disable_highlighting.options +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases_gfm/backticks_disable_highlighting.text +3 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases_gfm/backticks_syntax.html +20 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases_gfm/backticks_syntax.text +19 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases_gfm/hard_line_breaks.html +3 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases_gfm/hard_line_breaks.text +3 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases_gfm/hard_line_breaks_off.html +2 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases_gfm/hard_line_breaks_off.options +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases_gfm/hard_line_breaks_off.text +2 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases_gfm/paragraph_end-disabled.html +31 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases_gfm/paragraph_end-disabled.options +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases_gfm/paragraph_end-disabled.text +27 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases_gfm/paragraph_end.html +38 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases_gfm/paragraph_end.text +27 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases_gfm/strikethrough.html +27 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases_gfm/strikethrough.html.19 +27 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases_gfm/strikethrough.text +27 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases_gfm/two_para_hard_line_breaks.html +4 -0
- data/vendor/bundle/jruby/2.3.0/gems/kramdown-1.12.0/test/testcases_gfm/two_para_hard_line_breaks.text +4 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/lib/jars.rb +7 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/lib/logstash-core.rb +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/lib/logstash-core/logstash-core.rb +3 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/lib/logstash-core/version.rb +8 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/lib/logstash/agent.rb +282 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/lib/logstash/api/app_helpers.rb +38 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/lib/logstash/api/command_factory.rb +38 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/lib/logstash/api/commands/base.rb +27 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/lib/logstash/api/commands/default_metadata.rb +27 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/lib/logstash/api/commands/hot_threads_reporter.rb +58 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/lib/logstash/api/commands/node.rb +63 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/lib/logstash/api/commands/stats.rb +101 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/lib/logstash/api/commands/system/basicinfo_command.rb +20 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/lib/logstash/api/commands/system/plugins_command.rb +35 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/lib/logstash/api/modules/base.rb +45 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/lib/logstash/api/modules/node.rb +32 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/lib/logstash/api/modules/node_stats.rb +44 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/lib/logstash/api/modules/plugins.rb +15 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/lib/logstash/api/modules/root.rb +15 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/lib/logstash/api/modules/stats.rb +43 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/lib/logstash/api/rack_app.rb +111 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/lib/logstash/api/service.rb +34 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/lib/logstash/build.rb +6 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/lib/logstash/codecs/base.rb +83 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/lib/logstash/config/config_ast.rb +563 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/lib/logstash/config/cpu_core_strategy.rb +32 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/lib/logstash/config/defaults.rb +20 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/lib/logstash/config/file.rb +38 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/lib/logstash/config/grammar.rb +3503 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/lib/logstash/config/loader.rb +95 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/lib/logstash/config/mixin.rb +600 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/lib/logstash/config/registry.rb +13 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/lib/logstash/environment.rb +139 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/lib/logstash/errors.rb +12 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/lib/logstash/filter_delegator.rb +67 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/lib/logstash/filters/base.rb +210 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/lib/logstash/inputs/base.rb +122 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/lib/logstash/inputs/metrics.rb +47 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/lib/logstash/inputs/threadable.rb +18 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/lib/logstash/instrument/collector.rb +108 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/lib/logstash/instrument/metric.rb +103 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/lib/logstash/instrument/metric_store.rb +298 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/lib/logstash/instrument/metric_type.rb +24 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/lib/logstash/instrument/metric_type/base.rb +32 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/lib/logstash/instrument/metric_type/counter.rb +29 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/lib/logstash/instrument/metric_type/gauge.rb +22 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/lib/logstash/instrument/metric_type/mean.rb +33 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/lib/logstash/instrument/namespaced_metric.rb +54 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/lib/logstash/instrument/null_metric.rb +51 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/lib/logstash/instrument/periodic_poller/base.rb +59 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/lib/logstash/instrument/periodic_poller/jvm.rb +170 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/lib/logstash/instrument/periodic_poller/os.rb +13 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/lib/logstash/instrument/periodic_poller/periodic_poller_observer.rb +19 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/lib/logstash/instrument/periodic_pollers.rb +26 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/lib/logstash/instrument/snapshot.rb +16 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/lib/logstash/java_integration.rb +117 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/lib/logstash/json.rb +60 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/lib/logstash/logging.rb +3 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/lib/logstash/logging/json.rb +21 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/lib/logstash/logging/logger.rb +72 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/lib/logstash/namespace.rb +14 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/lib/logstash/output_delegator.rb +49 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/lib/logstash/output_delegator_strategies/legacy.rb +30 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/lib/logstash/output_delegator_strategies/shared.rb +21 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/lib/logstash/output_delegator_strategies/single.rb +24 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/lib/logstash/output_delegator_strategy_registry.rb +36 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/lib/logstash/outputs/base.rb +113 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/lib/logstash/patches.rb +5 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/lib/logstash/patches/bugfix_jruby_2558.rb +51 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/lib/logstash/patches/cabin.rb +35 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/lib/logstash/patches/clamp.rb +96 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/lib/logstash/patches/profile_require_calls.rb +47 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/lib/logstash/patches/rubygems.rb +38 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/lib/logstash/patches/stronger_openssl_defaults.rb +68 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/lib/logstash/pipeline.rb +539 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/lib/logstash/pipeline_reporter.rb +109 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/lib/logstash/plugin.rb +163 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/lib/logstash/plugins/registry.rb +85 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/lib/logstash/program.rb +14 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/lib/logstash/runner.rb +400 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/lib/logstash/settings.rb +380 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/lib/logstash/shutdown_watcher.rb +94 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/lib/logstash/util.rb +212 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/lib/logstash/util/buftok.rb +139 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/lib/logstash/util/charset.rb +35 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/lib/logstash/util/decorators.rb +51 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/lib/logstash/util/duration_formatter.rb +15 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/lib/logstash/util/filetools.rb +186 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/lib/logstash/util/java_version.rb +50 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/lib/logstash/util/loggable.rb +19 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/lib/logstash/util/password.rb +25 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/lib/logstash/util/plugin_version.rb +56 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/lib/logstash/util/prctl.rb +10 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/lib/logstash/util/retryable.rb +40 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/lib/logstash/util/safe_uri.rb +50 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/lib/logstash/util/socket_peer.rb +7 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/lib/logstash/util/thread_dump.rb +55 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/lib/logstash/util/unicode_trimmer.rb +81 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/lib/logstash/util/worker_threads_default_printer.rb +29 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/lib/logstash/util/wrapped_synchronous_queue.rb +277 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/lib/logstash/version.rb +14 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/lib/logstash/webserver.rb +84 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/locales/en.yml +265 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/logstash-core.gemspec +63 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/spec/api/lib/api/node_plugins_spec.rb +32 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/spec/api/lib/api/node_spec.rb +149 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/spec/api/lib/api/node_stats_spec.rb +83 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/spec/api/lib/api/plugins_spec.rb +51 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/spec/api/lib/api/root_spec.rb +15 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/spec/api/lib/api/support/resource_dsl_methods.rb +79 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/spec/api/lib/commands/stats.rb +47 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/spec/api/lib/rack_app_spec.rb +90 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/spec/api/spec_helper.rb +108 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/spec/conditionals_spec.rb +440 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/spec/logstash/agent_spec.rb +422 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/spec/logstash/codecs/base_spec.rb +74 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/spec/logstash/config/config_ast_spec.rb +224 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/spec/logstash/config/cpu_core_strategy_spec.rb +123 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/spec/logstash/config/defaults_spec.rb +10 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/spec/logstash/config/loader_spec.rb +38 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/spec/logstash/config/mixin_spec.rb +421 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/spec/logstash/environment_spec.rb +56 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/spec/logstash/filter_delegator_spec.rb +158 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/spec/logstash/filters/base_spec.rb +251 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/spec/logstash/inputs/base_spec.rb +74 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/spec/logstash/inputs/metrics_spec.rb +51 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/spec/logstash/instrument/collector_spec.rb +49 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/spec/logstash/instrument/metric_spec.rb +110 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/spec/logstash/instrument/metric_store_spec.rb +224 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/spec/logstash/instrument/metric_type/counter_spec.rb +35 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/spec/logstash/instrument/metric_type/gauge_spec.rb +37 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/spec/logstash/instrument/namespaced_metric_spec.rb +91 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/spec/logstash/instrument/null_metric_spec.rb +19 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/spec/logstash/instrument/periodic_poller/jvm_spec.rb +75 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/spec/logstash/java_integration_spec.rb +304 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/spec/logstash/json_spec.rb +125 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/spec/logstash/output_delegator_spec.rb +139 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/spec/logstash/outputs/base_spec.rb +115 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/spec/logstash/patches_spec.rb +90 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/spec/logstash/pipeline_reporter_spec.rb +85 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/spec/logstash/pipeline_spec.rb +674 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/spec/logstash/plugin_spec.rb +347 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/spec/logstash/plugins/registry_spec.rb +57 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/spec/logstash/runner_spec.rb +368 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/spec/logstash/setting_spec.rb +130 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/spec/logstash/settings/integer_spec.rb +20 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/spec/logstash/settings/numeric_spec.rb +28 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/spec/logstash/settings/port_range_spec.rb +93 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/spec/logstash/settings/string_spec.rb +21 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/spec/logstash/settings_spec.rb +62 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/spec/logstash/shutdown_watcher_spec.rb +113 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/spec/logstash/util/buftok_spec.rb +31 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/spec/logstash/util/charset_spec.rb +74 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/spec/logstash/util/duration_formatter_spec.rb +11 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/spec/logstash/util/java_version_spec.rb +87 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/spec/logstash/util/plugin_version_spec.rb +64 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/spec/logstash/util/unicode_trimmer_spec.rb +55 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/spec/logstash/util/wrapped_synchronous_queue_spec.rb +82 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/spec/logstash/util_spec.rb +63 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/spec/logstash/webserver_spec.rb +95 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/spec/static/i18n_spec.rb +25 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/spec/support/matchers.rb +30 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/spec/support/mocks_classes.rb +27 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/spec/support/shared_examples.rb +98 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/vendor/jars/com/fasterxml/jackson/core/jackson-core/2.7.4/jackson-core-2.7.4.jar +0 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/vendor/jars/com/fasterxml/jackson/core/jackson-databind/2.7.4/jackson-databind-2.7.4.jar +0 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/vendor/jars/org/apache/logging/log4j/log4j-1.2-api/2.6.2/log4j-1.2-api-2.6.2.jar +0 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/vendor/jars/org/apache/logging/log4j/log4j-api/2.6.2/log4j-api-2.6.2.jar +0 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/vendor/jars/org/apache/logging/log4j/log4j-core/2.6.2/log4j-core-2.6.2.jar +0 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-5.0.0.alpha6.snapshot5-java/vendor/jars/org/logstash/logstash-core/5.0.0-alpha6/logstash-core-5.0.0-alpha6.jar +0 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-event-java-5.0.0.alpha6.snapshot5-java/lib/com/fasterxml/jackson/core/jackson-annotations/2.7.0/jackson-annotations-2.7.0.jar +0 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-event-java-5.0.0.alpha6.snapshot5-java/lib/com/fasterxml/jackson/core/jackson-core/2.7.1/jackson-core-2.7.1.jar +0 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-event-java-5.0.0.alpha6.snapshot5-java/lib/com/fasterxml/jackson/core/jackson-core/2.7.3/jackson-core-2.7.3.jar +0 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-event-java-5.0.0.alpha6.snapshot5-java/lib/com/fasterxml/jackson/core/jackson-databind/2.7.1-1/jackson-databind-2.7.1-1.jar +0 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-event-java-5.0.0.alpha6.snapshot5-java/lib/com/fasterxml/jackson/core/jackson-databind/2.7.3/jackson-databind-2.7.3.jar +0 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-event-java-5.0.0.alpha6.snapshot5-java/lib/logstash-core-event-java.rb +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-event-java-5.0.0.alpha6.snapshot5-java/lib/logstash-core-event-java/logstash-core-event-java.jar +0 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-event-java-5.0.0.alpha6.snapshot5-java/lib/logstash-core-event-java/logstash-core-event-java.rb +28 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-event-java-5.0.0.alpha6.snapshot5-java/lib/logstash-core-event-java/version.rb +8 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-event-java-5.0.0.alpha6.snapshot5-java/lib/logstash-core-event-java_jars.rb +14 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-event-java-5.0.0.alpha6.snapshot5-java/lib/logstash-core-event.rb +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-event-java-5.0.0.alpha6.snapshot5-java/lib/logstash/event.rb +37 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-event-java-5.0.0.alpha6.snapshot5-java/lib/logstash/string_interpolation.rb +18 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-event-java-5.0.0.alpha6.snapshot5-java/lib/logstash/timestamp.rb +28 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-event-java-5.0.0.alpha6.snapshot5-java/logstash-core-event-java.gemspec +31 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-event-java-5.0.0.alpha6.snapshot5-java/spec/event_spec.rb +310 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-event-java-5.0.0.alpha6.snapshot5-java/spec/timestamp_spec.rb +29 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-plugin-api-2.1.15-java/lib/logstash-core-plugin-api/version.rb +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-core-plugin-api-2.1.15-java/logstash-core-plugin-api.gemspec +29 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-devutils-1.0.2-java/Gemfile +2 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-devutils-1.0.2-java/LICENSE +202 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-devutils-1.0.2-java/lib/logstash/devutils/rake.rb +3 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-devutils-1.0.2-java/lib/logstash/devutils/rake/publish.rake +30 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-devutils-1.0.2-java/lib/logstash/devutils/rake/vendor.rake +176 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-devutils-1.0.2-java/lib/logstash/devutils/rspec/logstash_helpers.rb +112 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-devutils-1.0.2-java/lib/logstash/devutils/rspec/shared_examples.rb +21 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-devutils-1.0.2-java/lib/logstash/devutils/rspec/spec_helper.rb +58 -0
- data/vendor/bundle/jruby/2.3.0/gems/logstash-devutils-1.0.2-java/logstash-devutils.gemspec +47 -0
- data/vendor/bundle/jruby/2.3.0/gems/method_source-0.8.2/Gemfile +2 -0
- data/vendor/bundle/jruby/2.3.0/gems/method_source-0.8.2/LICENSE +25 -0
- data/vendor/bundle/jruby/2.3.0/gems/method_source-0.8.2/README.markdown +91 -0
- data/vendor/bundle/jruby/2.3.0/gems/method_source-0.8.2/Rakefile +79 -0
- data/vendor/bundle/jruby/2.3.0/gems/method_source-0.8.2/lib/method_source.rb +141 -0
- data/vendor/bundle/jruby/2.3.0/gems/method_source-0.8.2/lib/method_source/code_helpers.rb +154 -0
- data/vendor/bundle/jruby/2.3.0/gems/method_source-0.8.2/lib/method_source/source_location.rb +138 -0
- data/vendor/bundle/jruby/2.3.0/gems/method_source-0.8.2/lib/method_source/version.rb +3 -0
- data/vendor/bundle/jruby/2.3.0/gems/method_source-0.8.2/method_source.gemspec +33 -0
- data/vendor/bundle/jruby/2.3.0/gems/method_source-0.8.2/test/test.rb +138 -0
- data/vendor/bundle/jruby/2.3.0/gems/method_source-0.8.2/test/test_code_helpers.rb +41 -0
- data/vendor/bundle/jruby/2.3.0/gems/method_source-0.8.2/test/test_helper.rb +98 -0
- data/vendor/bundle/jruby/2.3.0/gems/minitar-0.5.4/ChangeLog +17 -0
- data/vendor/bundle/jruby/2.3.0/gems/minitar-0.5.4/Install +6 -0
- data/vendor/bundle/jruby/2.3.0/gems/minitar-0.5.4/README +68 -0
- data/vendor/bundle/jruby/2.3.0/gems/minitar-0.5.4/Rakefile +113 -0
- data/vendor/bundle/jruby/2.3.0/gems/minitar-0.5.4/bin/minitar +27 -0
- data/vendor/bundle/jruby/2.3.0/gems/minitar-0.5.4/lib/archive/tar/minitar.rb +985 -0
- data/vendor/bundle/jruby/2.3.0/gems/minitar-0.5.4/lib/archive/tar/minitar/command.rb +814 -0
- data/vendor/bundle/jruby/2.3.0/gems/minitar-0.5.4/tests/tc_tar.rb +629 -0
- data/vendor/bundle/jruby/2.3.0/gems/minitar-0.5.4/tests/testall.rb +10 -0
- data/vendor/bundle/jruby/2.3.0/gems/numerizer-0.1.1/LICENSE +20 -0
- data/vendor/bundle/jruby/2.3.0/gems/numerizer-0.1.1/README.rdoc +24 -0
- data/vendor/bundle/jruby/2.3.0/gems/numerizer-0.1.1/Rakefile +56 -0
- data/vendor/bundle/jruby/2.3.0/gems/numerizer-0.1.1/VERSION +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/numerizer-0.1.1/lib/numerizer.rb +133 -0
- data/vendor/bundle/jruby/2.3.0/gems/numerizer-0.1.1/numerizer.gemspec +50 -0
- data/vendor/bundle/jruby/2.3.0/gems/numerizer-0.1.1/test/test_helper.rb +9 -0
- data/vendor/bundle/jruby/2.3.0/gems/numerizer-0.1.1/test/test_numerizer.rb +92 -0
- data/vendor/bundle/jruby/2.3.0/gems/polyglot-0.3.5/History.txt +72 -0
- data/vendor/bundle/jruby/2.3.0/gems/polyglot-0.3.5/License.txt +20 -0
- data/vendor/bundle/jruby/2.3.0/gems/polyglot-0.3.5/README.txt +87 -0
- data/vendor/bundle/jruby/2.3.0/gems/polyglot-0.3.5/Rakefile +42 -0
- data/vendor/bundle/jruby/2.3.0/gems/polyglot-0.3.5/lib/polyglot.rb +76 -0
- data/vendor/bundle/jruby/2.3.0/gems/polyglot-0.3.5/lib/polyglot/version.rb +9 -0
- data/vendor/bundle/jruby/2.3.0/gems/pry-0.10.4-java/CHANGELOG.md +718 -0
- data/vendor/bundle/jruby/2.3.0/gems/pry-0.10.4-java/LICENSE +25 -0
- data/vendor/bundle/jruby/2.3.0/gems/pry-0.10.4-java/README.md +406 -0
- data/vendor/bundle/jruby/2.3.0/gems/pry-0.10.4-java/bin/pry +16 -0
- data/vendor/bundle/jruby/2.3.0/gems/pry-0.10.4-java/lib/pry.rb +161 -0
- data/vendor/bundle/jruby/2.3.0/gems/pry-0.10.4-java/lib/pry/cli.rb +220 -0
- data/vendor/bundle/jruby/2.3.0/gems/pry-0.10.4-java/lib/pry/code.rb +348 -0
- data/vendor/bundle/jruby/2.3.0/gems/pry-0.10.4-java/lib/pry/code/code_file.rb +103 -0
- data/vendor/bundle/jruby/2.3.0/gems/pry-0.10.4-java/lib/pry/code/code_range.rb +71 -0
- data/vendor/bundle/jruby/2.3.0/gems/pry-0.10.4-java/lib/pry/code/loc.rb +92 -0
- data/vendor/bundle/jruby/2.3.0/gems/pry-0.10.4-java/lib/pry/code_object.rb +172 -0
- data/vendor/bundle/jruby/2.3.0/gems/pry-0.10.4-java/lib/pry/color_printer.rb +55 -0
- data/vendor/bundle/jruby/2.3.0/gems/pry-0.10.4-java/lib/pry/command.rb +692 -0
- data/vendor/bundle/jruby/2.3.0/gems/pry-0.10.4-java/lib/pry/command_set.rb +443 -0
- data/vendor/bundle/jruby/2.3.0/gems/pry-0.10.4-java/lib/pry/commands.rb +6 -0
- data/vendor/bundle/jruby/2.3.0/gems/pry-0.10.4-java/lib/pry/commands/amend_line.rb +99 -0
- data/vendor/bundle/jruby/2.3.0/gems/pry-0.10.4-java/lib/pry/commands/bang.rb +20 -0
- data/vendor/bundle/jruby/2.3.0/gems/pry-0.10.4-java/lib/pry/commands/bang_pry.rb +17 -0
- data/vendor/bundle/jruby/2.3.0/gems/pry-0.10.4-java/lib/pry/commands/cat.rb +62 -0
- data/vendor/bundle/jruby/2.3.0/gems/pry-0.10.4-java/lib/pry/commands/cat/abstract_formatter.rb +27 -0
- data/vendor/bundle/jruby/2.3.0/gems/pry-0.10.4-java/lib/pry/commands/cat/exception_formatter.rb +77 -0
- data/vendor/bundle/jruby/2.3.0/gems/pry-0.10.4-java/lib/pry/commands/cat/file_formatter.rb +67 -0
- data/vendor/bundle/jruby/2.3.0/gems/pry-0.10.4-java/lib/pry/commands/cat/input_expression_formatter.rb +43 -0
- data/vendor/bundle/jruby/2.3.0/gems/pry-0.10.4-java/lib/pry/commands/cd.rb +41 -0
- data/vendor/bundle/jruby/2.3.0/gems/pry-0.10.4-java/lib/pry/commands/change_inspector.rb +27 -0
- data/vendor/bundle/jruby/2.3.0/gems/pry-0.10.4-java/lib/pry/commands/change_prompt.rb +26 -0
- data/vendor/bundle/jruby/2.3.0/gems/pry-0.10.4-java/lib/pry/commands/code_collector.rb +165 -0
- data/vendor/bundle/jruby/2.3.0/gems/pry-0.10.4-java/lib/pry/commands/disable_pry.rb +27 -0
- data/vendor/bundle/jruby/2.3.0/gems/pry-0.10.4-java/lib/pry/commands/disabled_commands.rb +2 -0
- data/vendor/bundle/jruby/2.3.0/gems/pry-0.10.4-java/lib/pry/commands/easter_eggs.rb +112 -0
- data/vendor/bundle/jruby/2.3.0/gems/pry-0.10.4-java/lib/pry/commands/edit.rb +195 -0
- data/vendor/bundle/jruby/2.3.0/gems/pry-0.10.4-java/lib/pry/commands/edit/exception_patcher.rb +25 -0
- data/vendor/bundle/jruby/2.3.0/gems/pry-0.10.4-java/lib/pry/commands/edit/file_and_line_locator.rb +36 -0
- data/vendor/bundle/jruby/2.3.0/gems/pry-0.10.4-java/lib/pry/commands/exit.rb +42 -0
- data/vendor/bundle/jruby/2.3.0/gems/pry-0.10.4-java/lib/pry/commands/exit_all.rb +29 -0
- data/vendor/bundle/jruby/2.3.0/gems/pry-0.10.4-java/lib/pry/commands/exit_program.rb +23 -0
- data/vendor/bundle/jruby/2.3.0/gems/pry-0.10.4-java/lib/pry/commands/find_method.rb +193 -0
- data/vendor/bundle/jruby/2.3.0/gems/pry-0.10.4-java/lib/pry/commands/fix_indent.rb +19 -0
- data/vendor/bundle/jruby/2.3.0/gems/pry-0.10.4-java/lib/pry/commands/gem_cd.rb +26 -0
- data/vendor/bundle/jruby/2.3.0/gems/pry-0.10.4-java/lib/pry/commands/gem_install.rb +32 -0
- data/vendor/bundle/jruby/2.3.0/gems/pry-0.10.4-java/lib/pry/commands/gem_list.rb +33 -0
- data/vendor/bundle/jruby/2.3.0/gems/pry-0.10.4-java/lib/pry/commands/gem_open.rb +29 -0
- data/vendor/bundle/jruby/2.3.0/gems/pry-0.10.4-java/lib/pry/commands/gist.rb +101 -0
- data/vendor/bundle/jruby/2.3.0/gems/pry-0.10.4-java/lib/pry/commands/help.rb +164 -0
- data/vendor/bundle/jruby/2.3.0/gems/pry-0.10.4-java/lib/pry/commands/hist.rb +180 -0
- data/vendor/bundle/jruby/2.3.0/gems/pry-0.10.4-java/lib/pry/commands/import_set.rb +22 -0
- data/vendor/bundle/jruby/2.3.0/gems/pry-0.10.4-java/lib/pry/commands/install_command.rb +53 -0
- data/vendor/bundle/jruby/2.3.0/gems/pry-0.10.4-java/lib/pry/commands/jump_to.rb +29 -0
- data/vendor/bundle/jruby/2.3.0/gems/pry-0.10.4-java/lib/pry/commands/list_inspectors.rb +35 -0
- data/vendor/bundle/jruby/2.3.0/gems/pry-0.10.4-java/lib/pry/commands/list_prompts.rb +35 -0
- data/vendor/bundle/jruby/2.3.0/gems/pry-0.10.4-java/lib/pry/commands/ls.rb +114 -0
- data/vendor/bundle/jruby/2.3.0/gems/pry-0.10.4-java/lib/pry/commands/ls/constants.rb +47 -0
- data/vendor/bundle/jruby/2.3.0/gems/pry-0.10.4-java/lib/pry/commands/ls/formatter.rb +49 -0
- data/vendor/bundle/jruby/2.3.0/gems/pry-0.10.4-java/lib/pry/commands/ls/globals.rb +48 -0
- data/vendor/bundle/jruby/2.3.0/gems/pry-0.10.4-java/lib/pry/commands/ls/grep.rb +21 -0
- data/vendor/bundle/jruby/2.3.0/gems/pry-0.10.4-java/lib/pry/commands/ls/instance_vars.rb +39 -0
- data/vendor/bundle/jruby/2.3.0/gems/pry-0.10.4-java/lib/pry/commands/ls/interrogatable.rb +18 -0
- data/vendor/bundle/jruby/2.3.0/gems/pry-0.10.4-java/lib/pry/commands/ls/jruby_hacks.rb +49 -0
- data/vendor/bundle/jruby/2.3.0/gems/pry-0.10.4-java/lib/pry/commands/ls/local_names.rb +35 -0
- data/vendor/bundle/jruby/2.3.0/gems/pry-0.10.4-java/lib/pry/commands/ls/local_vars.rb +39 -0
- data/vendor/bundle/jruby/2.3.0/gems/pry-0.10.4-java/lib/pry/commands/ls/ls_entity.rb +70 -0
- data/vendor/bundle/jruby/2.3.0/gems/pry-0.10.4-java/lib/pry/commands/ls/methods.rb +57 -0
- data/vendor/bundle/jruby/2.3.0/gems/pry-0.10.4-java/lib/pry/commands/ls/methods_helper.rb +46 -0
- data/vendor/bundle/jruby/2.3.0/gems/pry-0.10.4-java/lib/pry/commands/ls/self_methods.rb +32 -0
- data/vendor/bundle/jruby/2.3.0/gems/pry-0.10.4-java/lib/pry/commands/nesting.rb +25 -0
- data/vendor/bundle/jruby/2.3.0/gems/pry-0.10.4-java/lib/pry/commands/play.rb +103 -0
- data/vendor/bundle/jruby/2.3.0/gems/pry-0.10.4-java/lib/pry/commands/pry_backtrace.rb +25 -0
- data/vendor/bundle/jruby/2.3.0/gems/pry-0.10.4-java/lib/pry/commands/pry_version.rb +17 -0
- data/vendor/bundle/jruby/2.3.0/gems/pry-0.10.4-java/lib/pry/commands/raise_up.rb +32 -0
- data/vendor/bundle/jruby/2.3.0/gems/pry-0.10.4-java/lib/pry/commands/reload_code.rb +62 -0
- data/vendor/bundle/jruby/2.3.0/gems/pry-0.10.4-java/lib/pry/commands/reset.rb +18 -0
- data/vendor/bundle/jruby/2.3.0/gems/pry-0.10.4-java/lib/pry/commands/ri.rb +60 -0
- data/vendor/bundle/jruby/2.3.0/gems/pry-0.10.4-java/lib/pry/commands/save_file.rb +61 -0
- data/vendor/bundle/jruby/2.3.0/gems/pry-0.10.4-java/lib/pry/commands/shell_command.rb +48 -0
- data/vendor/bundle/jruby/2.3.0/gems/pry-0.10.4-java/lib/pry/commands/shell_mode.rb +25 -0
- data/vendor/bundle/jruby/2.3.0/gems/pry-0.10.4-java/lib/pry/commands/show_doc.rb +83 -0
- data/vendor/bundle/jruby/2.3.0/gems/pry-0.10.4-java/lib/pry/commands/show_info.rb +201 -0
- data/vendor/bundle/jruby/2.3.0/gems/pry-0.10.4-java/lib/pry/commands/show_input.rb +17 -0
- data/vendor/bundle/jruby/2.3.0/gems/pry-0.10.4-java/lib/pry/commands/show_source.rb +50 -0
- data/vendor/bundle/jruby/2.3.0/gems/pry-0.10.4-java/lib/pry/commands/simple_prompt.rb +22 -0
- data/vendor/bundle/jruby/2.3.0/gems/pry-0.10.4-java/lib/pry/commands/stat.rb +40 -0
- data/vendor/bundle/jruby/2.3.0/gems/pry-0.10.4-java/lib/pry/commands/switch_to.rb +23 -0
- data/vendor/bundle/jruby/2.3.0/gems/pry-0.10.4-java/lib/pry/commands/toggle_color.rb +24 -0
- data/vendor/bundle/jruby/2.3.0/gems/pry-0.10.4-java/lib/pry/commands/watch_expression.rb +105 -0
- data/vendor/bundle/jruby/2.3.0/gems/pry-0.10.4-java/lib/pry/commands/watch_expression/expression.rb +38 -0
- data/vendor/bundle/jruby/2.3.0/gems/pry-0.10.4-java/lib/pry/commands/whereami.rb +196 -0
- data/vendor/bundle/jruby/2.3.0/gems/pry-0.10.4-java/lib/pry/commands/wtf.rb +57 -0
- data/vendor/bundle/jruby/2.3.0/gems/pry-0.10.4-java/lib/pry/config.rb +24 -0
- data/vendor/bundle/jruby/2.3.0/gems/pry-0.10.4-java/lib/pry/config/behavior.rb +139 -0
- data/vendor/bundle/jruby/2.3.0/gems/pry-0.10.4-java/lib/pry/config/convenience.rb +25 -0
- data/vendor/bundle/jruby/2.3.0/gems/pry-0.10.4-java/lib/pry/config/default.rb +161 -0
- data/vendor/bundle/jruby/2.3.0/gems/pry-0.10.4-java/lib/pry/core_extensions.rb +131 -0
- data/vendor/bundle/jruby/2.3.0/gems/pry-0.10.4-java/lib/pry/editor.rb +135 -0
- data/vendor/bundle/jruby/2.3.0/gems/pry-0.10.4-java/lib/pry/exceptions.rb +78 -0
- data/vendor/bundle/jruby/2.3.0/gems/pry-0.10.4-java/lib/pry/helpers.rb +5 -0
- data/vendor/bundle/jruby/2.3.0/gems/pry-0.10.4-java/lib/pry/helpers/base_helpers.rb +113 -0
- data/vendor/bundle/jruby/2.3.0/gems/pry-0.10.4-java/lib/pry/helpers/command_helpers.rb +156 -0
- data/vendor/bundle/jruby/2.3.0/gems/pry-0.10.4-java/lib/pry/helpers/documentation_helpers.rb +75 -0
- data/vendor/bundle/jruby/2.3.0/gems/pry-0.10.4-java/lib/pry/helpers/options_helpers.rb +27 -0
- data/vendor/bundle/jruby/2.3.0/gems/pry-0.10.4-java/lib/pry/helpers/table.rb +109 -0
- data/vendor/bundle/jruby/2.3.0/gems/pry-0.10.4-java/lib/pry/helpers/text.rb +107 -0
- data/vendor/bundle/jruby/2.3.0/gems/pry-0.10.4-java/lib/pry/history.rb +127 -0
- data/vendor/bundle/jruby/2.3.0/gems/pry-0.10.4-java/lib/pry/history_array.rb +121 -0
- data/vendor/bundle/jruby/2.3.0/gems/pry-0.10.4-java/lib/pry/hooks.rb +230 -0
- data/vendor/bundle/jruby/2.3.0/gems/pry-0.10.4-java/lib/pry/indent.rb +406 -0
- data/vendor/bundle/jruby/2.3.0/gems/pry-0.10.4-java/lib/pry/input_completer.rb +242 -0
- data/vendor/bundle/jruby/2.3.0/gems/pry-0.10.4-java/lib/pry/input_lock.rb +132 -0
- data/vendor/bundle/jruby/2.3.0/gems/pry-0.10.4-java/lib/pry/inspector.rb +27 -0
- data/vendor/bundle/jruby/2.3.0/gems/pry-0.10.4-java/lib/pry/last_exception.rb +61 -0
- data/vendor/bundle/jruby/2.3.0/gems/pry-0.10.4-java/lib/pry/method.rb +546 -0
- data/vendor/bundle/jruby/2.3.0/gems/pry-0.10.4-java/lib/pry/method/disowned.rb +53 -0
- data/vendor/bundle/jruby/2.3.0/gems/pry-0.10.4-java/lib/pry/method/patcher.rb +125 -0
- data/vendor/bundle/jruby/2.3.0/gems/pry-0.10.4-java/lib/pry/method/weird_method_locator.rb +188 -0
- data/vendor/bundle/jruby/2.3.0/gems/pry-0.10.4-java/lib/pry/module_candidate.rb +137 -0
- data/vendor/bundle/jruby/2.3.0/gems/pry-0.10.4-java/lib/pry/object_path.rb +82 -0
- data/vendor/bundle/jruby/2.3.0/gems/pry-0.10.4-java/lib/pry/output.rb +50 -0
- data/vendor/bundle/jruby/2.3.0/gems/pry-0.10.4-java/lib/pry/pager.rb +239 -0
- data/vendor/bundle/jruby/2.3.0/gems/pry-0.10.4-java/lib/pry/plugins.rb +103 -0
- data/vendor/bundle/jruby/2.3.0/gems/pry-0.10.4-java/lib/pry/prompt.rb +26 -0
- data/vendor/bundle/jruby/2.3.0/gems/pry-0.10.4-java/lib/pry/pry_class.rb +375 -0
- data/vendor/bundle/jruby/2.3.0/gems/pry-0.10.4-java/lib/pry/pry_instance.rb +664 -0
- data/vendor/bundle/jruby/2.3.0/gems/pry-0.10.4-java/lib/pry/rbx_path.rb +22 -0
- data/vendor/bundle/jruby/2.3.0/gems/pry-0.10.4-java/lib/pry/repl.rb +202 -0
- data/vendor/bundle/jruby/2.3.0/gems/pry-0.10.4-java/lib/pry/repl_file_loader.rb +74 -0
- data/vendor/bundle/jruby/2.3.0/gems/pry-0.10.4-java/lib/pry/rubygem.rb +82 -0
- data/vendor/bundle/jruby/2.3.0/gems/pry-0.10.4-java/lib/pry/terminal.rb +79 -0
- data/vendor/bundle/jruby/2.3.0/gems/pry-0.10.4-java/lib/pry/test/helper.rb +170 -0
- data/vendor/bundle/jruby/2.3.0/gems/pry-0.10.4-java/lib/pry/version.rb +3 -0
- data/vendor/bundle/jruby/2.3.0/gems/pry-0.10.4-java/lib/pry/wrapped_module.rb +378 -0
- data/vendor/bundle/jruby/2.3.0/gems/puma-2.16.0-java/COPYING +55 -0
- data/vendor/bundle/jruby/2.3.0/gems/puma-2.16.0-java/DEPLOYMENT.md +91 -0
- data/vendor/bundle/jruby/2.3.0/gems/puma-2.16.0-java/Gemfile +13 -0
- data/vendor/bundle/jruby/2.3.0/gems/puma-2.16.0-java/History.txt +965 -0
- data/vendor/bundle/jruby/2.3.0/gems/puma-2.16.0-java/LICENSE +26 -0
- data/vendor/bundle/jruby/2.3.0/gems/puma-2.16.0-java/Manifest.txt +74 -0
- data/vendor/bundle/jruby/2.3.0/gems/puma-2.16.0-java/README.md +284 -0
- data/vendor/bundle/jruby/2.3.0/gems/puma-2.16.0-java/Rakefile +158 -0
- data/vendor/bundle/jruby/2.3.0/gems/puma-2.16.0-java/bin/puma +10 -0
- data/vendor/bundle/jruby/2.3.0/gems/puma-2.16.0-java/bin/puma-wild +31 -0
- data/vendor/bundle/jruby/2.3.0/gems/puma-2.16.0-java/bin/pumactl +12 -0
- data/vendor/bundle/jruby/2.3.0/gems/puma-2.16.0-java/docs/config.md +0 -0
- data/vendor/bundle/jruby/2.3.0/gems/puma-2.16.0-java/docs/nginx.md +80 -0
- data/vendor/bundle/jruby/2.3.0/gems/puma-2.16.0-java/docs/signals.md +43 -0
- data/vendor/bundle/jruby/2.3.0/gems/puma-2.16.0-java/ext/puma_http11/PumaHttp11Service.java +17 -0
- data/vendor/bundle/jruby/2.3.0/gems/puma-2.16.0-java/ext/puma_http11/ext_help.h +15 -0
- data/vendor/bundle/jruby/2.3.0/gems/puma-2.16.0-java/ext/puma_http11/extconf.rb +13 -0
- data/vendor/bundle/jruby/2.3.0/gems/puma-2.16.0-java/ext/puma_http11/http11_parser.c +1225 -0
- data/vendor/bundle/jruby/2.3.0/gems/puma-2.16.0-java/ext/puma_http11/http11_parser.h +64 -0
- data/vendor/bundle/jruby/2.3.0/gems/puma-2.16.0-java/ext/puma_http11/http11_parser.java.rl +161 -0
- data/vendor/bundle/jruby/2.3.0/gems/puma-2.16.0-java/ext/puma_http11/http11_parser.rl +146 -0
- data/vendor/bundle/jruby/2.3.0/gems/puma-2.16.0-java/ext/puma_http11/http11_parser_common.rl +54 -0
- data/vendor/bundle/jruby/2.3.0/gems/puma-2.16.0-java/ext/puma_http11/io_buffer.c +155 -0
- data/vendor/bundle/jruby/2.3.0/gems/puma-2.16.0-java/ext/puma_http11/mini_ssl.c +404 -0
- data/vendor/bundle/jruby/2.3.0/gems/puma-2.16.0-java/ext/puma_http11/org/jruby/puma/Http11.java +234 -0
- data/vendor/bundle/jruby/2.3.0/gems/puma-2.16.0-java/ext/puma_http11/org/jruby/puma/Http11Parser.java +488 -0
- data/vendor/bundle/jruby/2.3.0/gems/puma-2.16.0-java/ext/puma_http11/org/jruby/puma/MiniSSL.java +339 -0
- data/vendor/bundle/jruby/2.3.0/gems/puma-2.16.0-java/ext/puma_http11/puma_http11.c +499 -0
- data/vendor/bundle/jruby/2.3.0/gems/puma-2.16.0-java/lib/puma.rb +14 -0
- data/vendor/bundle/jruby/2.3.0/gems/puma-2.16.0-java/lib/puma/accept_nonblock.rb +23 -0
- data/vendor/bundle/jruby/2.3.0/gems/puma-2.16.0-java/lib/puma/app/status.rb +66 -0
- data/vendor/bundle/jruby/2.3.0/gems/puma-2.16.0-java/lib/puma/binder.rb +351 -0
- data/vendor/bundle/jruby/2.3.0/gems/puma-2.16.0-java/lib/puma/capistrano.rb +94 -0
- data/vendor/bundle/jruby/2.3.0/gems/puma-2.16.0-java/lib/puma/cli.rb +582 -0
- data/vendor/bundle/jruby/2.3.0/gems/puma-2.16.0-java/lib/puma/client.rb +320 -0
- data/vendor/bundle/jruby/2.3.0/gems/puma-2.16.0-java/lib/puma/cluster.rb +460 -0
- data/vendor/bundle/jruby/2.3.0/gems/puma-2.16.0-java/lib/puma/commonlogger.rb +107 -0
- data/vendor/bundle/jruby/2.3.0/gems/puma-2.16.0-java/lib/puma/compat.rb +18 -0
- data/vendor/bundle/jruby/2.3.0/gems/puma-2.16.0-java/lib/puma/configuration.rb +220 -0
- data/vendor/bundle/jruby/2.3.0/gems/puma-2.16.0-java/lib/puma/const.rb +239 -0
- data/vendor/bundle/jruby/2.3.0/gems/puma-2.16.0-java/lib/puma/control_cli.rb +273 -0
- data/vendor/bundle/jruby/2.3.0/gems/puma-2.16.0-java/lib/puma/daemon_ext.rb +25 -0
- data/vendor/bundle/jruby/2.3.0/gems/puma-2.16.0-java/lib/puma/delegation.rb +11 -0
- data/vendor/bundle/jruby/2.3.0/gems/puma-2.16.0-java/lib/puma/detect.rb +4 -0
- data/vendor/bundle/jruby/2.3.0/gems/puma-2.16.0-java/lib/puma/dsl.rb +348 -0
- data/vendor/bundle/jruby/2.3.0/gems/puma-2.16.0-java/lib/puma/events.rb +142 -0
- data/vendor/bundle/jruby/2.3.0/gems/puma-2.16.0-java/lib/puma/io_buffer.rb +7 -0
- data/vendor/bundle/jruby/2.3.0/gems/puma-2.16.0-java/lib/puma/java_io_buffer.rb +45 -0
- data/vendor/bundle/jruby/2.3.0/gems/puma-2.16.0-java/lib/puma/jruby_restart.rb +83 -0
- data/vendor/bundle/jruby/2.3.0/gems/puma-2.16.0-java/lib/puma/minissl.rb +177 -0
- data/vendor/bundle/jruby/2.3.0/gems/puma-2.16.0-java/lib/puma/null_io.rb +34 -0
- data/vendor/bundle/jruby/2.3.0/gems/puma-2.16.0-java/lib/puma/puma_http11.jar +0 -0
- data/vendor/bundle/jruby/2.3.0/gems/puma-2.16.0-java/lib/puma/rack/backports/uri/common_18.rb +56 -0
- data/vendor/bundle/jruby/2.3.0/gems/puma-2.16.0-java/lib/puma/rack/backports/uri/common_192.rb +52 -0
- data/vendor/bundle/jruby/2.3.0/gems/puma-2.16.0-java/lib/puma/rack/backports/uri/common_193.rb +29 -0
- data/vendor/bundle/jruby/2.3.0/gems/puma-2.16.0-java/lib/puma/rack/builder.rb +295 -0
- data/vendor/bundle/jruby/2.3.0/gems/puma-2.16.0-java/lib/puma/rack/urlmap.rb +90 -0
- data/vendor/bundle/jruby/2.3.0/gems/puma-2.16.0-java/lib/puma/rack_default.rb +7 -0
- data/vendor/bundle/jruby/2.3.0/gems/puma-2.16.0-java/lib/puma/reactor.rb +195 -0
- data/vendor/bundle/jruby/2.3.0/gems/puma-2.16.0-java/lib/puma/runner.rb +147 -0
- data/vendor/bundle/jruby/2.3.0/gems/puma-2.16.0-java/lib/puma/server.rb +885 -0
- data/vendor/bundle/jruby/2.3.0/gems/puma-2.16.0-java/lib/puma/single.rb +102 -0
- data/vendor/bundle/jruby/2.3.0/gems/puma-2.16.0-java/lib/puma/tcp_logger.rb +32 -0
- data/vendor/bundle/jruby/2.3.0/gems/puma-2.16.0-java/lib/puma/thread_pool.rb +255 -0
- data/vendor/bundle/jruby/2.3.0/gems/puma-2.16.0-java/lib/puma/util.rb +132 -0
- data/vendor/bundle/jruby/2.3.0/gems/puma-2.16.0-java/lib/rack/handler/puma.rb +65 -0
- data/vendor/bundle/jruby/2.3.0/gems/puma-2.16.0-java/puma.gemspec +52 -0
- data/vendor/bundle/jruby/2.3.0/gems/puma-2.16.0-java/tools/jungle/README.md +9 -0
- data/vendor/bundle/jruby/2.3.0/gems/puma-2.16.0-java/tools/jungle/init.d/README.md +54 -0
- data/vendor/bundle/jruby/2.3.0/gems/puma-2.16.0-java/tools/jungle/init.d/puma +394 -0
- data/vendor/bundle/jruby/2.3.0/gems/puma-2.16.0-java/tools/jungle/init.d/run-puma +3 -0
- data/vendor/bundle/jruby/2.3.0/gems/puma-2.16.0-java/tools/jungle/upstart/README.md +61 -0
- data/vendor/bundle/jruby/2.3.0/gems/puma-2.16.0-java/tools/jungle/upstart/puma-manager.conf +31 -0
- data/vendor/bundle/jruby/2.3.0/gems/puma-2.16.0-java/tools/jungle/upstart/puma.conf +69 -0
- data/vendor/bundle/jruby/2.3.0/gems/puma-2.16.0-java/tools/trickletest.rb +45 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/COPYING +18 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/HISTORY.md +355 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/KNOWN-ISSUES +44 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/README.rdoc +312 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/Rakefile +124 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/SPEC +264 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/bin/rackup +4 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/contrib/rack.png +0 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/contrib/rack.svg +150 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/contrib/rack_logo.svg +111 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/contrib/rdoc.css +412 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/example/lobster.ru +4 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/example/protectedlobster.rb +14 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/example/protectedlobster.ru +8 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/lib/rack.rb +98 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/lib/rack/auth/abstract/handler.rb +37 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/lib/rack/auth/abstract/request.rb +43 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/lib/rack/auth/basic.rb +58 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/lib/rack/auth/digest/md5.rb +129 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/lib/rack/auth/digest/nonce.rb +51 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/lib/rack/auth/digest/params.rb +53 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/lib/rack/auth/digest/request.rb +41 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/lib/rack/backports/uri/common_18.rb +56 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/lib/rack/backports/uri/common_192.rb +52 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/lib/rack/backports/uri/common_193.rb +29 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/lib/rack/body_proxy.rb +39 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/lib/rack/builder.rb +164 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/lib/rack/cascade.rb +52 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/lib/rack/chunked.rb +69 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/lib/rack/commonlogger.rb +72 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/lib/rack/conditionalget.rb +79 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/lib/rack/config.rb +20 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/lib/rack/content_length.rb +37 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/lib/rack/content_type.rb +29 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/lib/rack/deflater.rb +154 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/lib/rack/directory.rb +167 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/lib/rack/etag.rb +73 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/lib/rack/file.rb +152 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/lib/rack/handler.rb +109 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/lib/rack/handler/cgi.rb +61 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/lib/rack/handler/evented_mongrel.rb +8 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/lib/rack/handler/fastcgi.rb +101 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/lib/rack/handler/lsws.rb +61 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/lib/rack/handler/mongrel.rb +106 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/lib/rack/handler/scgi.rb +70 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/lib/rack/handler/swiftiplied_mongrel.rb +8 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/lib/rack/handler/thin.rb +33 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/lib/rack/handler/webrick.rb +122 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/lib/rack/head.rb +27 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/lib/rack/lint.rb +760 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/lib/rack/lobster.rb +70 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/lib/rack/lock.rb +26 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/lib/rack/logger.rb +18 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/lib/rack/methodoverride.rb +43 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/lib/rack/mime.rb +664 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/lib/rack/mock.rb +198 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/lib/rack/multipart.rb +34 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/lib/rack/multipart/generator.rb +93 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/lib/rack/multipart/parser.rb +254 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/lib/rack/multipart/uploaded_file.rb +34 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/lib/rack/nulllogger.rb +37 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/lib/rack/recursive.rb +62 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/lib/rack/reloader.rb +109 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/lib/rack/request.rb +398 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/lib/rack/response.rb +162 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/lib/rack/rewindable_input.rb +104 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/lib/rack/runtime.rb +40 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/lib/rack/sendfile.rb +160 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/lib/rack/server.rb +387 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/lib/rack/session/abstract/id.rb +399 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/lib/rack/session/cookie.rb +188 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/lib/rack/session/memcache.rb +93 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/lib/rack/session/pool.rb +76 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/lib/rack/showexceptions.rb +387 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/lib/rack/showstatus.rb +113 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/lib/rack/static.rb +150 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/lib/rack/tempfile_reaper.rb +22 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/lib/rack/urlmap.rb +90 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/lib/rack/utils.rb +684 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/lib/rack/utils/okjson.rb +600 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/rack.gemspec +33 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/test/builder/anything.rb +5 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/test/builder/comment.ru +4 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/test/builder/end.ru +5 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/test/builder/line.ru +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/test/builder/options.ru +2 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/test/cgi/assets/folder/test.js +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/test/cgi/assets/fonts/font.eot +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/test/cgi/assets/images/image.png +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/test/cgi/assets/index.html +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/test/cgi/assets/javascripts/app.js +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/test/cgi/assets/stylesheets/app.css +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/test/cgi/lighttpd.conf +26 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/test/cgi/lighttpd.errors +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/test/cgi/rackup_stub.rb +6 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/test/cgi/sample_rackup.ru +5 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/test/cgi/test +9 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/test/cgi/test+directory/test+file +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/test/cgi/test.fcgi +8 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/test/cgi/test.ru +5 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/test/gemloader.rb +10 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/test/multipart/bad_robots +259 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/test/multipart/binary +0 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/test/multipart/content_type_and_no_filename +6 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/test/multipart/empty +10 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/test/multipart/fail_16384_nofile +814 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/test/multipart/file1.txt +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/test/multipart/filename_and_modification_param +7 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/test/multipart/filename_and_no_name +6 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/test/multipart/filename_with_escaped_quotes +6 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/test/multipart/filename_with_escaped_quotes_and_modification_param +7 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/test/multipart/filename_with_percent_escaped_quotes +6 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/test/multipart/filename_with_unescaped_percentages +6 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/test/multipart/filename_with_unescaped_percentages2 +6 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/test/multipart/filename_with_unescaped_percentages3 +6 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/test/multipart/filename_with_unescaped_quotes +6 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/test/multipart/ie +6 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/test/multipart/invalid_character +6 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/test/multipart/mixed_files +21 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/test/multipart/nested +10 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/test/multipart/none +9 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/test/multipart/semicolon +6 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/test/multipart/text +15 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/test/multipart/three_files_three_fields +31 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/test/multipart/webkit +32 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/test/rackup/config.ru +31 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/test/registering_handler/rack/handler/registering_myself.rb +8 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/test/spec_auth_basic.rb +81 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/test/spec_auth_digest.rb +259 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/test/spec_body_proxy.rb +85 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/test/spec_builder.rb +223 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/test/spec_cascade.rb +61 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/test/spec_cgi.rb +102 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/test/spec_chunked.rb +101 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/test/spec_commonlogger.rb +93 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/test/spec_conditionalget.rb +102 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/test/spec_config.rb +22 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/test/spec_content_length.rb +85 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/test/spec_content_type.rb +45 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/test/spec_deflater.rb +339 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/test/spec_directory.rb +88 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/test/spec_etag.rb +107 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/test/spec_fastcgi.rb +107 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/test/spec_file.rb +221 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/test/spec_handler.rb +63 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/test/spec_head.rb +45 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/test/spec_lint.rb +550 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/test/spec_lobster.rb +58 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/test/spec_lock.rb +164 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/test/spec_logger.rb +23 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/test/spec_methodoverride.rb +82 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/test/spec_mime.rb +51 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/test/spec_mock.rb +277 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/test/spec_mongrel.rb +182 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/test/spec_multipart.rb +590 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/test/spec_nulllogger.rb +20 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/test/spec_recursive.rb +72 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/test/spec_request.rb +1227 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/test/spec_response.rb +343 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/test/spec_rewindable_input.rb +118 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/test/spec_runtime.rb +49 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/test/spec_sendfile.rb +130 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/test/spec_server.rb +167 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/test/spec_session_abstract_id.rb +53 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/test/spec_session_cookie.rb +410 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/test/spec_session_memcache.rb +321 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/test/spec_session_pool.rb +209 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/test/spec_showexceptions.rb +85 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/test/spec_showstatus.rb +103 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/test/spec_static.rb +145 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/test/spec_tempfile_reaper.rb +63 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/test/spec_thin.rb +91 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/test/spec_urlmap.rb +236 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/test/spec_utils.rb +647 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/test/spec_version.rb +17 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/test/spec_webrick.rb +184 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/test/static/another/index.html +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/test/static/index.html +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/test/testrequest.rb +78 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/test/unregistered_handler/rack/handler/unregistered.rb +7 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-1.6.4/test/unregistered_handler/rack/handler/unregistered_long_one.rb +7 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-protection-1.5.3/License +20 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-protection-1.5.3/README.md +90 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-protection-1.5.3/Rakefile +48 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-protection-1.5.3/lib/rack-protection.rb +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-protection-1.5.3/lib/rack/protection.rb +40 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-protection-1.5.3/lib/rack/protection/authenticity_token.rb +31 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-protection-1.5.3/lib/rack/protection/base.rb +121 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-protection-1.5.3/lib/rack/protection/escaped_params.rb +87 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-protection-1.5.3/lib/rack/protection/form_token.rb +23 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-protection-1.5.3/lib/rack/protection/frame_options.rb +37 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-protection-1.5.3/lib/rack/protection/http_origin.rb +32 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-protection-1.5.3/lib/rack/protection/ip_spoofing.rb +23 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-protection-1.5.3/lib/rack/protection/json_csrf.rb +35 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-protection-1.5.3/lib/rack/protection/path_traversal.rb +47 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-protection-1.5.3/lib/rack/protection/remote_referrer.rb +20 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-protection-1.5.3/lib/rack/protection/remote_token.rb +22 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-protection-1.5.3/lib/rack/protection/session_hijacking.rb +36 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-protection-1.5.3/lib/rack/protection/version.rb +16 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-protection-1.5.3/lib/rack/protection/xss_header.rb +25 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-protection-1.5.3/rack-protection.gemspec +118 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-protection-1.5.3/spec/authenticity_token_spec.rb +48 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-protection-1.5.3/spec/base_spec.rb +40 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-protection-1.5.3/spec/escaped_params_spec.rb +43 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-protection-1.5.3/spec/form_token_spec.rb +33 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-protection-1.5.3/spec/frame_options_spec.rb +39 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-protection-1.5.3/spec/http_origin_spec.rb +38 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-protection-1.5.3/spec/ip_spoofing_spec.rb +35 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-protection-1.5.3/spec/json_csrf_spec.rb +58 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-protection-1.5.3/spec/path_traversal_spec.rb +41 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-protection-1.5.3/spec/protection_spec.rb +105 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-protection-1.5.3/spec/remote_referrer_spec.rb +31 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-protection-1.5.3/spec/remote_token_spec.rb +42 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-protection-1.5.3/spec/session_hijacking_spec.rb +55 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-protection-1.5.3/spec/spec_helper.rb +163 -0
- data/vendor/bundle/jruby/2.3.0/gems/rack-protection-1.5.3/spec/xss_header_spec.rb +56 -0
- data/vendor/bundle/jruby/2.3.0/gems/rake-11.2.2/CONTRIBUTING.rdoc +36 -0
- data/vendor/bundle/jruby/2.3.0/gems/rake-11.2.2/Gemfile +3 -0
- data/vendor/bundle/jruby/2.3.0/gems/rake-11.2.2/History.rdoc +2228 -0
- data/vendor/bundle/jruby/2.3.0/gems/rake-11.2.2/MIT-LICENSE +21 -0
- data/vendor/bundle/jruby/2.3.0/gems/rake-11.2.2/README.rdoc +157 -0
- data/vendor/bundle/jruby/2.3.0/gems/rake-11.2.2/Rakefile +29 -0
- data/vendor/bundle/jruby/2.3.0/gems/rake-11.2.2/appveyor.yml +24 -0
- data/vendor/bundle/jruby/2.3.0/gems/rake-11.2.2/bin/console +7 -0
- data/vendor/bundle/jruby/2.3.0/gems/rake-11.2.2/bin/setup +6 -0
- data/vendor/bundle/jruby/2.3.0/gems/rake-11.2.2/doc/command_line_usage.rdoc +158 -0
- data/vendor/bundle/jruby/2.3.0/gems/rake-11.2.2/doc/example/Rakefile1 +38 -0
- data/vendor/bundle/jruby/2.3.0/gems/rake-11.2.2/doc/example/Rakefile2 +35 -0
- data/vendor/bundle/jruby/2.3.0/gems/rake-11.2.2/doc/example/a.c +6 -0
- data/vendor/bundle/jruby/2.3.0/gems/rake-11.2.2/doc/example/b.c +6 -0
- data/vendor/bundle/jruby/2.3.0/gems/rake-11.2.2/doc/example/main.c +11 -0
- data/vendor/bundle/jruby/2.3.0/gems/rake-11.2.2/doc/glossary.rdoc +42 -0
- data/vendor/bundle/jruby/2.3.0/gems/rake-11.2.2/doc/jamis.rb +591 -0
- data/vendor/bundle/jruby/2.3.0/gems/rake-11.2.2/doc/proto_rake.rdoc +127 -0
- data/vendor/bundle/jruby/2.3.0/gems/rake-11.2.2/doc/rake.1 +141 -0
- data/vendor/bundle/jruby/2.3.0/gems/rake-11.2.2/doc/rakefile.rdoc +624 -0
- data/vendor/bundle/jruby/2.3.0/gems/rake-11.2.2/doc/rational.rdoc +151 -0
- data/vendor/bundle/jruby/2.3.0/gems/rake-11.2.2/doc/release_notes/README.md +4 -0
- data/vendor/bundle/jruby/2.3.0/gems/rake-11.2.2/doc/release_notes/rake-0.4.14.rdoc +23 -0
- data/vendor/bundle/jruby/2.3.0/gems/rake-11.2.2/doc/release_notes/rake-0.4.15.rdoc +35 -0
- data/vendor/bundle/jruby/2.3.0/gems/rake-11.2.2/doc/release_notes/rake-0.5.0.rdoc +53 -0
- data/vendor/bundle/jruby/2.3.0/gems/rake-11.2.2/doc/release_notes/rake-0.5.3.rdoc +78 -0
- data/vendor/bundle/jruby/2.3.0/gems/rake-11.2.2/doc/release_notes/rake-0.5.4.rdoc +46 -0
- data/vendor/bundle/jruby/2.3.0/gems/rake-11.2.2/doc/release_notes/rake-0.6.0.rdoc +141 -0
- data/vendor/bundle/jruby/2.3.0/gems/rake-11.2.2/doc/release_notes/rake-0.7.0.rdoc +119 -0
- data/vendor/bundle/jruby/2.3.0/gems/rake-11.2.2/doc/release_notes/rake-0.7.1.rdoc +59 -0
- data/vendor/bundle/jruby/2.3.0/gems/rake-11.2.2/doc/release_notes/rake-0.7.2.rdoc +121 -0
- data/vendor/bundle/jruby/2.3.0/gems/rake-11.2.2/doc/release_notes/rake-0.7.3.rdoc +47 -0
- data/vendor/bundle/jruby/2.3.0/gems/rake-11.2.2/doc/release_notes/rake-0.8.0.rdoc +114 -0
- data/vendor/bundle/jruby/2.3.0/gems/rake-11.2.2/doc/release_notes/rake-0.8.2.rdoc +165 -0
- data/vendor/bundle/jruby/2.3.0/gems/rake-11.2.2/doc/release_notes/rake-0.8.3.rdoc +112 -0
- data/vendor/bundle/jruby/2.3.0/gems/rake-11.2.2/doc/release_notes/rake-0.8.4.rdoc +147 -0
- data/vendor/bundle/jruby/2.3.0/gems/rake-11.2.2/doc/release_notes/rake-0.8.5.rdoc +53 -0
- data/vendor/bundle/jruby/2.3.0/gems/rake-11.2.2/doc/release_notes/rake-0.8.6.rdoc +37 -0
- data/vendor/bundle/jruby/2.3.0/gems/rake-11.2.2/doc/release_notes/rake-0.8.7.rdoc +55 -0
- data/vendor/bundle/jruby/2.3.0/gems/rake-11.2.2/doc/release_notes/rake-0.9.0.rdoc +112 -0
- data/vendor/bundle/jruby/2.3.0/gems/rake-11.2.2/doc/release_notes/rake-0.9.1.rdoc +52 -0
- data/vendor/bundle/jruby/2.3.0/gems/rake-11.2.2/doc/release_notes/rake-0.9.2.2.rdoc +55 -0
- data/vendor/bundle/jruby/2.3.0/gems/rake-11.2.2/doc/release_notes/rake-0.9.2.rdoc +49 -0
- data/vendor/bundle/jruby/2.3.0/gems/rake-11.2.2/doc/release_notes/rake-0.9.3.rdoc +102 -0
- data/vendor/bundle/jruby/2.3.0/gems/rake-11.2.2/doc/release_notes/rake-0.9.4.rdoc +60 -0
- data/vendor/bundle/jruby/2.3.0/gems/rake-11.2.2/doc/release_notes/rake-0.9.5.rdoc +55 -0
- data/vendor/bundle/jruby/2.3.0/gems/rake-11.2.2/doc/release_notes/rake-0.9.6.rdoc +64 -0
- data/vendor/bundle/jruby/2.3.0/gems/rake-11.2.2/doc/release_notes/rake-10.0.0.rdoc +178 -0
- data/vendor/bundle/jruby/2.3.0/gems/rake-11.2.2/doc/release_notes/rake-10.0.1.rdoc +58 -0
- data/vendor/bundle/jruby/2.3.0/gems/rake-11.2.2/doc/release_notes/rake-10.0.2.rdoc +53 -0
- data/vendor/bundle/jruby/2.3.0/gems/rake-11.2.2/doc/release_notes/rake-10.0.3.rdoc +191 -0
- data/vendor/bundle/jruby/2.3.0/gems/rake-11.2.2/doc/release_notes/rake-10.1.0.rdoc +61 -0
- data/vendor/bundle/jruby/2.3.0/gems/rake-11.2.2/exe/rake +27 -0
- data/vendor/bundle/jruby/2.3.0/gems/rake-11.2.2/lib/rake.rb +71 -0
- data/vendor/bundle/jruby/2.3.0/gems/rake-11.2.2/lib/rake/application.rb +784 -0
- data/vendor/bundle/jruby/2.3.0/gems/rake-11.2.2/lib/rake/backtrace.rb +23 -0
- data/vendor/bundle/jruby/2.3.0/gems/rake-11.2.2/lib/rake/clean.rb +76 -0
- data/vendor/bundle/jruby/2.3.0/gems/rake-11.2.2/lib/rake/cloneable.rb +16 -0
- data/vendor/bundle/jruby/2.3.0/gems/rake-11.2.2/lib/rake/contrib/compositepublisher.rb +21 -0
- data/vendor/bundle/jruby/2.3.0/gems/rake-11.2.2/lib/rake/contrib/ftptools.rb +137 -0
- data/vendor/bundle/jruby/2.3.0/gems/rake-11.2.2/lib/rake/contrib/sshpublisher.rb +60 -0
- data/vendor/bundle/jruby/2.3.0/gems/rake-11.2.2/lib/rake/cpu_counter.rb +106 -0
- data/vendor/bundle/jruby/2.3.0/gems/rake-11.2.2/lib/rake/default_loader.rb +14 -0
- data/vendor/bundle/jruby/2.3.0/gems/rake-11.2.2/lib/rake/dsl_definition.rb +194 -0
- data/vendor/bundle/jruby/2.3.0/gems/rake-11.2.2/lib/rake/early_time.rb +21 -0
- data/vendor/bundle/jruby/2.3.0/gems/rake-11.2.2/lib/rake/ext/core.rb +25 -0
- data/vendor/bundle/jruby/2.3.0/gems/rake-11.2.2/lib/rake/ext/fixnum.rb +18 -0
- data/vendor/bundle/jruby/2.3.0/gems/rake-11.2.2/lib/rake/ext/pathname.rb +25 -0
- data/vendor/bundle/jruby/2.3.0/gems/rake-11.2.2/lib/rake/ext/string.rb +175 -0
- data/vendor/bundle/jruby/2.3.0/gems/rake-11.2.2/lib/rake/file_creation_task.rb +24 -0
- data/vendor/bundle/jruby/2.3.0/gems/rake-11.2.2/lib/rake/file_list.rb +436 -0
- data/vendor/bundle/jruby/2.3.0/gems/rake-11.2.2/lib/rake/file_task.rb +46 -0
- data/vendor/bundle/jruby/2.3.0/gems/rake-11.2.2/lib/rake/file_utils.rb +139 -0
- data/vendor/bundle/jruby/2.3.0/gems/rake-11.2.2/lib/rake/file_utils_ext.rb +144 -0
- data/vendor/bundle/jruby/2.3.0/gems/rake-11.2.2/lib/rake/invocation_chain.rb +56 -0
- data/vendor/bundle/jruby/2.3.0/gems/rake-11.2.2/lib/rake/invocation_exception_mixin.rb +16 -0
- data/vendor/bundle/jruby/2.3.0/gems/rake-11.2.2/lib/rake/late_time.rb +17 -0
- data/vendor/bundle/jruby/2.3.0/gems/rake-11.2.2/lib/rake/linked_list.rb +111 -0
- data/vendor/bundle/jruby/2.3.0/gems/rake-11.2.2/lib/rake/loaders/makefile.rb +53 -0
- data/vendor/bundle/jruby/2.3.0/gems/rake-11.2.2/lib/rake/multi_task.rb +13 -0
- data/vendor/bundle/jruby/2.3.0/gems/rake-11.2.2/lib/rake/name_space.rb +38 -0
- data/vendor/bundle/jruby/2.3.0/gems/rake-11.2.2/lib/rake/packagetask.rb +210 -0
- data/vendor/bundle/jruby/2.3.0/gems/rake-11.2.2/lib/rake/phony.rb +15 -0
- data/vendor/bundle/jruby/2.3.0/gems/rake-11.2.2/lib/rake/private_reader.rb +20 -0
- data/vendor/bundle/jruby/2.3.0/gems/rake-11.2.2/lib/rake/promise.rb +99 -0
- data/vendor/bundle/jruby/2.3.0/gems/rake-11.2.2/lib/rake/pseudo_status.rb +29 -0
- data/vendor/bundle/jruby/2.3.0/gems/rake-11.2.2/lib/rake/rake_module.rb +38 -0
- data/vendor/bundle/jruby/2.3.0/gems/rake-11.2.2/lib/rake/rake_test_loader.rb +21 -0
- data/vendor/bundle/jruby/2.3.0/gems/rake-11.2.2/lib/rake/rule_recursion_overflow_error.rb +19 -0
- data/vendor/bundle/jruby/2.3.0/gems/rake-11.2.2/lib/rake/scope.rb +42 -0
- data/vendor/bundle/jruby/2.3.0/gems/rake-11.2.2/lib/rake/task.rb +391 -0
- data/vendor/bundle/jruby/2.3.0/gems/rake-11.2.2/lib/rake/task_argument_error.rb +7 -0
- data/vendor/bundle/jruby/2.3.0/gems/rake-11.2.2/lib/rake/task_arguments.rb +103 -0
- data/vendor/bundle/jruby/2.3.0/gems/rake-11.2.2/lib/rake/task_manager.rb +316 -0
- data/vendor/bundle/jruby/2.3.0/gems/rake-11.2.2/lib/rake/tasklib.rb +11 -0
- data/vendor/bundle/jruby/2.3.0/gems/rake-11.2.2/lib/rake/testtask.rb +212 -0
- data/vendor/bundle/jruby/2.3.0/gems/rake-11.2.2/lib/rake/thread_history_display.rb +48 -0
- data/vendor/bundle/jruby/2.3.0/gems/rake-11.2.2/lib/rake/thread_pool.rb +162 -0
- data/vendor/bundle/jruby/2.3.0/gems/rake-11.2.2/lib/rake/trace_output.rb +22 -0
- data/vendor/bundle/jruby/2.3.0/gems/rake-11.2.2/lib/rake/version.rb +9 -0
- data/vendor/bundle/jruby/2.3.0/gems/rake-11.2.2/lib/rake/win32.rb +50 -0
- data/vendor/bundle/jruby/2.3.0/gems/rake-11.2.2/rake.gemspec +30 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-3.5.0/LICENSE.md +27 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-3.5.0/README.md +39 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-3.5.0/lib/rspec.rb +3 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-3.5.0/lib/rspec/version.rb +5 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-core-3.5.3/Changelog.md +2094 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-core-3.5.3/LICENSE.md +26 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-core-3.5.3/README.md +384 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-core-3.5.3/exe/rspec +4 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-core-3.5.3/lib/rspec/autorun.rb +3 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-core-3.5.3/lib/rspec/core.rb +184 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-core-3.5.3/lib/rspec/core/backtrace_formatter.rb +65 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-core-3.5.3/lib/rspec/core/bisect/coordinator.rb +66 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-core-3.5.3/lib/rspec/core/bisect/example_minimizer.rb +169 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-core-3.5.3/lib/rspec/core/bisect/runner.rb +169 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-core-3.5.3/lib/rspec/core/bisect/server.rb +65 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-core-3.5.3/lib/rspec/core/configuration.rb +2100 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-core-3.5.3/lib/rspec/core/configuration_options.rb +194 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-core-3.5.3/lib/rspec/core/drb.rb +111 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-core-3.5.3/lib/rspec/core/dsl.rb +98 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-core-3.5.3/lib/rspec/core/example.rb +649 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-core-3.5.3/lib/rspec/core/example_group.rb +873 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-core-3.5.3/lib/rspec/core/example_status_persister.rb +235 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-core-3.5.3/lib/rspec/core/filter_manager.rb +231 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-core-3.5.3/lib/rspec/core/flat_map.rb +20 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-core-3.5.3/lib/rspec/core/formatters.rb +255 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-core-3.5.3/lib/rspec/core/formatters/base_formatter.rb +70 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-core-3.5.3/lib/rspec/core/formatters/base_text_formatter.rb +77 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-core-3.5.3/lib/rspec/core/formatters/bisect_formatter.rb +69 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-core-3.5.3/lib/rspec/core/formatters/bisect_progress_formatter.rb +144 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-core-3.5.3/lib/rspec/core/formatters/console_codes.rb +65 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-core-3.5.3/lib/rspec/core/formatters/deprecation_formatter.rb +223 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-core-3.5.3/lib/rspec/core/formatters/documentation_formatter.rb +69 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-core-3.5.3/lib/rspec/core/formatters/exception_presenter.rb +491 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-core-3.5.3/lib/rspec/core/formatters/fallback_message_formatter.rb +28 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-core-3.5.3/lib/rspec/core/formatters/helpers.rb +110 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-core-3.5.3/lib/rspec/core/formatters/html_formatter.rb +151 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-core-3.5.3/lib/rspec/core/formatters/html_printer.rb +414 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-core-3.5.3/lib/rspec/core/formatters/html_snippet_extractor.rb +116 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-core-3.5.3/lib/rspec/core/formatters/json_formatter.rb +96 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-core-3.5.3/lib/rspec/core/formatters/profile_formatter.rb +68 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-core-3.5.3/lib/rspec/core/formatters/progress_formatter.rb +28 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-core-3.5.3/lib/rspec/core/formatters/protocol.rb +181 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-core-3.5.3/lib/rspec/core/formatters/snippet_extractor.rb +136 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-core-3.5.3/lib/rspec/core/hooks.rb +624 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-core-3.5.3/lib/rspec/core/invocations.rb +67 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-core-3.5.3/lib/rspec/core/memoized_helpers.rb +532 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-core-3.5.3/lib/rspec/core/metadata.rb +499 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-core-3.5.3/lib/rspec/core/metadata_filter.rb +243 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-core-3.5.3/lib/rspec/core/minitest_assertions_adapter.rb +31 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-core-3.5.3/lib/rspec/core/mocking_adapters/flexmock.rb +31 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-core-3.5.3/lib/rspec/core/mocking_adapters/mocha.rb +57 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-core-3.5.3/lib/rspec/core/mocking_adapters/null.rb +14 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-core-3.5.3/lib/rspec/core/mocking_adapters/rr.rb +31 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-core-3.5.3/lib/rspec/core/mocking_adapters/rspec.rb +32 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-core-3.5.3/lib/rspec/core/notifications.rb +498 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-core-3.5.3/lib/rspec/core/option_parser.rb +289 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-core-3.5.3/lib/rspec/core/ordering.rb +158 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-core-3.5.3/lib/rspec/core/pending.rb +165 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-core-3.5.3/lib/rspec/core/profiler.rb +32 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-core-3.5.3/lib/rspec/core/project_initializer.rb +48 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-core-3.5.3/lib/rspec/core/project_initializer/spec/spec_helper.rb +103 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-core-3.5.3/lib/rspec/core/rake_task.rb +168 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-core-3.5.3/lib/rspec/core/reporter.rb +248 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-core-3.5.3/lib/rspec/core/ruby_project.rb +53 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-core-3.5.3/lib/rspec/core/runner.rb +188 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-core-3.5.3/lib/rspec/core/sandbox.rb +37 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-core-3.5.3/lib/rspec/core/set.rb +49 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-core-3.5.3/lib/rspec/core/shared_context.rb +55 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-core-3.5.3/lib/rspec/core/shared_example_group.rb +247 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-core-3.5.3/lib/rspec/core/shell_escape.rb +49 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-core-3.5.3/lib/rspec/core/source.rb +86 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-core-3.5.3/lib/rspec/core/source/location.rb +13 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-core-3.5.3/lib/rspec/core/source/node.rb +93 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-core-3.5.3/lib/rspec/core/source/syntax_highlighter.rb +71 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-core-3.5.3/lib/rspec/core/source/token.rb +87 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-core-3.5.3/lib/rspec/core/test_unit_assertions_adapter.rb +30 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-core-3.5.3/lib/rspec/core/version.rb +9 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-core-3.5.3/lib/rspec/core/warnings.rb +40 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-core-3.5.3/lib/rspec/core/world.rb +255 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-expectations-3.5.0/Changelog.md +1034 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-expectations-3.5.0/LICENSE.md +25 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-expectations-3.5.0/README.md +303 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-expectations-3.5.0/lib/rspec/expectations.rb +81 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-expectations-3.5.0/lib/rspec/expectations/configuration.rb +201 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-expectations-3.5.0/lib/rspec/expectations/expectation_target.rb +127 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-expectations-3.5.0/lib/rspec/expectations/fail_with.rb +31 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-expectations-3.5.0/lib/rspec/expectations/failure_aggregator.rb +194 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-expectations-3.5.0/lib/rspec/expectations/handler.rb +170 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-expectations-3.5.0/lib/rspec/expectations/minitest_integration.rb +58 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-expectations-3.5.0/lib/rspec/expectations/syntax.rb +132 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-expectations-3.5.0/lib/rspec/expectations/version.rb +8 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-expectations-3.5.0/lib/rspec/matchers.rb +1038 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-expectations-3.5.0/lib/rspec/matchers/aliased_matcher.rb +116 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in.rb +52 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/all.rb +85 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/base_matcher.rb +181 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/be.rb +288 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/be_between.rb +77 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/be_instance_of.rb +22 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/be_kind_of.rb +16 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/be_within.rb +72 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/change.rb +354 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/compound.rb +272 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/contain_exactly.rb +286 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/cover.rb +24 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/eq.rb +40 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/eql.rb +34 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/equal.rb +81 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/exist.rb +86 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/has.rb +103 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/have_attributes.rb +114 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/include.rb +143 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/match.rb +106 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/operators.rb +128 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/output.rb +200 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/raise_error.rb +230 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/respond_to.rb +165 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/satisfy.rb +37 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/start_or_end_with.rb +94 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/throw_symbol.rb +132 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/yield.rb +419 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-expectations-3.5.0/lib/rspec/matchers/composable.rb +185 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-expectations-3.5.0/lib/rspec/matchers/dsl.rb +466 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-expectations-3.5.0/lib/rspec/matchers/english_phrasing.rb +58 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-expectations-3.5.0/lib/rspec/matchers/expecteds_for_multiple_diffs.rb +73 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-expectations-3.5.0/lib/rspec/matchers/fail_matchers.rb +42 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-expectations-3.5.0/lib/rspec/matchers/generated_descriptions.rb +42 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-expectations-3.5.0/lib/rspec/matchers/matcher_delegator.rb +35 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-expectations-3.5.0/lib/rspec/matchers/matcher_protocol.rb +99 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-mocks-3.5.0/Changelog.md +1043 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-mocks-3.5.0/LICENSE.md +25 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-mocks-3.5.0/README.md +445 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-mocks-3.5.0/lib/rspec/mocks.rb +130 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-mocks-3.5.0/lib/rspec/mocks/any_instance.rb +11 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-mocks-3.5.0/lib/rspec/mocks/any_instance/chain.rb +110 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-mocks-3.5.0/lib/rspec/mocks/any_instance/error_generator.rb +31 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-mocks-3.5.0/lib/rspec/mocks/any_instance/expect_chain_chain.rb +35 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-mocks-3.5.0/lib/rspec/mocks/any_instance/expectation_chain.rb +48 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-mocks-3.5.0/lib/rspec/mocks/any_instance/message_chains.rb +83 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-mocks-3.5.0/lib/rspec/mocks/any_instance/proxy.rb +116 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-mocks-3.5.0/lib/rspec/mocks/any_instance/recorder.rb +289 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-mocks-3.5.0/lib/rspec/mocks/any_instance/stub_chain.rb +47 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-mocks-3.5.0/lib/rspec/mocks/any_instance/stub_chain_chain.rb +28 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-mocks-3.5.0/lib/rspec/mocks/argument_list_matcher.rb +100 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-mocks-3.5.0/lib/rspec/mocks/argument_matchers.rb +320 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-mocks-3.5.0/lib/rspec/mocks/configuration.rb +205 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-mocks-3.5.0/lib/rspec/mocks/error_generator.rb +369 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-mocks-3.5.0/lib/rspec/mocks/example_methods.rb +422 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-mocks-3.5.0/lib/rspec/mocks/instance_method_stasher.rb +135 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-mocks-3.5.0/lib/rspec/mocks/marshal_extension.rb +41 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-mocks-3.5.0/lib/rspec/mocks/matchers/expectation_customization.rb +20 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-mocks-3.5.0/lib/rspec/mocks/matchers/have_received.rb +130 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-mocks-3.5.0/lib/rspec/mocks/matchers/receive.rb +132 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-mocks-3.5.0/lib/rspec/mocks/matchers/receive_message_chain.rb +82 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-mocks-3.5.0/lib/rspec/mocks/matchers/receive_messages.rb +77 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-mocks-3.5.0/lib/rspec/mocks/message_chain.rb +87 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-mocks-3.5.0/lib/rspec/mocks/message_expectation.rb +740 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-mocks-3.5.0/lib/rspec/mocks/method_double.rb +287 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-mocks-3.5.0/lib/rspec/mocks/method_reference.rb +202 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-mocks-3.5.0/lib/rspec/mocks/minitest_integration.rb +68 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-mocks-3.5.0/lib/rspec/mocks/mutate_const.rb +335 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-mocks-3.5.0/lib/rspec/mocks/object_reference.rb +149 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-mocks-3.5.0/lib/rspec/mocks/order_group.rb +81 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-mocks-3.5.0/lib/rspec/mocks/proxy.rb +489 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-mocks-3.5.0/lib/rspec/mocks/space.rb +238 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-mocks-3.5.0/lib/rspec/mocks/standalone.rb +3 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-mocks-3.5.0/lib/rspec/mocks/syntax.rb +325 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-mocks-3.5.0/lib/rspec/mocks/targets.rb +124 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-mocks-3.5.0/lib/rspec/mocks/test_double.rb +170 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-mocks-3.5.0/lib/rspec/mocks/verifying_double.rb +129 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-mocks-3.5.0/lib/rspec/mocks/verifying_message_expectation.rb +54 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-mocks-3.5.0/lib/rspec/mocks/verifying_proxy.rb +213 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-mocks-3.5.0/lib/rspec/mocks/version.rb +9 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-support-3.5.0/Changelog.md +192 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-support-3.5.0/LICENSE.md +23 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-support-3.5.0/README.md +40 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-support-3.5.0/lib/rspec/support.rb +139 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-support-3.5.0/lib/rspec/support/caller_filter.rb +83 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-support-3.5.0/lib/rspec/support/comparable_version.rb +46 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-support-3.5.0/lib/rspec/support/differ.rb +215 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-support-3.5.0/lib/rspec/support/directory_maker.rb +63 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-support-3.5.0/lib/rspec/support/encoded_string.rb +165 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-support-3.5.0/lib/rspec/support/fuzzy_matcher.rb +48 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-support-3.5.0/lib/rspec/support/hunk_generator.rb +47 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-support-3.5.0/lib/rspec/support/matcher_definition.rb +42 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-support-3.5.0/lib/rspec/support/method_signature_verifier.rb +392 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-support-3.5.0/lib/rspec/support/mutex.rb +73 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-support-3.5.0/lib/rspec/support/object_formatter.rb +249 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-support-3.5.0/lib/rspec/support/recursive_const_methods.rb +76 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-support-3.5.0/lib/rspec/support/reentrant_mutex.rb +53 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-support-3.5.0/lib/rspec/support/ruby_features.rb +149 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-support-3.5.0/lib/rspec/support/spec.rb +81 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-support-3.5.0/lib/rspec/support/spec/deprecation_helpers.rb +64 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-support-3.5.0/lib/rspec/support/spec/formatting_support.rb +9 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-support-3.5.0/lib/rspec/support/spec/in_sub_process.rb +52 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-support-3.5.0/lib/rspec/support/spec/library_wide_checks.rb +150 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-support-3.5.0/lib/rspec/support/spec/shell_out.rb +82 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-support-3.5.0/lib/rspec/support/spec/stderr_splitter.rb +63 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-support-3.5.0/lib/rspec/support/spec/string_matcher.rb +46 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-support-3.5.0/lib/rspec/support/spec/with_isolated_directory.rb +13 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-support-3.5.0/lib/rspec/support/spec/with_isolated_stderr.rb +13 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-support-3.5.0/lib/rspec/support/version.rb +7 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-support-3.5.0/lib/rspec/support/warnings.rb +39 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-wait-0.0.9/CHANGELOG.md +33 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-wait-0.0.9/CONTRIBUTING.md +48 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-wait-0.0.9/Gemfile +3 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-wait-0.0.9/LICENSE.txt +22 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-wait-0.0.9/README.md +158 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-wait-0.0.9/Rakefile +6 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-wait-0.0.9/gemfiles/rspec_2_11.gemfile +9 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-wait-0.0.9/gemfiles/rspec_2_12.gemfile +9 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-wait-0.0.9/gemfiles/rspec_2_13.gemfile +9 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-wait-0.0.9/gemfiles/rspec_2_14.gemfile +9 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-wait-0.0.9/gemfiles/rspec_3_0.gemfile +9 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-wait-0.0.9/gemfiles/rspec_3_1.gemfile +9 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-wait-0.0.9/gemfiles/rspec_3_2.gemfile +9 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-wait-0.0.9/gemfiles/rspec_3_3.gemfile +9 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-wait-0.0.9/gemfiles/rspec_3_4.gemfile +9 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-wait-0.0.9/gemfiles/rspec_3_5.gemfile +9 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-wait-0.0.9/lib/rspec/wait.rb +49 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-wait-0.0.9/lib/rspec/wait/error.rb +7 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-wait-0.0.9/lib/rspec/wait/handler.rb +36 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-wait-0.0.9/lib/rspec/wait/proxy.rb +13 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-wait-0.0.9/lib/rspec/wait/target.rb +48 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-wait-0.0.9/rspec-wait.gemspec +21 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-wait-0.0.9/spec/spec_helper.rb +6 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-wait-0.0.9/spec/wait_for_spec.rb +162 -0
- data/vendor/bundle/jruby/2.3.0/gems/rspec-wait-0.0.9/spec/wait_spec.rb +176 -0
- data/vendor/bundle/jruby/2.3.0/gems/ruby-maven-3.3.12/Gemfile +3 -0
- data/vendor/bundle/jruby/2.3.0/gems/ruby-maven-3.3.12/Mavenfile +15 -0
- data/vendor/bundle/jruby/2.3.0/gems/ruby-maven-3.3.12/README.md +71 -0
- data/vendor/bundle/jruby/2.3.0/gems/ruby-maven-3.3.12/Rakefile +33 -0
- data/vendor/bundle/jruby/2.3.0/gems/ruby-maven-3.3.12/bin/rmvn +7 -0
- data/vendor/bundle/jruby/2.3.0/gems/ruby-maven-3.3.12/lib/maven/ruby.rb +21 -0
- data/vendor/bundle/jruby/2.3.0/gems/ruby-maven-3.3.12/lib/maven/ruby/maven.rb +127 -0
- data/vendor/bundle/jruby/2.3.0/gems/ruby-maven-3.3.12/lib/maven/ruby/tasks.rb +56 -0
- data/vendor/bundle/jruby/2.3.0/gems/ruby-maven-3.3.12/lib/maven/ruby/version.rb +5 -0
- data/vendor/bundle/jruby/2.3.0/gems/ruby-maven-3.3.12/lib/ruby-maven.rb +21 -0
- data/vendor/bundle/jruby/2.3.0/gems/ruby-maven-3.3.12/lib/ruby_maven.rb +91 -0
- data/vendor/bundle/jruby/2.3.0/gems/ruby-maven-3.3.12/ruby-maven.gemspec +29 -0
- data/vendor/bundle/jruby/2.3.0/gems/ruby-maven-3.3.12/spec/maven_ruby_maven_spec.rb +39 -0
- data/vendor/bundle/jruby/2.3.0/gems/ruby-maven-3.3.12/spec/maven_ruby_maven_spec.rb~ +55 -0
- data/vendor/bundle/jruby/2.3.0/gems/ruby-maven-3.3.12/spec/ruby_maven_spec.rb +38 -0
- data/vendor/bundle/jruby/2.3.0/gems/ruby-maven-3.3.12/spec/setup.rb +26 -0
- data/vendor/bundle/jruby/2.3.0/gems/ruby-maven-libs-3.3.9/README.md +22 -0
- data/vendor/bundle/jruby/2.3.0/gems/ruby-maven-libs-3.3.9/lib/maven.rb +48 -0
- data/vendor/bundle/jruby/2.3.0/gems/ruby-maven-libs-3.3.9/maven-home/LICENSE +308 -0
- data/vendor/bundle/jruby/2.3.0/gems/ruby-maven-libs-3.3.9/maven-home/NOTICE +8 -0
- data/vendor/bundle/jruby/2.3.0/gems/ruby-maven-libs-3.3.9/maven-home/README.txt +79 -0
- data/vendor/bundle/jruby/2.3.0/gems/ruby-maven-libs-3.3.9/maven-home/bin/m2.conf +8 -0
- data/vendor/bundle/jruby/2.3.0/gems/ruby-maven-libs-3.3.9/maven-home/bin/mvn +244 -0
- data/vendor/bundle/jruby/2.3.0/gems/ruby-maven-libs-3.3.9/maven-home/bin/mvn.cmd +178 -0
- data/vendor/bundle/jruby/2.3.0/gems/ruby-maven-libs-3.3.9/maven-home/bin/mvnDebug +41 -0
- data/vendor/bundle/jruby/2.3.0/gems/ruby-maven-libs-3.3.9/maven-home/bin/mvnDebug.cmd +31 -0
- data/vendor/bundle/jruby/2.3.0/gems/ruby-maven-libs-3.3.9/maven-home/bin/mvnyjp +42 -0
- data/vendor/bundle/jruby/2.3.0/gems/ruby-maven-libs-3.3.9/maven-home/boot/plexus-classworlds-2.5.2.jar +0 -0
- data/vendor/bundle/jruby/2.3.0/gems/ruby-maven-libs-3.3.9/maven-home/conf/logging/simplelogger.properties +25 -0
- data/vendor/bundle/jruby/2.3.0/gems/ruby-maven-libs-3.3.9/maven-home/conf/settings.xml +257 -0
- data/vendor/bundle/jruby/2.3.0/gems/ruby-maven-libs-3.3.9/maven-home/conf/toolchains.xml +103 -0
- data/vendor/bundle/jruby/2.3.0/gems/ruby-maven-libs-3.3.9/maven-home/lib/aether-api-1.0.2.v20150114.jar +0 -0
- data/vendor/bundle/jruby/2.3.0/gems/ruby-maven-libs-3.3.9/maven-home/lib/aether-api.license +261 -0
- data/vendor/bundle/jruby/2.3.0/gems/ruby-maven-libs-3.3.9/maven-home/lib/aether-connector-basic-1.0.2.v20150114.jar +0 -0
- data/vendor/bundle/jruby/2.3.0/gems/ruby-maven-libs-3.3.9/maven-home/lib/aether-connector-basic.license +261 -0
- data/vendor/bundle/jruby/2.3.0/gems/ruby-maven-libs-3.3.9/maven-home/lib/aether-impl-1.0.2.v20150114.jar +0 -0
- data/vendor/bundle/jruby/2.3.0/gems/ruby-maven-libs-3.3.9/maven-home/lib/aether-impl.license +261 -0
- data/vendor/bundle/jruby/2.3.0/gems/ruby-maven-libs-3.3.9/maven-home/lib/aether-spi-1.0.2.v20150114.jar +0 -0
- data/vendor/bundle/jruby/2.3.0/gems/ruby-maven-libs-3.3.9/maven-home/lib/aether-spi.license +261 -0
- data/vendor/bundle/jruby/2.3.0/gems/ruby-maven-libs-3.3.9/maven-home/lib/aether-transport-wagon-1.0.2.v20150114.jar +0 -0
- data/vendor/bundle/jruby/2.3.0/gems/ruby-maven-libs-3.3.9/maven-home/lib/aether-transport-wagon.license +261 -0
- data/vendor/bundle/jruby/2.3.0/gems/ruby-maven-libs-3.3.9/maven-home/lib/aether-util-1.0.2.v20150114.jar +0 -0
- data/vendor/bundle/jruby/2.3.0/gems/ruby-maven-libs-3.3.9/maven-home/lib/aether-util.license +261 -0
- data/vendor/bundle/jruby/2.3.0/gems/ruby-maven-libs-3.3.9/maven-home/lib/aopalliance-1.0.jar +0 -0
- data/vendor/bundle/jruby/2.3.0/gems/ruby-maven-libs-3.3.9/maven-home/lib/cdi-api-1.0.jar +0 -0
- data/vendor/bundle/jruby/2.3.0/gems/ruby-maven-libs-3.3.9/maven-home/lib/cdi-api.license +410 -0
- data/vendor/bundle/jruby/2.3.0/gems/ruby-maven-libs-3.3.9/maven-home/lib/commons-cli-1.2.jar +0 -0
- data/vendor/bundle/jruby/2.3.0/gems/ruby-maven-libs-3.3.9/maven-home/lib/commons-io-2.2.jar +0 -0
- data/vendor/bundle/jruby/2.3.0/gems/ruby-maven-libs-3.3.9/maven-home/lib/commons-lang-2.6.jar +0 -0
- data/vendor/bundle/jruby/2.3.0/gems/ruby-maven-libs-3.3.9/maven-home/lib/commons-lang3-3.4.jar +0 -0
- data/vendor/bundle/jruby/2.3.0/gems/ruby-maven-libs-3.3.9/maven-home/lib/commons-lang3.license +202 -0
- data/vendor/bundle/jruby/2.3.0/gems/ruby-maven-libs-3.3.9/maven-home/lib/ext/README.txt +2 -0
- data/vendor/bundle/jruby/2.3.0/gems/ruby-maven-libs-3.3.9/maven-home/lib/guava-18.0.jar +0 -0
- data/vendor/bundle/jruby/2.3.0/gems/ruby-maven-libs-3.3.9/maven-home/lib/guice-4.0-no_aop.jar +0 -0
- data/vendor/bundle/jruby/2.3.0/gems/ruby-maven-libs-3.3.9/maven-home/lib/javax.inject-1.jar +0 -0
- data/vendor/bundle/jruby/2.3.0/gems/ruby-maven-libs-3.3.9/maven-home/lib/jsoup-1.7.2.jar +0 -0
- data/vendor/bundle/jruby/2.3.0/gems/ruby-maven-libs-3.3.9/maven-home/lib/jsoup.license +65 -0
- data/vendor/bundle/jruby/2.3.0/gems/ruby-maven-libs-3.3.9/maven-home/lib/jsr250-api-1.0.jar +0 -0
- data/vendor/bundle/jruby/2.3.0/gems/ruby-maven-libs-3.3.9/maven-home/lib/jsr250-api.license +406 -0
- data/vendor/bundle/jruby/2.3.0/gems/ruby-maven-libs-3.3.9/maven-home/lib/maven-aether-provider-3.3.9.jar +0 -0
- data/vendor/bundle/jruby/2.3.0/gems/ruby-maven-libs-3.3.9/maven-home/lib/maven-aether-provider.license +202 -0
- data/vendor/bundle/jruby/2.3.0/gems/ruby-maven-libs-3.3.9/maven-home/lib/maven-artifact-3.3.9.jar +0 -0
- data/vendor/bundle/jruby/2.3.0/gems/ruby-maven-libs-3.3.9/maven-home/lib/maven-artifact.license +202 -0
- data/vendor/bundle/jruby/2.3.0/gems/ruby-maven-libs-3.3.9/maven-home/lib/maven-builder-support-3.3.9.jar +0 -0
- data/vendor/bundle/jruby/2.3.0/gems/ruby-maven-libs-3.3.9/maven-home/lib/maven-builder-support.license +202 -0
- data/vendor/bundle/jruby/2.3.0/gems/ruby-maven-libs-3.3.9/maven-home/lib/maven-compat-3.3.9.jar +0 -0
- data/vendor/bundle/jruby/2.3.0/gems/ruby-maven-libs-3.3.9/maven-home/lib/maven-compat.license +202 -0
- data/vendor/bundle/jruby/2.3.0/gems/ruby-maven-libs-3.3.9/maven-home/lib/maven-core-3.3.9.jar +0 -0
- data/vendor/bundle/jruby/2.3.0/gems/ruby-maven-libs-3.3.9/maven-home/lib/maven-core.license +202 -0
- data/vendor/bundle/jruby/2.3.0/gems/ruby-maven-libs-3.3.9/maven-home/lib/maven-embedder-3.3.9.jar +0 -0
- data/vendor/bundle/jruby/2.3.0/gems/ruby-maven-libs-3.3.9/maven-home/lib/maven-embedder.license +202 -0
- data/vendor/bundle/jruby/2.3.0/gems/ruby-maven-libs-3.3.9/maven-home/lib/maven-model-3.3.9.jar +0 -0
- data/vendor/bundle/jruby/2.3.0/gems/ruby-maven-libs-3.3.9/maven-home/lib/maven-model-builder-3.3.9.jar +0 -0
- data/vendor/bundle/jruby/2.3.0/gems/ruby-maven-libs-3.3.9/maven-home/lib/maven-model-builder.license +202 -0
- data/vendor/bundle/jruby/2.3.0/gems/ruby-maven-libs-3.3.9/maven-home/lib/maven-model.license +202 -0
- data/vendor/bundle/jruby/2.3.0/gems/ruby-maven-libs-3.3.9/maven-home/lib/maven-plugin-api-3.3.9.jar +0 -0
- data/vendor/bundle/jruby/2.3.0/gems/ruby-maven-libs-3.3.9/maven-home/lib/maven-plugin-api.license +202 -0
- data/vendor/bundle/jruby/2.3.0/gems/ruby-maven-libs-3.3.9/maven-home/lib/maven-repository-metadata-3.3.9.jar +0 -0
- data/vendor/bundle/jruby/2.3.0/gems/ruby-maven-libs-3.3.9/maven-home/lib/maven-repository-metadata.license +202 -0
- data/vendor/bundle/jruby/2.3.0/gems/ruby-maven-libs-3.3.9/maven-home/lib/maven-settings-3.3.9.jar +0 -0
- data/vendor/bundle/jruby/2.3.0/gems/ruby-maven-libs-3.3.9/maven-home/lib/maven-settings-builder-3.3.9.jar +0 -0
- data/vendor/bundle/jruby/2.3.0/gems/ruby-maven-libs-3.3.9/maven-home/lib/maven-settings-builder.license +202 -0
- data/vendor/bundle/jruby/2.3.0/gems/ruby-maven-libs-3.3.9/maven-home/lib/maven-settings.license +202 -0
- data/vendor/bundle/jruby/2.3.0/gems/ruby-maven-libs-3.3.9/maven-home/lib/org.eclipse.sisu.inject-0.3.2.jar +0 -0
- data/vendor/bundle/jruby/2.3.0/gems/ruby-maven-libs-3.3.9/maven-home/lib/org.eclipse.sisu.inject.license +261 -0
- data/vendor/bundle/jruby/2.3.0/gems/ruby-maven-libs-3.3.9/maven-home/lib/org.eclipse.sisu.plexus-0.3.2.jar +0 -0
- data/vendor/bundle/jruby/2.3.0/gems/ruby-maven-libs-3.3.9/maven-home/lib/org.eclipse.sisu.plexus.license +261 -0
- data/vendor/bundle/jruby/2.3.0/gems/ruby-maven-libs-3.3.9/maven-home/lib/plexus-cipher-1.7.jar +0 -0
- data/vendor/bundle/jruby/2.3.0/gems/ruby-maven-libs-3.3.9/maven-home/lib/plexus-cipher.license +410 -0
- data/vendor/bundle/jruby/2.3.0/gems/ruby-maven-libs-3.3.9/maven-home/lib/plexus-component-annotations-1.6.jar +0 -0
- data/vendor/bundle/jruby/2.3.0/gems/ruby-maven-libs-3.3.9/maven-home/lib/plexus-interpolation-1.21.jar +0 -0
- data/vendor/bundle/jruby/2.3.0/gems/ruby-maven-libs-3.3.9/maven-home/lib/plexus-sec-dispatcher-1.3.jar +0 -0
- data/vendor/bundle/jruby/2.3.0/gems/ruby-maven-libs-3.3.9/maven-home/lib/plexus-sec-dispatcher.license +410 -0
- data/vendor/bundle/jruby/2.3.0/gems/ruby-maven-libs-3.3.9/maven-home/lib/plexus-utils-3.0.22.jar +0 -0
- data/vendor/bundle/jruby/2.3.0/gems/ruby-maven-libs-3.3.9/maven-home/lib/slf4j-api-1.7.5.jar +0 -0
- data/vendor/bundle/jruby/2.3.0/gems/ruby-maven-libs-3.3.9/maven-home/lib/slf4j-api.license +370 -0
- data/vendor/bundle/jruby/2.3.0/gems/ruby-maven-libs-3.3.9/maven-home/lib/slf4j-simple-1.7.5.jar +0 -0
- data/vendor/bundle/jruby/2.3.0/gems/ruby-maven-libs-3.3.9/maven-home/lib/slf4j-simple.license +370 -0
- data/vendor/bundle/jruby/2.3.0/gems/ruby-maven-libs-3.3.9/maven-home/lib/wagon-file-2.10.jar +0 -0
- data/vendor/bundle/jruby/2.3.0/gems/ruby-maven-libs-3.3.9/maven-home/lib/wagon-file.license +202 -0
- data/vendor/bundle/jruby/2.3.0/gems/ruby-maven-libs-3.3.9/maven-home/lib/wagon-http-2.10-shaded.jar +0 -0
- data/vendor/bundle/jruby/2.3.0/gems/ruby-maven-libs-3.3.9/maven-home/lib/wagon-http-shared-2.10.jar +0 -0
- data/vendor/bundle/jruby/2.3.0/gems/ruby-maven-libs-3.3.9/maven-home/lib/wagon-http-shared.license +202 -0
- data/vendor/bundle/jruby/2.3.0/gems/ruby-maven-libs-3.3.9/maven-home/lib/wagon-http.license +202 -0
- data/vendor/bundle/jruby/2.3.0/gems/ruby-maven-libs-3.3.9/maven-home/lib/wagon-provider-api-2.10.jar +0 -0
- data/vendor/bundle/jruby/2.3.0/gems/ruby-maven-libs-3.3.9/maven-home/lib/wagon-provider-api.license +202 -0
- data/vendor/bundle/jruby/2.3.0/gems/rubyzip-1.1.7/README.md +271 -0
- data/vendor/bundle/jruby/2.3.0/gems/rubyzip-1.1.7/Rakefile +19 -0
- data/vendor/bundle/jruby/2.3.0/gems/rubyzip-1.1.7/TODO +15 -0
- data/vendor/bundle/jruby/2.3.0/gems/rubyzip-1.1.7/lib/zip.rb +63 -0
- data/vendor/bundle/jruby/2.3.0/gems/rubyzip-1.1.7/lib/zip/central_directory.rb +208 -0
- data/vendor/bundle/jruby/2.3.0/gems/rubyzip-1.1.7/lib/zip/compressor.rb +10 -0
- data/vendor/bundle/jruby/2.3.0/gems/rubyzip-1.1.7/lib/zip/constants.rb +63 -0
- data/vendor/bundle/jruby/2.3.0/gems/rubyzip-1.1.7/lib/zip/crypto/encryption.rb +11 -0
- data/vendor/bundle/jruby/2.3.0/gems/rubyzip-1.1.7/lib/zip/crypto/null_encryption.rb +45 -0
- data/vendor/bundle/jruby/2.3.0/gems/rubyzip-1.1.7/lib/zip/crypto/traditional_encryption.rb +99 -0
- data/vendor/bundle/jruby/2.3.0/gems/rubyzip-1.1.7/lib/zip/decompressor.rb +13 -0
- data/vendor/bundle/jruby/2.3.0/gems/rubyzip-1.1.7/lib/zip/deflater.rb +32 -0
- data/vendor/bundle/jruby/2.3.0/gems/rubyzip-1.1.7/lib/zip/dos_time.rb +49 -0
- data/vendor/bundle/jruby/2.3.0/gems/rubyzip-1.1.7/lib/zip/entry.rb +696 -0
- data/vendor/bundle/jruby/2.3.0/gems/rubyzip-1.1.7/lib/zip/entry_set.rb +86 -0
- data/vendor/bundle/jruby/2.3.0/gems/rubyzip-1.1.7/lib/zip/errors.rb +16 -0
- data/vendor/bundle/jruby/2.3.0/gems/rubyzip-1.1.7/lib/zip/extra_field.rb +101 -0
- data/vendor/bundle/jruby/2.3.0/gems/rubyzip-1.1.7/lib/zip/extra_field/generic.rb +43 -0
- data/vendor/bundle/jruby/2.3.0/gems/rubyzip-1.1.7/lib/zip/extra_field/ntfs.rb +92 -0
- data/vendor/bundle/jruby/2.3.0/gems/rubyzip-1.1.7/lib/zip/extra_field/old_unix.rb +45 -0
- data/vendor/bundle/jruby/2.3.0/gems/rubyzip-1.1.7/lib/zip/extra_field/universal_time.rb +47 -0
- data/vendor/bundle/jruby/2.3.0/gems/rubyzip-1.1.7/lib/zip/extra_field/unix.rb +38 -0
- data/vendor/bundle/jruby/2.3.0/gems/rubyzip-1.1.7/lib/zip/extra_field/zip64.rb +67 -0
- data/vendor/bundle/jruby/2.3.0/gems/rubyzip-1.1.7/lib/zip/extra_field/zip64_placeholder.rb +16 -0
- data/vendor/bundle/jruby/2.3.0/gems/rubyzip-1.1.7/lib/zip/file.rb +436 -0
- data/vendor/bundle/jruby/2.3.0/gems/rubyzip-1.1.7/lib/zip/filesystem.rb +626 -0
- data/vendor/bundle/jruby/2.3.0/gems/rubyzip-1.1.7/lib/zip/inflater.rb +66 -0
- data/vendor/bundle/jruby/2.3.0/gems/rubyzip-1.1.7/lib/zip/input_stream.rb +164 -0
- data/vendor/bundle/jruby/2.3.0/gems/rubyzip-1.1.7/lib/zip/ioextras.rb +38 -0
- data/vendor/bundle/jruby/2.3.0/gems/rubyzip-1.1.7/lib/zip/ioextras/abstract_input_stream.rb +115 -0
- data/vendor/bundle/jruby/2.3.0/gems/rubyzip-1.1.7/lib/zip/ioextras/abstract_output_stream.rb +45 -0
- data/vendor/bundle/jruby/2.3.0/gems/rubyzip-1.1.7/lib/zip/null_compressor.rb +15 -0
- data/vendor/bundle/jruby/2.3.0/gems/rubyzip-1.1.7/lib/zip/null_decompressor.rb +27 -0
- data/vendor/bundle/jruby/2.3.0/gems/rubyzip-1.1.7/lib/zip/null_input_stream.rb +10 -0
- data/vendor/bundle/jruby/2.3.0/gems/rubyzip-1.1.7/lib/zip/output_stream.rb +190 -0
- data/vendor/bundle/jruby/2.3.0/gems/rubyzip-1.1.7/lib/zip/pass_thru_compressor.rb +23 -0
- data/vendor/bundle/jruby/2.3.0/gems/rubyzip-1.1.7/lib/zip/pass_thru_decompressor.rb +41 -0
- data/vendor/bundle/jruby/2.3.0/gems/rubyzip-1.1.7/lib/zip/streamable_directory.rb +15 -0
- data/vendor/bundle/jruby/2.3.0/gems/rubyzip-1.1.7/lib/zip/streamable_stream.rb +56 -0
- data/vendor/bundle/jruby/2.3.0/gems/rubyzip-1.1.7/lib/zip/version.rb +3 -0
- data/vendor/bundle/jruby/2.3.0/gems/rubyzip-1.1.7/samples/example.rb +91 -0
- data/vendor/bundle/jruby/2.3.0/gems/rubyzip-1.1.7/samples/example_filesystem.rb +33 -0
- data/vendor/bundle/jruby/2.3.0/gems/rubyzip-1.1.7/samples/example_recursive.rb +48 -0
- data/vendor/bundle/jruby/2.3.0/gems/rubyzip-1.1.7/samples/gtkRubyzip.rb +86 -0
- data/vendor/bundle/jruby/2.3.0/gems/rubyzip-1.1.7/samples/qtzip.rb +101 -0
- data/vendor/bundle/jruby/2.3.0/gems/rubyzip-1.1.7/samples/write_simple.rb +13 -0
- data/vendor/bundle/jruby/2.3.0/gems/rubyzip-1.1.7/samples/zipfind.rb +74 -0
- data/vendor/bundle/jruby/2.3.0/gems/rubyzip-1.1.7/test/basic_zip_file_test.rb +64 -0
- data/vendor/bundle/jruby/2.3.0/gems/rubyzip-1.1.7/test/central_directory_entry_test.rb +73 -0
- data/vendor/bundle/jruby/2.3.0/gems/rubyzip-1.1.7/test/central_directory_test.rb +104 -0
- data/vendor/bundle/jruby/2.3.0/gems/rubyzip-1.1.7/test/crypto/null_encryption_test.rb +53 -0
- data/vendor/bundle/jruby/2.3.0/gems/rubyzip-1.1.7/test/crypto/traditional_encryption_test.rb +80 -0
- data/vendor/bundle/jruby/2.3.0/gems/rubyzip-1.1.7/test/data/WarnInvalidDate.zip +0 -0
- data/vendor/bundle/jruby/2.3.0/gems/rubyzip-1.1.7/test/data/file1.txt +46 -0
- data/vendor/bundle/jruby/2.3.0/gems/rubyzip-1.1.7/test/data/file1.txt.deflatedData +0 -0
- data/vendor/bundle/jruby/2.3.0/gems/rubyzip-1.1.7/test/data/file2.txt +1504 -0
- data/vendor/bundle/jruby/2.3.0/gems/rubyzip-1.1.7/test/data/globTest.zip +0 -0
- data/vendor/bundle/jruby/2.3.0/gems/rubyzip-1.1.7/test/data/globTest/foo.txt +0 -0
- data/vendor/bundle/jruby/2.3.0/gems/rubyzip-1.1.7/test/data/globTest/foo/bar/baz/foo.txt +0 -0
- data/vendor/bundle/jruby/2.3.0/gems/rubyzip-1.1.7/test/data/globTest/food.txt +0 -0
- data/vendor/bundle/jruby/2.3.0/gems/rubyzip-1.1.7/test/data/mimetype +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/rubyzip-1.1.7/test/data/notzippedruby.rb +7 -0
- data/vendor/bundle/jruby/2.3.0/gems/rubyzip-1.1.7/test/data/ntfs.zip +0 -0
- data/vendor/bundle/jruby/2.3.0/gems/rubyzip-1.1.7/test/data/rubycode.zip +0 -0
- data/vendor/bundle/jruby/2.3.0/gems/rubyzip-1.1.7/test/data/rubycode2.zip +0 -0
- data/vendor/bundle/jruby/2.3.0/gems/rubyzip-1.1.7/test/data/testDirectory.bin +0 -0
- data/vendor/bundle/jruby/2.3.0/gems/rubyzip-1.1.7/test/data/zip64-sample.zip +0 -0
- data/vendor/bundle/jruby/2.3.0/gems/rubyzip-1.1.7/test/data/zipWithDirs.zip +0 -0
- data/vendor/bundle/jruby/2.3.0/gems/rubyzip-1.1.7/test/data/zipWithEncryption.zip +0 -0
- data/vendor/bundle/jruby/2.3.0/gems/rubyzip-1.1.7/test/deflater_test.rb +67 -0
- data/vendor/bundle/jruby/2.3.0/gems/rubyzip-1.1.7/test/encryption_test.rb +42 -0
- data/vendor/bundle/jruby/2.3.0/gems/rubyzip-1.1.7/test/entry_set_test.rb +138 -0
- data/vendor/bundle/jruby/2.3.0/gems/rubyzip-1.1.7/test/entry_test.rb +165 -0
- data/vendor/bundle/jruby/2.3.0/gems/rubyzip-1.1.7/test/errors_test.rb +36 -0
- data/vendor/bundle/jruby/2.3.0/gems/rubyzip-1.1.7/test/extra_field_test.rb +78 -0
- data/vendor/bundle/jruby/2.3.0/gems/rubyzip-1.1.7/test/file_extract_directory_test.rb +56 -0
- data/vendor/bundle/jruby/2.3.0/gems/rubyzip-1.1.7/test/file_extract_test.rb +90 -0
- data/vendor/bundle/jruby/2.3.0/gems/rubyzip-1.1.7/test/file_split_test.rb +60 -0
- data/vendor/bundle/jruby/2.3.0/gems/rubyzip-1.1.7/test/file_test.rb +559 -0
- data/vendor/bundle/jruby/2.3.0/gems/rubyzip-1.1.7/test/filesystem/dir_iterator_test.rb +62 -0
- data/vendor/bundle/jruby/2.3.0/gems/rubyzip-1.1.7/test/filesystem/directory_test.rb +131 -0
- data/vendor/bundle/jruby/2.3.0/gems/rubyzip-1.1.7/test/filesystem/file_mutating_test.rb +100 -0
- data/vendor/bundle/jruby/2.3.0/gems/rubyzip-1.1.7/test/filesystem/file_nonmutating_test.rb +514 -0
- data/vendor/bundle/jruby/2.3.0/gems/rubyzip-1.1.7/test/filesystem/file_stat_test.rb +66 -0
- data/vendor/bundle/jruby/2.3.0/gems/rubyzip-1.1.7/test/gentestfiles.rb +134 -0
- data/vendor/bundle/jruby/2.3.0/gems/rubyzip-1.1.7/test/inflater_test.rb +14 -0
- data/vendor/bundle/jruby/2.3.0/gems/rubyzip-1.1.7/test/input_stream_test.rb +170 -0
- data/vendor/bundle/jruby/2.3.0/gems/rubyzip-1.1.7/test/ioextras/abstract_input_stream_test.rb +103 -0
- data/vendor/bundle/jruby/2.3.0/gems/rubyzip-1.1.7/test/ioextras/abstract_output_stream_test.rb +106 -0
- data/vendor/bundle/jruby/2.3.0/gems/rubyzip-1.1.7/test/ioextras/fake_io_test.rb +18 -0
- data/vendor/bundle/jruby/2.3.0/gems/rubyzip-1.1.7/test/local_entry_test.rb +156 -0
- data/vendor/bundle/jruby/2.3.0/gems/rubyzip-1.1.7/test/output_stream_test.rb +129 -0
- data/vendor/bundle/jruby/2.3.0/gems/rubyzip-1.1.7/test/pass_thru_compressor_test.rb +31 -0
- data/vendor/bundle/jruby/2.3.0/gems/rubyzip-1.1.7/test/pass_thru_decompressor_test.rb +15 -0
- data/vendor/bundle/jruby/2.3.0/gems/rubyzip-1.1.7/test/settings_test.rb +92 -0
- data/vendor/bundle/jruby/2.3.0/gems/rubyzip-1.1.7/test/test_helper.rb +228 -0
- data/vendor/bundle/jruby/2.3.0/gems/rubyzip-1.1.7/test/unicode_file_names_and_comments_test.rb +52 -0
- data/vendor/bundle/jruby/2.3.0/gems/rubyzip-1.1.7/test/zip64_full_test.rb +53 -0
- data/vendor/bundle/jruby/2.3.0/gems/rubyzip-1.1.7/test/zip64_support_test.rb +15 -0
- data/vendor/bundle/jruby/2.3.0/gems/sinatra-1.4.7/AUTHORS.md +80 -0
- data/vendor/bundle/jruby/2.3.0/gems/sinatra-1.4.7/CHANGELOG.md +1339 -0
- data/vendor/bundle/jruby/2.3.0/gems/sinatra-1.4.7/CONTRIBUTING.md +100 -0
- data/vendor/bundle/jruby/2.3.0/gems/sinatra-1.4.7/Gemfile +76 -0
- data/vendor/bundle/jruby/2.3.0/gems/sinatra-1.4.7/LICENSE +23 -0
- data/vendor/bundle/jruby/2.3.0/gems/sinatra-1.4.7/README.de.md +3031 -0
- data/vendor/bundle/jruby/2.3.0/gems/sinatra-1.4.7/README.es.md +2821 -0
- data/vendor/bundle/jruby/2.3.0/gems/sinatra-1.4.7/README.fr.md +3014 -0
- data/vendor/bundle/jruby/2.3.0/gems/sinatra-1.4.7/README.hu.md +694 -0
- data/vendor/bundle/jruby/2.3.0/gems/sinatra-1.4.7/README.ja.md +2756 -0
- data/vendor/bundle/jruby/2.3.0/gems/sinatra-1.4.7/README.ko.md +2967 -0
- data/vendor/bundle/jruby/2.3.0/gems/sinatra-1.4.7/README.md +3043 -0
- data/vendor/bundle/jruby/2.3.0/gems/sinatra-1.4.7/README.pt-br.md +1760 -0
- data/vendor/bundle/jruby/2.3.0/gems/sinatra-1.4.7/README.pt-pt.md +791 -0
- data/vendor/bundle/jruby/2.3.0/gems/sinatra-1.4.7/README.ru.md +2958 -0
- data/vendor/bundle/jruby/2.3.0/gems/sinatra-1.4.7/README.zh.md +2872 -0
- data/vendor/bundle/jruby/2.3.0/gems/sinatra-1.4.7/Rakefile +199 -0
- data/vendor/bundle/jruby/2.3.0/gems/sinatra-1.4.7/examples/chat.rb +61 -0
- data/vendor/bundle/jruby/2.3.0/gems/sinatra-1.4.7/examples/simple.rb +3 -0
- data/vendor/bundle/jruby/2.3.0/gems/sinatra-1.4.7/examples/stream.ru +26 -0
- data/vendor/bundle/jruby/2.3.0/gems/sinatra-1.4.7/lib/sinatra.rb +3 -0
- data/vendor/bundle/jruby/2.3.0/gems/sinatra-1.4.7/lib/sinatra/base.rb +2042 -0
- data/vendor/bundle/jruby/2.3.0/gems/sinatra-1.4.7/lib/sinatra/ext.rb +17 -0
- data/vendor/bundle/jruby/2.3.0/gems/sinatra-1.4.7/lib/sinatra/images/404.png +0 -0
- data/vendor/bundle/jruby/2.3.0/gems/sinatra-1.4.7/lib/sinatra/images/500.png +0 -0
- data/vendor/bundle/jruby/2.3.0/gems/sinatra-1.4.7/lib/sinatra/main.rb +34 -0
- data/vendor/bundle/jruby/2.3.0/gems/sinatra-1.4.7/lib/sinatra/show_exceptions.rb +357 -0
- data/vendor/bundle/jruby/2.3.0/gems/sinatra-1.4.7/lib/sinatra/version.rb +3 -0
- data/vendor/bundle/jruby/2.3.0/gems/sinatra-1.4.7/sinatra.gemspec +19 -0
- data/vendor/bundle/jruby/2.3.0/gems/sinatra-1.4.7/test/asciidoctor_test.rb +72 -0
- data/vendor/bundle/jruby/2.3.0/gems/sinatra-1.4.7/test/base_test.rb +167 -0
- data/vendor/bundle/jruby/2.3.0/gems/sinatra-1.4.7/test/builder_test.rb +91 -0
- data/vendor/bundle/jruby/2.3.0/gems/sinatra-1.4.7/test/coffee_test.rb +96 -0
- data/vendor/bundle/jruby/2.3.0/gems/sinatra-1.4.7/test/compile_test.rb +183 -0
- data/vendor/bundle/jruby/2.3.0/gems/sinatra-1.4.7/test/contest.rb +91 -0
- data/vendor/bundle/jruby/2.3.0/gems/sinatra-1.4.7/test/creole_test.rb +65 -0
- data/vendor/bundle/jruby/2.3.0/gems/sinatra-1.4.7/test/delegator_test.rb +160 -0
- data/vendor/bundle/jruby/2.3.0/gems/sinatra-1.4.7/test/encoding_test.rb +20 -0
- data/vendor/bundle/jruby/2.3.0/gems/sinatra-1.4.7/test/erb_test.rb +116 -0
- data/vendor/bundle/jruby/2.3.0/gems/sinatra-1.4.7/test/extensions_test.rb +98 -0
- data/vendor/bundle/jruby/2.3.0/gems/sinatra-1.4.7/test/filter_test.rb +487 -0
- data/vendor/bundle/jruby/2.3.0/gems/sinatra-1.4.7/test/haml_test.rb +109 -0
- data/vendor/bundle/jruby/2.3.0/gems/sinatra-1.4.7/test/helper.rb +132 -0
- data/vendor/bundle/jruby/2.3.0/gems/sinatra-1.4.7/test/helpers_test.rb +1917 -0
- data/vendor/bundle/jruby/2.3.0/gems/sinatra-1.4.7/test/integration/app.rb +79 -0
- data/vendor/bundle/jruby/2.3.0/gems/sinatra-1.4.7/test/integration_helper.rb +236 -0
- data/vendor/bundle/jruby/2.3.0/gems/sinatra-1.4.7/test/integration_test.rb +104 -0
- data/vendor/bundle/jruby/2.3.0/gems/sinatra-1.4.7/test/less_test.rb +69 -0
- data/vendor/bundle/jruby/2.3.0/gems/sinatra-1.4.7/test/liquid_test.rb +77 -0
- data/vendor/bundle/jruby/2.3.0/gems/sinatra-1.4.7/test/mapped_error_test.rb +285 -0
- data/vendor/bundle/jruby/2.3.0/gems/sinatra-1.4.7/test/markaby_test.rb +80 -0
- data/vendor/bundle/jruby/2.3.0/gems/sinatra-1.4.7/test/markdown_test.rb +85 -0
- data/vendor/bundle/jruby/2.3.0/gems/sinatra-1.4.7/test/mediawiki_test.rb +68 -0
- data/vendor/bundle/jruby/2.3.0/gems/sinatra-1.4.7/test/middleware_test.rb +68 -0
- data/vendor/bundle/jruby/2.3.0/gems/sinatra-1.4.7/test/nokogiri_test.rb +67 -0
- data/vendor/bundle/jruby/2.3.0/gems/sinatra-1.4.7/test/public/favicon.ico +0 -0
- data/vendor/bundle/jruby/2.3.0/gems/sinatra-1.4.7/test/public/hello+world.txt +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/sinatra-1.4.7/test/rabl_test.rb +89 -0
- data/vendor/bundle/jruby/2.3.0/gems/sinatra-1.4.7/test/rack_test.rb +45 -0
- data/vendor/bundle/jruby/2.3.0/gems/sinatra-1.4.7/test/radius_test.rb +59 -0
- data/vendor/bundle/jruby/2.3.0/gems/sinatra-1.4.7/test/rdoc_test.rb +66 -0
- data/vendor/bundle/jruby/2.3.0/gems/sinatra-1.4.7/test/readme_test.rb +130 -0
- data/vendor/bundle/jruby/2.3.0/gems/sinatra-1.4.7/test/request_test.rb +100 -0
- data/vendor/bundle/jruby/2.3.0/gems/sinatra-1.4.7/test/response_test.rb +63 -0
- data/vendor/bundle/jruby/2.3.0/gems/sinatra-1.4.7/test/result_test.rb +76 -0
- data/vendor/bundle/jruby/2.3.0/gems/sinatra-1.4.7/test/route_added_hook_test.rb +59 -0
- data/vendor/bundle/jruby/2.3.0/gems/sinatra-1.4.7/test/routing_test.rb +1456 -0
- data/vendor/bundle/jruby/2.3.0/gems/sinatra-1.4.7/test/sass_test.rb +115 -0
- data/vendor/bundle/jruby/2.3.0/gems/sinatra-1.4.7/test/scss_test.rb +88 -0
- data/vendor/bundle/jruby/2.3.0/gems/sinatra-1.4.7/test/server_test.rb +56 -0
- data/vendor/bundle/jruby/2.3.0/gems/sinatra-1.4.7/test/settings_test.rb +582 -0
- data/vendor/bundle/jruby/2.3.0/gems/sinatra-1.4.7/test/sinatra_test.rb +12 -0
- data/vendor/bundle/jruby/2.3.0/gems/sinatra-1.4.7/test/slim_test.rb +102 -0
- data/vendor/bundle/jruby/2.3.0/gems/sinatra-1.4.7/test/static_test.rb +266 -0
- data/vendor/bundle/jruby/2.3.0/gems/sinatra-1.4.7/test/streaming_test.rb +149 -0
- data/vendor/bundle/jruby/2.3.0/gems/sinatra-1.4.7/test/stylus_test.rb +90 -0
- data/vendor/bundle/jruby/2.3.0/gems/sinatra-1.4.7/test/templates_test.rb +382 -0
- data/vendor/bundle/jruby/2.3.0/gems/sinatra-1.4.7/test/textile_test.rb +65 -0
- data/vendor/bundle/jruby/2.3.0/gems/sinatra-1.4.7/test/views/a/in_a.str +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/sinatra-1.4.7/test/views/ascii.erb +2 -0
- data/vendor/bundle/jruby/2.3.0/gems/sinatra-1.4.7/test/views/b/in_b.str +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/sinatra-1.4.7/test/views/calc.html.erb +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/sinatra-1.4.7/test/views/error.builder +3 -0
- data/vendor/bundle/jruby/2.3.0/gems/sinatra-1.4.7/test/views/error.erb +3 -0
- data/vendor/bundle/jruby/2.3.0/gems/sinatra-1.4.7/test/views/error.haml +3 -0
- data/vendor/bundle/jruby/2.3.0/gems/sinatra-1.4.7/test/views/error.sass +2 -0
- data/vendor/bundle/jruby/2.3.0/gems/sinatra-1.4.7/test/views/explicitly_nested.str +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/sinatra-1.4.7/test/views/foo/hello.test +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/sinatra-1.4.7/test/views/hello.asciidoc +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/sinatra-1.4.7/test/views/hello.builder +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/sinatra-1.4.7/test/views/hello.coffee +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/sinatra-1.4.7/test/views/hello.creole +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/sinatra-1.4.7/test/views/hello.erb +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/sinatra-1.4.7/test/views/hello.haml +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/sinatra-1.4.7/test/views/hello.less +5 -0
- data/vendor/bundle/jruby/2.3.0/gems/sinatra-1.4.7/test/views/hello.liquid +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/sinatra-1.4.7/test/views/hello.mab +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/sinatra-1.4.7/test/views/hello.md +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/sinatra-1.4.7/test/views/hello.mediawiki +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/sinatra-1.4.7/test/views/hello.nokogiri +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/sinatra-1.4.7/test/views/hello.rabl +2 -0
- data/vendor/bundle/jruby/2.3.0/gems/sinatra-1.4.7/test/views/hello.radius +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/sinatra-1.4.7/test/views/hello.rdoc +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/sinatra-1.4.7/test/views/hello.sass +2 -0
- data/vendor/bundle/jruby/2.3.0/gems/sinatra-1.4.7/test/views/hello.scss +3 -0
- data/vendor/bundle/jruby/2.3.0/gems/sinatra-1.4.7/test/views/hello.slim +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/sinatra-1.4.7/test/views/hello.str +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/sinatra-1.4.7/test/views/hello.styl +2 -0
- data/vendor/bundle/jruby/2.3.0/gems/sinatra-1.4.7/test/views/hello.test +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/sinatra-1.4.7/test/views/hello.textile +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/sinatra-1.4.7/test/views/hello.wlang +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/sinatra-1.4.7/test/views/hello.yajl +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/sinatra-1.4.7/test/views/layout2.builder +3 -0
- data/vendor/bundle/jruby/2.3.0/gems/sinatra-1.4.7/test/views/layout2.erb +2 -0
- data/vendor/bundle/jruby/2.3.0/gems/sinatra-1.4.7/test/views/layout2.haml +2 -0
- data/vendor/bundle/jruby/2.3.0/gems/sinatra-1.4.7/test/views/layout2.liquid +2 -0
- data/vendor/bundle/jruby/2.3.0/gems/sinatra-1.4.7/test/views/layout2.mab +2 -0
- data/vendor/bundle/jruby/2.3.0/gems/sinatra-1.4.7/test/views/layout2.nokogiri +3 -0
- data/vendor/bundle/jruby/2.3.0/gems/sinatra-1.4.7/test/views/layout2.rabl +3 -0
- data/vendor/bundle/jruby/2.3.0/gems/sinatra-1.4.7/test/views/layout2.radius +2 -0
- data/vendor/bundle/jruby/2.3.0/gems/sinatra-1.4.7/test/views/layout2.slim +3 -0
- data/vendor/bundle/jruby/2.3.0/gems/sinatra-1.4.7/test/views/layout2.str +2 -0
- data/vendor/bundle/jruby/2.3.0/gems/sinatra-1.4.7/test/views/layout2.test +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/sinatra-1.4.7/test/views/layout2.wlang +2 -0
- data/vendor/bundle/jruby/2.3.0/gems/sinatra-1.4.7/test/views/nested.str +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/sinatra-1.4.7/test/views/utf8.erb +2 -0
- data/vendor/bundle/jruby/2.3.0/gems/sinatra-1.4.7/test/wlang_test.rb +87 -0
- data/vendor/bundle/jruby/2.3.0/gems/sinatra-1.4.7/test/yajl_test.rb +86 -0
- data/vendor/bundle/jruby/2.3.0/gems/slop-3.6.0/CHANGES.md +309 -0
- data/vendor/bundle/jruby/2.3.0/gems/slop-3.6.0/Gemfile +3 -0
- data/vendor/bundle/jruby/2.3.0/gems/slop-3.6.0/LICENSE +20 -0
- data/vendor/bundle/jruby/2.3.0/gems/slop-3.6.0/README.md +202 -0
- data/vendor/bundle/jruby/2.3.0/gems/slop-3.6.0/Rakefile +29 -0
- data/vendor/bundle/jruby/2.3.0/gems/slop-3.6.0/lib/slop.rb +687 -0
- data/vendor/bundle/jruby/2.3.0/gems/slop-3.6.0/lib/slop/commands.rb +196 -0
- data/vendor/bundle/jruby/2.3.0/gems/slop-3.6.0/lib/slop/option.rb +214 -0
- data/vendor/bundle/jruby/2.3.0/gems/slop-3.6.0/slop.gemspec +17 -0
- data/vendor/bundle/jruby/2.3.0/gems/slop-3.6.0/test/commands_test.rb +26 -0
- data/vendor/bundle/jruby/2.3.0/gems/slop-3.6.0/test/helper.rb +12 -0
- data/vendor/bundle/jruby/2.3.0/gems/slop-3.6.0/test/option_test.rb +145 -0
- data/vendor/bundle/jruby/2.3.0/gems/slop-3.6.0/test/slop_test.rb +518 -0
- data/vendor/bundle/jruby/2.3.0/gems/spoon-0.0.4/LICENSE +144 -0
- data/vendor/bundle/jruby/2.3.0/gems/spoon-0.0.4/examples/ls.rb +25 -0
- data/vendor/bundle/jruby/2.3.0/gems/spoon-0.0.4/examples/vi.rb +16 -0
- data/vendor/bundle/jruby/2.3.0/gems/spoon-0.0.4/lib/spoon.rb +19 -0
- data/vendor/bundle/jruby/2.3.0/gems/spoon-0.0.4/lib/spoon/unix.rb +181 -0
- data/vendor/bundle/jruby/2.3.0/gems/spoon-0.0.4/lib/spoon/windows.rb +50 -0
- data/vendor/bundle/jruby/2.3.0/gems/spoon-0.0.4/spoon.gemspec +10 -0
- data/vendor/bundle/jruby/2.3.0/gems/stud-0.0.22/CHANGELIST +0 -0
- data/vendor/bundle/jruby/2.3.0/gems/stud-0.0.22/LICENSE +14 -0
- data/vendor/bundle/jruby/2.3.0/gems/stud-0.0.22/README.md +27 -0
- data/vendor/bundle/jruby/2.3.0/gems/stud-0.0.22/lib/stud/buffer.rb +260 -0
- data/vendor/bundle/jruby/2.3.0/gems/stud-0.0.22/lib/stud/interval.rb +110 -0
- data/vendor/bundle/jruby/2.3.0/gems/stud-0.0.22/lib/stud/pool.rb +215 -0
- data/vendor/bundle/jruby/2.3.0/gems/stud-0.0.22/lib/stud/secret.rb +35 -0
- data/vendor/bundle/jruby/2.3.0/gems/stud-0.0.22/lib/stud/task.rb +64 -0
- data/vendor/bundle/jruby/2.3.0/gems/stud-0.0.22/lib/stud/temporary.rb +63 -0
- data/vendor/bundle/jruby/2.3.0/gems/stud-0.0.22/lib/stud/trap.rb +80 -0
- data/vendor/bundle/jruby/2.3.0/gems/stud-0.0.22/lib/stud/try.rb +127 -0
- data/vendor/bundle/jruby/2.3.0/gems/stud-0.0.22/lib/stud/with.rb +22 -0
- data/vendor/bundle/jruby/2.3.0/gems/thread_safe-0.3.5-java/Gemfile +17 -0
- data/vendor/bundle/jruby/2.3.0/gems/thread_safe-0.3.5-java/LICENSE +144 -0
- data/vendor/bundle/jruby/2.3.0/gems/thread_safe-0.3.5-java/README.md +56 -0
- data/vendor/bundle/jruby/2.3.0/gems/thread_safe-0.3.5-java/Rakefile +61 -0
- data/vendor/bundle/jruby/2.3.0/gems/thread_safe-0.3.5-java/examples/bench_cache.rb +35 -0
- data/vendor/bundle/jruby/2.3.0/gems/thread_safe-0.3.5-java/ext/org/jruby/ext/thread_safe/JRubyCacheBackendLibrary.java +245 -0
- data/vendor/bundle/jruby/2.3.0/gems/thread_safe-0.3.5-java/ext/org/jruby/ext/thread_safe/jsr166e/ConcurrentHashMap.java +31 -0
- data/vendor/bundle/jruby/2.3.0/gems/thread_safe-0.3.5-java/ext/org/jruby/ext/thread_safe/jsr166e/ConcurrentHashMapV8.java +3863 -0
- data/vendor/bundle/jruby/2.3.0/gems/thread_safe-0.3.5-java/ext/org/jruby/ext/thread_safe/jsr166e/LongAdder.java +203 -0
- data/vendor/bundle/jruby/2.3.0/gems/thread_safe-0.3.5-java/ext/org/jruby/ext/thread_safe/jsr166e/Striped64.java +342 -0
- data/vendor/bundle/jruby/2.3.0/gems/thread_safe-0.3.5-java/ext/org/jruby/ext/thread_safe/jsr166e/nounsafe/ConcurrentHashMapV8.java +3800 -0
- data/vendor/bundle/jruby/2.3.0/gems/thread_safe-0.3.5-java/ext/org/jruby/ext/thread_safe/jsr166e/nounsafe/LongAdder.java +204 -0
- data/vendor/bundle/jruby/2.3.0/gems/thread_safe-0.3.5-java/ext/org/jruby/ext/thread_safe/jsr166e/nounsafe/Striped64.java +291 -0
- data/vendor/bundle/jruby/2.3.0/gems/thread_safe-0.3.5-java/ext/org/jruby/ext/thread_safe/jsr166y/ThreadLocalRandom.java +199 -0
- data/vendor/bundle/jruby/2.3.0/gems/thread_safe-0.3.5-java/ext/thread_safe/JrubyCacheBackendService.java +15 -0
- data/vendor/bundle/jruby/2.3.0/gems/thread_safe-0.3.5-java/lib/thread_safe.rb +65 -0
- data/vendor/bundle/jruby/2.3.0/gems/thread_safe-0.3.5-java/lib/thread_safe/atomic_reference_cache_backend.rb +908 -0
- data/vendor/bundle/jruby/2.3.0/gems/thread_safe-0.3.5-java/lib/thread_safe/cache.rb +163 -0
- data/vendor/bundle/jruby/2.3.0/gems/thread_safe-0.3.5-java/lib/thread_safe/jruby_cache_backend.jar +0 -0
- data/vendor/bundle/jruby/2.3.0/gems/thread_safe-0.3.5-java/lib/thread_safe/mri_cache_backend.rb +69 -0
- data/vendor/bundle/jruby/2.3.0/gems/thread_safe-0.3.5-java/lib/thread_safe/non_concurrent_cache_backend.rb +135 -0
- data/vendor/bundle/jruby/2.3.0/gems/thread_safe-0.3.5-java/lib/thread_safe/synchronized_cache_backend.rb +77 -0
- data/vendor/bundle/jruby/2.3.0/gems/thread_safe-0.3.5-java/lib/thread_safe/synchronized_delegator.rb +60 -0
- data/vendor/bundle/jruby/2.3.0/gems/thread_safe-0.3.5-java/lib/thread_safe/util.rb +16 -0
- data/vendor/bundle/jruby/2.3.0/gems/thread_safe-0.3.5-java/lib/thread_safe/util/adder.rb +62 -0
- data/vendor/bundle/jruby/2.3.0/gems/thread_safe-0.3.5-java/lib/thread_safe/util/atomic_reference.rb +45 -0
- data/vendor/bundle/jruby/2.3.0/gems/thread_safe-0.3.5-java/lib/thread_safe/util/cheap_lockable.rb +106 -0
- data/vendor/bundle/jruby/2.3.0/gems/thread_safe-0.3.5-java/lib/thread_safe/util/power_of_two_tuple.rb +26 -0
- data/vendor/bundle/jruby/2.3.0/gems/thread_safe-0.3.5-java/lib/thread_safe/util/striped64.rb +222 -0
- data/vendor/bundle/jruby/2.3.0/gems/thread_safe-0.3.5-java/lib/thread_safe/util/volatile.rb +64 -0
- data/vendor/bundle/jruby/2.3.0/gems/thread_safe-0.3.5-java/lib/thread_safe/util/volatile_tuple.rb +46 -0
- data/vendor/bundle/jruby/2.3.0/gems/thread_safe-0.3.5-java/lib/thread_safe/util/xor_shift_random.rb +41 -0
- data/vendor/bundle/jruby/2.3.0/gems/thread_safe-0.3.5-java/lib/thread_safe/version.rb +21 -0
- data/vendor/bundle/jruby/2.3.0/gems/thread_safe-0.3.5-java/tasks/update_doc.rake +45 -0
- data/vendor/bundle/jruby/2.3.0/gems/thread_safe-0.3.5-java/test/src/thread_safe/SecurityManager.java +21 -0
- data/vendor/bundle/jruby/2.3.0/gems/thread_safe-0.3.5-java/test/test_array.rb +18 -0
- data/vendor/bundle/jruby/2.3.0/gems/thread_safe-0.3.5-java/test/test_cache.rb +901 -0
- data/vendor/bundle/jruby/2.3.0/gems/thread_safe-0.3.5-java/test/test_cache_loops.rb +449 -0
- data/vendor/bundle/jruby/2.3.0/gems/thread_safe-0.3.5-java/test/test_hash.rb +17 -0
- data/vendor/bundle/jruby/2.3.0/gems/thread_safe-0.3.5-java/test/test_helper.rb +134 -0
- data/vendor/bundle/jruby/2.3.0/gems/thread_safe-0.3.5-java/test/test_synchronized_delegator.rb +84 -0
- data/vendor/bundle/jruby/2.3.0/gems/thread_safe-0.3.5-java/thread_safe.gemspec +26 -0
- data/vendor/bundle/jruby/2.3.0/gems/thread_safe-0.3.5-java/yard-template/default/fulldoc/html/css/common.css +125 -0
- data/vendor/bundle/jruby/2.3.0/gems/thread_safe-0.3.5-java/yard-template/default/layout/html/footer.erb +16 -0
- data/vendor/bundle/jruby/2.3.0/gems/tilt-2.0.5/CHANGELOG.md +101 -0
- data/vendor/bundle/jruby/2.3.0/gems/tilt-2.0.5/COPYING +18 -0
- data/vendor/bundle/jruby/2.3.0/gems/tilt-2.0.5/Gemfile +67 -0
- data/vendor/bundle/jruby/2.3.0/gems/tilt-2.0.5/HACKING +16 -0
- data/vendor/bundle/jruby/2.3.0/gems/tilt-2.0.5/README.md +229 -0
- data/vendor/bundle/jruby/2.3.0/gems/tilt-2.0.5/Rakefile +105 -0
- data/vendor/bundle/jruby/2.3.0/gems/tilt-2.0.5/bin/tilt +122 -0
- data/vendor/bundle/jruby/2.3.0/gems/tilt-2.0.5/docs/TEMPLATES.md +554 -0
- data/vendor/bundle/jruby/2.3.0/gems/tilt-2.0.5/docs/common.css +14 -0
- data/vendor/bundle/jruby/2.3.0/gems/tilt-2.0.5/lib/tilt.rb +163 -0
- data/vendor/bundle/jruby/2.3.0/gems/tilt-2.0.5/lib/tilt/asciidoc.rb +27 -0
- data/vendor/bundle/jruby/2.3.0/gems/tilt-2.0.5/lib/tilt/babel.rb +16 -0
- data/vendor/bundle/jruby/2.3.0/gems/tilt-2.0.5/lib/tilt/bluecloth.rb +24 -0
- data/vendor/bundle/jruby/2.3.0/gems/tilt-2.0.5/lib/tilt/builder.rb +37 -0
- data/vendor/bundle/jruby/2.3.0/gems/tilt-2.0.5/lib/tilt/coffee.rb +58 -0
- data/vendor/bundle/jruby/2.3.0/gems/tilt-2.0.5/lib/tilt/commonmarker.rb +21 -0
- data/vendor/bundle/jruby/2.3.0/gems/tilt-2.0.5/lib/tilt/creole.rb +25 -0
- data/vendor/bundle/jruby/2.3.0/gems/tilt-2.0.5/lib/tilt/csv.rb +65 -0
- data/vendor/bundle/jruby/2.3.0/gems/tilt-2.0.5/lib/tilt/dummy.rb +3 -0
- data/vendor/bundle/jruby/2.3.0/gems/tilt-2.0.5/lib/tilt/erb.rb +57 -0
- data/vendor/bundle/jruby/2.3.0/gems/tilt-2.0.5/lib/tilt/erubis.rb +43 -0
- data/vendor/bundle/jruby/2.3.0/gems/tilt-2.0.5/lib/tilt/etanni.rb +27 -0
- data/vendor/bundle/jruby/2.3.0/gems/tilt-2.0.5/lib/tilt/haml.rb +58 -0
- data/vendor/bundle/jruby/2.3.0/gems/tilt-2.0.5/lib/tilt/kramdown.rb +25 -0
- data/vendor/bundle/jruby/2.3.0/gems/tilt-2.0.5/lib/tilt/less.rb +30 -0
- data/vendor/bundle/jruby/2.3.0/gems/tilt-2.0.5/lib/tilt/liquid.rb +38 -0
- data/vendor/bundle/jruby/2.3.0/gems/tilt-2.0.5/lib/tilt/mapping.rb +293 -0
- data/vendor/bundle/jruby/2.3.0/gems/tilt-2.0.5/lib/tilt/markaby.rb +45 -0
- data/vendor/bundle/jruby/2.3.0/gems/tilt-2.0.5/lib/tilt/maruku.rb +22 -0
- data/vendor/bundle/jruby/2.3.0/gems/tilt-2.0.5/lib/tilt/nokogiri.rb +36 -0
- data/vendor/bundle/jruby/2.3.0/gems/tilt-2.0.5/lib/tilt/pandoc.rb +49 -0
- data/vendor/bundle/jruby/2.3.0/gems/tilt-2.0.5/lib/tilt/plain.rb +16 -0
- data/vendor/bundle/jruby/2.3.0/gems/tilt-2.0.5/lib/tilt/prawn.rb +43 -0
- data/vendor/bundle/jruby/2.3.0/gems/tilt-2.0.5/lib/tilt/radius.rb +48 -0
- data/vendor/bundle/jruby/2.3.0/gems/tilt-2.0.5/lib/tilt/rdiscount.rb +39 -0
- data/vendor/bundle/jruby/2.3.0/gems/tilt-2.0.5/lib/tilt/rdoc.rb +40 -0
- data/vendor/bundle/jruby/2.3.0/gems/tilt-2.0.5/lib/tilt/redcarpet.rb +83 -0
- data/vendor/bundle/jruby/2.3.0/gems/tilt-2.0.5/lib/tilt/redcloth.rb +23 -0
- data/vendor/bundle/jruby/2.3.0/gems/tilt-2.0.5/lib/tilt/rst-pandoc.rb +18 -0
- data/vendor/bundle/jruby/2.3.0/gems/tilt-2.0.5/lib/tilt/sass.rb +41 -0
- data/vendor/bundle/jruby/2.3.0/gems/tilt-2.0.5/lib/tilt/string.rb +21 -0
- data/vendor/bundle/jruby/2.3.0/gems/tilt-2.0.5/lib/tilt/template.rb +298 -0
- data/vendor/bundle/jruby/2.3.0/gems/tilt-2.0.5/lib/tilt/typescript.rb +26 -0
- data/vendor/bundle/jruby/2.3.0/gems/tilt-2.0.5/lib/tilt/wikicloth.rb +22 -0
- data/vendor/bundle/jruby/2.3.0/gems/tilt-2.0.5/lib/tilt/yajl.rb +87 -0
- data/vendor/bundle/jruby/2.3.0/gems/tilt-2.0.5/man/index.txt +2 -0
- data/vendor/bundle/jruby/2.3.0/gems/tilt-2.0.5/man/tilt.1.ronn +59 -0
- data/vendor/bundle/jruby/2.3.0/gems/tilt-2.0.5/test/markaby/locals.mab +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/tilt-2.0.5/test/markaby/markaby.mab +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/tilt-2.0.5/test/markaby/markaby_other_static.mab +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/tilt-2.0.5/test/markaby/render_twice.mab +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/tilt-2.0.5/test/markaby/scope.mab +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/tilt-2.0.5/test/markaby/yielding.mab +2 -0
- data/vendor/bundle/jruby/2.3.0/gems/tilt-2.0.5/test/mytemplate.rb +2 -0
- data/vendor/bundle/jruby/2.3.0/gems/tilt-2.0.5/test/test_helper.rb +64 -0
- data/vendor/bundle/jruby/2.3.0/gems/tilt-2.0.5/test/tilt_asciidoctor_test.rb +50 -0
- data/vendor/bundle/jruby/2.3.0/gems/tilt-2.0.5/test/tilt_babeltemplate.rb +33 -0
- data/vendor/bundle/jruby/2.3.0/gems/tilt-2.0.5/test/tilt_blueclothtemplate_test.rb +33 -0
- data/vendor/bundle/jruby/2.3.0/gems/tilt-2.0.5/test/tilt_buildertemplate_test.rb +72 -0
- data/vendor/bundle/jruby/2.3.0/gems/tilt-2.0.5/test/tilt_cache_test.rb +43 -0
- data/vendor/bundle/jruby/2.3.0/gems/tilt-2.0.5/test/tilt_coffeescripttemplate_test.rb +141 -0
- data/vendor/bundle/jruby/2.3.0/gems/tilt-2.0.5/test/tilt_commonmarkertemplate_test.rb +20 -0
- data/vendor/bundle/jruby/2.3.0/gems/tilt-2.0.5/test/tilt_compilesite_test.rb +51 -0
- data/vendor/bundle/jruby/2.3.0/gems/tilt-2.0.5/test/tilt_creoletemplate_test.rb +24 -0
- data/vendor/bundle/jruby/2.3.0/gems/tilt-2.0.5/test/tilt_csv_test.rb +77 -0
- data/vendor/bundle/jruby/2.3.0/gems/tilt-2.0.5/test/tilt_erbtemplate_test.rb +239 -0
- data/vendor/bundle/jruby/2.3.0/gems/tilt-2.0.5/test/tilt_erubistemplate_test.rb +151 -0
- data/vendor/bundle/jruby/2.3.0/gems/tilt-2.0.5/test/tilt_etannitemplate_test.rb +174 -0
- data/vendor/bundle/jruby/2.3.0/gems/tilt-2.0.5/test/tilt_hamltemplate_test.rb +166 -0
- data/vendor/bundle/jruby/2.3.0/gems/tilt-2.0.5/test/tilt_kramdown_test.rb +20 -0
- data/vendor/bundle/jruby/2.3.0/gems/tilt-2.0.5/test/tilt_lesstemplate_test.less +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/tilt-2.0.5/test/tilt_lesstemplate_test.rb +42 -0
- data/vendor/bundle/jruby/2.3.0/gems/tilt-2.0.5/test/tilt_liquidtemplate_test.rb +78 -0
- data/vendor/bundle/jruby/2.3.0/gems/tilt-2.0.5/test/tilt_mapping_test.rb +232 -0
- data/vendor/bundle/jruby/2.3.0/gems/tilt-2.0.5/test/tilt_markaby_test.rb +88 -0
- data/vendor/bundle/jruby/2.3.0/gems/tilt-2.0.5/test/tilt_markdown_test.rb +186 -0
- data/vendor/bundle/jruby/2.3.0/gems/tilt-2.0.5/test/tilt_marukutemplate_test.rb +36 -0
- data/vendor/bundle/jruby/2.3.0/gems/tilt-2.0.5/test/tilt_metadata_test.rb +42 -0
- data/vendor/bundle/jruby/2.3.0/gems/tilt-2.0.5/test/tilt_nokogiritemplate_test.rb +87 -0
- data/vendor/bundle/jruby/2.3.0/gems/tilt-2.0.5/test/tilt_pandoctemplate_test.rb +67 -0
- data/vendor/bundle/jruby/2.3.0/gems/tilt-2.0.5/test/tilt_prawntemplate.prawn +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/tilt-2.0.5/test/tilt_prawntemplate_test.rb +75 -0
- data/vendor/bundle/jruby/2.3.0/gems/tilt-2.0.5/test/tilt_radiustemplate_test.rb +75 -0
- data/vendor/bundle/jruby/2.3.0/gems/tilt-2.0.5/test/tilt_rdiscounttemplate_test.rb +43 -0
- data/vendor/bundle/jruby/2.3.0/gems/tilt-2.0.5/test/tilt_rdoctemplate_test.rb +29 -0
- data/vendor/bundle/jruby/2.3.0/gems/tilt-2.0.5/test/tilt_redcarpettemplate_test.rb +54 -0
- data/vendor/bundle/jruby/2.3.0/gems/tilt-2.0.5/test/tilt_redclothtemplate_test.rb +36 -0
- data/vendor/bundle/jruby/2.3.0/gems/tilt-2.0.5/test/tilt_rstpandoctemplate_test.rb +32 -0
- data/vendor/bundle/jruby/2.3.0/gems/tilt-2.0.5/test/tilt_sasstemplate_test.rb +41 -0
- data/vendor/bundle/jruby/2.3.0/gems/tilt-2.0.5/test/tilt_stringtemplate_test.rb +171 -0
- data/vendor/bundle/jruby/2.3.0/gems/tilt-2.0.5/test/tilt_template_test.rb +308 -0
- data/vendor/bundle/jruby/2.3.0/gems/tilt-2.0.5/test/tilt_test.rb +60 -0
- data/vendor/bundle/jruby/2.3.0/gems/tilt-2.0.5/test/tilt_typescript_test.rb +34 -0
- data/vendor/bundle/jruby/2.3.0/gems/tilt-2.0.5/test/tilt_wikiclothtemplate_test.rb +32 -0
- data/vendor/bundle/jruby/2.3.0/gems/tilt-2.0.5/test/tilt_yajltemplate_test.rb +101 -0
- data/vendor/bundle/jruby/2.3.0/gems/tilt-2.0.5/tilt.gemspec +124 -0
- data/vendor/bundle/jruby/2.3.0/gems/treetop-1.4.15/LICENSE +19 -0
- data/vendor/bundle/jruby/2.3.0/gems/treetop-1.4.15/README.md +190 -0
- data/vendor/bundle/jruby/2.3.0/gems/treetop-1.4.15/Rakefile +64 -0
- data/vendor/bundle/jruby/2.3.0/gems/treetop-1.4.15/bin/tt +112 -0
- data/vendor/bundle/jruby/2.3.0/gems/treetop-1.4.15/doc/contributing_and_planned_features.markdown +102 -0
- data/vendor/bundle/jruby/2.3.0/gems/treetop-1.4.15/doc/grammar_composition.markdown +65 -0
- data/vendor/bundle/jruby/2.3.0/gems/treetop-1.4.15/doc/index.markdown +88 -0
- data/vendor/bundle/jruby/2.3.0/gems/treetop-1.4.15/doc/pitfalls_and_advanced_techniques.markdown +51 -0
- data/vendor/bundle/jruby/2.3.0/gems/treetop-1.4.15/doc/semantic_interpretation.markdown +218 -0
- data/vendor/bundle/jruby/2.3.0/gems/treetop-1.4.15/doc/site.rb +112 -0
- data/vendor/bundle/jruby/2.3.0/gems/treetop-1.4.15/doc/sitegen.rb +65 -0
- data/vendor/bundle/jruby/2.3.0/gems/treetop-1.4.15/doc/syntactic_recognition.markdown +215 -0
- data/vendor/bundle/jruby/2.3.0/gems/treetop-1.4.15/doc/tt.1 +83 -0
- data/vendor/bundle/jruby/2.3.0/gems/treetop-1.4.15/doc/using_in_ruby.markdown +105 -0
- data/vendor/bundle/jruby/2.3.0/gems/treetop-1.4.15/examples/lambda_calculus/arithmetic.rb +551 -0
- data/vendor/bundle/jruby/2.3.0/gems/treetop-1.4.15/examples/lambda_calculus/arithmetic.treetop +98 -0
- data/vendor/bundle/jruby/2.3.0/gems/treetop-1.4.15/examples/lambda_calculus/arithmetic_node_classes.rb +9 -0
- data/vendor/bundle/jruby/2.3.0/gems/treetop-1.4.15/examples/lambda_calculus/arithmetic_test.rb +58 -0
- data/vendor/bundle/jruby/2.3.0/gems/treetop-1.4.15/examples/lambda_calculus/lambda_calculus +0 -0
- data/vendor/bundle/jruby/2.3.0/gems/treetop-1.4.15/examples/lambda_calculus/lambda_calculus.rb +718 -0
- data/vendor/bundle/jruby/2.3.0/gems/treetop-1.4.15/examples/lambda_calculus/lambda_calculus.treetop +132 -0
- data/vendor/bundle/jruby/2.3.0/gems/treetop-1.4.15/examples/lambda_calculus/lambda_calculus_node_classes.rb +5 -0
- data/vendor/bundle/jruby/2.3.0/gems/treetop-1.4.15/examples/lambda_calculus/lambda_calculus_test.rb +89 -0
- data/vendor/bundle/jruby/2.3.0/gems/treetop-1.4.15/examples/lambda_calculus/test_helper.rb +18 -0
- data/vendor/bundle/jruby/2.3.0/gems/treetop-1.4.15/lib/treetop.rb +3 -0
- data/vendor/bundle/jruby/2.3.0/gems/treetop-1.4.15/lib/treetop/bootstrap_gen_1_metagrammar.rb +42 -0
- data/vendor/bundle/jruby/2.3.0/gems/treetop-1.4.15/lib/treetop/compiler.rb +7 -0
- data/vendor/bundle/jruby/2.3.0/gems/treetop-1.4.15/lib/treetop/compiler/grammar_compiler.rb +49 -0
- data/vendor/bundle/jruby/2.3.0/gems/treetop-1.4.15/lib/treetop/compiler/lexical_address_space.rb +17 -0
- data/vendor/bundle/jruby/2.3.0/gems/treetop-1.4.15/lib/treetop/compiler/metagrammar.rb +3984 -0
- data/vendor/bundle/jruby/2.3.0/gems/treetop-1.4.15/lib/treetop/compiler/metagrammar.treetop +503 -0
- data/vendor/bundle/jruby/2.3.0/gems/treetop-1.4.15/lib/treetop/compiler/node_classes.rb +19 -0
- data/vendor/bundle/jruby/2.3.0/gems/treetop-1.4.15/lib/treetop/compiler/node_classes/anything_symbol.rb +18 -0
- data/vendor/bundle/jruby/2.3.0/gems/treetop-1.4.15/lib/treetop/compiler/node_classes/atomic_expression.rb +14 -0
- data/vendor/bundle/jruby/2.3.0/gems/treetop-1.4.15/lib/treetop/compiler/node_classes/character_class.rb +28 -0
- data/vendor/bundle/jruby/2.3.0/gems/treetop-1.4.15/lib/treetop/compiler/node_classes/choice.rb +31 -0
- data/vendor/bundle/jruby/2.3.0/gems/treetop-1.4.15/lib/treetop/compiler/node_classes/declaration_sequence.rb +24 -0
- data/vendor/bundle/jruby/2.3.0/gems/treetop-1.4.15/lib/treetop/compiler/node_classes/grammar.rb +28 -0
- data/vendor/bundle/jruby/2.3.0/gems/treetop-1.4.15/lib/treetop/compiler/node_classes/inline_module.rb +27 -0
- data/vendor/bundle/jruby/2.3.0/gems/treetop-1.4.15/lib/treetop/compiler/node_classes/nonterminal.rb +13 -0
- data/vendor/bundle/jruby/2.3.0/gems/treetop-1.4.15/lib/treetop/compiler/node_classes/optional.rb +19 -0
- data/vendor/bundle/jruby/2.3.0/gems/treetop-1.4.15/lib/treetop/compiler/node_classes/parenthesized_expression.rb +9 -0
- data/vendor/bundle/jruby/2.3.0/gems/treetop-1.4.15/lib/treetop/compiler/node_classes/parsing_expression.rb +146 -0
- data/vendor/bundle/jruby/2.3.0/gems/treetop-1.4.15/lib/treetop/compiler/node_classes/parsing_rule.rb +58 -0
- data/vendor/bundle/jruby/2.3.0/gems/treetop-1.4.15/lib/treetop/compiler/node_classes/predicate.rb +45 -0
- data/vendor/bundle/jruby/2.3.0/gems/treetop-1.4.15/lib/treetop/compiler/node_classes/predicate_block.rb +16 -0
- data/vendor/bundle/jruby/2.3.0/gems/treetop-1.4.15/lib/treetop/compiler/node_classes/repetition.rb +89 -0
- data/vendor/bundle/jruby/2.3.0/gems/treetop-1.4.15/lib/treetop/compiler/node_classes/sequence.rb +71 -0
- data/vendor/bundle/jruby/2.3.0/gems/treetop-1.4.15/lib/treetop/compiler/node_classes/terminal.rb +20 -0
- data/vendor/bundle/jruby/2.3.0/gems/treetop-1.4.15/lib/treetop/compiler/node_classes/transient_prefix.rb +9 -0
- data/vendor/bundle/jruby/2.3.0/gems/treetop-1.4.15/lib/treetop/compiler/node_classes/treetop_file.rb +9 -0
- data/vendor/bundle/jruby/2.3.0/gems/treetop-1.4.15/lib/treetop/compiler/ruby_builder.rb +115 -0
- data/vendor/bundle/jruby/2.3.0/gems/treetop-1.4.15/lib/treetop/polyglot.rb +9 -0
- data/vendor/bundle/jruby/2.3.0/gems/treetop-1.4.15/lib/treetop/ruby_extensions.rb +1 -0
- data/vendor/bundle/jruby/2.3.0/gems/treetop-1.4.15/lib/treetop/ruby_extensions/string.rb +40 -0
- data/vendor/bundle/jruby/2.3.0/gems/treetop-1.4.15/lib/treetop/runtime.rb +6 -0
- data/vendor/bundle/jruby/2.3.0/gems/treetop-1.4.15/lib/treetop/runtime/compiled_parser.rb +115 -0
- data/vendor/bundle/jruby/2.3.0/gems/treetop-1.4.15/lib/treetop/runtime/interval_skip_list.rb +3 -0
- data/vendor/bundle/jruby/2.3.0/gems/treetop-1.4.15/lib/treetop/runtime/interval_skip_list/head_node.rb +15 -0
- data/vendor/bundle/jruby/2.3.0/gems/treetop-1.4.15/lib/treetop/runtime/interval_skip_list/interval_skip_list.rb +200 -0
- data/vendor/bundle/jruby/2.3.0/gems/treetop-1.4.15/lib/treetop/runtime/interval_skip_list/node.rb +164 -0
- data/vendor/bundle/jruby/2.3.0/gems/treetop-1.4.15/lib/treetop/runtime/syntax_node.rb +114 -0
- data/vendor/bundle/jruby/2.3.0/gems/treetop-1.4.15/lib/treetop/runtime/terminal_parse_failure.rb +16 -0
- data/vendor/bundle/jruby/2.3.0/gems/treetop-1.4.15/lib/treetop/runtime/terminal_syntax_node.rb +17 -0
- data/vendor/bundle/jruby/2.3.0/gems/treetop-1.4.15/lib/treetop/version.rb +9 -0
- data/vendor/bundle/jruby/2.3.0/gems/treetop-1.4.15/spec/compiler/and_predicate_spec.rb +36 -0
- data/vendor/bundle/jruby/2.3.0/gems/treetop-1.4.15/spec/compiler/anything_symbol_spec.rb +44 -0
- data/vendor/bundle/jruby/2.3.0/gems/treetop-1.4.15/spec/compiler/character_class_spec.rb +301 -0
- data/vendor/bundle/jruby/2.3.0/gems/treetop-1.4.15/spec/compiler/choice_spec.rb +80 -0
- data/vendor/bundle/jruby/2.3.0/gems/treetop-1.4.15/spec/compiler/circular_compilation_spec.rb +30 -0
- data/vendor/bundle/jruby/2.3.0/gems/treetop-1.4.15/spec/compiler/failure_propagation_functional_spec.rb +21 -0
- data/vendor/bundle/jruby/2.3.0/gems/treetop-1.4.15/spec/compiler/grammar_compiler_spec.rb +113 -0
- data/vendor/bundle/jruby/2.3.0/gems/treetop-1.4.15/spec/compiler/grammar_spec.rb +41 -0
- data/vendor/bundle/jruby/2.3.0/gems/treetop-1.4.15/spec/compiler/multibyte_chars_spec.rb +38 -0
- data/vendor/bundle/jruby/2.3.0/gems/treetop-1.4.15/spec/compiler/namespace_spec.rb +42 -0
- data/vendor/bundle/jruby/2.3.0/gems/treetop-1.4.15/spec/compiler/nonterminal_symbol_spec.rb +40 -0
- data/vendor/bundle/jruby/2.3.0/gems/treetop-1.4.15/spec/compiler/not_predicate_spec.rb +38 -0
- data/vendor/bundle/jruby/2.3.0/gems/treetop-1.4.15/spec/compiler/occurrence_range_spec.rb +189 -0
- data/vendor/bundle/jruby/2.3.0/gems/treetop-1.4.15/spec/compiler/one_or_more_spec.rb +35 -0
- data/vendor/bundle/jruby/2.3.0/gems/treetop-1.4.15/spec/compiler/optional_spec.rb +37 -0
- data/vendor/bundle/jruby/2.3.0/gems/treetop-1.4.15/spec/compiler/parenthesized_expression_spec.rb +19 -0
- data/vendor/bundle/jruby/2.3.0/gems/treetop-1.4.15/spec/compiler/parsing_rule_spec.rb +61 -0
- data/vendor/bundle/jruby/2.3.0/gems/treetop-1.4.15/spec/compiler/repeated_subrule_spec.rb +29 -0
- data/vendor/bundle/jruby/2.3.0/gems/treetop-1.4.15/spec/compiler/semantic_predicate_spec.rb +175 -0
- data/vendor/bundle/jruby/2.3.0/gems/treetop-1.4.15/spec/compiler/sequence_spec.rb +129 -0
- data/vendor/bundle/jruby/2.3.0/gems/treetop-1.4.15/spec/compiler/terminal_spec.rb +81 -0
- data/vendor/bundle/jruby/2.3.0/gems/treetop-1.4.15/spec/compiler/terminal_symbol_spec.rb +37 -0
- data/vendor/bundle/jruby/2.3.0/gems/treetop-1.4.15/spec/compiler/test_grammar.treetop +7 -0
- data/vendor/bundle/jruby/2.3.0/gems/treetop-1.4.15/spec/compiler/test_grammar.tt +7 -0
- data/vendor/bundle/jruby/2.3.0/gems/treetop-1.4.15/spec/compiler/test_grammar_do.treetop +7 -0
- data/vendor/bundle/jruby/2.3.0/gems/treetop-1.4.15/spec/compiler/test_grammar_magic_coding.treetop +8 -0
- data/vendor/bundle/jruby/2.3.0/gems/treetop-1.4.15/spec/compiler/test_grammar_magic_encoding.treetop +8 -0
- data/vendor/bundle/jruby/2.3.0/gems/treetop-1.4.15/spec/compiler/tt_compiler_spec.rb +224 -0
- data/vendor/bundle/jruby/2.3.0/gems/treetop-1.4.15/spec/compiler/zero_or_more_spec.rb +56 -0
- data/vendor/bundle/jruby/2.3.0/gems/treetop-1.4.15/spec/composition/a.treetop +11 -0
- data/vendor/bundle/jruby/2.3.0/gems/treetop-1.4.15/spec/composition/b.treetop +11 -0
- data/vendor/bundle/jruby/2.3.0/gems/treetop-1.4.15/spec/composition/c.treetop +10 -0
- data/vendor/bundle/jruby/2.3.0/gems/treetop-1.4.15/spec/composition/d.treetop +10 -0
- data/vendor/bundle/jruby/2.3.0/gems/treetop-1.4.15/spec/composition/f.treetop +17 -0
- data/vendor/bundle/jruby/2.3.0/gems/treetop-1.4.15/spec/composition/grammar_composition_spec.rb +40 -0
- data/vendor/bundle/jruby/2.3.0/gems/treetop-1.4.15/spec/composition/subfolder/e_includes_c.treetop +15 -0
- data/vendor/bundle/jruby/2.3.0/gems/treetop-1.4.15/spec/ruby_extensions/string_spec.rb +32 -0
- data/vendor/bundle/jruby/2.3.0/gems/treetop-1.4.15/spec/runtime/compiled_parser_spec.rb +123 -0
- data/vendor/bundle/jruby/2.3.0/gems/treetop-1.4.15/spec/runtime/interval_skip_list/delete_spec.rb +147 -0
- data/vendor/bundle/jruby/2.3.0/gems/treetop-1.4.15/spec/runtime/interval_skip_list/expire_range_spec.rb +349 -0
- data/vendor/bundle/jruby/2.3.0/gems/treetop-1.4.15/spec/runtime/interval_skip_list/insert_and_delete_node_spec.rb +385 -0
- data/vendor/bundle/jruby/2.3.0/gems/treetop-1.4.15/spec/runtime/interval_skip_list/insert_spec.rb +660 -0
- data/vendor/bundle/jruby/2.3.0/gems/treetop-1.4.15/spec/runtime/interval_skip_list/interval_skip_list_spec.graffle +6175 -0
- data/vendor/bundle/jruby/2.3.0/gems/treetop-1.4.15/spec/runtime/interval_skip_list/interval_skip_list_spec.rb +58 -0
- data/vendor/bundle/jruby/2.3.0/gems/treetop-1.4.15/spec/runtime/interval_skip_list/palindromic_fixture.rb +35 -0
- data/vendor/bundle/jruby/2.3.0/gems/treetop-1.4.15/spec/runtime/interval_skip_list/palindromic_fixture_spec.rb +163 -0
- data/vendor/bundle/jruby/2.3.0/gems/treetop-1.4.15/spec/runtime/interval_skip_list/spec_helper.rb +91 -0
- data/vendor/bundle/jruby/2.3.0/gems/treetop-1.4.15/spec/runtime/syntax_node_spec.rb +77 -0
- data/vendor/bundle/jruby/2.3.0/gems/treetop-1.4.15/spec/spec_helper.rb +115 -0
- data/vendor/bundle/jruby/2.3.0/gems/treetop-1.4.15/treetop.gemspec +176 -0
- data/vendor/bundle/jruby/2.3.0/specifications/chronic_duration-0.10.6.gemspec +38 -0
- data/vendor/bundle/jruby/2.3.0/specifications/clamp-0.6.5.gemspec +20 -0
- data/vendor/bundle/jruby/2.3.0/specifications/coderay-1.1.1.gemspec +26 -0
- data/vendor/bundle/jruby/2.3.0/specifications/concurrent-ruby-1.0.0-java.gemspec +24 -0
- data/vendor/bundle/jruby/2.3.0/specifications/diff-lcs-1.2.5.gemspec +68 -0
- data/vendor/bundle/jruby/2.3.0/specifications/ffi-1.9.14-java.gemspec +21 -0
- data/vendor/bundle/jruby/2.3.0/specifications/filesize-0.0.4.gemspec +35 -0
- data/vendor/bundle/jruby/2.3.0/specifications/fivemat-1.3.2.gemspec +19 -0
- data/vendor/bundle/jruby/2.3.0/specifications/gem_publisher-1.5.0.gemspec +37 -0
- data/vendor/bundle/jruby/2.3.0/specifications/gems-0.8.3.gemspec +33 -0
- data/vendor/bundle/jruby/2.3.0/specifications/i18n-0.6.9.gemspec +42 -0
- data/vendor/bundle/jruby/2.3.0/specifications/insist-1.0.0.gemspec +0 -0
- data/vendor/bundle/jruby/2.3.0/specifications/jrjackson-0.4.0-java.gemspec +40 -0
- data/vendor/bundle/jruby/2.3.0/specifications/jrmonitor-0.4.2.gemspec +0 -0
- data/vendor/bundle/jruby/2.3.0/specifications/jruby-openssl-0.9.16-java.gemspec +40 -0
- data/vendor/bundle/jruby/2.3.0/specifications/kramdown-1.12.0.gemspec +56 -0
- data/vendor/bundle/jruby/2.3.0/specifications/logstash-core-5.0.0.alpha6.snapshot5-java.gemspec +0 -0
- data/vendor/bundle/jruby/2.3.0/specifications/logstash-core-event-java-5.0.0.alpha6.snapshot5-java.gemspec +37 -0
- data/vendor/bundle/jruby/2.3.0/specifications/logstash-core-plugin-api-2.1.15-java.gemspec +33 -0
- data/vendor/bundle/jruby/2.3.0/specifications/logstash-devutils-1.0.2-java.gemspec +0 -0
- data/vendor/bundle/jruby/2.3.0/specifications/method_source-0.8.2.gemspec +34 -0
- data/vendor/bundle/jruby/2.3.0/specifications/minitar-0.5.4.gemspec +25 -0
- data/vendor/bundle/jruby/2.3.0/specifications/numerizer-0.1.1.gemspec +22 -0
- data/vendor/bundle/jruby/2.3.0/specifications/polyglot-0.3.5.gemspec +22 -0
- data/vendor/bundle/jruby/2.3.0/specifications/pry-0.10.4-java.gemspec +47 -0
- data/vendor/bundle/jruby/2.3.0/specifications/puma-2.16.0-java.gemspec +47 -0
- data/vendor/bundle/jruby/2.3.0/specifications/rack-1.6.4.gemspec +39 -0
- data/vendor/bundle/jruby/2.3.0/specifications/rack-protection-1.5.3.gemspec +38 -0
- data/vendor/bundle/jruby/2.3.0/specifications/rake-11.2.2.gemspec +43 -0
- data/vendor/bundle/jruby/2.3.0/specifications/rspec-3.5.0.gemspec +42 -0
- data/vendor/bundle/jruby/2.3.0/specifications/rspec-core-3.5.3.gemspec +62 -0
- data/vendor/bundle/jruby/2.3.0/specifications/rspec-expectations-3.5.0.gemspec +50 -0
- data/vendor/bundle/jruby/2.3.0/specifications/rspec-mocks-3.5.0.gemspec +50 -0
- data/vendor/bundle/jruby/2.3.0/specifications/rspec-support-3.5.0.gemspec +41 -0
- data/vendor/bundle/jruby/2.3.0/specifications/rspec-wait-0.0.9.gemspec +38 -0
- data/vendor/bundle/jruby/2.3.0/specifications/ruby-maven-3.3.12.gemspec +41 -0
- data/vendor/bundle/jruby/2.3.0/specifications/ruby-maven-libs-3.3.9.gemspec +22 -0
- data/vendor/bundle/jruby/2.3.0/specifications/rubyzip-1.1.7.gemspec +47 -0
- data/vendor/bundle/jruby/2.3.0/specifications/sinatra-1.4.7.gemspec +41 -0
- data/vendor/bundle/jruby/2.3.0/specifications/slop-3.6.0.gemspec +36 -0
- data/vendor/bundle/jruby/2.3.0/specifications/spoon-0.0.4.gemspec +29 -0
- data/vendor/bundle/jruby/2.3.0/specifications/stud-0.0.22.gemspec +0 -0
- data/vendor/bundle/jruby/2.3.0/specifications/thread_safe-0.3.5-java.gemspec +39 -0
- data/vendor/bundle/jruby/2.3.0/specifications/tilt-2.0.5.gemspec +23 -0
- data/vendor/bundle/jruby/2.3.0/specifications/treetop-1.4.15.gemspec +56 -0
- metadata +3023 -0
@@ -0,0 +1,100 @@
|
|
1
|
+
# Contribute
|
2
|
+
|
3
|
+
Want to show Sinatra some love? Help out by contributing!
|
4
|
+
|
5
|
+
## Found a bug?
|
6
|
+
|
7
|
+
Log it in our [issue tracker][ghi] or send a note to the [mailing list][ml].
|
8
|
+
Be sure to include all relevant information, like the versions of Sinatra and
|
9
|
+
Ruby you're using. A [gist](http://gist.github.com/) of the code that caused
|
10
|
+
the issue as well as any error messages are also very helpful.
|
11
|
+
|
12
|
+
## Need help?
|
13
|
+
|
14
|
+
The [Sinatra mailing list][ml] has over 900 subscribers, many of which are happy
|
15
|
+
to help out newbies or talk about potential feature additions. You can also
|
16
|
+
drop by the [#sinatra](irc://chat.freenode.net/#sinatra) channel on
|
17
|
+
[irc.freenode.net](http://freenode.net).
|
18
|
+
|
19
|
+
## Have a patch?
|
20
|
+
|
21
|
+
Bugs and feature requests that include patches are much more likely to
|
22
|
+
get attention. Here are some guidelines that will help ensure your patch
|
23
|
+
can be applied as quickly as possible:
|
24
|
+
|
25
|
+
1. **Use [Git](http://git-scm.com) and [GitHub](http://github.com):**
|
26
|
+
The easiest way to get setup is to fork the
|
27
|
+
[sinatra/sinatra repo](http://github.com/sinatra/sinatra/).
|
28
|
+
Or, the [sinatra.github.com repo](http://github.com/sinatra/sinatra.github.com/),
|
29
|
+
if the patch is doc related.
|
30
|
+
|
31
|
+
2. **Write unit tests:** If you add or modify functionality, it must
|
32
|
+
include unit tests. If you don't write tests, we have to, and this
|
33
|
+
can hold up acceptance of the patch.
|
34
|
+
|
35
|
+
3. **Mind the `README`:** If the patch adds or modifies a major feature,
|
36
|
+
modify the `README.md` file to reflect that. Again, if you don't
|
37
|
+
update the `README`, we have to, and this holds up acceptance.
|
38
|
+
|
39
|
+
4. **Update the change log (`CHANGELOG.md`):** The change log helps give an
|
40
|
+
overview of the changes that go into each release, and gives credit
|
41
|
+
where credit is due. We make sure that the change log is up to date
|
42
|
+
before each release, and we always appreciate it when people make
|
43
|
+
it easier to get the release out the door.
|
44
|
+
|
45
|
+
5. **Push it:** Once you're ready, push your changes to a topic branch
|
46
|
+
and add a note to the ticket with the URL to your branch. Or, say
|
47
|
+
something like, "you can find the patch on johndoe/foobranch". We also
|
48
|
+
gladly accept GitHub [pull requests](http://help.github.com/pull-requests/).
|
49
|
+
|
50
|
+
__NOTE:__ _We will take whatever we can get._ If you prefer to attach diffs in
|
51
|
+
emails to the mailing list, that's fine; but do know that _someone_ will need
|
52
|
+
to take the diff through the process described above and this can hold things
|
53
|
+
up considerably.
|
54
|
+
|
55
|
+
## Want to write docs?
|
56
|
+
|
57
|
+
The process for contributing to Sinatra's website, documentation or the book
|
58
|
+
is the same as contributing code. We use Git for versions control and GitHub to
|
59
|
+
track patch requests.
|
60
|
+
|
61
|
+
* [The sinatra.github.com repo](http://github.com/sinatra/sinatra.github.com/)
|
62
|
+
is where the website sources are managed. There are almost always people in
|
63
|
+
`#sinatra` that are happy to discuss, apply, and publish website patches.
|
64
|
+
|
65
|
+
* [The Book](http://sinatra-book.gittr.com/) has its own [Git
|
66
|
+
repository](http://github.com/sinatra/sinatra-book/) and build process but is
|
67
|
+
managed the same as the website and project codebase.
|
68
|
+
|
69
|
+
* [Sinatra Recipes](http://recipes.sinatrarb.com/) is a community
|
70
|
+
project where anyone is free to contribute ideas, recipes and tutorials. Which
|
71
|
+
also has its own [Git repository](http://github.com/sinatra/sinatra-recipes).
|
72
|
+
|
73
|
+
* [The Introduction](http://www.sinatrarb.com/intro.html) is generated from
|
74
|
+
Sinatra's [README file](http://github.com/sinatra/sinatra/blob/master/README.md).
|
75
|
+
|
76
|
+
* If you want to help translating the documentation, the README is already
|
77
|
+
available in
|
78
|
+
[Japanese](http://github.com/sinatra/sinatra/blob/master/README.ja.md),
|
79
|
+
[German](http://github.com/sinatra/sinatra/blob/master/README.de.md),
|
80
|
+
[Chinese](https://github.com/sinatra/sinatra/blob/master/README.zh.md),
|
81
|
+
[Russian](https://github.com/sinatra/sinatra/blob/master/README.ru.md),
|
82
|
+
[European](https://github.com/sinatra/sinatra/blob/master/README.pt-pt.md) and
|
83
|
+
[Brazilian](https://github.com/sinatra/sinatra/blob/master/README.pt-br.md)
|
84
|
+
Portuguese,
|
85
|
+
[French](https://github.com/sinatra/sinatra/blob/master/README.fr.md),
|
86
|
+
[Spanish](https://github.com/sinatra/sinatra/blob/master/README.es.md),
|
87
|
+
[Korean](https://github.com/sinatra/sinatra/blob/master/README.ko.md), and
|
88
|
+
[Hungarian](https://github.com/sinatra/sinatra/blob/master/README.hu.md).
|
89
|
+
The translations tend to fall behind the English version. Translations into
|
90
|
+
other languages would also be appreciated.
|
91
|
+
|
92
|
+
## Looking for something to do?
|
93
|
+
|
94
|
+
If you'd like to help out but aren't sure how, pick something that looks
|
95
|
+
interesting from the [issues][ghi] list and hack on. Make sure to leave a
|
96
|
+
comment on the ticket noting that you're investigating (a simple "Taking…" is
|
97
|
+
fine).
|
98
|
+
|
99
|
+
[ghi]: http://github.com/sinatra/sinatra/issues
|
100
|
+
[ml]: http://groups.google.com/group/sinatrarb/topics "Sinatra Mailing List"
|
@@ -0,0 +1,76 @@
|
|
1
|
+
# Why use bundler?
|
2
|
+
# Well, not all development dependencies install on all rubies. Moreover, `gem
|
3
|
+
# install sinatra --development` doesn't work, as it will also try to install
|
4
|
+
# development dependencies of our dependencies, and those are not conflict free.
|
5
|
+
# So, here we are, `bundle install`.
|
6
|
+
#
|
7
|
+
# If you have issues with a gem: `bundle install --without-coffee-script`.
|
8
|
+
|
9
|
+
RUBY_ENGINE = 'ruby' unless defined? RUBY_ENGINE
|
10
|
+
source 'https://rubygems.org' unless ENV['QUICK']
|
11
|
+
gemspec
|
12
|
+
|
13
|
+
gem 'rake'
|
14
|
+
gem 'rack-test', '>= 0.6.2'
|
15
|
+
gem "minitest", "~> 5.0"
|
16
|
+
|
17
|
+
# Allows stuff like `tilt=1.2.2 bundle install` or `tilt=master ...`.
|
18
|
+
# Used by the CI.
|
19
|
+
repos = {'tilt' => "rtomayko/tilt", 'rack' => "rack/rack"}
|
20
|
+
|
21
|
+
%w[tilt rack].each do |lib|
|
22
|
+
dep = case ENV[lib]
|
23
|
+
when 'stable', nil then nil
|
24
|
+
when /(\d+\.)+\d+/ then "~> " + ENV[lib].sub("#{lib}-", '')
|
25
|
+
else {:github => repos[lib], :branch => dep}
|
26
|
+
end
|
27
|
+
gem lib, dep
|
28
|
+
end
|
29
|
+
|
30
|
+
if RUBY_ENGINE == 'jruby'
|
31
|
+
gem 'nokogiri', '!= 1.5.0'
|
32
|
+
gem 'jruby-openssl'
|
33
|
+
gem 'trinidad'
|
34
|
+
end
|
35
|
+
|
36
|
+
if RUBY_ENGINE == "ruby" and RUBY_VERSION > '1.9.2'
|
37
|
+
gem 'less', '~> 2.0'
|
38
|
+
gem 'therubyracer'
|
39
|
+
gem 'redcarpet'
|
40
|
+
gem 'wlang', '>= 2.0.1'
|
41
|
+
gem 'bluecloth'
|
42
|
+
gem 'rdiscount'
|
43
|
+
gem 'RedCloth'
|
44
|
+
gem 'puma'
|
45
|
+
gem 'net-http-server'
|
46
|
+
gem 'yajl-ruby'
|
47
|
+
gem 'nokogiri'
|
48
|
+
gem 'thin'
|
49
|
+
gem 'slim', '~> 2.0'
|
50
|
+
gem 'coffee-script', '>= 2.0'
|
51
|
+
gem 'rdoc'
|
52
|
+
gem 'kramdown'
|
53
|
+
gem 'maruku'
|
54
|
+
gem 'creole'
|
55
|
+
gem 'wikicloth'
|
56
|
+
gem 'markaby'
|
57
|
+
gem 'radius'
|
58
|
+
gem 'asciidoctor'
|
59
|
+
gem 'liquid'
|
60
|
+
gem 'stylus'
|
61
|
+
gem 'rabl'
|
62
|
+
gem 'builder'
|
63
|
+
gem 'erubis'
|
64
|
+
gem 'haml', '>= 3.0'
|
65
|
+
gem 'sass'
|
66
|
+
end
|
67
|
+
|
68
|
+
if RUBY_ENGINE == "rbx"
|
69
|
+
gem 'json'
|
70
|
+
gem 'rubysl'
|
71
|
+
gem 'rubysl-test-unit'
|
72
|
+
end
|
73
|
+
|
74
|
+
platforms :ruby_18, :jruby do
|
75
|
+
gem 'json' unless RUBY_VERSION > '1.9' # is there a jruby but 1.8 only selector?
|
76
|
+
end
|
@@ -0,0 +1,23 @@
|
|
1
|
+
Copyright (c) 2007, 2008, 2009 Blake Mizerany
|
2
|
+
Copyright (c) 2010, 2011, 2012, 2013, 2014, 2015, 2016 Konstantin Haase
|
3
|
+
|
4
|
+
Permission is hereby granted, free of charge, to any person
|
5
|
+
obtaining a copy of this software and associated documentation
|
6
|
+
files (the "Software"), to deal in the Software without
|
7
|
+
restriction, including without limitation the rights to use,
|
8
|
+
copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the
|
10
|
+
Software is furnished to do so, subject to the following
|
11
|
+
conditions:
|
12
|
+
|
13
|
+
The above copyright notice and this permission notice shall be
|
14
|
+
included in all copies or substantial portions of the Software.
|
15
|
+
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
17
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
|
18
|
+
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
19
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
|
20
|
+
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
21
|
+
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
22
|
+
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
23
|
+
OTHER DEALINGS IN THE SOFTWARE.
|
@@ -0,0 +1,3031 @@
|
|
1
|
+
# Sinatra
|
2
|
+
|
3
|
+
*Wichtig: Dieses Dokument ist eine Übersetzung aus dem Englischen und unter
|
4
|
+
Umständen nicht auf dem aktuellen Stand (aktuell Sinatra 1.4.5).*
|
5
|
+
|
6
|
+
Sinatra ist eine
|
7
|
+
[DSL](https://de.wikipedia.org/wiki/Domänenspezifische_Sprache), die das
|
8
|
+
schnelle Erstellen von Webanwendungen in Ruby mit minimalem Aufwand
|
9
|
+
ermöglicht:
|
10
|
+
|
11
|
+
Sinatra via `rubygems` installieren:
|
12
|
+
|
13
|
+
```shell
|
14
|
+
gem install sinatra
|
15
|
+
```
|
16
|
+
|
17
|
+
Eine Datei mit dem Namen `myapp.rb` erstellen:
|
18
|
+
|
19
|
+
```ruby
|
20
|
+
require 'sinatra'
|
21
|
+
get '/' do
|
22
|
+
'Hallo Welt!'
|
23
|
+
end
|
24
|
+
```
|
25
|
+
|
26
|
+
und im gleichen Verzeichnis ausführen:
|
27
|
+
|
28
|
+
```shell
|
29
|
+
ruby myapp.rb
|
30
|
+
```
|
31
|
+
|
32
|
+
Die Seite kann nun unter [http://localhost:4567](http://localhost:4567)
|
33
|
+
aufgerufen werden.
|
34
|
+
|
35
|
+
## Inhalt
|
36
|
+
|
37
|
+
* [Sinatra](#sinatra)
|
38
|
+
* [Routen](#routen)
|
39
|
+
* [Bedingungen](#bedingungen)
|
40
|
+
* [Rückgabewerte](#rckgabewerte)
|
41
|
+
* [Eigene Routen-Muster](#eigene-routen-muster)
|
42
|
+
* [Statische Dateien](#statische-dateien)
|
43
|
+
* [Views/Templates](#viewstemplates)
|
44
|
+
* [Direkte Templates](#direkte-templates)
|
45
|
+
* [Verfügbare Templatesprachen](#verfgbare-templatesprachen)
|
46
|
+
* [Haml Templates](#haml-templates)
|
47
|
+
* [Erb Templates](#erb-templates)
|
48
|
+
* [Builder Templates](#builder-templates)
|
49
|
+
* [Nokogiri Templates](#nokogiri-templates)
|
50
|
+
* [Sass Templates](#sass-templates)
|
51
|
+
* [SCSS Templates](#scss-templates)
|
52
|
+
* [Less Templates](#less-templates)
|
53
|
+
* [Liquid Templates](#liquid-templates)
|
54
|
+
* [Markdown Templates](#markdown-templates)
|
55
|
+
* [Textile Templates](#textile-templates)
|
56
|
+
* [RDoc Templates](#rdoc-templates)
|
57
|
+
* [AsciiDoc Templates](#asciidoc-templates)
|
58
|
+
* [Radius Templates](#radius-templates)
|
59
|
+
* [Markaby Templates](#markaby-templates)
|
60
|
+
* [RABL Templates](#rabl-templates)
|
61
|
+
* [Slim Templates](#slim-templates)
|
62
|
+
* [Creole Templates](#creole-templates)
|
63
|
+
* [MediaWiki Templates](#mediawiki-templates)
|
64
|
+
* [CoffeeScript Templates](#coffeescript-templates)
|
65
|
+
* [Stylus Templates](#stylus-templates)
|
66
|
+
* [Yajl Templates](#yajl-templates)
|
67
|
+
* [WLang Templates](#wlang-templates)
|
68
|
+
* [Auf Variablen in Templates zugreifen](#auf-variablen-in-templates-zugreifen)
|
69
|
+
* [Templates mit `yield` und verschachtelte Layouts](#templates-mit-yield-und-verschachtelte-layouts)
|
70
|
+
* [Inline-Templates](#inline-templates)
|
71
|
+
* [Benannte Templates](#benannte-templates)
|
72
|
+
* [Dateiendungen zuordnen](#dateiendungen-zuordnen)
|
73
|
+
* [Eine eigene Template-Engine hinzufügen](#eine-eigene-template-engine-hinzufgen)
|
74
|
+
* [Eigene Methoden zum Aufsuchen von Templates verwenden](#eigene-methoden-zum-aufsuchen-von-templates-verwenden)
|
75
|
+
* [Filter](#filter)
|
76
|
+
* [Helfer](#helfer)
|
77
|
+
* [Sessions verwenden](#sessions-verwenden)
|
78
|
+
* [Anhalten](#anhalten)
|
79
|
+
* [Weiterspringen](#weiterspringen)
|
80
|
+
* [Eine andere Route ansteuern](#eine-andere-route-ansteuern)
|
81
|
+
* [Body, Status-Code und Header setzen](#body-status-code-und-header-setzen)
|
82
|
+
* [Response-Streams](#response-streams)
|
83
|
+
* [Logger](#logger)
|
84
|
+
* [Mime-Types](#mime-types)
|
85
|
+
* [URLs generieren](#urls-generieren)
|
86
|
+
* [Browser-Umleitung](#browser-umleitung)
|
87
|
+
* [Cache einsetzen](#cache-einsetzen)
|
88
|
+
* [Dateien versenden](#dateien-versenden)
|
89
|
+
* [Das Request-Objekt](#das-request-objekt)
|
90
|
+
* [Anhänge](#anhnge)
|
91
|
+
* [Umgang mit Datum und Zeit](#umgang-mit-datum-und-zeit)
|
92
|
+
* [Nachschlagen von Template-Dateien](#nachschlagen-von-template-dateien)
|
93
|
+
* [Konfiguration](#konfiguration)
|
94
|
+
* [Einstellung des Angriffsschutzes](#einstellung-des-angriffsschutzes)
|
95
|
+
* [Mögliche Einstellungen](#mgliche-einstellungen)
|
96
|
+
* [Umgebungen](#umgebungen)
|
97
|
+
* [Fehlerbehandlung](#fehlerbehandlung)
|
98
|
+
* [Nicht gefunden](#nicht-gefunden)
|
99
|
+
* [Fehler](#fehler)
|
100
|
+
* [Rack-Middleware](#rack-middleware)
|
101
|
+
* [Testen](#testen)
|
102
|
+
* [Sinatra::Base - Middleware, Bibliotheken und modulare Anwendungen](#sinatrabase---middleware-bibliotheken-und-modulare-anwendungen)
|
103
|
+
* [Modularer vs. klassischer Stil](#modularer-vs-klassischer-stil)
|
104
|
+
* [Eine modulare Applikation bereitstellen](#eine-modulare-applikation-bereitstellen)
|
105
|
+
* [Eine klassische Anwendung mit einer config.ru verwenden](#eine-klassische-anwendung-mit-einer-configru-verwenden)
|
106
|
+
* [Wann sollte eine config.ru-Datei verwendet werden?](#wann-sollte-eine-configru-datei-verwendet-werden)
|
107
|
+
* [Sinatra als Middleware nutzen](#sinatra-als-middleware-nutzen)
|
108
|
+
* [Dynamische Applikationserstellung](#dynamische-applikationserstellung)
|
109
|
+
* [Geltungsbereich und Bindung](#geltungsbereich-und-bindung)
|
110
|
+
* [Anwendungs- oder Klassen-Scope](#anwendungs--oder-klassen-scope)
|
111
|
+
* [Anfrage- oder Instanz-Scope](#anfrage--oder-instanz-scope)
|
112
|
+
* [Delegation-Scope](#delegation-scope)
|
113
|
+
* [Kommandozeile](#kommandozeile)
|
114
|
+
* [Multi-Threading](#multi-threading)
|
115
|
+
* [Systemanforderungen](#systemanforderungen)
|
116
|
+
* [Der neuste Stand (The Bleeding Edge)](#der-neuste-stand-the-bleeding-edge)
|
117
|
+
* [Mit Bundler](#mit-bundler)
|
118
|
+
* [Eigenes Repository](#eigenes-repository)
|
119
|
+
* [Gem erstellen](#gem-erstellen)
|
120
|
+
* [Versions-Verfahren](#versions-verfahren)
|
121
|
+
* [Mehr](#mehr)
|
122
|
+
|
123
|
+
## Routen
|
124
|
+
|
125
|
+
In Sinatra wird eine Route durch eine HTTP-Methode und ein URL-Muster definiert.
|
126
|
+
Jeder dieser Routen wird ein Ruby-Block zugeordnet:
|
127
|
+
|
128
|
+
```ruby
|
129
|
+
get '/' do
|
130
|
+
.. zeige etwas ..
|
131
|
+
end
|
132
|
+
|
133
|
+
post '/' do
|
134
|
+
.. erstelle etwas ..
|
135
|
+
end
|
136
|
+
|
137
|
+
put '/' do
|
138
|
+
.. update etwas ..
|
139
|
+
end
|
140
|
+
|
141
|
+
delete '/' do
|
142
|
+
.. entferne etwas ..
|
143
|
+
end
|
144
|
+
|
145
|
+
options '/' do
|
146
|
+
.. zeige, was wir können ..
|
147
|
+
end
|
148
|
+
|
149
|
+
link '/' do
|
150
|
+
.. verbinde etwas ..
|
151
|
+
end
|
152
|
+
|
153
|
+
unlink '/' do
|
154
|
+
.. trenne etwas ..
|
155
|
+
end
|
156
|
+
```
|
157
|
+
|
158
|
+
Die Routen werden in der Reihenfolge durchlaufen, in der sie definiert wurden.
|
159
|
+
Das erste Routen-Muster, das mit dem Request übereinstimmt, wird ausgeführt.
|
160
|
+
|
161
|
+
Die Muster der Routen können benannte Parameter beinhalten, die über den
|
162
|
+
`params`-Hash zugänglich gemacht werden:
|
163
|
+
|
164
|
+
```ruby
|
165
|
+
get '/hallo/:name' do
|
166
|
+
# passt auf "GET /hallo/foo" und "GET /hallo/bar"
|
167
|
+
# params['name'] ist dann 'foo' oder 'bar'
|
168
|
+
"Hallo #{params['name']}!"
|
169
|
+
end
|
170
|
+
```
|
171
|
+
|
172
|
+
Man kann auf diese auch mit Block-Parametern zugreifen:
|
173
|
+
|
174
|
+
```ruby
|
175
|
+
get '/hallo/:name' do |n|
|
176
|
+
# n entspricht hier params['name']
|
177
|
+
"Hallo #{n}!"
|
178
|
+
end
|
179
|
+
```
|
180
|
+
|
181
|
+
Routen-Muster können auch mit sog. Splat- oder Wildcard-Parametern über das
|
182
|
+
`params['splat']`-Array angesprochen werden:
|
183
|
+
|
184
|
+
```ruby
|
185
|
+
get '/sag/*/zu/*' do
|
186
|
+
# passt z.B. auf /sag/hallo/zu/welt
|
187
|
+
params['splat'] # => ["hallo", "welt"]
|
188
|
+
end
|
189
|
+
|
190
|
+
get '/download/*.*' do
|
191
|
+
# passt auf /download/pfad/zu/datei.xml
|
192
|
+
params['splat'] # => ["pfad/zu/datei", "xml"]
|
193
|
+
end
|
194
|
+
```
|
195
|
+
|
196
|
+
Oder mit Block-Parametern:
|
197
|
+
|
198
|
+
```ruby
|
199
|
+
get '/download/*.*' do |pfad, endung|
|
200
|
+
[pfad, endung] # => ["Pfad/zu/Datei", "xml"]
|
201
|
+
end
|
202
|
+
```
|
203
|
+
|
204
|
+
Routen mit regulären Ausdrücken sind auch möglich:
|
205
|
+
|
206
|
+
```ruby
|
207
|
+
get /\A\/hallo\/([\w]+)\z/ do
|
208
|
+
"Hallo, #{params['captures'].first}!"
|
209
|
+
end
|
210
|
+
```
|
211
|
+
|
212
|
+
Und auch hier können Block-Parameter genutzt werden:
|
213
|
+
|
214
|
+
```ruby
|
215
|
+
get %r{/hallo/([\w]+)} do |c|
|
216
|
+
"Hallo, #{c}!"
|
217
|
+
end
|
218
|
+
```
|
219
|
+
|
220
|
+
Routen-Muster können auch mit optionalen Parametern ausgestattet werden:
|
221
|
+
|
222
|
+
```ruby
|
223
|
+
get '/posts/:format?' do
|
224
|
+
# passt auf "GET /posts/" sowie jegliche Erweiterung
|
225
|
+
# wie "GET /posts/json", "GET /posts/xml" etc.
|
226
|
+
end
|
227
|
+
```
|
228
|
+
|
229
|
+
Routen können auch den query-Parameter verwenden:
|
230
|
+
|
231
|
+
```ruby
|
232
|
+
get '/posts' do
|
233
|
+
# matches "GET /posts?title=foo&author=bar"
|
234
|
+
title = params['title']
|
235
|
+
author = params['author']
|
236
|
+
# uses title and author variables; query is optional to the /posts route
|
237
|
+
end
|
238
|
+
```
|
239
|
+
|
240
|
+
Anmerkung: Solange man den sog. Path Traversal Attack-Schutz nicht deaktiviert
|
241
|
+
(siehe weiter unten), kann es sein, dass der Request-Pfad noch vor dem
|
242
|
+
Abgleich mit den Routen modifiziert wird.
|
243
|
+
|
244
|
+
### Bedingungen
|
245
|
+
|
246
|
+
An Routen können eine Vielzahl von Bedingungen geknüpft werden, die erfüllt
|
247
|
+
sein müssen, damit der Block ausgeführt wird. Möglich wäre etwa eine
|
248
|
+
Einschränkung des User-Agents über die interne Bedingung `:agent`:
|
249
|
+
|
250
|
+
```ruby
|
251
|
+
get '/foo', :agent => /Songbird (\d\.\d)[\d\/]*?/ do
|
252
|
+
"Du verwendest Songbird Version #{params['agent'][0]}"
|
253
|
+
end
|
254
|
+
```
|
255
|
+
|
256
|
+
Wird Songbird als Browser nicht verwendet, springt Sinatra zur nächsten Route:
|
257
|
+
|
258
|
+
```ruby
|
259
|
+
get '/foo' do
|
260
|
+
# passt auf andere Browser
|
261
|
+
end
|
262
|
+
```
|
263
|
+
|
264
|
+
Andere mitgelieferte Bedingungen sind `:host_name` und `:provides`:
|
265
|
+
|
266
|
+
```ruby
|
267
|
+
get '/', :host_name => /^admin\./ do
|
268
|
+
"Adminbereich, Zugriff verweigert!"
|
269
|
+
end
|
270
|
+
|
271
|
+
get '/', :provides => 'html' do
|
272
|
+
haml :index
|
273
|
+
end
|
274
|
+
|
275
|
+
get '/', :provides => ['rss', 'atom', 'xml'] do
|
276
|
+
builder :feed
|
277
|
+
end
|
278
|
+
```
|
279
|
+
`provides` durchsucht den Accept-Header der Anfrage
|
280
|
+
|
281
|
+
Eigene Bedingungen können relativ einfach hinzugefügt werden:
|
282
|
+
|
283
|
+
```ruby
|
284
|
+
set(:wahrscheinlichkeit) { |value| condition { rand <= value } }
|
285
|
+
|
286
|
+
get '/auto_gewinnen', :wahrscheinlichkeit => 0.1 do
|
287
|
+
"Du hast gewonnen!"
|
288
|
+
end
|
289
|
+
|
290
|
+
get '/auto_gewinnen' do
|
291
|
+
"Tut mir leid, verloren."
|
292
|
+
end
|
293
|
+
```
|
294
|
+
|
295
|
+
Bei Bedingungen, die mehrere Werte annehmen können, sollte ein Splat verwendet
|
296
|
+
werden:
|
297
|
+
|
298
|
+
```ruby
|
299
|
+
set(:auth) do |*roles| # <- hier kommt der Splat ins Spiel
|
300
|
+
condition do
|
301
|
+
unless logged_in? && roles.any? {|role| current_user.in_role? role }
|
302
|
+
redirect "/login/", 303
|
303
|
+
end
|
304
|
+
end
|
305
|
+
end
|
306
|
+
|
307
|
+
get "/mein/account/", :auth => [:user, :admin] do
|
308
|
+
"Mein Account"
|
309
|
+
end
|
310
|
+
|
311
|
+
get "/nur/admin/", :auth => :admin do
|
312
|
+
"Nur Admins dürfen hier rein!"
|
313
|
+
end
|
314
|
+
```
|
315
|
+
|
316
|
+
### Rückgabewerte
|
317
|
+
|
318
|
+
Durch den Rückgabewert eines Routen-Blocks wird mindestens der Response-Body
|
319
|
+
festgelegt, der an den HTTP-Client, bzw. die nächste Rack-Middleware,
|
320
|
+
weitergegeben wird. Im Normalfall handelt es sich hierbei, wie in den
|
321
|
+
vorangehenden Beispielen zu sehen war, um einen String. Es werden allerdings
|
322
|
+
auch andere Werte akzeptiert.
|
323
|
+
|
324
|
+
Es kann jedes gültige Objekt zurückgegeben werden, bei dem es sich entweder um
|
325
|
+
einen Rack-Rückgabewert, einen Rack-Body oder einen HTTP-Status-Code handelt:
|
326
|
+
|
327
|
+
* Ein Array mit drei Elementen: `[Status (Fixnum), Headers (Hash),
|
328
|
+
Response-Body (antwortet auf #each)]`.
|
329
|
+
* Ein Array mit zwei Elementen: `[Status (Fixnum), Response-Body (antwortet
|
330
|
+
auf #each)]`.
|
331
|
+
* Ein Objekt, das auf `#each` antwortet und den an diese Methode übergebenen
|
332
|
+
Block nur mit Strings als Übergabewerte aufruft.
|
333
|
+
* Ein Fixnum, das den Status-Code festlegt.
|
334
|
+
|
335
|
+
Damit lässt sich relativ einfach Streaming implementieren:
|
336
|
+
|
337
|
+
```ruby
|
338
|
+
class Stream
|
339
|
+
def each
|
340
|
+
100.times { |i| yield "#{i}\n" }
|
341
|
+
end
|
342
|
+
end
|
343
|
+
|
344
|
+
get('/') { Stream.new }
|
345
|
+
```
|
346
|
+
|
347
|
+
Ebenso kann die `stream`-Helfer-Methode (s.u.) verwendet werden, die Streaming
|
348
|
+
direkt in die Route integriert.
|
349
|
+
|
350
|
+
### Eigene Routen-Muster
|
351
|
+
|
352
|
+
Wie oben schon beschrieben, ist Sinatra von Haus aus mit Unterstützung für
|
353
|
+
String-Muster und Reguläre Ausdrücke zum Abgleichen von Routen ausgestattet.
|
354
|
+
Das muss aber noch nicht alles sein, es können ohne großen Aufwand eigene
|
355
|
+
Routen-Muster erstellt werden:
|
356
|
+
|
357
|
+
```ruby
|
358
|
+
class AllButPattern
|
359
|
+
Match = Struct.new(:captures)
|
360
|
+
|
361
|
+
def initialize(except)
|
362
|
+
@except = except
|
363
|
+
@captures = Match.new([])
|
364
|
+
end
|
365
|
+
|
366
|
+
def match(str)
|
367
|
+
@captures unless @except === str
|
368
|
+
end
|
369
|
+
end
|
370
|
+
|
371
|
+
def all_but(pattern)
|
372
|
+
AllButPattern.new(pattern)
|
373
|
+
end
|
374
|
+
|
375
|
+
get all_but("/index") do
|
376
|
+
# ...
|
377
|
+
end
|
378
|
+
```
|
379
|
+
|
380
|
+
Beachte, dass das obige Beispiel etwas übertrieben wirkt. Es geht auch einfacher:
|
381
|
+
|
382
|
+
```ruby
|
383
|
+
get // do
|
384
|
+
pass if request.path_info == "/index"
|
385
|
+
# ...
|
386
|
+
end
|
387
|
+
```
|
388
|
+
|
389
|
+
Oder unter Verwendung eines negativen look ahead:
|
390
|
+
|
391
|
+
```ruby
|
392
|
+
get %r{^(?!/index$)} do
|
393
|
+
# ...
|
394
|
+
end
|
395
|
+
```
|
396
|
+
|
397
|
+
## Statische Dateien
|
398
|
+
|
399
|
+
Statische Dateien werden im `./public`-Ordner erwartet. Es ist möglich,
|
400
|
+
einen anderen Ort zu definieren, indem man die `:public_folder`-Option setzt:
|
401
|
+
|
402
|
+
```ruby
|
403
|
+
set :public_folder, File.dirname(__FILE__) + '/static'
|
404
|
+
```
|
405
|
+
|
406
|
+
Zu beachten ist, dass der Ordnername `public` nicht Teil der URL ist. Die Datei
|
407
|
+
`./public/css/style.css` ist unter `http://example.com/css/style.css` zu finden.
|
408
|
+
|
409
|
+
Um den `Cache-Control`-Header mit Informationen zu versorgen, verwendet man
|
410
|
+
die `:static_cache_control`-Einstellung (s.u.).
|
411
|
+
|
412
|
+
## Views/Templates
|
413
|
+
|
414
|
+
Alle Templatesprachen verwenden ihre eigene Renderingmethode, die jeweils
|
415
|
+
einen String zurückgibt:
|
416
|
+
|
417
|
+
```ruby
|
418
|
+
get '/' do
|
419
|
+
erb :index
|
420
|
+
end
|
421
|
+
```
|
422
|
+
|
423
|
+
Dieses Beispiel rendert `views/index.erb`.
|
424
|
+
|
425
|
+
Anstelle eines Templatenamens kann man auch direkt die Templatesprache verwenden:
|
426
|
+
|
427
|
+
```ruby
|
428
|
+
get '/' do
|
429
|
+
code = "<%= Time.now %>"
|
430
|
+
erb code
|
431
|
+
end
|
432
|
+
```
|
433
|
+
|
434
|
+
Templates nehmen ein zweite Argument an, den Options-Hash:
|
435
|
+
|
436
|
+
```ruby
|
437
|
+
get '/' do
|
438
|
+
erb :index, :layout => :post
|
439
|
+
end
|
440
|
+
```
|
441
|
+
|
442
|
+
Dieses Beispiel rendert `views/index.erb` eingebettet in `views/post.erb`
|
443
|
+
(Voreinstellung ist `views/layout.erb`, sofern es vorhanden ist.)
|
444
|
+
|
445
|
+
Optionen, die Sinatra nicht versteht, werden an das Template weitergereicht:
|
446
|
+
|
447
|
+
```ruby
|
448
|
+
get '/' do
|
449
|
+
haml :index, :format => :html5
|
450
|
+
end
|
451
|
+
```
|
452
|
+
|
453
|
+
Für alle Templates können auch Einstellungen, die für alle Routen gelten,
|
454
|
+
festgelegt werden:
|
455
|
+
|
456
|
+
```ruby
|
457
|
+
set :haml, :format => :html5
|
458
|
+
|
459
|
+
get '/' do
|
460
|
+
haml :index
|
461
|
+
end
|
462
|
+
```
|
463
|
+
|
464
|
+
Optionen, die an die Rendermethode weitergegeben werden, überschreiben die
|
465
|
+
Einstellungen, die mit `set` festgelegt wurden.
|
466
|
+
|
467
|
+
Einstellungen:
|
468
|
+
|
469
|
+
<dl>
|
470
|
+
<dt>locals</dt>
|
471
|
+
<dd>Liste von lokalen Variablen, die an das Dokument weitergegeben werden.
|
472
|
+
Praktisch für Partials:
|
473
|
+
|
474
|
+
<tt>erb "<%= foo %>", :locals => {:foo => "bar"}</tt></dd>
|
475
|
+
|
476
|
+
<dt>default_encoding</dt>
|
477
|
+
<dd>Gibt die Stringkodierung an, die verwendet werden soll. Voreingestellt
|
478
|
+
auf <tt>settings.default_encoding</tt>.</dd>
|
479
|
+
|
480
|
+
<dt>views</dt>
|
481
|
+
<dd>Ordner, aus dem die Templates geladen werden. Voreingestellt auf
|
482
|
+
<tt>settings.views</tt>.</dd>
|
483
|
+
|
484
|
+
<dt>layout</dt>
|
485
|
+
<dd>Legt fest, ob ein Layouttemplate verwendet werden soll oder nicht
|
486
|
+
(<tt>true</tt> oder<tt>false</tt>). Ist es ein Symbol, dann legt es fest,
|
487
|
+
welches Template als Layout verwendet wird:
|
488
|
+
|
489
|
+
<tt>erb :index, :layout => !request.xhr?</tt></dd>
|
490
|
+
|
491
|
+
<dt>content_type</dt>
|
492
|
+
<dd>Content-Typ den das Template ausgibt. Voreinstellung hängt von der
|
493
|
+
Templatesprache ab.</dd>
|
494
|
+
|
495
|
+
<dt>scope</dt>
|
496
|
+
<dd>Scope, in dem das Template gerendert wird. Liegt standardmäßig innerhalb
|
497
|
+
der App-Instanz. Wird Scope geändert, sind Instanzvariablen und
|
498
|
+
Helfermethoden nicht verfügbar.</dd>
|
499
|
+
|
500
|
+
<dt>layout_engine</dt>
|
501
|
+
<dd>Legt fest, welcher Renderer für das Layout verantwortlich ist. Hilfreich
|
502
|
+
für Sprachen, die sonst keine Templates unterstützen. Voreingestellt auf
|
503
|
+
den Renderer, der für das Template verwendet wird:
|
504
|
+
|
505
|
+
<tt>set :rdoc, :layout_engine => :erb</tt></dd>
|
506
|
+
|
507
|
+
<dt>layout_options</dt>
|
508
|
+
<dd>Besondere Einstellungen, die nur für das Rendering verwendet werden:
|
509
|
+
|
510
|
+
<tt>set :rdoc, :layout_options => { :views => 'views/layouts' }</tt></dd>
|
511
|
+
</dl>
|
512
|
+
|
513
|
+
Sinatra geht davon aus, dass die Templates sich im `./views` Verzeichnis
|
514
|
+
befinden. Es kann jedoch ein anderer Ordner festgelegt werden:
|
515
|
+
|
516
|
+
```ruby
|
517
|
+
set :views, settings.root + '/templates'
|
518
|
+
```
|
519
|
+
|
520
|
+
Es ist zu beachten, dass immer mit Symbolen auf Templates verwiesen werden muss,
|
521
|
+
auch dann, wenn sie sich in einem Unterordner befinden:
|
522
|
+
|
523
|
+
```ruby
|
524
|
+
haml :'unterverzeichnis/template'
|
525
|
+
```
|
526
|
+
|
527
|
+
Rendering-Methoden rendern jeden String direkt.
|
528
|
+
|
529
|
+
### Direkte Templates
|
530
|
+
|
531
|
+
```ruby
|
532
|
+
get '/' do
|
533
|
+
haml '%div.title Hallo Welt'
|
534
|
+
end
|
535
|
+
```
|
536
|
+
|
537
|
+
Hier wird der String direkt gerendert.
|
538
|
+
|
539
|
+
### Verfügbare Templatesprachen
|
540
|
+
|
541
|
+
Einige Sprachen haben mehrere Implementierungen. Um festzulegen, welche
|
542
|
+
verwendet wird (und dann auch Thread-sicher ist), verwendet man am besten zu
|
543
|
+
Beginn ein `'require'`:
|
544
|
+
|
545
|
+
```ruby
|
546
|
+
require 'rdiscount' # oder require 'bluecloth'
|
547
|
+
get('/') { markdown :index }
|
548
|
+
```
|
549
|
+
|
550
|
+
#### Haml Templates
|
551
|
+
|
552
|
+
<table>
|
553
|
+
<tr>
|
554
|
+
<td>Abhängigkeit</td>
|
555
|
+
<td><a href="http://haml.info/">haml</a></td>
|
556
|
+
</tr>
|
557
|
+
<tr>
|
558
|
+
<td>Dateierweiterung</td>
|
559
|
+
<td><tt>.haml</tt></td>
|
560
|
+
</tr>
|
561
|
+
<tr>
|
562
|
+
<td>Beispiel</td>
|
563
|
+
<td><tt>haml :index, :format => :html5</tt></td>
|
564
|
+
</tr>
|
565
|
+
</table>
|
566
|
+
|
567
|
+
|
568
|
+
#### Erb Templates
|
569
|
+
|
570
|
+
<table>
|
571
|
+
<tr>
|
572
|
+
<td>Abhängigkeit</td>
|
573
|
+
<td><a href="http://www.kuwata-lab.com/erubis/">erubis</a> oder erb
|
574
|
+
(Standardbibliothek von Ruby)</td>
|
575
|
+
</tr>
|
576
|
+
<tr>
|
577
|
+
<td>Dateierweiterungen</td>
|
578
|
+
<td><tt>.erb</tt>, <tt>.rhtml</tt> oder <tt>.erubis</tt> (nur Erubis)</td>
|
579
|
+
</tr>
|
580
|
+
<tr>
|
581
|
+
<td>Beispiel</td>
|
582
|
+
<td><tt>erb :index</tt></td>
|
583
|
+
</tr>
|
584
|
+
</table>
|
585
|
+
|
586
|
+
|
587
|
+
#### Builder Templates
|
588
|
+
|
589
|
+
<table>
|
590
|
+
<tr>
|
591
|
+
<td>Abhängigkeit</td>
|
592
|
+
<td><a href="https://github.com/jimweirich/builder">builder</a></td>
|
593
|
+
</tr>
|
594
|
+
<tr>
|
595
|
+
<td>Dateierweiterung</td>
|
596
|
+
<td><tt>.builder</tt></td>
|
597
|
+
</tr>
|
598
|
+
<tr>
|
599
|
+
<td>Beispiel</td>
|
600
|
+
<td><tt>builder { |xml| xml.em "Hallo" }</tt></td>
|
601
|
+
</tr>
|
602
|
+
</table>
|
603
|
+
|
604
|
+
Nimmt ebenso einen Block für Inline-Templates entgegen (siehe Beispiel).
|
605
|
+
|
606
|
+
#### Nokogiri Templates
|
607
|
+
|
608
|
+
<table>
|
609
|
+
<tr>
|
610
|
+
<td>Abhängigkeit</td>
|
611
|
+
<td><a href="http://www.nokogiri.org/">nokogiri</a></td>
|
612
|
+
</tr>
|
613
|
+
<tr>
|
614
|
+
<td>Dateierweiterung</td>
|
615
|
+
<td><tt>.nokogiri</tt></td>
|
616
|
+
</tr>
|
617
|
+
<tr>
|
618
|
+
<td>Beispiel</td>
|
619
|
+
<td><tt>nokogiri { |xml| xml.em "Hallo" }</tt></td>
|
620
|
+
</tr>
|
621
|
+
</table>
|
622
|
+
|
623
|
+
Nimmt ebenso einen Block für Inline-Templates entgegen (siehe Beispiel).
|
624
|
+
|
625
|
+
#### Sass Templates
|
626
|
+
|
627
|
+
<table>
|
628
|
+
<tr>
|
629
|
+
<td>Abhängigkeit</td>
|
630
|
+
<td><a href="http://sass-lang.com/">sass</a></td>
|
631
|
+
</tr>
|
632
|
+
<tr>
|
633
|
+
<td>Dateierweiterung</td>
|
634
|
+
<td><tt>.sass</tt></td>
|
635
|
+
</tr>
|
636
|
+
<tr>
|
637
|
+
<td>Beispiel</td>
|
638
|
+
<td><tt>sass :stylesheet, :style => :expanded</tt></td>
|
639
|
+
</tr>
|
640
|
+
</table>
|
641
|
+
|
642
|
+
|
643
|
+
#### SCSS Templates
|
644
|
+
|
645
|
+
<table>
|
646
|
+
<tr>
|
647
|
+
<td>Abhängigkeit</td>
|
648
|
+
<td><a href="http://sass-lang.com/">sass</a></td>
|
649
|
+
</tr>
|
650
|
+
<tr>
|
651
|
+
<td>Dateierweiterung</td>
|
652
|
+
<td><tt>.scss</tt></td>
|
653
|
+
</tr>
|
654
|
+
<tr>
|
655
|
+
<td>Beispiel</td>
|
656
|
+
<td><tt>scss :stylesheet, :style => :expanded</tt></td>
|
657
|
+
</tr>
|
658
|
+
</table>
|
659
|
+
|
660
|
+
|
661
|
+
#### Less Templates
|
662
|
+
|
663
|
+
<table>
|
664
|
+
<tr>
|
665
|
+
<td>Abhängigkeit</td>
|
666
|
+
<td><a href="http://lesscss.org/">less</a></td>
|
667
|
+
</tr>
|
668
|
+
<tr>
|
669
|
+
<td>Dateierweiterung</td>
|
670
|
+
<td><tt>.less</tt></td>
|
671
|
+
</tr>
|
672
|
+
<tr>
|
673
|
+
<td>Beispiel</td>
|
674
|
+
<td><tt>less :stylesheet</tt></td>
|
675
|
+
</tr>
|
676
|
+
</table>
|
677
|
+
|
678
|
+
|
679
|
+
#### Liquid Templates
|
680
|
+
|
681
|
+
<table>
|
682
|
+
<tr>
|
683
|
+
<td>Abhängigkeit</td>
|
684
|
+
<td><a href="http://liquidmarkup.org/">liquid</a></td>
|
685
|
+
</tr>
|
686
|
+
<tr>
|
687
|
+
<td>Dateierweiterung</td>
|
688
|
+
<td><tt>.liquid</tt></td>
|
689
|
+
</tr>
|
690
|
+
<tr>
|
691
|
+
<td>Beispiel</td>
|
692
|
+
<td><tt>liquid :index, :locals => { :key => 'Wert' }</tt></td>
|
693
|
+
</tr>
|
694
|
+
</table>
|
695
|
+
|
696
|
+
Da man aus dem Liquid-Template heraus keine Ruby-Methoden aufrufen kann
|
697
|
+
(ausgenommen `yield`), wird man üblicherweise locals verwenden wollen, mit
|
698
|
+
denen man Variablen weitergibt.
|
699
|
+
|
700
|
+
#### Markdown Templates
|
701
|
+
|
702
|
+
<table>
|
703
|
+
<tr>
|
704
|
+
<td>Abhängigkeit</td>
|
705
|
+
<td>Eine der folgenden Bibliotheken:
|
706
|
+
<a href="https://github.com/davidfstr/rdiscount" title="RDiscount">RDiscount</a>,
|
707
|
+
<a href="https://github.com/vmg/redcarpet" title="RedCarpet">RedCarpet</a>,
|
708
|
+
<a href="http://deveiate.org/projects/BlueCloth" title="BlueCloth">BlueCloth</a>,
|
709
|
+
<a href="http://kramdown.gettalong.org/" title="kramdown">kramdown</a> oder
|
710
|
+
<a href="https://github.com/bhollis/maruku" title="maruku">maruku</a>
|
711
|
+
</td>
|
712
|
+
</tr>
|
713
|
+
<tr>
|
714
|
+
<td>Dateierweiterungen</td>
|
715
|
+
<td><tt>.markdown</tt>, <tt>.mkd</tt> und <tt>.md</tt></td>
|
716
|
+
</tr>
|
717
|
+
<tr>
|
718
|
+
<td>Beispiel</td>
|
719
|
+
<td><tt>markdown :index, :layout_engine => :erb</tt></td>
|
720
|
+
</tr>
|
721
|
+
</table>
|
722
|
+
|
723
|
+
Da man aus den Markdown-Templates heraus keine Ruby-Methoden aufrufen und auch
|
724
|
+
keine locals verwenden kann, wird man Markdown üblicherweise in Kombination
|
725
|
+
mit anderen Renderern verwenden wollen:
|
726
|
+
|
727
|
+
```ruby
|
728
|
+
erb :overview, :locals => { :text => markdown(:einfuehrung) }
|
729
|
+
```
|
730
|
+
|
731
|
+
Beachte, dass man die `markdown`-Methode auch aus anderen Templates heraus
|
732
|
+
aufrufen kann:
|
733
|
+
|
734
|
+
```ruby
|
735
|
+
%h1 Gruß von Haml!
|
736
|
+
%p= markdown(:Grüße)
|
737
|
+
```
|
738
|
+
|
739
|
+
Da man Ruby nicht von Markdown heraus aufrufen kann, können auch Layouts nicht
|
740
|
+
in Markdown geschrieben werden. Es ist aber möglich, einen Renderer für die
|
741
|
+
Templates zu verwenden und einen anderen für das Layout, indem die
|
742
|
+
`:layout_engine`-Option verwendet wird.
|
743
|
+
|
744
|
+
#### Textile Templates
|
745
|
+
|
746
|
+
<table>
|
747
|
+
<tr>
|
748
|
+
<td>Abhängigkeit</td>
|
749
|
+
<td><a href="http://redcloth.org/">RedCloth</a></td>
|
750
|
+
</tr>
|
751
|
+
<tr>
|
752
|
+
<td>Dateierweiterung</td>
|
753
|
+
<td><tt>.textile</tt></td>
|
754
|
+
</tr>
|
755
|
+
<tr>
|
756
|
+
<td>Beispiel</td>
|
757
|
+
<td><tt>textile :index, :layout_engine => :erb</tt></td>
|
758
|
+
</tr>
|
759
|
+
</table>
|
760
|
+
|
761
|
+
Da man aus dem Textile-Template heraus keine Ruby-Methoden aufrufen und auch
|
762
|
+
keine locals verwenden kann, wird man Textile üblicherweise in Kombination mit
|
763
|
+
anderen Renderern verwenden wollen:
|
764
|
+
|
765
|
+
```ruby
|
766
|
+
erb :overview, :locals => { :text => textile(:einfuehrung) }
|
767
|
+
```
|
768
|
+
|
769
|
+
Beachte, dass man die `textile`-Methode auch aus anderen Templates heraus
|
770
|
+
aufrufen kann:
|
771
|
+
|
772
|
+
```ruby
|
773
|
+
%h1 Gruß von Haml!
|
774
|
+
%p= textile(:Grüße)
|
775
|
+
```
|
776
|
+
|
777
|
+
Da man Ruby nicht von Textile heraus aufrufen kann, können auch Layouts nicht
|
778
|
+
in Textile geschrieben werden. Es ist aber möglich, einen Renderer für die
|
779
|
+
Templates zu verwenden und einen anderen für das Layout, indem die
|
780
|
+
`:layout_engine`-Option verwendet wird.
|
781
|
+
|
782
|
+
#### RDoc Templates
|
783
|
+
|
784
|
+
<table>
|
785
|
+
<tr>
|
786
|
+
<td>Abhängigkeit</td>
|
787
|
+
<td><a href="http://rdoc.sourceforge.net/">rdoc</a></td>
|
788
|
+
</tr>
|
789
|
+
<tr>
|
790
|
+
<td>Dateierweiterung</td>
|
791
|
+
<td><tt>.rdoc</tt></td>
|
792
|
+
</tr>
|
793
|
+
<tr>
|
794
|
+
<td>Beispiel</td>
|
795
|
+
<td><tt>textile :README, :layout_engine => :erb</tt></td>
|
796
|
+
</tr>
|
797
|
+
</table>
|
798
|
+
|
799
|
+
Da man aus dem RDoc-Template heraus keine Ruby-Methoden aufrufen und auch
|
800
|
+
keine locals verwenden kann, wird man RDoc üblicherweise in Kombination mit
|
801
|
+
anderen Renderern verwenden wollen:
|
802
|
+
|
803
|
+
```ruby
|
804
|
+
erb :overview, :locals => { :text => rdoc(:einfuehrung) }
|
805
|
+
```
|
806
|
+
|
807
|
+
Beachte, dass man die `rdoc`-Methode auch aus anderen Templates heraus
|
808
|
+
aufrufen kann:
|
809
|
+
|
810
|
+
```ruby
|
811
|
+
%h1 Gruß von Haml!
|
812
|
+
%p= rdoc(:Grüße)
|
813
|
+
```
|
814
|
+
|
815
|
+
Da man Ruby nicht von RDoc heraus aufrufen kann, können auch Layouts nicht in
|
816
|
+
RDoc geschrieben werden. Es ist aber möglich, einen Renderer für die Templates
|
817
|
+
zu verwenden und einen anderen für das Layout, indem die
|
818
|
+
`:layout_engine`-Option verwendet wird.
|
819
|
+
|
820
|
+
#### AsciiDoc Templates
|
821
|
+
|
822
|
+
<table>
|
823
|
+
<tr>
|
824
|
+
<td>Abhängigkeit</td>
|
825
|
+
<td><a href="http://asciidoctor.org/" title="Asciidoctor">Asciidoctor</a></td>
|
826
|
+
</tr>
|
827
|
+
<tr>
|
828
|
+
<td>Dateierweiterungen</td>
|
829
|
+
<td><tt>.asciidoc</tt>, <tt>.adoc</tt> und <tt>.ad</tt></td>
|
830
|
+
</tr>
|
831
|
+
<tr>
|
832
|
+
<td>Beispiel</td>
|
833
|
+
<td><tt>asciidoc :README, :layout_engine => :erb</tt></td>
|
834
|
+
</tr>
|
835
|
+
</table>
|
836
|
+
|
837
|
+
Da man aus dem AsciiDoc-Template heraus keine Ruby-Methoden aufrufen kann
|
838
|
+
(ausgenommen `yield`), wird man üblicherweise locals verwenden wollen, mit
|
839
|
+
denen man Variablen weitergibt.
|
840
|
+
|
841
|
+
#### Radius Templates
|
842
|
+
|
843
|
+
<table>
|
844
|
+
<tr>
|
845
|
+
<td>Abhängigkeit</td>
|
846
|
+
<td><a href="https://github.com/jlong/radius">radius</a></td>
|
847
|
+
</tr>
|
848
|
+
<tr>
|
849
|
+
<td>Dateierweiterung</td>
|
850
|
+
<td><tt>.radius</tt></td>
|
851
|
+
</tr>
|
852
|
+
<tr>
|
853
|
+
<td>Beispiel</td>
|
854
|
+
<td><tt>radius :index, :locals => { :key => 'Wert' }</tt></td>
|
855
|
+
</tr>
|
856
|
+
</table>
|
857
|
+
|
858
|
+
Da man aus dem Radius-Template heraus keine Ruby-Methoden aufrufen kann, wird
|
859
|
+
man üblicherweise locals verwenden wollen, mit denen man Variablen weitergibt.
|
860
|
+
|
861
|
+
#### Markaby Templates
|
862
|
+
|
863
|
+
<table>
|
864
|
+
<tr>
|
865
|
+
<td>Abhängigkeit</td>
|
866
|
+
<td><a href="http://markaby.github.io/">markaby</a></td>
|
867
|
+
</tr>
|
868
|
+
<tr>
|
869
|
+
<td>Dateierweiterung</td>
|
870
|
+
<td><tt>.mab</tt></td>
|
871
|
+
</tr>
|
872
|
+
<tr>
|
873
|
+
<td>Beispiel</td>
|
874
|
+
<td><tt>markaby { h1 "Willkommen!" }</tt></td>
|
875
|
+
</tr>
|
876
|
+
</table>
|
877
|
+
|
878
|
+
Nimmt ebenso einen Block für Inline-Templates entgegen (siehe Beispiel).
|
879
|
+
|
880
|
+
#### RABL Templates
|
881
|
+
|
882
|
+
<table>
|
883
|
+
<tr>
|
884
|
+
<td>Abhängigkeit</td>
|
885
|
+
<td><a href="https://github.com/nesquena/rabl">rabl</a></td>
|
886
|
+
</tr>
|
887
|
+
<tr>
|
888
|
+
<td>Dateierweiterung</td>
|
889
|
+
<td><tt>.rabl</tt></td>
|
890
|
+
</tr>
|
891
|
+
<tr>
|
892
|
+
<td>Beispiel</td>
|
893
|
+
<td><tt>rabl :index</tt></td>
|
894
|
+
</tr>
|
895
|
+
</table>
|
896
|
+
|
897
|
+
#### Slim Templates
|
898
|
+
|
899
|
+
<table>
|
900
|
+
<tr>
|
901
|
+
<td>Abhängigkeit</td>
|
902
|
+
<td><a href="http://slim-lang.com/">slim</a></td>
|
903
|
+
</tr>
|
904
|
+
<tr>
|
905
|
+
<td>Dateierweiterung</td>
|
906
|
+
<td><tt>.slim</tt></td>
|
907
|
+
</tr>
|
908
|
+
<tr>
|
909
|
+
<td>Beispiel</td>
|
910
|
+
<td><tt>slim :index</tt></td>
|
911
|
+
</tr>
|
912
|
+
</table>
|
913
|
+
|
914
|
+
#### Creole Templates
|
915
|
+
|
916
|
+
<table>
|
917
|
+
<tr>
|
918
|
+
<td>Abhängigkeit</td>
|
919
|
+
<td><a href="https://github.com/minad/creole">creole</a></td>
|
920
|
+
</tr>
|
921
|
+
<tr>
|
922
|
+
<td>Dateierweiterung</td>
|
923
|
+
<td><tt>.creole</tt></td>
|
924
|
+
</tr>
|
925
|
+
<tr>
|
926
|
+
<td>Beispiel</td>
|
927
|
+
<td><tt>creole :wiki, :layout_engine => :erb</tt></td>
|
928
|
+
</tr>
|
929
|
+
</table>
|
930
|
+
|
931
|
+
Da man aus dem Creole-Template heraus keine Ruby-Methoden aufrufen und auch
|
932
|
+
keine locals verwenden kann, wird man Creole üblicherweise in Kombination mit
|
933
|
+
anderen Renderern verwenden wollen:
|
934
|
+
|
935
|
+
```ruby
|
936
|
+
erb :overview, :locals => { :text => creole(:einfuehrung) }
|
937
|
+
```
|
938
|
+
|
939
|
+
Beachte, dass man die `creole`-Methode auch aus anderen Templates heraus
|
940
|
+
aufrufen kann:
|
941
|
+
|
942
|
+
```ruby
|
943
|
+
%h1 Gruß von Haml!
|
944
|
+
%p= creole(:Grüße)
|
945
|
+
```
|
946
|
+
|
947
|
+
Da man Ruby nicht von Creole heraus aufrufen kann, können auch Layouts nicht in
|
948
|
+
Creole geschrieben werden. Es ist aber möglich, einen Renderer für die Templates
|
949
|
+
zu verwenden und einen anderen für das Layout, indem die `:layout_engine`-Option
|
950
|
+
verwendet wird.
|
951
|
+
|
952
|
+
#### MediaWiki Templates
|
953
|
+
|
954
|
+
<table>
|
955
|
+
<tr>
|
956
|
+
<td>Abhängigkeit</td>
|
957
|
+
<td><a href="https://github.com/nricciar/wikicloth" title="WikiCloth">WikiCloth</a></td>
|
958
|
+
</tr>
|
959
|
+
<tr>
|
960
|
+
<td>Dateierweiterungen</td>
|
961
|
+
<td><tt>.mediawiki</tt> und <tt>.mw</tt></td>
|
962
|
+
</tr>
|
963
|
+
<tr>
|
964
|
+
<td>Beispiel</td>
|
965
|
+
<td><tt>mediawiki :wiki, :layout_engine => :erb</tt></td>
|
966
|
+
</tr>
|
967
|
+
</table>
|
968
|
+
|
969
|
+
Da man aus dem Mediawiki-Template heraus keine Ruby-Methoden aufrufen und auch
|
970
|
+
keine locals verwenden kann, wird man Mediawiki üblicherweise in Kombination mit
|
971
|
+
anderen Renderern verwenden wollen:
|
972
|
+
|
973
|
+
```ruby
|
974
|
+
erb :overview, :locals => { :text => mediawiki(:introduction) }
|
975
|
+
```
|
976
|
+
|
977
|
+
Beachte: Man kann die `mediawiki`-Methode auch aus anderen Templates
|
978
|
+
heraus aufrufen:
|
979
|
+
|
980
|
+
```ruby
|
981
|
+
%h1 Grüße von Haml!
|
982
|
+
%p= mediawiki(:greetings)
|
983
|
+
```
|
984
|
+
|
985
|
+
Da man Ruby nicht von MediaWiki heraus aufrufen kann, können auch Layouts nicht
|
986
|
+
in MediaWiki geschrieben werden. Es ist aber möglich, einen Renderer für die
|
987
|
+
Templates zu verwenden und einen anderen für das Layout, indem die
|
988
|
+
`:layout_engine`-Option verwendet wird.
|
989
|
+
|
990
|
+
#### CoffeeScript Templates
|
991
|
+
|
992
|
+
<table>
|
993
|
+
<tr>
|
994
|
+
<td>Abhängigkeit</td>
|
995
|
+
<td><a href="https://github.com/josh/ruby-coffee-script">coffee-script</a>
|
996
|
+
und eine <a href="https://github.com/sstephenson/execjs/blob/master/README.md#readme">Möglichkeit JavaScript auszuführen</a>.
|
997
|
+
</td>
|
998
|
+
</tr>
|
999
|
+
<td>Dateierweiterung</td>
|
1000
|
+
<td><tt>.coffee</tt></td>
|
1001
|
+
</tr>
|
1002
|
+
<tr>
|
1003
|
+
<td>Beispiel</td>
|
1004
|
+
<td><tt>coffee :index</tt></td>
|
1005
|
+
</tr>
|
1006
|
+
</table>
|
1007
|
+
|
1008
|
+
#### Stylus Templates
|
1009
|
+
|
1010
|
+
<table>
|
1011
|
+
<tr>
|
1012
|
+
<td>Abhängigkeit</td>
|
1013
|
+
<td>
|
1014
|
+
<a href="https://github.com/forgecrafted/ruby-stylus" title="Ruby Stylus">
|
1015
|
+
Stylus
|
1016
|
+
</a> und eine Möglichkeit
|
1017
|
+
<a href="https://github.com/sstephenson/execjs/blob/master/README.md#readme" title="ExecJS">
|
1018
|
+
JavaScript auszuführen
|
1019
|
+
</a>.
|
1020
|
+
</td>
|
1021
|
+
</tr>
|
1022
|
+
<tr>
|
1023
|
+
<td>Dateierweiterung</td>
|
1024
|
+
<td><tt>.styl</tt></td>
|
1025
|
+
</tr>
|
1026
|
+
<tr>
|
1027
|
+
<td>Beispiel</td>
|
1028
|
+
<td><tt>stylus :index</tt></td>
|
1029
|
+
</tr>
|
1030
|
+
</table>
|
1031
|
+
|
1032
|
+
Um Stylus-Templates ausführen zu können, müssen `stylus` und `stylus/tilt`
|
1033
|
+
zuerst geladen werden:
|
1034
|
+
|
1035
|
+
```ruby
|
1036
|
+
require 'sinatra'
|
1037
|
+
require 'stylus'
|
1038
|
+
require 'stylus/tilt'
|
1039
|
+
|
1040
|
+
get '/' do
|
1041
|
+
stylus :example
|
1042
|
+
end
|
1043
|
+
```
|
1044
|
+
|
1045
|
+
#### Yajl Templates
|
1046
|
+
|
1047
|
+
<table>
|
1048
|
+
<tr>
|
1049
|
+
<td>Abhängigkeit</td>
|
1050
|
+
<td><a href="https://github.com/brianmario/yajl-ruby" title="yajl-ruby">yajl-ruby</a></td>
|
1051
|
+
</tr>
|
1052
|
+
<tr>
|
1053
|
+
<td>Dateierweiterung</td>
|
1054
|
+
<td><tt>.yajl</tt></td>
|
1055
|
+
</tr>
|
1056
|
+
<tr>
|
1057
|
+
<td>Beispiel</td>
|
1058
|
+
<td>
|
1059
|
+
<tt>
|
1060
|
+
yajl :index,
|
1061
|
+
:locals => { :key => 'qux' },
|
1062
|
+
:callback => 'present',
|
1063
|
+
:variable => 'resource'
|
1064
|
+
</tt>
|
1065
|
+
</td>
|
1066
|
+
</tr>
|
1067
|
+
</table>
|
1068
|
+
|
1069
|
+
Die Template-Quelle wird als Ruby-String evaluiert. Die daraus resultierende
|
1070
|
+
json Variable wird mit Hilfe von `#to_json` umgewandelt:
|
1071
|
+
|
1072
|
+
```ruby
|
1073
|
+
json = { :foo => 'bar' }
|
1074
|
+
json[:baz] = key
|
1075
|
+
```
|
1076
|
+
|
1077
|
+
Die `:callback` und `:variable` Optionen können mit dem gerenderten Objekt
|
1078
|
+
verwendet werden:
|
1079
|
+
|
1080
|
+
```javascript
|
1081
|
+
var resource = {"foo":"bar","baz":"qux"};
|
1082
|
+
present(resource);
|
1083
|
+
```
|
1084
|
+
|
1085
|
+
#### WLang Templates
|
1086
|
+
|
1087
|
+
<table>
|
1088
|
+
<tr>
|
1089
|
+
<td>Abhängigkeit</td>
|
1090
|
+
<td><a href="https://github.com/blambeau/wlang/">wlang</a></td>
|
1091
|
+
</tr>
|
1092
|
+
<tr>
|
1093
|
+
<td>Dateierweiterung</td>
|
1094
|
+
<td><tt>.wlang</tt></td>
|
1095
|
+
</tr>
|
1096
|
+
<tr>
|
1097
|
+
<td>Beispiel</td>
|
1098
|
+
<td><tt>wlang :index, :locals => { :key => 'value' }</tt></td>
|
1099
|
+
</tr>
|
1100
|
+
</table>
|
1101
|
+
|
1102
|
+
Ruby-Methoden in Wlang aufzurufen entspricht nicht den idiomatischen Vorgaben
|
1103
|
+
von Wlang, es bietet sich deshalb an, `:locals` zu verwenden. Layouts, die
|
1104
|
+
Wlang und `yield` verwenden, werden aber trotzdem unterstützt.
|
1105
|
+
|
1106
|
+
Rendert den eingebetteten Template-String.
|
1107
|
+
|
1108
|
+
### Auf Variablen in Templates zugreifen
|
1109
|
+
|
1110
|
+
Templates werden in demselben Kontext ausgeführt wie Routen. Instanzvariablen
|
1111
|
+
in Routen sind auch direkt im Template verfügbar:
|
1112
|
+
|
1113
|
+
```ruby
|
1114
|
+
get '/:id' do
|
1115
|
+
@foo = Foo.find(params['id'])
|
1116
|
+
haml '%h1= @foo.name'
|
1117
|
+
end
|
1118
|
+
```
|
1119
|
+
|
1120
|
+
Oder durch einen expliziten Hash von lokalen Variablen:
|
1121
|
+
|
1122
|
+
```ruby
|
1123
|
+
get '/:id' do
|
1124
|
+
foo = Foo.find(params['id'])
|
1125
|
+
haml '%h1= bar.name', :locals => { :bar => foo }
|
1126
|
+
end
|
1127
|
+
```
|
1128
|
+
|
1129
|
+
Dies wird typischerweise bei Verwendung von Subtemplates (partials) in anderen
|
1130
|
+
Templates eingesetzt.
|
1131
|
+
|
1132
|
+
### Templates mit `yield` und verschachtelte Layouts
|
1133
|
+
|
1134
|
+
Ein Layout ist üblicherweise ein Template, das ein `yield` aufruft. Ein solches
|
1135
|
+
Template kann entweder wie oben beschrieben über die `:template` Option
|
1136
|
+
verwendet werden oder mit einem Block gerendert werden:
|
1137
|
+
|
1138
|
+
```ruby
|
1139
|
+
erb :post, :layout => false do
|
1140
|
+
erb :index
|
1141
|
+
end
|
1142
|
+
```
|
1143
|
+
|
1144
|
+
Dieser Code entspricht weitestgehend `erb :index, :layout => :post`.
|
1145
|
+
|
1146
|
+
Blöcke an Render-Methoden weiterzugeben ist besonders bei verschachtelten
|
1147
|
+
Layouts hilfreich:
|
1148
|
+
|
1149
|
+
```ruby
|
1150
|
+
erb :main_layout, :layout => false do
|
1151
|
+
erb :admin_layout do
|
1152
|
+
erb :user
|
1153
|
+
end
|
1154
|
+
end
|
1155
|
+
```
|
1156
|
+
|
1157
|
+
Der gleiche Effekt kann auch mit weniger Code erreicht werden:
|
1158
|
+
|
1159
|
+
```ruby
|
1160
|
+
erb :admin_layout, :layout => :main_layout do
|
1161
|
+
erb :user
|
1162
|
+
end
|
1163
|
+
```
|
1164
|
+
|
1165
|
+
Zur Zeit nehmen folgende Renderer Blöcke an: `erb`, `haml`, `liquid`, `slim `
|
1166
|
+
und `wlang`.
|
1167
|
+
|
1168
|
+
Das gleich gilt auch für die allgemeine `render` Methode.
|
1169
|
+
|
1170
|
+
### Inline-Templates
|
1171
|
+
|
1172
|
+
Templates können auch am Ende der Datei definiert werden:
|
1173
|
+
|
1174
|
+
```ruby
|
1175
|
+
require 'sinatra'
|
1176
|
+
|
1177
|
+
get '/' do
|
1178
|
+
haml :index
|
1179
|
+
end
|
1180
|
+
|
1181
|
+
__END__
|
1182
|
+
|
1183
|
+
@@ layout
|
1184
|
+
%html
|
1185
|
+
= yield
|
1186
|
+
|
1187
|
+
@@ index
|
1188
|
+
%div.title Hallo Welt!!!!!
|
1189
|
+
```
|
1190
|
+
|
1191
|
+
Anmerkung: Inline-Templates, die in der Datei definiert sind, die `require
|
1192
|
+
'sinatra'` aufruft, werden automatisch geladen. Um andere Inline-Templates in
|
1193
|
+
anderen Dateien aufzurufen, muss explizit `enable :inline_templates` verwendet
|
1194
|
+
werden.
|
1195
|
+
|
1196
|
+
### Benannte Templates
|
1197
|
+
|
1198
|
+
Templates können auch mit der Top-Level `template`-Methode definiert werden:
|
1199
|
+
|
1200
|
+
```ruby
|
1201
|
+
template :layout do
|
1202
|
+
"%html\n =yield\n"
|
1203
|
+
end
|
1204
|
+
|
1205
|
+
template :index do
|
1206
|
+
'%div.title Hallo Welt!'
|
1207
|
+
end
|
1208
|
+
|
1209
|
+
get '/' do
|
1210
|
+
haml :index
|
1211
|
+
end
|
1212
|
+
```
|
1213
|
+
|
1214
|
+
Wenn ein Template mit dem Namen "layout" existiert, wird es bei jedem Aufruf
|
1215
|
+
verwendet. Durch `:layout => false` kann das Ausführen verhindert werden:
|
1216
|
+
|
1217
|
+
```ruby
|
1218
|
+
get '/' do
|
1219
|
+
haml :index, :layout => !request.xhr?
|
1220
|
+
# !request.xhr? prüft, ob es sich um einen asynchronen Request handelt.
|
1221
|
+
# wenn nicht, dann verwende ein Layout (negiert durch !)
|
1222
|
+
end
|
1223
|
+
```
|
1224
|
+
|
1225
|
+
### Dateiendungen zuordnen
|
1226
|
+
|
1227
|
+
Um eine Dateiendung einer Template-Engine zuzuordnen, kann `Tilt.register`
|
1228
|
+
genutzt werden. Wenn etwa die Dateiendung `tt` für Textile-Templates genutzt
|
1229
|
+
werden soll, lässt sich dies wie folgt bewerkstelligen:
|
1230
|
+
|
1231
|
+
```ruby
|
1232
|
+
Tilt.register :tt, Tilt[:textile]
|
1233
|
+
```
|
1234
|
+
|
1235
|
+
### Eine eigene Template-Engine hinzufügen
|
1236
|
+
|
1237
|
+
Zu allererst muss die Engine bei Tilt registriert und danach eine
|
1238
|
+
Rendering-Methode erstellt werden:
|
1239
|
+
|
1240
|
+
```ruby
|
1241
|
+
Tilt.register :mtt, MeineTolleTemplateEngine
|
1242
|
+
|
1243
|
+
helpers do
|
1244
|
+
def mtt(*args) render(:mtt, *args) end
|
1245
|
+
end
|
1246
|
+
|
1247
|
+
get '/' do
|
1248
|
+
mtt :index
|
1249
|
+
end
|
1250
|
+
```
|
1251
|
+
|
1252
|
+
Dieser Code rendert `./views/application.mtt`. Siehe
|
1253
|
+
[github.com/rtomayko/tilt](https://github.com/rtomayko/tilt), um mehr über
|
1254
|
+
Tilt zu erfahren.
|
1255
|
+
|
1256
|
+
### Eigene Methoden zum Aufsuchen von Templates verwenden
|
1257
|
+
|
1258
|
+
Um einen eigenen Mechanismus zum Aufsuchen von Templates zu
|
1259
|
+
implementieren, muss `#find_template` definiert werden:
|
1260
|
+
|
1261
|
+
```ruby
|
1262
|
+
configure do
|
1263
|
+
set :views [ './views/a', './views/b' ]
|
1264
|
+
end
|
1265
|
+
|
1266
|
+
def find_template(views, name, engine, &block)
|
1267
|
+
Array(views).each do |v|
|
1268
|
+
super(v, name, engine, &block)
|
1269
|
+
end
|
1270
|
+
end
|
1271
|
+
```
|
1272
|
+
|
1273
|
+
## Filter
|
1274
|
+
|
1275
|
+
Before-Filter werden vor jedem Request in demselben Kontext, wie danach die
|
1276
|
+
Routen, ausgeführt. So können etwa Request und Antwort geändert werden.
|
1277
|
+
Gesetzte Instanzvariablen in Filtern können in Routen und Templates verwendet
|
1278
|
+
werden:
|
1279
|
+
|
1280
|
+
```ruby
|
1281
|
+
before do
|
1282
|
+
@note = 'Hi!'
|
1283
|
+
request.path_info = '/foo/bar/baz'
|
1284
|
+
end
|
1285
|
+
|
1286
|
+
get '/foo/*' do
|
1287
|
+
@note #=> 'Hi!'
|
1288
|
+
params['splat'] #=> 'bar/baz'
|
1289
|
+
end
|
1290
|
+
```
|
1291
|
+
|
1292
|
+
After-Filter werden nach jedem Request in demselben Kontext ausgeführt und
|
1293
|
+
können ebenfalls Request und Antwort ändern. In Before-Filtern gesetzte
|
1294
|
+
Instanzvariablen können in After-Filtern verwendet werden:
|
1295
|
+
|
1296
|
+
```ruby
|
1297
|
+
after do
|
1298
|
+
puts response.status
|
1299
|
+
end
|
1300
|
+
```
|
1301
|
+
|
1302
|
+
Filter können optional auch mit einem Muster ausgestattet werden, das auf den
|
1303
|
+
Request-Pfad passen muss, damit der Filter ausgeführt wird:
|
1304
|
+
|
1305
|
+
```ruby
|
1306
|
+
before '/protected/*' do
|
1307
|
+
authenticate!
|
1308
|
+
end
|
1309
|
+
|
1310
|
+
after '/create/:slug' do |slug|
|
1311
|
+
session[:last_slug] = slug
|
1312
|
+
end
|
1313
|
+
```
|
1314
|
+
|
1315
|
+
Ähnlich wie Routen können Filter auch mit weiteren Bedingungen eingeschränkt
|
1316
|
+
werden:
|
1317
|
+
|
1318
|
+
```ruby
|
1319
|
+
before :agent => /Songbird/ do
|
1320
|
+
# ...
|
1321
|
+
end
|
1322
|
+
|
1323
|
+
after '/blog/*', :host_name => 'example.com' do
|
1324
|
+
# ...
|
1325
|
+
end
|
1326
|
+
```
|
1327
|
+
|
1328
|
+
## Helfer
|
1329
|
+
|
1330
|
+
Durch die Top-Level `helpers`-Methode werden sogenannte Helfer-Methoden
|
1331
|
+
definiert, die in Routen und Templates verwendet werden können:
|
1332
|
+
|
1333
|
+
```ruby
|
1334
|
+
helpers do
|
1335
|
+
def bar(name)
|
1336
|
+
"#{name}bar"
|
1337
|
+
end
|
1338
|
+
end
|
1339
|
+
|
1340
|
+
get '/:name' do
|
1341
|
+
bar(params['name'])
|
1342
|
+
end
|
1343
|
+
```
|
1344
|
+
|
1345
|
+
### Sessions verwenden
|
1346
|
+
Sessions werden verwendet, um Zustände zwischen den Requests zu speichern. Sind
|
1347
|
+
sie aktiviert, kann ein Session-Hash je Benutzer-Session verwendet werden:
|
1348
|
+
|
1349
|
+
```ruby
|
1350
|
+
enable :sessions
|
1351
|
+
|
1352
|
+
get '/' do
|
1353
|
+
"value = " << session[:value].inspect
|
1354
|
+
end
|
1355
|
+
|
1356
|
+
get '/:value' do
|
1357
|
+
session[:value] = params['value']
|
1358
|
+
end
|
1359
|
+
```
|
1360
|
+
|
1361
|
+
Beachte, dass `enable :sessions` alle Daten in einem Cookie speichert. Unter
|
1362
|
+
Umständen kann dies negative Effekte haben, z.B. verursachen viele Daten
|
1363
|
+
höheren, teilweise überflüssigen Traffic. Um das zu vermeiden, kann eine Rack-
|
1364
|
+
Session-Middleware verwendet werden. Dabei wird auf `enable :sessions`
|
1365
|
+
verzichtet und die Middleware wie üblich im Programm eingebunden:
|
1366
|
+
|
1367
|
+
```ruby
|
1368
|
+
use Rack::Session::Pool, :expire_after => 2592000
|
1369
|
+
|
1370
|
+
get '/' do
|
1371
|
+
"value = " << session[:value].inspect
|
1372
|
+
end
|
1373
|
+
|
1374
|
+
get '/:value' do
|
1375
|
+
session[:value] = params['value']
|
1376
|
+
end
|
1377
|
+
```
|
1378
|
+
|
1379
|
+
Um die Sicherheit zu erhöhen, werden Cookies, die Session-Daten führen, mit
|
1380
|
+
einem sogenannten Session-Secret signiert. Da sich dieses Geheimwort bei jedem
|
1381
|
+
Neustart der Applikation automatisch ändert, ist es sinnvoll, ein eigenes zu
|
1382
|
+
wählen, damit sich alle Instanzen der Applikation dasselbe Session-Secret
|
1383
|
+
teilen:
|
1384
|
+
|
1385
|
+
```ruby
|
1386
|
+
set :session_secret, 'super_geheimes_Gegeimnis'
|
1387
|
+
```
|
1388
|
+
|
1389
|
+
Zur weiteren Konfiguration kann man einen Hash mit Optionen in den `sessions`
|
1390
|
+
Einstellungen ablegen.
|
1391
|
+
|
1392
|
+
```ruby
|
1393
|
+
set :sessions, :domain => 'foo.com'
|
1394
|
+
```
|
1395
|
+
|
1396
|
+
Um eine Session mit anderen Apps und zwischen verschiedenen Subdomains
|
1397
|
+
von foo.com zu teilen, wird ein *.* der Domain vorangestellt:
|
1398
|
+
|
1399
|
+
```ruby
|
1400
|
+
set :sessions, :domain => '.foo,com'
|
1401
|
+
```
|
1402
|
+
|
1403
|
+
### Anhalten
|
1404
|
+
|
1405
|
+
Zum sofortigen Stoppen eines Request in einem Filter oder einer Route:
|
1406
|
+
|
1407
|
+
```ruby
|
1408
|
+
halt
|
1409
|
+
```
|
1410
|
+
|
1411
|
+
Der Status kann beim Stoppen mit angegeben werden:
|
1412
|
+
|
1413
|
+
```ruby
|
1414
|
+
halt 410
|
1415
|
+
```
|
1416
|
+
|
1417
|
+
Oder auch den Response-Body:
|
1418
|
+
|
1419
|
+
```ruby
|
1420
|
+
halt 'Hier steht der Body'
|
1421
|
+
```
|
1422
|
+
|
1423
|
+
Oder beides:
|
1424
|
+
|
1425
|
+
```ruby
|
1426
|
+
halt 401, 'verschwinde!'
|
1427
|
+
```
|
1428
|
+
|
1429
|
+
Sogar mit Headern:
|
1430
|
+
|
1431
|
+
```ruby
|
1432
|
+
halt 402, {'Content-Type' => 'text/plain'}, 'Rache'
|
1433
|
+
```
|
1434
|
+
|
1435
|
+
Natürlich ist es auch möglich, ein Template mit `halt` zu verwenden:
|
1436
|
+
|
1437
|
+
```ruby
|
1438
|
+
halt erb(:error)
|
1439
|
+
```
|
1440
|
+
|
1441
|
+
### Weiterspringen
|
1442
|
+
|
1443
|
+
Eine Route kann mittels `pass` zu der nächsten passenden Route springen:
|
1444
|
+
|
1445
|
+
```ruby
|
1446
|
+
get '/raten/:wer' do
|
1447
|
+
pass unless params['wer'] == 'Frank'
|
1448
|
+
'Du hast mich!'
|
1449
|
+
end
|
1450
|
+
|
1451
|
+
get '/raten/*' do
|
1452
|
+
'Du hast mich nicht!'
|
1453
|
+
end
|
1454
|
+
```
|
1455
|
+
|
1456
|
+
Der Block wird sofort verlassen und es wird nach der nächsten treffenden Route
|
1457
|
+
gesucht. Ein 404-Fehler wird zurückgegeben, wenn kein treffendes Routen-Muster
|
1458
|
+
gefunden wird.
|
1459
|
+
|
1460
|
+
### Eine andere Route ansteuern
|
1461
|
+
|
1462
|
+
Wenn nicht zu einer anderen Route gesprungen werden soll, sondern nur das
|
1463
|
+
Ergebnis einer anderen Route gefordert wird, kann `call` für einen internen
|
1464
|
+
Request verwendet werden:
|
1465
|
+
|
1466
|
+
```ruby
|
1467
|
+
get '/foo' do
|
1468
|
+
status, headers, body = call env.merge("PATH_INFO" => '/bar')
|
1469
|
+
[status, headers, body.map(&:upcase)]
|
1470
|
+
end
|
1471
|
+
|
1472
|
+
get '/bar' do
|
1473
|
+
"bar"
|
1474
|
+
end
|
1475
|
+
```
|
1476
|
+
|
1477
|
+
Beachte, dass in dem oben angegeben Beispiel die Performance erheblich erhöht
|
1478
|
+
werden kann, wenn `"bar"` in eine Helfer-Methode umgewandelt wird, auf die
|
1479
|
+
`/foo` und `/bar` zugreifen können.
|
1480
|
+
|
1481
|
+
Wenn der Request innerhalb derselben Applikations-Instanz aufgerufen und keine
|
1482
|
+
Kopie der Instanz erzeugt werden soll, kann `call!` anstelle von `call`
|
1483
|
+
verwendet werden.
|
1484
|
+
|
1485
|
+
### Body, Status-Code und Header setzen
|
1486
|
+
|
1487
|
+
Es ist möglich und empfohlen, den Status-Code sowie den Response-Body mit einem
|
1488
|
+
Returnwert in der Route zu setzen. In manchen Situationen kann es jedoch sein,
|
1489
|
+
dass der Body an anderer Stelle während der Ausführung gesetzt werden soll.
|
1490
|
+
Dafür kann man die Helfer-Methode `body` einsetzen. Ist sie gesetzt, kann sie zu
|
1491
|
+
einem späteren Zeitpunkt aufgerufen werden:
|
1492
|
+
|
1493
|
+
```ruby
|
1494
|
+
get '/foo' do
|
1495
|
+
body "bar"
|
1496
|
+
end
|
1497
|
+
|
1498
|
+
after do
|
1499
|
+
puts body
|
1500
|
+
end
|
1501
|
+
```
|
1502
|
+
|
1503
|
+
Ebenso ist es möglich, einen Block an `body` weiterzureichen, der dann vom
|
1504
|
+
Rack-Handler ausgeführt wird (lässt sich z.B. zur Umsetzung von Streaming
|
1505
|
+
einsetzen, siehe auch "Rückgabewerte").
|
1506
|
+
|
1507
|
+
Vergleichbar mit `body` lassen sich auch Status-Code und Header setzen:
|
1508
|
+
|
1509
|
+
```ruby
|
1510
|
+
get '/foo' do
|
1511
|
+
status 418
|
1512
|
+
headers \
|
1513
|
+
"Allow" => "BREW, POST, GET, PROPFIND, WHEN",
|
1514
|
+
"Refresh" => "Refresh: 20; http://www.ietf.org/rfc/rfc2324.txt"
|
1515
|
+
halt "Ich bin ein Teekesselchen"
|
1516
|
+
end
|
1517
|
+
```
|
1518
|
+
|
1519
|
+
Genau wie bei `body` liest ein Aufrufen von `headers` oder `status` ohne
|
1520
|
+
Argumente den aktuellen Wert aus.
|
1521
|
+
|
1522
|
+
### Response-Streams
|
1523
|
+
|
1524
|
+
In manchen Situationen sollen Daten bereits an den Client zurückgeschickt
|
1525
|
+
werden, bevor ein vollständiger Response bereit steht. Manchmal will man die
|
1526
|
+
Verbindung auch erst dann beenden und Daten so lange an den Client
|
1527
|
+
zurückschicken, bis er die Verbindung abbricht. Für diese Fälle gibt es die
|
1528
|
+
`stream`-Helfer-Methode, die es einem erspart eigene Lösungen zu schreiben:
|
1529
|
+
|
1530
|
+
```ruby
|
1531
|
+
get '/' do
|
1532
|
+
stream do |out|
|
1533
|
+
out << "Das ist ja mal wieder fanta -\n"
|
1534
|
+
sleep 0.5
|
1535
|
+
out << " (bitte warten…) \n"
|
1536
|
+
sleep 1
|
1537
|
+
out << "- stisch!\n"
|
1538
|
+
end
|
1539
|
+
end
|
1540
|
+
```
|
1541
|
+
|
1542
|
+
Damit lassen sich Streaming-APIs realisieren, sog.
|
1543
|
+
[Server Sent Events](https://w3c.github.io/eventsource/), die als Basis für
|
1544
|
+
[WebSockets](https://en.wikipedia.org/wiki/WebSocket) dienen. Ebenso können sie
|
1545
|
+
verwendet werden, um den Durchsatz zu erhöhen, wenn ein Teil der Daten von
|
1546
|
+
langsamen Ressourcen abhängig ist.
|
1547
|
+
|
1548
|
+
Es ist zu beachten, dass das Verhalten beim Streaming, insbesondere die Anzahl
|
1549
|
+
nebenläufiger Anfragen, stark davon abhängt, welcher Webserver für die
|
1550
|
+
Applikation verwendet wird. Einige Server unterstützen
|
1551
|
+
Streaming nicht oder nur teilweise. Sollte der Server Streaming nicht
|
1552
|
+
unterstützen, wird ein vollständiger Response-Body zurückgeschickt, sobald der
|
1553
|
+
an `stream` weitergegebene Block abgearbeitet ist. Mit Shotgun funktioniert
|
1554
|
+
Streaming z.B. überhaupt nicht.
|
1555
|
+
|
1556
|
+
Ist der optionale Parameter `keep_open` aktiviert, wird beim gestreamten Objekt
|
1557
|
+
`close` nicht aufgerufen und es ist einem überlassen dies an einem beliebigen
|
1558
|
+
späteren Zeitpunkt nachholen. Die Funktion ist jedoch nur bei Event-gesteuerten
|
1559
|
+
Serven wie Thin oder Rainbows möglich, andere Server werden trotzdem den Stream
|
1560
|
+
beenden:
|
1561
|
+
|
1562
|
+
```ruby
|
1563
|
+
# Durchgehende Anfrage (long polling)
|
1564
|
+
|
1565
|
+
set :server, :thin
|
1566
|
+
connections = []
|
1567
|
+
|
1568
|
+
get '/subscribe' do
|
1569
|
+
# Client-Registrierung beim Server, damit Events mitgeteilt werden können
|
1570
|
+
stream(:keep_open) do |out|
|
1571
|
+
connections << out
|
1572
|
+
# tote Verbindungen entfernen
|
1573
|
+
connections.reject!(&:closed?)
|
1574
|
+
end
|
1575
|
+
end
|
1576
|
+
|
1577
|
+
post '/:message' do
|
1578
|
+
connections.each do |out|
|
1579
|
+
# Den Client über eine neue Nachricht in Kenntnis setzen
|
1580
|
+
# notify client that a new message has arrived
|
1581
|
+
out << params['message'] << "\n"
|
1582
|
+
|
1583
|
+
# Den Client zur erneuten Verbindung auffordern
|
1584
|
+
out.close
|
1585
|
+
end
|
1586
|
+
|
1587
|
+
# Rückmeldung
|
1588
|
+
"Mitteiling erhalten"
|
1589
|
+
end
|
1590
|
+
```
|
1591
|
+
|
1592
|
+
### Logger
|
1593
|
+
|
1594
|
+
Im Geltungsbereich eines Request stellt die `logger` Helfer-Methode eine `Logger`
|
1595
|
+
Instanz zur Verfügung:
|
1596
|
+
|
1597
|
+
```ruby
|
1598
|
+
get '/' do
|
1599
|
+
logger.info "es passiert gerade etwas"
|
1600
|
+
# ...
|
1601
|
+
end
|
1602
|
+
```
|
1603
|
+
|
1604
|
+
Der Logger übernimmt dabei automatisch alle im Rack-Handler eingestellten
|
1605
|
+
Log-Vorgaben. Ist Loggen ausgeschaltet, gibt die Methode ein Leerobjekt zurück.
|
1606
|
+
In den Routen und Filtern muss man sich also nicht weiter darum kümmern.
|
1607
|
+
|
1608
|
+
Beachte, dass das Loggen standardmäßig nur für `Sinatra::Application`
|
1609
|
+
voreingestellt ist. Wird über `Sinatra::Base` vererbt, muss es erst aktiviert
|
1610
|
+
werden:
|
1611
|
+
|
1612
|
+
```ruby
|
1613
|
+
class MyApp < Sinatra::Base
|
1614
|
+
configure :production, :development do
|
1615
|
+
enable :logging
|
1616
|
+
end
|
1617
|
+
end
|
1618
|
+
```
|
1619
|
+
|
1620
|
+
Damit auch keine Middleware das Logging aktivieren kann, muss die `logging`
|
1621
|
+
Einstellung auf `nil` gesetzt werden. Das heißt aber auch, dass `logger` in
|
1622
|
+
diesem Fall `nil` zurückgeben wird. Üblicherweise wird das eingesetzt, wenn ein
|
1623
|
+
eigener Logger eingerichtet werden soll. Sinatra wird dann verwenden, was in
|
1624
|
+
`env['rack.logger']` eingetragen ist.
|
1625
|
+
|
1626
|
+
### Mime-Types
|
1627
|
+
|
1628
|
+
Wenn `send_file` oder statische Dateien verwendet werden, kann es vorkommen,
|
1629
|
+
dass Sinatra den Mime-Typ nicht kennt. Registriert wird dieser mit `mime_type`
|
1630
|
+
per Dateiendung:
|
1631
|
+
|
1632
|
+
```ruby
|
1633
|
+
configure do
|
1634
|
+
mime_type :foo, 'text/foo'
|
1635
|
+
end
|
1636
|
+
```
|
1637
|
+
|
1638
|
+
Es kann aber auch der `content_type`-Helfer verwendet werden:
|
1639
|
+
|
1640
|
+
```ruby
|
1641
|
+
get '/' do
|
1642
|
+
content_type :foo
|
1643
|
+
"foo foo foo"
|
1644
|
+
end
|
1645
|
+
```
|
1646
|
+
|
1647
|
+
### URLs generieren
|
1648
|
+
|
1649
|
+
Zum Generieren von URLs sollte die `url`-Helfer-Methode genutzen werden, so z.B.
|
1650
|
+
beim Einsatz von Haml:
|
1651
|
+
|
1652
|
+
```ruby
|
1653
|
+
%a{:href => url('/foo')} foo
|
1654
|
+
```
|
1655
|
+
|
1656
|
+
Soweit vorhanden, wird Rücksicht auf Proxys und Rack-Router genommen.
|
1657
|
+
|
1658
|
+
Diese Methode ist ebenso über das Alias `to` zu erreichen (siehe Beispiel unten).
|
1659
|
+
|
1660
|
+
### Browser-Umleitung
|
1661
|
+
|
1662
|
+
Eine Browser-Umleitung kann mithilfe der `redirect`-Helfer-Methode erreicht
|
1663
|
+
werden:
|
1664
|
+
|
1665
|
+
```ruby
|
1666
|
+
get '/foo' do
|
1667
|
+
redirect to('/bar')
|
1668
|
+
end
|
1669
|
+
```
|
1670
|
+
|
1671
|
+
Weitere Parameter werden wie Argumente der `halt`-Methode behandelt:
|
1672
|
+
|
1673
|
+
```ruby
|
1674
|
+
redirect to('/bar'), 303
|
1675
|
+
redirect 'http://www.google.com/', 'Hier bist du falsch'
|
1676
|
+
```
|
1677
|
+
|
1678
|
+
Ebenso leicht lässt sich ein Schritt zurück mit dem Alias `redirect back`
|
1679
|
+
erreichen:
|
1680
|
+
|
1681
|
+
```ruby
|
1682
|
+
get '/foo' do
|
1683
|
+
"<a href='/bar'>mach was</a>"
|
1684
|
+
end
|
1685
|
+
|
1686
|
+
get '/bar' do
|
1687
|
+
mach_was
|
1688
|
+
redirect back
|
1689
|
+
end
|
1690
|
+
```
|
1691
|
+
|
1692
|
+
Um Argumente an ein Redirect weiterzugeben, können sie entweder dem Query
|
1693
|
+
übergeben:
|
1694
|
+
|
1695
|
+
```ruby
|
1696
|
+
redirect to('/bar?summe=42')
|
1697
|
+
```
|
1698
|
+
|
1699
|
+
oder eine Session verwendet werden:
|
1700
|
+
|
1701
|
+
```ruby
|
1702
|
+
enable :sessions
|
1703
|
+
|
1704
|
+
get '/foo' do
|
1705
|
+
session[:secret] = 'foo'
|
1706
|
+
redirect to('/bar')
|
1707
|
+
end
|
1708
|
+
|
1709
|
+
get '/bar' do
|
1710
|
+
session[:secret]
|
1711
|
+
end
|
1712
|
+
```
|
1713
|
+
|
1714
|
+
### Cache einsetzen
|
1715
|
+
|
1716
|
+
Ein sinnvolles Einstellen von Header-Daten ist die Grundlage für ein
|
1717
|
+
ordentliches HTTP-Caching.
|
1718
|
+
|
1719
|
+
Der Cache-Control-Header lässt sich ganz einfach einstellen:
|
1720
|
+
|
1721
|
+
```ruby
|
1722
|
+
get '/' do
|
1723
|
+
cache_control :public
|
1724
|
+
"schon gecached!"
|
1725
|
+
end
|
1726
|
+
```
|
1727
|
+
|
1728
|
+
Profitipp: Caching im before-Filter aktivieren
|
1729
|
+
|
1730
|
+
```ruby
|
1731
|
+
before do
|
1732
|
+
cache_control :public, :must_revalidate, :max_age => 60
|
1733
|
+
end
|
1734
|
+
```
|
1735
|
+
|
1736
|
+
Bei Verwendung der `expires`-Helfermethode zum Setzen des gleichnamigen Headers,
|
1737
|
+
wird `Cache-Control` automatisch eigestellt:
|
1738
|
+
|
1739
|
+
```ruby
|
1740
|
+
before do
|
1741
|
+
expires 500, :public, :must_revalidate
|
1742
|
+
end
|
1743
|
+
```
|
1744
|
+
|
1745
|
+
Um alles richtig zu machen, sollten auch `etag` oder `last_modified` verwendet
|
1746
|
+
werden. Es wird empfohlen, dass diese Helfer aufgerufen werden **bevor** die
|
1747
|
+
eigentliche Arbeit anfängt, da sie sofort eine Antwort senden, wenn der Client
|
1748
|
+
eine aktuelle Version im Cache vorhält:
|
1749
|
+
|
1750
|
+
```ruby
|
1751
|
+
get '/article/:id' do
|
1752
|
+
@article = Article.find params['id']
|
1753
|
+
last_modified @article.updated_at
|
1754
|
+
etag @article.sha1
|
1755
|
+
erb :article
|
1756
|
+
end
|
1757
|
+
```
|
1758
|
+
|
1759
|
+
ebenso ist es möglich einen
|
1760
|
+
[schwachen ETag](https://de.wikipedia.org/wiki/HTTP_ETag) zu verwenden:
|
1761
|
+
|
1762
|
+
```ruby
|
1763
|
+
etag @article.sha1, :weak
|
1764
|
+
```
|
1765
|
+
|
1766
|
+
Diese Helfer führen nicht das eigentliche Caching aus, sondern geben die dafür
|
1767
|
+
notwendigen Informationen an den Cache weiter. Für schnelle Reverse-Proxy
|
1768
|
+
Cache-Lösungen bietet sich z.B.
|
1769
|
+
[rack-cache](https://github.com/rtomayko/rack-cache) an:
|
1770
|
+
|
1771
|
+
```ruby
|
1772
|
+
require "rack/cache"
|
1773
|
+
require "sinatra"
|
1774
|
+
|
1775
|
+
use Rack::Cache
|
1776
|
+
|
1777
|
+
get '/' do
|
1778
|
+
cache_control :public, :max_age => 36000
|
1779
|
+
sleep 5
|
1780
|
+
"hello"
|
1781
|
+
end
|
1782
|
+
```
|
1783
|
+
|
1784
|
+
Um den `Cache-Control`-Header mit Informationen zu versorgen, verwendet man die
|
1785
|
+
`:static_cache_control`-Einstellung (s.u.).
|
1786
|
+
|
1787
|
+
Nach RFC 2616 sollte sich die Anwendung anders verhalten, wenn ein If-Match oder
|
1788
|
+
ein If-None_match Header auf `*` gesetzt wird in Abhängigkeit davon, ob die
|
1789
|
+
Resource bereits existiert. Sinatra geht davon aus, dass Ressourcen bei sicheren
|
1790
|
+
Anfragen (z.B. bei get oder Idempotenten Anfragen wie put) bereits existieren,
|
1791
|
+
wobei anderen Ressourcen (besipielsweise bei post), als neue Ressourcen
|
1792
|
+
behandelt werden. Dieses Verhalten lässt sich mit der `:new_resource` Option
|
1793
|
+
ändern:
|
1794
|
+
|
1795
|
+
```ruby
|
1796
|
+
get '/create' do
|
1797
|
+
etag '', :new_resource => true
|
1798
|
+
Article.create
|
1799
|
+
erb :new_article
|
1800
|
+
end
|
1801
|
+
```
|
1802
|
+
|
1803
|
+
Soll das schwache ETag trotzdem verwendet werden, verwendet man die `:kind`
|
1804
|
+
Option:
|
1805
|
+
|
1806
|
+
```ruby
|
1807
|
+
etag '', :new_resource => true, :kind => :weak
|
1808
|
+
```
|
1809
|
+
|
1810
|
+
### Dateien versenden
|
1811
|
+
|
1812
|
+
Um den Inhalt einer Datei als Response zurückzugeben, kann die
|
1813
|
+
`send_file`-Helfer-Methode verwendet werden:
|
1814
|
+
|
1815
|
+
```ruby
|
1816
|
+
get '/' do
|
1817
|
+
send_file 'foo.png'
|
1818
|
+
end
|
1819
|
+
```
|
1820
|
+
|
1821
|
+
Für `send_file` stehen einige Hash-Optionen zur Verfügung:
|
1822
|
+
|
1823
|
+
```ruby
|
1824
|
+
send_file 'foo.png', :type => :jpg
|
1825
|
+
```
|
1826
|
+
|
1827
|
+
<dl>
|
1828
|
+
<dt>filename</dt>
|
1829
|
+
<dd>Dateiname als Response. Standardwert ist der eigentliche Dateiname.</dd>
|
1830
|
+
|
1831
|
+
<dt>last_modified</dt>
|
1832
|
+
<dd>Wert für den Last-Modified-Header, Standardwert ist <tt>mtime</tt> der
|
1833
|
+
Datei.</dd>
|
1834
|
+
|
1835
|
+
<dt>type</dt>
|
1836
|
+
<dd>Content-Type, der verwendet werden soll. Wird, wenn nicht angegeben, von
|
1837
|
+
der Dateiendung abgeleitet.</dd>
|
1838
|
+
|
1839
|
+
<dt>disposition</dt>
|
1840
|
+
<dd>Verwendet für Content-Disposition. Mögliche Werte sind: <tt>nil</tt>
|
1841
|
+
(Standard), <tt>:attachment</tt> und <tt>:inline</tt>.</dd>
|
1842
|
+
|
1843
|
+
<dt>length</dt>
|
1844
|
+
<dd>Content-Length-Header. Standardwert ist die Dateigröße.</dd>
|
1845
|
+
</dl>
|
1846
|
+
|
1847
|
+
Soweit vom Rack-Handler unterstützt, werden neben der Übertragung über den
|
1848
|
+
Ruby-Prozess auch andere Möglichkeiten genutzt. Bei Verwendung der
|
1849
|
+
`send_file`-Helfer-Methode kümmert sich Sinatra selbstständig um die
|
1850
|
+
Range-Requests.
|
1851
|
+
|
1852
|
+
### Das Request-Objekt
|
1853
|
+
|
1854
|
+
Auf das `request`-Objekt der eigehenden Anfrage kann vom Anfrage-Scope aus
|
1855
|
+
zugegriffen werden:
|
1856
|
+
|
1857
|
+
```ruby
|
1858
|
+
# App läuft unter http://example.com/example
|
1859
|
+
get '/foo' do
|
1860
|
+
t = %w[text/css text/html application/javascript]
|
1861
|
+
request.accept # ['text/html', '*/*']
|
1862
|
+
request.accept? 'text/xml' # true
|
1863
|
+
request.preferred_type(t) # 'text/html'
|
1864
|
+
request.body # Request-Body des Client (siehe unten)
|
1865
|
+
request.scheme # "http"
|
1866
|
+
request.script_name # "/example"
|
1867
|
+
request.path_info # "/foo"
|
1868
|
+
request.port # 80
|
1869
|
+
request.request_method # "GET"
|
1870
|
+
request.query_string # ""
|
1871
|
+
request.content_length # Länge des request.body
|
1872
|
+
request.media_type # Medientypus von request.body
|
1873
|
+
request.host # "example.com"
|
1874
|
+
request.get? # true (ähnliche Methoden für andere Verben)
|
1875
|
+
request.form_data? # false
|
1876
|
+
request["irgendein_param"] # Wert von einem Parameter; [] ist die Kurzform für den params Hash
|
1877
|
+
request.referrer # Der Referrer des Clients oder '/'
|
1878
|
+
request.user_agent # User-Agent (verwendet in der :agent Bedingung)
|
1879
|
+
request.cookies # Hash des Browser-Cookies
|
1880
|
+
request.xhr? # Ist das hier ein Ajax-Request?
|
1881
|
+
request.url # "http://example.com/example/foo"
|
1882
|
+
request.path # "/example/foo"
|
1883
|
+
request.ip # IP-Adresse des Clients
|
1884
|
+
request.secure? # false (true wenn SSL)
|
1885
|
+
request.forwarded? # true (Wenn es hinter einem Reverse-Proxy verwendet wird)
|
1886
|
+
request.env # vollständiger env-Hash von Rack übergeben
|
1887
|
+
end
|
1888
|
+
```
|
1889
|
+
|
1890
|
+
Manche Optionen, wie etwa `script_name` oder `path_info`, sind auch
|
1891
|
+
schreibbar:
|
1892
|
+
|
1893
|
+
```ruby
|
1894
|
+
before { request.path_info = "/" }
|
1895
|
+
|
1896
|
+
get "/" do
|
1897
|
+
"Alle Anfragen kommen hier an!"
|
1898
|
+
end
|
1899
|
+
```
|
1900
|
+
|
1901
|
+
Der `request.body` ist ein IO- oder StringIO-Objekt:
|
1902
|
+
|
1903
|
+
```ruby
|
1904
|
+
post "/api" do
|
1905
|
+
request.body.rewind # falls schon jemand davon gelesen hat
|
1906
|
+
daten = JSON.parse request.body.read
|
1907
|
+
"Hallo #{daten['name']}!"
|
1908
|
+
end
|
1909
|
+
```
|
1910
|
+
|
1911
|
+
### Anhänge
|
1912
|
+
|
1913
|
+
Damit der Browser erkennt, dass ein Response gespeichert und nicht im Browser
|
1914
|
+
angezeigt werden soll, kann der `attachment`-Helfer verwendet werden:
|
1915
|
+
|
1916
|
+
```ruby
|
1917
|
+
get '/' do
|
1918
|
+
attachment
|
1919
|
+
"Speichern!"
|
1920
|
+
end
|
1921
|
+
```
|
1922
|
+
|
1923
|
+
Ebenso kann eine Dateiname als Parameter hinzugefügt werden:
|
1924
|
+
|
1925
|
+
```ruby
|
1926
|
+
get '/' do
|
1927
|
+
attachment "info.txt"
|
1928
|
+
"Speichern!"
|
1929
|
+
end
|
1930
|
+
```
|
1931
|
+
|
1932
|
+
### Umgang mit Datum und Zeit
|
1933
|
+
|
1934
|
+
Sinatra bietet eine `time_for`-Helfer-Methode, die aus einem gegebenen Wert ein
|
1935
|
+
Time-Objekt generiert. Ebenso kann sie nach `DateTime`, `Date` und ähnliche
|
1936
|
+
Klassen konvertieren:
|
1937
|
+
|
1938
|
+
```ruby
|
1939
|
+
get '/' do
|
1940
|
+
pass if Time.now > time_for('Dec 23, 2012')
|
1941
|
+
"noch Zeit"
|
1942
|
+
end
|
1943
|
+
```
|
1944
|
+
|
1945
|
+
Diese Methode wird intern für +expires, `last_modiefied` und ihresgleichen
|
1946
|
+
verwendet. Mit ein paar Handgriffen lässt sich diese Methode also in ihrem
|
1947
|
+
Verhalten erweitern, indem man `time_for` in der eigenen Applikation
|
1948
|
+
überschreibt:
|
1949
|
+
|
1950
|
+
```ruby
|
1951
|
+
helpers do
|
1952
|
+
def time_for(value)
|
1953
|
+
case value
|
1954
|
+
when :yesterday then Time.now - 24*60*60
|
1955
|
+
when :tomorrow then Time.now + 24*60*60
|
1956
|
+
else super
|
1957
|
+
end
|
1958
|
+
end
|
1959
|
+
end
|
1960
|
+
|
1961
|
+
get '/' do
|
1962
|
+
last_modified :yesterday
|
1963
|
+
expires :tomorrow
|
1964
|
+
"Hallo"
|
1965
|
+
end
|
1966
|
+
```
|
1967
|
+
|
1968
|
+
### Nachschlagen von Template-Dateien
|
1969
|
+
|
1970
|
+
Die `find_template`-Helfer-Methode wird genutzt, um Template-Dateien zum Rendern
|
1971
|
+
aufzufinden:
|
1972
|
+
|
1973
|
+
```ruby
|
1974
|
+
find_template settings.views, 'foo', Tilt[:haml] do |file|
|
1975
|
+
puts "könnte diese hier sein: #{file}"
|
1976
|
+
end
|
1977
|
+
```
|
1978
|
+
|
1979
|
+
Das ist zwar nicht wirklich brauchbar, aber wenn man sie überschreibt, kann sie
|
1980
|
+
nützlich werden, um eigene Nachschlage-Mechanismen einzubauen. Zum Beispiel
|
1981
|
+
dann, wenn mehr als nur ein view-Verzeichnis verwendet werden soll:
|
1982
|
+
|
1983
|
+
```ruby
|
1984
|
+
set :views, ['views', 'templates']
|
1985
|
+
|
1986
|
+
helpers do
|
1987
|
+
def find_template(views, name, engine, &block)
|
1988
|
+
Array(views).each { |v| super(v, name, engine, &block) }
|
1989
|
+
end
|
1990
|
+
end
|
1991
|
+
```
|
1992
|
+
|
1993
|
+
Ein anderes Beispiel wäre, verschiedene Vereichnisse für verschiedene Engines
|
1994
|
+
zu verwenden:
|
1995
|
+
|
1996
|
+
```ruby
|
1997
|
+
set :views, :sass => 'views/sass', :haml => 'templates', :default => 'views'
|
1998
|
+
|
1999
|
+
helpers do
|
2000
|
+
def find_template(views, name, engine, &block)
|
2001
|
+
_, folder = views.detect { |k,v| engine == Tilt[k] }
|
2002
|
+
folder ||= views[:default]
|
2003
|
+
super(folder, name, engine, &block)
|
2004
|
+
end
|
2005
|
+
end
|
2006
|
+
```
|
2007
|
+
|
2008
|
+
Ebensogut könnte eine Extension aber auch geschrieben und mit anderen geteilt
|
2009
|
+
werden!
|
2010
|
+
|
2011
|
+
Beachte, dass `find_template` nicht prüft, ob eine Datei tatsächlich existiert.
|
2012
|
+
Es wird lediglich der angegebene Block aufgerufen und nach allen möglichen
|
2013
|
+
Pfaden gesucht. Das ergibt kein Performance-Problem, da `render` `block`
|
2014
|
+
verwendet, sobald eine Datei gefunden wurde. Ebenso werden Template-Pfade samt
|
2015
|
+
Inhalt gecached, solange nicht im Entwicklungsmodus gearbeitet wird. Das sollte
|
2016
|
+
im Hinterkopf behalten werden, wenn irgendwelche verrückten Methoden
|
2017
|
+
zusammenbastelt werden.
|
2018
|
+
|
2019
|
+
### Konfiguration
|
2020
|
+
|
2021
|
+
Wird einmal beim Starten in jedweder Umgebung ausgeführt:
|
2022
|
+
|
2023
|
+
```ruby
|
2024
|
+
configure do
|
2025
|
+
# setze eine Option
|
2026
|
+
set :option, 'wert'
|
2027
|
+
|
2028
|
+
# setze mehrere Optionen
|
2029
|
+
set :a => 1, :b => 2
|
2030
|
+
|
2031
|
+
# das gleiche wie `set :option, true`
|
2032
|
+
enable :option
|
2033
|
+
|
2034
|
+
# das gleiche wie `set :option, false`
|
2035
|
+
disable :option
|
2036
|
+
|
2037
|
+
# dynamische Einstellungen mit Blöcken
|
2038
|
+
set(:css_dir) { File.join(views, 'css') }
|
2039
|
+
end
|
2040
|
+
```
|
2041
|
+
|
2042
|
+
Läuft nur, wenn die Umgebung (RACK_ENV-Umgebungsvariable) auf `:production`
|
2043
|
+
gesetzt ist:
|
2044
|
+
|
2045
|
+
```ruby
|
2046
|
+
configure :production do
|
2047
|
+
...
|
2048
|
+
end
|
2049
|
+
```
|
2050
|
+
|
2051
|
+
Läuft nur, wenn die Umgebung auf `:production` oder auf `:test` gesetzt ist:
|
2052
|
+
|
2053
|
+
```ruby
|
2054
|
+
configure :production, :test do
|
2055
|
+
...
|
2056
|
+
end
|
2057
|
+
```
|
2058
|
+
|
2059
|
+
Diese Einstellungen sind über `settings` erreichbar:
|
2060
|
+
|
2061
|
+
```ruby
|
2062
|
+
configure do
|
2063
|
+
set :foo, 'bar'
|
2064
|
+
end
|
2065
|
+
|
2066
|
+
get '/' do
|
2067
|
+
settings.foo? # => true
|
2068
|
+
settings.foo # => 'bar'
|
2069
|
+
...
|
2070
|
+
end
|
2071
|
+
```
|
2072
|
+
|
2073
|
+
#### Einstellung des Angriffsschutzes
|
2074
|
+
|
2075
|
+
Sinatra verwendet
|
2076
|
+
[Rack::Protection](https://github.com/sinatra/rack-protection#readme), um die
|
2077
|
+
Anwendung vor häufig vorkommenden Angriffen zu schützen. Diese Voreinstellung
|
2078
|
+
lässt sich selbstverständlich deaktivieren, der damit verbundene
|
2079
|
+
Geschwindigkeitszuwachs steht aber in keinem Verhätnis zu den möglichen
|
2080
|
+
Risiken.
|
2081
|
+
|
2082
|
+
```ruby
|
2083
|
+
disable :protection
|
2084
|
+
```
|
2085
|
+
|
2086
|
+
Um einen bestimmten Schutzmechanismus zu deaktivieren, fügt man `protection`
|
2087
|
+
einen Hash mit Optionen hinzu:
|
2088
|
+
|
2089
|
+
```ruby
|
2090
|
+
set :protection, :except => :path_traversal
|
2091
|
+
```
|
2092
|
+
|
2093
|
+
Neben Strings akzeptiert `:except` auch Arrays, um gleich mehrere
|
2094
|
+
Schutzmechanismen zu deaktivieren:
|
2095
|
+
|
2096
|
+
```ruby
|
2097
|
+
set :protection, :except => [:path_traversal, :session_hijacking]
|
2098
|
+
```
|
2099
|
+
|
2100
|
+
#### Mögliche Einstellungen
|
2101
|
+
|
2102
|
+
<dl>
|
2103
|
+
<dt>absolute_redirects</dt>
|
2104
|
+
<dd>Wenn ausgeschaltet, wird Sinatra relative Redirects zulassen. Jedoch ist
|
2105
|
+
Sinatra dann nicht mehr mit RFC 2616 (HTTP 1.1) konform, das nur absolute
|
2106
|
+
Redirects zulässt. Sollte eingeschaltet werden, wenn die Applikation hinter
|
2107
|
+
einem Reverse-Proxy liegt, der nicht ordentlich eingerichtet ist. Beachte,
|
2108
|
+
dass die <tt>url</tt>-Helfer-Methode nach wie vor absolute URLs erstellen
|
2109
|
+
wird, es sei denn, es wird als zweiter Parameter <tt>false</tt> angegeben.
|
2110
|
+
Standardmäßig nicht aktiviert.</dd>
|
2111
|
+
|
2112
|
+
<dt>add_charset</dt>
|
2113
|
+
<dd>Mime-Types werden hier automatisch der Helfer-Methode
|
2114
|
+
<tt>content_type</tt> zugeordnet. Es empfielt sich, Werte hinzuzufügen statt
|
2115
|
+
sie zu überschreiben: <tt>settings.add_charset << "application/foobar"</tt>
|
2116
|
+
</dd>
|
2117
|
+
|
2118
|
+
<dt>app_file</dt>
|
2119
|
+
<dd>Pfad zur Hauptdatei der Applikation. Wird verwendet, um das Wurzel-,
|
2120
|
+
Inline-, View- und öffentliche Verzeichnis des Projekts festzustellen.</dd>
|
2121
|
+
|
2122
|
+
<dt>bind</dt>
|
2123
|
+
<dd>IP-Address, an die gebunden wird (Standardwert: <tt>0.0.0.0</tt>
|
2124
|
+
<em>oder</em> <tt>localhost</tt>). Wird nur für den eingebauten Server
|
2125
|
+
verwendet.</dd>
|
2126
|
+
|
2127
|
+
<dt>default_encoding</dt>
|
2128
|
+
<dd>Das Encoding, falls keines angegeben wurde. Standardwert ist
|
2129
|
+
<tt>"utf-8"</tt>.</dd>
|
2130
|
+
|
2131
|
+
<dt>dump_errors</dt>
|
2132
|
+
<dd>Fehler im Log anzeigen.</dd>
|
2133
|
+
|
2134
|
+
<dt>environment</dt>
|
2135
|
+
<dd>Momentane Umgebung. Standardmäßig auf <tt>content_type</tt> oder
|
2136
|
+
<tt>"development"</tt> eingestellt, soweit ersteres nicht vorhanden.</dd>
|
2137
|
+
|
2138
|
+
<dt>logging</dt>
|
2139
|
+
<dd>Den Logger verwenden.</dd>
|
2140
|
+
|
2141
|
+
<dt>lock</dt>
|
2142
|
+
<dd>Jeder Request wird gelocked. Es kann nur ein Request pro Ruby-Prozess
|
2143
|
+
gleichzeitig verarbeitet werden. Eingeschaltet, wenn die Applikation
|
2144
|
+
threadsicher ist. Standardmäßig nicht aktiviert.</dd>
|
2145
|
+
|
2146
|
+
<dt>method_override</dt>
|
2147
|
+
<dd>Verwende <tt>_method</tt>, um put/delete-Formulardaten in Browsern zu
|
2148
|
+
verwenden, die dies normalerweise nicht unterstützen.</dd>
|
2149
|
+
|
2150
|
+
<dt>port</dt>
|
2151
|
+
<dd>Port für die Applikation. Wird nur im internen Server verwendet.</dd>
|
2152
|
+
|
2153
|
+
<dt>prefixed_redirects</dt>
|
2154
|
+
<dd>Entscheidet, ob <tt>request.script_name</tt> in Redirects eingefügt wird
|
2155
|
+
oder nicht, wenn kein absoluter Pfad angegeben ist. Auf diese Weise verhält
|
2156
|
+
sich <tt>redirect '/foo'</tt> so, als wäre es ein <tt>redirect
|
2157
|
+
to('/foo')</tt>. Standardmäßig nicht aktiviert.</dd>
|
2158
|
+
|
2159
|
+
<dt>protection</dt>
|
2160
|
+
<dd>Legt fest, ob der Schutzmechanismus für häufig Vorkommende Webangriffe
|
2161
|
+
auf Webapplikationen aktiviert wird oder nicht. Weitere Informationen im
|
2162
|
+
vorhergehenden Abschnitt.</dd>
|
2163
|
+
|
2164
|
+
<dt>public_folder</dt>
|
2165
|
+
<dd>Das öffentliche Verzeichnis, aus dem Daten zur Verfügung gestellt werden
|
2166
|
+
können. Wird nur dann verwendet, wenn statische Daten zur Verfügung gestellt
|
2167
|
+
werden können (s.u. <tt>static</tt> Option). Leitet sich von der
|
2168
|
+
<tt>app_file</tt> Einstellung ab, wenn nicht gesetzt.</dd>
|
2169
|
+
|
2170
|
+
<dt>public_dir</dt>
|
2171
|
+
<dd>Alias für <tt>public_folder</tt>, s.o.</dd>
|
2172
|
+
|
2173
|
+
<dt>reload_templates</dt>
|
2174
|
+
<dd>Im development-Modus aktiviert.</dd>
|
2175
|
+
|
2176
|
+
<dt>root</dt>
|
2177
|
+
<dd>Wurzelverzeichnis des Projekts. Leitet sich von der <tt>app_file</tt>
|
2178
|
+
Einstellung ab, wenn nicht gesetzt.</dd>
|
2179
|
+
|
2180
|
+
<dt>raise_errors</dt>
|
2181
|
+
<dd>Einen Ausnahmezustand aufrufen. Beendet die Applikation. Ist automatisch
|
2182
|
+
aktiviert, wenn die Umgebung auf <tt>"test"</tt> eingestellt ist. Ansonsten
|
2183
|
+
ist diese Option deaktiviert.</dd>
|
2184
|
+
|
2185
|
+
<dt>run</dt>
|
2186
|
+
<dd>Wenn aktiviert, wird Sinatra versuchen, den Webserver zu starten. Nicht
|
2187
|
+
verwenden, wenn Rackup oder anderes verwendet werden soll.</dd>
|
2188
|
+
|
2189
|
+
<dt>running</dt>
|
2190
|
+
<dd>Läuft der eingebaute Server? Diese Einstellung nicht ändern!</dd>
|
2191
|
+
|
2192
|
+
<dt>server</dt>
|
2193
|
+
<dd>Server oder Liste von Servern, die als eingebaute Server zur Verfügung
|
2194
|
+
stehen. Die Reihenfolge gibt die Priorität vor, die Voreinstellung hängt von
|
2195
|
+
der verwendenten Ruby Implementierung ab.</dd>
|
2196
|
+
|
2197
|
+
<dt>sessions</dt>
|
2198
|
+
<dd>Sessions auf Cookiebasis mittels
|
2199
|
+
<tt>Rack::Session::Cookie</tt>aktivieren. Für weitere Infos bitte in der
|
2200
|
+
Sektion ‘Sessions verwenden’ nachschauen.</dd>
|
2201
|
+
|
2202
|
+
<dt>show_exceptions</dt>
|
2203
|
+
<dd>Bei Fehlern einen Stacktrace im Browseranzeigen. Ist automatisch
|
2204
|
+
aktiviert, wenn die Umgebung auf <tt>"development"</tt> eingestellt ist.
|
2205
|
+
Ansonsten ist diese Option deaktiviert. Kann auch auf <tt>:after_handler</tt>
|
2206
|
+
gestellt werden, um eine anwendungsspezifische Fehlerbehandlung auszulösen,
|
2207
|
+
bevor der Fehlerverlauf im Browser angezeigt wird.</dd>
|
2208
|
+
|
2209
|
+
<dt>static</dt>
|
2210
|
+
<dd>Entscheidet, ob Sinatra statische Dateien zur Verfügung stellen soll oder
|
2211
|
+
nicht. Sollte nicht aktiviert werden, wenn ein Server verwendet wird, der
|
2212
|
+
dies auch selbstständig erledigen kann. Deaktivieren wird die Performance
|
2213
|
+
erhöhen. Standardmäßig aktiviert.</dd>
|
2214
|
+
|
2215
|
+
<dt>static_cache_control</dt>
|
2216
|
+
<dd>Wenn Sinatra statische Daten zur Verfügung stellt, können mit dieser
|
2217
|
+
Einstellung die <tt>Cache-Control</tt> Header zu den Responses hinzugefügt
|
2218
|
+
werden. Die Einstellung verwendet dazu die <tt>cache_control</tt>
|
2219
|
+
Helfer-Methode. Standardmäßig deaktiviert. Ein Array wird verwendet, um
|
2220
|
+
mehrere Werte gleichzeitig zu übergeben: <tt>set :static_cache_control,
|
2221
|
+
[:public, :max_age => 300]</tt></dd>
|
2222
|
+
|
2223
|
+
<dt>threaded</dt>
|
2224
|
+
<dd>Wird es auf <tt>true</tt> gesetzt, wird Thin aufgefordert
|
2225
|
+
<tt>EventMachine.defer</tt> zur Verarbeitung des Requests einzusetzen.</dd>
|
2226
|
+
|
2227
|
+
<dt>traps</dt>
|
2228
|
+
<dd>Einstellung, Sinatra System signalen umgehen soll.</dd>
|
2229
|
+
|
2230
|
+
<dt>views</dt>
|
2231
|
+
<dd>Verzeichnis der Views. Leitet sich von der <tt>app_file</tt> Einstellung
|
2232
|
+
ab, wenn nicht gesetzt.</dd>
|
2233
|
+
|
2234
|
+
<dt>x_cascade</dt>
|
2235
|
+
<dd>Einstellung, ob der X-Cascade Header bei fehlender Route gesetzt wird oder
|
2236
|
+
nicht. Standardeinstellung ist <tt>true</tt>.</dd>
|
2237
|
+
</dl>
|
2238
|
+
|
2239
|
+
## Umgebungen
|
2240
|
+
|
2241
|
+
Es gibt drei voreingestellte Umgebungen in Sinatra: `"development"`,
|
2242
|
+
`"production"` und `"test"`. Umgebungen können über die `RACK_ENV`
|
2243
|
+
Umgebungsvariable gesetzt werden. Die Standardeinstellung ist `"development"`.
|
2244
|
+
In diesem Modus werden alle Templates zwischen Requests neu geladen. Dazu gibt
|
2245
|
+
es besondere Fehlerseiten für 404 Stati und Fehlermeldungen. In `"production"`
|
2246
|
+
und `"test"` werden Templates automatisch gecached.
|
2247
|
+
|
2248
|
+
Um die Anwendung in einer anderen Umgebung auszuführen kann man die `-e`
|
2249
|
+
Option verwenden:
|
2250
|
+
|
2251
|
+
```shell
|
2252
|
+
ruby my_app.rb -e [ENVIRONMENT]
|
2253
|
+
```
|
2254
|
+
|
2255
|
+
In der Anwendung kann man die die Methoden `development?`, `test?` und
|
2256
|
+
`production?` verwenden, um die aktuelle Umgebung zu erfahren.
|
2257
|
+
|
2258
|
+
## Fehlerbehandlung
|
2259
|
+
|
2260
|
+
Error-Handler laufen in demselben Kontext wie Routen und Filter, was bedeutet,
|
2261
|
+
dass alle Goodies wie `haml`, `erb`, `halt`, etc. verwendet werden können.
|
2262
|
+
|
2263
|
+
### Nicht gefunden
|
2264
|
+
|
2265
|
+
Wenn eine `Sinatra::NotFound`-Exception geworfen wird oder der Statuscode 404
|
2266
|
+
ist, wird der `not_found`-Handler ausgeführt:
|
2267
|
+
|
2268
|
+
```ruby
|
2269
|
+
not_found do
|
2270
|
+
'Seite kann nirgendwo gefunden werden.'
|
2271
|
+
end
|
2272
|
+
```
|
2273
|
+
|
2274
|
+
### Fehler
|
2275
|
+
|
2276
|
+
Der `error`-Handler wird immer ausgeführt, wenn eine Exception in einem
|
2277
|
+
Routen-Block oder in einem Filter geworfen wurde. In der
|
2278
|
+
`development`-Umgebung wird es nur dann funktionieren, wenn die
|
2279
|
+
`:show_exceptions`-Option auf `:after_handler` eingestellt wurde:
|
2280
|
+
|
2281
|
+
```ruby
|
2282
|
+
set :show_exceptions, :after_handler
|
2283
|
+
```
|
2284
|
+
|
2285
|
+
Die Exception kann über die `sinatra.error`-Rack-Variable angesprochen werden:
|
2286
|
+
|
2287
|
+
```ruby
|
2288
|
+
error do
|
2289
|
+
'Entschuldige, es gab einen hässlichen Fehler - ' + env['sinatra.error'].message
|
2290
|
+
end
|
2291
|
+
```
|
2292
|
+
|
2293
|
+
Benutzerdefinierte Fehler:
|
2294
|
+
|
2295
|
+
```ruby
|
2296
|
+
error MeinFehler do
|
2297
|
+
'Au weia, ' + env['sinatra.error'].message
|
2298
|
+
end
|
2299
|
+
```
|
2300
|
+
|
2301
|
+
Dann, wenn das passiert:
|
2302
|
+
|
2303
|
+
```ruby
|
2304
|
+
get '/' do
|
2305
|
+
raise MeinFehler, 'etwas Schlimmes ist passiert'
|
2306
|
+
end
|
2307
|
+
```
|
2308
|
+
|
2309
|
+
bekommt man dieses:
|
2310
|
+
|
2311
|
+
```shell
|
2312
|
+
Au weia, etwas Schlimmes ist passiert
|
2313
|
+
```
|
2314
|
+
|
2315
|
+
Alternativ kann ein Error-Handler auch für einen Status-Code definiert werden:
|
2316
|
+
|
2317
|
+
```ruby
|
2318
|
+
error 403 do
|
2319
|
+
'Zugriff verboten'
|
2320
|
+
end
|
2321
|
+
|
2322
|
+
get '/geheim' do
|
2323
|
+
403
|
2324
|
+
end
|
2325
|
+
```
|
2326
|
+
|
2327
|
+
Oder ein Status-Code-Bereich:
|
2328
|
+
|
2329
|
+
```ruby
|
2330
|
+
error 400..510 do
|
2331
|
+
'Hallo?'
|
2332
|
+
end
|
2333
|
+
```
|
2334
|
+
|
2335
|
+
Sinatra setzt verschiedene `not_found`- und `error`-Handler in der
|
2336
|
+
Development-Umgebung ein, um hilfreiche Debugging Informationen und Stack Traces
|
2337
|
+
anzuzeigen.
|
2338
|
+
|
2339
|
+
## Rack-Middleware
|
2340
|
+
|
2341
|
+
Sinatra baut auf [Rack](http://rack.github.io/), einem minimalistischen
|
2342
|
+
Standard-Interface für Ruby-Webframeworks. Eines der interessantesten Features
|
2343
|
+
für Entwickler ist der Support von Middlewares, die zwischen den Server und
|
2344
|
+
die Anwendung geschaltet werden und so HTTP-Request und/oder Antwort
|
2345
|
+
überwachen und/oder manipulieren können.
|
2346
|
+
|
2347
|
+
Sinatra macht das Erstellen von Middleware-Verkettungen mit der
|
2348
|
+
Top-Level-Methode `use` zu einem Kinderspiel:
|
2349
|
+
|
2350
|
+
```ruby
|
2351
|
+
require 'sinatra'
|
2352
|
+
require 'meine_middleware'
|
2353
|
+
|
2354
|
+
use Rack::Lint
|
2355
|
+
use MeineMiddleware
|
2356
|
+
|
2357
|
+
get '/hallo' do
|
2358
|
+
'Hallo Welt'
|
2359
|
+
end
|
2360
|
+
```
|
2361
|
+
|
2362
|
+
Die Semantik von `use` entspricht der gleichnamigen Methode der
|
2363
|
+
[Rack::Builder](http://www.rubydoc.info/github/rack/rack/master/Rack/Builder)-DSL
|
2364
|
+
(meist verwendet in Rackup-Dateien). Ein Beispiel dafür ist, dass die
|
2365
|
+
`use`-Methode mehrere/verschiedene Argumente und auch Blöcke entgegennimmt:
|
2366
|
+
|
2367
|
+
```ruby
|
2368
|
+
use Rack::Auth::Basic do |username, password|
|
2369
|
+
username == 'admin' && password == 'geheim'
|
2370
|
+
end
|
2371
|
+
```
|
2372
|
+
|
2373
|
+
Rack bietet eine Vielzahl von Standard-Middlewares für Logging, Debugging,
|
2374
|
+
URL-Routing, Authentifizierung und Session-Verarbeitung. Sinatra verwendet
|
2375
|
+
viele von diesen Komponenten automatisch, abhängig von der Konfiguration. So
|
2376
|
+
muss `use` häufig nicht explizit verwendet werden.
|
2377
|
+
|
2378
|
+
Hilfreiche Middleware gibt es z.B. hier:
|
2379
|
+
[rack](https://github.com/rack/rack/tree/master/lib/rack),
|
2380
|
+
[rack-contrib](https://github.com/rack/rack-contrib#readme),
|
2381
|
+
oder im [Rack wiki](https://github.com/rack/rack/wiki/List-of-Middleware).
|
2382
|
+
|
2383
|
+
## Testen
|
2384
|
+
|
2385
|
+
Sinatra-Tests können mit jedem auf Rack aufbauendem Test-Framework geschrieben
|
2386
|
+
werden. [Rack::Test](http://www.rubydoc.info/github/brynary/rack-test/master/frames)
|
2387
|
+
wird empfohlen:
|
2388
|
+
|
2389
|
+
```ruby
|
2390
|
+
require 'my_sinatra_app'
|
2391
|
+
require 'minitest/autorun'
|
2392
|
+
require 'rack/test'
|
2393
|
+
|
2394
|
+
class MyAppTest < Minitest::Test
|
2395
|
+
include Rack::Test::Methods
|
2396
|
+
|
2397
|
+
def app
|
2398
|
+
Sinatra::Application
|
2399
|
+
end
|
2400
|
+
|
2401
|
+
def test_my_default
|
2402
|
+
get '/'
|
2403
|
+
assert_equal 'Hallo Welt!', last_response.body
|
2404
|
+
end
|
2405
|
+
|
2406
|
+
def test_with_params
|
2407
|
+
get '/meet', :name => 'Frank'
|
2408
|
+
assert_equal 'Hallo Frank!', last_response.body
|
2409
|
+
end
|
2410
|
+
|
2411
|
+
def test_with_rack_env
|
2412
|
+
get '/', {}, 'HTTP_USER_AGENT' => 'Songbird'
|
2413
|
+
assert_equal "Du verwendest Songbird!", last_response.body
|
2414
|
+
end
|
2415
|
+
end
|
2416
|
+
```
|
2417
|
+
|
2418
|
+
Hinweis: Wird Sinatra modular verwendet, muss <tt>Sinatra::Application</tt> mit
|
2419
|
+
dem Namen der Applikations-Klasse ersetzt werden.
|
2420
|
+
|
2421
|
+
## Sinatra::Base - Middleware, Bibliotheken und modulare Anwendungen
|
2422
|
+
|
2423
|
+
Das Definieren einer Top-Level-Anwendung funktioniert gut für
|
2424
|
+
Mikro-Anwendungen, hat aber Nachteile, wenn wiederverwendbare Komponenten wie
|
2425
|
+
Middleware, Rails Metal, einfache Bibliotheken mit Server-Komponenten oder
|
2426
|
+
auch Sinatra-Erweiterungen geschrieben werden sollen.
|
2427
|
+
|
2428
|
+
Das Top-Level geht von einer Konfiguration für eine Mikro-Anwendung aus (wie
|
2429
|
+
sie z.B. bei einer einzelnen Anwendungsdatei, `./public` und `./views` Ordner,
|
2430
|
+
Logging, Exception-Detail-Seite, usw.). Genau hier kommt `Sinatra::Base` ins
|
2431
|
+
Spiel:
|
2432
|
+
|
2433
|
+
```ruby
|
2434
|
+
require 'sinatra/base'
|
2435
|
+
|
2436
|
+
class MyApp < Sinatra::Base
|
2437
|
+
set :sessions, true
|
2438
|
+
set :foo, 'bar'
|
2439
|
+
|
2440
|
+
get '/' do
|
2441
|
+
'Hallo Welt!'
|
2442
|
+
end
|
2443
|
+
end
|
2444
|
+
```
|
2445
|
+
|
2446
|
+
Die MyApp-Klasse ist eine unabhängige Rack-Komponente, die als Middleware,
|
2447
|
+
Endpunkt oder via Rails Metal verwendet werden kann. Verwendet wird sie durch
|
2448
|
+
`use` oder `run` von einer Rackup-`config.ru`-Datei oder als Server-Komponente
|
2449
|
+
einer Bibliothek:
|
2450
|
+
|
2451
|
+
```ruby
|
2452
|
+
MyApp.run! :host => 'localhost', :port => 9090
|
2453
|
+
```
|
2454
|
+
|
2455
|
+
Die Methoden der `Sinatra::Base`-Subklasse sind genau dieselben wie die der
|
2456
|
+
Top-Level-DSL. Die meisten Top-Level-Anwendungen können mit nur zwei
|
2457
|
+
Veränderungen zu `Sinatra::Base` konvertiert werden:
|
2458
|
+
|
2459
|
+
* Die Datei sollte `require 'sinatra/base'` anstelle von `require
|
2460
|
+
'sinatra/base'` aufrufen, ansonsten werden alle von Sinatras DSL-Methoden
|
2461
|
+
in den Top-Level-Namespace importiert.
|
2462
|
+
* Alle Routen, Error-Handler, Filter und Optionen der Applikation müssen in
|
2463
|
+
einer Subklasse von `Sinatra::Base` definiert werden.
|
2464
|
+
|
2465
|
+
`Sinatra::Base` ist ein unbeschriebenes Blatt. Die meisten Optionen sind per
|
2466
|
+
Standard deaktiviert. Das betrifft auch den eingebauten Server. Siehe
|
2467
|
+
[Optionen und Konfiguration](http://www.sinatrarb.com/configuration.html) für
|
2468
|
+
Details über mögliche Optionen.
|
2469
|
+
|
2470
|
+
Damit eine App sich ähnlich wie eine klassische App verhält, kann man
|
2471
|
+
auch eine Subclass von `Sinatra::Application` erstellen:
|
2472
|
+
|
2473
|
+
```ruby
|
2474
|
+
require 'sinatra/base'
|
2475
|
+
|
2476
|
+
class MyApp < Sinatra::Application
|
2477
|
+
get '/' do
|
2478
|
+
'Hello world!'
|
2479
|
+
end
|
2480
|
+
end
|
2481
|
+
```
|
2482
|
+
|
2483
|
+
### Modularer vs. klassischer Stil
|
2484
|
+
|
2485
|
+
Entgegen häufiger Meinungen gibt es nichts gegen den klassischen Stil
|
2486
|
+
einzuwenden. Solange es die Applikation nicht beeinträchtigt, besteht kein
|
2487
|
+
Grund, eine modulare Applikation zu erstellen.
|
2488
|
+
|
2489
|
+
Der größte Nachteil der klassischen Sinatra Anwendung gegenüber einer
|
2490
|
+
modularen ist die Einschränkung auf eine Sinatra Anwendung pro Ruby-Prozess.
|
2491
|
+
Sollen mehrere zum Einsatz kommen, muss auf den modularen Stil umgestiegen
|
2492
|
+
werden. Dabei ist es kein Problem klassische und modulare Anwendungen
|
2493
|
+
miteinander zu vermischen.
|
2494
|
+
|
2495
|
+
Bei einem Umstieg, sollten einige Unterschiede in den Einstellungen beachtet
|
2496
|
+
werden:
|
2497
|
+
|
2498
|
+
<table>
|
2499
|
+
<tr>
|
2500
|
+
<th>Szenario</th>
|
2501
|
+
<th>Classic</th>
|
2502
|
+
<th>Modular</th>
|
2503
|
+
<th>Modular</th>
|
2504
|
+
</tr>
|
2505
|
+
|
2506
|
+
<tr>
|
2507
|
+
<td>app_file</td>
|
2508
|
+
<td>Sinatra ladende Datei</td>
|
2509
|
+
<td>Sinatra::Base subklassierende Datei</td>
|
2510
|
+
<td>Sinatra::Application subklassierende Datei</td>
|
2511
|
+
</tr>
|
2512
|
+
|
2513
|
+
<tr>
|
2514
|
+
<td>run</td>
|
2515
|
+
<td>$0 == app_file</td>
|
2516
|
+
<td>false</td>
|
2517
|
+
<td>false</td>
|
2518
|
+
</tr>
|
2519
|
+
|
2520
|
+
<tr>
|
2521
|
+
<td>logging</td>
|
2522
|
+
<td>true</td>
|
2523
|
+
<td>false</td>
|
2524
|
+
<td>true</td>
|
2525
|
+
</tr>
|
2526
|
+
|
2527
|
+
<tr>
|
2528
|
+
<td>method_override</td>
|
2529
|
+
<td>true</td>
|
2530
|
+
<td>false</td>
|
2531
|
+
<td>true</td>
|
2532
|
+
</tr>
|
2533
|
+
|
2534
|
+
<tr>
|
2535
|
+
<td>inline_templates</td>
|
2536
|
+
<td>true</td>
|
2537
|
+
<td>false</td>
|
2538
|
+
<td>true</td>
|
2539
|
+
</tr>
|
2540
|
+
|
2541
|
+
<tr>
|
2542
|
+
<td>static</td>
|
2543
|
+
<td>true</td>
|
2544
|
+
<td>File.exist?(public_folder)</td>
|
2545
|
+
<td>true</td>
|
2546
|
+
</tr>
|
2547
|
+
</table>
|
2548
|
+
|
2549
|
+
### Eine modulare Applikation bereitstellen
|
2550
|
+
|
2551
|
+
Es gibt zwei übliche Wege, eine modulare Anwendung zu starten. Zum einen über
|
2552
|
+
`run!`:
|
2553
|
+
|
2554
|
+
```ruby
|
2555
|
+
# mein_app.rb
|
2556
|
+
require 'sinatra/base'
|
2557
|
+
|
2558
|
+
class MeinApp < Sinatra::Base
|
2559
|
+
# ... Anwendungscode hierhin ...
|
2560
|
+
|
2561
|
+
# starte den Server, wenn die Ruby-Datei direkt ausgeführt wird
|
2562
|
+
run! if app_file == $0
|
2563
|
+
end
|
2564
|
+
```
|
2565
|
+
|
2566
|
+
Starte mit:
|
2567
|
+
|
2568
|
+
```shell
|
2569
|
+
ruby mein_app.rb
|
2570
|
+
```
|
2571
|
+
|
2572
|
+
Oder über eine `config.ru`-Datei, die es erlaubt, einen beliebigen
|
2573
|
+
Rack-Handler zu verwenden:
|
2574
|
+
|
2575
|
+
```ruby
|
2576
|
+
# config.ru (mit rackup starten)
|
2577
|
+
require './mein_app'
|
2578
|
+
run MeineApp
|
2579
|
+
```
|
2580
|
+
|
2581
|
+
Starte:
|
2582
|
+
|
2583
|
+
```shell
|
2584
|
+
rackup -p 4567
|
2585
|
+
```
|
2586
|
+
|
2587
|
+
### Eine klassische Anwendung mit einer config.ru verwenden
|
2588
|
+
|
2589
|
+
Schreibe eine Anwendungsdatei:
|
2590
|
+
|
2591
|
+
```ruby
|
2592
|
+
# app.rb
|
2593
|
+
require 'sinatra'
|
2594
|
+
|
2595
|
+
get '/' do
|
2596
|
+
'Hallo Welt!'
|
2597
|
+
end
|
2598
|
+
```
|
2599
|
+
|
2600
|
+
sowie eine dazugehörige `config.ru`-Datei:
|
2601
|
+
|
2602
|
+
```ruby
|
2603
|
+
require './app'
|
2604
|
+
run Sinatra::Application
|
2605
|
+
```
|
2606
|
+
|
2607
|
+
### Wann sollte eine config.ru-Datei verwendet werden?
|
2608
|
+
|
2609
|
+
Anzeichen dafür, dass eine `config.ru`-Datei gebraucht wird:
|
2610
|
+
|
2611
|
+
* Es soll ein anderer Rack-Handler verwendet werden (Passenger, Unicorn,
|
2612
|
+
Heroku, ...).
|
2613
|
+
* Es gibt mehr als nur eine Subklasse von `Sinatra::Base`.
|
2614
|
+
* Sinatra soll als Middleware verwendet werden, nicht als Endpunkt.
|
2615
|
+
|
2616
|
+
|
2617
|
+
**Es gibt keinen Grund, eine `config.ru`-Datei zu verwenden, nur weil eine
|
2618
|
+
Anwendung im modularen Stil betrieben werden soll. Ebenso wird keine Anwendung
|
2619
|
+
mit modularem Stil benötigt, um eine `config.ru`-Datei zu verwenden.**
|
2620
|
+
|
2621
|
+
### Sinatra als Middleware nutzen
|
2622
|
+
|
2623
|
+
Es ist nicht nur möglich, andere Rack-Middleware mit Sinatra zu nutzen, es
|
2624
|
+
kann außerdem jede Sinatra-Anwendung selbst als Middleware vor jeden
|
2625
|
+
beliebigen Rack-Endpunkt gehangen werden. Bei diesem Endpunkt muss es sich
|
2626
|
+
nicht um eine andere Sinatra-Anwendung handeln, es kann jede andere
|
2627
|
+
Rack-Anwendung sein (Rails/Ramaze/Camping/...):
|
2628
|
+
|
2629
|
+
```ruby
|
2630
|
+
require 'sinatra/base'
|
2631
|
+
|
2632
|
+
class LoginScreen < Sinatra::Base
|
2633
|
+
enable :sessions
|
2634
|
+
|
2635
|
+
get('/login') { haml :login }
|
2636
|
+
|
2637
|
+
post('/login') do
|
2638
|
+
if params['name'] == 'admin' && params['password'] == 'admin'
|
2639
|
+
session['user_name'] = params['name']
|
2640
|
+
else
|
2641
|
+
redirect '/login'
|
2642
|
+
end
|
2643
|
+
end
|
2644
|
+
end
|
2645
|
+
|
2646
|
+
class MyApp < Sinatra::Base
|
2647
|
+
# Middleware wird vor Filtern ausgeführt
|
2648
|
+
use LoginScreen
|
2649
|
+
|
2650
|
+
before do
|
2651
|
+
unless session['user_name']
|
2652
|
+
halt "Zugriff verweigert, bitte <a href='/login'>einloggen</a>."
|
2653
|
+
end
|
2654
|
+
end
|
2655
|
+
|
2656
|
+
get('/') { "Hallo #{session['user_name']}." }
|
2657
|
+
end
|
2658
|
+
```
|
2659
|
+
|
2660
|
+
### Dynamische Applikationserstellung
|
2661
|
+
|
2662
|
+
Manche Situationen erfordern die Erstellung neuer Applikationen zur Laufzeit,
|
2663
|
+
ohne dass sie einer Konstanten zugeordnet werden. Dies lässt sich mit
|
2664
|
+
`Sinatra.new` erreichen:
|
2665
|
+
|
2666
|
+
```ruby
|
2667
|
+
require 'sinatra/base'
|
2668
|
+
my_app = Sinatra.new { get('/') { "hallo" } }
|
2669
|
+
my_app.run!
|
2670
|
+
```
|
2671
|
+
|
2672
|
+
Die Applikation kann mit Hilfe eines optionalen Parameters erstellt werden:
|
2673
|
+
|
2674
|
+
```ruby
|
2675
|
+
# config.ru
|
2676
|
+
require 'sinatra/base'
|
2677
|
+
|
2678
|
+
controller = Sinatra.new do
|
2679
|
+
enable :logging
|
2680
|
+
helpers MyHelpers
|
2681
|
+
end
|
2682
|
+
|
2683
|
+
map('/a') do
|
2684
|
+
run Sinatra.new(controller) { get('/') { 'a' } }
|
2685
|
+
end
|
2686
|
+
|
2687
|
+
map('/b') do
|
2688
|
+
run Sinatra.new(controller) { get('/') { 'b' } }
|
2689
|
+
end
|
2690
|
+
```
|
2691
|
+
|
2692
|
+
Das ist besonders dann interessant, wenn Sinatra-Erweiterungen getestet werden
|
2693
|
+
oder Sinatra in einer Bibliothek Verwendung findet.
|
2694
|
+
|
2695
|
+
Ebenso lassen sich damit hervorragend Sinatra-Middlewares erstellen:
|
2696
|
+
|
2697
|
+
```ruby
|
2698
|
+
require 'sinatra/base'
|
2699
|
+
|
2700
|
+
use Sinatra do
|
2701
|
+
get('/') { ... }
|
2702
|
+
end
|
2703
|
+
|
2704
|
+
run RailsProject::Application
|
2705
|
+
```
|
2706
|
+
|
2707
|
+
## Geltungsbereich und Bindung
|
2708
|
+
|
2709
|
+
Der Geltungsbereich (Scope) legt fest, welche Methoden und Variablen zur
|
2710
|
+
Verfügung stehen.
|
2711
|
+
|
2712
|
+
### Anwendungs- oder Klassen-Scope
|
2713
|
+
|
2714
|
+
Jede Sinatra-Anwendung entspricht einer `Sinatra::Base`-Subklasse. Falls die
|
2715
|
+
Top- Level-DSL verwendet wird (`require 'sinatra'`), handelt es sich um
|
2716
|
+
`Sinatra::Application`, andernfalls ist es jene Subklasse, die explizit
|
2717
|
+
angelegt wurde. Auf Klassenebene stehen Methoden wie `get` oder `before` zur
|
2718
|
+
Verfügung, es gibt aber keinen Zugriff auf das `request`-Object oder die
|
2719
|
+
`session`, da nur eine einzige Klasse für alle eingehenden Anfragen genutzt
|
2720
|
+
wird.
|
2721
|
+
|
2722
|
+
Optionen, die via `set` gesetzt werden, sind Methoden auf Klassenebene:
|
2723
|
+
|
2724
|
+
```ruby
|
2725
|
+
class MyApp < Sinatra::Base
|
2726
|
+
# Hey, ich bin im Anwendungsscope!
|
2727
|
+
set :foo, 42
|
2728
|
+
foo # => 42
|
2729
|
+
|
2730
|
+
get '/foo' do
|
2731
|
+
# Hey, ich bin nicht mehr im Anwendungs-Scope!
|
2732
|
+
end
|
2733
|
+
end
|
2734
|
+
```
|
2735
|
+
|
2736
|
+
Im Anwendungs-Scope befindet man sich:
|
2737
|
+
|
2738
|
+
* In der Anwendungs-Klasse.
|
2739
|
+
* In Methoden, die von Erweiterungen definiert werden.
|
2740
|
+
* Im Block, der an `helpers` übergeben wird.
|
2741
|
+
* In Procs und Blöcken, die an `set` übergeben werden.
|
2742
|
+
* Der an `Sinatra.new` übergebene Block
|
2743
|
+
|
2744
|
+
|
2745
|
+
Auf das Scope-Objekt (die Klasse) kann wie folgt zugegriffen werden:
|
2746
|
+
|
2747
|
+
* Über das Objekt, das an den `configure`-Block übergeben wird (`configure {
|
2748
|
+
|c| ... }`).
|
2749
|
+
* `settings` aus den anderen Scopes heraus.
|
2750
|
+
|
2751
|
+
|
2752
|
+
### Anfrage- oder Instanz-Scope
|
2753
|
+
|
2754
|
+
Für jede eingehende Anfrage wird eine neue Instanz der Anwendungs-Klasse
|
2755
|
+
erstellt und alle Handler in diesem Scope ausgeführt. Aus diesem Scope heraus
|
2756
|
+
kann auf `request` oder `session` zugegriffen und Methoden wie `erb` oder
|
2757
|
+
`haml` aufgerufen werden. Außerdem kann mit der `settings`-Method auf den
|
2758
|
+
Anwendungs-Scope zugegriffen werden:
|
2759
|
+
|
2760
|
+
```ruby
|
2761
|
+
class MyApp < Sinatra::Base
|
2762
|
+
# Hey, ich bin im Anwendungs-Scope!
|
2763
|
+
get '/neue_route/:name' do
|
2764
|
+
# Anfrage-Scope für '/neue_route/:name'
|
2765
|
+
@value = 42
|
2766
|
+
|
2767
|
+
settings.get "/#{params['name']}" do
|
2768
|
+
# Anfrage-Scope für "/#{params['name']}"
|
2769
|
+
@value # => nil (nicht dieselbe Anfrage)
|
2770
|
+
end
|
2771
|
+
|
2772
|
+
"Route definiert!"
|
2773
|
+
end
|
2774
|
+
end
|
2775
|
+
```
|
2776
|
+
|
2777
|
+
Im Anfrage-Scope befindet man sich:
|
2778
|
+
|
2779
|
+
* In get, head, post, put, delete, options, patch, link und unlink Blöcken
|
2780
|
+
* In before und after Filtern
|
2781
|
+
* In Helfer-Methoden
|
2782
|
+
* In Templates
|
2783
|
+
|
2784
|
+
|
2785
|
+
### Delegation-Scope
|
2786
|
+
|
2787
|
+
Vom Delegation-Scope aus werden Methoden einfach an den Klassen-Scope
|
2788
|
+
weitergeleitet. Dieser verhält sich jedoch nicht 100%ig wie der Klassen-Scope,
|
2789
|
+
da man nicht die Bindung der Klasse besitzt: Nur Methoden, die explizit als
|
2790
|
+
delegierbar markiert wurden, stehen hier zur Verfügung und es kann nicht auf
|
2791
|
+
die Variablen des Klassenscopes zugegriffen werden (mit anderen Worten: es
|
2792
|
+
gibt ein anderes `self`). Weitere Delegationen können mit
|
2793
|
+
`Sinatra::Delegator.delegate :methoden_name` hinzugefügt werden.
|
2794
|
+
|
2795
|
+
Im Delegation-Scop befindet man sich:
|
2796
|
+
|
2797
|
+
* Im Top-Level, wenn `require 'sinatra'` aufgerufen wurde.
|
2798
|
+
* In einem Objekt, das mit dem `Sinatra::Delegator`-Mixin erweitert wurde.
|
2799
|
+
|
2800
|
+
|
2801
|
+
Schau am besten im Code nach: Hier ist [Sinatra::Delegator
|
2802
|
+
mixin](http://github.com/sinatra/sinatra/blob/master/lib/sinatra/base.rb#L1064
|
2803
|
+
) definiert und wird in den [globalen Namespace
|
2804
|
+
eingebunden](http://github.com/sinatra/sinatra/blob/master/lib/sinatra/main.rb
|
2805
|
+
|
2806
|
+
## Kommandozeile
|
2807
|
+
|
2808
|
+
Sinatra-Anwendungen können direkt von der Kommandozeile aus gestartet werden:
|
2809
|
+
|
2810
|
+
```shell
|
2811
|
+
ruby myapp.rb [-h] [-x] [-e ENVIRONMENT] [-p PORT] [-h HOST] [-s HANDLER]
|
2812
|
+
```
|
2813
|
+
|
2814
|
+
Die Optionen sind:
|
2815
|
+
|
2816
|
+
```
|
2817
|
+
-h # Hilfe
|
2818
|
+
-p # Port setzen (Standard ist 4567)
|
2819
|
+
-h # Host setzen (Standard ist 0.0.0.0)
|
2820
|
+
-e # Umgebung setzen (Standard ist development)
|
2821
|
+
-s # Rack-Server/Handler setzen (Standard ist thin)
|
2822
|
+
-x # Mutex-Lock einschalten (Standard ist off)
|
2823
|
+
```
|
2824
|
+
|
2825
|
+
### Multi-threading
|
2826
|
+
|
2827
|
+
_Paraphrasiert von [dieser Antwort auf StackOverflow][so-answer] von Konstantin_
|
2828
|
+
|
2829
|
+
Sinatra erlegt kein Nebenläufigkeitsmodell auf, sondern überlässt dies dem
|
2830
|
+
selbst gewählten Rack-Proxy (Server), so wie Thin, Puma oder WEBrick.
|
2831
|
+
Sinatra selbst ist Thread-sicher, somit ist es kein Problem wenn der
|
2832
|
+
Rack-Proxy ein anderes Threading-Modell für Nebenläufigkeit benutzt.
|
2833
|
+
Das heißt, dass wenn der Server gestartet wird, dass man die korrekte
|
2834
|
+
Aufrufsmethode benutzen sollte für den jeweiligen Rack-Proxy.
|
2835
|
+
Das folgende Beispiel ist eine Veranschaulichung eines mehrprozessigen
|
2836
|
+
Thin Servers:
|
2837
|
+
|
2838
|
+
``` ruby
|
2839
|
+
# app.rb
|
2840
|
+
|
2841
|
+
require 'sinatra/base'
|
2842
|
+
|
2843
|
+
class App < Sinatra::Base
|
2844
|
+
get '/' do
|
2845
|
+
"Hello, World"
|
2846
|
+
end
|
2847
|
+
end
|
2848
|
+
|
2849
|
+
App.run!
|
2850
|
+
|
2851
|
+
```
|
2852
|
+
|
2853
|
+
Um den Server zu starten, führt man das folgende Kommando aus:
|
2854
|
+
|
2855
|
+
``` shell
|
2856
|
+
thin --threaded start
|
2857
|
+
```
|
2858
|
+
|
2859
|
+
[so-answer]: http://stackoverflow.com/questions/6278817/is-sinatra-multi-threaded/6282999#6282999)
|
2860
|
+
|
2861
|
+
## Systemanforderungen
|
2862
|
+
|
2863
|
+
Die folgenden Versionen werden offiziell unterstützt:
|
2864
|
+
|
2865
|
+
<dl>
|
2866
|
+
<dt>Ruby 1.8.7</dt>
|
2867
|
+
<dd>1.8.7 wird vollständig unterstützt, ein Wechsel zu JRuby oder Rubinius wird
|
2868
|
+
aber empfohlen. Ruby 1.8.7 wird noch bis Sinatra 2.0 unterstützt werden. Frühere
|
2869
|
+
Versionen von Ruby sind nicht kompatibel mit Sinatra.</dd>
|
2870
|
+
|
2871
|
+
<dt>Ruby 1.9.2</dt>
|
2872
|
+
<dd>1.9.2 wird mindestens bis Sinatra 1.5 voll unterstützt. Version 1.9.2p0
|
2873
|
+
sollte nicht verwendet werden, da unter Sinatra immer wieder Segfaults
|
2874
|
+
auftreten.</dd>
|
2875
|
+
|
2876
|
+
<dt>Ruby 1.9.3</dt>
|
2877
|
+
<dd>1.9.3 wird vollständig unterstützt und empfohlen. Achtung, bei einem
|
2878
|
+
Upgrade von einer früheren Version von Ruby zu Ruby 1.9.3 werden alle Sessions
|
2879
|
+
ungültig. Ruby 1.9.3 wird bis Sinatra 2.0 unterstützt werden.</dd>
|
2880
|
+
|
2881
|
+
<dt>Ruby 2.x</dt>
|
2882
|
+
<dd>2.x wird vollständig unterstützt.</dd>
|
2883
|
+
|
2884
|
+
<dt>Rubinius</dt>
|
2885
|
+
<dd>Rubinius (Version >= 2.x) wird offiziell unterstützt. Es wird empfohlen, den
|
2886
|
+
<a href="http://puma.io">Puma Server</a> zu installieren (<tt>gem install puma
|
2887
|
+
</tt>)</dd>
|
2888
|
+
|
2889
|
+
<dt>JRuby</dt>
|
2890
|
+
<dd>Aktuelle JRuby Versionen werden offiziell unterstützt. Es wird empfohlen,
|
2891
|
+
keine C-Erweiterungen zu verwenden und als Server Trinidad zu verwenden
|
2892
|
+
(<tt>gem install trinidad</tt>).</dd>
|
2893
|
+
</dl>
|
2894
|
+
|
2895
|
+
Die nachfolgend aufgeführten Ruby-Implementierungen werden offiziell nicht von
|
2896
|
+
Sinatra unterstützt, funktionieren aber normalerweise:
|
2897
|
+
|
2898
|
+
* Ruby Enterprise Edition
|
2899
|
+
* Ältere Versionen von JRuby und Rubinius
|
2900
|
+
* MacRuby (<tt>gem install control_tower</tt> wird empfohlen), Maglev, IronRuby
|
2901
|
+
* Ruby 1.9.0 und 1.9.1
|
2902
|
+
|
2903
|
+
Nicht offiziell unterstützt bedeutet, dass wenn Sachen nicht funktionieren,
|
2904
|
+
wir davon ausgehen, dass es nicht an Sinatra sondern an der jeweiligen
|
2905
|
+
Implementierung liegt.
|
2906
|
+
|
2907
|
+
Im Rahmen unserer CI (Kontinuierlichen Integration) wird bereits ruby-head
|
2908
|
+
(zukünftige Versionen von MRI) mit eingebunden. Es kann davon ausgegangen
|
2909
|
+
werden, dass Sinatra MRI auch weiterhin vollständig unterstützen wird.
|
2910
|
+
|
2911
|
+
Sinatra sollte auf jedem Betriebssystem laufen, dass einen funktionierenden
|
2912
|
+
Ruby-Interpreter aufweist.
|
2913
|
+
|
2914
|
+
Sinatra läuft aktuell nicht unter Cardinal, SmallRuby, BlueRuby oder Ruby <= 1.8.7.
|
2915
|
+
|
2916
|
+
## Der neuste Stand (The Bleeding Edge)
|
2917
|
+
|
2918
|
+
Um auf dem neusten Stand zu bleiben, kann der Master-Branch verwendet werden.
|
2919
|
+
Er sollte recht stabil sein. Ebenso gibt es von Zeit zu Zeit prerelease Gems,
|
2920
|
+
die so installiert werden:
|
2921
|
+
|
2922
|
+
```shell
|
2923
|
+
gem install sinatra --pre
|
2924
|
+
```
|
2925
|
+
|
2926
|
+
### Mit Bundler
|
2927
|
+
|
2928
|
+
Wenn die Applikation mit der neuesten Version von Sinatra und
|
2929
|
+
[Bundler](http://bundler.io) genutzt werden soll, empfehlen wir den
|
2930
|
+
nachfolgenden Weg.
|
2931
|
+
|
2932
|
+
Soweit Bundler noch nicht installiert ist:
|
2933
|
+
|
2934
|
+
```shell
|
2935
|
+
gem install bundler
|
2936
|
+
```
|
2937
|
+
|
2938
|
+
Anschließend wird eine `Gemfile`-Datei im Projektverzeichnis mit folgendem
|
2939
|
+
Inhalt erstellt:
|
2940
|
+
|
2941
|
+
```ruby
|
2942
|
+
source :rubygems
|
2943
|
+
gem 'sinatra', :git => "git://github.com/sinatra/sinatra.git"
|
2944
|
+
|
2945
|
+
# evtl. andere Abhängigkeiten
|
2946
|
+
gem 'haml' # z.B. wenn du Haml verwendest...
|
2947
|
+
gem 'activerecord', '~> 3.0' # ...oder ActiveRecord 3.x
|
2948
|
+
```
|
2949
|
+
|
2950
|
+
Beachte: Hier sollten alle Abhängigkeiten eingetragen werden. Sinatras eigene,
|
2951
|
+
direkte Abhängigkeiten (Tilt und Rack) werden von Bundler automatisch aus dem
|
2952
|
+
Gemfile von Sinatra hinzugefügt.
|
2953
|
+
|
2954
|
+
Jetzt kannst du deine Applikation starten:
|
2955
|
+
|
2956
|
+
```shell
|
2957
|
+
bundle exec ruby myapp.rb
|
2958
|
+
```
|
2959
|
+
|
2960
|
+
### Eigenes Repository
|
2961
|
+
Um auf dem neuesten Stand von Sinatras Code zu sein, kann eine lokale Kopie
|
2962
|
+
angelegt werden. Gestartet wird in der Anwendung mit dem `sinatra/lib`-Ordner
|
2963
|
+
im `LOAD_PATH`:
|
2964
|
+
|
2965
|
+
```shell
|
2966
|
+
cd myapp
|
2967
|
+
git clone git://github.com/sinatra/sinatra.git
|
2968
|
+
ruby -Isinatra/lib myapp.rb
|
2969
|
+
```
|
2970
|
+
|
2971
|
+
Alternativ kann der `sinatra/lib`-Ordner zum `LOAD_PATH` in der Anwendung
|
2972
|
+
hinzugefügt werden:
|
2973
|
+
|
2974
|
+
```ruby
|
2975
|
+
$LOAD_PATH.unshift File.dirname(__FILE__) + '/sinatra/lib'
|
2976
|
+
require 'rubygems'
|
2977
|
+
require 'sinatra'
|
2978
|
+
|
2979
|
+
get '/ueber' do
|
2980
|
+
"Ich laufe auf Version " + Sinatra::VERSION
|
2981
|
+
end
|
2982
|
+
```
|
2983
|
+
|
2984
|
+
Um Sinatra-Code von Zeit zu Zeit zu aktualisieren:
|
2985
|
+
|
2986
|
+
```shell
|
2987
|
+
cd myproject/sinatra
|
2988
|
+
git pull
|
2989
|
+
```
|
2990
|
+
|
2991
|
+
### Gem erstellen
|
2992
|
+
|
2993
|
+
Aus der eigenen lokalen Kopie kann nun auch ein globales Gem gebaut werden:
|
2994
|
+
|
2995
|
+
```shell
|
2996
|
+
git clone git://github.com/sinatra/sinatra.git
|
2997
|
+
cd sinatra
|
2998
|
+
rake sinatra.gemspec
|
2999
|
+
rake install
|
3000
|
+
```
|
3001
|
+
|
3002
|
+
Falls Gems als Root installiert werden sollen, sollte die letzte Zeile
|
3003
|
+
folgendermaßen lauten:
|
3004
|
+
|
3005
|
+
```shell
|
3006
|
+
sudo rake install
|
3007
|
+
```
|
3008
|
+
|
3009
|
+
## Versions-Verfahren
|
3010
|
+
|
3011
|
+
Sinatra folgt dem sogenannten [Semantic Versioning](http://semver.org/), d.h.
|
3012
|
+
SemVer und SemVerTag.
|
3013
|
+
|
3014
|
+
## Mehr
|
3015
|
+
|
3016
|
+
* [Projekt-Website](http://www.sinatrarb.com/) - Ergänzende Dokumentation,
|
3017
|
+
News und Links zu anderen Ressourcen.
|
3018
|
+
* [Mitmachen](http://www.sinatrarb.com/contributing.html) - Einen Fehler
|
3019
|
+
gefunden? Brauchst du Hilfe? Hast du einen Patch?
|
3020
|
+
* [Issue-Tracker](https://github.com/sinatra/sinatra/issues)
|
3021
|
+
* [Twitter](https://twitter.com/sinatra)
|
3022
|
+
* [Mailing-Liste](http://groups.google.com/group/sinatrarb)
|
3023
|
+
* [#sinatra](irc://chat.freenode.net/#sinatra) auf http://freenode.net Es
|
3024
|
+
gibt dort auch immer wieder deutschsprachige Entwickler, die gerne weiterhelfen.
|
3025
|
+
* [Sinatra Book](https://github.com/sinatra/sinatra-book/) Kochbuch Tutorial
|
3026
|
+
* [Sinatra Recipes](http://recipes.sinatrarb.com/) Sinatra-Rezepte aus der
|
3027
|
+
Community
|
3028
|
+
* API Dokumentation für die [aktuelle
|
3029
|
+
Version](http://www.rubydoc.info//gems/sinatra) oder für
|
3030
|
+
[HEAD](http://www.rubydoc.info/github/sinatra/sinatra) auf http://rubydoc.info
|
3031
|
+
* [CI Server](https://travis-ci.org/sinatra/sinatra)
|