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,2821 @@
|
|
1
|
+
# Sinatra
|
2
|
+
|
3
|
+
*Atención: Este documento es una traducción de la versión en inglés y puede estar desactualizado.*
|
4
|
+
|
5
|
+
Sinatra es un
|
6
|
+
[DSL](https://es.wikipedia.org/wiki/Lenguaje_específico_del_dominio) para
|
7
|
+
crear aplicaciones web rápidamente en Ruby con un mínimo esfuerzo:
|
8
|
+
|
9
|
+
```ruby
|
10
|
+
# miapp.rb
|
11
|
+
require 'sinatra'
|
12
|
+
|
13
|
+
get '/' do
|
14
|
+
'Hola mundo!'
|
15
|
+
end
|
16
|
+
```
|
17
|
+
|
18
|
+
Instalar la gema y correr la aplicación con:
|
19
|
+
|
20
|
+
```shell
|
21
|
+
gem install sinatra
|
22
|
+
ruby miapp.rb
|
23
|
+
```
|
24
|
+
|
25
|
+
Ver en [http://localhost:4567](http://localhost:4567).
|
26
|
+
|
27
|
+
Se recomienda ejecutar `gem install thin`, porque Sinatra lo utilizará si está disponible.
|
28
|
+
|
29
|
+
## Rutas
|
30
|
+
|
31
|
+
En Sinatra, una ruta es un método HTTP junto a un patrón de un URL.
|
32
|
+
Cada ruta está asociada a un bloque:
|
33
|
+
|
34
|
+
```ruby
|
35
|
+
get '/' do
|
36
|
+
.. mostrar algo ..
|
37
|
+
end
|
38
|
+
|
39
|
+
post '/' do
|
40
|
+
.. crear algo ..
|
41
|
+
end
|
42
|
+
|
43
|
+
put '/' do
|
44
|
+
.. reemplazar algo ..
|
45
|
+
end
|
46
|
+
|
47
|
+
patch '/' do
|
48
|
+
.. modificar algo ..
|
49
|
+
end
|
50
|
+
|
51
|
+
delete '/' do
|
52
|
+
.. aniquilar algo ..
|
53
|
+
end
|
54
|
+
|
55
|
+
options '/' do
|
56
|
+
.. informar algo ..
|
57
|
+
end
|
58
|
+
|
59
|
+
link '/' do
|
60
|
+
.. afiliar a algo ..
|
61
|
+
end
|
62
|
+
|
63
|
+
unlink '/' do
|
64
|
+
.. separar algo ..
|
65
|
+
end
|
66
|
+
|
67
|
+
```
|
68
|
+
|
69
|
+
Las rutas son comparadas en el orden en el que son definidas. La primera ruta
|
70
|
+
que coincide con la petición es escogida.
|
71
|
+
|
72
|
+
Los patrones de las rutas pueden incluir parámetros nombrados, accesibles a
|
73
|
+
través del hash `params`:
|
74
|
+
|
75
|
+
```ruby
|
76
|
+
get '/hola/:nombre' do
|
77
|
+
# coincide con "GET /hola/foo" y "GET /hola/bar"
|
78
|
+
# params['nombre'] es 'foo' o 'bar'
|
79
|
+
"Hola #{params['nombre']}!"
|
80
|
+
end
|
81
|
+
```
|
82
|
+
|
83
|
+
También puede acceder a los parámetros nombrados usando parámetros de bloque:
|
84
|
+
|
85
|
+
```ruby
|
86
|
+
get '/hola/:nombre' do |n|
|
87
|
+
# coincide con "GET /hola/foo" y "GET /hola/bar"
|
88
|
+
# params['nombre'] es 'foo' o 'bar'
|
89
|
+
# n almacena params['nombre']
|
90
|
+
"Hola #{n}!"
|
91
|
+
end
|
92
|
+
```
|
93
|
+
|
94
|
+
Los patrones de ruta también pueden incluir parámetros splat (o wildcard),
|
95
|
+
accesibles a través del arreglo `params['splat']`:
|
96
|
+
|
97
|
+
```ruby
|
98
|
+
get '/decir/*/al/*' do
|
99
|
+
# coincide con /decir/hola/al/mundo
|
100
|
+
params['splat'] # => ["hola", "mundo"]
|
101
|
+
end
|
102
|
+
|
103
|
+
get '/descargar/*.*' do
|
104
|
+
# coincide con /descargar/path/al/archivo.xml
|
105
|
+
params['splat'] # => ["path/al/archivo", "xml"]
|
106
|
+
end
|
107
|
+
```
|
108
|
+
|
109
|
+
O, con parámetros de bloque:
|
110
|
+
|
111
|
+
```ruby
|
112
|
+
get '/descargar/*.*' do |path, ext|
|
113
|
+
[path, ext] # => ["path/al/archivo", "xml"]
|
114
|
+
end
|
115
|
+
```
|
116
|
+
|
117
|
+
Rutas con Expresiones Regulares:
|
118
|
+
|
119
|
+
```ruby
|
120
|
+
get /\A\/hola\/([\w]+)\z/ do
|
121
|
+
"Hola, #{params['captures'].first}!"
|
122
|
+
end
|
123
|
+
```
|
124
|
+
|
125
|
+
O con un parámetro de bloque:
|
126
|
+
|
127
|
+
```ruby
|
128
|
+
get %r{/hola/([\w]+)} do |c|
|
129
|
+
"Hola, #{c}!"
|
130
|
+
end
|
131
|
+
```
|
132
|
+
|
133
|
+
Los patrones de ruta pueden contener parámetros opcionales:
|
134
|
+
|
135
|
+
```ruby
|
136
|
+
get '/posts/:formato?' do
|
137
|
+
# coincide con "GET /posts/" y además admite cualquier extensión, por
|
138
|
+
# ejemplo, "GET /posts/json", "GET /posts/xml", etc.
|
139
|
+
end
|
140
|
+
```
|
141
|
+
|
142
|
+
A propósito, a menos que desactives la protección para el ataque *path
|
143
|
+
traversal* (ver más abajo), el path de la petición puede ser modificado
|
144
|
+
antes de que se compare con los de tus rutas.
|
145
|
+
|
146
|
+
## Condiciones
|
147
|
+
|
148
|
+
Las rutas pueden incluir una variedad de condiciones de selección, como por
|
149
|
+
ejemplo el user agent:
|
150
|
+
|
151
|
+
```ruby
|
152
|
+
get '/foo', :agent => /Songbird (\d\.\d)[\d\/]*?/ do
|
153
|
+
"Estás usando la versión de Songbird #{params['agent'][0]}"
|
154
|
+
end
|
155
|
+
|
156
|
+
get '/foo' do
|
157
|
+
# Coincide con navegadores que no sean songbird
|
158
|
+
end
|
159
|
+
```
|
160
|
+
|
161
|
+
Otras condiciones disponibles son `host_name` y `provides`:
|
162
|
+
|
163
|
+
```ruby
|
164
|
+
get '/', :host_name => /^admin\./ do
|
165
|
+
"Área de Administración, Acceso denegado!"
|
166
|
+
end
|
167
|
+
|
168
|
+
get '/', :provides => 'html' do
|
169
|
+
haml :index
|
170
|
+
end
|
171
|
+
|
172
|
+
get '/', :provides => ['rss', 'atom', 'xml'] do
|
173
|
+
builder :feed
|
174
|
+
end
|
175
|
+
```
|
176
|
+
|
177
|
+
Puede definir sus propias condiciones fácilmente:
|
178
|
+
|
179
|
+
```ruby
|
180
|
+
set(:probabilidad) { |valor| condition { rand <= valor } }
|
181
|
+
|
182
|
+
get '/gana_un_auto', :probabilidad => 0.1 do
|
183
|
+
"Ganaste!"
|
184
|
+
end
|
185
|
+
|
186
|
+
get '/gana_un_auto' do
|
187
|
+
"Lo siento, perdiste."
|
188
|
+
end
|
189
|
+
```
|
190
|
+
|
191
|
+
Si su condición acepta más de un argumento, puede pasarle un arreglo. Al
|
192
|
+
definir la condición, se puede utilizar el operador splat en
|
193
|
+
la lista de parámetros:
|
194
|
+
|
195
|
+
```ruby
|
196
|
+
set(:autorizar) do |*roles| # <- mirá el splat
|
197
|
+
condition do
|
198
|
+
unless sesion_iniciada? && roles.any? {|rol| usuario_actual.tiene_rol? rol }
|
199
|
+
redirect "/iniciar_sesion/", 303
|
200
|
+
end
|
201
|
+
end
|
202
|
+
end
|
203
|
+
|
204
|
+
get "/mi/cuenta/", :autorizar => [:usuario, :administrador] do
|
205
|
+
"Detalles de mi cuenta"
|
206
|
+
end
|
207
|
+
|
208
|
+
get "/solo/administradores/", :autorizar => :administrador do
|
209
|
+
"Únicamente para administradores!"
|
210
|
+
end
|
211
|
+
```
|
212
|
+
|
213
|
+
### Valores de Retorno
|
214
|
+
|
215
|
+
El valor de retorno de un bloque de ruta que determina al menos el cuerpo de la
|
216
|
+
respuesta que se le pasa al cliente HTTP o al siguiente middleware en la pila
|
217
|
+
de Rack. Lo más común es que sea un string, como en los ejemplos anteriores.
|
218
|
+
Sin embargo, otros valores también son aceptados.
|
219
|
+
|
220
|
+
Puede devolver cualquier objeto que sea una respuesta Rack válida, un objeto
|
221
|
+
que represente el cuerpo de una respuesta Rack o un código de estado HTTP:
|
222
|
+
|
223
|
+
* Un arreglo con tres elementos: `[estado (Fixnum), cabeceras (Hash), cuerpo de
|
224
|
+
la respuesta (responde a #each)]`
|
225
|
+
* Un arreglo con dos elementos: `[estado (Fixnum), cuerpo de la respuesta
|
226
|
+
(responde a #each)]`
|
227
|
+
* Un objeto que responde a `#each` y que le pasa únicamente strings al bloque
|
228
|
+
dado
|
229
|
+
* Un Fixnum representando el código de estado
|
230
|
+
|
231
|
+
De esa manera, podemos fácilmente implementar un ejemplo de streaming:
|
232
|
+
|
233
|
+
```ruby
|
234
|
+
class Stream
|
235
|
+
def each
|
236
|
+
100.times { |i| yield "#{i}\n" }
|
237
|
+
end
|
238
|
+
end
|
239
|
+
|
240
|
+
get('/') { Stream.new }
|
241
|
+
```
|
242
|
+
|
243
|
+
### Comparadores de Rutas Personalizados
|
244
|
+
|
245
|
+
Como se mostró anteriormente, Sinatra permite utilizar strings y expresiones
|
246
|
+
regulares para definir las rutas. Sin embargo, la cosa no termina ahí. Podés
|
247
|
+
definir tus propios comparadores muy fácilmente:
|
248
|
+
|
249
|
+
```ruby
|
250
|
+
class PatronCualquieraMenos
|
251
|
+
Match = Struct.new(:captures)
|
252
|
+
|
253
|
+
def initialize(excepto)
|
254
|
+
@excepto = excepto
|
255
|
+
@capturas = Match.new([])
|
256
|
+
end
|
257
|
+
|
258
|
+
def match(str)
|
259
|
+
@capturas unless @excepto === str
|
260
|
+
end
|
261
|
+
end
|
262
|
+
|
263
|
+
def cualquiera_menos(patron)
|
264
|
+
PatronCualquieraMenos.new(patron)
|
265
|
+
end
|
266
|
+
|
267
|
+
get cualquiera_menos("/index") do
|
268
|
+
# ...
|
269
|
+
end
|
270
|
+
```
|
271
|
+
|
272
|
+
Tenga en cuenta que el ejemplo anterior es un poco rebuscado. Un resultado
|
273
|
+
similar puede conseguirse más sencillamente:
|
274
|
+
|
275
|
+
```ruby
|
276
|
+
get // do
|
277
|
+
pass if request.path_info == "/index"
|
278
|
+
# ...
|
279
|
+
end
|
280
|
+
```
|
281
|
+
|
282
|
+
O, usando un lookahead negativo:
|
283
|
+
|
284
|
+
```ruby
|
285
|
+
get %r{^(?!/index$)} do
|
286
|
+
# ...
|
287
|
+
end
|
288
|
+
```
|
289
|
+
|
290
|
+
### Archivos Estáticos
|
291
|
+
|
292
|
+
Los archivos estáticos son servidos desde el directorio público
|
293
|
+
`./public`. Puede especificar una ubicación diferente ajustando la
|
294
|
+
opción `:public_folder`:
|
295
|
+
|
296
|
+
```ruby
|
297
|
+
set :public_folder, File.dirname(__FILE__) + '/estaticos'
|
298
|
+
```
|
299
|
+
|
300
|
+
Note que el nombre del directorio público no está incluido en la URL. Por
|
301
|
+
ejemplo, el archivo `./public/css/style.css` se accede a través de
|
302
|
+
`http://ejemplo.com/css/style.css`.
|
303
|
+
|
304
|
+
Use la configuración `:static_cache_control` para agregar el encabezado
|
305
|
+
`Cache-Control` (ver la sección de configuración para más detalles).
|
306
|
+
|
307
|
+
### Vistas / Plantillas
|
308
|
+
|
309
|
+
Cada lenguaje de plantilla se expone a través de un método de renderizado que
|
310
|
+
lleva su nombre. Estos métodos simplemente devuelven un string:
|
311
|
+
|
312
|
+
```ruby
|
313
|
+
get '/' do
|
314
|
+
erb :index
|
315
|
+
end
|
316
|
+
```
|
317
|
+
|
318
|
+
Renderiza `views/index.erb`.
|
319
|
+
|
320
|
+
En lugar del nombre de la plantilla podés proporcionar directamente el
|
321
|
+
contenido de la misma:
|
322
|
+
|
323
|
+
```ruby
|
324
|
+
get '/' do
|
325
|
+
codigo = "<%= Time.now %>"
|
326
|
+
erb codigo
|
327
|
+
end
|
328
|
+
```
|
329
|
+
|
330
|
+
Los métodos de renderizado, aceptan además un segundo argumento, el hash de
|
331
|
+
opciones:
|
332
|
+
|
333
|
+
```ruby
|
334
|
+
get '/' do
|
335
|
+
erb :index, :layout => :post
|
336
|
+
end
|
337
|
+
```
|
338
|
+
|
339
|
+
Renderiza `views/index.erb` incrustado en `views/post.erb` (por
|
340
|
+
defecto, la plantilla `:index` es incrustada en `views/layout.erb` siempre y
|
341
|
+
cuando este último archivo exista).
|
342
|
+
|
343
|
+
Cualquier opción que Sinatra no entienda le será pasada al motor de renderizado
|
344
|
+
de la plantilla:
|
345
|
+
|
346
|
+
```ruby
|
347
|
+
get '/' do
|
348
|
+
haml :index, :format => :html5
|
349
|
+
end
|
350
|
+
```
|
351
|
+
|
352
|
+
Además, puede definir las opciones para un lenguaje de plantillas de forma
|
353
|
+
general:
|
354
|
+
|
355
|
+
```ruby
|
356
|
+
set :haml, :format => :html5
|
357
|
+
|
358
|
+
get '/' do
|
359
|
+
haml :index
|
360
|
+
end
|
361
|
+
```
|
362
|
+
|
363
|
+
Las opciones pasadas al método de renderizado tienen precedencia sobre las
|
364
|
+
definidas mediante `set`.
|
365
|
+
|
366
|
+
Opciones disponibles:
|
367
|
+
|
368
|
+
<dl>
|
369
|
+
|
370
|
+
<dt>locals</dt>
|
371
|
+
<dd>
|
372
|
+
Lista de variables locales pasadas al documento. Resultan muy útiles cuando
|
373
|
+
se combinan con parciales.
|
374
|
+
Ejemplo: <tt>erb "<%= foo %>", :locals => {:foo => "bar"}</tt>
|
375
|
+
</dd>
|
376
|
+
|
377
|
+
<dt>default_encoding</dt>
|
378
|
+
<dd>
|
379
|
+
Encoding utilizado cuando el de un string es dudoso. Por defecto toma el
|
380
|
+
valor de <tt>settings.default_encoding</tt>.
|
381
|
+
</dd>
|
382
|
+
|
383
|
+
<dt>views</dt>
|
384
|
+
<dd>
|
385
|
+
Directorio desde donde se cargan las vistas. Por defecto toma el valor de
|
386
|
+
<tt>settings.views</tt>.
|
387
|
+
</dd>
|
388
|
+
|
389
|
+
<dt>layout</dt>
|
390
|
+
<dd>
|
391
|
+
Si es <tt>true</tt> o <tt>false</tt> indica que se debe usar, o no, un layout,
|
392
|
+
respectivamente. También puede ser un símbolo que especifique qué plantilla
|
393
|
+
usar. Ejemplo: <tt>erb :index, :layout => !request.xhr?</tt>
|
394
|
+
</dd>
|
395
|
+
|
396
|
+
<dt>content_type</dt>
|
397
|
+
<dd>
|
398
|
+
Content-Type que produce la plantilla. El valor por defecto depende de cada
|
399
|
+
lenguaje de plantillas.
|
400
|
+
</dd>
|
401
|
+
|
402
|
+
<dt>scope</dt>
|
403
|
+
<dd>
|
404
|
+
Ámbito en el que se renderiza la plantilla. Por defecto utiliza la instancia
|
405
|
+
de la aplicación. Tené en cuenta que si cambiás esta opción las variables de
|
406
|
+
instancia y los helpers van a dejar de estar disponibles.
|
407
|
+
</dd>
|
408
|
+
|
409
|
+
<dt>layout_engine</dt>
|
410
|
+
<dd>
|
411
|
+
Motor de renderizado de plantillas que usa para el layout. Resulta
|
412
|
+
conveniente para lenguajes que no soportan layouts. Por defecto toma el valor
|
413
|
+
del motor usado para renderizar la plantilla.
|
414
|
+
Ejemplo: <tt>set :rdoc, :layout_engine => :erb</tt>
|
415
|
+
</dd>
|
416
|
+
|
417
|
+
<dd>
|
418
|
+
Se asume que las plantillas están ubicadas directamente bajo el directorio
|
419
|
+
<tt>./views</tt>. Para usar un directorio de vistas diferente:
|
420
|
+
<tt>set :views, settings.root + '/plantillas'</tt>
|
421
|
+
</dd>
|
422
|
+
|
423
|
+
<dd>
|
424
|
+
Es importante acordarse que siempre tenés que referenciar a las plantillas con
|
425
|
+
símbolos, incluso cuando se encuentran en un subdirectorio (en este caso
|
426
|
+
tenés que usar: `:'subdir/plantilla'` o `'subdir/plantilla'.to_sym`). Tenés que
|
427
|
+
usar un símbolo porque los métodos de renderización van a renderizar
|
428
|
+
directamente cualquier string que se les pase como argumento.
|
429
|
+
</dd>
|
430
|
+
</dl>
|
431
|
+
|
432
|
+
### Lenguajes de Plantillas Disponibles
|
433
|
+
|
434
|
+
Algunos lenguajes tienen varias implementaciones. Para especificar que
|
435
|
+
implementación usar (y para ser thread-safe), deberías requerirla antes de
|
436
|
+
usarla:
|
437
|
+
|
438
|
+
```ruby
|
439
|
+
require 'rdiscount' # o require 'bluecloth'
|
440
|
+
get('/') { markdown :index }
|
441
|
+
```
|
442
|
+
|
443
|
+
### Plantillas Haml
|
444
|
+
|
445
|
+
<table>
|
446
|
+
<tr>
|
447
|
+
<td>Dependencias</td>
|
448
|
+
<td><a href="http://haml.info/" title="haml">haml</a></td>
|
449
|
+
</tr>
|
450
|
+
<tr>
|
451
|
+
<td>Expresiones de Archivo</td>
|
452
|
+
<td><tt>.haml</tt></td>
|
453
|
+
</tr>
|
454
|
+
<tr>
|
455
|
+
<td>Ejemplo</td>
|
456
|
+
<td><tt>haml :index, :format => :html5</tt></td>
|
457
|
+
</tr>
|
458
|
+
</table>
|
459
|
+
|
460
|
+
### Plantillas Erb
|
461
|
+
|
462
|
+
<table>
|
463
|
+
<tr>
|
464
|
+
<td>Dependencias</td>
|
465
|
+
<td>
|
466
|
+
<a href="http://www.kuwata-lab.com/erubis/" title="erubis">erubis</a>
|
467
|
+
o erb (incluida en Ruby)
|
468
|
+
</td>
|
469
|
+
</tr>
|
470
|
+
<tr>
|
471
|
+
<td>Extensiones de Archivo</td>
|
472
|
+
<td><tt>.erb</tt>, <tt>.rhtml</tt> o <tt>.erubis</tt> (solamente con Erubis)</td>
|
473
|
+
</tr>
|
474
|
+
<tr>
|
475
|
+
<td>Ejemplo</td>
|
476
|
+
<td><tt>erb :index</tt></td>
|
477
|
+
</tr>
|
478
|
+
</table>
|
479
|
+
|
480
|
+
### Plantillas Builder
|
481
|
+
|
482
|
+
<table>
|
483
|
+
<tr>
|
484
|
+
<td>Dependencias</td>
|
485
|
+
<td>
|
486
|
+
<a href="https://github.com/jimweirich/builder" title="builder">builder</a>
|
487
|
+
</td>
|
488
|
+
</tr>
|
489
|
+
<tr>
|
490
|
+
<td>Extensiones de Archivo</td>
|
491
|
+
<td><tt>.builder</tt></td>
|
492
|
+
</tr>
|
493
|
+
<tr>
|
494
|
+
<td>Ejemplo</td>
|
495
|
+
<td><tt>builder { |xml| xml.em "hola" }</tt></td>
|
496
|
+
</tr>
|
497
|
+
</table>
|
498
|
+
|
499
|
+
Además, acepta un bloque con la definición de la plantilla (ver ejemplo).
|
500
|
+
|
501
|
+
### Plantillas Nokogiri
|
502
|
+
|
503
|
+
<table>
|
504
|
+
<tr>
|
505
|
+
<td>Dependencias</td>
|
506
|
+
<td><a href="http://www.nokogiri.org/" title="nokogiri">nokogiri</a></td>
|
507
|
+
</tr>
|
508
|
+
<tr>
|
509
|
+
<td>Extensiones de Archivo</td>
|
510
|
+
<td><tt>.nokogiri</tt></td>
|
511
|
+
</tr>
|
512
|
+
<tr>
|
513
|
+
<td>Ejemplo</td>
|
514
|
+
<td><tt>nokogiri { |xml| xml.em "hola" }</tt></td>
|
515
|
+
</tr>
|
516
|
+
</table>
|
517
|
+
|
518
|
+
Además, acepta un bloque con la definición de la plantilla (ver ejemplo).
|
519
|
+
|
520
|
+
### Plantillas Sass
|
521
|
+
|
522
|
+
<table>
|
523
|
+
<tr>
|
524
|
+
<td>Dependencias</td>
|
525
|
+
<td><a href="http://sass-lang.com/" title="sass">sass</a></td>
|
526
|
+
</tr>
|
527
|
+
<tr>
|
528
|
+
<td>Extensiones de Archivo</td>
|
529
|
+
<td><tt>.sass</tt></td>
|
530
|
+
</tr>
|
531
|
+
<tr>
|
532
|
+
<td>Ejemplo</td>
|
533
|
+
<td><tt>sass :stylesheet, :style => :expanded</tt></td>
|
534
|
+
</tr>
|
535
|
+
</table>
|
536
|
+
|
537
|
+
### Plantillas SCSS
|
538
|
+
|
539
|
+
<table>
|
540
|
+
<tr>
|
541
|
+
<td>Dependencias</td>
|
542
|
+
<td><a href="http://sass-lang.com/" title="sass">sass</a></td>
|
543
|
+
</tr>
|
544
|
+
<tr>
|
545
|
+
<td>Extensiones de Archivo</td>
|
546
|
+
<td><tt>.scss</tt></td>
|
547
|
+
</tr>
|
548
|
+
<tr>
|
549
|
+
<td>Ejemplo</td>
|
550
|
+
<td><tt>scss :stylesheet, :style => :expanded</tt></td>
|
551
|
+
</tr>
|
552
|
+
</table>
|
553
|
+
|
554
|
+
### Plantillas Less
|
555
|
+
|
556
|
+
<table>
|
557
|
+
<tr>
|
558
|
+
<td>Dependencias</td>
|
559
|
+
<td><a href="http://lesscss.org/" title="less">less</a></td>
|
560
|
+
</tr>
|
561
|
+
<tr>
|
562
|
+
<td>Extensiones de Archivo</td>
|
563
|
+
<td><tt>.less</tt></td>
|
564
|
+
</tr>
|
565
|
+
<tr>
|
566
|
+
<td>Ejemplo</td>
|
567
|
+
<td><tt>less :stylesheet</tt></td>
|
568
|
+
</tr>
|
569
|
+
</table>
|
570
|
+
|
571
|
+
### Plantillas Liquid
|
572
|
+
|
573
|
+
<table>
|
574
|
+
<tr>
|
575
|
+
<td>Dependencias</td>
|
576
|
+
<td><a href="http://liquidmarkup.org/" title="liquid">liquid</a></td>
|
577
|
+
</tr>
|
578
|
+
<tr>
|
579
|
+
<td>Extensiones de Archivo</td>
|
580
|
+
<td><tt>.liquid</tt></td>
|
581
|
+
</tr>
|
582
|
+
<tr>
|
583
|
+
<td>Ejemplo</td>
|
584
|
+
<td><tt>liquid :index, :locals => { :clave => 'valor' }</tt></td>
|
585
|
+
</tr>
|
586
|
+
</table>
|
587
|
+
|
588
|
+
Como no va a poder llamar a métodos de Ruby (excepto por `yield`) desde una
|
589
|
+
plantilla Liquid, casi siempre va a querer pasarle locales.
|
590
|
+
|
591
|
+
### Plantillas Markdown
|
592
|
+
|
593
|
+
<table>
|
594
|
+
<tr>
|
595
|
+
<td>Dependencias</td>
|
596
|
+
<td>
|
597
|
+
<a href="https://github.com/davidfstr/rdiscount" title="RDiscount">RDiscount</a>,
|
598
|
+
<a href="https://github.com/vmg/redcarpet" title="RedCarpet">RedCarpet</a>,
|
599
|
+
<a href="http://deveiate.org/projects/BlueCloth" title="BlueCloth">BlueCloth</a>,
|
600
|
+
<a href="http://kramdown.gettalong.org/" title="kramdown">kramdown</a> o
|
601
|
+
<a href="https://github.com/bhollis/maruku" title="maruku">maruku</a>
|
602
|
+
</td>
|
603
|
+
</tr>
|
604
|
+
<tr>
|
605
|
+
<td>Extensiones de Archivo</td>
|
606
|
+
<td><tt>.markdown</tt>, <tt>.mkd</tt> y <tt>.md</tt></td>
|
607
|
+
</tr>
|
608
|
+
<tr>
|
609
|
+
<td>Ejemplo</td>
|
610
|
+
<td><tt>markdown :index, :layout_engine => :erb</tt></td>
|
611
|
+
</tr>
|
612
|
+
</table>
|
613
|
+
|
614
|
+
No es posible llamar métodos desde markdown, ni pasarle locales. Por lo tanto,
|
615
|
+
generalmente va a usarlo en combinación con otro motor de renderizado:
|
616
|
+
|
617
|
+
```ruby
|
618
|
+
erb :resumen, :locals => { :texto => markdown(:introduccion) }
|
619
|
+
```
|
620
|
+
|
621
|
+
Tenga en cuenta que también podés llamar al método `markdown` desde otras
|
622
|
+
plantillas:
|
623
|
+
|
624
|
+
```ruby
|
625
|
+
%h1 Hola Desde Haml!
|
626
|
+
%p= markdown(:saludos)
|
627
|
+
```
|
628
|
+
|
629
|
+
Como no puede utilizar Ruby desde Markdown, no puede usar layouts escritos en
|
630
|
+
Markdown. De todos modos, es posible usar un motor de renderizado para el
|
631
|
+
layout distinto al de la plantilla pasando la opción `:layout_engine`.
|
632
|
+
|
633
|
+
### Plantillas Textile
|
634
|
+
|
635
|
+
<table>
|
636
|
+
<tr>
|
637
|
+
<td>Dependencias</td>
|
638
|
+
<td><a href="http://redcloth.org/" title="RedCloth">RedCloth</a></td>
|
639
|
+
</tr>
|
640
|
+
<tr>
|
641
|
+
<td>Extensiones de Archivo</td>
|
642
|
+
<td><tt>.textile</tt></td>
|
643
|
+
</tr>
|
644
|
+
<tr>
|
645
|
+
<td>Ejemplo</td>
|
646
|
+
<td><tt>textile :index, :layout_engine => :erb</tt></td>
|
647
|
+
</tr>
|
648
|
+
</table>
|
649
|
+
|
650
|
+
No es posible llamar métodos desde textile, ni pasarle locales. Por lo tanto,
|
651
|
+
generalmente vas a usarlo en combinación con otro motor de renderizado:
|
652
|
+
|
653
|
+
```ruby
|
654
|
+
erb :resumen, :locals => { :texto => textile(:introduccion) }
|
655
|
+
```
|
656
|
+
|
657
|
+
Tené en cuenta que también podés llamar al método `textile` desde otras
|
658
|
+
plantillas:
|
659
|
+
|
660
|
+
```ruby
|
661
|
+
%h1 Hola Desde Haml!
|
662
|
+
%p= textile(:saludos)
|
663
|
+
```
|
664
|
+
|
665
|
+
Como no podés utilizar Ruby desde Textile, no podés usar layouts escritos en
|
666
|
+
Textile. De todos modos, es posible usar un motor de renderizado para el
|
667
|
+
layout distinto al de la plantilla pasando la opción `:layout_engine`.
|
668
|
+
|
669
|
+
### Plantillas RDoc
|
670
|
+
|
671
|
+
<table>
|
672
|
+
<tr>
|
673
|
+
<td>Dependencias</td>
|
674
|
+
<td><a href="http://rdoc.sourceforge.net/" title="RDoc">RDoc</a></td>
|
675
|
+
</tr>
|
676
|
+
<tr>
|
677
|
+
<td>Extensiones de Archivo</td>
|
678
|
+
<td><tt>.rdoc</tt></td>
|
679
|
+
</tr>
|
680
|
+
<tr>
|
681
|
+
<td>Ejemplo</td>
|
682
|
+
<td><tt>rdoc :README, :layout_engine => :erb</tt></td>
|
683
|
+
</tr>
|
684
|
+
</table>
|
685
|
+
|
686
|
+
No es posible llamar métodos desde rdoc, ni pasarle locales. Por lo tanto,
|
687
|
+
generalmente vas a usarlo en combinación con otro motor de renderizado:
|
688
|
+
|
689
|
+
```ruby
|
690
|
+
erb :resumen, :locals => { :texto => rdoc(:introduccion) }
|
691
|
+
```
|
692
|
+
|
693
|
+
Tené en cuenta que también podés llamar al método `rdoc` desde otras
|
694
|
+
plantillas:
|
695
|
+
|
696
|
+
```ruby
|
697
|
+
%h1 Hola Desde Haml!
|
698
|
+
%p= rdoc(:saludos)
|
699
|
+
```
|
700
|
+
|
701
|
+
Como no podés utilizar Ruby desde RDoc, no podés usar layouts escritos en RDoc.
|
702
|
+
De todos modos, es posible usar un motor de renderizado para el layout distinto
|
703
|
+
al de la plantilla pasando la opción `:layout_engine`.
|
704
|
+
|
705
|
+
### Plantillas Radius
|
706
|
+
|
707
|
+
<table>
|
708
|
+
<tr>
|
709
|
+
<td>Dependencias</td>
|
710
|
+
<td><a href="https://github.com/jlong/radius" title="Radius">Radius</a></td>
|
711
|
+
</tr>
|
712
|
+
<tr>
|
713
|
+
<td>Extensiones de Archivo</td>
|
714
|
+
<td><tt>.radius</tt></td>
|
715
|
+
</tr>
|
716
|
+
<tr>
|
717
|
+
<td>Ejemplo</td>
|
718
|
+
<td><tt>radius :index, :locals => { :clave => 'valor' }</tt></td>
|
719
|
+
</tr>
|
720
|
+
</table>
|
721
|
+
|
722
|
+
Desde que no se puede utilizar métodos de Ruby (excepto por `yield`) de una
|
723
|
+
plantilla Radius, casi siempre se necesita pasar locales.
|
724
|
+
|
725
|
+
### Plantillas Markaby
|
726
|
+
|
727
|
+
<table>
|
728
|
+
<tr>
|
729
|
+
<td>Dependencias</td>
|
730
|
+
<td><a href="http://markaby.github.io/" title="Markaby">Markaby</a></td>
|
731
|
+
</tr>
|
732
|
+
<tr>
|
733
|
+
<td>Extensiones de Archivo</td>
|
734
|
+
<td><tt>.mab</tt></td>
|
735
|
+
</tr>
|
736
|
+
<tr>
|
737
|
+
<td>Ejemplo</td>
|
738
|
+
<td><tt>markaby { h1 "Bienvenido!" }</tt></td>
|
739
|
+
</tr>
|
740
|
+
</table>
|
741
|
+
|
742
|
+
Además, acepta un bloque con la definición de la plantilla (ver ejemplo).
|
743
|
+
|
744
|
+
### Plantillas RABL
|
745
|
+
|
746
|
+
<table>
|
747
|
+
<tr>
|
748
|
+
<td>Dependencias</td>
|
749
|
+
<td><a href="https://github.com/nesquena/rabl" title="Rabl">Rabl</a></td>
|
750
|
+
</tr>
|
751
|
+
<tr>
|
752
|
+
<td>Extensiones de Archivo</td>
|
753
|
+
<td><tt>.rabl</tt></td>
|
754
|
+
</tr>
|
755
|
+
<tr>
|
756
|
+
<td>Ejemplo</td>
|
757
|
+
<td><tt>rabl :index</tt></td>
|
758
|
+
</tr>
|
759
|
+
</table>
|
760
|
+
|
761
|
+
### Plantillas Slim
|
762
|
+
|
763
|
+
<table>
|
764
|
+
<tr>
|
765
|
+
<td>Dependencias</td>
|
766
|
+
<td><a href="http://slim-lang.com/" title="Slim Lang">Slim Lang</a></td>
|
767
|
+
</tr>
|
768
|
+
<tr>
|
769
|
+
<td>Extensiones de Archivo</td>
|
770
|
+
<td><tt>.slim</tt></td>
|
771
|
+
</tr>
|
772
|
+
<tr>
|
773
|
+
<td>Ejemplo</td>
|
774
|
+
<td><tt>slim :index</tt></td>
|
775
|
+
</tr>
|
776
|
+
</table>
|
777
|
+
|
778
|
+
### Plantillas Creole
|
779
|
+
|
780
|
+
<table>
|
781
|
+
<tr>
|
782
|
+
<td>Dependencias</td>
|
783
|
+
<td><a href="https://github.com/minad/creole" title="Creole">Creole</a></td>
|
784
|
+
</tr>
|
785
|
+
<tr>
|
786
|
+
<td>Extensiones de Archivo</td>
|
787
|
+
<td><tt>.creole</tt></td>
|
788
|
+
</tr>
|
789
|
+
<tr>
|
790
|
+
<td>Ejemplo</td>
|
791
|
+
<td><tt>creole :wiki, :layout_engine => :erb</tt></td>
|
792
|
+
</tr>
|
793
|
+
</table>
|
794
|
+
|
795
|
+
No es posible llamar métodos desde creole, ni pasarle locales. Por lo tanto,
|
796
|
+
generalmente va a usarlo en combinación con otro motor de renderizado:
|
797
|
+
|
798
|
+
```ruby
|
799
|
+
erb :resumen, :locals => { :texto => cerole(:introduccion) }
|
800
|
+
```
|
801
|
+
|
802
|
+
Debe tomar en cuenta que también puede llamar al método `creole` desde otras
|
803
|
+
plantillas:
|
804
|
+
|
805
|
+
```ruby
|
806
|
+
%h1 Hola Desde Haml!
|
807
|
+
%p= creole(:saludos)
|
808
|
+
```
|
809
|
+
|
810
|
+
Como no podés utilizar Ruby desde Creole, no podés usar layouts escritos en
|
811
|
+
Creole. De todos modos, es posible usar un motor de renderizado para el layout
|
812
|
+
distinto al de la plantilla pasando la opción `:layout_engine`.
|
813
|
+
|
814
|
+
### Plantillas CoffeeScript
|
815
|
+
|
816
|
+
<table>
|
817
|
+
<tr>
|
818
|
+
<td>Dependencias</td>
|
819
|
+
<td>
|
820
|
+
<a href="https://github.com/josh/ruby-coffee-script" title="Ruby CoffeeScript">
|
821
|
+
CoffeeScript
|
822
|
+
</a> y un
|
823
|
+
<a href="https://github.com/sstephenson/execjs/blob/master/README.md#readme" title="ExecJS">
|
824
|
+
mecanismo para ejecutar javascript
|
825
|
+
</a>
|
826
|
+
</td>
|
827
|
+
</tr>
|
828
|
+
<tr>
|
829
|
+
<td>Extensiones de Archivo</td>
|
830
|
+
<td><tt>.coffee</tt></td>
|
831
|
+
</tr>
|
832
|
+
<tr>
|
833
|
+
<td>Ejemplo</td>
|
834
|
+
<td><tt>coffee :index</tt></td>
|
835
|
+
</tr>
|
836
|
+
</table>
|
837
|
+
|
838
|
+
### Plantillas Stylus
|
839
|
+
|
840
|
+
<table>
|
841
|
+
<tr>
|
842
|
+
<td>Dependencias</td>
|
843
|
+
<td>
|
844
|
+
<a href="https://github.com/forgecrafted/ruby-stylus" title="Ruby Stylus">
|
845
|
+
Stylus
|
846
|
+
</a> y un
|
847
|
+
<a href="https://github.com/sstephenson/execjs/blob/master/README.md#readme" title="ExecJS">
|
848
|
+
mecanismo para ejecutar javascript
|
849
|
+
</a>
|
850
|
+
</td>
|
851
|
+
</tr>
|
852
|
+
<tr>
|
853
|
+
<td>Extensiones de Archivo</td>
|
854
|
+
<td><tt>.styl</tt></td>
|
855
|
+
</tr>
|
856
|
+
<tr>
|
857
|
+
<td>Ejemplo</td>
|
858
|
+
<td><tt>stylus :index</tt></td>
|
859
|
+
</tr>
|
860
|
+
</table>
|
861
|
+
|
862
|
+
### Plantillas Yajl
|
863
|
+
|
864
|
+
<table>
|
865
|
+
<tr>
|
866
|
+
<td>Dependencias</td>
|
867
|
+
<td><a href="https://github.com/brianmario/yajl-ruby" title="yajl-ruby">yajl-ruby</a></td>
|
868
|
+
</tr>
|
869
|
+
<tr>
|
870
|
+
<td>Extensiones de Archivo</td>
|
871
|
+
<td><tt>.yajl</tt></td>
|
872
|
+
</tr>
|
873
|
+
<tr>
|
874
|
+
<td>Ejemplo</td>
|
875
|
+
<td>
|
876
|
+
<tt>
|
877
|
+
yajl :index,
|
878
|
+
:locals => { :key => 'qux' },
|
879
|
+
:callback => 'present',
|
880
|
+
:variable => 'resource'
|
881
|
+
</tt>
|
882
|
+
</td>
|
883
|
+
</tr>
|
884
|
+
</table>
|
885
|
+
|
886
|
+
El contenido de la plantilla se evalúa como código Ruby, y la variable `json` es convertida a JSON mediante `#to_json`.
|
887
|
+
|
888
|
+
```ruby
|
889
|
+
json = { :foo => 'bar' }
|
890
|
+
json[:baz] = key
|
891
|
+
```
|
892
|
+
|
893
|
+
Las opciones `:callback` y `:variable` se pueden utilizar para decorar el objeto renderizado:
|
894
|
+
|
895
|
+
```ruby
|
896
|
+
var resource = {"foo":"bar","baz":"qux"}; present(resource);
|
897
|
+
```
|
898
|
+
|
899
|
+
### Plantillas WLang
|
900
|
+
|
901
|
+
<table>
|
902
|
+
<tr>
|
903
|
+
<td>Dependencias</td>
|
904
|
+
<td><a href="https://github.com/blambeau/wlang/" title="wlang">wlang</a></td>
|
905
|
+
</tr>
|
906
|
+
<tr>
|
907
|
+
<td>Extensiones de Archivo</td>
|
908
|
+
<td><tt>.wlang</tt></td>
|
909
|
+
</tr>
|
910
|
+
<tr>
|
911
|
+
<td>Ejemplo</td>
|
912
|
+
<td><tt>wlang :index, :locals => { :clave => 'valor' }</tt></td>
|
913
|
+
</tr>
|
914
|
+
</table>
|
915
|
+
|
916
|
+
Como no vas a poder llamar a métodos de Ruby (excepto por `yield`) desde una
|
917
|
+
plantilla WLang, casi siempre vas a querer pasarle locales.
|
918
|
+
|
919
|
+
### Plantillas Embebidas
|
920
|
+
|
921
|
+
```ruby
|
922
|
+
get '/' do
|
923
|
+
haml '%div.titulo Hola Mundo'
|
924
|
+
end
|
925
|
+
```
|
926
|
+
|
927
|
+
Renderiza el template embebido en el string.
|
928
|
+
|
929
|
+
### Accediendo a Variables en Plantillas
|
930
|
+
|
931
|
+
Las plantillas son evaluadas dentro del mismo contexto que los manejadores de
|
932
|
+
ruta. Las variables de instancia asignadas en los manejadores de ruta son
|
933
|
+
accesibles directamente por las plantillas:
|
934
|
+
|
935
|
+
```ruby
|
936
|
+
get '/:id' do
|
937
|
+
@foo = Foo.find(params['id'])
|
938
|
+
haml '%h1= @foo.nombre'
|
939
|
+
end
|
940
|
+
```
|
941
|
+
|
942
|
+
O es posible especificar un Hash de variables locales explícitamente:
|
943
|
+
|
944
|
+
```ruby
|
945
|
+
get '/:id' do
|
946
|
+
foo = Foo.find(params['id'])
|
947
|
+
haml '%h1= bar.nombre', :locals => { :bar => foo }
|
948
|
+
end
|
949
|
+
```
|
950
|
+
|
951
|
+
Esto es usado típicamente cuando se renderizan plantillas como parciales desde
|
952
|
+
adentro de otras plantillas.
|
953
|
+
|
954
|
+
### Plantillas Inline
|
955
|
+
|
956
|
+
Las plantillas pueden ser definidas al final del archivo fuente:
|
957
|
+
|
958
|
+
```ruby
|
959
|
+
require 'rubygems'
|
960
|
+
require 'sinatra'
|
961
|
+
|
962
|
+
get '/' do
|
963
|
+
haml :index
|
964
|
+
end
|
965
|
+
|
966
|
+
__END__
|
967
|
+
|
968
|
+
@@ layout
|
969
|
+
%html
|
970
|
+
= yield
|
971
|
+
|
972
|
+
@@ index
|
973
|
+
%div.titulo Hola mundo!!!!!
|
974
|
+
```
|
975
|
+
|
976
|
+
NOTA: únicamente las plantillas inline definidas en el archivo fuente que
|
977
|
+
requiere Sinatra son cargadas automáticamente. Llamá `enable
|
978
|
+
:inline_templates` explícitamente si tenés plantillas inline en otros
|
979
|
+
archivos fuente.
|
980
|
+
|
981
|
+
### Plantillas Nombradas
|
982
|
+
|
983
|
+
Las plantillas también pueden ser definidas usando el método top-level
|
984
|
+
`template`:
|
985
|
+
|
986
|
+
```ruby
|
987
|
+
template :layout do
|
988
|
+
"%html\n =yield\n"
|
989
|
+
end
|
990
|
+
|
991
|
+
template :index do
|
992
|
+
'%div.titulo Hola Mundo!'
|
993
|
+
end
|
994
|
+
|
995
|
+
get '/' do
|
996
|
+
haml :index
|
997
|
+
end
|
998
|
+
```
|
999
|
+
|
1000
|
+
Si existe una plantilla con el nombre "layout", va a ser usada cada vez que
|
1001
|
+
una plantilla es renderizada. Podés desactivar los layouts individualmente
|
1002
|
+
pasando `:layout => false` o globalmente con
|
1003
|
+
`set :haml, :layout => false`:
|
1004
|
+
|
1005
|
+
```ruby
|
1006
|
+
get '/' do
|
1007
|
+
haml :index, :layout => !request.xhr?
|
1008
|
+
end
|
1009
|
+
```
|
1010
|
+
|
1011
|
+
### Asociando Extensiones de Archivo
|
1012
|
+
|
1013
|
+
Para asociar una extensión de archivo con un motor de renderizado, usá
|
1014
|
+
`Tilt.register`. Por ejemplo, si querés usar la extensión `tt` para
|
1015
|
+
las plantillas Textile, podés hacer lo siguiente:
|
1016
|
+
|
1017
|
+
```ruby
|
1018
|
+
Tilt.register :tt, Tilt[:textile]
|
1019
|
+
```
|
1020
|
+
|
1021
|
+
### Agregando Tu Propio Motor de Renderizado
|
1022
|
+
|
1023
|
+
Primero, registrá tu motor con Tilt, y después, creá tu método de renderizado:
|
1024
|
+
|
1025
|
+
```ruby
|
1026
|
+
Tilt.register :mipg, MiMotorParaPlantillaGenial
|
1027
|
+
|
1028
|
+
helpers do
|
1029
|
+
def mypg(*args) render(:mypg, *args) end
|
1030
|
+
end
|
1031
|
+
|
1032
|
+
get '/' do
|
1033
|
+
mypg :index
|
1034
|
+
end
|
1035
|
+
```
|
1036
|
+
|
1037
|
+
Renderiza `./views/index.mypg`. Mirá https://github.com/rtomayko/tilt
|
1038
|
+
para aprender más de Tilt.
|
1039
|
+
|
1040
|
+
## Filtros
|
1041
|
+
|
1042
|
+
Los filtros `before` son evaluados antes de cada petición dentro del mismo
|
1043
|
+
contexto que las rutas. Pueden modificar la petición y la respuesta. Las
|
1044
|
+
variables de instancia asignadas en los filtros son accesibles por las rutas y
|
1045
|
+
las plantillas:
|
1046
|
+
|
1047
|
+
```ruby
|
1048
|
+
before do
|
1049
|
+
@nota = 'Hey!'
|
1050
|
+
request.path_info = '/foo/bar/baz'
|
1051
|
+
end
|
1052
|
+
|
1053
|
+
get '/foo/*' do
|
1054
|
+
@nota #=> 'Hey!'
|
1055
|
+
params['splat'] #=> 'bar/baz'
|
1056
|
+
end
|
1057
|
+
```
|
1058
|
+
|
1059
|
+
Los filtros `after` son evaluados después de cada petición dentro del mismo
|
1060
|
+
contexto y también pueden modificar la petición y la respuesta. Las variables
|
1061
|
+
de instancia asignadas en los filtros `before` y en las rutas son accesibles por
|
1062
|
+
los filtros `after`:
|
1063
|
+
|
1064
|
+
```ruby
|
1065
|
+
after do
|
1066
|
+
puts response.status
|
1067
|
+
end
|
1068
|
+
```
|
1069
|
+
|
1070
|
+
Nota: A menos que uses el método `body` en lugar de simplemente devolver un
|
1071
|
+
string desde una ruta, el cuerpo de la respuesta no va a estar disponible en
|
1072
|
+
un filtro after, debido a que todavía no se ha generado.
|
1073
|
+
|
1074
|
+
Los filtros aceptan un patrón opcional, que cuando está presente causa que los
|
1075
|
+
mismos sean evaluados únicamente si el path de la petición coincide con ese
|
1076
|
+
patrón:
|
1077
|
+
|
1078
|
+
```ruby
|
1079
|
+
before '/protegido/*' do
|
1080
|
+
autenticar!
|
1081
|
+
end
|
1082
|
+
|
1083
|
+
after '/crear/:slug' do |slug|
|
1084
|
+
session[:ultimo_slug] = slug
|
1085
|
+
end
|
1086
|
+
```
|
1087
|
+
|
1088
|
+
Al igual que las rutas, los filtros también pueden aceptar condiciones:
|
1089
|
+
|
1090
|
+
```ruby
|
1091
|
+
before :agent => /Songbird/ do
|
1092
|
+
# ...
|
1093
|
+
end
|
1094
|
+
|
1095
|
+
after '/blog/*', :host_name => 'ejemplo.com' do
|
1096
|
+
# ...
|
1097
|
+
end
|
1098
|
+
```
|
1099
|
+
|
1100
|
+
## Ayudantes
|
1101
|
+
|
1102
|
+
Usá el método top-level *helpers* para definir métodos ayudantes que
|
1103
|
+
pueden ser utilizados dentro de los manejadores de rutas y las plantillas:
|
1104
|
+
|
1105
|
+
```ruby
|
1106
|
+
helpers do
|
1107
|
+
def bar(nombre)
|
1108
|
+
"#{nombre}bar"
|
1109
|
+
end
|
1110
|
+
end
|
1111
|
+
|
1112
|
+
get '/:nombre' do
|
1113
|
+
bar(params['nombre'])
|
1114
|
+
end
|
1115
|
+
```
|
1116
|
+
|
1117
|
+
Por cuestiones organizativas, puede resultar conveniente organizar los métodos
|
1118
|
+
ayudantes en distintos módulos:
|
1119
|
+
|
1120
|
+
```ruby
|
1121
|
+
module FooUtils
|
1122
|
+
def foo(nombre) "#{nombre}foo" end
|
1123
|
+
end
|
1124
|
+
|
1125
|
+
module BarUtils
|
1126
|
+
def bar(nombre) "#{nombre}bar" end
|
1127
|
+
end
|
1128
|
+
|
1129
|
+
helpers FooUtils, BarUtils
|
1130
|
+
```
|
1131
|
+
|
1132
|
+
El efecto de utilizar *helpers* de esta manera es el mismo que resulta de
|
1133
|
+
incluir los módulos en la clase de la aplicación.
|
1134
|
+
|
1135
|
+
### Usando Sesiones
|
1136
|
+
|
1137
|
+
Una sesión es usada para mantener el estado a través de distintas peticiones.
|
1138
|
+
Cuando están activadas, proporciona un hash de sesión para cada sesión de usuario:
|
1139
|
+
|
1140
|
+
```ruby
|
1141
|
+
enable :sessions
|
1142
|
+
|
1143
|
+
get '/' do
|
1144
|
+
"valor = " << session[:valor].inspect
|
1145
|
+
end
|
1146
|
+
|
1147
|
+
get '/:valor' do
|
1148
|
+
session[:valor] = params['valor']
|
1149
|
+
end
|
1150
|
+
```
|
1151
|
+
|
1152
|
+
Tené en cuenta que `enable :sessions` guarda todos los datos en una
|
1153
|
+
cookie, lo cual no es siempre deseable (guardar muchos datos va a incrementar
|
1154
|
+
el tráfico, por citar un ejemplo). Podés usar cualquier middleware Rack para
|
1155
|
+
manejar sesiones, de la misma manera que usarías cualquier otro middleware,
|
1156
|
+
pero con la salvedad de que *no* tenés que llamar a `enable :sessions`:
|
1157
|
+
|
1158
|
+
```ruby
|
1159
|
+
use Rack::Session::Pool, :expire_after => 2592000
|
1160
|
+
|
1161
|
+
get '/' do
|
1162
|
+
"valor = " << session[:valor].inspect
|
1163
|
+
end
|
1164
|
+
|
1165
|
+
get '/:valor' do
|
1166
|
+
session[:valor] = params['valor']
|
1167
|
+
end
|
1168
|
+
```
|
1169
|
+
|
1170
|
+
Para incrementar la seguridad, los datos de la sesión almacenados en
|
1171
|
+
la cookie son firmados con un secreto de sesión. Este secreto, es
|
1172
|
+
generado aleatoriamente por Sinatra. De cualquier manera, hay que
|
1173
|
+
tener en cuenta que cada vez que inicies la aplicación se va a generar
|
1174
|
+
uno nuevo. Así, si querés que todas las instancias de tu aplicación
|
1175
|
+
compartan un único secreto, tenés que definirlo vos:
|
1176
|
+
|
1177
|
+
```ruby
|
1178
|
+
set :session_secret, 'super secreto'
|
1179
|
+
```
|
1180
|
+
|
1181
|
+
Si necesitás una configuración más específica, `sessions` acepta un
|
1182
|
+
Hash con opciones:
|
1183
|
+
|
1184
|
+
```ruby
|
1185
|
+
set :sessions, :domain => 'foo.com'
|
1186
|
+
```
|
1187
|
+
|
1188
|
+
### Interrupción
|
1189
|
+
|
1190
|
+
Para detener inmediatamente una petición dentro de un filtro o una ruta usá:
|
1191
|
+
|
1192
|
+
```ruby
|
1193
|
+
halt
|
1194
|
+
```
|
1195
|
+
|
1196
|
+
También podés especificar el estado:
|
1197
|
+
|
1198
|
+
```ruby
|
1199
|
+
halt 410
|
1200
|
+
```
|
1201
|
+
|
1202
|
+
O el cuerpo:
|
1203
|
+
|
1204
|
+
```ruby
|
1205
|
+
halt 'esto va a ser el cuerpo'
|
1206
|
+
```
|
1207
|
+
|
1208
|
+
O los dos:
|
1209
|
+
|
1210
|
+
```ruby
|
1211
|
+
halt 401, 'salí de acá!'
|
1212
|
+
```
|
1213
|
+
|
1214
|
+
Con cabeceras:
|
1215
|
+
|
1216
|
+
```ruby
|
1217
|
+
halt 402, { 'Content-Type' => 'text/plain' }, 'venganza'
|
1218
|
+
```
|
1219
|
+
|
1220
|
+
Obviamente, es posible utilizar `halt` con una plantilla:
|
1221
|
+
|
1222
|
+
```ruby
|
1223
|
+
halt erb(:error)
|
1224
|
+
```
|
1225
|
+
|
1226
|
+
### Paso
|
1227
|
+
|
1228
|
+
Una ruta puede pasarle el procesamiento a la siguiente ruta que coincida con
|
1229
|
+
la petición usando `pass`:
|
1230
|
+
|
1231
|
+
```ruby
|
1232
|
+
get '/adivina/:quien' do
|
1233
|
+
pass unless params['quien'] == 'Franco'
|
1234
|
+
'Adivinaste!'
|
1235
|
+
end
|
1236
|
+
|
1237
|
+
get '/adivina/*' do
|
1238
|
+
'Erraste!'
|
1239
|
+
end
|
1240
|
+
```
|
1241
|
+
|
1242
|
+
Se sale inmediatamente del bloque de la ruta y se le pasa el control a la
|
1243
|
+
siguiente ruta que coincida. Si no coincide ninguna ruta, se devuelve 404.
|
1244
|
+
|
1245
|
+
### Ejecutando Otra Ruta
|
1246
|
+
|
1247
|
+
Cuando querés obtener el resultado de la llamada a una ruta, `pass` no te va a
|
1248
|
+
servir. Para lograr esto, podés usar `call`:
|
1249
|
+
|
1250
|
+
```ruby
|
1251
|
+
get '/foo' do
|
1252
|
+
status, headers, body = call env.merge("PATH_INFO" => '/bar')
|
1253
|
+
[status, headers, body.map(&:upcase)]
|
1254
|
+
end
|
1255
|
+
|
1256
|
+
get '/bar' do
|
1257
|
+
"bar"
|
1258
|
+
end
|
1259
|
+
```
|
1260
|
+
|
1261
|
+
Notá que en el ejemplo anterior, es conveniente mover `"bar"` a un
|
1262
|
+
helper, y llamarlo desde `/foo` y `/bar`. Así, vas a simplificar
|
1263
|
+
las pruebas y a mejorar el rendimiento.
|
1264
|
+
|
1265
|
+
Si querés que la petición se envíe a la misma instancia de la aplicación en
|
1266
|
+
lugar de otra, usá `call!` en lugar de `call`.
|
1267
|
+
|
1268
|
+
En la especificación de Rack podés encontrar más información sobre
|
1269
|
+
`call`.
|
1270
|
+
|
1271
|
+
### Asignando el Código de Estado, los Encabezados y el Cuerpo de una Respuesta
|
1272
|
+
|
1273
|
+
Es posible, y se recomienda, asignar el código de estado y el cuerpo de una
|
1274
|
+
respuesta con el valor de retorno de una ruta. De cualquier manera, en varios
|
1275
|
+
escenarios, puede que sea conveniente asignar el cuerpo en un punto arbitrario
|
1276
|
+
del flujo de ejecución con el método `body`. A partir de ahí, podés usar ese
|
1277
|
+
mismo método para acceder al cuerpo de la respuesta:
|
1278
|
+
|
1279
|
+
```ruby
|
1280
|
+
get '/foo' do
|
1281
|
+
body "bar"
|
1282
|
+
end
|
1283
|
+
|
1284
|
+
after do
|
1285
|
+
puts body
|
1286
|
+
end
|
1287
|
+
```
|
1288
|
+
|
1289
|
+
También es posible pasarle un bloque a `body`, que será ejecutado por el Rack
|
1290
|
+
handler (podés usar esto para implementar streaming, mirá "Valores de retorno").
|
1291
|
+
|
1292
|
+
De manera similar, también podés asignar el código de estado y encabezados:
|
1293
|
+
|
1294
|
+
```ruby
|
1295
|
+
get '/foo' do
|
1296
|
+
status 418
|
1297
|
+
headers \
|
1298
|
+
"Allow" => "BREW, POST, GET, PROPFIND, WHEN",
|
1299
|
+
"Refresh" => "Refresh: 20; http://www.ietf.org/rfc/rfc2324.txt"
|
1300
|
+
body "I'm a tea pot!"
|
1301
|
+
end
|
1302
|
+
```
|
1303
|
+
|
1304
|
+
También, al igual que `body`, tanto `status` como `headers` pueden utilizarse
|
1305
|
+
para obtener sus valores cuando no se les pasa argumentos.
|
1306
|
+
|
1307
|
+
### Streaming De Respuestas
|
1308
|
+
|
1309
|
+
A veces vas a querer empezar a enviar la respuesta a pesar de que todavía no
|
1310
|
+
terminaste de generar su cuerpo. También es posible que, en algunos casos,
|
1311
|
+
quieras seguir enviando información hasta que el cliente cierre la conexión.
|
1312
|
+
Cuando esto ocurra, el helper `stream` te va a ser de gran ayuda:
|
1313
|
+
|
1314
|
+
```ruby
|
1315
|
+
get '/' do
|
1316
|
+
stream do |out|
|
1317
|
+
out << "Esto va a ser legen -\n"
|
1318
|
+
sleep 0.5
|
1319
|
+
out << " (esperalo) \n"
|
1320
|
+
sleep 1
|
1321
|
+
out << "- dario!\n"
|
1322
|
+
end
|
1323
|
+
end
|
1324
|
+
```
|
1325
|
+
|
1326
|
+
Podés implementar APIs de streaming,
|
1327
|
+
[Server-Sent Events](https://w3c.github.io/eventsource/) y puede ser usado
|
1328
|
+
como base para [WebSockets](https://es.wikipedia.org/wiki/WebSockets). También
|
1329
|
+
puede ser usado para incrementar el throughput si solo una parte del contenido
|
1330
|
+
depende de un recurso lento.
|
1331
|
+
|
1332
|
+
Hay que tener en cuenta que el comportamiento del streaming, especialmente el
|
1333
|
+
número de peticiones concurrentes, depende del servidor web utilizado para
|
1334
|
+
alojar la aplicación. Puede que algunos servidores no soporten streaming
|
1335
|
+
directamente, así el cuerpo de la respuesta será enviado completamente de una
|
1336
|
+
vez cuando el bloque pasado a `stream` finalice su ejecución. Si estás usando
|
1337
|
+
Shotgun, el streaming no va a funcionar.
|
1338
|
+
|
1339
|
+
Cuando se pasa `keep_open` como parámetro, no se va a enviar el mensaje
|
1340
|
+
`close` al objeto de stream. Queda en vos cerrarlo en el punto de ejecución
|
1341
|
+
que quieras. Nuevamente, hay que tener en cuenta que este comportamiento es
|
1342
|
+
posible solo en servidores que soporten eventos, como Thin o Rainbows. El
|
1343
|
+
resto de los servidores van a cerrar el stream de todos modos:
|
1344
|
+
|
1345
|
+
```ruby
|
1346
|
+
set :server, :thin
|
1347
|
+
conexiones = []
|
1348
|
+
|
1349
|
+
get '/' do
|
1350
|
+
# mantenemos abierto el stream
|
1351
|
+
stream(:keep_open) { |salida| conexiones << salida }
|
1352
|
+
end
|
1353
|
+
|
1354
|
+
post '/' do
|
1355
|
+
# escribimos a todos los streams abiertos
|
1356
|
+
conexiones.each { |salida| salida << params['mensaje'] << "\n" }
|
1357
|
+
"mensaje enviado"
|
1358
|
+
end
|
1359
|
+
```
|
1360
|
+
|
1361
|
+
### Log (Registro)
|
1362
|
+
|
1363
|
+
En el ámbito de la petición, el helper `logger` (registrador) expone
|
1364
|
+
una instancia de `Logger`:
|
1365
|
+
|
1366
|
+
```ruby
|
1367
|
+
get '/' do
|
1368
|
+
logger.info "cargando datos"
|
1369
|
+
# ...
|
1370
|
+
end
|
1371
|
+
```
|
1372
|
+
|
1373
|
+
Este logger tiene en cuenta la configuración de logueo de tu Rack
|
1374
|
+
handler. Si el logueo está desactivado, este método va a devolver un
|
1375
|
+
objeto que se comporta como un logger pero que en realidad no hace
|
1376
|
+
nada. Así, no vas a tener que preocuparte por esta situación.
|
1377
|
+
|
1378
|
+
Tené en cuenta que el logueo está habilitado por defecto únicamente
|
1379
|
+
para `Sinatra::Application`. Si heredaste de
|
1380
|
+
`Sinatra::Base`, probablemente quieras habilitarlo manualmente:
|
1381
|
+
|
1382
|
+
```ruby
|
1383
|
+
class MiApp < Sinatra::Base
|
1384
|
+
configure :production, :development do
|
1385
|
+
enable :logging
|
1386
|
+
end
|
1387
|
+
end
|
1388
|
+
```
|
1389
|
+
|
1390
|
+
Para evitar que se inicialice cualquier middleware de logging, configurá
|
1391
|
+
`logging` a `nil`. Tené en cuenta que, cuando hagas esto, `logger` va a
|
1392
|
+
devolver `nil`. Un caso común es cuando querés usar tu propio logger. Sinatra
|
1393
|
+
va a usar lo que encuentre en `env['rack.logger']`.
|
1394
|
+
|
1395
|
+
### Tipos Mime
|
1396
|
+
|
1397
|
+
Cuando usás `send_file` o archivos estáticos tal vez tengas tipos mime
|
1398
|
+
que Sinatra no entiende. Usá `mime_type` para registrarlos a través de la
|
1399
|
+
extensión de archivo:
|
1400
|
+
|
1401
|
+
```ruby
|
1402
|
+
configure do
|
1403
|
+
mime_type :foo, 'text/foo'
|
1404
|
+
end
|
1405
|
+
```
|
1406
|
+
|
1407
|
+
También lo podés usar con el ayudante `content_type`:
|
1408
|
+
|
1409
|
+
```ruby
|
1410
|
+
get '/' do
|
1411
|
+
content_type :foo
|
1412
|
+
"foo foo foo"
|
1413
|
+
end
|
1414
|
+
```
|
1415
|
+
|
1416
|
+
### Generando URLs
|
1417
|
+
|
1418
|
+
Para generar URLs deberías usar el método `url`. Por ejemplo, en Haml:
|
1419
|
+
|
1420
|
+
```ruby
|
1421
|
+
%a{:href => url('/foo')} foo
|
1422
|
+
```
|
1423
|
+
|
1424
|
+
Tiene en cuenta proxies inversos y encaminadores de Rack, si están presentes.
|
1425
|
+
|
1426
|
+
Este método también puede invocarse mediante su alias `to` (mirá un ejemplo
|
1427
|
+
a continuación).
|
1428
|
+
|
1429
|
+
### Redirección del Navegador
|
1430
|
+
|
1431
|
+
Podés redireccionar al navegador con el método `redirect`:
|
1432
|
+
|
1433
|
+
```ruby
|
1434
|
+
get '/foo' do
|
1435
|
+
redirect to('/bar')
|
1436
|
+
end
|
1437
|
+
```
|
1438
|
+
|
1439
|
+
Cualquier parámetro adicional se utiliza de la misma manera que los argumentos
|
1440
|
+
pasados a `halt`:
|
1441
|
+
|
1442
|
+
```ruby
|
1443
|
+
redirect to('/bar'), 303
|
1444
|
+
redirect 'http://www.google.com/', 'te confundiste de lugar, compañero'
|
1445
|
+
```
|
1446
|
+
|
1447
|
+
También podés redireccionar fácilmente de vuelta hacia la página desde donde
|
1448
|
+
vino el usuario con `redirect back`:
|
1449
|
+
|
1450
|
+
```ruby
|
1451
|
+
get '/foo' do
|
1452
|
+
"<a href='/bar'>hacer algo</a>"
|
1453
|
+
end
|
1454
|
+
|
1455
|
+
get '/bar' do
|
1456
|
+
hacer_algo
|
1457
|
+
redirect back
|
1458
|
+
end
|
1459
|
+
```
|
1460
|
+
|
1461
|
+
Para pasar argumentos con una redirección, podés agregarlos a la cadena de
|
1462
|
+
búsqueda:
|
1463
|
+
|
1464
|
+
```ruby
|
1465
|
+
redirect to('/bar?suma=42')
|
1466
|
+
```
|
1467
|
+
|
1468
|
+
O usar una sesión:
|
1469
|
+
|
1470
|
+
```ruby
|
1471
|
+
enable :sessions
|
1472
|
+
|
1473
|
+
get '/foo' do
|
1474
|
+
session[:secreto] = 'foo'
|
1475
|
+
redirect to('/bar')
|
1476
|
+
end
|
1477
|
+
|
1478
|
+
get '/bar' do
|
1479
|
+
session[:secreto]
|
1480
|
+
end
|
1481
|
+
```
|
1482
|
+
|
1483
|
+
### Cache Control
|
1484
|
+
|
1485
|
+
Asignar tus encabezados correctamente es el cimiento para realizar un cacheo
|
1486
|
+
HTTP correcto.
|
1487
|
+
|
1488
|
+
Podés asignar el encabezado Cache-Control fácilmente:
|
1489
|
+
|
1490
|
+
```ruby
|
1491
|
+
get '/' do
|
1492
|
+
cache_control :public
|
1493
|
+
"cachealo!"
|
1494
|
+
end
|
1495
|
+
```
|
1496
|
+
|
1497
|
+
Pro tip: configurar el cacheo en un filtro `before`:
|
1498
|
+
|
1499
|
+
```ruby
|
1500
|
+
before do
|
1501
|
+
cache_control :public, :must_revalidate, :max_age => 60
|
1502
|
+
end
|
1503
|
+
```
|
1504
|
+
|
1505
|
+
Si estás usando el helper `expires` para definir el encabezado correspondiente,
|
1506
|
+
`Cache-Control` se va a definir automáticamente:
|
1507
|
+
|
1508
|
+
```ruby
|
1509
|
+
before do
|
1510
|
+
expires 500, :public, :must_revalidate
|
1511
|
+
end
|
1512
|
+
```
|
1513
|
+
|
1514
|
+
Para usar cachés adecuadamente, deberías considerar usar `etag` o
|
1515
|
+
`last_modified`. Es recomendable que llames a estos asistentes *antes* de hacer
|
1516
|
+
cualquier trabajo pesado, ya que van a enviar la respuesta inmediatamente si
|
1517
|
+
el cliente ya tiene la versión actual en su caché:
|
1518
|
+
|
1519
|
+
```ruby
|
1520
|
+
get '/articulo/:id' do
|
1521
|
+
@articulo = Articulo.find params['id']
|
1522
|
+
last_modified @articulo.updated_at
|
1523
|
+
etag @articulo.sha1
|
1524
|
+
erb :articulo
|
1525
|
+
end
|
1526
|
+
```
|
1527
|
+
|
1528
|
+
También es posible usar una
|
1529
|
+
[weak ETag](https://en.wikipedia.org/wiki/HTTP_ETag#Strong_and_weak_validation):
|
1530
|
+
|
1531
|
+
```ruby
|
1532
|
+
etag @articulo.sha1, :weak
|
1533
|
+
```
|
1534
|
+
|
1535
|
+
Estos helpers no van a cachear nada por vos, sino que van a facilitar la
|
1536
|
+
información necesaria para poder hacerlo. Si estás buscando soluciones rápidas
|
1537
|
+
de cacheo con proxys reversos, mirá
|
1538
|
+
[rack-cache](https://github.com/rtomayko/rack-cache):
|
1539
|
+
|
1540
|
+
```ruby
|
1541
|
+
require "rack/cache"
|
1542
|
+
require "sinatra"
|
1543
|
+
|
1544
|
+
use Rack::Cache
|
1545
|
+
|
1546
|
+
get '/' do
|
1547
|
+
cache_control :public, :max_age => 36000
|
1548
|
+
sleep 5
|
1549
|
+
"hola"
|
1550
|
+
end
|
1551
|
+
```
|
1552
|
+
|
1553
|
+
Usá la configuración `:static_cache_control` para agregar el encabezado
|
1554
|
+
`Cache-Control` a archivos estáticos (ver la sección de configuración
|
1555
|
+
para más detalles).
|
1556
|
+
|
1557
|
+
De acuerdo con la RFC 2616 tu aplicación debería comportarse diferente si a las
|
1558
|
+
cabeceras If-Match o If-None-Match se le asigna el valor `*` cuando el
|
1559
|
+
recurso solicitado ya existe. Sinatra asume para peticiones seguras (como get)
|
1560
|
+
y potentes (como put) que el recurso existe, mientras que para el resto
|
1561
|
+
(como post) asume que no. Podés cambiar este comportamiento con la opción
|
1562
|
+
`:new_resource`:
|
1563
|
+
|
1564
|
+
```ruby
|
1565
|
+
get '/crear' do
|
1566
|
+
etag '', :new_resource => true
|
1567
|
+
Articulo.create
|
1568
|
+
erb :nuevo_articulo
|
1569
|
+
end
|
1570
|
+
```
|
1571
|
+
|
1572
|
+
Si querés seguir usando una weak ETag, indicalo con la opción `:kind`:
|
1573
|
+
|
1574
|
+
```ruby
|
1575
|
+
etag '', :new_resource => true, :kind => :weak
|
1576
|
+
```
|
1577
|
+
|
1578
|
+
### Enviando Archivos
|
1579
|
+
|
1580
|
+
Para enviar archivos, podés usar el método `send_file`:
|
1581
|
+
|
1582
|
+
```ruby
|
1583
|
+
get '/' do
|
1584
|
+
send_file 'foo.png'
|
1585
|
+
end
|
1586
|
+
```
|
1587
|
+
|
1588
|
+
Además acepta un par de opciones:
|
1589
|
+
|
1590
|
+
```ruby
|
1591
|
+
send_file 'foo.png', :type => :jpg
|
1592
|
+
```
|
1593
|
+
|
1594
|
+
Estas opciones son:
|
1595
|
+
|
1596
|
+
[filename]
|
1597
|
+
nombre del archivo devuelto, por defecto es el nombre real del archivo.
|
1598
|
+
|
1599
|
+
[last_modified]
|
1600
|
+
valor para el encabezado Last-Modified, por defecto toma el mtime del archivo.
|
1601
|
+
|
1602
|
+
[type]
|
1603
|
+
el content type que se va a utilizar, si no está presente se intenta adivinar
|
1604
|
+
a partir de la extensión del archivo.
|
1605
|
+
|
1606
|
+
[disposition]
|
1607
|
+
se utiliza para el encabezado Content-Disposition, y puede tomar alguno de los
|
1608
|
+
siguientes valores: `nil` (por defecto), `:attachment` e
|
1609
|
+
`:inline`
|
1610
|
+
|
1611
|
+
[length]
|
1612
|
+
encabezado Content-Length, por defecto toma el tamaño del archivo.
|
1613
|
+
|
1614
|
+
[status]
|
1615
|
+
código de estado devuelto. Resulta útil al enviar un archivo estático como una
|
1616
|
+
página de error.
|
1617
|
+
|
1618
|
+
Si el Rack handler lo soporta, se intentará no transmitir directamente desde el
|
1619
|
+
proceso de Ruby. Si usás este método, Sinatra se va a encargar automáticamente de las
|
1620
|
+
peticiones de rango.
|
1621
|
+
|
1622
|
+
### Accediendo al objeto de la petición
|
1623
|
+
|
1624
|
+
El objeto de la petición entrante puede ser accedido desde el nivel de la
|
1625
|
+
petición (filtros, rutas y manejadores de errores) a través del método
|
1626
|
+
`request`:
|
1627
|
+
|
1628
|
+
```ruby
|
1629
|
+
# app corriendo en http://ejemplo.com/ejemplo
|
1630
|
+
get '/foo' do
|
1631
|
+
t = %w[text/css text/html application/javascript]
|
1632
|
+
request.accept # ['text/html', '*/*']
|
1633
|
+
request.accept? 'text/xml' # true
|
1634
|
+
request.preferred_type(t) # 'text/html'
|
1635
|
+
request.body # cuerpo de la petición enviado por el cliente (ver más abajo)
|
1636
|
+
request.scheme # "http"
|
1637
|
+
request.script_name # "/ejemplo"
|
1638
|
+
request.path_info # "/foo"
|
1639
|
+
request.port # 80
|
1640
|
+
request.request_method # "GET"
|
1641
|
+
request.query_string # ""
|
1642
|
+
request.content_length # longitud de request.body
|
1643
|
+
request.media_type # tipo de medio de request.body
|
1644
|
+
request.host # "ejemplo.com"
|
1645
|
+
request.get? # true (hay métodos análogos para los otros verbos)
|
1646
|
+
request.form_data? # false
|
1647
|
+
request["UNA_CABECERA"] # valor de la cabecera UNA_CABECERA
|
1648
|
+
request.referrer # la referencia del cliente o '/'
|
1649
|
+
request.user_agent # user agent (usado por la condición :agent)
|
1650
|
+
request.cookies # hash de las cookies del navegador
|
1651
|
+
request.xhr? # es una petición ajax?
|
1652
|
+
request.url # "http://ejemplo.com/ejemplo/foo"
|
1653
|
+
request.path # "/ejemplo/foo"
|
1654
|
+
request.ip # dirección IP del cliente
|
1655
|
+
request.secure? # false (sería true sobre ssl)
|
1656
|
+
request.forwarded? # true (si se está corriendo atrás de un proxy reverso)
|
1657
|
+
requuest.env # hash de entorno directamente entregado por Rack
|
1658
|
+
end
|
1659
|
+
```
|
1660
|
+
|
1661
|
+
Algunas opciones, como `script_name` o `path_info` pueden
|
1662
|
+
también ser escritas:
|
1663
|
+
|
1664
|
+
```ruby
|
1665
|
+
before { request.path_info = "/" }
|
1666
|
+
|
1667
|
+
get "/" do
|
1668
|
+
"todas las peticiones llegan acá"
|
1669
|
+
end
|
1670
|
+
```
|
1671
|
+
|
1672
|
+
El objeto `request.body` es una instancia de IO o StringIO:
|
1673
|
+
|
1674
|
+
```ruby
|
1675
|
+
post "/api" do
|
1676
|
+
request.body.rewind # en caso de que alguien ya lo haya leído
|
1677
|
+
datos = JSON.parse request.body.read
|
1678
|
+
"Hola #{datos['nombre']}!"
|
1679
|
+
end
|
1680
|
+
```
|
1681
|
+
|
1682
|
+
### Archivos Adjuntos
|
1683
|
+
|
1684
|
+
Podés usar el helper `attachment` para indicarle al navegador que
|
1685
|
+
almacene la respuesta en el disco en lugar de mostrarla en pantalla:
|
1686
|
+
|
1687
|
+
```ruby
|
1688
|
+
get '/' do
|
1689
|
+
attachment
|
1690
|
+
"guardalo!"
|
1691
|
+
end
|
1692
|
+
```
|
1693
|
+
|
1694
|
+
También podés pasarle un nombre de archivo:
|
1695
|
+
|
1696
|
+
```ruby
|
1697
|
+
get '/' do
|
1698
|
+
attachment "info.txt"
|
1699
|
+
"guardalo!"
|
1700
|
+
end
|
1701
|
+
```
|
1702
|
+
|
1703
|
+
### Fecha y Hora
|
1704
|
+
|
1705
|
+
Sinatra pone a tu disposición el helper `time_for`, que genera un objeto `Time`
|
1706
|
+
a partir del valor que recibe como argumento. Este valor puede ser un
|
1707
|
+
`String`, pero también es capaz de convertir objetos `DateTime`, `Date` y de
|
1708
|
+
otras clases similares:
|
1709
|
+
|
1710
|
+
```ruby
|
1711
|
+
get '/' do
|
1712
|
+
pass if Time.now > time_for('Dec 23, 2012')
|
1713
|
+
"todavía hay tiempo"
|
1714
|
+
end
|
1715
|
+
```
|
1716
|
+
|
1717
|
+
Este método es usado internamente por métodos como `expires` y `last_modified`,
|
1718
|
+
entre otros. Por lo tanto, es posible extender el comportamiento de estos
|
1719
|
+
métodos sobreescribiendo `time_for` en tu aplicación:
|
1720
|
+
|
1721
|
+
```ruby
|
1722
|
+
helpers do
|
1723
|
+
def time_for(value)
|
1724
|
+
case value
|
1725
|
+
when :ayer then Time.now - 24*60*60
|
1726
|
+
when :mañana then Time.now + 24*60*60
|
1727
|
+
else super
|
1728
|
+
end
|
1729
|
+
end
|
1730
|
+
end
|
1731
|
+
|
1732
|
+
get '/' do
|
1733
|
+
last_modified :ayer
|
1734
|
+
expires :mañana
|
1735
|
+
"hola"
|
1736
|
+
end
|
1737
|
+
```
|
1738
|
+
|
1739
|
+
### Buscando los Archivos de las Plantillas
|
1740
|
+
|
1741
|
+
El helper `find_template` se utiliza para encontrar los archivos de las
|
1742
|
+
plantillas que se van a renderizar:
|
1743
|
+
|
1744
|
+
```ruby
|
1745
|
+
find_template settings.views, 'foo', Tilt[:haml] do |archivo|
|
1746
|
+
puts "podría ser #{archivo}"
|
1747
|
+
end
|
1748
|
+
```
|
1749
|
+
|
1750
|
+
Si bien esto no es muy útil, lo interesante es que podés sobreescribir este
|
1751
|
+
método, y así enganchar tu propio mecanismo de búsqueda. Por ejemplo, para
|
1752
|
+
poder utilizar más de un directorio de vistas:
|
1753
|
+
|
1754
|
+
```ruby
|
1755
|
+
set :views, ['vistas', 'plantillas']
|
1756
|
+
|
1757
|
+
helpers do
|
1758
|
+
def find_template(views, name, engine, &block)
|
1759
|
+
Array(views).each { |v| super(v, name, engine, &block) }
|
1760
|
+
end
|
1761
|
+
end
|
1762
|
+
```
|
1763
|
+
|
1764
|
+
Otro ejemplo consiste en usar directorios diferentes para los distintos motores
|
1765
|
+
de renderizado:
|
1766
|
+
|
1767
|
+
```ruby
|
1768
|
+
set :views, :sass => 'vistas/sass', :haml => 'plantillas', :defecto => 'vistas'
|
1769
|
+
|
1770
|
+
helpers do
|
1771
|
+
def find_template(views, name, engine, &block)
|
1772
|
+
_, folder = views.detect { |k,v| engine == Tilt[k] }
|
1773
|
+
folder ||= views[:defecto]
|
1774
|
+
super(folder, name, engine, &block)
|
1775
|
+
end
|
1776
|
+
end
|
1777
|
+
```
|
1778
|
+
|
1779
|
+
¡Es muy fácil convertir estos ejemplos en una extensión y compartirla!
|
1780
|
+
|
1781
|
+
Notá que `find_template` no verifica si un archivo existe realmente, sino
|
1782
|
+
que llama al bloque que recibe para cada path posible. Esto no representa un
|
1783
|
+
problema de rendimiento debido a que `render` va a usar `break` ni bien
|
1784
|
+
encuentre un archivo que exista. Además, las ubicaciones de las plantillas (y
|
1785
|
+
su contenido) se cachean cuando no estás en el modo de desarrollo. Es bueno
|
1786
|
+
tener en cuenta lo anterior si escribís un método extraño.
|
1787
|
+
|
1788
|
+
## Configuración
|
1789
|
+
|
1790
|
+
Ejecutar una vez, en el inicio, en cualquier entorno:
|
1791
|
+
|
1792
|
+
```ruby
|
1793
|
+
configure do
|
1794
|
+
# asignando una opción
|
1795
|
+
set :opcion, 'valor'
|
1796
|
+
|
1797
|
+
# asignando varias opciones
|
1798
|
+
set :a => 1, :b => 2
|
1799
|
+
|
1800
|
+
# atajo para `set :opcion, true`
|
1801
|
+
enable :opcion
|
1802
|
+
|
1803
|
+
# atajo para `set :opcion, false`
|
1804
|
+
disable :opcion
|
1805
|
+
|
1806
|
+
# también podés tener configuraciones dinámicas usando bloques
|
1807
|
+
set(:css_dir) { File.join(views, 'css') }
|
1808
|
+
end
|
1809
|
+
```
|
1810
|
+
|
1811
|
+
Ejecutar únicamente cuando el entorno (la variable de entorno RACK_ENV) es
|
1812
|
+
`:production`:
|
1813
|
+
|
1814
|
+
```ruby
|
1815
|
+
configure :production do
|
1816
|
+
...
|
1817
|
+
end
|
1818
|
+
```
|
1819
|
+
|
1820
|
+
Ejecutar cuando el entorno es `:production` o `:test`:
|
1821
|
+
|
1822
|
+
```ruby
|
1823
|
+
configure :production, :test do
|
1824
|
+
...
|
1825
|
+
end
|
1826
|
+
```
|
1827
|
+
|
1828
|
+
Podés acceder a estas opciones utilizando el método `settings`:
|
1829
|
+
|
1830
|
+
```ruby
|
1831
|
+
configure do
|
1832
|
+
set :foo, 'bar'
|
1833
|
+
end
|
1834
|
+
|
1835
|
+
get '/' do
|
1836
|
+
settings.foo? # => true
|
1837
|
+
settings.foo # => 'bar'
|
1838
|
+
...
|
1839
|
+
end
|
1840
|
+
```
|
1841
|
+
|
1842
|
+
### Configurando la Protección de Ataques
|
1843
|
+
|
1844
|
+
Sinatra usa [Rack::Protection](https://github.com/sinatra/rack-protection#readme)
|
1845
|
+
para defender a tu aplicación de los ataques más comunes. Si por algún motivo,
|
1846
|
+
querés desactivar esta funcionalidad, podés hacerlo como se indica a
|
1847
|
+
continuación (ten en cuenta que tu aplicación va a quedar expuesta a un
|
1848
|
+
montón de vulnerabilidades bien conocidas):
|
1849
|
+
|
1850
|
+
```ruby
|
1851
|
+
disable :protection
|
1852
|
+
```
|
1853
|
+
|
1854
|
+
También es posible desactivar una única capa de defensa:
|
1855
|
+
|
1856
|
+
```ruby
|
1857
|
+
set :protection, :except => :path_traversal
|
1858
|
+
```
|
1859
|
+
|
1860
|
+
O varias:
|
1861
|
+
|
1862
|
+
```ruby
|
1863
|
+
set :protection, :except => [:path_traversal, :session_hijacking]
|
1864
|
+
```
|
1865
|
+
|
1866
|
+
### Configuraciones Disponibles
|
1867
|
+
|
1868
|
+
<dl>
|
1869
|
+
<dt>absolute_redirects</dt>
|
1870
|
+
<dd>
|
1871
|
+
Si está deshabilitada, Sinatra va a permitir
|
1872
|
+
redirecciones relativas, sin embargo, como consecuencia
|
1873
|
+
de esto, va a dejar de cumplir con el RFC 2616 (HTTP
|
1874
|
+
1.1), que solamente permite redirecciones absolutas.
|
1875
|
+
|
1876
|
+
Activalo si tu apliación está corriendo atrás de un proxy
|
1877
|
+
reverso que no se ha configurado adecuadamente. Notá que
|
1878
|
+
el helper <tt>url</tt> va a seguir produciendo URLs absolutas, a
|
1879
|
+
menos que le pasés <tt>false</tt> como segundo parámetro.
|
1880
|
+
|
1881
|
+
Deshabilitada por defecto.
|
1882
|
+
</dd>
|
1883
|
+
|
1884
|
+
<dt>add_charset</dt>
|
1885
|
+
<dd>
|
1886
|
+
Tipos mime a los que el helper <tt>content_type</tt> les
|
1887
|
+
añade automáticamente el charset.
|
1888
|
+
|
1889
|
+
En general, no deberías asignar directamente esta opción,
|
1890
|
+
sino añadirle los charsets que quieras:
|
1891
|
+
<tt>settings.add_charset << "application/foobar"</tt>
|
1892
|
+
</dd>
|
1893
|
+
|
1894
|
+
<dt>app_file</dt>
|
1895
|
+
<dd>
|
1896
|
+
Path del archivo principal de la aplicación, se utiliza
|
1897
|
+
para detectar la raíz del proyecto, el directorio de las
|
1898
|
+
vistas y el público, así como las plantillas inline.
|
1899
|
+
</dd>
|
1900
|
+
|
1901
|
+
<dt>bind</dt>
|
1902
|
+
<dd>
|
1903
|
+
Dirección IP que utilizará el servidor integrado (por
|
1904
|
+
defecto: 0.0.0.0).
|
1905
|
+
</dd>
|
1906
|
+
|
1907
|
+
<dt>default_encoding</dt>
|
1908
|
+
<dd>
|
1909
|
+
Encoding utilizado cuando el mismo se desconoce (por
|
1910
|
+
defecto <tt>"utf-8"</tt>).
|
1911
|
+
</dd>
|
1912
|
+
|
1913
|
+
<dt>dump_errors</dt>
|
1914
|
+
<dd>
|
1915
|
+
Mostrar errores en el log.
|
1916
|
+
</dd>
|
1917
|
+
|
1918
|
+
<dt>environment</dt>
|
1919
|
+
<dd>
|
1920
|
+
Entorno actual, por defecto toma el valor de
|
1921
|
+
<tt>ENV['RACK_ENV']</tt>, o <tt>"development"</tt> si no
|
1922
|
+
está disponible.
|
1923
|
+
</dd>
|
1924
|
+
|
1925
|
+
<dt>logging</dt>
|
1926
|
+
<dd>
|
1927
|
+
Define si se utiliza el logger.
|
1928
|
+
</dd>
|
1929
|
+
|
1930
|
+
<dt>lock</dt>
|
1931
|
+
<dd>
|
1932
|
+
Coloca un lock alrededor de cada petición, procesando
|
1933
|
+
solamente una por proceso.
|
1934
|
+
|
1935
|
+
Habilitá esta opción si tu aplicación no es thread-safe.
|
1936
|
+
Se encuentra deshabilitada por defecto.
|
1937
|
+
</dd>
|
1938
|
+
|
1939
|
+
<dt>method_override</dt>
|
1940
|
+
<dd>
|
1941
|
+
Utiliza el parámetro <tt>_method</tt> para permtir
|
1942
|
+
formularios put/delete en navegadores que no los
|
1943
|
+
soportan.
|
1944
|
+
</dd>
|
1945
|
+
|
1946
|
+
<dt>port</dt>
|
1947
|
+
<dd>
|
1948
|
+
Puerto en el que escuchará el servidor integrado.
|
1949
|
+
</dd>
|
1950
|
+
|
1951
|
+
<dt>prefixed_redirects</dt>
|
1952
|
+
<dd>
|
1953
|
+
Define si inserta <tt>request.script_name</tt> en las
|
1954
|
+
redirecciones cuando no se proporciona un path absoluto.
|
1955
|
+
De esta manera, cuando está habilitada,
|
1956
|
+
<tt>redirect '/foo'</tt> se comporta de la misma manera
|
1957
|
+
que <tt>redirect to('/foo')</tt>. Se encuentra
|
1958
|
+
deshabilitada por defecto.
|
1959
|
+
</dd>
|
1960
|
+
|
1961
|
+
<dt>protection</dt>
|
1962
|
+
<dd>
|
1963
|
+
Define si deben activarse las protecciones para los
|
1964
|
+
ataques web más comunes. Para más detalles mirá la
|
1965
|
+
sección sobre la configuración de protección de ataques
|
1966
|
+
más arriba.
|
1967
|
+
</dd>
|
1968
|
+
|
1969
|
+
<dt>public_dir</dt>
|
1970
|
+
<dd>
|
1971
|
+
Alias para <tt>public_folder</tt>, que se encuentra a
|
1972
|
+
continuación.
|
1973
|
+
</dd>
|
1974
|
+
|
1975
|
+
<dt>public_folder</dt>
|
1976
|
+
<dd>
|
1977
|
+
Lugar del directorio desde donde se sirven los archivos
|
1978
|
+
públicos. Solo se utiliza cuando se sirven archivos
|
1979
|
+
estáticos (ver la opción <tt>static</tt>). Si no
|
1980
|
+
está presente, se infiere del valor de la opción
|
1981
|
+
<tt>app_file</tt>.
|
1982
|
+
</dd>
|
1983
|
+
|
1984
|
+
<dt>reload_templates</dt>
|
1985
|
+
<dd>
|
1986
|
+
Define si se recargan las plantillas entre peticiones.
|
1987
|
+
|
1988
|
+
Se encuentra activado en el entorno de desarrollo.
|
1989
|
+
</dd>
|
1990
|
+
|
1991
|
+
<dt>root</dt>
|
1992
|
+
<dd>
|
1993
|
+
Lugar del directorio raíz del proyecto. Si no está
|
1994
|
+
presente, se infiere del valor de la opción
|
1995
|
+
<tt>app_file</tt>.
|
1996
|
+
</dd>
|
1997
|
+
|
1998
|
+
<dt>raise_errors</dt>
|
1999
|
+
<dd>
|
2000
|
+
Elevar excepciones (detiene la aplicación). Se
|
2001
|
+
encuentra activada por defecto cuando el valor de
|
2002
|
+
<tt>environment</tt> es <tt>"test"</tt>. En caso
|
2003
|
+
contrario estará desactivada.
|
2004
|
+
</dd>
|
2005
|
+
|
2006
|
+
<dt>run</dt>
|
2007
|
+
<dd>
|
2008
|
+
Cuando está habilitada, Sinatra se va a encargar de
|
2009
|
+
iniciar el servidor web, no la habilites cuando estés
|
2010
|
+
usando rackup o algún otro medio.
|
2011
|
+
</dd>
|
2012
|
+
|
2013
|
+
<dt>running</dt>
|
2014
|
+
<dd>
|
2015
|
+
Indica si el servidor integrado está ejecutándose, ¡no
|
2016
|
+
cambiés esta configuración!.
|
2017
|
+
</dd>
|
2018
|
+
|
2019
|
+
<dt>server</dt>
|
2020
|
+
<dd>
|
2021
|
+
Servidor, o lista de servidores, para usar como servidor
|
2022
|
+
integrado. Por defecto: <tt>['thin', 'mongrel', 'webrick']</tt>,
|
2023
|
+
el orden establece la prioridad.
|
2024
|
+
</dd>
|
2025
|
+
|
2026
|
+
<dt>sessions</dt>
|
2027
|
+
<dd>
|
2028
|
+
Habilita el soporte de sesiones basadas en cookies a
|
2029
|
+
través de <tt>Rack::Session::Cookie</tt>. Ver la
|
2030
|
+
sección 'Usando Sesiones' para más información.
|
2031
|
+
</dd>
|
2032
|
+
|
2033
|
+
<dt>show_exceptions</dt>
|
2034
|
+
<dd>
|
2035
|
+
Muestra un stack trace en el navegador cuando ocurre una
|
2036
|
+
excepción. Se encuentra activada por defecto cuando el
|
2037
|
+
valor de <tt>environment</tt> es <tt>"development"</tt>.
|
2038
|
+
En caso contrario estará desactivada.
|
2039
|
+
</dd>
|
2040
|
+
|
2041
|
+
<dt>static</dt>
|
2042
|
+
<dd>
|
2043
|
+
Define si Sinatra debe encargarse de servir archivos
|
2044
|
+
estáticos.
|
2045
|
+
|
2046
|
+
Deshabilitala cuando uses un servidor capaz de
|
2047
|
+
hacerlo por sí solo, porque mejorará el
|
2048
|
+
rendimiento. Se encuentra habilitada por
|
2049
|
+
defecto en el estilo clásico y desactivado en el
|
2050
|
+
el modular.
|
2051
|
+
</dd>
|
2052
|
+
|
2053
|
+
<dt>static_cache_control</dt>
|
2054
|
+
<dd>
|
2055
|
+
Cuando Sinatra está sirviendo archivos estáticos, y
|
2056
|
+
esta opción está habilitada, les va a agregar encabezados
|
2057
|
+
<tt>Cache-Control</tt> a las respuestas. Para esto
|
2058
|
+
utiliza el helper <tt>cache_control</tt>. Se encuentra
|
2059
|
+
deshabilitada por defecto. Notar que es necesario
|
2060
|
+
utilizar un array cuando se asignan múltiples valores:
|
2061
|
+
<tt>set :static_cache_control, [:public, :max_age => 300]</tt>.
|
2062
|
+
</dd>
|
2063
|
+
|
2064
|
+
<dt>views</dt>
|
2065
|
+
<dd>
|
2066
|
+
Path del directorio de las vistas. Si no está presente,
|
2067
|
+
se infiere del valor de la opción <tt>app_file</tt>.
|
2068
|
+
</dd>
|
2069
|
+
</dl>
|
2070
|
+
|
2071
|
+
## Entornos
|
2072
|
+
|
2073
|
+
Existen tres entornos (`environments`) predefinidos: `development`,
|
2074
|
+
`production` y `test`. El entorno por defecto es
|
2075
|
+
`development` y tiene algunas particularidades:
|
2076
|
+
|
2077
|
+
* Se recargan las plantillas entre una petición y la siguiente, a diferencia
|
2078
|
+
de `production` y `test`, donde se cachean.
|
2079
|
+
* Se instalan manejadores de errores `not_found` y `error`
|
2080
|
+
especiales que muestran un stack trace en el navegador cuando son disparados.
|
2081
|
+
|
2082
|
+
Para utilizar alguno de los otros entornos puede asignarse el valor
|
2083
|
+
correspondiente a la variable de entorno `RACK_ENV`, o bien utilizar la opción
|
2084
|
+
`-e` al ejecutar la aplicación:
|
2085
|
+
|
2086
|
+
```shell
|
2087
|
+
ruby mi_app.rb -e <ENTORNO>
|
2088
|
+
```
|
2089
|
+
|
2090
|
+
Los métodos `development?`, `test?` y `production?` te permiten conocer el
|
2091
|
+
entorno actual.
|
2092
|
+
|
2093
|
+
## Manejo de Errores
|
2094
|
+
|
2095
|
+
Los manejadores de errores se ejecutan dentro del mismo contexto que las rutas
|
2096
|
+
y los filtros `before`, lo que significa que podés usar, por ejemplo,
|
2097
|
+
`haml`, `erb`, `halt`, etc.
|
2098
|
+
|
2099
|
+
### No encontrado <em>(Not Found)</em>
|
2100
|
+
|
2101
|
+
Cuando se eleva una excepción `Sinatra::NotFound`, o el código de
|
2102
|
+
estado de la respuesta es 404, el manejador `not_found` es invocado:
|
2103
|
+
|
2104
|
+
```ruby
|
2105
|
+
not_found do
|
2106
|
+
'No existo'
|
2107
|
+
end
|
2108
|
+
```
|
2109
|
+
|
2110
|
+
### Error
|
2111
|
+
|
2112
|
+
El manejador `error` es invocado cada vez que una excepción es elevada
|
2113
|
+
desde un bloque de ruta o un filtro. El objeto de la excepción se puede
|
2114
|
+
obtener de la variable Rack `sinatra.error`:
|
2115
|
+
|
2116
|
+
```ruby
|
2117
|
+
error do
|
2118
|
+
'Disculpá, ocurrió un error horrible - ' + env['sinatra.error'].message
|
2119
|
+
end
|
2120
|
+
```
|
2121
|
+
|
2122
|
+
Errores personalizados:
|
2123
|
+
|
2124
|
+
```ruby
|
2125
|
+
error MiErrorPersonalizado do
|
2126
|
+
'Lo que pasó fue...' + env['sinatra.error'].message
|
2127
|
+
end
|
2128
|
+
```
|
2129
|
+
|
2130
|
+
Entonces, si pasa esto:
|
2131
|
+
|
2132
|
+
```ruby
|
2133
|
+
get '/' do
|
2134
|
+
raise MiErrorPersonalizado, 'algo malo'
|
2135
|
+
end
|
2136
|
+
```
|
2137
|
+
|
2138
|
+
Obtenés esto:
|
2139
|
+
|
2140
|
+
Lo que pasó fue... algo malo
|
2141
|
+
|
2142
|
+
También, podés instalar un manejador de errores para un código de estado:
|
2143
|
+
|
2144
|
+
```ruby
|
2145
|
+
error 403 do
|
2146
|
+
'Acceso prohibido'
|
2147
|
+
end
|
2148
|
+
|
2149
|
+
get '/secreto' do
|
2150
|
+
403
|
2151
|
+
end
|
2152
|
+
```
|
2153
|
+
|
2154
|
+
O un rango:
|
2155
|
+
|
2156
|
+
```ruby
|
2157
|
+
error 400..510 do
|
2158
|
+
'Boom'
|
2159
|
+
end
|
2160
|
+
```
|
2161
|
+
|
2162
|
+
Sinatra instala manejadores `not_found` y `error` especiales
|
2163
|
+
cuando se ejecuta dentro del entorno de desarrollo "development".
|
2164
|
+
|
2165
|
+
## Rack Middleware
|
2166
|
+
|
2167
|
+
Sinatra corre sobre [Rack](http://rack.github.io/), una interfaz minimalista
|
2168
|
+
que es un estándar para frameworks webs escritos en Ruby. Una de las
|
2169
|
+
características más interesantes de Rack para los desarrolladores de aplicaciones
|
2170
|
+
es el soporte de "middleware" -- componentes que se ubican entre el servidor y
|
2171
|
+
tu aplicación, supervisando y/o manipulando la petición/respuesta HTTP para
|
2172
|
+
proporcionar varios tipos de funcionalidades comunes.
|
2173
|
+
|
2174
|
+
Sinatra hace muy sencillo construir tuberías de Rack middleware a través del
|
2175
|
+
método top-level `use`:
|
2176
|
+
|
2177
|
+
```ruby
|
2178
|
+
require 'sinatra'
|
2179
|
+
require 'mi_middleware_personalizado'
|
2180
|
+
|
2181
|
+
use Rack::Lint
|
2182
|
+
use MiMiddlewarePersonalizado
|
2183
|
+
|
2184
|
+
get '/hola' do
|
2185
|
+
'Hola Mundo'
|
2186
|
+
end
|
2187
|
+
```
|
2188
|
+
|
2189
|
+
La semántica de `use` es idéntica a la definida para el DSL
|
2190
|
+
Rack::Builder[http://www.rubydoc.info/github/rack/rack/master/Rack/Builder] (más
|
2191
|
+
frecuentemente usado en archivos rackup). Por ejemplo, el método `use`
|
2192
|
+
acepta argumentos múltiples/variables así como bloques:
|
2193
|
+
|
2194
|
+
```ruby
|
2195
|
+
use Rack::Auth::Basic do |nombre_de_usuario, password|
|
2196
|
+
nombre_de_usuario == 'admin' && password == 'secreto'
|
2197
|
+
end
|
2198
|
+
```
|
2199
|
+
|
2200
|
+
Rack es distribuido con una variedad de middleware estándar para logging,
|
2201
|
+
debugging, enrutamiento URL, autenticación y manejo de sesiones. Sinatra
|
2202
|
+
usa muchos de estos componentes automáticamente de acuerdo a su configuración
|
2203
|
+
para que usualmente no tengas que usarlas (con `use`) explícitamente.
|
2204
|
+
|
2205
|
+
Podés encontrar middleware útil en
|
2206
|
+
[rack](https://github.com/rack/rack/tree/master/lib/rack),
|
2207
|
+
[rack-contrib](https://github.com/rack/rack-contrib#readme),
|
2208
|
+
o en la [Rack wiki](https://github.com/rack/rack/wiki/List-of-Middleware).
|
2209
|
+
|
2210
|
+
## Pruebas
|
2211
|
+
|
2212
|
+
Las pruebas para las aplicaciones Sinatra pueden ser escritas utilizando
|
2213
|
+
cualquier framework o librería de pruebas basada en Rack. Se recomienda usar
|
2214
|
+
[Rack::Test](http://www.rubydoc.info/github/brynary/rack-test/master/frames):
|
2215
|
+
|
2216
|
+
```ruby
|
2217
|
+
require 'mi_app_sinatra'
|
2218
|
+
require 'minitest/autorun'
|
2219
|
+
require 'rack/test'
|
2220
|
+
|
2221
|
+
class MiAppTest < Minitest::Test
|
2222
|
+
include Rack::Test::Methods
|
2223
|
+
|
2224
|
+
def app
|
2225
|
+
Sinatra::Application
|
2226
|
+
end
|
2227
|
+
|
2228
|
+
def test_mi_defecto
|
2229
|
+
get '/'
|
2230
|
+
assert_equal 'Hola Mundo!', last_response.body
|
2231
|
+
end
|
2232
|
+
|
2233
|
+
def test_con_parametros
|
2234
|
+
get '/saludar', :name => 'Franco'
|
2235
|
+
assert_equal 'Hola Frank!', last_response.body
|
2236
|
+
end
|
2237
|
+
|
2238
|
+
def test_con_entorno_rack
|
2239
|
+
get '/', {}, 'HTTP_USER_AGENT' => 'Songbird'
|
2240
|
+
assert_equal "Estás usando Songbird!", last_response.body
|
2241
|
+
end
|
2242
|
+
end
|
2243
|
+
```
|
2244
|
+
|
2245
|
+
## Sinatra::Base - Middleware, Librerías, y Aplicaciones Modulares
|
2246
|
+
|
2247
|
+
Definir tu aplicación en el nivel superior funciona bien para micro-aplicaciones
|
2248
|
+
pero trae inconvenientes considerables a la hora de construir componentes
|
2249
|
+
reutilizables como Rack middleware, Rails metal, librerías simples con un
|
2250
|
+
componente de servidor o incluso extensiones de Sinatra. El DSL de alto nivel
|
2251
|
+
asume una configuración apropiada para micro-aplicaciones (por ejemplo, un
|
2252
|
+
único archivo de aplicación, los directorios `./public` y
|
2253
|
+
`./views`, logging, página con detalles de excepción, etc.). Ahí es
|
2254
|
+
donde `Sinatra::Base` entra en el juego:
|
2255
|
+
|
2256
|
+
```ruby
|
2257
|
+
require 'sinatra/base'
|
2258
|
+
|
2259
|
+
class MiApp < Sinatra::Base
|
2260
|
+
set :sessions, true
|
2261
|
+
set :foo, 'bar'
|
2262
|
+
|
2263
|
+
get '/' do
|
2264
|
+
'Hola Mundo!'
|
2265
|
+
end
|
2266
|
+
end
|
2267
|
+
```
|
2268
|
+
|
2269
|
+
Las subclases de `Sinatra::Base` tienen disponibles exactamente los
|
2270
|
+
mismos métodos que los provistos por el DSL de top-level. La mayoría de las
|
2271
|
+
aplicaciones top-level se pueden convertir en componentes
|
2272
|
+
`Sinatra::Base` con dos modificaciones:
|
2273
|
+
|
2274
|
+
* Tu archivo debe requerir `sinatra/base` en lugar de `sinatra`; de otra
|
2275
|
+
manera, todos los métodos del DSL de sinatra son importados dentro del
|
2276
|
+
espacio de nombres principal.
|
2277
|
+
* Poné las rutas, manejadores de errores, filtros y opciones de tu aplicación
|
2278
|
+
en una subclase de `Sinatra::Base`.
|
2279
|
+
|
2280
|
+
`Sinatra::Base` es una pizarra en blanco. La mayoría de las opciones están
|
2281
|
+
desactivadas por defecto, incluyendo el servidor incorporado. Mirá
|
2282
|
+
[Opciones y Configuraciones](http://www.sinatrarb.com/configuration.html)
|
2283
|
+
para detalles sobre las opciones disponibles y su comportamiento.
|
2284
|
+
|
2285
|
+
### Estilo Modular vs. Clásico
|
2286
|
+
|
2287
|
+
Contrariamente a la creencia popular, no hay nada de malo con el estilo clásico.
|
2288
|
+
Si se ajusta a tu aplicación, no es necesario que la cambies a una modular.
|
2289
|
+
|
2290
|
+
La desventaja de usar el estilo clásico en lugar del modular consiste en que
|
2291
|
+
solamente podés tener una aplicación Sinatra por proceso Ruby. Si tenés
|
2292
|
+
planificado usar más, cambiá al estilo modular. Al mismo tiempo, ten en
|
2293
|
+
cuenta que no hay ninguna razón por la cuál no puedas mezclar los estilos
|
2294
|
+
clásico y modular.
|
2295
|
+
|
2296
|
+
A continuación se detallan las diferencias (sútiles) entre las configuraciones
|
2297
|
+
de ambos estilos:
|
2298
|
+
|
2299
|
+
<table>
|
2300
|
+
<tr>
|
2301
|
+
<td>Configuración</td>
|
2302
|
+
<td>Clásica</td>
|
2303
|
+
<td>Modular</td>
|
2304
|
+
</tr>
|
2305
|
+
|
2306
|
+
<tr>
|
2307
|
+
<td>app_file</td>
|
2308
|
+
<td>archivo que carga sinatra</td>
|
2309
|
+
<td>archivo con la subclase de Sinatra::Base</td>
|
2310
|
+
</tr>
|
2311
|
+
|
2312
|
+
<tr>
|
2313
|
+
<td>run</td>
|
2314
|
+
<td>$0 == app_file</td>
|
2315
|
+
<td>false</td>
|
2316
|
+
</tr>
|
2317
|
+
|
2318
|
+
<tr>
|
2319
|
+
<td>logging</td>
|
2320
|
+
<td>true</td>
|
2321
|
+
<td>false</td>
|
2322
|
+
</tr>
|
2323
|
+
|
2324
|
+
<tr>
|
2325
|
+
<td>method_override</td>
|
2326
|
+
<td>true</td>
|
2327
|
+
<td>false</td>
|
2328
|
+
</tr>
|
2329
|
+
|
2330
|
+
<tr>
|
2331
|
+
<td>inline_templates</td>
|
2332
|
+
<td>true</td>
|
2333
|
+
<td>false</td>
|
2334
|
+
</tr>
|
2335
|
+
|
2336
|
+
<tr>
|
2337
|
+
<td>static</td>
|
2338
|
+
<td>true</td>
|
2339
|
+
<td>File.exist?(public_folder)</td>
|
2340
|
+
</tr>
|
2341
|
+
</table>
|
2342
|
+
|
2343
|
+
### Sirviendo una Aplicación Modular
|
2344
|
+
|
2345
|
+
Las dos opciones más comunes para iniciar una aplicación modular son, iniciarla
|
2346
|
+
activamente con `run!`:
|
2347
|
+
|
2348
|
+
```ruby
|
2349
|
+
# mi_app.rb
|
2350
|
+
require 'sinatra/base'
|
2351
|
+
|
2352
|
+
class MiApp < Sinatra::Base
|
2353
|
+
# ... código de la app ...
|
2354
|
+
|
2355
|
+
# iniciar el servidor si el archivo fue ejecutado directamente
|
2356
|
+
run! if app_file == $0
|
2357
|
+
end
|
2358
|
+
```
|
2359
|
+
|
2360
|
+
Iniciar con:
|
2361
|
+
|
2362
|
+
```shell
|
2363
|
+
ruby mi_app.rb
|
2364
|
+
```
|
2365
|
+
|
2366
|
+
O, con un archivo `config.ru`, que permite usar cualquier handler Rack:
|
2367
|
+
|
2368
|
+
```ruby
|
2369
|
+
# config.ru
|
2370
|
+
require './mi_app'
|
2371
|
+
run MiApp
|
2372
|
+
```
|
2373
|
+
|
2374
|
+
Después ejecutar:
|
2375
|
+
|
2376
|
+
```shell
|
2377
|
+
rackup -p 4567
|
2378
|
+
```
|
2379
|
+
|
2380
|
+
### Usando una Aplicación Clásica con un Archivo config.ru
|
2381
|
+
|
2382
|
+
Escribí el archivo de tu aplicación:
|
2383
|
+
|
2384
|
+
```ruby
|
2385
|
+
# app.rb
|
2386
|
+
require 'sinatra'
|
2387
|
+
|
2388
|
+
get '/' do
|
2389
|
+
'Hola mundo!'
|
2390
|
+
end
|
2391
|
+
```
|
2392
|
+
|
2393
|
+
Y el `config.ru` correspondiente:
|
2394
|
+
|
2395
|
+
```ruby
|
2396
|
+
require './app'
|
2397
|
+
run Sinatra::Application
|
2398
|
+
```
|
2399
|
+
|
2400
|
+
### ¿Cuándo usar config.ru?
|
2401
|
+
|
2402
|
+
Indicadores de que probablemente querés usar `config.ru`:
|
2403
|
+
|
2404
|
+
* Querés realizar el deploy con un handler Rack distinto (Passenger, Unicorn,
|
2405
|
+
Heroku, ...).
|
2406
|
+
* Querés usar más de una subclase de `Sinatra::Base`.
|
2407
|
+
* Querés usar Sinatra únicamente para middleware, pero no como un endpoint.
|
2408
|
+
|
2409
|
+
<b>No hay necesidad de utilizar un archivo `config.ru` exclusivamente
|
2410
|
+
porque tenés una aplicación modular, y no necesitás una aplicación modular para
|
2411
|
+
iniciarla con `config.ru`.</b>
|
2412
|
+
|
2413
|
+
### Utilizando Sinatra como Middleware
|
2414
|
+
|
2415
|
+
Sinatra no solo es capaz de usar otro Rack middleware, sino que a su vez,
|
2416
|
+
cualquier aplicación Sinatra puede ser agregada delante de un endpoint Rack
|
2417
|
+
como middleware. Este endpoint puede ser otra aplicación Sinatra, o cualquier
|
2418
|
+
aplicación basada en Rack (Rails/Ramaze/Camping/...):
|
2419
|
+
|
2420
|
+
```ruby
|
2421
|
+
require 'sinatra/base'
|
2422
|
+
|
2423
|
+
class PantallaDeLogin < Sinatra::Base
|
2424
|
+
enable :sessions
|
2425
|
+
|
2426
|
+
get('/login') { haml :login }
|
2427
|
+
|
2428
|
+
post('/login') do
|
2429
|
+
if params['nombre'] == 'admin' && params['password'] == 'admin'
|
2430
|
+
session['nombre_de_usuario'] = params['nombre']
|
2431
|
+
else
|
2432
|
+
redirect '/login'
|
2433
|
+
end
|
2434
|
+
end
|
2435
|
+
end
|
2436
|
+
|
2437
|
+
class MiApp < Sinatra::Base
|
2438
|
+
# el middleware se ejecutará antes que los filtros
|
2439
|
+
use PantallaDeLogin
|
2440
|
+
|
2441
|
+
before do
|
2442
|
+
unless session['nombre_de_usuario']
|
2443
|
+
halt "Acceso denegado, por favor <a href='/login'>iniciá sesión</a>."
|
2444
|
+
end
|
2445
|
+
end
|
2446
|
+
|
2447
|
+
get('/') { "Hola #{session['nombre_de_usuario']}." }
|
2448
|
+
end
|
2449
|
+
```
|
2450
|
+
|
2451
|
+
### Creación Dinámica de Aplicaciones
|
2452
|
+
|
2453
|
+
Puede que en algunas ocasiones quieras crear nuevas aplicaciones en
|
2454
|
+
tiempo de ejecución sin tener que asignarlas a una constante. Para
|
2455
|
+
esto tenés `Sinatra.new`:
|
2456
|
+
|
2457
|
+
```ruby
|
2458
|
+
require 'sinatra/base'
|
2459
|
+
mi_app = Sinatra.new { get('/') { "hola" } }
|
2460
|
+
mi_app.run!
|
2461
|
+
```
|
2462
|
+
|
2463
|
+
Acepta como argumento opcional una aplicación desde la que se
|
2464
|
+
heredará:
|
2465
|
+
|
2466
|
+
```ruby
|
2467
|
+
# config.ru
|
2468
|
+
require 'sinatra/base'
|
2469
|
+
|
2470
|
+
controller = Sinatra.new do
|
2471
|
+
enable :logging
|
2472
|
+
helpers MisHelpers
|
2473
|
+
end
|
2474
|
+
|
2475
|
+
map('/a') do
|
2476
|
+
run Sinatra.new(controller) { get('/') { 'a' } }
|
2477
|
+
end
|
2478
|
+
|
2479
|
+
map('/b') do
|
2480
|
+
run Sinatra.new(controller) { get('/') { 'b' } }
|
2481
|
+
end
|
2482
|
+
```
|
2483
|
+
|
2484
|
+
Construir aplicaciones de esta forma resulta especialmente útil para
|
2485
|
+
testear extensiones Sinatra o para usar Sinatra en tus librerías.
|
2486
|
+
|
2487
|
+
Por otro lado, hace extremadamente sencillo usar Sinatra como
|
2488
|
+
middleware:
|
2489
|
+
|
2490
|
+
```ruby
|
2491
|
+
require 'sinatra/base'
|
2492
|
+
|
2493
|
+
use Sinatra do
|
2494
|
+
get('/') { ... }
|
2495
|
+
end
|
2496
|
+
|
2497
|
+
run ProyectoRails::Application
|
2498
|
+
```
|
2499
|
+
|
2500
|
+
## Ámbitos y Ligaduras
|
2501
|
+
|
2502
|
+
El ámbito en el que te encontrás determina que métodos y variables están
|
2503
|
+
disponibles.
|
2504
|
+
|
2505
|
+
### Ámbito de Aplicación/Clase
|
2506
|
+
|
2507
|
+
Cada aplicación Sinatra es una subclase de `Sinatra::Base`. Si estás
|
2508
|
+
usando el DSL de top-level (`require 'sinatra'`), entonces esta clase es
|
2509
|
+
`Sinatra::Application`, de otra manera es la subclase que creaste
|
2510
|
+
explícitamente. Al nivel de la clase tenés métodos como `get` o `before`, pero
|
2511
|
+
no podés acceder a los objetos `request` o `session`, ya que hay una única
|
2512
|
+
clase de la aplicación para todas las peticiones.
|
2513
|
+
|
2514
|
+
Las opciones creadas utilizando `set` son métodos al nivel de la clase:
|
2515
|
+
|
2516
|
+
```ruby
|
2517
|
+
class MiApp < Sinatra::Base
|
2518
|
+
# Ey, estoy en el ámbito de la aplicación!
|
2519
|
+
set :foo, 42
|
2520
|
+
foo # => 42
|
2521
|
+
|
2522
|
+
get '/foo' do
|
2523
|
+
# Hey, ya no estoy en el ámbito de la aplicación!
|
2524
|
+
end
|
2525
|
+
end
|
2526
|
+
```
|
2527
|
+
|
2528
|
+
Tenés la ligadura al ámbito de la aplicación dentro de:
|
2529
|
+
|
2530
|
+
* El cuerpo de la clase de tu aplicación
|
2531
|
+
* Métodos definidos por extensiones
|
2532
|
+
* El bloque pasado a `helpers`
|
2533
|
+
* Procs/bloques usados como el valor para `set`
|
2534
|
+
|
2535
|
+
Este ámbito puede alcanzarse de las siguientes maneras:
|
2536
|
+
|
2537
|
+
* A través del objeto pasado a los bloques de configuración (`configure { |c| ...}`)
|
2538
|
+
* Llamando a `settings` desde dentro del ámbito de la petición
|
2539
|
+
|
2540
|
+
### Ámbito de Petición/Instancia
|
2541
|
+
|
2542
|
+
Para cada petición entrante, una nueva instancia de la clase de tu aplicación
|
2543
|
+
es creada y todos los bloques de rutas son ejecutados en ese ámbito. Desde este
|
2544
|
+
ámbito podés acceder a los objetos `request` y `session` o llamar a los métodos
|
2545
|
+
de renderización como `erb` o `haml`. Podés acceder al ámbito de la aplicación
|
2546
|
+
desde el ámbito de la petición utilizando `settings`:
|
2547
|
+
|
2548
|
+
```ruby
|
2549
|
+
class MiApp < Sinatra::Base
|
2550
|
+
# Ey, estoy en el ámbito de la aplicación!
|
2551
|
+
get '/definir_ruta/:nombre' do
|
2552
|
+
# Ámbito de petición para '/definir_ruta/:nombre'
|
2553
|
+
@valor = 42
|
2554
|
+
|
2555
|
+
settings.get("/#{params['nombre']}") do
|
2556
|
+
# Ámbito de petición para "/#{params['nombre']}"
|
2557
|
+
@valor # => nil (no es la misma petición)
|
2558
|
+
end
|
2559
|
+
|
2560
|
+
"Ruta definida!"
|
2561
|
+
end
|
2562
|
+
end
|
2563
|
+
```
|
2564
|
+
|
2565
|
+
Tenés la ligadura al ámbito de la petición dentro de:
|
2566
|
+
|
2567
|
+
* bloques pasados a get/head/post/put/delete/options
|
2568
|
+
* filtros before/after
|
2569
|
+
* métodos ayudantes
|
2570
|
+
* plantillas/vistas
|
2571
|
+
|
2572
|
+
### Ámbito de Delegación
|
2573
|
+
|
2574
|
+
El ámbito de delegación solo reenvía métodos al ámbito de clase. De cualquier
|
2575
|
+
manera, no se comporta 100% como el ámbito de clase porque no tenés la ligadura
|
2576
|
+
de la clase: únicamente métodos marcados explícitamente para delegación están
|
2577
|
+
disponibles y no compartís variables/estado con el ámbito de clase (léase:
|
2578
|
+
tenés un `self` diferente). Podés agregar delegaciones de método llamando a
|
2579
|
+
`Sinatra::Delegator.delegate :nombre_del_metodo`.
|
2580
|
+
|
2581
|
+
Tenés la ligadura al ámbito de delegación dentro de:
|
2582
|
+
|
2583
|
+
* La ligadura del top-level, si hiciste `require "sinatra"`
|
2584
|
+
* Un objeto extendido con el mixin `Sinatra::Delegator`
|
2585
|
+
|
2586
|
+
Hechale un vistazo al código: acá está el
|
2587
|
+
[Sinatra::Delegator mixin](https://github.com/sinatra/sinatra/blob/ca06364/lib/sinatra/base.rb#L1609-1633)
|
2588
|
+
que [extiende el objeto main](https://github.com/sinatra/sinatra/blob/ca06364/lib/sinatra/main.rb#L28-30).
|
2589
|
+
|
2590
|
+
## Línea de Comandos
|
2591
|
+
|
2592
|
+
Las aplicaciones Sinatra pueden ser ejecutadas directamente:
|
2593
|
+
|
2594
|
+
```shell
|
2595
|
+
ruby miapp.rb [-h] [-x] [-e ENTORNO] [-p PUERTO] [-o HOST] [-s MANEJADOR]
|
2596
|
+
```
|
2597
|
+
|
2598
|
+
Las opciones son:
|
2599
|
+
|
2600
|
+
```
|
2601
|
+
-h # ayuda
|
2602
|
+
-p # asigna el puerto (4567 es usado por defecto)
|
2603
|
+
-o # asigna el host (0.0.0.0 es usado por defecto)
|
2604
|
+
-e # asigna el entorno (development es usado por defecto)
|
2605
|
+
-s # especifica el servidor/manejador rack (thin es usado por defecto)
|
2606
|
+
-x # activa el mutex lock (está desactivado por defecto)
|
2607
|
+
```
|
2608
|
+
|
2609
|
+
### Multi-threading
|
2610
|
+
|
2611
|
+
_Basado en [esta respuesta en StackOverflow][so-answer] escrita por Konstantin_
|
2612
|
+
|
2613
|
+
Sinatra no impone ningún modelo de concurrencia, sino que lo deja en manos del
|
2614
|
+
handler Rack que se esté usando (Thin, Puma, WEBrick). Sinatra en sí mismo es
|
2615
|
+
thread-safe, así que no hay problema en que el Rack handler use un modelo de
|
2616
|
+
concurrencia basado en hilos.
|
2617
|
+
|
2618
|
+
Esto significa que, cuando estemos arrancando el servidor, tendríamos que
|
2619
|
+
especificar la opción adecuada para el handler Rack específico. En este ejemplo
|
2620
|
+
vemos cómo arrancar un servidor Thin multihilo:
|
2621
|
+
|
2622
|
+
```ruby
|
2623
|
+
# app.rb
|
2624
|
+
|
2625
|
+
require 'sinatra/base'
|
2626
|
+
|
2627
|
+
class App < Sinatra::Base
|
2628
|
+
get '/' do
|
2629
|
+
"¡Hola, Mundo!"
|
2630
|
+
end
|
2631
|
+
end
|
2632
|
+
|
2633
|
+
App.run!
|
2634
|
+
```
|
2635
|
+
|
2636
|
+
Para arrancar el servidor, el comando sería:
|
2637
|
+
|
2638
|
+
```shell
|
2639
|
+
thin --threaded start
|
2640
|
+
```
|
2641
|
+
|
2642
|
+
[so-answer]: http://stackoverflow.com/questions/6278817/is-sinatra-multi-threaded/6282999#6282999)
|
2643
|
+
|
2644
|
+
## Versiones de Ruby Soportadas
|
2645
|
+
|
2646
|
+
Las siguientes versiones de Ruby son soportadas oficialmente:
|
2647
|
+
|
2648
|
+
<dl>
|
2649
|
+
<dt>Ruby 1.8.7</dt>
|
2650
|
+
<dd>
|
2651
|
+
1.8.7 es soportado completamente. Sin embargo, si no hay nada que te lo
|
2652
|
+
prohiba, te recomendamos que uses 1.9.2 o cambies a JRuby o Rubinius. No se
|
2653
|
+
dejará de dar soporte a 1.8.7 hasta Sinatra 2.0 y Ruby 2.0, aunque si se
|
2654
|
+
libera la versión 1.8.8 de Ruby las cosas podrían llegar a cambiar. Sin
|
2655
|
+
embargo, que eso ocurra es muy poco probable, e incluso el caso de que lo
|
2656
|
+
haga, puede que se siga dando soporte a 1.8.7. <b>Hemos dejado de soportar
|
2657
|
+
Ruby 1.8.6.</b> Si querés ejecutar Sinatra sobre 1.8.6, podés utilizar la
|
2658
|
+
versión 1.2, pero ten en cuenta que una vez que Sinatra 1.4.0 sea liberado,
|
2659
|
+
ya no se corregirán errores por más que se reciban reportes de los mismos.
|
2660
|
+
</dd>
|
2661
|
+
|
2662
|
+
<dt>Ruby 1.9.2</dt>
|
2663
|
+
<dd>
|
2664
|
+
1.9.2 es soportado y recomendado. No uses 1.9.2p0, porque se producen fallos
|
2665
|
+
de segmentación cuando se ejecuta Sinatra. El soporte se mantendrá al menos
|
2666
|
+
hasta que se libere la versión 1.9.4/2.0 de Ruby. El soporte para la última
|
2667
|
+
versión de la serie 1.9 se mantendrá mientras lo haga el equipo principal de Ruby.
|
2668
|
+
</dd>
|
2669
|
+
|
2670
|
+
<dt>Ruby 1.9.3</dt>
|
2671
|
+
<dd>
|
2672
|
+
1.9.3 es soportado y recomendado. Ten en cuenta que el cambio a 1.9.3 desde
|
2673
|
+
una versión anterior va a invalidar todas las sesiones.
|
2674
|
+
</dd>
|
2675
|
+
|
2676
|
+
<dt>Rubinius</dt>
|
2677
|
+
<dd>
|
2678
|
+
Rubinius es soportado oficialmente (Rubinius >= 1.2.4). Todo funciona
|
2679
|
+
correctamente, incluyendo los lenguajes de plantillas. La próxima versión,
|
2680
|
+
2.0, también es soportada, incluyendo el modo 1.9.
|
2681
|
+
</dd>
|
2682
|
+
|
2683
|
+
<dt>JRuby</dt>
|
2684
|
+
<dd>
|
2685
|
+
JRuby es soportado oficialmente (JRuby >= 1.6.7). No se conocen problemas
|
2686
|
+
con librerías de plantillas de terceras partes. Sin embargo, si elegís usar
|
2687
|
+
JRuby, deberías examinar sus Rack handlers porque el servidor web Thin no es
|
2688
|
+
soportado completamente. El soporte de JRuby para extensiones C se encuentra
|
2689
|
+
en una etapa experimental, sin embargo, de momento, solamente RDiscount,
|
2690
|
+
Redcarpet, RedCloth y Yajl, así como Thin y Mongrel se ven afectadas.
|
2691
|
+
</dd>
|
2692
|
+
</dl>
|
2693
|
+
|
2694
|
+
Siempre le prestamos atención a las nuevas versiones de Ruby.
|
2695
|
+
|
2696
|
+
Las siguientes implementaciones de Ruby no se encuentran soportadas
|
2697
|
+
oficialmente. De cualquier manera, pueden ejecutar Sinatra:
|
2698
|
+
|
2699
|
+
* Versiones anteriores de JRuby y Rubinius
|
2700
|
+
* Ruby Enterprise Edition
|
2701
|
+
* MacRuby, Maglev e IronRuby
|
2702
|
+
* Ruby 1.9.0 y 1.9.1 (pero no te recomendamos que los uses)
|
2703
|
+
|
2704
|
+
No ser soportada oficialmente, significa que si las cosas se rompen
|
2705
|
+
ahí y no en una plataforma soportada, asumimos que no es nuestro problema sino
|
2706
|
+
el suyo.
|
2707
|
+
|
2708
|
+
Nuestro servidor CI también se ejecuta sobre ruby-head (que será la próxima
|
2709
|
+
versión 2.1.0) y la rama 1.9.4. Como están en movimiento constante, no podemos
|
2710
|
+
garantizar nada. De todas formas, podés contar con que tanto 1.9.4-p0 como
|
2711
|
+
2.1.0-p0 sea soportadas.
|
2712
|
+
|
2713
|
+
Sinatra debería funcionar en cualquier sistema operativo soportado por la
|
2714
|
+
implementación de Ruby elegida.
|
2715
|
+
|
2716
|
+
En este momento, no vas a poder ejecutar Sinatra en Cardinal, SmallRuby,
|
2717
|
+
BlueRuby o cualquier versión de Ruby anterior a 1.8.7.
|
2718
|
+
|
2719
|
+
## A la Vanguardia
|
2720
|
+
|
2721
|
+
Si querés usar el código de Sinatra más reciente, sentite libre de ejecutar
|
2722
|
+
tu aplicación sobre la rama master, en general es bastante estable.
|
2723
|
+
|
2724
|
+
También liberamos prereleases de vez en cuando, así, podés hacer:
|
2725
|
+
|
2726
|
+
```shell
|
2727
|
+
gem install sinatra --pre
|
2728
|
+
```
|
2729
|
+
|
2730
|
+
Para obtener algunas de las últimas características.
|
2731
|
+
|
2732
|
+
### Con Bundler
|
2733
|
+
|
2734
|
+
Esta es la manera recomendada para ejecutar tu aplicación sobre la última
|
2735
|
+
versión de Sinatra usando [Bundler](http://bundler.io).
|
2736
|
+
|
2737
|
+
Primero, instalá Bundler si no lo hiciste todavía:
|
2738
|
+
|
2739
|
+
```shell
|
2740
|
+
gem install bundler
|
2741
|
+
```
|
2742
|
+
|
2743
|
+
Después, en el directorio de tu proyecto, creá un archivo `Gemfile`:
|
2744
|
+
|
2745
|
+
```ruby
|
2746
|
+
source :rubygems
|
2747
|
+
gem 'sinatra', :git => "git://github.com/sinatra/sinatra.git"
|
2748
|
+
|
2749
|
+
# otras dependencias
|
2750
|
+
gem 'haml' # por ejemplo, si usás haml
|
2751
|
+
gem 'activerecord', '~> 3.0' # quizás también necesités ActiveRecord 3.x
|
2752
|
+
```
|
2753
|
+
|
2754
|
+
Tené en cuenta que tenés que listar todas las dependencias directas de tu
|
2755
|
+
aplicación. No es necesario listar las dependencias de Sinatra (Rack y Tilt)
|
2756
|
+
porque Bundler las agrega directamente.
|
2757
|
+
|
2758
|
+
Ahora podés arrancar tu aplicación así:
|
2759
|
+
|
2760
|
+
```shell
|
2761
|
+
bundle exec ruby miapp.rb
|
2762
|
+
```
|
2763
|
+
|
2764
|
+
### Con Git
|
2765
|
+
|
2766
|
+
Cloná el repositorio localmente y ejecutá tu aplicación, asegurándote que el
|
2767
|
+
directorio `sinatra/lib` esté en el `$LOAD_PATH`:
|
2768
|
+
|
2769
|
+
```shell
|
2770
|
+
cd miapp
|
2771
|
+
git clone git://github.com/sinatra/sinatra.git
|
2772
|
+
ruby -Isinatra/lib miapp.rb
|
2773
|
+
```
|
2774
|
+
|
2775
|
+
Para actualizar el código fuente de Sinatra en el futuro:
|
2776
|
+
|
2777
|
+
```shell
|
2778
|
+
cd miapp/sinatra
|
2779
|
+
git pull
|
2780
|
+
```
|
2781
|
+
|
2782
|
+
### Instalación Global
|
2783
|
+
|
2784
|
+
Podés construir la gem vos mismo:
|
2785
|
+
|
2786
|
+
```shell
|
2787
|
+
git clone git://github.com/sinatra/sinatra.git
|
2788
|
+
cd sinatra
|
2789
|
+
rake sinatra.gemspec
|
2790
|
+
rake install
|
2791
|
+
```
|
2792
|
+
|
2793
|
+
Si instalás tus gems como root, el último paso debería ser
|
2794
|
+
|
2795
|
+
```shell
|
2796
|
+
sudo rake install
|
2797
|
+
```
|
2798
|
+
|
2799
|
+
## Versionado
|
2800
|
+
|
2801
|
+
Sinatra utiliza el [Versionado Semántico](http://semver.org/),
|
2802
|
+
siguiendo las especificaciones SemVer y SemVerTag.
|
2803
|
+
|
2804
|
+
## Lecturas Recomendadas
|
2805
|
+
|
2806
|
+
* [Sito web del proyecto](http://www.sinatrarb.com/) - Documentación
|
2807
|
+
adicional, noticias, y enlaces a otros recursos.
|
2808
|
+
* [Contribuyendo](http://www.sinatrarb.com/contributing) - ¿Encontraste un
|
2809
|
+
error?. ¿Necesitás ayuda?. ¿Tenés un parche?.
|
2810
|
+
* [Seguimiento de problemas](https://github.com/sinatra/sinatra/issues)
|
2811
|
+
* [Twitter](https://twitter.com/sinatra)
|
2812
|
+
* [Lista de Correo](http://groups.google.com/group/sinatrarb/topics)
|
2813
|
+
* [IRC: #sinatra](irc://chat.freenode.net/#sinatra) en http://freenode.net
|
2814
|
+
* [Sinatra Book](https://github.com/sinatra/sinatra-book/) Tutorial (en inglés).
|
2815
|
+
* [Sinatra Recipes](http://recipes.sinatrarb.com/) Recetas contribuidas
|
2816
|
+
por la comunidad (en inglés).
|
2817
|
+
* Documentación de la API para la
|
2818
|
+
[última versión liberada](http://www.rubydoc.info/gems/sinatra) o para la
|
2819
|
+
[rama de desarrollo actual](http://www.rubydoc.info/github/sinatra/sinatra)
|
2820
|
+
en http://www.rubydoc.info/
|
2821
|
+
* [Servidor de CI](https://travis-ci.org/sinatra/sinatra)
|