logstash-input-salesforce 2.0.4 → 3.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -1
- data/LICENSE +1 -1
- data/README.md +11 -1
- data/lib/logstash/inputs/salesforce.rb +3 -3
- data/logstash-input-salesforce.gemspec +5 -4
- data/vendor/jruby/1.9/bin/coderay +23 -0
- data/vendor/jruby/1.9/bin/htmldiff +25 -0
- data/vendor/jruby/1.9/bin/kramdown +23 -0
- data/vendor/jruby/1.9/bin/ldiff +25 -0
- data/vendor/jruby/1.9/bin/lock_jars +23 -0
- data/vendor/jruby/1.9/bin/minitar +23 -0
- data/vendor/jruby/1.9/bin/pry +23 -0
- data/vendor/jruby/1.9/bin/puma +23 -0
- data/vendor/jruby/1.9/bin/pumactl +23 -0
- data/vendor/jruby/1.9/bin/rackup +23 -0
- data/vendor/jruby/1.9/bin/rake +23 -0
- data/vendor/jruby/1.9/bin/rmvn +23 -0
- data/vendor/jruby/1.9/bin/rspec +23 -0
- data/vendor/jruby/1.9/bin/safe_yaml +23 -0
- data/vendor/jruby/1.9/bin/tilt +23 -0
- data/vendor/jruby/1.9/bin/tt +23 -0
- data/vendor/jruby/1.9/cache/addressable-2.4.0.gem +0 -0
- data/vendor/jruby/1.9/cache/chronic_duration-0.10.6.gem +0 -0
- data/vendor/jruby/1.9/cache/clamp-0.6.5.gem +0 -0
- data/vendor/jruby/1.9/cache/coderay-1.1.1.gem +0 -0
- data/vendor/jruby/1.9/cache/concurrent-ruby-1.0.0-java.gem +0 -0
- data/vendor/jruby/1.9/cache/crack-0.4.3.gem +0 -0
- data/vendor/jruby/1.9/cache/diff-lcs-1.3.gem +0 -0
- data/vendor/jruby/1.9/cache/faraday-0.9.2.gem +0 -0
- data/vendor/jruby/1.9/cache/faraday_middleware-0.11.0.1.gem +0 -0
- data/vendor/jruby/1.9/cache/ffi-1.9.17-java.gem +0 -0
- data/vendor/jruby/1.9/cache/filesize-0.0.4.gem +0 -0
- data/vendor/jruby/1.9/cache/fivemat-1.3.2.gem +0 -0
- data/vendor/jruby/1.9/cache/gem_publisher-1.5.0.gem +0 -0
- data/vendor/jruby/1.9/cache/gems-0.8.3.gem +0 -0
- data/vendor/jruby/1.9/cache/hashdiff-0.3.2.gem +0 -0
- data/vendor/jruby/1.9/cache/hashie-3.4.6.gem +0 -0
- data/vendor/jruby/1.9/cache/i18n-0.6.9.gem +0 -0
- data/vendor/jruby/1.9/cache/insist-1.0.0.gem +0 -0
- data/vendor/jruby/1.9/cache/jar-dependencies-0.3.9.gem +0 -0
- data/vendor/jruby/1.9/cache/jrjackson-0.4.2-java.gem +0 -0
- data/vendor/jruby/1.9/cache/jrmonitor-0.4.2.gem +0 -0
- data/vendor/jruby/1.9/cache/json-2.0.3-java.gem +0 -0
- data/vendor/jruby/1.9/cache/kramdown-1.13.2.gem +0 -0
- data/vendor/jruby/1.9/cache/logstash-codec-plain-3.0.2.gem +0 -0
- data/vendor/jruby/1.9/cache/logstash-core-5.1.1.1-java.gem +0 -0
- data/vendor/jruby/1.9/cache/logstash-core-event-java-5.1.1.1-java.gem +0 -0
- data/vendor/jruby/1.9/cache/logstash-core-plugin-api-2.1.22-java.gem +0 -0
- data/vendor/jruby/1.9/cache/logstash-core-queue-jruby-5.1.1.1-java.gem +0 -0
- data/vendor/jruby/1.9/cache/logstash-devutils-1.2.1-java.gem +0 -0
- data/vendor/jruby/1.9/cache/method_source-0.8.2.gem +0 -0
- data/vendor/jruby/1.9/cache/minitar-0.5.4.gem +0 -0
- data/vendor/jruby/1.9/cache/multipart-post-2.0.0.gem +0 -0
- data/vendor/jruby/1.9/cache/numerizer-0.1.1.gem +0 -0
- data/vendor/jruby/1.9/cache/polyglot-0.3.5.gem +0 -0
- data/vendor/jruby/1.9/cache/pry-0.10.4-java.gem +0 -0
- data/vendor/jruby/1.9/cache/public_suffix-1.4.6.gem +0 -0
- data/vendor/jruby/1.9/cache/puma-2.16.0-java.gem +0 -0
- data/vendor/jruby/1.9/cache/rack-1.6.5.gem +0 -0
- data/vendor/jruby/1.9/cache/rack-protection-1.5.3.gem +0 -0
- data/vendor/jruby/1.9/cache/rake-12.0.0.gem +0 -0
- data/vendor/jruby/1.9/cache/restforce-2.4.2.gem +0 -0
- data/vendor/jruby/1.9/cache/rspec-3.5.0.gem +0 -0
- data/vendor/jruby/1.9/cache/rspec-core-3.5.4.gem +0 -0
- data/vendor/jruby/1.9/cache/rspec-expectations-3.5.0.gem +0 -0
- data/vendor/jruby/1.9/cache/rspec-mocks-3.5.0.gem +0 -0
- data/vendor/jruby/1.9/cache/rspec-support-3.5.0.gem +0 -0
- data/vendor/jruby/1.9/cache/rspec-wait-0.0.9.gem +0 -0
- data/vendor/jruby/1.9/cache/ruby-maven-3.3.12.gem +0 -0
- data/vendor/jruby/1.9/cache/ruby-maven-libs-3.3.9.gem +0 -0
- data/vendor/jruby/1.9/cache/rubyzip-1.1.7.gem +0 -0
- data/vendor/jruby/1.9/cache/safe_yaml-1.0.4.gem +0 -0
- data/vendor/jruby/1.9/cache/sinatra-1.4.7.gem +0 -0
- data/vendor/jruby/1.9/cache/slop-3.6.0.gem +0 -0
- data/vendor/jruby/1.9/cache/spoon-0.0.6.gem +0 -0
- data/vendor/jruby/1.9/cache/stud-0.0.22.gem +0 -0
- data/vendor/jruby/1.9/cache/thread_safe-0.3.5-java.gem +0 -0
- data/vendor/jruby/1.9/cache/tilt-2.0.5.gem +0 -0
- data/vendor/jruby/1.9/cache/treetop-1.4.15.gem +0 -0
- data/vendor/jruby/1.9/cache/vcr-3.0.3.gem +0 -0
- data/vendor/jruby/1.9/cache/webmock-2.3.2.gem +0 -0
- data/vendor/jruby/1.9/gems/addressable-2.4.0/CHANGELOG.md +192 -0
- data/vendor/jruby/1.9/gems/addressable-2.4.0/Gemfile +27 -0
- data/vendor/jruby/1.9/gems/addressable-2.4.0/LICENSE.txt +202 -0
- data/vendor/jruby/1.9/gems/addressable-2.4.0/README.md +105 -0
- data/vendor/jruby/1.9/gems/addressable-2.4.0/Rakefile +32 -0
- data/vendor/jruby/1.9/gems/addressable-2.4.0/addressable.gemspec +34 -0
- data/vendor/jruby/1.9/gems/addressable-2.4.0/data/unicode.data +0 -0
- data/vendor/jruby/1.9/gems/addressable-2.4.0/lib/addressable.rb +2 -0
- data/vendor/jruby/1.9/gems/addressable-2.4.0/lib/addressable/idna.rb +25 -0
- data/vendor/jruby/1.9/gems/addressable-2.4.0/lib/addressable/idna/native.rb +55 -0
- data/vendor/jruby/1.9/gems/addressable-2.4.0/lib/addressable/idna/pure.rb +672 -0
- data/vendor/jruby/1.9/gems/addressable-2.4.0/lib/addressable/template.rb +1051 -0
- data/vendor/jruby/1.9/gems/addressable-2.4.0/lib/addressable/uri.rb +2424 -0
- data/vendor/jruby/1.9/gems/addressable-2.4.0/lib/addressable/version.rb +30 -0
- data/vendor/jruby/1.9/gems/addressable-2.4.0/spec/addressable/idna_spec.rb +270 -0
- data/vendor/jruby/1.9/gems/addressable-2.4.0/spec/addressable/net_http_compat_spec.rb +28 -0
- data/vendor/jruby/1.9/gems/addressable-2.4.0/spec/addressable/rack_mount_compat_spec.rb +104 -0
- data/vendor/jruby/1.9/gems/addressable-2.4.0/spec/addressable/security_spec.rb +57 -0
- data/vendor/jruby/1.9/gems/addressable-2.4.0/spec/addressable/template_spec.rb +1386 -0
- data/vendor/jruby/1.9/gems/addressable-2.4.0/spec/addressable/uri_spec.rb +6205 -0
- data/vendor/jruby/1.9/gems/addressable-2.4.0/spec/spec_helper.rb +21 -0
- data/vendor/jruby/1.9/gems/addressable-2.4.0/tasks/clobber.rake +2 -0
- data/vendor/jruby/1.9/gems/addressable-2.4.0/tasks/gem.rake +97 -0
- data/vendor/jruby/1.9/gems/addressable-2.4.0/tasks/git.rake +45 -0
- data/vendor/jruby/1.9/gems/addressable-2.4.0/tasks/metrics.rake +22 -0
- data/vendor/jruby/1.9/gems/addressable-2.4.0/tasks/rspec.rake +21 -0
- data/vendor/jruby/1.9/gems/addressable-2.4.0/tasks/yard.rake +27 -0
- data/vendor/jruby/1.9/gems/chronic_duration-0.10.6/Gemfile +2 -0
- data/vendor/jruby/1.9/gems/chronic_duration-0.10.6/LICENSE.txt +22 -0
- data/vendor/jruby/1.9/gems/chronic_duration-0.10.6/README.md +80 -0
- data/vendor/jruby/1.9/gems/chronic_duration-0.10.6/Rakefile +6 -0
- data/vendor/jruby/1.9/gems/chronic_duration-0.10.6/chronic_duration.gemspec +28 -0
- data/vendor/jruby/1.9/gems/chronic_duration-0.10.6/lib/chronic_duration.rb +289 -0
- data/vendor/jruby/1.9/gems/chronic_duration-0.10.6/lib/chronic_duration/version.rb +3 -0
- data/vendor/jruby/1.9/gems/chronic_duration-0.10.6/spec/lib/chronic_duration_spec.rb +284 -0
- data/vendor/jruby/1.9/gems/chronic_duration-0.10.6/spec/spec_helper.rb +8 -0
- data/vendor/jruby/1.9/gems/clamp-0.6.5/CHANGES.md +33 -0
- data/vendor/jruby/1.9/gems/clamp-0.6.5/Gemfile +9 -0
- data/vendor/jruby/1.9/gems/clamp-0.6.5/LICENSE +20 -0
- data/vendor/jruby/1.9/gems/clamp-0.6.5/README.md +403 -0
- data/vendor/jruby/1.9/gems/clamp-0.6.5/Rakefile +12 -0
- data/vendor/jruby/1.9/gems/clamp-0.6.5/clamp.gemspec +26 -0
- data/vendor/jruby/1.9/gems/clamp-0.6.5/examples/admin +20 -0
- data/vendor/jruby/1.9/gems/clamp-0.6.5/examples/flipflop +29 -0
- data/vendor/jruby/1.9/gems/clamp-0.6.5/examples/fubar +21 -0
- data/vendor/jruby/1.9/gems/clamp-0.6.5/examples/gitdown +70 -0
- data/vendor/jruby/1.9/gems/clamp-0.6.5/examples/scoop +17 -0
- data/vendor/jruby/1.9/gems/clamp-0.6.5/examples/speak +31 -0
- data/vendor/jruby/1.9/gems/clamp-0.6.5/lib/clamp.rb +7 -0
- data/vendor/jruby/1.9/gems/clamp-0.6.5/lib/clamp/attribute/declaration.rb +54 -0
- data/vendor/jruby/1.9/gems/clamp-0.6.5/lib/clamp/attribute/definition.rb +90 -0
- data/vendor/jruby/1.9/gems/clamp-0.6.5/lib/clamp/attribute/instance.rb +79 -0
- data/vendor/jruby/1.9/gems/clamp-0.6.5/lib/clamp/command.rb +152 -0
- data/vendor/jruby/1.9/gems/clamp-0.6.5/lib/clamp/errors.rb +41 -0
- data/vendor/jruby/1.9/gems/clamp-0.6.5/lib/clamp/help.rb +100 -0
- data/vendor/jruby/1.9/gems/clamp-0.6.5/lib/clamp/option/declaration.rb +59 -0
- data/vendor/jruby/1.9/gems/clamp-0.6.5/lib/clamp/option/definition.rb +94 -0
- data/vendor/jruby/1.9/gems/clamp-0.6.5/lib/clamp/option/parsing.rb +68 -0
- data/vendor/jruby/1.9/gems/clamp-0.6.5/lib/clamp/parameter/declaration.rb +29 -0
- data/vendor/jruby/1.9/gems/clamp-0.6.5/lib/clamp/parameter/definition.rb +48 -0
- data/vendor/jruby/1.9/gems/clamp-0.6.5/lib/clamp/parameter/parsing.rb +29 -0
- data/vendor/jruby/1.9/gems/clamp-0.6.5/lib/clamp/subcommand/declaration.rb +77 -0
- data/vendor/jruby/1.9/gems/clamp-0.6.5/lib/clamp/subcommand/definition.rb +25 -0
- data/vendor/jruby/1.9/gems/clamp-0.6.5/lib/clamp/subcommand/execution.rb +35 -0
- data/vendor/jruby/1.9/gems/clamp-0.6.5/lib/clamp/subcommand/parsing.rb +24 -0
- data/vendor/jruby/1.9/gems/clamp-0.6.5/lib/clamp/truthy.rb +9 -0
- data/vendor/jruby/1.9/gems/clamp-0.6.5/lib/clamp/version.rb +3 -0
- data/vendor/jruby/1.9/gems/clamp-0.6.5/spec/clamp/command_group_spec.rb +327 -0
- data/vendor/jruby/1.9/gems/clamp-0.6.5/spec/clamp/command_spec.rb +983 -0
- data/vendor/jruby/1.9/gems/clamp-0.6.5/spec/clamp/option/definition_spec.rb +260 -0
- data/vendor/jruby/1.9/gems/clamp-0.6.5/spec/clamp/option_module_spec.rb +37 -0
- data/vendor/jruby/1.9/gems/clamp-0.6.5/spec/clamp/parameter/definition_spec.rb +242 -0
- data/vendor/jruby/1.9/gems/clamp-0.6.5/spec/spec_helper.rb +60 -0
- data/vendor/jruby/1.9/gems/coderay-1.1.1/README_INDEX.rdoc +123 -0
- data/vendor/jruby/1.9/gems/coderay-1.1.1/Rakefile +37 -0
- data/vendor/jruby/1.9/gems/coderay-1.1.1/bin/coderay +215 -0
- data/vendor/jruby/1.9/gems/coderay-1.1.1/lib/coderay.rb +284 -0
- data/vendor/jruby/1.9/gems/coderay-1.1.1/lib/coderay/duo.rb +81 -0
- data/vendor/jruby/1.9/gems/coderay-1.1.1/lib/coderay/encoders.rb +18 -0
- data/vendor/jruby/1.9/gems/coderay-1.1.1/lib/coderay/encoders/_map.rb +17 -0
- data/vendor/jruby/1.9/gems/coderay-1.1.1/lib/coderay/encoders/comment_filter.rb +25 -0
- data/vendor/jruby/1.9/gems/coderay-1.1.1/lib/coderay/encoders/count.rb +39 -0
- data/vendor/jruby/1.9/gems/coderay-1.1.1/lib/coderay/encoders/debug.rb +49 -0
- data/vendor/jruby/1.9/gems/coderay-1.1.1/lib/coderay/encoders/debug_lint.rb +63 -0
- data/vendor/jruby/1.9/gems/coderay-1.1.1/lib/coderay/encoders/div.rb +23 -0
- data/vendor/jruby/1.9/gems/coderay-1.1.1/lib/coderay/encoders/encoder.rb +190 -0
- data/vendor/jruby/1.9/gems/coderay-1.1.1/lib/coderay/encoders/filter.rb +58 -0
- data/vendor/jruby/1.9/gems/coderay-1.1.1/lib/coderay/encoders/html.rb +333 -0
- data/vendor/jruby/1.9/gems/coderay-1.1.1/lib/coderay/encoders/html/css.rb +65 -0
- data/vendor/jruby/1.9/gems/coderay-1.1.1/lib/coderay/encoders/html/numbering.rb +108 -0
- data/vendor/jruby/1.9/gems/coderay-1.1.1/lib/coderay/encoders/html/output.rb +166 -0
- data/vendor/jruby/1.9/gems/coderay-1.1.1/lib/coderay/encoders/json.rb +83 -0
- data/vendor/jruby/1.9/gems/coderay-1.1.1/lib/coderay/encoders/lines_of_code.rb +45 -0
- data/vendor/jruby/1.9/gems/coderay-1.1.1/lib/coderay/encoders/lint.rb +59 -0
- data/vendor/jruby/1.9/gems/coderay-1.1.1/lib/coderay/encoders/null.rb +18 -0
- data/vendor/jruby/1.9/gems/coderay-1.1.1/lib/coderay/encoders/page.rb +24 -0
- data/vendor/jruby/1.9/gems/coderay-1.1.1/lib/coderay/encoders/span.rb +23 -0
- data/vendor/jruby/1.9/gems/coderay-1.1.1/lib/coderay/encoders/statistic.rb +95 -0
- data/vendor/jruby/1.9/gems/coderay-1.1.1/lib/coderay/encoders/terminal.rb +195 -0
- data/vendor/jruby/1.9/gems/coderay-1.1.1/lib/coderay/encoders/text.rb +46 -0
- data/vendor/jruby/1.9/gems/coderay-1.1.1/lib/coderay/encoders/token_kind_filter.rb +111 -0
- data/vendor/jruby/1.9/gems/coderay-1.1.1/lib/coderay/encoders/xml.rb +72 -0
- data/vendor/jruby/1.9/gems/coderay-1.1.1/lib/coderay/encoders/yaml.rb +50 -0
- data/vendor/jruby/1.9/gems/coderay-1.1.1/lib/coderay/for_redcloth.rb +95 -0
- data/vendor/jruby/1.9/gems/coderay-1.1.1/lib/coderay/helpers/file_type.rb +151 -0
- data/vendor/jruby/1.9/gems/coderay-1.1.1/lib/coderay/helpers/plugin.rb +55 -0
- data/vendor/jruby/1.9/gems/coderay-1.1.1/lib/coderay/helpers/plugin_host.rb +221 -0
- data/vendor/jruby/1.9/gems/coderay-1.1.1/lib/coderay/helpers/word_list.rb +72 -0
- data/vendor/jruby/1.9/gems/coderay-1.1.1/lib/coderay/scanners.rb +27 -0
- data/vendor/jruby/1.9/gems/coderay-1.1.1/lib/coderay/scanners/_map.rb +24 -0
- data/vendor/jruby/1.9/gems/coderay-1.1.1/lib/coderay/scanners/c.rb +189 -0
- data/vendor/jruby/1.9/gems/coderay-1.1.1/lib/coderay/scanners/clojure.rb +217 -0
- data/vendor/jruby/1.9/gems/coderay-1.1.1/lib/coderay/scanners/cpp.rb +215 -0
- data/vendor/jruby/1.9/gems/coderay-1.1.1/lib/coderay/scanners/css.rb +196 -0
- data/vendor/jruby/1.9/gems/coderay-1.1.1/lib/coderay/scanners/debug.rb +75 -0
- data/vendor/jruby/1.9/gems/coderay-1.1.1/lib/coderay/scanners/delphi.rb +144 -0
- data/vendor/jruby/1.9/gems/coderay-1.1.1/lib/coderay/scanners/diff.rb +221 -0
- data/vendor/jruby/1.9/gems/coderay-1.1.1/lib/coderay/scanners/erb.rb +81 -0
- data/vendor/jruby/1.9/gems/coderay-1.1.1/lib/coderay/scanners/go.rb +208 -0
- data/vendor/jruby/1.9/gems/coderay-1.1.1/lib/coderay/scanners/groovy.rb +268 -0
- data/vendor/jruby/1.9/gems/coderay-1.1.1/lib/coderay/scanners/haml.rb +168 -0
- data/vendor/jruby/1.9/gems/coderay-1.1.1/lib/coderay/scanners/html.rb +275 -0
- data/vendor/jruby/1.9/gems/coderay-1.1.1/lib/coderay/scanners/java.rb +174 -0
- data/vendor/jruby/1.9/gems/coderay-1.1.1/lib/coderay/scanners/java/builtin_types.rb +421 -0
- data/vendor/jruby/1.9/gems/coderay-1.1.1/lib/coderay/scanners/java_script.rb +237 -0
- data/vendor/jruby/1.9/gems/coderay-1.1.1/lib/coderay/scanners/json.rb +98 -0
- data/vendor/jruby/1.9/gems/coderay-1.1.1/lib/coderay/scanners/lua.rb +280 -0
- data/vendor/jruby/1.9/gems/coderay-1.1.1/lib/coderay/scanners/php.rb +527 -0
- data/vendor/jruby/1.9/gems/coderay-1.1.1/lib/coderay/scanners/python.rb +287 -0
- data/vendor/jruby/1.9/gems/coderay-1.1.1/lib/coderay/scanners/raydebug.rb +75 -0
- data/vendor/jruby/1.9/gems/coderay-1.1.1/lib/coderay/scanners/ruby.rb +477 -0
- data/vendor/jruby/1.9/gems/coderay-1.1.1/lib/coderay/scanners/ruby/patterns.rb +178 -0
- data/vendor/jruby/1.9/gems/coderay-1.1.1/lib/coderay/scanners/ruby/string_state.rb +79 -0
- data/vendor/jruby/1.9/gems/coderay-1.1.1/lib/coderay/scanners/sass.rb +232 -0
- data/vendor/jruby/1.9/gems/coderay-1.1.1/lib/coderay/scanners/scanner.rb +337 -0
- data/vendor/jruby/1.9/gems/coderay-1.1.1/lib/coderay/scanners/sql.rb +169 -0
- data/vendor/jruby/1.9/gems/coderay-1.1.1/lib/coderay/scanners/taskpaper.rb +36 -0
- data/vendor/jruby/1.9/gems/coderay-1.1.1/lib/coderay/scanners/text.rb +26 -0
- data/vendor/jruby/1.9/gems/coderay-1.1.1/lib/coderay/scanners/xml.rb +17 -0
- data/vendor/jruby/1.9/gems/coderay-1.1.1/lib/coderay/scanners/yaml.rb +140 -0
- data/vendor/jruby/1.9/gems/coderay-1.1.1/lib/coderay/styles.rb +15 -0
- data/vendor/jruby/1.9/gems/coderay-1.1.1/lib/coderay/styles/_map.rb +7 -0
- data/vendor/jruby/1.9/gems/coderay-1.1.1/lib/coderay/styles/alpha.rb +153 -0
- data/vendor/jruby/1.9/gems/coderay-1.1.1/lib/coderay/styles/style.rb +18 -0
- data/vendor/jruby/1.9/gems/coderay-1.1.1/lib/coderay/token_kinds.rb +85 -0
- data/vendor/jruby/1.9/gems/coderay-1.1.1/lib/coderay/tokens.rb +161 -0
- data/vendor/jruby/1.9/gems/coderay-1.1.1/lib/coderay/tokens_proxy.rb +55 -0
- data/vendor/jruby/1.9/gems/coderay-1.1.1/lib/coderay/version.rb +3 -0
- data/vendor/jruby/1.9/gems/coderay-1.1.1/test/functional/basic.rb +318 -0
- data/vendor/jruby/1.9/gems/coderay-1.1.1/test/functional/examples.rb +129 -0
- data/vendor/jruby/1.9/gems/coderay-1.1.1/test/functional/for_redcloth.rb +78 -0
- data/vendor/jruby/1.9/gems/coderay-1.1.1/test/functional/suite.rb +15 -0
- data/vendor/jruby/1.9/gems/concurrent-ruby-1.0.0-java/CHANGELOG.md +323 -0
- data/vendor/jruby/1.9/gems/concurrent-ruby-1.0.0-java/LICENSE.txt +21 -0
- data/vendor/jruby/1.9/gems/concurrent-ruby-1.0.0-java/README.md +261 -0
- data/vendor/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent.rb +130 -0
- data/vendor/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/agent.rb +587 -0
- data/vendor/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/array.rb +39 -0
- data/vendor/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/async.rb +445 -0
- data/vendor/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/atom.rb +221 -0
- data/vendor/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/atomic/abstract_thread_local_var.rb +38 -0
- data/vendor/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/atomic/atomic_boolean.rb +116 -0
- data/vendor/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/atomic/atomic_fixnum.rb +133 -0
- data/vendor/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/atomic/atomic_reference.rb +42 -0
- data/vendor/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/atomic/count_down_latch.rb +77 -0
- data/vendor/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/atomic/cyclic_barrier.rb +108 -0
- data/vendor/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/atomic/event.rb +89 -0
- data/vendor/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/atomic/java_count_down_latch.rb +39 -0
- data/vendor/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/atomic/java_thread_local_var.rb +50 -0
- data/vendor/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/atomic/mutex_atomic_boolean.rb +60 -0
- data/vendor/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/atomic/mutex_atomic_fixnum.rb +91 -0
- data/vendor/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/atomic/mutex_count_down_latch.rb +43 -0
- data/vendor/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/atomic/mutex_semaphore.rb +115 -0
- data/vendor/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/atomic/read_write_lock.rb +253 -0
- data/vendor/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/atomic/reentrant_read_write_lock.rb +377 -0
- data/vendor/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/atomic/ruby_thread_local_var.rb +172 -0
- data/vendor/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/atomic/semaphore.rb +113 -0
- data/vendor/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/atomic/thread_local_var.rb +102 -0
- data/vendor/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/atomic_reference/concurrent_update_error.rb +8 -0
- data/vendor/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/atomic_reference/direct_update.rb +81 -0
- data/vendor/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/atomic_reference/jruby+truffle.rb +1 -0
- data/vendor/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/atomic_reference/jruby.rb +16 -0
- data/vendor/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/atomic_reference/mutex_atomic.rb +61 -0
- data/vendor/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/atomic_reference/numeric_cas_wrapper.rb +28 -0
- data/vendor/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/atomic_reference/rbx.rb +22 -0
- data/vendor/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/atomic_reference/ruby.rb +32 -0
- data/vendor/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/atomics.rb +52 -0
- data/vendor/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/collection/copy_on_notify_observer_set.rb +107 -0
- data/vendor/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/collection/copy_on_write_observer_set.rb +111 -0
- data/vendor/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/collection/java_non_concurrent_priority_queue.rb +84 -0
- data/vendor/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/collection/map/atomic_reference_map_backend.rb +927 -0
- data/vendor/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/collection/map/mri_map_backend.rb +66 -0
- data/vendor/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/collection/map/non_concurrent_map_backend.rb +144 -0
- data/vendor/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/collection/map/synchronized_map_backend.rb +86 -0
- data/vendor/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/collection/non_concurrent_priority_queue.rb +143 -0
- data/vendor/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/collection/ruby_non_concurrent_priority_queue.rb +150 -0
- data/vendor/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/concern/deprecation.rb +34 -0
- data/vendor/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/concern/dereferenceable.rb +73 -0
- data/vendor/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/concern/logging.rb +27 -0
- data/vendor/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/concern/obligation.rb +219 -0
- data/vendor/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/concern/observable.rb +110 -0
- data/vendor/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/configuration.rb +153 -0
- data/vendor/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/constants.rb +8 -0
- data/vendor/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/dataflow.rb +78 -0
- data/vendor/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/delay.rb +196 -0
- data/vendor/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/edge.rb +30 -0
- data/vendor/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/errors.rb +46 -0
- data/vendor/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/exchanger.rb +356 -0
- data/vendor/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/executor/abstract_executor_service.rb +134 -0
- data/vendor/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/executor/cached_thread_pool.rb +62 -0
- data/vendor/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/executor/executor_service.rb +185 -0
- data/vendor/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/executor/fixed_thread_pool.rb +206 -0
- data/vendor/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/executor/immediate_executor.rb +66 -0
- data/vendor/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/executor/indirect_immediate_executor.rb +44 -0
- data/vendor/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/executor/java_executor_service.rb +100 -0
- data/vendor/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/executor/java_single_thread_executor.rb +29 -0
- data/vendor/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/executor/java_thread_pool_executor.rb +120 -0
- data/vendor/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/executor/ruby_executor_service.rb +78 -0
- data/vendor/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/executor/ruby_single_thread_executor.rb +22 -0
- data/vendor/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/executor/ruby_thread_pool_executor.rb +347 -0
- data/vendor/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/executor/safe_task_executor.rb +35 -0
- data/vendor/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/executor/serial_executor_service.rb +34 -0
- data/vendor/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/executor/serialized_execution.rb +107 -0
- data/vendor/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/executor/serialized_execution_delegator.rb +28 -0
- data/vendor/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/executor/simple_executor_service.rb +100 -0
- data/vendor/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/executor/single_thread_executor.rb +56 -0
- data/vendor/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/executor/thread_pool_executor.rb +81 -0
- data/vendor/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/executor/timer_set.rb +164 -0
- data/vendor/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/executors.rb +20 -0
- data/vendor/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/future.rb +138 -0
- data/vendor/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/hash.rb +35 -0
- data/vendor/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/immutable_struct.rb +93 -0
- data/vendor/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/ivar.rb +208 -0
- data/vendor/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/lazy_register.rb +81 -0
- data/vendor/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/map.rb +180 -0
- data/vendor/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/maybe.rb +229 -0
- data/vendor/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/mutable_struct.rb +228 -0
- data/vendor/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/mvar.rb +242 -0
- data/vendor/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/options.rb +44 -0
- data/vendor/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/promise.rb +542 -0
- data/vendor/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/scheduled_task.rb +318 -0
- data/vendor/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/settable_struct.rb +128 -0
- data/vendor/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/synchronization.rb +29 -0
- data/vendor/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/synchronization/abstract_lockable_object.rb +98 -0
- data/vendor/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/synchronization/abstract_object.rb +24 -0
- data/vendor/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/synchronization/abstract_struct.rb +157 -0
- data/vendor/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/synchronization/condition.rb +55 -0
- data/vendor/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/synchronization/jruby_lockable_object.rb +13 -0
- data/vendor/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/synchronization/jruby_object.rb +44 -0
- data/vendor/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/synchronization/lock.rb +33 -0
- data/vendor/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/synchronization/lockable_object.rb +72 -0
- data/vendor/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/synchronization/mri_lockable_object.rb +71 -0
- data/vendor/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/synchronization/mri_object.rb +43 -0
- data/vendor/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/synchronization/object.rb +150 -0
- data/vendor/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/synchronization/rbx_lockable_object.rb +65 -0
- data/vendor/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/synchronization/rbx_object.rb +45 -0
- data/vendor/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/synchronization/volatile.rb +34 -0
- data/vendor/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/thread_safe/synchronized_delegator.rb +50 -0
- data/vendor/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/thread_safe/util.rb +14 -0
- data/vendor/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/thread_safe/util/adder.rb +74 -0
- data/vendor/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/thread_safe/util/array_hash_rbx.rb +30 -0
- data/vendor/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/thread_safe/util/cheap_lockable.rb +118 -0
- data/vendor/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/thread_safe/util/power_of_two_tuple.rb +38 -0
- data/vendor/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/thread_safe/util/striped64.rb +241 -0
- data/vendor/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/thread_safe/util/volatile.rb +75 -0
- data/vendor/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/thread_safe/util/xor_shift_random.rb +50 -0
- data/vendor/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/timer_task.rb +329 -0
- data/vendor/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/tuple.rb +86 -0
- data/vendor/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/tvar.rb +258 -0
- data/vendor/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/utility/at_exit.rb +97 -0
- data/vendor/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/utility/engine.rb +48 -0
- data/vendor/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/utility/monotonic_time.rb +58 -0
- data/vendor/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/utility/native_extension_loader.rb +73 -0
- data/vendor/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/utility/processor_counter.rb +156 -0
- data/vendor/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent/version.rb +4 -0
- data/vendor/jruby/1.9/gems/concurrent-ruby-1.0.0-java/lib/concurrent_ruby_ext.jar +0 -0
- data/vendor/jruby/1.9/gems/crack-0.4.3/Gemfile +5 -0
- data/vendor/jruby/1.9/gems/crack-0.4.3/History +25 -0
- data/vendor/jruby/1.9/gems/crack-0.4.3/LICENSE +20 -0
- data/vendor/jruby/1.9/gems/crack-0.4.3/README.md +46 -0
- data/vendor/jruby/1.9/gems/crack-0.4.3/crack.gemspec +20 -0
- data/vendor/jruby/1.9/gems/crack-0.4.3/lib/crack.rb +7 -0
- data/vendor/jruby/1.9/gems/crack-0.4.3/lib/crack/json.rb +111 -0
- data/vendor/jruby/1.9/gems/crack-0.4.3/lib/crack/util.rb +17 -0
- data/vendor/jruby/1.9/gems/crack-0.4.3/lib/crack/version.rb +3 -0
- data/vendor/jruby/1.9/gems/crack-0.4.3/lib/crack/xml.rb +238 -0
- data/vendor/jruby/1.9/gems/crack-0.4.3/script/bootstrap +21 -0
- data/vendor/jruby/1.9/gems/crack-0.4.3/script/release +42 -0
- data/vendor/jruby/1.9/gems/crack-0.4.3/script/test +25 -0
- data/vendor/jruby/1.9/gems/crack-0.4.3/test/data/large_dataset.json +139988 -0
- data/vendor/jruby/1.9/gems/crack-0.4.3/test/data/twittersearch-firefox.json +1 -0
- data/vendor/jruby/1.9/gems/crack-0.4.3/test/data/twittersearch-ie.json +1 -0
- data/vendor/jruby/1.9/gems/crack-0.4.3/test/hash_test.rb +26 -0
- data/vendor/jruby/1.9/gems/crack-0.4.3/test/json_test.rb +91 -0
- data/vendor/jruby/1.9/gems/crack-0.4.3/test/parser_test.rb +27 -0
- data/vendor/jruby/1.9/gems/crack-0.4.3/test/string_test.rb +31 -0
- data/vendor/jruby/1.9/gems/crack-0.4.3/test/test_helper.rb +3 -0
- data/vendor/jruby/1.9/gems/crack-0.4.3/test/xml_test.rb +514 -0
- data/vendor/jruby/1.9/gems/diff-lcs-1.3/Code-of-Conduct.md +74 -0
- data/vendor/jruby/1.9/gems/diff-lcs-1.3/Contributing.md +83 -0
- data/vendor/jruby/1.9/gems/diff-lcs-1.3/History.md +220 -0
- data/vendor/jruby/1.9/gems/diff-lcs-1.3/License.md +39 -0
- data/vendor/jruby/1.9/gems/diff-lcs-1.3/Manifest.txt +37 -0
- data/vendor/jruby/1.9/gems/diff-lcs-1.3/README.rdoc +84 -0
- data/vendor/jruby/1.9/gems/diff-lcs-1.3/Rakefile +57 -0
- data/vendor/jruby/1.9/gems/diff-lcs-1.3/autotest/discover.rb +1 -0
- data/vendor/jruby/1.9/gems/diff-lcs-1.3/bin/htmldiff +32 -0
- data/vendor/jruby/1.9/gems/diff-lcs-1.3/bin/ldiff +6 -0
- data/vendor/jruby/1.9/gems/diff-lcs-1.3/docs/COPYING.txt +339 -0
- data/vendor/jruby/1.9/gems/diff-lcs-1.3/docs/artistic.txt +127 -0
- data/vendor/jruby/1.9/gems/diff-lcs-1.3/lib/diff-lcs.rb +3 -0
- data/vendor/jruby/1.9/gems/diff-lcs-1.3/lib/diff/lcs.rb +725 -0
- data/vendor/jruby/1.9/gems/diff-lcs-1.3/lib/diff/lcs/array.rb +7 -0
- data/vendor/jruby/1.9/gems/diff-lcs-1.3/lib/diff/lcs/block.rb +37 -0
- data/vendor/jruby/1.9/gems/diff-lcs-1.3/lib/diff/lcs/callbacks.rb +322 -0
- data/vendor/jruby/1.9/gems/diff-lcs-1.3/lib/diff/lcs/change.rb +181 -0
- data/vendor/jruby/1.9/gems/diff-lcs-1.3/lib/diff/lcs/htmldiff.rb +149 -0
- data/vendor/jruby/1.9/gems/diff-lcs-1.3/lib/diff/lcs/hunk.rb +276 -0
- data/vendor/jruby/1.9/gems/diff-lcs-1.3/lib/diff/lcs/internals.rb +307 -0
- data/vendor/jruby/1.9/gems/diff-lcs-1.3/lib/diff/lcs/ldiff.rb +167 -0
- data/vendor/jruby/1.9/gems/diff-lcs-1.3/lib/diff/lcs/string.rb +5 -0
- data/vendor/jruby/1.9/gems/diff-lcs-1.3/spec/change_spec.rb +65 -0
- data/vendor/jruby/1.9/gems/diff-lcs-1.3/spec/diff_spec.rb +47 -0
- data/vendor/jruby/1.9/gems/diff-lcs-1.3/spec/fixtures/ds1.csv +50 -0
- data/vendor/jruby/1.9/gems/diff-lcs-1.3/spec/fixtures/ds2.csv +51 -0
- data/vendor/jruby/1.9/gems/diff-lcs-1.3/spec/hunk_spec.rb +72 -0
- data/vendor/jruby/1.9/gems/diff-lcs-1.3/spec/issues_spec.rb +49 -0
- data/vendor/jruby/1.9/gems/diff-lcs-1.3/spec/lcs_spec.rb +56 -0
- data/vendor/jruby/1.9/gems/diff-lcs-1.3/spec/ldiff_spec.rb +47 -0
- data/vendor/jruby/1.9/gems/diff-lcs-1.3/spec/patch_spec.rb +422 -0
- data/vendor/jruby/1.9/gems/diff-lcs-1.3/spec/sdiff_spec.rb +214 -0
- data/vendor/jruby/1.9/gems/diff-lcs-1.3/spec/spec_helper.rb +321 -0
- data/vendor/jruby/1.9/gems/diff-lcs-1.3/spec/traverse_balanced_spec.rb +310 -0
- data/vendor/jruby/1.9/gems/diff-lcs-1.3/spec/traverse_sequences_spec.rb +139 -0
- data/vendor/jruby/1.9/gems/faraday-0.9.2/LICENSE.md +20 -0
- data/vendor/jruby/1.9/gems/faraday-0.9.2/README.md +245 -0
- data/vendor/jruby/1.9/gems/faraday-0.9.2/lib/faraday.rb +268 -0
- data/vendor/jruby/1.9/gems/faraday-0.9.2/lib/faraday/adapter.rb +46 -0
- data/vendor/jruby/1.9/gems/faraday-0.9.2/lib/faraday/adapter/em_http.rb +237 -0
- data/vendor/jruby/1.9/gems/faraday-0.9.2/lib/faraday/adapter/em_http_ssl_patch.rb +56 -0
- data/vendor/jruby/1.9/gems/faraday-0.9.2/lib/faraday/adapter/em_synchrony.rb +100 -0
- data/vendor/jruby/1.9/gems/faraday-0.9.2/lib/faraday/adapter/em_synchrony/parallel_manager.rb +66 -0
- data/vendor/jruby/1.9/gems/faraday-0.9.2/lib/faraday/adapter/excon.rb +81 -0
- data/vendor/jruby/1.9/gems/faraday-0.9.2/lib/faraday/adapter/httpclient.rb +117 -0
- data/vendor/jruby/1.9/gems/faraday-0.9.2/lib/faraday/adapter/net_http.rb +130 -0
- data/vendor/jruby/1.9/gems/faraday-0.9.2/lib/faraday/adapter/net_http_persistent.rb +49 -0
- data/vendor/jruby/1.9/gems/faraday-0.9.2/lib/faraday/adapter/patron.rb +78 -0
- data/vendor/jruby/1.9/gems/faraday-0.9.2/lib/faraday/adapter/rack.rb +58 -0
- data/vendor/jruby/1.9/gems/faraday-0.9.2/lib/faraday/adapter/test.rb +162 -0
- data/vendor/jruby/1.9/gems/faraday-0.9.2/lib/faraday/adapter/typhoeus.rb +123 -0
- data/vendor/jruby/1.9/gems/faraday-0.9.2/lib/faraday/autoload.rb +84 -0
- data/vendor/jruby/1.9/gems/faraday-0.9.2/lib/faraday/connection.rb +437 -0
- data/vendor/jruby/1.9/gems/faraday-0.9.2/lib/faraday/error.rb +53 -0
- data/vendor/jruby/1.9/gems/faraday-0.9.2/lib/faraday/middleware.rb +37 -0
- data/vendor/jruby/1.9/gems/faraday-0.9.2/lib/faraday/options.rb +359 -0
- data/vendor/jruby/1.9/gems/faraday-0.9.2/lib/faraday/parameters.rb +197 -0
- data/vendor/jruby/1.9/gems/faraday-0.9.2/lib/faraday/rack_builder.rb +213 -0
- data/vendor/jruby/1.9/gems/faraday-0.9.2/lib/faraday/request.rb +92 -0
- data/vendor/jruby/1.9/gems/faraday-0.9.2/lib/faraday/request/authorization.rb +42 -0
- data/vendor/jruby/1.9/gems/faraday-0.9.2/lib/faraday/request/basic_authentication.rb +13 -0
- data/vendor/jruby/1.9/gems/faraday-0.9.2/lib/faraday/request/instrumentation.rb +36 -0
- data/vendor/jruby/1.9/gems/faraday-0.9.2/lib/faraday/request/multipart.rb +63 -0
- data/vendor/jruby/1.9/gems/faraday-0.9.2/lib/faraday/request/retry.rb +154 -0
- data/vendor/jruby/1.9/gems/faraday-0.9.2/lib/faraday/request/token_authentication.rb +15 -0
- data/vendor/jruby/1.9/gems/faraday-0.9.2/lib/faraday/request/url_encoded.rb +36 -0
- data/vendor/jruby/1.9/gems/faraday-0.9.2/lib/faraday/response.rb +93 -0
- data/vendor/jruby/1.9/gems/faraday-0.9.2/lib/faraday/response/logger.rb +59 -0
- data/vendor/jruby/1.9/gems/faraday-0.9.2/lib/faraday/response/raise_error.rb +21 -0
- data/vendor/jruby/1.9/gems/faraday-0.9.2/lib/faraday/upload_io.rb +67 -0
- data/vendor/jruby/1.9/gems/faraday-0.9.2/lib/faraday/utils.rb +309 -0
- data/vendor/jruby/1.9/gems/faraday_middleware-0.11.0.1/LICENSE.md +20 -0
- data/vendor/jruby/1.9/gems/faraday_middleware-0.11.0.1/README.md +54 -0
- data/vendor/jruby/1.9/gems/faraday_middleware-0.11.0.1/lib/faraday_middleware.rb +48 -0
- data/vendor/jruby/1.9/gems/faraday_middleware-0.11.0.1/lib/faraday_middleware/addressable_patch.rb +20 -0
- data/vendor/jruby/1.9/gems/faraday_middleware-0.11.0.1/lib/faraday_middleware/backwards_compatibility.rb +15 -0
- data/vendor/jruby/1.9/gems/faraday_middleware-0.11.0.1/lib/faraday_middleware/gzip.rb +64 -0
- data/vendor/jruby/1.9/gems/faraday_middleware-0.11.0.1/lib/faraday_middleware/instrumentation.rb +30 -0
- data/vendor/jruby/1.9/gems/faraday_middleware-0.11.0.1/lib/faraday_middleware/rack_compatible.rb +86 -0
- data/vendor/jruby/1.9/gems/faraday_middleware-0.11.0.1/lib/faraday_middleware/request/encode_json.rb +53 -0
- data/vendor/jruby/1.9/gems/faraday_middleware-0.11.0.1/lib/faraday_middleware/request/method_override.rb +51 -0
- data/vendor/jruby/1.9/gems/faraday_middleware-0.11.0.1/lib/faraday_middleware/request/oauth.rb +87 -0
- data/vendor/jruby/1.9/gems/faraday_middleware-0.11.0.1/lib/faraday_middleware/request/oauth2.rb +85 -0
- data/vendor/jruby/1.9/gems/faraday_middleware-0.11.0.1/lib/faraday_middleware/response/caching.rb +102 -0
- data/vendor/jruby/1.9/gems/faraday_middleware-0.11.0.1/lib/faraday_middleware/response/chunked.rb +29 -0
- data/vendor/jruby/1.9/gems/faraday_middleware-0.11.0.1/lib/faraday_middleware/response/follow_redirects.rb +134 -0
- data/vendor/jruby/1.9/gems/faraday_middleware-0.11.0.1/lib/faraday_middleware/response/mashify.rb +37 -0
- data/vendor/jruby/1.9/gems/faraday_middleware-0.11.0.1/lib/faraday_middleware/response/parse_dates.rb +39 -0
- data/vendor/jruby/1.9/gems/faraday_middleware-0.11.0.1/lib/faraday_middleware/response/parse_json.rb +50 -0
- data/vendor/jruby/1.9/gems/faraday_middleware-0.11.0.1/lib/faraday_middleware/response/parse_marshal.rb +13 -0
- data/vendor/jruby/1.9/gems/faraday_middleware-0.11.0.1/lib/faraday_middleware/response/parse_xml.rb +15 -0
- data/vendor/jruby/1.9/gems/faraday_middleware-0.11.0.1/lib/faraday_middleware/response/parse_yaml.rb +32 -0
- data/vendor/jruby/1.9/gems/faraday_middleware-0.11.0.1/lib/faraday_middleware/response/rashify.rb +15 -0
- data/vendor/jruby/1.9/gems/faraday_middleware-0.11.0.1/lib/faraday_middleware/response_middleware.rb +112 -0
- data/vendor/jruby/1.9/gems/faraday_middleware-0.11.0.1/lib/faraday_middleware/version.rb +3 -0
- data/vendor/jruby/1.9/gems/ffi-1.9.17-java/COPYING +49 -0
- data/vendor/jruby/1.9/gems/ffi-1.9.17-java/LICENSE +24 -0
- data/vendor/jruby/1.9/gems/ffi-1.9.17-java/README.md +111 -0
- data/vendor/jruby/1.9/gems/ffi-1.9.17-java/Rakefile +232 -0
- data/vendor/jruby/1.9/gems/filesize-0.0.4/CHANGELOG +3 -0
- data/vendor/jruby/1.9/gems/filesize-0.0.4/README.markdown +52 -0
- data/vendor/jruby/1.9/gems/filesize-0.0.4/filesize.gemspec +19 -0
- data/vendor/jruby/1.9/gems/filesize-0.0.4/lib/filesize.rb +178 -0
- data/vendor/jruby/1.9/gems/fivemat-1.3.2/Gemfile +2 -0
- data/vendor/jruby/1.9/gems/fivemat-1.3.2/LICENSE +22 -0
- data/vendor/jruby/1.9/gems/fivemat-1.3.2/MIT-LICENSE +20 -0
- data/vendor/jruby/1.9/gems/fivemat-1.3.2/README.markdown +75 -0
- data/vendor/jruby/1.9/gems/fivemat-1.3.2/Rakefile +2 -0
- data/vendor/jruby/1.9/gems/fivemat-1.3.2/fivemat.gemspec +16 -0
- data/vendor/jruby/1.9/gems/fivemat-1.3.2/lib/fivemat.rb +44 -0
- data/vendor/jruby/1.9/gems/fivemat-1.3.2/lib/fivemat/cucumber.rb +39 -0
- data/vendor/jruby/1.9/gems/fivemat-1.3.2/lib/fivemat/elapsed_time.rb +9 -0
- data/vendor/jruby/1.9/gems/fivemat-1.3.2/lib/fivemat/minitest.rb +6 -0
- data/vendor/jruby/1.9/gems/fivemat-1.3.2/lib/fivemat/minitest/autorun.rb +2 -0
- data/vendor/jruby/1.9/gems/fivemat-1.3.2/lib/fivemat/minitest/unit.rb +31 -0
- data/vendor/jruby/1.9/gems/fivemat-1.3.2/lib/fivemat/rspec.rb +69 -0
- data/vendor/jruby/1.9/gems/fivemat-1.3.2/lib/fivemat/rspec3.rb +70 -0
- data/vendor/jruby/1.9/gems/fivemat-1.3.2/lib/fivemat/spec.rb +57 -0
- data/vendor/jruby/1.9/gems/fivemat-1.3.2/lib/minitest/fivemat_plugin.rb +30 -0
- data/vendor/jruby/1.9/gems/gem_publisher-1.5.0/lib/gem_publisher.rb +28 -0
- data/vendor/jruby/1.9/gems/gem_publisher-1.5.0/lib/gem_publisher/builder.rb +13 -0
- data/vendor/jruby/1.9/gems/gem_publisher-1.5.0/lib/gem_publisher/cli_facade.rb +17 -0
- data/vendor/jruby/1.9/gems/gem_publisher-1.5.0/lib/gem_publisher/git_remote.rb +26 -0
- data/vendor/jruby/1.9/gems/gem_publisher-1.5.0/lib/gem_publisher/publisher.rb +45 -0
- data/vendor/jruby/1.9/gems/gem_publisher-1.5.0/lib/gem_publisher/pusher.rb +26 -0
- data/vendor/jruby/1.9/gems/gem_publisher-1.5.0/lib/gem_publisher/version.rb +3 -0
- data/vendor/jruby/1.9/gems/gem_publisher-1.5.0/lib/rubygems_plugin.rb +48 -0
- data/vendor/jruby/1.9/gems/gem_publisher-1.5.0/test/builder_test.rb +16 -0
- data/vendor/jruby/1.9/gems/gem_publisher-1.5.0/test/cli_facade_test.rb +43 -0
- data/vendor/jruby/1.9/gems/gem_publisher-1.5.0/test/common.rb +15 -0
- data/vendor/jruby/1.9/gems/gem_publisher-1.5.0/test/data/example.gemspec +12 -0
- data/vendor/jruby/1.9/gems/gem_publisher-1.5.0/test/data/gem_build +4 -0
- data/vendor/jruby/1.9/gems/gem_publisher-1.5.0/test/data/tags +10 -0
- data/vendor/jruby/1.9/gems/gem_publisher-1.5.0/test/data/toplevel_version.gemspec +12 -0
- data/vendor/jruby/1.9/gems/gem_publisher-1.5.0/test/git_remote_test.rb +32 -0
- data/vendor/jruby/1.9/gems/gem_publisher-1.5.0/test/integration_test.rb +49 -0
- data/vendor/jruby/1.9/gems/gem_publisher-1.5.0/test/publisher_test.rb +102 -0
- data/vendor/jruby/1.9/gems/gem_publisher-1.5.0/test/rubygems_plugin_test.rb +76 -0
- data/vendor/jruby/1.9/gems/gems-0.8.3/CONTRIBUTING.md +45 -0
- data/vendor/jruby/1.9/gems/gems-0.8.3/LICENSE.md +20 -0
- data/vendor/jruby/1.9/gems/gems-0.8.3/README.md +158 -0
- data/vendor/jruby/1.9/gems/gems-0.8.3/Rakefile +11 -0
- data/vendor/jruby/1.9/gems/gems-0.8.3/gems.gemspec +24 -0
- data/vendor/jruby/1.9/gems/gems-0.8.3/lib/gems.rb +24 -0
- data/vendor/jruby/1.9/gems/gems-0.8.3/lib/gems/client.rb +318 -0
- data/vendor/jruby/1.9/gems/gems-0.8.3/lib/gems/configuration.rb +54 -0
- data/vendor/jruby/1.9/gems/gems-0.8.3/lib/gems/request.rb +73 -0
- data/vendor/jruby/1.9/gems/gems-0.8.3/lib/gems/version.rb +17 -0
- data/vendor/jruby/1.9/gems/gems-0.8.3/spec/fixtures/add_owner +1 -0
- data/vendor/jruby/1.9/gems/gems-0.8.3/spec/fixtures/add_web_hook +1 -0
- data/vendor/jruby/1.9/gems/gems-0.8.3/spec/fixtures/api_key +1 -0
- data/vendor/jruby/1.9/gems/gems-0.8.3/spec/fixtures/dependencies +0 -0
- data/vendor/jruby/1.9/gems/gems-0.8.3/spec/fixtures/downloads.yaml +91 -0
- data/vendor/jruby/1.9/gems/gems-0.8.3/spec/fixtures/fire_web_hook +1 -0
- data/vendor/jruby/1.9/gems/gems-0.8.3/spec/fixtures/gems-0.0.8.gem +0 -0
- data/vendor/jruby/1.9/gems/gems-0.8.3/spec/fixtures/gems.yaml +1072 -0
- data/vendor/jruby/1.9/gems/gems-0.8.3/spec/fixtures/just_updated.yaml +1376 -0
- data/vendor/jruby/1.9/gems/gems-0.8.3/spec/fixtures/latest.yaml +1098 -0
- data/vendor/jruby/1.9/gems/gems-0.8.3/spec/fixtures/most_downloaded.yaml +20 -0
- data/vendor/jruby/1.9/gems/gems-0.8.3/spec/fixtures/most_downloaded_today.yaml +1053 -0
- data/vendor/jruby/1.9/gems/gems-0.8.3/spec/fixtures/owners.yaml +2 -0
- data/vendor/jruby/1.9/gems/gems-0.8.3/spec/fixtures/push +1 -0
- data/vendor/jruby/1.9/gems/gems-0.8.3/spec/fixtures/rails.yaml +33 -0
- data/vendor/jruby/1.9/gems/gems-0.8.3/spec/fixtures/rails_admin-0.0.0.yaml +3 -0
- data/vendor/jruby/1.9/gems/gems-0.8.3/spec/fixtures/remove_owner +1 -0
- data/vendor/jruby/1.9/gems/gems-0.8.3/spec/fixtures/remove_web_hook +1 -0
- data/vendor/jruby/1.9/gems/gems-0.8.3/spec/fixtures/reverse_dependencies_short.yaml +70 -0
- data/vendor/jruby/1.9/gems/gems-0.8.3/spec/fixtures/script_helpers.yaml +17 -0
- data/vendor/jruby/1.9/gems/gems-0.8.3/spec/fixtures/search.yaml +898 -0
- data/vendor/jruby/1.9/gems/gems-0.8.3/spec/fixtures/total_downloads.yaml +2 -0
- data/vendor/jruby/1.9/gems/gems-0.8.3/spec/fixtures/unyank +1 -0
- data/vendor/jruby/1.9/gems/gems-0.8.3/spec/fixtures/web_hooks.yaml +4 -0
- data/vendor/jruby/1.9/gems/gems-0.8.3/spec/fixtures/yank +1 -0
- data/vendor/jruby/1.9/gems/gems-0.8.3/spec/gems/client_spec.rb +432 -0
- data/vendor/jruby/1.9/gems/gems-0.8.3/spec/gems/request_spec.rb +31 -0
- data/vendor/jruby/1.9/gems/gems-0.8.3/spec/gems_spec.rb +73 -0
- data/vendor/jruby/1.9/gems/gems-0.8.3/spec/helper.rb +64 -0
- data/vendor/jruby/1.9/gems/hashdiff-0.3.2/Gemfile +6 -0
- data/vendor/jruby/1.9/gems/hashdiff-0.3.2/LICENSE +19 -0
- data/vendor/jruby/1.9/gems/hashdiff-0.3.2/README.md +203 -0
- data/vendor/jruby/1.9/gems/hashdiff-0.3.2/Rakefile +13 -0
- data/vendor/jruby/1.9/gems/hashdiff-0.3.2/changelog.md +56 -0
- data/vendor/jruby/1.9/gems/hashdiff-0.3.2/hashdiff.gemspec +25 -0
- data/vendor/jruby/1.9/gems/hashdiff-0.3.2/lib/hashdiff.rb +5 -0
- data/vendor/jruby/1.9/gems/hashdiff-0.3.2/lib/hashdiff/diff.rb +220 -0
- data/vendor/jruby/1.9/gems/hashdiff-0.3.2/lib/hashdiff/lcs.rb +69 -0
- data/vendor/jruby/1.9/gems/hashdiff-0.3.2/lib/hashdiff/patch.rb +84 -0
- data/vendor/jruby/1.9/gems/hashdiff-0.3.2/lib/hashdiff/util.rb +131 -0
- data/vendor/jruby/1.9/gems/hashdiff-0.3.2/lib/hashdiff/version.rb +3 -0
- data/vendor/jruby/1.9/gems/hashdiff-0.3.2/spec/hashdiff/best_diff_spec.rb +65 -0
- data/vendor/jruby/1.9/gems/hashdiff-0.3.2/spec/hashdiff/diff_array_spec.rb +60 -0
- data/vendor/jruby/1.9/gems/hashdiff-0.3.2/spec/hashdiff/diff_spec.rb +277 -0
- data/vendor/jruby/1.9/gems/hashdiff-0.3.2/spec/hashdiff/lcs_spec.rb +75 -0
- data/vendor/jruby/1.9/gems/hashdiff-0.3.2/spec/hashdiff/patch_spec.rb +161 -0
- data/vendor/jruby/1.9/gems/hashdiff-0.3.2/spec/hashdiff/util_spec.rb +78 -0
- data/vendor/jruby/1.9/gems/hashdiff-0.3.2/spec/spec_helper.rb +13 -0
- data/vendor/jruby/1.9/gems/hashie-3.4.6/CHANGELOG.md +347 -0
- data/vendor/jruby/1.9/gems/hashie-3.4.6/CONTRIBUTING.md +128 -0
- data/vendor/jruby/1.9/gems/hashie-3.4.6/LICENSE +20 -0
- data/vendor/jruby/1.9/gems/hashie-3.4.6/README.md +787 -0
- data/vendor/jruby/1.9/gems/hashie-3.4.6/Rakefile +15 -0
- data/vendor/jruby/1.9/gems/hashie-3.4.6/UPGRADING.md +144 -0
- data/vendor/jruby/1.9/gems/hashie-3.4.6/hashie.gemspec +22 -0
- data/vendor/jruby/1.9/gems/hashie-3.4.6/lib/hashie.rb +56 -0
- data/vendor/jruby/1.9/gems/hashie-3.4.6/lib/hashie/array.rb +14 -0
- data/vendor/jruby/1.9/gems/hashie-3.4.6/lib/hashie/clash.rb +87 -0
- data/vendor/jruby/1.9/gems/hashie-3.4.6/lib/hashie/dash.rb +216 -0
- data/vendor/jruby/1.9/gems/hashie-3.4.6/lib/hashie/extensions/array/pretty_inspect.rb +19 -0
- data/vendor/jruby/1.9/gems/hashie-3.4.6/lib/hashie/extensions/coercion.rb +214 -0
- data/vendor/jruby/1.9/gems/hashie-3.4.6/lib/hashie/extensions/dash/coercion.rb +25 -0
- data/vendor/jruby/1.9/gems/hashie-3.4.6/lib/hashie/extensions/dash/indifferent_access.rb +36 -0
- data/vendor/jruby/1.9/gems/hashie-3.4.6/lib/hashie/extensions/dash/property_translation.rb +165 -0
- data/vendor/jruby/1.9/gems/hashie-3.4.6/lib/hashie/extensions/deep_fetch.rb +29 -0
- data/vendor/jruby/1.9/gems/hashie-3.4.6/lib/hashie/extensions/deep_find.rb +60 -0
- data/vendor/jruby/1.9/gems/hashie-3.4.6/lib/hashie/extensions/deep_locate.rb +100 -0
- data/vendor/jruby/1.9/gems/hashie-3.4.6/lib/hashie/extensions/deep_merge.rb +37 -0
- data/vendor/jruby/1.9/gems/hashie-3.4.6/lib/hashie/extensions/ignore_undeclared.rb +47 -0
- data/vendor/jruby/1.9/gems/hashie-3.4.6/lib/hashie/extensions/indifferent_access.rb +159 -0
- data/vendor/jruby/1.9/gems/hashie-3.4.6/lib/hashie/extensions/key_conversion.rb +10 -0
- data/vendor/jruby/1.9/gems/hashie-3.4.6/lib/hashie/extensions/mash/safe_assignment.rb +16 -0
- data/vendor/jruby/1.9/gems/hashie-3.4.6/lib/hashie/extensions/merge_initializer.rb +26 -0
- data/vendor/jruby/1.9/gems/hashie-3.4.6/lib/hashie/extensions/method_access.rb +234 -0
- data/vendor/jruby/1.9/gems/hashie-3.4.6/lib/hashie/extensions/parsers/yaml_erb_parser.rb +24 -0
- data/vendor/jruby/1.9/gems/hashie-3.4.6/lib/hashie/extensions/pretty_inspect.rb +19 -0
- data/vendor/jruby/1.9/gems/hashie-3.4.6/lib/hashie/extensions/ruby_version_check.rb +15 -0
- data/vendor/jruby/1.9/gems/hashie-3.4.6/lib/hashie/extensions/strict_key_access.rb +74 -0
- data/vendor/jruby/1.9/gems/hashie-3.4.6/lib/hashie/extensions/stringify_keys.rb +71 -0
- data/vendor/jruby/1.9/gems/hashie-3.4.6/lib/hashie/extensions/symbolize_keys.rb +71 -0
- data/vendor/jruby/1.9/gems/hashie-3.4.6/lib/hashie/hash.rb +55 -0
- data/vendor/jruby/1.9/gems/hashie-3.4.6/lib/hashie/mash.rb +299 -0
- data/vendor/jruby/1.9/gems/hashie-3.4.6/lib/hashie/rash.rb +143 -0
- data/vendor/jruby/1.9/gems/hashie-3.4.6/lib/hashie/trash.rb +14 -0
- data/vendor/jruby/1.9/gems/hashie-3.4.6/lib/hashie/version.rb +3 -0
- data/vendor/jruby/1.9/gems/hashie-3.4.6/spec/hashie/array_spec.rb +17 -0
- data/vendor/jruby/1.9/gems/hashie-3.4.6/spec/hashie/clash_spec.rb +70 -0
- data/vendor/jruby/1.9/gems/hashie-3.4.6/spec/hashie/dash_spec.rb +536 -0
- data/vendor/jruby/1.9/gems/hashie-3.4.6/spec/hashie/extensions/autoload_spec.rb +24 -0
- data/vendor/jruby/1.9/gems/hashie-3.4.6/spec/hashie/extensions/coercion_spec.rb +625 -0
- data/vendor/jruby/1.9/gems/hashie-3.4.6/spec/hashie/extensions/dash/coercion_spec.rb +13 -0
- data/vendor/jruby/1.9/gems/hashie-3.4.6/spec/hashie/extensions/dash/indifferent_access_spec.rb +84 -0
- data/vendor/jruby/1.9/gems/hashie-3.4.6/spec/hashie/extensions/deep_fetch_spec.rb +97 -0
- data/vendor/jruby/1.9/gems/hashie-3.4.6/spec/hashie/extensions/deep_find_spec.rb +113 -0
- data/vendor/jruby/1.9/gems/hashie-3.4.6/spec/hashie/extensions/deep_locate_spec.rb +137 -0
- data/vendor/jruby/1.9/gems/hashie-3.4.6/spec/hashie/extensions/deep_merge_spec.rb +65 -0
- data/vendor/jruby/1.9/gems/hashie-3.4.6/spec/hashie/extensions/ignore_undeclared_spec.rb +47 -0
- data/vendor/jruby/1.9/gems/hashie-3.4.6/spec/hashie/extensions/indifferent_access_spec.rb +245 -0
- data/vendor/jruby/1.9/gems/hashie-3.4.6/spec/hashie/extensions/indifferent_access_with_rails_hwia_spec.rb +208 -0
- data/vendor/jruby/1.9/gems/hashie-3.4.6/spec/hashie/extensions/key_conversion_spec.rb +12 -0
- data/vendor/jruby/1.9/gems/hashie-3.4.6/spec/hashie/extensions/mash/safe_assignment_spec.rb +50 -0
- data/vendor/jruby/1.9/gems/hashie-3.4.6/spec/hashie/extensions/merge_initializer_spec.rb +23 -0
- data/vendor/jruby/1.9/gems/hashie-3.4.6/spec/hashie/extensions/method_access_spec.rb +188 -0
- data/vendor/jruby/1.9/gems/hashie-3.4.6/spec/hashie/extensions/strict_key_access_spec.rb +110 -0
- data/vendor/jruby/1.9/gems/hashie-3.4.6/spec/hashie/extensions/stringify_keys_spec.rb +124 -0
- data/vendor/jruby/1.9/gems/hashie-3.4.6/spec/hashie/extensions/symbolize_keys_spec.rb +129 -0
- data/vendor/jruby/1.9/gems/hashie-3.4.6/spec/hashie/hash_spec.rb +84 -0
- data/vendor/jruby/1.9/gems/hashie-3.4.6/spec/hashie/mash_spec.rb +707 -0
- data/vendor/jruby/1.9/gems/hashie-3.4.6/spec/hashie/parsers/yaml_erb_parser_spec.rb +46 -0
- data/vendor/jruby/1.9/gems/hashie-3.4.6/spec/hashie/rash_spec.rb +77 -0
- data/vendor/jruby/1.9/gems/hashie-3.4.6/spec/hashie/trash_spec.rb +268 -0
- data/vendor/jruby/1.9/gems/hashie-3.4.6/spec/hashie/version_spec.rb +7 -0
- data/vendor/jruby/1.9/gems/hashie-3.4.6/spec/spec_helper.rb +18 -0
- data/vendor/jruby/1.9/gems/hashie-3.4.6/spec/support/module_context.rb +11 -0
- data/vendor/jruby/1.9/gems/hashie-3.4.6/spec/support/ruby_version_check.rb +5 -0
- data/vendor/jruby/1.9/gems/i18n-0.6.9/MIT-LICENSE +20 -0
- data/vendor/jruby/1.9/gems/i18n-0.6.9/README.textile +105 -0
- data/vendor/jruby/1.9/gems/i18n-0.6.9/ci/Gemfile.no-rails +5 -0
- data/vendor/jruby/1.9/gems/i18n-0.6.9/ci/Gemfile.no-rails.lock +14 -0
- data/vendor/jruby/1.9/gems/i18n-0.6.9/ci/Gemfile.rails-2.3.x +9 -0
- data/vendor/jruby/1.9/gems/i18n-0.6.9/ci/Gemfile.rails-2.3.x.lock +23 -0
- data/vendor/jruby/1.9/gems/i18n-0.6.9/ci/Gemfile.rails-3.x +9 -0
- data/vendor/jruby/1.9/gems/i18n-0.6.9/ci/Gemfile.rails-3.x.lock +23 -0
- data/vendor/jruby/1.9/gems/i18n-0.6.9/lib/i18n.rb +367 -0
- data/vendor/jruby/1.9/gems/i18n-0.6.9/lib/i18n/backend.rb +18 -0
- data/vendor/jruby/1.9/gems/i18n-0.6.9/lib/i18n/backend/base.rb +190 -0
- data/vendor/jruby/1.9/gems/i18n-0.6.9/lib/i18n/backend/cache.rb +96 -0
- data/vendor/jruby/1.9/gems/i18n-0.6.9/lib/i18n/backend/cascade.rb +54 -0
- data/vendor/jruby/1.9/gems/i18n-0.6.9/lib/i18n/backend/chain.rb +83 -0
- data/vendor/jruby/1.9/gems/i18n-0.6.9/lib/i18n/backend/fallbacks.rb +65 -0
- data/vendor/jruby/1.9/gems/i18n-0.6.9/lib/i18n/backend/flatten.rb +113 -0
- data/vendor/jruby/1.9/gems/i18n-0.6.9/lib/i18n/backend/gettext.rb +72 -0
- data/vendor/jruby/1.9/gems/i18n-0.6.9/lib/i18n/backend/interpolation_compiler.rb +121 -0
- data/vendor/jruby/1.9/gems/i18n-0.6.9/lib/i18n/backend/key_value.rb +101 -0
- data/vendor/jruby/1.9/gems/i18n-0.6.9/lib/i18n/backend/memoize.rb +46 -0
- data/vendor/jruby/1.9/gems/i18n-0.6.9/lib/i18n/backend/metadata.rb +65 -0
- data/vendor/jruby/1.9/gems/i18n-0.6.9/lib/i18n/backend/pluralization.rb +53 -0
- data/vendor/jruby/1.9/gems/i18n-0.6.9/lib/i18n/backend/simple.rb +87 -0
- data/vendor/jruby/1.9/gems/i18n-0.6.9/lib/i18n/backend/transliterator.rb +99 -0
- data/vendor/jruby/1.9/gems/i18n-0.6.9/lib/i18n/config.rb +121 -0
- data/vendor/jruby/1.9/gems/i18n-0.6.9/lib/i18n/core_ext/hash.rb +29 -0
- data/vendor/jruby/1.9/gems/i18n-0.6.9/lib/i18n/core_ext/kernel/surpress_warnings.rb +9 -0
- data/vendor/jruby/1.9/gems/i18n-0.6.9/lib/i18n/core_ext/string/interpolate.rb +105 -0
- data/vendor/jruby/1.9/gems/i18n-0.6.9/lib/i18n/exceptions.rb +128 -0
- data/vendor/jruby/1.9/gems/i18n-0.6.9/lib/i18n/gettext.rb +25 -0
- data/vendor/jruby/1.9/gems/i18n-0.6.9/lib/i18n/gettext/helpers.rb +64 -0
- data/vendor/jruby/1.9/gems/i18n-0.6.9/lib/i18n/gettext/po_parser.rb +329 -0
- data/vendor/jruby/1.9/gems/i18n-0.6.9/lib/i18n/interpolate/ruby.rb +37 -0
- data/vendor/jruby/1.9/gems/i18n-0.6.9/lib/i18n/locale.rb +6 -0
- data/vendor/jruby/1.9/gems/i18n-0.6.9/lib/i18n/locale/fallbacks.rb +96 -0
- data/vendor/jruby/1.9/gems/i18n-0.6.9/lib/i18n/locale/tag.rb +28 -0
- data/vendor/jruby/1.9/gems/i18n-0.6.9/lib/i18n/locale/tag/parents.rb +22 -0
- data/vendor/jruby/1.9/gems/i18n-0.6.9/lib/i18n/locale/tag/rfc4646.rb +74 -0
- data/vendor/jruby/1.9/gems/i18n-0.6.9/lib/i18n/locale/tag/simple.rb +39 -0
- data/vendor/jruby/1.9/gems/i18n-0.6.9/lib/i18n/tests.rb +12 -0
- data/vendor/jruby/1.9/gems/i18n-0.6.9/lib/i18n/tests/basics.rb +59 -0
- data/vendor/jruby/1.9/gems/i18n-0.6.9/lib/i18n/tests/defaults.rb +40 -0
- data/vendor/jruby/1.9/gems/i18n-0.6.9/lib/i18n/tests/interpolation.rb +133 -0
- data/vendor/jruby/1.9/gems/i18n-0.6.9/lib/i18n/tests/link.rb +56 -0
- data/vendor/jruby/1.9/gems/i18n-0.6.9/lib/i18n/tests/localization.rb +19 -0
- data/vendor/jruby/1.9/gems/i18n-0.6.9/lib/i18n/tests/localization/date.rb +91 -0
- data/vendor/jruby/1.9/gems/i18n-0.6.9/lib/i18n/tests/localization/date_time.rb +82 -0
- data/vendor/jruby/1.9/gems/i18n-0.6.9/lib/i18n/tests/localization/procs.rb +116 -0
- data/vendor/jruby/1.9/gems/i18n-0.6.9/lib/i18n/tests/localization/time.rb +81 -0
- data/vendor/jruby/1.9/gems/i18n-0.6.9/lib/i18n/tests/lookup.rb +81 -0
- data/vendor/jruby/1.9/gems/i18n-0.6.9/lib/i18n/tests/pluralization.rb +35 -0
- data/vendor/jruby/1.9/gems/i18n-0.6.9/lib/i18n/tests/procs.rb +55 -0
- data/vendor/jruby/1.9/gems/i18n-0.6.9/lib/i18n/version.rb +3 -0
- data/vendor/jruby/1.9/gems/i18n-0.6.9/test/all.rb +8 -0
- data/vendor/jruby/1.9/gems/i18n-0.6.9/test/api/all_features_test.rb +58 -0
- data/vendor/jruby/1.9/gems/i18n-0.6.9/test/api/cascade_test.rb +28 -0
- data/vendor/jruby/1.9/gems/i18n-0.6.9/test/api/chain_test.rb +24 -0
- data/vendor/jruby/1.9/gems/i18n-0.6.9/test/api/fallbacks_test.rb +30 -0
- data/vendor/jruby/1.9/gems/i18n-0.6.9/test/api/key_value_test.rb +28 -0
- data/vendor/jruby/1.9/gems/i18n-0.6.9/test/api/memoize_test.rb +60 -0
- data/vendor/jruby/1.9/gems/i18n-0.6.9/test/api/override_test.rb +48 -0
- data/vendor/jruby/1.9/gems/i18n-0.6.9/test/api/pluralization_test.rb +30 -0
- data/vendor/jruby/1.9/gems/i18n-0.6.9/test/api/simple_test.rb +28 -0
- data/vendor/jruby/1.9/gems/i18n-0.6.9/test/backend/cache_test.rb +85 -0
- data/vendor/jruby/1.9/gems/i18n-0.6.9/test/backend/cascade_test.rb +85 -0
- data/vendor/jruby/1.9/gems/i18n-0.6.9/test/backend/chain_test.rb +76 -0
- data/vendor/jruby/1.9/gems/i18n-0.6.9/test/backend/exceptions_test.rb +35 -0
- data/vendor/jruby/1.9/gems/i18n-0.6.9/test/backend/fallbacks_test.rb +125 -0
- data/vendor/jruby/1.9/gems/i18n-0.6.9/test/backend/interpolation_compiler_test.rb +119 -0
- data/vendor/jruby/1.9/gems/i18n-0.6.9/test/backend/key_value_test.rb +46 -0
- data/vendor/jruby/1.9/gems/i18n-0.6.9/test/backend/memoize_test.rb +47 -0
- data/vendor/jruby/1.9/gems/i18n-0.6.9/test/backend/metadata_test.rb +47 -0
- data/vendor/jruby/1.9/gems/i18n-0.6.9/test/backend/pluralization_test.rb +44 -0
- data/vendor/jruby/1.9/gems/i18n-0.6.9/test/backend/simple_test.rb +83 -0
- data/vendor/jruby/1.9/gems/i18n-0.6.9/test/backend/transliterator_test.rb +85 -0
- data/vendor/jruby/1.9/gems/i18n-0.6.9/test/core_ext/hash_test.rb +30 -0
- data/vendor/jruby/1.9/gems/i18n-0.6.9/test/core_ext/string/interpolate_test.rb +99 -0
- data/vendor/jruby/1.9/gems/i18n-0.6.9/test/gettext/api_test.rb +206 -0
- data/vendor/jruby/1.9/gems/i18n-0.6.9/test/gettext/backend_test.rb +101 -0
- data/vendor/jruby/1.9/gems/i18n-0.6.9/test/i18n/exceptions_test.rb +120 -0
- data/vendor/jruby/1.9/gems/i18n-0.6.9/test/i18n/interpolate_test.rb +79 -0
- data/vendor/jruby/1.9/gems/i18n-0.6.9/test/i18n/load_path_test.rb +33 -0
- data/vendor/jruby/1.9/gems/i18n-0.6.9/test/i18n_test.rb +365 -0
- data/vendor/jruby/1.9/gems/i18n-0.6.9/test/locale/fallbacks_test.rb +136 -0
- data/vendor/jruby/1.9/gems/i18n-0.6.9/test/locale/tag/rfc4646_test.rb +142 -0
- data/vendor/jruby/1.9/gems/i18n-0.6.9/test/locale/tag/simple_test.rb +32 -0
- data/vendor/jruby/1.9/gems/i18n-0.6.9/test/run_all.rb +21 -0
- data/vendor/jruby/1.9/gems/i18n-0.6.9/test/test_data/locales/de.po +82 -0
- data/vendor/jruby/1.9/gems/i18n-0.6.9/test/test_data/locales/en.rb +3 -0
- data/vendor/jruby/1.9/gems/i18n-0.6.9/test/test_data/locales/en.yml +3 -0
- data/vendor/jruby/1.9/gems/i18n-0.6.9/test/test_data/locales/invalid/empty.yml +0 -0
- data/vendor/jruby/1.9/gems/i18n-0.6.9/test/test_data/locales/invalid/syntax.yml +4 -0
- data/vendor/jruby/1.9/gems/i18n-0.6.9/test/test_data/locales/plurals.rb +113 -0
- data/vendor/jruby/1.9/gems/i18n-0.6.9/test/test_helper.rb +56 -0
- data/vendor/jruby/1.9/gems/insist-1.0.0/Gemfile +7 -0
- data/vendor/jruby/1.9/gems/insist-1.0.0/Gemfile.lock +25 -0
- data/vendor/jruby/1.9/gems/insist-1.0.0/LICENSE +14 -0
- data/vendor/jruby/1.9/gems/insist-1.0.0/Makefile +50 -0
- data/vendor/jruby/1.9/gems/insist-1.0.0/README.md +57 -0
- data/vendor/jruby/1.9/gems/insist-1.0.0/insist.gemspec +20 -0
- data/vendor/jruby/1.9/gems/insist-1.0.0/lib/insist.rb +81 -0
- data/vendor/jruby/1.9/gems/insist-1.0.0/lib/insist/assert.rb +10 -0
- data/vendor/jruby/1.9/gems/insist-1.0.0/lib/insist/comparators.rb +41 -0
- data/vendor/jruby/1.9/gems/insist-1.0.0/lib/insist/comparators19.rb +23 -0
- data/vendor/jruby/1.9/gems/insist-1.0.0/lib/insist/enumerables.rb +14 -0
- data/vendor/jruby/1.9/gems/insist-1.0.0/lib/insist/failure.rb +4 -0
- data/vendor/jruby/1.9/gems/insist-1.0.0/lib/insist/namespace.rb +1 -0
- data/vendor/jruby/1.9/gems/insist-1.0.0/lib/insist/nil.rb +7 -0
- data/vendor/jruby/1.9/gems/insist-1.0.0/lib/insist/predicates.rb +41 -0
- data/vendor/jruby/1.9/gems/insist-1.0.0/lib/insist/raises.rb +19 -0
- data/vendor/jruby/1.9/gems/insist-1.0.0/notify-failure.sh +15 -0
- data/vendor/jruby/1.9/gems/insist-1.0.0/spec/insist/comparators_spec.rb +110 -0
- data/vendor/jruby/1.9/gems/insist-1.0.0/spec/insist/enumerables_spec.rb +18 -0
- data/vendor/jruby/1.9/gems/insist-1.0.0/spec/insist/nil_spec.rb +16 -0
- data/vendor/jruby/1.9/gems/insist-1.0.0/spec/insist/predicates_spec.rb +53 -0
- data/vendor/jruby/1.9/gems/insist-1.0.0/spec/insist/reject_spec.rb +18 -0
- data/vendor/jruby/1.9/gems/insist-1.0.0/spec/insist_spec.rb +14 -0
- data/vendor/jruby/1.9/gems/insist-1.0.0/spec/spec_setup.rb +1 -0
- data/vendor/jruby/1.9/gems/insist-1.0.0/test/all.rb +24 -0
- data/vendor/jruby/1.9/gems/insist-1.0.0/test/docs.rb +42 -0
- data/vendor/jruby/1.9/gems/insist-1.0.0/test/testing.rb +14 -0
- data/vendor/jruby/1.9/gems/jar-dependencies-0.3.9/MIT-LICENSE +20 -0
- data/vendor/jruby/1.9/gems/jar-dependencies-0.3.9/Mavenfile +67 -0
- data/vendor/jruby/1.9/gems/jar-dependencies-0.3.9/Rakefile +33 -0
- data/vendor/jruby/1.9/gems/jar-dependencies-0.3.9/Readme.md +218 -0
- data/vendor/jruby/1.9/gems/jar-dependencies-0.3.9/bin/lock_jars +49 -0
- data/vendor/jruby/1.9/gems/jar-dependencies-0.3.9/jar-dependencies.gemspec +46 -0
- data/vendor/jruby/1.9/gems/jar-dependencies-0.3.9/lib/jar-dependencies.rb +22 -0
- data/vendor/jruby/1.9/gems/jar-dependencies-0.3.9/lib/jar_dependencies.rb +363 -0
- data/vendor/jruby/1.9/gems/jar-dependencies-0.3.9/lib/jar_install_post_install_hook.rb +21 -0
- data/vendor/jruby/1.9/gems/jar-dependencies-0.3.9/lib/jar_installer.rb +1 -0
- data/vendor/jruby/1.9/gems/jar-dependencies-0.3.9/lib/jars/attach_jars_pom.rb +24 -0
- data/vendor/jruby/1.9/gems/jar-dependencies-0.3.9/lib/jars/classpath.rb +96 -0
- data/vendor/jruby/1.9/gems/jar-dependencies-0.3.9/lib/jars/gemspec_artifacts.rb +222 -0
- data/vendor/jruby/1.9/gems/jar-dependencies-0.3.9/lib/jars/gemspec_pom.rb +5 -0
- data/vendor/jruby/1.9/gems/jar-dependencies-0.3.9/lib/jars/installer.rb +246 -0
- data/vendor/jruby/1.9/gems/jar-dependencies-0.3.9/lib/jars/lock.rb +76 -0
- data/vendor/jruby/1.9/gems/jar-dependencies-0.3.9/lib/jars/lock_down.rb +110 -0
- data/vendor/jruby/1.9/gems/jar-dependencies-0.3.9/lib/jars/lock_down_pom.rb +27 -0
- data/vendor/jruby/1.9/gems/jar-dependencies-0.3.9/lib/jars/maven_exec.rb +82 -0
- data/vendor/jruby/1.9/gems/jar-dependencies-0.3.9/lib/jars/maven_factory.rb +140 -0
- data/vendor/jruby/1.9/gems/jar-dependencies-0.3.9/lib/jars/maven_settings.rb +143 -0
- data/vendor/jruby/1.9/gems/jar-dependencies-0.3.9/lib/jars/output_jars_pom.rb +8 -0
- data/vendor/jruby/1.9/gems/jar-dependencies-0.3.9/lib/jars/post_install_hook.rb +31 -0
- data/vendor/jruby/1.9/gems/jar-dependencies-0.3.9/lib/jars/settings.xml +20 -0
- data/vendor/jruby/1.9/gems/jar-dependencies-0.3.9/lib/jars/setup.rb +7 -0
- data/vendor/jruby/1.9/gems/jar-dependencies-0.3.9/lib/jars/version.rb +5 -0
- data/vendor/jruby/1.9/gems/jar-dependencies-0.3.9/lib/rubygems_plugin.rb +21 -0
- data/vendor/jruby/1.9/gems/jrjackson-0.4.2-java/Gemfile +10 -0
- data/vendor/jruby/1.9/gems/jrjackson-0.4.2-java/Mavenfile +32 -0
- data/vendor/jruby/1.9/gems/jrjackson-0.4.2-java/README.md +150 -0
- data/vendor/jruby/1.9/gems/jrjackson-0.4.2-java/Rakefile +10 -0
- data/vendor/jruby/1.9/gems/jrjackson-0.4.2-java/alt_bench.rb +46 -0
- data/vendor/jruby/1.9/gems/jrjackson-0.4.2-java/changelog.md +138 -0
- data/vendor/jruby/1.9/gems/jrjackson-0.4.2-java/jrjackson.gemspec +32 -0
- data/vendor/jruby/1.9/gems/jrjackson-0.4.2-java/lib/com/fasterxml/jackson/core/jackson-annotations/2.7.3/jackson-annotations-2.7.3.jar +0 -0
- data/vendor/jruby/1.9/gems/jrjackson-0.4.2-java/lib/com/fasterxml/jackson/core/jackson-core/2.7.3/jackson-core-2.7.3.jar +0 -0
- data/vendor/jruby/1.9/gems/jrjackson-0.4.2-java/lib/com/fasterxml/jackson/core/jackson-databind/2.7.3/jackson-databind-2.7.3.jar +0 -0
- data/vendor/jruby/1.9/gems/jrjackson-0.4.2-java/lib/com/fasterxml/jackson/module/jackson-module-afterburner/2.7.3/jackson-module-afterburner-2.7.3.jar +0 -0
- data/vendor/jruby/1.9/gems/jrjackson-0.4.2-java/lib/jrjackson.rb +2 -0
- data/vendor/jruby/1.9/gems/jrjackson-0.4.2-java/lib/jrjackson/build_info.rb +15 -0
- data/vendor/jruby/1.9/gems/jrjackson-0.4.2-java/lib/jrjackson/jars/jrjackson-1.2.20.jar +0 -0
- data/vendor/jruby/1.9/gems/jrjackson-0.4.2-java/lib/jrjackson/jrjackson.rb +94 -0
- data/vendor/jruby/1.9/gems/jrjackson-0.4.2-java/lib/jrjackson_jars.rb +16 -0
- data/vendor/jruby/1.9/gems/jrjackson-0.4.2-java/lib/require_relative_patch.rb +6 -0
- data/vendor/jruby/1.9/gems/jrjackson-0.4.2-java/pom.xml +193 -0
- data/vendor/jruby/1.9/gems/jrjackson-0.4.2-java/profiling/profiled.rb +15 -0
- data/vendor/jruby/1.9/gems/jrjackson-0.4.2-java/run_all_individual_bench.sh +25 -0
- data/vendor/jruby/1.9/gems/jrjackson-0.4.2-java/run_jruby_individual_bench.sh +20 -0
- data/vendor/jruby/1.9/gems/jrjackson-0.4.2-java/run_mri_individual_bench.sh +7 -0
- data/vendor/jruby/1.9/gems/jrjackson-0.4.2-java/src/main/java/com/jrjackson/IParseHandler.java +53 -0
- data/vendor/jruby/1.9/gems/jrjackson-0.4.2-java/src/main/java/com/jrjackson/JavaBigDecimalValueConverter.java +17 -0
- data/vendor/jruby/1.9/gems/jrjackson-0.4.2-java/src/main/java/com/jrjackson/JavaBigIntValueConverter.java +17 -0
- data/vendor/jruby/1.9/gems/jrjackson-0.4.2-java/src/main/java/com/jrjackson/JavaConverter.java +10 -0
- data/vendor/jruby/1.9/gems/jrjackson-0.4.2-java/src/main/java/com/jrjackson/JavaFloatValueConverter.java +16 -0
- data/vendor/jruby/1.9/gems/jrjackson-0.4.2-java/src/main/java/com/jrjackson/JavaHandler.java +118 -0
- data/vendor/jruby/1.9/gems/jrjackson-0.4.2-java/src/main/java/com/jrjackson/JavaLongValueConverter.java +16 -0
- data/vendor/jruby/1.9/gems/jrjackson-0.4.2-java/src/main/java/com/jrjackson/JjParse.java +139 -0
- data/vendor/jruby/1.9/gems/jrjackson-0.4.2-java/src/main/java/com/jrjackson/JrJacksonBase.java +152 -0
- data/vendor/jruby/1.9/gems/jrjackson-0.4.2-java/src/main/java/com/jrjackson/JrJacksonJava.java +81 -0
- data/vendor/jruby/1.9/gems/jrjackson-0.4.2-java/src/main/java/com/jrjackson/JrJacksonRaw.java +108 -0
- data/vendor/jruby/1.9/gems/jrjackson-0.4.2-java/src/main/java/com/jrjackson/JrJacksonRuby.java +89 -0
- data/vendor/jruby/1.9/gems/jrjackson-0.4.2-java/src/main/java/com/jrjackson/JrJacksonSaj.java +26 -0
- data/vendor/jruby/1.9/gems/jrjackson-0.4.2-java/src/main/java/com/jrjackson/JrJacksonSch.java +25 -0
- data/vendor/jruby/1.9/gems/jrjackson-0.4.2-java/src/main/java/com/jrjackson/JrJacksonService.java +38 -0
- data/vendor/jruby/1.9/gems/jrjackson-0.4.2-java/src/main/java/com/jrjackson/JrParse.java +142 -0
- data/vendor/jruby/1.9/gems/jrjackson-0.4.2-java/src/main/java/com/jrjackson/ParseError.java +16 -0
- data/vendor/jruby/1.9/gems/jrjackson-0.4.2-java/src/main/java/com/jrjackson/RubyAnySerializer.java +279 -0
- data/vendor/jruby/1.9/gems/jrjackson-0.4.2-java/src/main/java/com/jrjackson/RubyBigDecimalValueConverter.java +18 -0
- data/vendor/jruby/1.9/gems/jrjackson-0.4.2-java/src/main/java/com/jrjackson/RubyBigIntValueConverter.java +21 -0
- data/vendor/jruby/1.9/gems/jrjackson-0.4.2-java/src/main/java/com/jrjackson/RubyConverter.java +12 -0
- data/vendor/jruby/1.9/gems/jrjackson-0.4.2-java/src/main/java/com/jrjackson/RubyDateFormat.java +34 -0
- data/vendor/jruby/1.9/gems/jrjackson-0.4.2-java/src/main/java/com/jrjackson/RubyFloatValueConverter.java +18 -0
- data/vendor/jruby/1.9/gems/jrjackson-0.4.2-java/src/main/java/com/jrjackson/RubyHandler.java +119 -0
- data/vendor/jruby/1.9/gems/jrjackson-0.4.2-java/src/main/java/com/jrjackson/RubyIntValueConverter.java +18 -0
- data/vendor/jruby/1.9/gems/jrjackson-0.4.2-java/src/main/java/com/jrjackson/RubyJacksonModule.java +72 -0
- data/vendor/jruby/1.9/gems/jrjackson-0.4.2-java/src/main/java/com/jrjackson/RubyKeyConverter.java +12 -0
- data/vendor/jruby/1.9/gems/jrjackson-0.4.2-java/src/main/java/com/jrjackson/RubyNameConverter.java +9 -0
- data/vendor/jruby/1.9/gems/jrjackson-0.4.2-java/src/main/java/com/jrjackson/RubyObjectDeserializer.java +182 -0
- data/vendor/jruby/1.9/gems/jrjackson-0.4.2-java/src/main/java/com/jrjackson/RubyStringConverter.java +18 -0
- data/vendor/jruby/1.9/gems/jrjackson-0.4.2-java/src/main/java/com/jrjackson/RubyStringKeyConverter.java +15 -0
- data/vendor/jruby/1.9/gems/jrjackson-0.4.2-java/src/main/java/com/jrjackson/RubyStringNameConverter.java +12 -0
- data/vendor/jruby/1.9/gems/jrjackson-0.4.2-java/src/main/java/com/jrjackson/RubySymbolKeyConverter.java +15 -0
- data/vendor/jruby/1.9/gems/jrjackson-0.4.2-java/src/main/java/com/jrjackson/RubySymbolNameConverter.java +12 -0
- data/vendor/jruby/1.9/gems/jrjackson-0.4.2-java/src/main/java/com/jrjackson/RubyUtils.java +149 -0
- data/vendor/jruby/1.9/gems/jrjackson-0.4.2-java/src/main/java/com/jrjackson/SajParse.java +169 -0
- data/vendor/jruby/1.9/gems/jrjackson-0.4.2-java/src/main/java/com/jrjackson/SchParse.java +209 -0
- data/vendor/jruby/1.9/gems/jrjackson-0.4.2-java/src/main/java/com/jrjackson/StreamParse.java +66 -0
- data/vendor/jruby/1.9/gems/jrjackson-0.4.2-java/src/test/java/com/jrjackson/RubyAnySerializerTest.java +56 -0
- data/vendor/jruby/1.9/gems/jrjackson-0.4.2-java/test/jrjackson_test.rb +552 -0
- data/vendor/jruby/1.9/gems/jrmonitor-0.4.2/jrmonitor.gemspec +25 -0
- data/vendor/jruby/1.9/gems/jrmonitor-0.4.2/jruby-ext/target/classes/com/purbon/jrmonitor/JRMonitorService$1.class +0 -0
- data/vendor/jruby/1.9/gems/jrmonitor-0.4.2/jruby-ext/target/classes/com/purbon/jrmonitor/JRMonitorService$2.class +0 -0
- data/vendor/jruby/1.9/gems/jrmonitor-0.4.2/jruby-ext/target/classes/com/purbon/jrmonitor/JRMonitorService$3.class +0 -0
- data/vendor/jruby/1.9/gems/jrmonitor-0.4.2/jruby-ext/target/classes/com/purbon/jrmonitor/JRMonitorService$4.class +0 -0
- data/vendor/jruby/1.9/gems/jrmonitor-0.4.2/jruby-ext/target/classes/com/purbon/jrmonitor/JRMonitorService.class +0 -0
- data/vendor/jruby/1.9/gems/jrmonitor-0.4.2/jruby-ext/target/classes/com/purbon/jrmonitor/JRubyUtils.class +0 -0
- data/vendor/jruby/1.9/gems/jrmonitor-0.4.2/jruby-ext/target/classes/com/purbon/jrmonitor/monitors/HotThreadsMonitor$1.class +0 -0
- data/vendor/jruby/1.9/gems/jrmonitor-0.4.2/jruby-ext/target/classes/com/purbon/jrmonitor/monitors/HotThreadsMonitor$ThreadReport.class +0 -0
- data/vendor/jruby/1.9/gems/jrmonitor-0.4.2/jruby-ext/target/classes/com/purbon/jrmonitor/monitors/HotThreadsMonitor.class +0 -0
- data/vendor/jruby/1.9/gems/jrmonitor-0.4.2/jruby-ext/target/classes/com/purbon/jrmonitor/monitors/MemoryMonitor$Report.class +0 -0
- data/vendor/jruby/1.9/gems/jrmonitor-0.4.2/jruby-ext/target/classes/com/purbon/jrmonitor/monitors/MemoryMonitor$Type.class +0 -0
- data/vendor/jruby/1.9/gems/jrmonitor-0.4.2/jruby-ext/target/classes/com/purbon/jrmonitor/monitors/MemoryMonitor.class +0 -0
- data/vendor/jruby/1.9/gems/jrmonitor-0.4.2/jruby-ext/target/classes/com/purbon/jrmonitor/monitors/ProcessMonitor$Report.class +0 -0
- data/vendor/jruby/1.9/gems/jrmonitor-0.4.2/jruby-ext/target/classes/com/purbon/jrmonitor/monitors/ProcessMonitor.class +0 -0
- data/vendor/jruby/1.9/gems/jrmonitor-0.4.2/jruby-ext/target/classes/com/purbon/jrmonitor/monitors/SystemMonitor$Report.class +0 -0
- data/vendor/jruby/1.9/gems/jrmonitor-0.4.2/jruby-ext/target/classes/com/purbon/jrmonitor/monitors/SystemMonitor.class +0 -0
- data/vendor/jruby/1.9/gems/jrmonitor-0.4.2/jruby-ext/target/classes/com/purbon/jrmonitor/reports/RubyMemoryReport.class +0 -0
- data/vendor/jruby/1.9/gems/jrmonitor-0.4.2/jruby-ext/target/classes/com/purbon/jrmonitor/reports/RubyProcessReport.class +0 -0
- data/vendor/jruby/1.9/gems/jrmonitor-0.4.2/jruby-ext/target/classes/com/purbon/jrmonitor/reports/RubySystemReport.class +0 -0
- data/vendor/jruby/1.9/gems/jrmonitor-0.4.2/jruby-ext/target/classes/com/purbon/jrmonitor/reports/RubyThreadsReport.class +0 -0
- data/vendor/jruby/1.9/gems/jrmonitor-0.4.2/lib/jrmonitor.rb +23 -0
- data/vendor/jruby/1.9/gems/jrmonitor-0.4.2/spec/lib/memory_monitor_spec.rb +37 -0
- data/vendor/jruby/1.9/gems/jrmonitor-0.4.2/spec/lib/process_monitor_spec.rb +40 -0
- data/vendor/jruby/1.9/gems/jrmonitor-0.4.2/spec/lib/system_monitor_spec.rb +27 -0
- data/vendor/jruby/1.9/gems/jrmonitor-0.4.2/spec/lib/thread_monitor_spec.rb +105 -0
- data/vendor/jruby/1.9/gems/jrmonitor-0.4.2/spec/spec_helper.rb +2 -0
- data/vendor/jruby/1.9/gems/json-2.0.3-java/lib/json.rb +63 -0
- data/vendor/jruby/1.9/gems/json-2.0.3-java/lib/json/add/bigdecimal.rb +29 -0
- data/vendor/jruby/1.9/gems/json-2.0.3-java/lib/json/add/complex.rb +29 -0
- data/vendor/jruby/1.9/gems/json-2.0.3-java/lib/json/add/core.rb +12 -0
- data/vendor/jruby/1.9/gems/json-2.0.3-java/lib/json/add/date.rb +34 -0
- data/vendor/jruby/1.9/gems/json-2.0.3-java/lib/json/add/date_time.rb +50 -0
- data/vendor/jruby/1.9/gems/json-2.0.3-java/lib/json/add/exception.rb +31 -0
- data/vendor/jruby/1.9/gems/json-2.0.3-java/lib/json/add/ostruct.rb +31 -0
- data/vendor/jruby/1.9/gems/json-2.0.3-java/lib/json/add/range.rb +29 -0
- data/vendor/jruby/1.9/gems/json-2.0.3-java/lib/json/add/rational.rb +28 -0
- data/vendor/jruby/1.9/gems/json-2.0.3-java/lib/json/add/regexp.rb +30 -0
- data/vendor/jruby/1.9/gems/json-2.0.3-java/lib/json/add/struct.rb +30 -0
- data/vendor/jruby/1.9/gems/json-2.0.3-java/lib/json/add/symbol.rb +25 -0
- data/vendor/jruby/1.9/gems/json-2.0.3-java/lib/json/add/time.rb +38 -0
- data/vendor/jruby/1.9/gems/json-2.0.3-java/lib/json/common.rb +456 -0
- data/vendor/jruby/1.9/gems/json-2.0.3-java/lib/json/ext.rb +15 -0
- data/vendor/jruby/1.9/gems/json-2.0.3-java/lib/json/ext/generator.jar +0 -0
- data/vendor/jruby/1.9/gems/json-2.0.3-java/lib/json/ext/parser.jar +0 -0
- data/vendor/jruby/1.9/gems/json-2.0.3-java/lib/json/generic_object.rb +71 -0
- data/vendor/jruby/1.9/gems/json-2.0.3-java/lib/json/pure.rb +15 -0
- data/vendor/jruby/1.9/gems/json-2.0.3-java/lib/json/pure/generator.rb +458 -0
- data/vendor/jruby/1.9/gems/json-2.0.3-java/lib/json/pure/parser.rb +307 -0
- data/vendor/jruby/1.9/gems/json-2.0.3-java/lib/json/version.rb +9 -0
- data/vendor/jruby/1.9/gems/json-2.0.3-java/tests/fixtures/fail10.json +1 -0
- data/vendor/jruby/1.9/gems/json-2.0.3-java/tests/fixtures/fail11.json +1 -0
- data/vendor/jruby/1.9/gems/json-2.0.3-java/tests/fixtures/fail12.json +1 -0
- data/vendor/jruby/1.9/gems/json-2.0.3-java/tests/fixtures/fail13.json +1 -0
- data/vendor/jruby/1.9/gems/json-2.0.3-java/tests/fixtures/fail14.json +1 -0
- data/vendor/jruby/1.9/gems/json-2.0.3-java/tests/fixtures/fail18.json +1 -0
- data/vendor/jruby/1.9/gems/json-2.0.3-java/tests/fixtures/fail19.json +1 -0
- data/vendor/jruby/1.9/gems/json-2.0.3-java/tests/fixtures/fail2.json +1 -0
- data/vendor/jruby/1.9/gems/json-2.0.3-java/tests/fixtures/fail20.json +1 -0
- data/vendor/jruby/1.9/gems/json-2.0.3-java/tests/fixtures/fail21.json +1 -0
- data/vendor/jruby/1.9/gems/json-2.0.3-java/tests/fixtures/fail22.json +1 -0
- data/vendor/jruby/1.9/gems/json-2.0.3-java/tests/fixtures/fail23.json +1 -0
- data/vendor/jruby/1.9/gems/json-2.0.3-java/tests/fixtures/fail24.json +1 -0
- data/vendor/jruby/1.9/gems/json-2.0.3-java/tests/fixtures/fail25.json +1 -0
- data/vendor/jruby/1.9/gems/json-2.0.3-java/tests/fixtures/fail27.json +2 -0
- data/vendor/jruby/1.9/gems/json-2.0.3-java/tests/fixtures/fail28.json +2 -0
- data/vendor/jruby/1.9/gems/json-2.0.3-java/tests/fixtures/fail3.json +1 -0
- data/vendor/jruby/1.9/gems/json-2.0.3-java/tests/fixtures/fail4.json +1 -0
- data/vendor/jruby/1.9/gems/json-2.0.3-java/tests/fixtures/fail5.json +1 -0
- data/vendor/jruby/1.9/gems/json-2.0.3-java/tests/fixtures/fail6.json +1 -0
- data/vendor/jruby/1.9/gems/json-2.0.3-java/tests/fixtures/fail7.json +1 -0
- data/vendor/jruby/1.9/gems/json-2.0.3-java/tests/fixtures/fail8.json +1 -0
- data/vendor/jruby/1.9/gems/json-2.0.3-java/tests/fixtures/fail9.json +1 -0
- data/vendor/jruby/1.9/gems/json-2.0.3-java/tests/fixtures/obsolete_fail1.json +1 -0
- data/vendor/jruby/1.9/gems/json-2.0.3-java/tests/fixtures/pass1.json +56 -0
- data/vendor/jruby/1.9/gems/json-2.0.3-java/tests/fixtures/pass15.json +1 -0
- data/vendor/jruby/1.9/gems/json-2.0.3-java/tests/fixtures/pass16.json +1 -0
- data/vendor/jruby/1.9/gems/json-2.0.3-java/tests/fixtures/pass17.json +1 -0
- data/vendor/jruby/1.9/gems/json-2.0.3-java/tests/fixtures/pass2.json +1 -0
- data/vendor/jruby/1.9/gems/json-2.0.3-java/tests/fixtures/pass26.json +1 -0
- data/vendor/jruby/1.9/gems/json-2.0.3-java/tests/fixtures/pass3.json +6 -0
- data/vendor/jruby/1.9/gems/json-2.0.3-java/tests/json_addition_test.rb +193 -0
- data/vendor/jruby/1.9/gems/json-2.0.3-java/tests/json_common_interface_test.rb +126 -0
- data/vendor/jruby/1.9/gems/json-2.0.3-java/tests/json_encoding_test.rb +105 -0
- data/vendor/jruby/1.9/gems/json-2.0.3-java/tests/json_ext_parser_test.rb +15 -0
- data/vendor/jruby/1.9/gems/json-2.0.3-java/tests/json_fixtures_test.rb +32 -0
- data/vendor/jruby/1.9/gems/json-2.0.3-java/tests/json_generator_test.rb +377 -0
- data/vendor/jruby/1.9/gems/json-2.0.3-java/tests/json_generic_object_test.rb +82 -0
- data/vendor/jruby/1.9/gems/json-2.0.3-java/tests/json_parser_test.rb +466 -0
- data/vendor/jruby/1.9/gems/json-2.0.3-java/tests/json_string_matching_test.rb +38 -0
- data/vendor/jruby/1.9/gems/json-2.0.3-java/tests/test_helper.rb +21 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/AUTHORS +1 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/CONTRIBUTERS +50 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/COPYING +30 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/README.md +71 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/Rakefile +272 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/VERSION +1 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/benchmark/benchmark.rb +43 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/benchmark/benchmark.sh +74 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/benchmark/generate_data.rb +119 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/benchmark/mdbasics.text +306 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/benchmark/mdsyntax.text +888 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/benchmark/testing.sh +12 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/benchmark/timing.sh +10 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/bin/kramdown +69 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/data/kramdown/document.html +22 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/data/kramdown/document.latex +50 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/doc/_design.scss +441 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/doc/bg.png +0 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/doc/default.scss +192 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/doc/default.template +62 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/doc/documentation.page +84 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/doc/documentation.template +30 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/doc/index.page +109 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/doc/installation.page +86 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/doc/links.markdown +6 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/doc/metainfo +3 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/doc/news.feed +9 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/doc/news.page +29 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/doc/options.page +49 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/doc/quickref.page +599 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/doc/sidebar.template +19 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/doc/sitemap.sitemap +5 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/doc/syntax.page +1791 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/doc/tests.page +104 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/doc/virtual +14 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/lib/kramdown.rb +10 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/lib/kramdown/compatibility.rb +48 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/lib/kramdown/converter.rb +68 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/lib/kramdown/converter/base.rb +267 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/lib/kramdown/converter/hash_ast.rb +36 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/lib/kramdown/converter/html.rb +471 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/lib/kramdown/converter/kramdown.rb +437 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/lib/kramdown/converter/latex.rb +613 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/lib/kramdown/converter/man.rb +303 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/lib/kramdown/converter/math_engine/itex2mml.rb +39 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/lib/kramdown/converter/math_engine/mathjax.rb +58 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/lib/kramdown/converter/math_engine/mathjaxnode.rb +56 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/lib/kramdown/converter/math_engine/ritex.rb +38 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/lib/kramdown/converter/pdf.rb +625 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/lib/kramdown/converter/remove_html_tags.rb +55 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/lib/kramdown/converter/syntax_highlighter.rb +56 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/lib/kramdown/converter/syntax_highlighter/coderay.rb +81 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/lib/kramdown/converter/syntax_highlighter/minted.rb +35 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/lib/kramdown/converter/syntax_highlighter/rouge.rb +59 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/lib/kramdown/converter/toc.rb +69 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/lib/kramdown/document.rb +144 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/lib/kramdown/element.rb +522 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/lib/kramdown/error.rb +17 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/lib/kramdown/options.rb +627 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/lib/kramdown/parser.rb +27 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/lib/kramdown/parser/base.rb +134 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/lib/kramdown/parser/gfm.rb +162 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/lib/kramdown/parser/html.rb +600 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/lib/kramdown/parser/kramdown.rb +368 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/lib/kramdown/parser/kramdown/abbreviation.rb +75 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/lib/kramdown/parser/kramdown/autolink.rb +37 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/lib/kramdown/parser/kramdown/blank_line.rb +30 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/lib/kramdown/parser/kramdown/block_boundary.rb +33 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/lib/kramdown/parser/kramdown/blockquote.rb +39 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/lib/kramdown/parser/kramdown/codeblock.rb +58 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/lib/kramdown/parser/kramdown/codespan.rb +44 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/lib/kramdown/parser/kramdown/emphasis.rb +61 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/lib/kramdown/parser/kramdown/eob.rb +26 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/lib/kramdown/parser/kramdown/escaped_chars.rb +25 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/lib/kramdown/parser/kramdown/extensions.rb +203 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/lib/kramdown/parser/kramdown/footnote.rb +63 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/lib/kramdown/parser/kramdown/header.rb +59 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/lib/kramdown/parser/kramdown/horizontal_rule.rb +27 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/lib/kramdown/parser/kramdown/html.rb +163 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/lib/kramdown/parser/kramdown/html_entity.rb +33 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/lib/kramdown/parser/kramdown/line_break.rb +25 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/lib/kramdown/parser/kramdown/link.rb +143 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/lib/kramdown/parser/kramdown/list.rb +255 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/lib/kramdown/parser/kramdown/math.rb +54 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/lib/kramdown/parser/kramdown/paragraph.rb +55 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/lib/kramdown/parser/kramdown/smart_quotes.rb +174 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/lib/kramdown/parser/kramdown/table.rb +173 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/lib/kramdown/parser/kramdown/typographic_symbol.rb +44 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/lib/kramdown/parser/markdown.rb +56 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/lib/kramdown/utils.rb +58 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/lib/kramdown/utils/configurable.rb +44 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/lib/kramdown/utils/entities.rb +347 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/lib/kramdown/utils/html.rb +77 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/lib/kramdown/utils/ordered_hash.rb +92 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/lib/kramdown/utils/string_scanner.rb +82 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/lib/kramdown/utils/unidecoder.rb +48 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/lib/kramdown/version.rb +15 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/man/man1/kramdown.1 +368 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/setup.rb +1585 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/run_tests.rb +46 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/test_files.rb +410 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/test_location.rb +229 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/test_string_scanner_kramdown.rb +30 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/01_blank_line/spaces.html +1 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/01_blank_line/spaces.text +3 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/01_blank_line/tabs.html +1 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/01_blank_line/tabs.text +6 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/02_eob/beginning.html +1 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/02_eob/beginning.text +3 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/02_eob/end.html +1 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/02_eob/end.text +3 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/02_eob/middle.html +1 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/02_eob/middle.text +5 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/03_paragraph/indented.html +18 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/03_paragraph/indented.html.gfm +18 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/03_paragraph/indented.text +19 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/03_paragraph/no_newline_at_end.html +5 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/03_paragraph/no_newline_at_end.text +5 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/03_paragraph/one_para.html +1 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/03_paragraph/one_para.text +1 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/03_paragraph/two_para.html +4 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/03_paragraph/two_para.text +4 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/04_header/atx_header.html +51 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/04_header/atx_header.text +48 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/04_header/atx_header_no_newline_at_end.html +1 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/04_header/atx_header_no_newline_at_end.text +1 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/04_header/header_type_offset.html +11 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/04_header/header_type_offset.kramdown +12 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/04_header/header_type_offset.latex +12 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/04_header/header_type_offset.options +2 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/04_header/header_type_offset.text +13 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/04_header/setext_header.html +32 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/04_header/setext_header.text +39 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/04_header/setext_header_no_newline_at_end.html +1 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/04_header/setext_header_no_newline_at_end.text +2 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/04_header/with_auto_id_prefix.html +3 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/04_header/with_auto_id_prefix.options +2 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/04_header/with_auto_id_prefix.text +3 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/04_header/with_auto_id_stripping.html +1 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/04_header/with_auto_id_stripping.options +1 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/04_header/with_auto_id_stripping.text +1 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/04_header/with_auto_ids.html +21 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/04_header/with_auto_ids.options +2 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/04_header/with_auto_ids.text +24 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/05_blockquote/indented.html +25 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/05_blockquote/indented.text +14 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/05_blockquote/lazy.html +34 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/05_blockquote/lazy.text +20 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/05_blockquote/nested.html +10 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/05_blockquote/nested.text +6 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/05_blockquote/no_newline_at_end.html +4 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/05_blockquote/no_newline_at_end.text +2 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/05_blockquote/very_long_line.html +3 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/05_blockquote/very_long_line.text +1 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/05_blockquote/with_code_blocks.html +15 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/05_blockquote/with_code_blocks.text +11 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/06_codeblock/disable-highlighting.html +4 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/06_codeblock/disable-highlighting.options +1 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/06_codeblock/disable-highlighting.text +4 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/06_codeblock/error.html +4 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/06_codeblock/error.text +4 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/06_codeblock/highlighting-minted-with-opts.latex +9 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/06_codeblock/highlighting-minted-with-opts.options +4 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/06_codeblock/highlighting-minted-with-opts.text +5 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/06_codeblock/highlighting-minted.latex +8 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/06_codeblock/highlighting-minted.options +3 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/06_codeblock/highlighting-minted.text +4 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/06_codeblock/highlighting-opts.html +6 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/06_codeblock/highlighting-opts.options +7 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/06_codeblock/highlighting-opts.text +4 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/06_codeblock/highlighting.html +6 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/06_codeblock/highlighting.options +5 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/06_codeblock/highlighting.text +4 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/06_codeblock/issue_gh45.html +164 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/06_codeblock/issue_gh45.test +188 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/06_codeblock/lazy.html +4 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/06_codeblock/lazy.text +5 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/06_codeblock/no_newline_at_end.html +2 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/06_codeblock/no_newline_at_end.text +1 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/06_codeblock/no_newline_at_end_1.html +2 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/06_codeblock/no_newline_at_end_1.text +2 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/06_codeblock/normal.html +13 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/06_codeblock/normal.text +10 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/06_codeblock/rouge/disabled.html +2 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/06_codeblock/rouge/disabled.options +4 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/06_codeblock/rouge/disabled.text +1 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/06_codeblock/rouge/multiple.html +11 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/06_codeblock/rouge/multiple.options +4 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/06_codeblock/rouge/multiple.text +11 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/06_codeblock/rouge/simple.html +10 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/06_codeblock/rouge/simple.options +3 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/06_codeblock/rouge/simple.text +9 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/06_codeblock/tilde_syntax.html +7 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/06_codeblock/tilde_syntax.text +9 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/06_codeblock/whitespace.html +3 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/06_codeblock/whitespace.text +3 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/06_codeblock/with_blank_line.html +13 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/06_codeblock/with_blank_line.text +12 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/06_codeblock/with_eob_marker.html +6 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/06_codeblock/with_eob_marker.text +5 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/06_codeblock/with_ial.html +6 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/06_codeblock/with_ial.text +5 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/06_codeblock/with_lang_in_fenced_block.html +24 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/06_codeblock/with_lang_in_fenced_block.options +2 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/06_codeblock/with_lang_in_fenced_block.text +33 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/06_codeblock/with_lang_in_fenced_block_any_char.html +8 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/06_codeblock/with_lang_in_fenced_block_any_char.options +2 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/06_codeblock/with_lang_in_fenced_block_any_char.text +11 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/06_codeblock/with_lang_in_fenced_block_name_with_dash.html +3 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/06_codeblock/with_lang_in_fenced_block_name_with_dash.options +2 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/06_codeblock/with_lang_in_fenced_block_name_with_dash.text +4 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/07_horizontal_rule/error.html +7 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/07_horizontal_rule/error.html.19 +7 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/07_horizontal_rule/error.text +7 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/07_horizontal_rule/normal.html +19 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/07_horizontal_rule/normal.text +20 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/07_horizontal_rule/sepspaces.html +3 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/07_horizontal_rule/sepspaces.text +3 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/07_horizontal_rule/septabs.html +3 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/07_horizontal_rule/septabs.text +3 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/08_list/escaping.html +17 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/08_list/escaping.text +17 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/08_list/item_ial.html +10 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/08_list/item_ial.text +8 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/08_list/lazy.html +39 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/08_list/lazy.text +29 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/08_list/lazy_and_nested.html +9 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/08_list/lazy_and_nested.text +4 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/08_list/list_and_hr.html +9 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/08_list/list_and_hr.text +5 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/08_list/list_and_others.html +40 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/08_list/list_and_others.text +26 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/08_list/mixed.html +117 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/08_list/mixed.text +66 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/08_list/nested.html +17 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/08_list/nested.text +7 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/08_list/other_first_element.html +39 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/08_list/other_first_element.text +18 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/08_list/simple_ol.html +19 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/08_list/simple_ol.text +13 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/08_list/simple_ul.html +48 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/08_list/simple_ul.text +36 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/08_list/single_item.html +3 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/08_list/single_item.text +1 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/08_list/special_cases.html +62 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/08_list/special_cases.text +40 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/09_html/comment.html +18 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/09_html/comment.text +15 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/09_html/content_model/deflists.html +6 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/09_html/content_model/deflists.options +1 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/09_html/content_model/deflists.text +6 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/09_html/content_model/tables.html +14 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/09_html/content_model/tables.options +1 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/09_html/content_model/tables.text +14 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/09_html/html5_attributes.html +13 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/09_html/html5_attributes.text +13 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/09_html/html_after_block.html +7 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/09_html/html_after_block.text +5 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/09_html/html_and_codeblocks.html +15 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/09_html/html_and_codeblocks.options +1 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/09_html/html_and_codeblocks.text +13 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/09_html/html_and_headers.html +5 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/09_html/html_and_headers.text +6 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/09_html/html_to_native/code.html +10 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/09_html/html_to_native/code.text +9 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/09_html/html_to_native/comment.html +7 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/09_html/html_to_native/comment.text +8 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/09_html/html_to_native/emphasis.html +6 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/09_html/html_to_native/emphasis.text +6 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/09_html/html_to_native/entity.html +1 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/09_html/html_to_native/entity.text +1 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/09_html/html_to_native/header.html +6 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/09_html/html_to_native/header.options +2 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/09_html/html_to_native/header.text +6 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/09_html/html_to_native/list_dl.html +8 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/09_html/html_to_native/list_dl.text +8 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/09_html/html_to_native/list_ol.html +15 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/09_html/html_to_native/list_ol.text +17 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/09_html/html_to_native/list_ul.html +19 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/09_html/html_to_native/list_ul.text +22 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/09_html/html_to_native/options +1 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/09_html/html_to_native/paragraph.html +3 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/09_html/html_to_native/paragraph.text +4 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/09_html/html_to_native/table_normal.html +12 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/09_html/html_to_native/table_normal.text +12 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/09_html/html_to_native/table_simple.html +61 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/09_html/html_to_native/table_simple.text +71 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/09_html/html_to_native/typography.html +1 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/09_html/html_to_native/typography.html.19 +1 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/09_html/html_to_native/typography.text +1 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/09_html/invalid_html_1.html +5 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/09_html/invalid_html_1.text +5 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/09_html/invalid_html_2.html +5 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/09_html/invalid_html_2.text +5 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/09_html/markdown_attr.html +38 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/09_html/markdown_attr.text +38 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/09_html/not_parsed.html +24 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/09_html/not_parsed.text +24 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/09_html/parse_as_raw.html +35 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/09_html/parse_as_raw.htmlinput +34 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/09_html/parse_as_raw.options +1 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/09_html/parse_as_raw.text +33 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/09_html/parse_as_span.html +12 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/09_html/parse_as_span.htmlinput +12 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/09_html/parse_as_span.options +1 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/09_html/parse_as_span.text +9 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/09_html/parse_block_html.html +21 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/09_html/parse_block_html.options +1 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/09_html/parse_block_html.text +17 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/09_html/processing_instruction.html +13 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/09_html/processing_instruction.text +12 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/09_html/simple.html +60 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/09_html/simple.html.19 +60 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/09_html/simple.options +1 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/09_html/simple.text +55 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/09_html/textarea.html +8 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/09_html/textarea.text +8 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/09_html/xml.html +8 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/09_html/xml.text +7 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/10_ald/simple.html +2 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/10_ald/simple.text +8 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/11_ial/auto_id_and_ial.html +1 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/11_ial/auto_id_and_ial.options +1 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/11_ial/auto_id_and_ial.text +2 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/11_ial/nested.html +11 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/11_ial/nested.text +15 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/11_ial/simple.html +29 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/11_ial/simple.text +41 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/12_extension/comment.html +8 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/12_extension/comment.text +12 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/12_extension/ignored.html +8 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/12_extension/ignored.text +8 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/12_extension/nomarkdown.html +10 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/12_extension/nomarkdown.kramdown +20 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/12_extension/nomarkdown.latex +13 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/12_extension/nomarkdown.text +21 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/12_extension/options.html +21 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/12_extension/options.text +21 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/12_extension/options2.html +10 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/12_extension/options2.text +5 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/12_extension/options3.html +7 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/12_extension/options3.text +7 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/13_definition_list/auto_ids.html +15 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/13_definition_list/auto_ids.text +18 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/13_definition_list/definition_at_beginning.html +1 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/13_definition_list/definition_at_beginning.text +1 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/13_definition_list/deflist_ial.html +4 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/13_definition_list/deflist_ial.text +4 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/13_definition_list/item_ial.html +17 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/13_definition_list/item_ial.text +16 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/13_definition_list/multiple_terms.html +13 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/13_definition_list/multiple_terms.text +10 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/13_definition_list/no_def_list.html +2 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/13_definition_list/no_def_list.text +2 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/13_definition_list/para_wrapping.html +10 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/13_definition_list/para_wrapping.text +6 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/13_definition_list/separated_by_eob.html +8 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/13_definition_list/separated_by_eob.text +5 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/13_definition_list/simple.html +10 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/13_definition_list/simple.text +10 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/13_definition_list/styled_terms.html +4 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/13_definition_list/styled_terms.text +2 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/13_definition_list/too_much_space.html +3 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/13_definition_list/too_much_space.text +4 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/13_definition_list/with_blocks.html +38 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/13_definition_list/with_blocks.text +24 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/14_table/errors.html +12 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/14_table/errors.text +13 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/14_table/escaping.html +52 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/14_table/escaping.text +19 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/14_table/footer.html +65 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/14_table/footer.text +25 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/14_table/header.html +117 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/14_table/header.text +39 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/14_table/no_table.html +3 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/14_table/no_table.text +3 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/14_table/simple.html +177 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/14_table/simple.html.19 +177 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/14_table/simple.text +49 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/14_table/table_with_footnote.html +25 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/14_table/table_with_footnote.latex +11 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/14_table/table_with_footnote.text +6 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/15_math/gh_128.html +2 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/15_math/gh_128.text +1 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/15_math/itex2mml.html +1 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/15_math/itex2mml.options +1 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/15_math/itex2mml.text +1 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/15_math/mathjax_preview.html +4 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/15_math/mathjax_preview.options +2 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/15_math/mathjax_preview.text +5 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/15_math/mathjax_preview_as_code.html +4 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/15_math/mathjax_preview_as_code.options +3 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/15_math/mathjax_preview_as_code.text +5 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/15_math/mathjax_preview_simple.html +4 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/15_math/mathjax_preview_simple.options +2 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/15_math/mathjax_preview_simple.text +5 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/15_math/mathjaxnode.html.19 +27 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/15_math/mathjaxnode.options +1 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/15_math/mathjaxnode.text +1 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/15_math/mathjaxnode_notexhints.html.19 +23 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/15_math/mathjaxnode_notexhints.options +3 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/15_math/mathjaxnode_notexhints.text +1 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/15_math/mathjaxnode_semantics.html.19 +32 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/15_math/mathjaxnode_semantics.options +3 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/15_math/mathjaxnode_semantics.text +1 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/15_math/no_engine.html +3 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/15_math/no_engine.options +1 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/15_math/no_engine.text +2 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/15_math/normal.html +29 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/15_math/normal.text +30 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/15_math/ritex.html +1 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/15_math/ritex.options +1 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/15_math/ritex.text +1 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/16_toc/no_toc.html +14 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/16_toc/no_toc.text +16 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/16_toc/toc_exclude.html +35 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/16_toc/toc_exclude.options +1 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/16_toc/toc_exclude.text +19 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/16_toc/toc_levels.html +24 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/16_toc/toc_levels.options +2 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/16_toc/toc_levels.text +16 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/16_toc/toc_with_footnotes.html +13 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/16_toc/toc_with_footnotes.options +1 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/block/16_toc/toc_with_footnotes.text +6 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/encoding.html +46 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/encoding.text +28 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/man/example.man +123 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/man/example.text +85 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/man/heading-name-dash-description.man +4 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/man/heading-name-dash-description.text +1 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/man/heading-name-description.man +4 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/man/heading-name-description.text +2 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/man/heading-name-section-description.man +4 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/man/heading-name-section-description.text +1 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/man/heading-name-section.man +2 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/man/heading-name-section.text +1 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/man/heading-name.man +2 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/man/heading-name.text +1 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/man/sections.man +4 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/man/sections.text +11 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/man/text-escaping.man +8 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/man/text-escaping.text +7 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/01_link/empty.html +5 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/01_link/empty.text +5 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/01_link/empty_title.htmlinput +3 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/01_link/empty_title.text +7 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/01_link/image_in_a.html +5 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/01_link/image_in_a.text +5 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/01_link/imagelinks.html +15 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/01_link/imagelinks.text +18 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/01_link/inline.html +46 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/01_link/inline.html.19 +46 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/01_link/inline.text +48 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/01_link/link_defs.html +9 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/01_link/link_defs.text +27 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/01_link/link_defs_with_ial.html +4 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/01_link/link_defs_with_ial.text +16 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/01_link/links_with_angle_brackets.html +3 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/01_link/links_with_angle_brackets.text +3 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/01_link/reference.html +37 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/01_link/reference.html.19 +37 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/01_link/reference.options +3 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/01_link/reference.text +53 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/02_emphasis/empty.html +3 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/02_emphasis/empty.text +3 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/02_emphasis/errors.html +9 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/02_emphasis/errors.text +9 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/02_emphasis/nesting.html +41 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/02_emphasis/nesting.text +36 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/02_emphasis/normal.html +61 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/02_emphasis/normal.options +1 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/02_emphasis/normal.text +59 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/03_codespan/empty.html +5 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/03_codespan/empty.text +5 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/03_codespan/errors.html +1 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/03_codespan/errors.text +1 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/03_codespan/highlighting-minted.latex +2 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/03_codespan/highlighting-minted.options +1 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/03_codespan/highlighting-minted.text +1 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/03_codespan/highlighting.html +1 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/03_codespan/highlighting.text +1 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/03_codespan/normal.html +16 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/03_codespan/normal.text +16 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/03_codespan/rouge/disabled.html +1 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/03_codespan/rouge/disabled.options +4 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/03_codespan/rouge/disabled.text +1 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/03_codespan/rouge/simple.html +1 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/03_codespan/rouge/simple.options +1 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/03_codespan/rouge/simple.text +1 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/04_footnote/backlink_text.html +9 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/04_footnote/backlink_text.options +1 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/04_footnote/backlink_text.text +3 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/04_footnote/definitions.html +17 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/04_footnote/definitions.latex +17 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/04_footnote/definitions.text +24 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/04_footnote/footnote_nr.html +12 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/04_footnote/footnote_nr.latex +2 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/04_footnote/footnote_nr.options +1 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/04_footnote/footnote_nr.text +4 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/04_footnote/inside_footnote.html +17 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/04_footnote/inside_footnote.text +9 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/04_footnote/markers.html +46 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/04_footnote/markers.latex +23 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/04_footnote/markers.text +27 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/04_footnote/placement.html +11 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/04_footnote/placement.text +8 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/04_footnote/regexp_problem.html +14 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/04_footnote/regexp_problem.text +52 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/04_footnote/without_backlink.html +9 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/04_footnote/without_backlink.options +1 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/04_footnote/without_backlink.text +3 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/05_html/across_lines.html +1 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/05_html/across_lines.text +2 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/05_html/button.html +7 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/05_html/button.text +7 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/05_html/invalid.html +1 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/05_html/invalid.text +1 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/05_html/link_with_mailto.html +1 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/05_html/link_with_mailto.text +1 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/05_html/mark_element.html +3 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/05_html/mark_element.text +3 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/05_html/markdown_attr.html +6 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/05_html/markdown_attr.text +6 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/05_html/normal.html +43 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/05_html/normal.text +43 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/05_html/raw_span_elements.html +2 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/05_html/raw_span_elements.text +2 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/05_html/xml.html +5 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/05_html/xml.text +5 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/abbreviations/abbrev.html +21 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/abbreviations/abbrev.text +34 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/abbreviations/abbrev_defs.html +2 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/abbreviations/abbrev_defs.text +5 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/autolinks/url_links.html +15 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/autolinks/url_links.text +16 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/escaped_chars/normal.html +47 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/escaped_chars/normal.text +47 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/extension/comment.html +6 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/extension/comment.text +6 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/extension/ignored.html +1 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/extension/ignored.text +1 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/extension/nomarkdown.html +1 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/extension/nomarkdown.text +1 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/extension/options.html +1 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/extension/options.text +1 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/ial/simple.html +6 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/ial/simple.text +6 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/line_breaks/normal.html +11 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/line_breaks/normal.latex +12 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/line_breaks/normal.text +11 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/math/itex2mml.html +1 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/math/itex2mml.options +1 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/math/itex2mml.text +1 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/math/mathjaxnode.html.19 +27 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/math/mathjaxnode.options +1 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/math/mathjaxnode.text +1 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/math/no_engine.html +1 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/math/no_engine.options +1 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/math/no_engine.text +1 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/math/normal.html +10 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/math/normal.text +10 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/math/ritex.html +1 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/math/ritex.options +1 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/math/ritex.text +1 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/text_substitutions/entities.html +6 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/text_substitutions/entities.options +1 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/text_substitutions/entities.text +6 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/text_substitutions/entities_as_char.html +1 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/text_substitutions/entities_as_char.html.19 +1 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/text_substitutions/entities_as_char.options +2 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/text_substitutions/entities_as_char.text +1 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/text_substitutions/entities_as_input.html +1 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/text_substitutions/entities_as_input.options +1 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/text_substitutions/entities_as_input.text +1 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/text_substitutions/entities_numeric.html +1 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/text_substitutions/entities_numeric.options +1 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/text_substitutions/entities_numeric.text +1 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/text_substitutions/entities_symbolic.html +1 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/text_substitutions/entities_symbolic.options +1 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/text_substitutions/entities_symbolic.text +1 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/text_substitutions/greaterthan.html +1 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/text_substitutions/greaterthan.text +1 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/text_substitutions/lowerthan.html +1 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/text_substitutions/lowerthan.text +1 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/text_substitutions/typography.html +40 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/text_substitutions/typography.options +1 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases/span/text_substitutions/typography.text +40 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases_gfm/atx_header.html +3 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases_gfm/atx_header.text +3 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases_gfm/backticks_disable_highlighting.html +2 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases_gfm/backticks_disable_highlighting.options +1 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases_gfm/backticks_disable_highlighting.text +3 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases_gfm/backticks_syntax.html +20 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases_gfm/backticks_syntax.text +19 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases_gfm/codeblock_fenced.html +20 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases_gfm/codeblock_fenced.options +1 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases_gfm/codeblock_fenced.text +21 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases_gfm/hard_line_breaks.html +3 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases_gfm/hard_line_breaks.text +3 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases_gfm/hard_line_breaks_off.html +2 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases_gfm/hard_line_breaks_off.options +1 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases_gfm/hard_line_breaks_off.text +2 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases_gfm/header_ids.html +27 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases_gfm/header_ids.html.19 +27 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases_gfm/header_ids.options +1 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases_gfm/header_ids.text +27 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases_gfm/header_ids_with_prefix.html +3 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases_gfm/header_ids_with_prefix.options +2 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases_gfm/header_ids_with_prefix.text +3 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases_gfm/paragraph_end-disabled.html +31 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases_gfm/paragraph_end-disabled.options +1 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases_gfm/paragraph_end-disabled.text +27 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases_gfm/paragraph_end.html +38 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases_gfm/paragraph_end.text +27 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases_gfm/strikethrough.html +27 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases_gfm/strikethrough.html.19 +27 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases_gfm/strikethrough.text +27 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases_gfm/two_para_hard_line_breaks.html +4 -0
- data/vendor/jruby/1.9/gems/kramdown-1.13.2/test/testcases_gfm/two_para_hard_line_breaks.text +4 -0
- data/vendor/jruby/1.9/gems/logstash-codec-plain-3.0.2/CHANGELOG.md +16 -0
- data/vendor/jruby/1.9/gems/logstash-codec-plain-3.0.2/CONTRIBUTORS +16 -0
- data/vendor/jruby/1.9/gems/logstash-codec-plain-3.0.2/Gemfile +4 -0
- data/vendor/jruby/1.9/gems/logstash-codec-plain-3.0.2/LICENSE +13 -0
- data/vendor/jruby/1.9/gems/logstash-codec-plain-3.0.2/NOTICE.TXT +5 -0
- data/vendor/jruby/1.9/gems/logstash-codec-plain-3.0.2/README.md +98 -0
- data/vendor/jruby/1.9/gems/logstash-codec-plain-3.0.2/lib/logstash/codecs/plain.rb +47 -0
- data/vendor/jruby/1.9/gems/logstash-codec-plain-3.0.2/logstash-codec-plain.gemspec +27 -0
- data/vendor/jruby/1.9/gems/logstash-codec-plain-3.0.2/spec/codecs/plain_spec.rb +106 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/gemspec_jars.rb +9 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/lib/com/fasterxml/jackson/core/jackson-annotations/2.7.0/jackson-annotations-2.7.0.jar +0 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/lib/com/fasterxml/jackson/core/jackson-core/2.7.4/jackson-core-2.7.4.jar +0 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/lib/com/fasterxml/jackson/core/jackson-databind/2.7.4/jackson-databind-2.7.4.jar +0 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/lib/logstash-core.rb +1 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/lib/logstash-core/logstash-core.jar +0 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/lib/logstash-core/logstash-core.rb +25 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/lib/logstash-core/version.rb +8 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/lib/logstash-core_jars.rb +9 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/lib/logstash/agent.rb +367 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/lib/logstash/api/app_helpers.rb +74 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/lib/logstash/api/command_factory.rb +38 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/lib/logstash/api/commands/base.rb +27 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/lib/logstash/api/commands/default_metadata.rb +28 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/lib/logstash/api/commands/hot_threads_reporter.rb +58 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/lib/logstash/api/commands/node.rb +63 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/lib/logstash/api/commands/stats.rb +103 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/lib/logstash/api/commands/system/basicinfo_command.rb +20 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/lib/logstash/api/commands/system/plugins_command.rb +35 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/lib/logstash/api/errors.rb +28 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/lib/logstash/api/modules/base.rb +47 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/lib/logstash/api/modules/logging.rb +52 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/lib/logstash/api/modules/node.rb +36 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/lib/logstash/api/modules/node_stats.rb +44 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/lib/logstash/api/modules/plugins.rb +15 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/lib/logstash/api/modules/root.rb +13 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/lib/logstash/api/modules/stats.rb +41 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/lib/logstash/api/rack_app.rb +113 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/lib/logstash/api/service.rb +34 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/lib/logstash/build.rb +6 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/lib/logstash/codecs/base.rb +83 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/lib/logstash/config/config_ast.rb +563 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/lib/logstash/config/cpu_core_strategy.rb +32 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/lib/logstash/config/defaults.rb +20 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/lib/logstash/config/file.rb +37 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/lib/logstash/config/grammar.rb +3503 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/lib/logstash/config/loader.rb +107 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/lib/logstash/config/mixin.rb +596 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/lib/logstash/environment.rb +161 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/lib/logstash/errors.rb +12 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/lib/logstash/event_dispatcher.rb +40 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/lib/logstash/filter_delegator.rb +67 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/lib/logstash/filters/base.rb +224 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/lib/logstash/inputs/base.rb +122 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/lib/logstash/inputs/threadable.rb +18 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/lib/logstash/instrument/collector.rb +112 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/lib/logstash/instrument/metric.rb +103 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/lib/logstash/instrument/metric_store.rb +322 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/lib/logstash/instrument/metric_type.rb +24 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/lib/logstash/instrument/metric_type/base.rb +31 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/lib/logstash/instrument/metric_type/counter.rb +29 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/lib/logstash/instrument/metric_type/gauge.rb +22 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/lib/logstash/instrument/metric_type/mean.rb +33 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/lib/logstash/instrument/namespaced_metric.rb +54 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/lib/logstash/instrument/namespaced_null_metric.rb +54 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/lib/logstash/instrument/null_metric.rb +60 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/lib/logstash/instrument/periodic_poller/base.rb +73 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/lib/logstash/instrument/periodic_poller/jvm.rb +193 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/lib/logstash/instrument/periodic_poller/load_average.rb +47 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/lib/logstash/instrument/periodic_poller/os.rb +13 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/lib/logstash/instrument/periodic_pollers.rb +26 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/lib/logstash/instrument/snapshot.rb +15 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/lib/logstash/java_integration.rb +116 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/lib/logstash/json.rb +60 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/lib/logstash/logging.rb +3 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/lib/logstash/logging/json.rb +21 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/lib/logstash/logging/logger.rb +127 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/lib/logstash/namespace.rb +14 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/lib/logstash/output_delegator.rb +49 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/lib/logstash/output_delegator_strategies/legacy.rb +30 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/lib/logstash/output_delegator_strategies/shared.rb +21 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/lib/logstash/output_delegator_strategies/single.rb +24 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/lib/logstash/output_delegator_strategy_registry.rb +36 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/lib/logstash/outputs/base.rb +113 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/lib/logstash/patches.rb +6 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/lib/logstash/patches/bugfix_jruby_2558.rb +51 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/lib/logstash/patches/cabin.rb +35 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/lib/logstash/patches/clamp.rb +96 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/lib/logstash/patches/exception_to_json.rb +5 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/lib/logstash/patches/profile_require_calls.rb +47 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/lib/logstash/patches/puma.rb +44 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/lib/logstash/patches/rubygems.rb +38 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/lib/logstash/patches/stronger_openssl_defaults.rb +68 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/lib/logstash/pipeline.rb +565 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/lib/logstash/pipeline_reporter.rb +109 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/lib/logstash/plugin.rb +129 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/lib/logstash/plugins/hooks_registry.rb +57 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/lib/logstash/plugins/registry.rb +248 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/lib/logstash/program.rb +14 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/lib/logstash/runner.rb +425 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/lib/logstash/settings.rb +497 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/lib/logstash/shutdown_watcher.rb +94 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/lib/logstash/universal_plugin.rb +13 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/lib/logstash/util.rb +212 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/lib/logstash/util/buftok.rb +139 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/lib/logstash/util/byte_value.rb +60 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/lib/logstash/util/charset.rb +35 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/lib/logstash/util/decorators.rb +54 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/lib/logstash/util/duration_formatter.rb +15 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/lib/logstash/util/filetools.rb +186 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/lib/logstash/util/java_version.rb +50 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/lib/logstash/util/loggable.rb +31 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/lib/logstash/util/password.rb +25 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/lib/logstash/util/plugin_version.rb +56 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/lib/logstash/util/prctl.rb +10 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/lib/logstash/util/retryable.rb +40 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/lib/logstash/util/safe_uri.rb +51 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/lib/logstash/util/socket_peer.rb +7 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/lib/logstash/util/thread_dump.rb +55 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/lib/logstash/util/time_value.rb +70 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/lib/logstash/util/unicode_trimmer.rb +81 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/lib/logstash/util/worker_threads_default_printer.rb +29 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/lib/logstash/util/wrapped_acked_queue.rb +347 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/lib/logstash/util/wrapped_synchronous_queue.rb +278 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/lib/logstash/version.rb +14 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/lib/logstash/webserver.rb +95 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/lib/org/apache/logging/log4j/log4j-1.2-api/2.6.2/log4j-1.2-api-2.6.2.jar +0 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/lib/org/apache/logging/log4j/log4j-api/2.6.2/log4j-api-2.6.2.jar +0 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/lib/org/apache/logging/log4j/log4j-core/2.6.2/log4j-core-2.6.2.jar +0 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/locales/en.yml +269 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/logstash-core.gemspec +58 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/spec/api/lib/api/logging_spec.rb +41 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/spec/api/lib/api/node_plugins_spec.rb +33 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/spec/api/lib/api/node_spec.rb +151 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/spec/api/lib/api/node_stats_spec.rb +87 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/spec/api/lib/api/plugins_spec.rb +53 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/spec/api/lib/api/root_spec.rb +18 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/spec/api/lib/api/support/resource_dsl_methods.rb +87 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/spec/api/lib/commands/stats.rb +47 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/spec/api/lib/errors_spec.rb +27 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/spec/api/lib/rack_app_spec.rb +90 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/spec/api/spec_helper.rb +109 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/spec/conditionals_spec.rb +441 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/spec/logstash/agent_spec.rb +588 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/spec/logstash/codecs/base_spec.rb +74 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/spec/logstash/config/config_ast_spec.rb +224 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/spec/logstash/config/cpu_core_strategy_spec.rb +123 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/spec/logstash/config/defaults_spec.rb +10 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/spec/logstash/config/loader_spec.rb +38 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/spec/logstash/config/mixin_spec.rb +421 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/spec/logstash/environment_spec.rb +94 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/spec/logstash/event_dispatcher_spec.rb +76 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/spec/logstash/filter_delegator_spec.rb +159 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/spec/logstash/filters/base_spec.rb +296 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/spec/logstash/inputs/base_spec.rb +74 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/spec/logstash/instrument/collector_spec.rb +49 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/spec/logstash/instrument/metric_spec.rb +110 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/spec/logstash/instrument/metric_store_spec.rb +261 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/spec/logstash/instrument/metric_type/counter_spec.rb +35 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/spec/logstash/instrument/metric_type/gauge_spec.rb +37 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/spec/logstash/instrument/namespaced_metric_spec.rb +91 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/spec/logstash/instrument/namespaced_null_metric_spec.rb +33 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/spec/logstash/instrument/null_metric_spec.rb +23 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/spec/logstash/instrument/periodic_poller/base_spec.rb +32 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/spec/logstash/instrument/periodic_poller/jvm_spec.rb +115 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/spec/logstash/instrument/periodic_poller/load_average_spec.rb +91 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/spec/logstash/java_integration_spec.rb +304 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/spec/logstash/json_spec.rb +125 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/spec/logstash/output_delegator_spec.rb +140 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/spec/logstash/outputs/base_spec.rb +115 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/spec/logstash/patches_spec.rb +101 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/spec/logstash/pipeline_pq_file_spec.rb +131 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/spec/logstash/pipeline_reporter_spec.rb +85 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/spec/logstash/pipeline_spec.rb +732 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/spec/logstash/plugin_spec.rb +335 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/spec/logstash/plugins/hooks_registry_spec.rb +60 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/spec/logstash/plugins/registry_spec.rb +65 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/spec/logstash/runner_spec.rb +369 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/spec/logstash/setting_spec.rb +152 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/spec/logstash/settings/bytes_spec.rb +53 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/spec/logstash/settings/integer_spec.rb +20 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/spec/logstash/settings/numeric_spec.rb +28 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/spec/logstash/settings/port_range_spec.rb +93 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/spec/logstash/settings/string_spec.rb +21 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/spec/logstash/settings/time_value_spec.rb +31 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/spec/logstash/settings/writable_directory_spec.rb +125 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/spec/logstash/settings_spec.rb +128 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/spec/logstash/shutdown_watcher_spec.rb +113 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/spec/logstash/util/buftok_spec.rb +31 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/spec/logstash/util/byte_value_spec.rb +33 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/spec/logstash/util/charset_spec.rb +74 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/spec/logstash/util/duration_formatter_spec.rb +11 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/spec/logstash/util/java_version_spec.rb +87 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/spec/logstash/util/plugin_version_spec.rb +64 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/spec/logstash/util/time_value_spec.rb +59 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/spec/logstash/util/unicode_trimmer_spec.rb +55 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/spec/logstash/util/wrapped_synchronous_queue_spec.rb +120 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/spec/logstash/util_spec.rb +63 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/spec/logstash/webserver_spec.rb +150 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/spec/static/i18n_spec.rb +25 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/spec/support/helpers.rb +16 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/spec/support/matchers.rb +30 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/spec/support/mocks_classes.rb +79 -0
- data/vendor/jruby/1.9/gems/logstash-core-5.1.1.1-java/spec/support/shared_examples.rb +108 -0
- data/vendor/jruby/1.9/gems/logstash-core-event-java-5.1.1.1-java/gemspec_jars.rb +9 -0
- data/vendor/jruby/1.9/gems/logstash-core-event-java-5.1.1.1-java/lib/com/fasterxml/jackson/core/jackson-annotations/2.7.0/jackson-annotations-2.7.0.jar +0 -0
- data/vendor/jruby/1.9/gems/logstash-core-event-java-5.1.1.1-java/lib/com/fasterxml/jackson/core/jackson-core/2.7.3/jackson-core-2.7.3.jar +0 -0
- data/vendor/jruby/1.9/gems/logstash-core-event-java-5.1.1.1-java/lib/com/fasterxml/jackson/core/jackson-databind/2.7.3/jackson-databind-2.7.3.jar +0 -0
- data/vendor/jruby/1.9/gems/logstash-core-event-java-5.1.1.1-java/lib/com/fasterxml/jackson/dataformat/jackson-dataformat-cbor/2.7.3/jackson-dataformat-cbor-2.7.3.jar +0 -0
- data/vendor/jruby/1.9/gems/logstash-core-event-java-5.1.1.1-java/lib/com/fasterxml/jackson/module/jackson-module-afterburner/2.7.3/jackson-module-afterburner-2.7.3.jar +0 -0
- data/vendor/jruby/1.9/gems/logstash-core-event-java-5.1.1.1-java/lib/logstash-core-event-java.rb +1 -0
- data/vendor/jruby/1.9/gems/logstash-core-event-java-5.1.1.1-java/lib/logstash-core-event-java/logstash-core-event-java.jar +0 -0
- data/vendor/jruby/1.9/gems/logstash-core-event-java-5.1.1.1-java/lib/logstash-core-event-java/logstash-core-event-java.rb +28 -0
- data/vendor/jruby/1.9/gems/logstash-core-event-java-5.1.1.1-java/lib/logstash-core-event-java/version.rb +8 -0
- data/vendor/jruby/1.9/gems/logstash-core-event-java-5.1.1.1-java/lib/logstash-core-event-java_jars.rb +9 -0
- data/vendor/jruby/1.9/gems/logstash-core-event-java-5.1.1.1-java/lib/logstash-core-event.rb +1 -0
- data/vendor/jruby/1.9/gems/logstash-core-event-java-5.1.1.1-java/lib/logstash/event.rb +58 -0
- data/vendor/jruby/1.9/gems/logstash-core-event-java-5.1.1.1-java/lib/logstash/string_interpolation.rb +18 -0
- data/vendor/jruby/1.9/gems/logstash-core-event-java-5.1.1.1-java/lib/logstash/timestamp.rb +28 -0
- data/vendor/jruby/1.9/gems/logstash-core-event-java-5.1.1.1-java/lib/org/apache/logging/log4j/log4j-api/2.6.2/log4j-api-2.6.2.jar +0 -0
- data/vendor/jruby/1.9/gems/logstash-core-event-java-5.1.1.1-java/logstash-core-event-java.gemspec +30 -0
- data/vendor/jruby/1.9/gems/logstash-core-event-java-5.1.1.1-java/spec/event_spec.rb +336 -0
- data/vendor/jruby/1.9/gems/logstash-core-event-java-5.1.1.1-java/spec/timestamp_spec.rb +29 -0
- data/vendor/jruby/1.9/gems/logstash-core-plugin-api-2.1.22-java/lib/logstash-core-plugin-api/version.rb +1 -0
- data/vendor/jruby/1.9/gems/logstash-core-plugin-api-2.1.22-java/logstash-core-plugin-api.gemspec +29 -0
- data/vendor/jruby/1.9/gems/logstash-core-queue-jruby-5.1.1.1-java/gemspec_jars.rb +4 -0
- data/vendor/jruby/1.9/gems/logstash-core-queue-jruby-5.1.1.1-java/lib/logstash-core-queue-jruby/logstash-core-queue-jruby.jar +0 -0
- data/vendor/jruby/1.9/gems/logstash-core-queue-jruby-5.1.1.1-java/lib/logstash-core-queue-jruby/logstash-core-queue-jruby.rb +24 -0
- data/vendor/jruby/1.9/gems/logstash-core-queue-jruby-5.1.1.1-java/lib/logstash-core-queue-jruby/version.rb +3 -0
- data/vendor/jruby/1.9/gems/logstash-core-queue-jruby-5.1.1.1-java/logstash-core-queue-jruby.gemspec +23 -0
- data/vendor/jruby/1.9/gems/logstash-devutils-1.2.1-java/CHANGELOG.md +2 -0
- data/vendor/jruby/1.9/gems/logstash-devutils-1.2.1-java/Gemfile +2 -0
- data/vendor/jruby/1.9/gems/logstash-devutils-1.2.1-java/LICENSE +202 -0
- data/vendor/jruby/1.9/gems/logstash-devutils-1.2.1-java/lib/logstash/devutils/rake.rb +3 -0
- data/vendor/jruby/1.9/gems/logstash-devutils-1.2.1-java/lib/logstash/devutils/rake/publish.rake +30 -0
- data/vendor/jruby/1.9/gems/logstash-devutils-1.2.1-java/lib/logstash/devutils/rake/vendor.rake +176 -0
- data/vendor/jruby/1.9/gems/logstash-devutils-1.2.1-java/lib/logstash/devutils/rspec/log4j2.properties +10 -0
- data/vendor/jruby/1.9/gems/logstash-devutils-1.2.1-java/lib/logstash/devutils/rspec/logstash_helpers.rb +112 -0
- data/vendor/jruby/1.9/gems/logstash-devutils-1.2.1-java/lib/logstash/devutils/rspec/shared_examples.rb +21 -0
- data/vendor/jruby/1.9/gems/logstash-devutils-1.2.1-java/lib/logstash/devutils/rspec/spec_helper.rb +66 -0
- data/vendor/jruby/1.9/gems/logstash-devutils-1.2.1-java/logstash-devutils.gemspec +47 -0
- data/vendor/jruby/1.9/gems/method_source-0.8.2/Gemfile +2 -0
- data/vendor/jruby/1.9/gems/method_source-0.8.2/LICENSE +25 -0
- data/vendor/jruby/1.9/gems/method_source-0.8.2/README.markdown +91 -0
- data/vendor/jruby/1.9/gems/method_source-0.8.2/Rakefile +79 -0
- data/vendor/jruby/1.9/gems/method_source-0.8.2/lib/method_source.rb +141 -0
- data/vendor/jruby/1.9/gems/method_source-0.8.2/lib/method_source/code_helpers.rb +154 -0
- data/vendor/jruby/1.9/gems/method_source-0.8.2/lib/method_source/source_location.rb +138 -0
- data/vendor/jruby/1.9/gems/method_source-0.8.2/lib/method_source/version.rb +3 -0
- data/vendor/jruby/1.9/gems/method_source-0.8.2/method_source.gemspec +33 -0
- data/vendor/jruby/1.9/gems/method_source-0.8.2/test/test.rb +138 -0
- data/vendor/jruby/1.9/gems/method_source-0.8.2/test/test_code_helpers.rb +41 -0
- data/vendor/jruby/1.9/gems/method_source-0.8.2/test/test_helper.rb +98 -0
- data/vendor/jruby/1.9/gems/minitar-0.5.4/ChangeLog +17 -0
- data/vendor/jruby/1.9/gems/minitar-0.5.4/Install +6 -0
- data/vendor/jruby/1.9/gems/minitar-0.5.4/README +68 -0
- data/vendor/jruby/1.9/gems/minitar-0.5.4/Rakefile +113 -0
- data/vendor/jruby/1.9/gems/minitar-0.5.4/bin/minitar +27 -0
- data/vendor/jruby/1.9/gems/minitar-0.5.4/lib/archive/tar/minitar.rb +985 -0
- data/vendor/jruby/1.9/gems/minitar-0.5.4/lib/archive/tar/minitar/command.rb +814 -0
- data/vendor/jruby/1.9/gems/minitar-0.5.4/tests/tc_tar.rb +629 -0
- data/vendor/jruby/1.9/gems/minitar-0.5.4/tests/testall.rb +10 -0
- data/vendor/jruby/1.9/gems/multipart-post-2.0.0/Gemfile +14 -0
- data/vendor/jruby/1.9/gems/multipart-post-2.0.0/History.txt +60 -0
- data/vendor/jruby/1.9/gems/multipart-post-2.0.0/Manifest.txt +9 -0
- data/vendor/jruby/1.9/gems/multipart-post-2.0.0/README.md +77 -0
- data/vendor/jruby/1.9/gems/multipart-post-2.0.0/Rakefile +9 -0
- data/vendor/jruby/1.9/gems/multipart-post-2.0.0/lib/composite_io.rb +108 -0
- data/vendor/jruby/1.9/gems/multipart-post-2.0.0/lib/multipart_post.rb +9 -0
- data/vendor/jruby/1.9/gems/multipart-post-2.0.0/lib/multipartable.rb +29 -0
- data/vendor/jruby/1.9/gems/multipart-post-2.0.0/lib/net/http/post/multipart.rb +27 -0
- data/vendor/jruby/1.9/gems/multipart-post-2.0.0/lib/parts.rb +96 -0
- data/vendor/jruby/1.9/gems/multipart-post-2.0.0/multipart-post.gemspec +22 -0
- data/vendor/jruby/1.9/gems/multipart-post-2.0.0/test/multibyte.txt +1 -0
- data/vendor/jruby/1.9/gems/multipart-post-2.0.0/test/net/http/post/test_multipart.rb +110 -0
- data/vendor/jruby/1.9/gems/multipart-post-2.0.0/test/test_composite_io.rb +115 -0
- data/vendor/jruby/1.9/gems/multipart-post-2.0.0/test/test_parts.rb +86 -0
- data/vendor/jruby/1.9/gems/numerizer-0.1.1/LICENSE +20 -0
- data/vendor/jruby/1.9/gems/numerizer-0.1.1/README.rdoc +24 -0
- data/vendor/jruby/1.9/gems/numerizer-0.1.1/Rakefile +56 -0
- data/vendor/jruby/1.9/gems/numerizer-0.1.1/VERSION +1 -0
- data/vendor/jruby/1.9/gems/numerizer-0.1.1/lib/numerizer.rb +133 -0
- data/vendor/jruby/1.9/gems/numerizer-0.1.1/numerizer.gemspec +50 -0
- data/vendor/jruby/1.9/gems/numerizer-0.1.1/test/test_helper.rb +9 -0
- data/vendor/jruby/1.9/gems/numerizer-0.1.1/test/test_numerizer.rb +92 -0
- data/vendor/jruby/1.9/gems/polyglot-0.3.5/History.txt +72 -0
- data/vendor/jruby/1.9/gems/polyglot-0.3.5/License.txt +20 -0
- data/vendor/jruby/1.9/gems/polyglot-0.3.5/README.txt +87 -0
- data/vendor/jruby/1.9/gems/polyglot-0.3.5/Rakefile +42 -0
- data/vendor/jruby/1.9/gems/polyglot-0.3.5/lib/polyglot.rb +76 -0
- data/vendor/jruby/1.9/gems/polyglot-0.3.5/lib/polyglot/version.rb +9 -0
- data/vendor/jruby/1.9/gems/pry-0.10.4-java/CHANGELOG.md +718 -0
- data/vendor/jruby/1.9/gems/pry-0.10.4-java/LICENSE +25 -0
- data/vendor/jruby/1.9/gems/pry-0.10.4-java/README.md +406 -0
- data/vendor/jruby/1.9/gems/pry-0.10.4-java/bin/pry +16 -0
- data/vendor/jruby/1.9/gems/pry-0.10.4-java/lib/pry.rb +161 -0
- data/vendor/jruby/1.9/gems/pry-0.10.4-java/lib/pry/cli.rb +220 -0
- data/vendor/jruby/1.9/gems/pry-0.10.4-java/lib/pry/code.rb +348 -0
- data/vendor/jruby/1.9/gems/pry-0.10.4-java/lib/pry/code/code_file.rb +103 -0
- data/vendor/jruby/1.9/gems/pry-0.10.4-java/lib/pry/code/code_range.rb +71 -0
- data/vendor/jruby/1.9/gems/pry-0.10.4-java/lib/pry/code/loc.rb +92 -0
- data/vendor/jruby/1.9/gems/pry-0.10.4-java/lib/pry/code_object.rb +172 -0
- data/vendor/jruby/1.9/gems/pry-0.10.4-java/lib/pry/color_printer.rb +55 -0
- data/vendor/jruby/1.9/gems/pry-0.10.4-java/lib/pry/command.rb +692 -0
- data/vendor/jruby/1.9/gems/pry-0.10.4-java/lib/pry/command_set.rb +443 -0
- data/vendor/jruby/1.9/gems/pry-0.10.4-java/lib/pry/commands.rb +6 -0
- data/vendor/jruby/1.9/gems/pry-0.10.4-java/lib/pry/commands/amend_line.rb +99 -0
- data/vendor/jruby/1.9/gems/pry-0.10.4-java/lib/pry/commands/bang.rb +20 -0
- data/vendor/jruby/1.9/gems/pry-0.10.4-java/lib/pry/commands/bang_pry.rb +17 -0
- data/vendor/jruby/1.9/gems/pry-0.10.4-java/lib/pry/commands/cat.rb +62 -0
- data/vendor/jruby/1.9/gems/pry-0.10.4-java/lib/pry/commands/cat/abstract_formatter.rb +27 -0
- data/vendor/jruby/1.9/gems/pry-0.10.4-java/lib/pry/commands/cat/exception_formatter.rb +77 -0
- data/vendor/jruby/1.9/gems/pry-0.10.4-java/lib/pry/commands/cat/file_formatter.rb +67 -0
- data/vendor/jruby/1.9/gems/pry-0.10.4-java/lib/pry/commands/cat/input_expression_formatter.rb +43 -0
- data/vendor/jruby/1.9/gems/pry-0.10.4-java/lib/pry/commands/cd.rb +41 -0
- data/vendor/jruby/1.9/gems/pry-0.10.4-java/lib/pry/commands/change_inspector.rb +27 -0
- data/vendor/jruby/1.9/gems/pry-0.10.4-java/lib/pry/commands/change_prompt.rb +26 -0
- data/vendor/jruby/1.9/gems/pry-0.10.4-java/lib/pry/commands/code_collector.rb +165 -0
- data/vendor/jruby/1.9/gems/pry-0.10.4-java/lib/pry/commands/disable_pry.rb +27 -0
- data/vendor/jruby/1.9/gems/pry-0.10.4-java/lib/pry/commands/disabled_commands.rb +2 -0
- data/vendor/jruby/1.9/gems/pry-0.10.4-java/lib/pry/commands/easter_eggs.rb +112 -0
- data/vendor/jruby/1.9/gems/pry-0.10.4-java/lib/pry/commands/edit.rb +195 -0
- data/vendor/jruby/1.9/gems/pry-0.10.4-java/lib/pry/commands/edit/exception_patcher.rb +25 -0
- data/vendor/jruby/1.9/gems/pry-0.10.4-java/lib/pry/commands/edit/file_and_line_locator.rb +36 -0
- data/vendor/jruby/1.9/gems/pry-0.10.4-java/lib/pry/commands/exit.rb +42 -0
- data/vendor/jruby/1.9/gems/pry-0.10.4-java/lib/pry/commands/exit_all.rb +29 -0
- data/vendor/jruby/1.9/gems/pry-0.10.4-java/lib/pry/commands/exit_program.rb +23 -0
- data/vendor/jruby/1.9/gems/pry-0.10.4-java/lib/pry/commands/find_method.rb +193 -0
- data/vendor/jruby/1.9/gems/pry-0.10.4-java/lib/pry/commands/fix_indent.rb +19 -0
- data/vendor/jruby/1.9/gems/pry-0.10.4-java/lib/pry/commands/gem_cd.rb +26 -0
- data/vendor/jruby/1.9/gems/pry-0.10.4-java/lib/pry/commands/gem_install.rb +32 -0
- data/vendor/jruby/1.9/gems/pry-0.10.4-java/lib/pry/commands/gem_list.rb +33 -0
- data/vendor/jruby/1.9/gems/pry-0.10.4-java/lib/pry/commands/gem_open.rb +29 -0
- data/vendor/jruby/1.9/gems/pry-0.10.4-java/lib/pry/commands/gist.rb +101 -0
- data/vendor/jruby/1.9/gems/pry-0.10.4-java/lib/pry/commands/help.rb +164 -0
- data/vendor/jruby/1.9/gems/pry-0.10.4-java/lib/pry/commands/hist.rb +180 -0
- data/vendor/jruby/1.9/gems/pry-0.10.4-java/lib/pry/commands/import_set.rb +22 -0
- data/vendor/jruby/1.9/gems/pry-0.10.4-java/lib/pry/commands/install_command.rb +53 -0
- data/vendor/jruby/1.9/gems/pry-0.10.4-java/lib/pry/commands/jump_to.rb +29 -0
- data/vendor/jruby/1.9/gems/pry-0.10.4-java/lib/pry/commands/list_inspectors.rb +35 -0
- data/vendor/jruby/1.9/gems/pry-0.10.4-java/lib/pry/commands/list_prompts.rb +35 -0
- data/vendor/jruby/1.9/gems/pry-0.10.4-java/lib/pry/commands/ls.rb +114 -0
- data/vendor/jruby/1.9/gems/pry-0.10.4-java/lib/pry/commands/ls/constants.rb +47 -0
- data/vendor/jruby/1.9/gems/pry-0.10.4-java/lib/pry/commands/ls/formatter.rb +49 -0
- data/vendor/jruby/1.9/gems/pry-0.10.4-java/lib/pry/commands/ls/globals.rb +48 -0
- data/vendor/jruby/1.9/gems/pry-0.10.4-java/lib/pry/commands/ls/grep.rb +21 -0
- data/vendor/jruby/1.9/gems/pry-0.10.4-java/lib/pry/commands/ls/instance_vars.rb +39 -0
- data/vendor/jruby/1.9/gems/pry-0.10.4-java/lib/pry/commands/ls/interrogatable.rb +18 -0
- data/vendor/jruby/1.9/gems/pry-0.10.4-java/lib/pry/commands/ls/jruby_hacks.rb +49 -0
- data/vendor/jruby/1.9/gems/pry-0.10.4-java/lib/pry/commands/ls/local_names.rb +35 -0
- data/vendor/jruby/1.9/gems/pry-0.10.4-java/lib/pry/commands/ls/local_vars.rb +39 -0
- data/vendor/jruby/1.9/gems/pry-0.10.4-java/lib/pry/commands/ls/ls_entity.rb +70 -0
- data/vendor/jruby/1.9/gems/pry-0.10.4-java/lib/pry/commands/ls/methods.rb +57 -0
- data/vendor/jruby/1.9/gems/pry-0.10.4-java/lib/pry/commands/ls/methods_helper.rb +46 -0
- data/vendor/jruby/1.9/gems/pry-0.10.4-java/lib/pry/commands/ls/self_methods.rb +32 -0
- data/vendor/jruby/1.9/gems/pry-0.10.4-java/lib/pry/commands/nesting.rb +25 -0
- data/vendor/jruby/1.9/gems/pry-0.10.4-java/lib/pry/commands/play.rb +103 -0
- data/vendor/jruby/1.9/gems/pry-0.10.4-java/lib/pry/commands/pry_backtrace.rb +25 -0
- data/vendor/jruby/1.9/gems/pry-0.10.4-java/lib/pry/commands/pry_version.rb +17 -0
- data/vendor/jruby/1.9/gems/pry-0.10.4-java/lib/pry/commands/raise_up.rb +32 -0
- data/vendor/jruby/1.9/gems/pry-0.10.4-java/lib/pry/commands/reload_code.rb +62 -0
- data/vendor/jruby/1.9/gems/pry-0.10.4-java/lib/pry/commands/reset.rb +18 -0
- data/vendor/jruby/1.9/gems/pry-0.10.4-java/lib/pry/commands/ri.rb +60 -0
- data/vendor/jruby/1.9/gems/pry-0.10.4-java/lib/pry/commands/save_file.rb +61 -0
- data/vendor/jruby/1.9/gems/pry-0.10.4-java/lib/pry/commands/shell_command.rb +48 -0
- data/vendor/jruby/1.9/gems/pry-0.10.4-java/lib/pry/commands/shell_mode.rb +25 -0
- data/vendor/jruby/1.9/gems/pry-0.10.4-java/lib/pry/commands/show_doc.rb +83 -0
- data/vendor/jruby/1.9/gems/pry-0.10.4-java/lib/pry/commands/show_info.rb +201 -0
- data/vendor/jruby/1.9/gems/pry-0.10.4-java/lib/pry/commands/show_input.rb +17 -0
- data/vendor/jruby/1.9/gems/pry-0.10.4-java/lib/pry/commands/show_source.rb +50 -0
- data/vendor/jruby/1.9/gems/pry-0.10.4-java/lib/pry/commands/simple_prompt.rb +22 -0
- data/vendor/jruby/1.9/gems/pry-0.10.4-java/lib/pry/commands/stat.rb +40 -0
- data/vendor/jruby/1.9/gems/pry-0.10.4-java/lib/pry/commands/switch_to.rb +23 -0
- data/vendor/jruby/1.9/gems/pry-0.10.4-java/lib/pry/commands/toggle_color.rb +24 -0
- data/vendor/jruby/1.9/gems/pry-0.10.4-java/lib/pry/commands/watch_expression.rb +105 -0
- data/vendor/jruby/1.9/gems/pry-0.10.4-java/lib/pry/commands/watch_expression/expression.rb +38 -0
- data/vendor/jruby/1.9/gems/pry-0.10.4-java/lib/pry/commands/whereami.rb +196 -0
- data/vendor/jruby/1.9/gems/pry-0.10.4-java/lib/pry/commands/wtf.rb +57 -0
- data/vendor/jruby/1.9/gems/pry-0.10.4-java/lib/pry/config.rb +24 -0
- data/vendor/jruby/1.9/gems/pry-0.10.4-java/lib/pry/config/behavior.rb +139 -0
- data/vendor/jruby/1.9/gems/pry-0.10.4-java/lib/pry/config/convenience.rb +25 -0
- data/vendor/jruby/1.9/gems/pry-0.10.4-java/lib/pry/config/default.rb +161 -0
- data/vendor/jruby/1.9/gems/pry-0.10.4-java/lib/pry/core_extensions.rb +131 -0
- data/vendor/jruby/1.9/gems/pry-0.10.4-java/lib/pry/editor.rb +135 -0
- data/vendor/jruby/1.9/gems/pry-0.10.4-java/lib/pry/exceptions.rb +78 -0
- data/vendor/jruby/1.9/gems/pry-0.10.4-java/lib/pry/helpers.rb +5 -0
- data/vendor/jruby/1.9/gems/pry-0.10.4-java/lib/pry/helpers/base_helpers.rb +113 -0
- data/vendor/jruby/1.9/gems/pry-0.10.4-java/lib/pry/helpers/command_helpers.rb +156 -0
- data/vendor/jruby/1.9/gems/pry-0.10.4-java/lib/pry/helpers/documentation_helpers.rb +75 -0
- data/vendor/jruby/1.9/gems/pry-0.10.4-java/lib/pry/helpers/options_helpers.rb +27 -0
- data/vendor/jruby/1.9/gems/pry-0.10.4-java/lib/pry/helpers/table.rb +109 -0
- data/vendor/jruby/1.9/gems/pry-0.10.4-java/lib/pry/helpers/text.rb +107 -0
- data/vendor/jruby/1.9/gems/pry-0.10.4-java/lib/pry/history.rb +127 -0
- data/vendor/jruby/1.9/gems/pry-0.10.4-java/lib/pry/history_array.rb +121 -0
- data/vendor/jruby/1.9/gems/pry-0.10.4-java/lib/pry/hooks.rb +230 -0
- data/vendor/jruby/1.9/gems/pry-0.10.4-java/lib/pry/indent.rb +406 -0
- data/vendor/jruby/1.9/gems/pry-0.10.4-java/lib/pry/input_completer.rb +242 -0
- data/vendor/jruby/1.9/gems/pry-0.10.4-java/lib/pry/input_lock.rb +132 -0
- data/vendor/jruby/1.9/gems/pry-0.10.4-java/lib/pry/inspector.rb +27 -0
- data/vendor/jruby/1.9/gems/pry-0.10.4-java/lib/pry/last_exception.rb +61 -0
- data/vendor/jruby/1.9/gems/pry-0.10.4-java/lib/pry/method.rb +546 -0
- data/vendor/jruby/1.9/gems/pry-0.10.4-java/lib/pry/method/disowned.rb +53 -0
- data/vendor/jruby/1.9/gems/pry-0.10.4-java/lib/pry/method/patcher.rb +125 -0
- data/vendor/jruby/1.9/gems/pry-0.10.4-java/lib/pry/method/weird_method_locator.rb +188 -0
- data/vendor/jruby/1.9/gems/pry-0.10.4-java/lib/pry/module_candidate.rb +137 -0
- data/vendor/jruby/1.9/gems/pry-0.10.4-java/lib/pry/object_path.rb +82 -0
- data/vendor/jruby/1.9/gems/pry-0.10.4-java/lib/pry/output.rb +50 -0
- data/vendor/jruby/1.9/gems/pry-0.10.4-java/lib/pry/pager.rb +239 -0
- data/vendor/jruby/1.9/gems/pry-0.10.4-java/lib/pry/plugins.rb +103 -0
- data/vendor/jruby/1.9/gems/pry-0.10.4-java/lib/pry/prompt.rb +26 -0
- data/vendor/jruby/1.9/gems/pry-0.10.4-java/lib/pry/pry_class.rb +375 -0
- data/vendor/jruby/1.9/gems/pry-0.10.4-java/lib/pry/pry_instance.rb +664 -0
- data/vendor/jruby/1.9/gems/pry-0.10.4-java/lib/pry/rbx_path.rb +22 -0
- data/vendor/jruby/1.9/gems/pry-0.10.4-java/lib/pry/repl.rb +202 -0
- data/vendor/jruby/1.9/gems/pry-0.10.4-java/lib/pry/repl_file_loader.rb +74 -0
- data/vendor/jruby/1.9/gems/pry-0.10.4-java/lib/pry/rubygem.rb +82 -0
- data/vendor/jruby/1.9/gems/pry-0.10.4-java/lib/pry/terminal.rb +79 -0
- data/vendor/jruby/1.9/gems/pry-0.10.4-java/lib/pry/test/helper.rb +170 -0
- data/vendor/jruby/1.9/gems/pry-0.10.4-java/lib/pry/version.rb +3 -0
- data/vendor/jruby/1.9/gems/pry-0.10.4-java/lib/pry/wrapped_module.rb +378 -0
- data/vendor/jruby/1.9/gems/public_suffix-1.4.6/CHANGELOG.md +236 -0
- data/vendor/jruby/1.9/gems/public_suffix-1.4.6/Gemfile +3 -0
- data/vendor/jruby/1.9/gems/public_suffix-1.4.6/LICENSE.txt +22 -0
- data/vendor/jruby/1.9/gems/public_suffix-1.4.6/README.md +151 -0
- data/vendor/jruby/1.9/gems/public_suffix-1.4.6/Rakefile +109 -0
- data/vendor/jruby/1.9/gems/public_suffix-1.4.6/lib/definitions.txt +8814 -0
- data/vendor/jruby/1.9/gems/public_suffix-1.4.6/lib/public_suffix.rb +131 -0
- data/vendor/jruby/1.9/gems/public_suffix-1.4.6/lib/public_suffix/domain.rb +387 -0
- data/vendor/jruby/1.9/gems/public_suffix-1.4.6/lib/public_suffix/errors.rb +53 -0
- data/vendor/jruby/1.9/gems/public_suffix-1.4.6/lib/public_suffix/list.rb +302 -0
- data/vendor/jruby/1.9/gems/public_suffix-1.4.6/lib/public_suffix/rule.rb +373 -0
- data/vendor/jruby/1.9/gems/public_suffix-1.4.6/lib/public_suffix/version.rb +23 -0
- data/vendor/jruby/1.9/gems/public_suffix-1.4.6/public_suffix.gemspec +39 -0
- data/vendor/jruby/1.9/gems/public_suffix-1.4.6/test/acceptance_test.rb +42 -0
- data/vendor/jruby/1.9/gems/public_suffix-1.4.6/test/test_helper.rb +6 -0
- data/vendor/jruby/1.9/gems/public_suffix-1.4.6/test/unit/domain_test.rb +170 -0
- data/vendor/jruby/1.9/gems/public_suffix-1.4.6/test/unit/errors_test.rb +23 -0
- data/vendor/jruby/1.9/gems/public_suffix-1.4.6/test/unit/list_test.rb +179 -0
- data/vendor/jruby/1.9/gems/public_suffix-1.4.6/test/unit/public_suffix_test.rb +115 -0
- data/vendor/jruby/1.9/gems/public_suffix-1.4.6/test/unit/rule_test.rb +307 -0
- data/vendor/jruby/1.9/gems/puma-2.16.0-java/COPYING +55 -0
- data/vendor/jruby/1.9/gems/puma-2.16.0-java/DEPLOYMENT.md +91 -0
- data/vendor/jruby/1.9/gems/puma-2.16.0-java/Gemfile +13 -0
- data/vendor/jruby/1.9/gems/puma-2.16.0-java/History.txt +965 -0
- data/vendor/jruby/1.9/gems/puma-2.16.0-java/LICENSE +26 -0
- data/vendor/jruby/1.9/gems/puma-2.16.0-java/Manifest.txt +74 -0
- data/vendor/jruby/1.9/gems/puma-2.16.0-java/README.md +284 -0
- data/vendor/jruby/1.9/gems/puma-2.16.0-java/Rakefile +158 -0
- data/vendor/jruby/1.9/gems/puma-2.16.0-java/bin/puma +10 -0
- data/vendor/jruby/1.9/gems/puma-2.16.0-java/bin/puma-wild +31 -0
- data/vendor/jruby/1.9/gems/puma-2.16.0-java/bin/pumactl +12 -0
- data/vendor/jruby/1.9/gems/puma-2.16.0-java/docs/config.md +0 -0
- data/vendor/jruby/1.9/gems/puma-2.16.0-java/docs/nginx.md +80 -0
- data/vendor/jruby/1.9/gems/puma-2.16.0-java/docs/signals.md +43 -0
- data/vendor/jruby/1.9/gems/puma-2.16.0-java/ext/puma_http11/PumaHttp11Service.java +17 -0
- data/vendor/jruby/1.9/gems/puma-2.16.0-java/ext/puma_http11/ext_help.h +15 -0
- data/vendor/jruby/1.9/gems/puma-2.16.0-java/ext/puma_http11/extconf.rb +13 -0
- data/vendor/jruby/1.9/gems/puma-2.16.0-java/ext/puma_http11/http11_parser.c +1225 -0
- data/vendor/jruby/1.9/gems/puma-2.16.0-java/ext/puma_http11/http11_parser.h +64 -0
- data/vendor/jruby/1.9/gems/puma-2.16.0-java/ext/puma_http11/http11_parser.java.rl +161 -0
- data/vendor/jruby/1.9/gems/puma-2.16.0-java/ext/puma_http11/http11_parser.rl +146 -0
- data/vendor/jruby/1.9/gems/puma-2.16.0-java/ext/puma_http11/http11_parser_common.rl +54 -0
- data/vendor/jruby/1.9/gems/puma-2.16.0-java/ext/puma_http11/io_buffer.c +155 -0
- data/vendor/jruby/1.9/gems/puma-2.16.0-java/ext/puma_http11/mini_ssl.c +404 -0
- data/vendor/jruby/1.9/gems/puma-2.16.0-java/ext/puma_http11/org/jruby/puma/Http11.java +234 -0
- data/vendor/jruby/1.9/gems/puma-2.16.0-java/ext/puma_http11/org/jruby/puma/Http11Parser.java +488 -0
- data/vendor/jruby/1.9/gems/puma-2.16.0-java/ext/puma_http11/org/jruby/puma/MiniSSL.java +339 -0
- data/vendor/jruby/1.9/gems/puma-2.16.0-java/ext/puma_http11/puma_http11.c +499 -0
- data/vendor/jruby/1.9/gems/puma-2.16.0-java/lib/puma.rb +14 -0
- data/vendor/jruby/1.9/gems/puma-2.16.0-java/lib/puma/accept_nonblock.rb +23 -0
- data/vendor/jruby/1.9/gems/puma-2.16.0-java/lib/puma/app/status.rb +66 -0
- data/vendor/jruby/1.9/gems/puma-2.16.0-java/lib/puma/binder.rb +351 -0
- data/vendor/jruby/1.9/gems/puma-2.16.0-java/lib/puma/capistrano.rb +94 -0
- data/vendor/jruby/1.9/gems/puma-2.16.0-java/lib/puma/cli.rb +582 -0
- data/vendor/jruby/1.9/gems/puma-2.16.0-java/lib/puma/client.rb +320 -0
- data/vendor/jruby/1.9/gems/puma-2.16.0-java/lib/puma/cluster.rb +460 -0
- data/vendor/jruby/1.9/gems/puma-2.16.0-java/lib/puma/commonlogger.rb +107 -0
- data/vendor/jruby/1.9/gems/puma-2.16.0-java/lib/puma/compat.rb +18 -0
- data/vendor/jruby/1.9/gems/puma-2.16.0-java/lib/puma/configuration.rb +220 -0
- data/vendor/jruby/1.9/gems/puma-2.16.0-java/lib/puma/const.rb +239 -0
- data/vendor/jruby/1.9/gems/puma-2.16.0-java/lib/puma/control_cli.rb +273 -0
- data/vendor/jruby/1.9/gems/puma-2.16.0-java/lib/puma/daemon_ext.rb +25 -0
- data/vendor/jruby/1.9/gems/puma-2.16.0-java/lib/puma/delegation.rb +11 -0
- data/vendor/jruby/1.9/gems/puma-2.16.0-java/lib/puma/detect.rb +4 -0
- data/vendor/jruby/1.9/gems/puma-2.16.0-java/lib/puma/dsl.rb +348 -0
- data/vendor/jruby/1.9/gems/puma-2.16.0-java/lib/puma/events.rb +142 -0
- data/vendor/jruby/1.9/gems/puma-2.16.0-java/lib/puma/io_buffer.rb +7 -0
- data/vendor/jruby/1.9/gems/puma-2.16.0-java/lib/puma/java_io_buffer.rb +45 -0
- data/vendor/jruby/1.9/gems/puma-2.16.0-java/lib/puma/jruby_restart.rb +83 -0
- data/vendor/jruby/1.9/gems/puma-2.16.0-java/lib/puma/minissl.rb +177 -0
- data/vendor/jruby/1.9/gems/puma-2.16.0-java/lib/puma/null_io.rb +34 -0
- data/vendor/jruby/1.9/gems/puma-2.16.0-java/lib/puma/puma_http11.jar +0 -0
- data/vendor/jruby/1.9/gems/puma-2.16.0-java/lib/puma/rack/backports/uri/common_18.rb +56 -0
- data/vendor/jruby/1.9/gems/puma-2.16.0-java/lib/puma/rack/backports/uri/common_192.rb +52 -0
- data/vendor/jruby/1.9/gems/puma-2.16.0-java/lib/puma/rack/backports/uri/common_193.rb +29 -0
- data/vendor/jruby/1.9/gems/puma-2.16.0-java/lib/puma/rack/builder.rb +295 -0
- data/vendor/jruby/1.9/gems/puma-2.16.0-java/lib/puma/rack/urlmap.rb +90 -0
- data/vendor/jruby/1.9/gems/puma-2.16.0-java/lib/puma/rack_default.rb +7 -0
- data/vendor/jruby/1.9/gems/puma-2.16.0-java/lib/puma/reactor.rb +195 -0
- data/vendor/jruby/1.9/gems/puma-2.16.0-java/lib/puma/runner.rb +147 -0
- data/vendor/jruby/1.9/gems/puma-2.16.0-java/lib/puma/server.rb +885 -0
- data/vendor/jruby/1.9/gems/puma-2.16.0-java/lib/puma/single.rb +102 -0
- data/vendor/jruby/1.9/gems/puma-2.16.0-java/lib/puma/tcp_logger.rb +32 -0
- data/vendor/jruby/1.9/gems/puma-2.16.0-java/lib/puma/thread_pool.rb +255 -0
- data/vendor/jruby/1.9/gems/puma-2.16.0-java/lib/puma/util.rb +132 -0
- data/vendor/jruby/1.9/gems/puma-2.16.0-java/lib/rack/handler/puma.rb +65 -0
- data/vendor/jruby/1.9/gems/puma-2.16.0-java/puma.gemspec +52 -0
- data/vendor/jruby/1.9/gems/puma-2.16.0-java/tools/jungle/README.md +9 -0
- data/vendor/jruby/1.9/gems/puma-2.16.0-java/tools/jungle/init.d/README.md +54 -0
- data/vendor/jruby/1.9/gems/puma-2.16.0-java/tools/jungle/init.d/puma +394 -0
- data/vendor/jruby/1.9/gems/puma-2.16.0-java/tools/jungle/init.d/run-puma +3 -0
- data/vendor/jruby/1.9/gems/puma-2.16.0-java/tools/jungle/upstart/README.md +61 -0
- data/vendor/jruby/1.9/gems/puma-2.16.0-java/tools/jungle/upstart/puma-manager.conf +31 -0
- data/vendor/jruby/1.9/gems/puma-2.16.0-java/tools/jungle/upstart/puma.conf +69 -0
- data/vendor/jruby/1.9/gems/puma-2.16.0-java/tools/trickletest.rb +45 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/COPYING +18 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/HISTORY.md +375 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/KNOWN-ISSUES +44 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/README.rdoc +312 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/Rakefile +124 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/SPEC +264 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/bin/rackup +4 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/contrib/rack.png +0 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/contrib/rack.svg +150 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/contrib/rack_logo.svg +111 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/contrib/rdoc.css +412 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/example/lobster.ru +4 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/example/protectedlobster.rb +14 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/example/protectedlobster.ru +8 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/lib/rack.rb +98 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/lib/rack/auth/abstract/handler.rb +37 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/lib/rack/auth/abstract/request.rb +43 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/lib/rack/auth/basic.rb +58 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/lib/rack/auth/digest/md5.rb +129 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/lib/rack/auth/digest/nonce.rb +51 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/lib/rack/auth/digest/params.rb +53 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/lib/rack/auth/digest/request.rb +41 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/lib/rack/backports/uri/common_18.rb +56 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/lib/rack/backports/uri/common_192.rb +52 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/lib/rack/backports/uri/common_193.rb +29 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/lib/rack/body_proxy.rb +39 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/lib/rack/builder.rb +164 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/lib/rack/cascade.rb +52 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/lib/rack/chunked.rb +69 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/lib/rack/commonlogger.rb +72 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/lib/rack/conditionalget.rb +79 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/lib/rack/config.rb +20 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/lib/rack/content_length.rb +37 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/lib/rack/content_type.rb +29 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/lib/rack/deflater.rb +154 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/lib/rack/directory.rb +167 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/lib/rack/etag.rb +73 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/lib/rack/file.rb +152 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/lib/rack/handler.rb +121 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/lib/rack/handler/cgi.rb +61 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/lib/rack/handler/evented_mongrel.rb +8 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/lib/rack/handler/fastcgi.rb +101 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/lib/rack/handler/lsws.rb +61 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/lib/rack/handler/mongrel.rb +106 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/lib/rack/handler/scgi.rb +70 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/lib/rack/handler/swiftiplied_mongrel.rb +8 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/lib/rack/handler/thin.rb +33 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/lib/rack/handler/webrick.rb +122 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/lib/rack/head.rb +27 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/lib/rack/lint.rb +760 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/lib/rack/lobster.rb +70 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/lib/rack/lock.rb +26 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/lib/rack/logger.rb +18 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/lib/rack/methodoverride.rb +43 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/lib/rack/mime.rb +664 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/lib/rack/mock.rb +198 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/lib/rack/multipart.rb +34 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/lib/rack/multipart/generator.rb +93 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/lib/rack/multipart/parser.rb +254 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/lib/rack/multipart/uploaded_file.rb +34 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/lib/rack/nulllogger.rb +37 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/lib/rack/recursive.rb +62 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/lib/rack/reloader.rb +110 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/lib/rack/request.rb +398 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/lib/rack/response.rb +162 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/lib/rack/rewindable_input.rb +104 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/lib/rack/runtime.rb +40 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/lib/rack/sendfile.rb +160 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/lib/rack/server.rb +387 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/lib/rack/session/abstract/id.rb +399 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/lib/rack/session/cookie.rb +188 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/lib/rack/session/memcache.rb +93 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/lib/rack/session/pool.rb +76 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/lib/rack/showexceptions.rb +387 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/lib/rack/showstatus.rb +113 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/lib/rack/static.rb +150 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/lib/rack/tempfile_reaper.rb +22 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/lib/rack/urlmap.rb +90 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/lib/rack/utils.rb +695 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/lib/rack/utils/okjson.rb +600 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/rack.gemspec +33 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/test/builder/anything.rb +5 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/test/builder/comment.ru +4 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/test/builder/end.ru +5 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/test/builder/line.ru +1 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/test/builder/options.ru +2 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/test/cgi/assets/folder/test.js +1 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/test/cgi/assets/fonts/font.eot +1 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/test/cgi/assets/images/image.png +1 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/test/cgi/assets/index.html +1 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/test/cgi/assets/javascripts/app.js +1 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/test/cgi/assets/stylesheets/app.css +1 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/test/cgi/lighttpd.conf +26 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/test/cgi/rackup_stub.rb +6 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/test/cgi/sample_rackup.ru +5 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/test/cgi/test +9 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/test/cgi/test+directory/test+file +1 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/test/cgi/test.fcgi +8 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/test/cgi/test.ru +5 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/test/gemloader.rb +10 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/test/multipart/bad_robots +259 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/test/multipart/binary +0 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/test/multipart/content_type_and_no_filename +6 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/test/multipart/empty +10 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/test/multipart/fail_16384_nofile +814 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/test/multipart/file1.txt +1 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/test/multipart/filename_and_modification_param +7 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/test/multipart/filename_and_no_name +6 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/test/multipart/filename_with_escaped_quotes +6 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/test/multipart/filename_with_escaped_quotes_and_modification_param +7 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/test/multipart/filename_with_percent_escaped_quotes +6 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/test/multipart/filename_with_unescaped_percentages +6 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/test/multipart/filename_with_unescaped_percentages2 +6 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/test/multipart/filename_with_unescaped_percentages3 +6 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/test/multipart/filename_with_unescaped_quotes +6 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/test/multipart/ie +6 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/test/multipart/invalid_character +6 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/test/multipart/mixed_files +21 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/test/multipart/nested +10 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/test/multipart/none +9 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/test/multipart/semicolon +6 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/test/multipart/text +15 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/test/multipart/three_files_three_fields +31 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/test/multipart/webkit +32 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/test/rackup/config.ru +31 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/test/registering_handler/rack/handler/registering_myself.rb +8 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/test/spec_auth_basic.rb +81 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/test/spec_auth_digest.rb +259 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/test/spec_body_proxy.rb +85 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/test/spec_builder.rb +223 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/test/spec_cascade.rb +61 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/test/spec_cgi.rb +102 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/test/spec_chunked.rb +101 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/test/spec_commonlogger.rb +93 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/test/spec_conditionalget.rb +102 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/test/spec_config.rb +22 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/test/spec_content_length.rb +85 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/test/spec_content_type.rb +45 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/test/spec_deflater.rb +339 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/test/spec_directory.rb +88 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/test/spec_etag.rb +107 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/test/spec_fastcgi.rb +107 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/test/spec_file.rb +221 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/test/spec_handler.rb +72 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/test/spec_head.rb +45 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/test/spec_lint.rb +550 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/test/spec_lobster.rb +58 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/test/spec_lock.rb +164 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/test/spec_logger.rb +23 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/test/spec_methodoverride.rb +82 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/test/spec_mime.rb +51 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/test/spec_mock.rb +277 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/test/spec_mongrel.rb +182 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/test/spec_multipart.rb +590 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/test/spec_nulllogger.rb +20 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/test/spec_recursive.rb +72 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/test/spec_request.rb +1227 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/test/spec_response.rb +407 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/test/spec_rewindable_input.rb +118 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/test/spec_runtime.rb +49 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/test/spec_sendfile.rb +130 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/test/spec_server.rb +167 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/test/spec_session_abstract_id.rb +53 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/test/spec_session_cookie.rb +410 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/test/spec_session_memcache.rb +321 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/test/spec_session_pool.rb +209 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/test/spec_showexceptions.rb +85 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/test/spec_showstatus.rb +103 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/test/spec_static.rb +145 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/test/spec_tempfile_reaper.rb +63 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/test/spec_thin.rb +91 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/test/spec_urlmap.rb +236 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/test/spec_utils.rb +647 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/test/spec_version.rb +17 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/test/spec_webrick.rb +184 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/test/static/another/index.html +1 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/test/static/index.html +1 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/test/testrequest.rb +78 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/test/unregistered_handler/rack/handler/unregistered.rb +7 -0
- data/vendor/jruby/1.9/gems/rack-1.6.5/test/unregistered_handler/rack/handler/unregistered_long_one.rb +7 -0
- data/vendor/jruby/1.9/gems/rack-protection-1.5.3/License +20 -0
- data/vendor/jruby/1.9/gems/rack-protection-1.5.3/README.md +90 -0
- data/vendor/jruby/1.9/gems/rack-protection-1.5.3/Rakefile +48 -0
- data/vendor/jruby/1.9/gems/rack-protection-1.5.3/lib/rack-protection.rb +1 -0
- data/vendor/jruby/1.9/gems/rack-protection-1.5.3/lib/rack/protection.rb +40 -0
- data/vendor/jruby/1.9/gems/rack-protection-1.5.3/lib/rack/protection/authenticity_token.rb +31 -0
- data/vendor/jruby/1.9/gems/rack-protection-1.5.3/lib/rack/protection/base.rb +121 -0
- data/vendor/jruby/1.9/gems/rack-protection-1.5.3/lib/rack/protection/escaped_params.rb +87 -0
- data/vendor/jruby/1.9/gems/rack-protection-1.5.3/lib/rack/protection/form_token.rb +23 -0
- data/vendor/jruby/1.9/gems/rack-protection-1.5.3/lib/rack/protection/frame_options.rb +37 -0
- data/vendor/jruby/1.9/gems/rack-protection-1.5.3/lib/rack/protection/http_origin.rb +32 -0
- data/vendor/jruby/1.9/gems/rack-protection-1.5.3/lib/rack/protection/ip_spoofing.rb +23 -0
- data/vendor/jruby/1.9/gems/rack-protection-1.5.3/lib/rack/protection/json_csrf.rb +35 -0
- data/vendor/jruby/1.9/gems/rack-protection-1.5.3/lib/rack/protection/path_traversal.rb +47 -0
- data/vendor/jruby/1.9/gems/rack-protection-1.5.3/lib/rack/protection/remote_referrer.rb +20 -0
- data/vendor/jruby/1.9/gems/rack-protection-1.5.3/lib/rack/protection/remote_token.rb +22 -0
- data/vendor/jruby/1.9/gems/rack-protection-1.5.3/lib/rack/protection/session_hijacking.rb +36 -0
- data/vendor/jruby/1.9/gems/rack-protection-1.5.3/lib/rack/protection/version.rb +16 -0
- data/vendor/jruby/1.9/gems/rack-protection-1.5.3/lib/rack/protection/xss_header.rb +25 -0
- data/vendor/jruby/1.9/gems/rack-protection-1.5.3/rack-protection.gemspec +118 -0
- data/vendor/jruby/1.9/gems/rack-protection-1.5.3/spec/authenticity_token_spec.rb +48 -0
- data/vendor/jruby/1.9/gems/rack-protection-1.5.3/spec/base_spec.rb +40 -0
- data/vendor/jruby/1.9/gems/rack-protection-1.5.3/spec/escaped_params_spec.rb +43 -0
- data/vendor/jruby/1.9/gems/rack-protection-1.5.3/spec/form_token_spec.rb +33 -0
- data/vendor/jruby/1.9/gems/rack-protection-1.5.3/spec/frame_options_spec.rb +39 -0
- data/vendor/jruby/1.9/gems/rack-protection-1.5.3/spec/http_origin_spec.rb +38 -0
- data/vendor/jruby/1.9/gems/rack-protection-1.5.3/spec/ip_spoofing_spec.rb +35 -0
- data/vendor/jruby/1.9/gems/rack-protection-1.5.3/spec/json_csrf_spec.rb +58 -0
- data/vendor/jruby/1.9/gems/rack-protection-1.5.3/spec/path_traversal_spec.rb +41 -0
- data/vendor/jruby/1.9/gems/rack-protection-1.5.3/spec/protection_spec.rb +105 -0
- data/vendor/jruby/1.9/gems/rack-protection-1.5.3/spec/remote_referrer_spec.rb +31 -0
- data/vendor/jruby/1.9/gems/rack-protection-1.5.3/spec/remote_token_spec.rb +42 -0
- data/vendor/jruby/1.9/gems/rack-protection-1.5.3/spec/session_hijacking_spec.rb +55 -0
- data/vendor/jruby/1.9/gems/rack-protection-1.5.3/spec/spec_helper.rb +163 -0
- data/vendor/jruby/1.9/gems/rack-protection-1.5.3/spec/xss_header_spec.rb +56 -0
- data/vendor/jruby/1.9/gems/rake-12.0.0/CONTRIBUTING.rdoc +36 -0
- data/vendor/jruby/1.9/gems/rake-12.0.0/Gemfile +3 -0
- data/vendor/jruby/1.9/gems/rake-12.0.0/History.rdoc +2247 -0
- data/vendor/jruby/1.9/gems/rake-12.0.0/MIT-LICENSE +21 -0
- data/vendor/jruby/1.9/gems/rake-12.0.0/README.rdoc +156 -0
- data/vendor/jruby/1.9/gems/rake-12.0.0/Rakefile +38 -0
- data/vendor/jruby/1.9/gems/rake-12.0.0/appveyor.yml +21 -0
- data/vendor/jruby/1.9/gems/rake-12.0.0/bin/console +7 -0
- data/vendor/jruby/1.9/gems/rake-12.0.0/bin/setup +6 -0
- data/vendor/jruby/1.9/gems/rake-12.0.0/doc/command_line_usage.rdoc +158 -0
- data/vendor/jruby/1.9/gems/rake-12.0.0/doc/example/Rakefile1 +38 -0
- data/vendor/jruby/1.9/gems/rake-12.0.0/doc/example/Rakefile2 +35 -0
- data/vendor/jruby/1.9/gems/rake-12.0.0/doc/example/a.c +6 -0
- data/vendor/jruby/1.9/gems/rake-12.0.0/doc/example/b.c +6 -0
- data/vendor/jruby/1.9/gems/rake-12.0.0/doc/example/main.c +11 -0
- data/vendor/jruby/1.9/gems/rake-12.0.0/doc/glossary.rdoc +42 -0
- data/vendor/jruby/1.9/gems/rake-12.0.0/doc/jamis.rb +591 -0
- data/vendor/jruby/1.9/gems/rake-12.0.0/doc/proto_rake.rdoc +127 -0
- data/vendor/jruby/1.9/gems/rake-12.0.0/doc/rake.1 +156 -0
- data/vendor/jruby/1.9/gems/rake-12.0.0/doc/rakefile.rdoc +622 -0
- data/vendor/jruby/1.9/gems/rake-12.0.0/doc/rational.rdoc +151 -0
- data/vendor/jruby/1.9/gems/rake-12.0.0/exe/rake +27 -0
- data/vendor/jruby/1.9/gems/rake-12.0.0/lib/rake.rb +70 -0
- data/vendor/jruby/1.9/gems/rake-12.0.0/lib/rake/application.rb +785 -0
- data/vendor/jruby/1.9/gems/rake-12.0.0/lib/rake/backtrace.rb +23 -0
- data/vendor/jruby/1.9/gems/rake-12.0.0/lib/rake/clean.rb +77 -0
- data/vendor/jruby/1.9/gems/rake-12.0.0/lib/rake/cloneable.rb +16 -0
- data/vendor/jruby/1.9/gems/rake-12.0.0/lib/rake/cpu_counter.rb +106 -0
- data/vendor/jruby/1.9/gems/rake-12.0.0/lib/rake/default_loader.rb +14 -0
- data/vendor/jruby/1.9/gems/rake-12.0.0/lib/rake/dsl_definition.rb +194 -0
- data/vendor/jruby/1.9/gems/rake-12.0.0/lib/rake/early_time.rb +21 -0
- data/vendor/jruby/1.9/gems/rake-12.0.0/lib/rake/ext/core.rb +25 -0
- data/vendor/jruby/1.9/gems/rake-12.0.0/lib/rake/ext/string.rb +175 -0
- data/vendor/jruby/1.9/gems/rake-12.0.0/lib/rake/file_creation_task.rb +24 -0
- data/vendor/jruby/1.9/gems/rake-12.0.0/lib/rake/file_list.rb +434 -0
- data/vendor/jruby/1.9/gems/rake-12.0.0/lib/rake/file_task.rb +46 -0
- data/vendor/jruby/1.9/gems/rake-12.0.0/lib/rake/file_utils.rb +136 -0
- data/vendor/jruby/1.9/gems/rake-12.0.0/lib/rake/file_utils_ext.rb +144 -0
- data/vendor/jruby/1.9/gems/rake-12.0.0/lib/rake/invocation_chain.rb +56 -0
- data/vendor/jruby/1.9/gems/rake-12.0.0/lib/rake/invocation_exception_mixin.rb +16 -0
- data/vendor/jruby/1.9/gems/rake-12.0.0/lib/rake/late_time.rb +17 -0
- data/vendor/jruby/1.9/gems/rake-12.0.0/lib/rake/linked_list.rb +111 -0
- data/vendor/jruby/1.9/gems/rake-12.0.0/lib/rake/loaders/makefile.rb +53 -0
- data/vendor/jruby/1.9/gems/rake-12.0.0/lib/rake/multi_task.rb +49 -0
- data/vendor/jruby/1.9/gems/rake-12.0.0/lib/rake/name_space.rb +37 -0
- data/vendor/jruby/1.9/gems/rake-12.0.0/lib/rake/packagetask.rb +210 -0
- data/vendor/jruby/1.9/gems/rake-12.0.0/lib/rake/phony.rb +15 -0
- data/vendor/jruby/1.9/gems/rake-12.0.0/lib/rake/private_reader.rb +20 -0
- data/vendor/jruby/1.9/gems/rake-12.0.0/lib/rake/promise.rb +99 -0
- data/vendor/jruby/1.9/gems/rake-12.0.0/lib/rake/pseudo_status.rb +29 -0
- data/vendor/jruby/1.9/gems/rake-12.0.0/lib/rake/rake_module.rb +38 -0
- data/vendor/jruby/1.9/gems/rake-12.0.0/lib/rake/rake_test_loader.rb +21 -0
- data/vendor/jruby/1.9/gems/rake-12.0.0/lib/rake/rule_recursion_overflow_error.rb +19 -0
- data/vendor/jruby/1.9/gems/rake-12.0.0/lib/rake/scope.rb +42 -0
- data/vendor/jruby/1.9/gems/rake-12.0.0/lib/rake/task.rb +390 -0
- data/vendor/jruby/1.9/gems/rake-12.0.0/lib/rake/task_argument_error.rb +7 -0
- data/vendor/jruby/1.9/gems/rake-12.0.0/lib/rake/task_arguments.rb +108 -0
- data/vendor/jruby/1.9/gems/rake-12.0.0/lib/rake/task_manager.rb +303 -0
- data/vendor/jruby/1.9/gems/rake-12.0.0/lib/rake/tasklib.rb +11 -0
- data/vendor/jruby/1.9/gems/rake-12.0.0/lib/rake/testtask.rb +222 -0
- data/vendor/jruby/1.9/gems/rake-12.0.0/lib/rake/thread_history_display.rb +48 -0
- data/vendor/jruby/1.9/gems/rake-12.0.0/lib/rake/thread_pool.rb +162 -0
- data/vendor/jruby/1.9/gems/rake-12.0.0/lib/rake/trace_output.rb +22 -0
- data/vendor/jruby/1.9/gems/rake-12.0.0/lib/rake/version.rb +9 -0
- data/vendor/jruby/1.9/gems/rake-12.0.0/lib/rake/win32.rb +50 -0
- data/vendor/jruby/1.9/gems/rake-12.0.0/rake.gemspec +39 -0
- data/vendor/jruby/1.9/gems/restforce-2.4.2/CHANGELOG.md +176 -0
- data/vendor/jruby/1.9/gems/restforce-2.4.2/CODE_OF_CONDUCT.md +74 -0
- data/vendor/jruby/1.9/gems/restforce-2.4.2/CONTRIBUTING.md +37 -0
- data/vendor/jruby/1.9/gems/restforce-2.4.2/Gemfile +10 -0
- data/vendor/jruby/1.9/gems/restforce-2.4.2/Gemfile.travis +6 -0
- data/vendor/jruby/1.9/gems/restforce-2.4.2/Guardfile +13 -0
- data/vendor/jruby/1.9/gems/restforce-2.4.2/LICENSE +22 -0
- data/vendor/jruby/1.9/gems/restforce-2.4.2/README.md +622 -0
- data/vendor/jruby/1.9/gems/restforce-2.4.2/Rakefile +10 -0
- data/vendor/jruby/1.9/gems/restforce-2.4.2/lib/restforce.rb +82 -0
- data/vendor/jruby/1.9/gems/restforce-2.4.2/lib/restforce/abstract_client.rb +9 -0
- data/vendor/jruby/1.9/gems/restforce-2.4.2/lib/restforce/attachment.rb +21 -0
- data/vendor/jruby/1.9/gems/restforce-2.4.2/lib/restforce/client.rb +3 -0
- data/vendor/jruby/1.9/gems/restforce-2.4.2/lib/restforce/collection.rb +54 -0
- data/vendor/jruby/1.9/gems/restforce-2.4.2/lib/restforce/concerns/api.rb +493 -0
- data/vendor/jruby/1.9/gems/restforce-2.4.2/lib/restforce/concerns/authentication.rb +41 -0
- data/vendor/jruby/1.9/gems/restforce-2.4.2/lib/restforce/concerns/base.rb +74 -0
- data/vendor/jruby/1.9/gems/restforce-2.4.2/lib/restforce/concerns/caching.rb +24 -0
- data/vendor/jruby/1.9/gems/restforce-2.4.2/lib/restforce/concerns/canvas.rb +10 -0
- data/vendor/jruby/1.9/gems/restforce-2.4.2/lib/restforce/concerns/connection.rb +81 -0
- data/vendor/jruby/1.9/gems/restforce-2.4.2/lib/restforce/concerns/picklists.rb +90 -0
- data/vendor/jruby/1.9/gems/restforce-2.4.2/lib/restforce/concerns/streaming.rb +37 -0
- data/vendor/jruby/1.9/gems/restforce-2.4.2/lib/restforce/concerns/verbs.rb +66 -0
- data/vendor/jruby/1.9/gems/restforce-2.4.2/lib/restforce/config.rb +154 -0
- data/vendor/jruby/1.9/gems/restforce-2.4.2/lib/restforce/data/client.rb +25 -0
- data/vendor/jruby/1.9/gems/restforce-2.4.2/lib/restforce/document.rb +21 -0
- data/vendor/jruby/1.9/gems/restforce-2.4.2/lib/restforce/mash.rb +68 -0
- data/vendor/jruby/1.9/gems/restforce-2.4.2/lib/restforce/middleware.rb +31 -0
- data/vendor/jruby/1.9/gems/restforce-2.4.2/lib/restforce/middleware/authentication.rb +87 -0
- data/vendor/jruby/1.9/gems/restforce-2.4.2/lib/restforce/middleware/authentication/password.rb +16 -0
- data/vendor/jruby/1.9/gems/restforce-2.4.2/lib/restforce/middleware/authentication/token.rb +11 -0
- data/vendor/jruby/1.9/gems/restforce-2.4.2/lib/restforce/middleware/authorization.rb +16 -0
- data/vendor/jruby/1.9/gems/restforce-2.4.2/lib/restforce/middleware/caching.rb +24 -0
- data/vendor/jruby/1.9/gems/restforce-2.4.2/lib/restforce/middleware/gzip.rb +31 -0
- data/vendor/jruby/1.9/gems/restforce-2.4.2/lib/restforce/middleware/instance_url.rb +16 -0
- data/vendor/jruby/1.9/gems/restforce-2.4.2/lib/restforce/middleware/logger.rb +40 -0
- data/vendor/jruby/1.9/gems/restforce-2.4.2/lib/restforce/middleware/mashify.rb +11 -0
- data/vendor/jruby/1.9/gems/restforce-2.4.2/lib/restforce/middleware/multipart.rb +61 -0
- data/vendor/jruby/1.9/gems/restforce-2.4.2/lib/restforce/middleware/raise_error.rb +45 -0
- data/vendor/jruby/1.9/gems/restforce-2.4.2/lib/restforce/patches/parts.rb +30 -0
- data/vendor/jruby/1.9/gems/restforce-2.4.2/lib/restforce/signed_request.rb +56 -0
- data/vendor/jruby/1.9/gems/restforce-2.4.2/lib/restforce/sobject.rb +67 -0
- data/vendor/jruby/1.9/gems/restforce-2.4.2/lib/restforce/tooling/client.rb +11 -0
- data/vendor/jruby/1.9/gems/restforce-2.4.2/lib/restforce/upload_io.rb +7 -0
- data/vendor/jruby/1.9/gems/restforce-2.4.2/lib/restforce/version.rb +3 -0
- data/vendor/jruby/1.9/gems/restforce-2.4.2/restforce.gemspec +39 -0
- data/vendor/jruby/1.9/gems/restforce-2.4.2/script/bootstrap +5 -0
- data/vendor/jruby/1.9/gems/restforce-2.4.2/script/console +11 -0
- data/vendor/jruby/1.9/gems/restforce-2.4.2/script/guard +9 -0
- data/vendor/jruby/1.9/gems/restforce-2.4.2/script/test +12 -0
- data/vendor/jruby/1.9/gems/restforce-2.4.2/spec/fixtures/auth_error_response.json +1 -0
- data/vendor/jruby/1.9/gems/restforce-2.4.2/spec/fixtures/auth_success_response.json +1 -0
- data/vendor/jruby/1.9/gems/restforce-2.4.2/spec/fixtures/blob.jpg +0 -0
- data/vendor/jruby/1.9/gems/restforce-2.4.2/spec/fixtures/expired_session_response.json +1 -0
- data/vendor/jruby/1.9/gems/restforce-2.4.2/spec/fixtures/reauth_success_response.json +1 -0
- data/vendor/jruby/1.9/gems/restforce-2.4.2/spec/fixtures/refresh_error_response.json +1 -0
- data/vendor/jruby/1.9/gems/restforce-2.4.2/spec/fixtures/refresh_success_response.json +7 -0
- data/vendor/jruby/1.9/gems/restforce-2.4.2/spec/fixtures/services_data_success_response.json +12 -0
- data/vendor/jruby/1.9/gems/restforce-2.4.2/spec/fixtures/sobject/create_success_response.json +5 -0
- data/vendor/jruby/1.9/gems/restforce-2.4.2/spec/fixtures/sobject/delete_error_response.json +1 -0
- data/vendor/jruby/1.9/gems/restforce-2.4.2/spec/fixtures/sobject/describe_sobjects_success_response.json +31 -0
- data/vendor/jruby/1.9/gems/restforce-2.4.2/spec/fixtures/sobject/get_deleted_success_response.json +11 -0
- data/vendor/jruby/1.9/gems/restforce-2.4.2/spec/fixtures/sobject/get_updated_success_response.json +12 -0
- data/vendor/jruby/1.9/gems/restforce-2.4.2/spec/fixtures/sobject/list_sobjects_success_response.json +31 -0
- data/vendor/jruby/1.9/gems/restforce-2.4.2/spec/fixtures/sobject/org_query_response.json +11 -0
- data/vendor/jruby/1.9/gems/restforce-2.4.2/spec/fixtures/sobject/query_aggregate_success_response.json +23 -0
- data/vendor/jruby/1.9/gems/restforce-2.4.2/spec/fixtures/sobject/query_empty_response.json +5 -0
- data/vendor/jruby/1.9/gems/restforce-2.4.2/spec/fixtures/sobject/query_error_response.json +4 -0
- data/vendor/jruby/1.9/gems/restforce-2.4.2/spec/fixtures/sobject/query_paginated_first_page_response.json +12 -0
- data/vendor/jruby/1.9/gems/restforce-2.4.2/spec/fixtures/sobject/query_paginated_last_page_response.json +11 -0
- data/vendor/jruby/1.9/gems/restforce-2.4.2/spec/fixtures/sobject/query_success_response.json +36 -0
- data/vendor/jruby/1.9/gems/restforce-2.4.2/spec/fixtures/sobject/recent_success_response.json +18 -0
- data/vendor/jruby/1.9/gems/restforce-2.4.2/spec/fixtures/sobject/search_error_response.json +4 -0
- data/vendor/jruby/1.9/gems/restforce-2.4.2/spec/fixtures/sobject/search_success_response.json +16 -0
- data/vendor/jruby/1.9/gems/restforce-2.4.2/spec/fixtures/sobject/sobject_describe_error_response.json +4 -0
- data/vendor/jruby/1.9/gems/restforce-2.4.2/spec/fixtures/sobject/sobject_describe_success_response.json +1362 -0
- data/vendor/jruby/1.9/gems/restforce-2.4.2/spec/fixtures/sobject/sobject_find_error_response.json +4 -0
- data/vendor/jruby/1.9/gems/restforce-2.4.2/spec/fixtures/sobject/sobject_find_success_response.json +29 -0
- data/vendor/jruby/1.9/gems/restforce-2.4.2/spec/fixtures/sobject/sobject_select_success_response.json +8 -0
- data/vendor/jruby/1.9/gems/restforce-2.4.2/spec/fixtures/sobject/upsert_created_success_response.json +1 -0
- data/vendor/jruby/1.9/gems/restforce-2.4.2/spec/fixtures/sobject/upsert_error_response.json +1 -0
- data/vendor/jruby/1.9/gems/restforce-2.4.2/spec/fixtures/sobject/upsert_multiple_error_response.json +1 -0
- data/vendor/jruby/1.9/gems/restforce-2.4.2/spec/fixtures/sobject/upsert_updated_success_response.json +0 -0
- data/vendor/jruby/1.9/gems/restforce-2.4.2/spec/fixtures/sobject/write_error_response.json +6 -0
- data/vendor/jruby/1.9/gems/restforce-2.4.2/spec/integration/abstract_client_spec.rb +426 -0
- data/vendor/jruby/1.9/gems/restforce-2.4.2/spec/integration/data/client_spec.rb +107 -0
- data/vendor/jruby/1.9/gems/restforce-2.4.2/spec/spec_helper.rb +20 -0
- data/vendor/jruby/1.9/gems/restforce-2.4.2/spec/support/client_integration.rb +51 -0
- data/vendor/jruby/1.9/gems/restforce-2.4.2/spec/support/concerns.rb +18 -0
- data/vendor/jruby/1.9/gems/restforce-2.4.2/spec/support/event_machine.rb +14 -0
- data/vendor/jruby/1.9/gems/restforce-2.4.2/spec/support/fixture_helpers.rb +49 -0
- data/vendor/jruby/1.9/gems/restforce-2.4.2/spec/support/matchers.rb +11 -0
- data/vendor/jruby/1.9/gems/restforce-2.4.2/spec/support/middleware.rb +84 -0
- data/vendor/jruby/1.9/gems/restforce-2.4.2/spec/support/mock_cache.rb +21 -0
- data/vendor/jruby/1.9/gems/restforce-2.4.2/spec/unit/abstract_client_spec.rb +11 -0
- data/vendor/jruby/1.9/gems/restforce-2.4.2/spec/unit/attachment_spec.rb +16 -0
- data/vendor/jruby/1.9/gems/restforce-2.4.2/spec/unit/collection_spec.rb +63 -0
- data/vendor/jruby/1.9/gems/restforce-2.4.2/spec/unit/concerns/api_spec.rb +505 -0
- data/vendor/jruby/1.9/gems/restforce-2.4.2/spec/unit/concerns/authentication_spec.rb +101 -0
- data/vendor/jruby/1.9/gems/restforce-2.4.2/spec/unit/concerns/base_spec.rb +50 -0
- data/vendor/jruby/1.9/gems/restforce-2.4.2/spec/unit/concerns/caching_spec.rb +29 -0
- data/vendor/jruby/1.9/gems/restforce-2.4.2/spec/unit/concerns/canvas_spec.rb +30 -0
- data/vendor/jruby/1.9/gems/restforce-2.4.2/spec/unit/concerns/connection_spec.rb +72 -0
- data/vendor/jruby/1.9/gems/restforce-2.4.2/spec/unit/concerns/streaming_spec.rb +53 -0
- data/vendor/jruby/1.9/gems/restforce-2.4.2/spec/unit/config_spec.rb +140 -0
- data/vendor/jruby/1.9/gems/restforce-2.4.2/spec/unit/data/client_spec.rb +10 -0
- data/vendor/jruby/1.9/gems/restforce-2.4.2/spec/unit/document_spec.rb +16 -0
- data/vendor/jruby/1.9/gems/restforce-2.4.2/spec/unit/mash_spec.rb +41 -0
- data/vendor/jruby/1.9/gems/restforce-2.4.2/spec/unit/middleware/authentication/password_spec.rb +34 -0
- data/vendor/jruby/1.9/gems/restforce-2.4.2/spec/unit/middleware/authentication/token_spec.rb +27 -0
- data/vendor/jruby/1.9/gems/restforce-2.4.2/spec/unit/middleware/authentication_spec.rb +85 -0
- data/vendor/jruby/1.9/gems/restforce-2.4.2/spec/unit/middleware/authorization_spec.rb +11 -0
- data/vendor/jruby/1.9/gems/restforce-2.4.2/spec/unit/middleware/gzip_spec.rb +66 -0
- data/vendor/jruby/1.9/gems/restforce-2.4.2/spec/unit/middleware/instance_url_spec.rb +24 -0
- data/vendor/jruby/1.9/gems/restforce-2.4.2/spec/unit/middleware/logger_spec.rb +19 -0
- data/vendor/jruby/1.9/gems/restforce-2.4.2/spec/unit/middleware/mashify_spec.rb +16 -0
- data/vendor/jruby/1.9/gems/restforce-2.4.2/spec/unit/middleware/raise_error_spec.rb +66 -0
- data/vendor/jruby/1.9/gems/restforce-2.4.2/spec/unit/signed_request_spec.rb +31 -0
- data/vendor/jruby/1.9/gems/restforce-2.4.2/spec/unit/sobject_spec.rb +93 -0
- data/vendor/jruby/1.9/gems/restforce-2.4.2/spec/unit/tooling/client_spec.rb +7 -0
- data/vendor/jruby/1.9/gems/rspec-3.5.0/LICENSE.md +27 -0
- data/vendor/jruby/1.9/gems/rspec-3.5.0/README.md +39 -0
- data/vendor/jruby/1.9/gems/rspec-3.5.0/lib/rspec.rb +3 -0
- data/vendor/jruby/1.9/gems/rspec-3.5.0/lib/rspec/version.rb +5 -0
- data/vendor/jruby/1.9/gems/rspec-core-3.5.4/Changelog.md +2102 -0
- data/vendor/jruby/1.9/gems/rspec-core-3.5.4/LICENSE.md +26 -0
- data/vendor/jruby/1.9/gems/rspec-core-3.5.4/README.md +384 -0
- data/vendor/jruby/1.9/gems/rspec-core-3.5.4/exe/rspec +4 -0
- data/vendor/jruby/1.9/gems/rspec-core-3.5.4/lib/rspec/autorun.rb +3 -0
- data/vendor/jruby/1.9/gems/rspec-core-3.5.4/lib/rspec/core.rb +185 -0
- data/vendor/jruby/1.9/gems/rspec-core-3.5.4/lib/rspec/core/backtrace_formatter.rb +65 -0
- data/vendor/jruby/1.9/gems/rspec-core-3.5.4/lib/rspec/core/bisect/coordinator.rb +66 -0
- data/vendor/jruby/1.9/gems/rspec-core-3.5.4/lib/rspec/core/bisect/example_minimizer.rb +169 -0
- data/vendor/jruby/1.9/gems/rspec-core-3.5.4/lib/rspec/core/bisect/runner.rb +169 -0
- data/vendor/jruby/1.9/gems/rspec-core-3.5.4/lib/rspec/core/bisect/server.rb +65 -0
- data/vendor/jruby/1.9/gems/rspec-core-3.5.4/lib/rspec/core/configuration.rb +2100 -0
- data/vendor/jruby/1.9/gems/rspec-core-3.5.4/lib/rspec/core/configuration_options.rb +194 -0
- data/vendor/jruby/1.9/gems/rspec-core-3.5.4/lib/rspec/core/drb.rb +111 -0
- data/vendor/jruby/1.9/gems/rspec-core-3.5.4/lib/rspec/core/dsl.rb +98 -0
- data/vendor/jruby/1.9/gems/rspec-core-3.5.4/lib/rspec/core/example.rb +649 -0
- data/vendor/jruby/1.9/gems/rspec-core-3.5.4/lib/rspec/core/example_group.rb +879 -0
- data/vendor/jruby/1.9/gems/rspec-core-3.5.4/lib/rspec/core/example_status_persister.rb +235 -0
- data/vendor/jruby/1.9/gems/rspec-core-3.5.4/lib/rspec/core/filter_manager.rb +231 -0
- data/vendor/jruby/1.9/gems/rspec-core-3.5.4/lib/rspec/core/flat_map.rb +20 -0
- data/vendor/jruby/1.9/gems/rspec-core-3.5.4/lib/rspec/core/formatters.rb +255 -0
- data/vendor/jruby/1.9/gems/rspec-core-3.5.4/lib/rspec/core/formatters/base_formatter.rb +70 -0
- data/vendor/jruby/1.9/gems/rspec-core-3.5.4/lib/rspec/core/formatters/base_text_formatter.rb +77 -0
- data/vendor/jruby/1.9/gems/rspec-core-3.5.4/lib/rspec/core/formatters/bisect_formatter.rb +69 -0
- data/vendor/jruby/1.9/gems/rspec-core-3.5.4/lib/rspec/core/formatters/bisect_progress_formatter.rb +144 -0
- data/vendor/jruby/1.9/gems/rspec-core-3.5.4/lib/rspec/core/formatters/console_codes.rb +65 -0
- data/vendor/jruby/1.9/gems/rspec-core-3.5.4/lib/rspec/core/formatters/deprecation_formatter.rb +223 -0
- data/vendor/jruby/1.9/gems/rspec-core-3.5.4/lib/rspec/core/formatters/documentation_formatter.rb +69 -0
- data/vendor/jruby/1.9/gems/rspec-core-3.5.4/lib/rspec/core/formatters/exception_presenter.rb +491 -0
- data/vendor/jruby/1.9/gems/rspec-core-3.5.4/lib/rspec/core/formatters/fallback_message_formatter.rb +28 -0
- data/vendor/jruby/1.9/gems/rspec-core-3.5.4/lib/rspec/core/formatters/helpers.rb +110 -0
- data/vendor/jruby/1.9/gems/rspec-core-3.5.4/lib/rspec/core/formatters/html_formatter.rb +151 -0
- data/vendor/jruby/1.9/gems/rspec-core-3.5.4/lib/rspec/core/formatters/html_printer.rb +414 -0
- data/vendor/jruby/1.9/gems/rspec-core-3.5.4/lib/rspec/core/formatters/html_snippet_extractor.rb +116 -0
- data/vendor/jruby/1.9/gems/rspec-core-3.5.4/lib/rspec/core/formatters/json_formatter.rb +96 -0
- data/vendor/jruby/1.9/gems/rspec-core-3.5.4/lib/rspec/core/formatters/profile_formatter.rb +68 -0
- data/vendor/jruby/1.9/gems/rspec-core-3.5.4/lib/rspec/core/formatters/progress_formatter.rb +28 -0
- data/vendor/jruby/1.9/gems/rspec-core-3.5.4/lib/rspec/core/formatters/protocol.rb +181 -0
- data/vendor/jruby/1.9/gems/rspec-core-3.5.4/lib/rspec/core/formatters/snippet_extractor.rb +136 -0
- data/vendor/jruby/1.9/gems/rspec-core-3.5.4/lib/rspec/core/hooks.rb +624 -0
- data/vendor/jruby/1.9/gems/rspec-core-3.5.4/lib/rspec/core/invocations.rb +67 -0
- data/vendor/jruby/1.9/gems/rspec-core-3.5.4/lib/rspec/core/memoized_helpers.rb +532 -0
- data/vendor/jruby/1.9/gems/rspec-core-3.5.4/lib/rspec/core/metadata.rb +499 -0
- data/vendor/jruby/1.9/gems/rspec-core-3.5.4/lib/rspec/core/metadata_filter.rb +243 -0
- data/vendor/jruby/1.9/gems/rspec-core-3.5.4/lib/rspec/core/minitest_assertions_adapter.rb +31 -0
- data/vendor/jruby/1.9/gems/rspec-core-3.5.4/lib/rspec/core/mocking_adapters/flexmock.rb +31 -0
- data/vendor/jruby/1.9/gems/rspec-core-3.5.4/lib/rspec/core/mocking_adapters/mocha.rb +57 -0
- data/vendor/jruby/1.9/gems/rspec-core-3.5.4/lib/rspec/core/mocking_adapters/null.rb +14 -0
- data/vendor/jruby/1.9/gems/rspec-core-3.5.4/lib/rspec/core/mocking_adapters/rr.rb +31 -0
- data/vendor/jruby/1.9/gems/rspec-core-3.5.4/lib/rspec/core/mocking_adapters/rspec.rb +32 -0
- data/vendor/jruby/1.9/gems/rspec-core-3.5.4/lib/rspec/core/notifications.rb +498 -0
- data/vendor/jruby/1.9/gems/rspec-core-3.5.4/lib/rspec/core/option_parser.rb +289 -0
- data/vendor/jruby/1.9/gems/rspec-core-3.5.4/lib/rspec/core/ordering.rb +158 -0
- data/vendor/jruby/1.9/gems/rspec-core-3.5.4/lib/rspec/core/pending.rb +165 -0
- data/vendor/jruby/1.9/gems/rspec-core-3.5.4/lib/rspec/core/profiler.rb +32 -0
- data/vendor/jruby/1.9/gems/rspec-core-3.5.4/lib/rspec/core/project_initializer.rb +48 -0
- data/vendor/jruby/1.9/gems/rspec-core-3.5.4/lib/rspec/core/project_initializer/spec/spec_helper.rb +103 -0
- data/vendor/jruby/1.9/gems/rspec-core-3.5.4/lib/rspec/core/rake_task.rb +168 -0
- data/vendor/jruby/1.9/gems/rspec-core-3.5.4/lib/rspec/core/reporter.rb +248 -0
- data/vendor/jruby/1.9/gems/rspec-core-3.5.4/lib/rspec/core/ruby_project.rb +53 -0
- data/vendor/jruby/1.9/gems/rspec-core-3.5.4/lib/rspec/core/runner.rb +188 -0
- data/vendor/jruby/1.9/gems/rspec-core-3.5.4/lib/rspec/core/sandbox.rb +37 -0
- data/vendor/jruby/1.9/gems/rspec-core-3.5.4/lib/rspec/core/set.rb +49 -0
- data/vendor/jruby/1.9/gems/rspec-core-3.5.4/lib/rspec/core/shared_context.rb +55 -0
- data/vendor/jruby/1.9/gems/rspec-core-3.5.4/lib/rspec/core/shared_example_group.rb +247 -0
- data/vendor/jruby/1.9/gems/rspec-core-3.5.4/lib/rspec/core/shell_escape.rb +49 -0
- data/vendor/jruby/1.9/gems/rspec-core-3.5.4/lib/rspec/core/source.rb +86 -0
- data/vendor/jruby/1.9/gems/rspec-core-3.5.4/lib/rspec/core/source/location.rb +13 -0
- data/vendor/jruby/1.9/gems/rspec-core-3.5.4/lib/rspec/core/source/node.rb +93 -0
- data/vendor/jruby/1.9/gems/rspec-core-3.5.4/lib/rspec/core/source/syntax_highlighter.rb +71 -0
- data/vendor/jruby/1.9/gems/rspec-core-3.5.4/lib/rspec/core/source/token.rb +87 -0
- data/vendor/jruby/1.9/gems/rspec-core-3.5.4/lib/rspec/core/test_unit_assertions_adapter.rb +30 -0
- data/vendor/jruby/1.9/gems/rspec-core-3.5.4/lib/rspec/core/version.rb +9 -0
- data/vendor/jruby/1.9/gems/rspec-core-3.5.4/lib/rspec/core/warnings.rb +40 -0
- data/vendor/jruby/1.9/gems/rspec-core-3.5.4/lib/rspec/core/world.rb +256 -0
- data/vendor/jruby/1.9/gems/rspec-expectations-3.5.0/Changelog.md +1034 -0
- data/vendor/jruby/1.9/gems/rspec-expectations-3.5.0/LICENSE.md +25 -0
- data/vendor/jruby/1.9/gems/rspec-expectations-3.5.0/README.md +303 -0
- data/vendor/jruby/1.9/gems/rspec-expectations-3.5.0/lib/rspec/expectations.rb +81 -0
- data/vendor/jruby/1.9/gems/rspec-expectations-3.5.0/lib/rspec/expectations/configuration.rb +201 -0
- data/vendor/jruby/1.9/gems/rspec-expectations-3.5.0/lib/rspec/expectations/expectation_target.rb +127 -0
- data/vendor/jruby/1.9/gems/rspec-expectations-3.5.0/lib/rspec/expectations/fail_with.rb +31 -0
- data/vendor/jruby/1.9/gems/rspec-expectations-3.5.0/lib/rspec/expectations/failure_aggregator.rb +194 -0
- data/vendor/jruby/1.9/gems/rspec-expectations-3.5.0/lib/rspec/expectations/handler.rb +170 -0
- data/vendor/jruby/1.9/gems/rspec-expectations-3.5.0/lib/rspec/expectations/minitest_integration.rb +58 -0
- data/vendor/jruby/1.9/gems/rspec-expectations-3.5.0/lib/rspec/expectations/syntax.rb +132 -0
- data/vendor/jruby/1.9/gems/rspec-expectations-3.5.0/lib/rspec/expectations/version.rb +8 -0
- data/vendor/jruby/1.9/gems/rspec-expectations-3.5.0/lib/rspec/matchers.rb +1038 -0
- data/vendor/jruby/1.9/gems/rspec-expectations-3.5.0/lib/rspec/matchers/aliased_matcher.rb +116 -0
- data/vendor/jruby/1.9/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in.rb +52 -0
- data/vendor/jruby/1.9/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/all.rb +85 -0
- data/vendor/jruby/1.9/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/base_matcher.rb +181 -0
- data/vendor/jruby/1.9/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/be.rb +288 -0
- data/vendor/jruby/1.9/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/be_between.rb +77 -0
- data/vendor/jruby/1.9/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/be_instance_of.rb +22 -0
- data/vendor/jruby/1.9/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/be_kind_of.rb +16 -0
- data/vendor/jruby/1.9/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/be_within.rb +72 -0
- data/vendor/jruby/1.9/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/change.rb +354 -0
- data/vendor/jruby/1.9/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/compound.rb +272 -0
- data/vendor/jruby/1.9/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/contain_exactly.rb +286 -0
- data/vendor/jruby/1.9/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/cover.rb +24 -0
- data/vendor/jruby/1.9/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/eq.rb +40 -0
- data/vendor/jruby/1.9/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/eql.rb +34 -0
- data/vendor/jruby/1.9/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/equal.rb +81 -0
- data/vendor/jruby/1.9/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/exist.rb +86 -0
- data/vendor/jruby/1.9/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/has.rb +103 -0
- data/vendor/jruby/1.9/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/have_attributes.rb +114 -0
- data/vendor/jruby/1.9/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/include.rb +143 -0
- data/vendor/jruby/1.9/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/match.rb +106 -0
- data/vendor/jruby/1.9/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/operators.rb +128 -0
- data/vendor/jruby/1.9/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/output.rb +200 -0
- data/vendor/jruby/1.9/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/raise_error.rb +230 -0
- data/vendor/jruby/1.9/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/respond_to.rb +165 -0
- data/vendor/jruby/1.9/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/satisfy.rb +37 -0
- data/vendor/jruby/1.9/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/start_or_end_with.rb +94 -0
- data/vendor/jruby/1.9/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/throw_symbol.rb +132 -0
- data/vendor/jruby/1.9/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/yield.rb +419 -0
- data/vendor/jruby/1.9/gems/rspec-expectations-3.5.0/lib/rspec/matchers/composable.rb +185 -0
- data/vendor/jruby/1.9/gems/rspec-expectations-3.5.0/lib/rspec/matchers/dsl.rb +466 -0
- data/vendor/jruby/1.9/gems/rspec-expectations-3.5.0/lib/rspec/matchers/english_phrasing.rb +58 -0
- data/vendor/jruby/1.9/gems/rspec-expectations-3.5.0/lib/rspec/matchers/expecteds_for_multiple_diffs.rb +73 -0
- data/vendor/jruby/1.9/gems/rspec-expectations-3.5.0/lib/rspec/matchers/fail_matchers.rb +42 -0
- data/vendor/jruby/1.9/gems/rspec-expectations-3.5.0/lib/rspec/matchers/generated_descriptions.rb +42 -0
- data/vendor/jruby/1.9/gems/rspec-expectations-3.5.0/lib/rspec/matchers/matcher_delegator.rb +35 -0
- data/vendor/jruby/1.9/gems/rspec-expectations-3.5.0/lib/rspec/matchers/matcher_protocol.rb +99 -0
- data/vendor/jruby/1.9/gems/rspec-mocks-3.5.0/Changelog.md +1043 -0
- data/vendor/jruby/1.9/gems/rspec-mocks-3.5.0/LICENSE.md +25 -0
- data/vendor/jruby/1.9/gems/rspec-mocks-3.5.0/README.md +445 -0
- data/vendor/jruby/1.9/gems/rspec-mocks-3.5.0/lib/rspec/mocks.rb +130 -0
- data/vendor/jruby/1.9/gems/rspec-mocks-3.5.0/lib/rspec/mocks/any_instance.rb +11 -0
- data/vendor/jruby/1.9/gems/rspec-mocks-3.5.0/lib/rspec/mocks/any_instance/chain.rb +110 -0
- data/vendor/jruby/1.9/gems/rspec-mocks-3.5.0/lib/rspec/mocks/any_instance/error_generator.rb +31 -0
- data/vendor/jruby/1.9/gems/rspec-mocks-3.5.0/lib/rspec/mocks/any_instance/expect_chain_chain.rb +35 -0
- data/vendor/jruby/1.9/gems/rspec-mocks-3.5.0/lib/rspec/mocks/any_instance/expectation_chain.rb +48 -0
- data/vendor/jruby/1.9/gems/rspec-mocks-3.5.0/lib/rspec/mocks/any_instance/message_chains.rb +83 -0
- data/vendor/jruby/1.9/gems/rspec-mocks-3.5.0/lib/rspec/mocks/any_instance/proxy.rb +116 -0
- data/vendor/jruby/1.9/gems/rspec-mocks-3.5.0/lib/rspec/mocks/any_instance/recorder.rb +289 -0
- data/vendor/jruby/1.9/gems/rspec-mocks-3.5.0/lib/rspec/mocks/any_instance/stub_chain.rb +47 -0
- data/vendor/jruby/1.9/gems/rspec-mocks-3.5.0/lib/rspec/mocks/any_instance/stub_chain_chain.rb +28 -0
- data/vendor/jruby/1.9/gems/rspec-mocks-3.5.0/lib/rspec/mocks/argument_list_matcher.rb +100 -0
- data/vendor/jruby/1.9/gems/rspec-mocks-3.5.0/lib/rspec/mocks/argument_matchers.rb +320 -0
- data/vendor/jruby/1.9/gems/rspec-mocks-3.5.0/lib/rspec/mocks/configuration.rb +205 -0
- data/vendor/jruby/1.9/gems/rspec-mocks-3.5.0/lib/rspec/mocks/error_generator.rb +369 -0
- data/vendor/jruby/1.9/gems/rspec-mocks-3.5.0/lib/rspec/mocks/example_methods.rb +422 -0
- data/vendor/jruby/1.9/gems/rspec-mocks-3.5.0/lib/rspec/mocks/instance_method_stasher.rb +135 -0
- data/vendor/jruby/1.9/gems/rspec-mocks-3.5.0/lib/rspec/mocks/marshal_extension.rb +41 -0
- data/vendor/jruby/1.9/gems/rspec-mocks-3.5.0/lib/rspec/mocks/matchers/expectation_customization.rb +20 -0
- data/vendor/jruby/1.9/gems/rspec-mocks-3.5.0/lib/rspec/mocks/matchers/have_received.rb +130 -0
- data/vendor/jruby/1.9/gems/rspec-mocks-3.5.0/lib/rspec/mocks/matchers/receive.rb +132 -0
- data/vendor/jruby/1.9/gems/rspec-mocks-3.5.0/lib/rspec/mocks/matchers/receive_message_chain.rb +82 -0
- data/vendor/jruby/1.9/gems/rspec-mocks-3.5.0/lib/rspec/mocks/matchers/receive_messages.rb +77 -0
- data/vendor/jruby/1.9/gems/rspec-mocks-3.5.0/lib/rspec/mocks/message_chain.rb +87 -0
- data/vendor/jruby/1.9/gems/rspec-mocks-3.5.0/lib/rspec/mocks/message_expectation.rb +740 -0
- data/vendor/jruby/1.9/gems/rspec-mocks-3.5.0/lib/rspec/mocks/method_double.rb +287 -0
- data/vendor/jruby/1.9/gems/rspec-mocks-3.5.0/lib/rspec/mocks/method_reference.rb +202 -0
- data/vendor/jruby/1.9/gems/rspec-mocks-3.5.0/lib/rspec/mocks/minitest_integration.rb +68 -0
- data/vendor/jruby/1.9/gems/rspec-mocks-3.5.0/lib/rspec/mocks/mutate_const.rb +335 -0
- data/vendor/jruby/1.9/gems/rspec-mocks-3.5.0/lib/rspec/mocks/object_reference.rb +149 -0
- data/vendor/jruby/1.9/gems/rspec-mocks-3.5.0/lib/rspec/mocks/order_group.rb +81 -0
- data/vendor/jruby/1.9/gems/rspec-mocks-3.5.0/lib/rspec/mocks/proxy.rb +489 -0
- data/vendor/jruby/1.9/gems/rspec-mocks-3.5.0/lib/rspec/mocks/space.rb +238 -0
- data/vendor/jruby/1.9/gems/rspec-mocks-3.5.0/lib/rspec/mocks/standalone.rb +3 -0
- data/vendor/jruby/1.9/gems/rspec-mocks-3.5.0/lib/rspec/mocks/syntax.rb +325 -0
- data/vendor/jruby/1.9/gems/rspec-mocks-3.5.0/lib/rspec/mocks/targets.rb +124 -0
- data/vendor/jruby/1.9/gems/rspec-mocks-3.5.0/lib/rspec/mocks/test_double.rb +170 -0
- data/vendor/jruby/1.9/gems/rspec-mocks-3.5.0/lib/rspec/mocks/verifying_double.rb +129 -0
- data/vendor/jruby/1.9/gems/rspec-mocks-3.5.0/lib/rspec/mocks/verifying_message_expectation.rb +54 -0
- data/vendor/jruby/1.9/gems/rspec-mocks-3.5.0/lib/rspec/mocks/verifying_proxy.rb +213 -0
- data/vendor/jruby/1.9/gems/rspec-mocks-3.5.0/lib/rspec/mocks/version.rb +9 -0
- data/vendor/jruby/1.9/gems/rspec-support-3.5.0/Changelog.md +192 -0
- data/vendor/jruby/1.9/gems/rspec-support-3.5.0/LICENSE.md +23 -0
- data/vendor/jruby/1.9/gems/rspec-support-3.5.0/README.md +40 -0
- data/vendor/jruby/1.9/gems/rspec-support-3.5.0/lib/rspec/support.rb +139 -0
- data/vendor/jruby/1.9/gems/rspec-support-3.5.0/lib/rspec/support/caller_filter.rb +83 -0
- data/vendor/jruby/1.9/gems/rspec-support-3.5.0/lib/rspec/support/comparable_version.rb +46 -0
- data/vendor/jruby/1.9/gems/rspec-support-3.5.0/lib/rspec/support/differ.rb +215 -0
- data/vendor/jruby/1.9/gems/rspec-support-3.5.0/lib/rspec/support/directory_maker.rb +63 -0
- data/vendor/jruby/1.9/gems/rspec-support-3.5.0/lib/rspec/support/encoded_string.rb +165 -0
- data/vendor/jruby/1.9/gems/rspec-support-3.5.0/lib/rspec/support/fuzzy_matcher.rb +48 -0
- data/vendor/jruby/1.9/gems/rspec-support-3.5.0/lib/rspec/support/hunk_generator.rb +47 -0
- data/vendor/jruby/1.9/gems/rspec-support-3.5.0/lib/rspec/support/matcher_definition.rb +42 -0
- data/vendor/jruby/1.9/gems/rspec-support-3.5.0/lib/rspec/support/method_signature_verifier.rb +392 -0
- data/vendor/jruby/1.9/gems/rspec-support-3.5.0/lib/rspec/support/mutex.rb +73 -0
- data/vendor/jruby/1.9/gems/rspec-support-3.5.0/lib/rspec/support/object_formatter.rb +249 -0
- data/vendor/jruby/1.9/gems/rspec-support-3.5.0/lib/rspec/support/recursive_const_methods.rb +76 -0
- data/vendor/jruby/1.9/gems/rspec-support-3.5.0/lib/rspec/support/reentrant_mutex.rb +53 -0
- data/vendor/jruby/1.9/gems/rspec-support-3.5.0/lib/rspec/support/ruby_features.rb +149 -0
- data/vendor/jruby/1.9/gems/rspec-support-3.5.0/lib/rspec/support/spec.rb +81 -0
- data/vendor/jruby/1.9/gems/rspec-support-3.5.0/lib/rspec/support/spec/deprecation_helpers.rb +64 -0
- data/vendor/jruby/1.9/gems/rspec-support-3.5.0/lib/rspec/support/spec/formatting_support.rb +9 -0
- data/vendor/jruby/1.9/gems/rspec-support-3.5.0/lib/rspec/support/spec/in_sub_process.rb +52 -0
- data/vendor/jruby/1.9/gems/rspec-support-3.5.0/lib/rspec/support/spec/library_wide_checks.rb +150 -0
- data/vendor/jruby/1.9/gems/rspec-support-3.5.0/lib/rspec/support/spec/shell_out.rb +82 -0
- data/vendor/jruby/1.9/gems/rspec-support-3.5.0/lib/rspec/support/spec/stderr_splitter.rb +63 -0
- data/vendor/jruby/1.9/gems/rspec-support-3.5.0/lib/rspec/support/spec/string_matcher.rb +46 -0
- data/vendor/jruby/1.9/gems/rspec-support-3.5.0/lib/rspec/support/spec/with_isolated_directory.rb +13 -0
- data/vendor/jruby/1.9/gems/rspec-support-3.5.0/lib/rspec/support/spec/with_isolated_stderr.rb +13 -0
- data/vendor/jruby/1.9/gems/rspec-support-3.5.0/lib/rspec/support/version.rb +7 -0
- data/vendor/jruby/1.9/gems/rspec-support-3.5.0/lib/rspec/support/warnings.rb +39 -0
- data/vendor/jruby/1.9/gems/rspec-wait-0.0.9/CHANGELOG.md +33 -0
- data/vendor/jruby/1.9/gems/rspec-wait-0.0.9/CONTRIBUTING.md +48 -0
- data/vendor/jruby/1.9/gems/rspec-wait-0.0.9/Gemfile +3 -0
- data/vendor/jruby/1.9/gems/rspec-wait-0.0.9/LICENSE.txt +22 -0
- data/vendor/jruby/1.9/gems/rspec-wait-0.0.9/README.md +158 -0
- data/vendor/jruby/1.9/gems/rspec-wait-0.0.9/Rakefile +6 -0
- data/vendor/jruby/1.9/gems/rspec-wait-0.0.9/gemfiles/rspec_2_11.gemfile +9 -0
- data/vendor/jruby/1.9/gems/rspec-wait-0.0.9/gemfiles/rspec_2_12.gemfile +9 -0
- data/vendor/jruby/1.9/gems/rspec-wait-0.0.9/gemfiles/rspec_2_13.gemfile +9 -0
- data/vendor/jruby/1.9/gems/rspec-wait-0.0.9/gemfiles/rspec_2_14.gemfile +9 -0
- data/vendor/jruby/1.9/gems/rspec-wait-0.0.9/gemfiles/rspec_3_0.gemfile +9 -0
- data/vendor/jruby/1.9/gems/rspec-wait-0.0.9/gemfiles/rspec_3_1.gemfile +9 -0
- data/vendor/jruby/1.9/gems/rspec-wait-0.0.9/gemfiles/rspec_3_2.gemfile +9 -0
- data/vendor/jruby/1.9/gems/rspec-wait-0.0.9/gemfiles/rspec_3_3.gemfile +9 -0
- data/vendor/jruby/1.9/gems/rspec-wait-0.0.9/gemfiles/rspec_3_4.gemfile +9 -0
- data/vendor/jruby/1.9/gems/rspec-wait-0.0.9/gemfiles/rspec_3_5.gemfile +9 -0
- data/vendor/jruby/1.9/gems/rspec-wait-0.0.9/lib/rspec/wait.rb +49 -0
- data/vendor/jruby/1.9/gems/rspec-wait-0.0.9/lib/rspec/wait/error.rb +7 -0
- data/vendor/jruby/1.9/gems/rspec-wait-0.0.9/lib/rspec/wait/handler.rb +36 -0
- data/vendor/jruby/1.9/gems/rspec-wait-0.0.9/lib/rspec/wait/proxy.rb +13 -0
- data/vendor/jruby/1.9/gems/rspec-wait-0.0.9/lib/rspec/wait/target.rb +48 -0
- data/vendor/jruby/1.9/gems/rspec-wait-0.0.9/rspec-wait.gemspec +21 -0
- data/vendor/jruby/1.9/gems/rspec-wait-0.0.9/spec/spec_helper.rb +6 -0
- data/vendor/jruby/1.9/gems/rspec-wait-0.0.9/spec/wait_for_spec.rb +162 -0
- data/vendor/jruby/1.9/gems/rspec-wait-0.0.9/spec/wait_spec.rb +176 -0
- data/vendor/jruby/1.9/gems/ruby-maven-3.3.12/Gemfile +3 -0
- data/vendor/jruby/1.9/gems/ruby-maven-3.3.12/Mavenfile +15 -0
- data/vendor/jruby/1.9/gems/ruby-maven-3.3.12/README.md +71 -0
- data/vendor/jruby/1.9/gems/ruby-maven-3.3.12/Rakefile +33 -0
- data/vendor/jruby/1.9/gems/ruby-maven-3.3.12/bin/rmvn +7 -0
- data/vendor/jruby/1.9/gems/ruby-maven-3.3.12/lib/maven/ruby.rb +21 -0
- data/vendor/jruby/1.9/gems/ruby-maven-3.3.12/lib/maven/ruby/maven.rb +127 -0
- data/vendor/jruby/1.9/gems/ruby-maven-3.3.12/lib/maven/ruby/tasks.rb +56 -0
- data/vendor/jruby/1.9/gems/ruby-maven-3.3.12/lib/maven/ruby/version.rb +5 -0
- data/vendor/jruby/1.9/gems/ruby-maven-3.3.12/lib/ruby-maven.rb +21 -0
- data/vendor/jruby/1.9/gems/ruby-maven-3.3.12/lib/ruby_maven.rb +91 -0
- data/vendor/jruby/1.9/gems/ruby-maven-3.3.12/ruby-maven.gemspec +29 -0
- data/vendor/jruby/1.9/gems/ruby-maven-3.3.12/spec/maven_ruby_maven_spec.rb +39 -0
- data/vendor/jruby/1.9/gems/ruby-maven-3.3.12/spec/maven_ruby_maven_spec.rb~ +55 -0
- data/vendor/jruby/1.9/gems/ruby-maven-3.3.12/spec/ruby_maven_spec.rb +38 -0
- data/vendor/jruby/1.9/gems/ruby-maven-3.3.12/spec/setup.rb +26 -0
- data/vendor/jruby/1.9/gems/ruby-maven-libs-3.3.9/README.md +22 -0
- data/vendor/jruby/1.9/gems/ruby-maven-libs-3.3.9/lib/maven.rb +48 -0
- data/vendor/jruby/1.9/gems/ruby-maven-libs-3.3.9/maven-home/LICENSE +308 -0
- data/vendor/jruby/1.9/gems/ruby-maven-libs-3.3.9/maven-home/NOTICE +8 -0
- data/vendor/jruby/1.9/gems/ruby-maven-libs-3.3.9/maven-home/README.txt +79 -0
- data/vendor/jruby/1.9/gems/ruby-maven-libs-3.3.9/maven-home/bin/m2.conf +8 -0
- data/vendor/jruby/1.9/gems/ruby-maven-libs-3.3.9/maven-home/bin/mvn +244 -0
- data/vendor/jruby/1.9/gems/ruby-maven-libs-3.3.9/maven-home/bin/mvn.cmd +178 -0
- data/vendor/jruby/1.9/gems/ruby-maven-libs-3.3.9/maven-home/bin/mvnDebug +41 -0
- data/vendor/jruby/1.9/gems/ruby-maven-libs-3.3.9/maven-home/bin/mvnDebug.cmd +31 -0
- data/vendor/jruby/1.9/gems/ruby-maven-libs-3.3.9/maven-home/bin/mvnyjp +42 -0
- data/vendor/jruby/1.9/gems/ruby-maven-libs-3.3.9/maven-home/boot/plexus-classworlds-2.5.2.jar +0 -0
- data/vendor/jruby/1.9/gems/ruby-maven-libs-3.3.9/maven-home/conf/logging/simplelogger.properties +25 -0
- data/vendor/jruby/1.9/gems/ruby-maven-libs-3.3.9/maven-home/conf/settings.xml +257 -0
- data/vendor/jruby/1.9/gems/ruby-maven-libs-3.3.9/maven-home/conf/toolchains.xml +103 -0
- data/vendor/jruby/1.9/gems/ruby-maven-libs-3.3.9/maven-home/lib/aether-api-1.0.2.v20150114.jar +0 -0
- data/vendor/jruby/1.9/gems/ruby-maven-libs-3.3.9/maven-home/lib/aether-api.license +261 -0
- data/vendor/jruby/1.9/gems/ruby-maven-libs-3.3.9/maven-home/lib/aether-connector-basic-1.0.2.v20150114.jar +0 -0
- data/vendor/jruby/1.9/gems/ruby-maven-libs-3.3.9/maven-home/lib/aether-connector-basic.license +261 -0
- data/vendor/jruby/1.9/gems/ruby-maven-libs-3.3.9/maven-home/lib/aether-impl-1.0.2.v20150114.jar +0 -0
- data/vendor/jruby/1.9/gems/ruby-maven-libs-3.3.9/maven-home/lib/aether-impl.license +261 -0
- data/vendor/jruby/1.9/gems/ruby-maven-libs-3.3.9/maven-home/lib/aether-spi-1.0.2.v20150114.jar +0 -0
- data/vendor/jruby/1.9/gems/ruby-maven-libs-3.3.9/maven-home/lib/aether-spi.license +261 -0
- data/vendor/jruby/1.9/gems/ruby-maven-libs-3.3.9/maven-home/lib/aether-transport-wagon-1.0.2.v20150114.jar +0 -0
- data/vendor/jruby/1.9/gems/ruby-maven-libs-3.3.9/maven-home/lib/aether-transport-wagon.license +261 -0
- data/vendor/jruby/1.9/gems/ruby-maven-libs-3.3.9/maven-home/lib/aether-util-1.0.2.v20150114.jar +0 -0
- data/vendor/jruby/1.9/gems/ruby-maven-libs-3.3.9/maven-home/lib/aether-util.license +261 -0
- data/vendor/jruby/1.9/gems/ruby-maven-libs-3.3.9/maven-home/lib/aopalliance-1.0.jar +0 -0
- data/vendor/jruby/1.9/gems/ruby-maven-libs-3.3.9/maven-home/lib/cdi-api-1.0.jar +0 -0
- data/vendor/jruby/1.9/gems/ruby-maven-libs-3.3.9/maven-home/lib/cdi-api.license +410 -0
- data/vendor/jruby/1.9/gems/ruby-maven-libs-3.3.9/maven-home/lib/commons-cli-1.2.jar +0 -0
- data/vendor/jruby/1.9/gems/ruby-maven-libs-3.3.9/maven-home/lib/commons-io-2.2.jar +0 -0
- data/vendor/jruby/1.9/gems/ruby-maven-libs-3.3.9/maven-home/lib/commons-lang-2.6.jar +0 -0
- data/vendor/jruby/1.9/gems/ruby-maven-libs-3.3.9/maven-home/lib/commons-lang3-3.4.jar +0 -0
- data/vendor/jruby/1.9/gems/ruby-maven-libs-3.3.9/maven-home/lib/commons-lang3.license +202 -0
- data/vendor/jruby/1.9/gems/ruby-maven-libs-3.3.9/maven-home/lib/ext/README.txt +2 -0
- data/vendor/jruby/1.9/gems/ruby-maven-libs-3.3.9/maven-home/lib/guava-18.0.jar +0 -0
- data/vendor/jruby/1.9/gems/ruby-maven-libs-3.3.9/maven-home/lib/guice-4.0-no_aop.jar +0 -0
- data/vendor/jruby/1.9/gems/ruby-maven-libs-3.3.9/maven-home/lib/javax.inject-1.jar +0 -0
- data/vendor/jruby/1.9/gems/ruby-maven-libs-3.3.9/maven-home/lib/jsoup-1.7.2.jar +0 -0
- data/vendor/jruby/1.9/gems/ruby-maven-libs-3.3.9/maven-home/lib/jsoup.license +65 -0
- data/vendor/jruby/1.9/gems/ruby-maven-libs-3.3.9/maven-home/lib/jsr250-api-1.0.jar +0 -0
- data/vendor/jruby/1.9/gems/ruby-maven-libs-3.3.9/maven-home/lib/jsr250-api.license +406 -0
- data/vendor/jruby/1.9/gems/ruby-maven-libs-3.3.9/maven-home/lib/maven-aether-provider-3.3.9.jar +0 -0
- data/vendor/jruby/1.9/gems/ruby-maven-libs-3.3.9/maven-home/lib/maven-aether-provider.license +202 -0
- data/vendor/jruby/1.9/gems/ruby-maven-libs-3.3.9/maven-home/lib/maven-artifact-3.3.9.jar +0 -0
- data/vendor/jruby/1.9/gems/ruby-maven-libs-3.3.9/maven-home/lib/maven-artifact.license +202 -0
- data/vendor/jruby/1.9/gems/ruby-maven-libs-3.3.9/maven-home/lib/maven-builder-support-3.3.9.jar +0 -0
- data/vendor/jruby/1.9/gems/ruby-maven-libs-3.3.9/maven-home/lib/maven-builder-support.license +202 -0
- data/vendor/jruby/1.9/gems/ruby-maven-libs-3.3.9/maven-home/lib/maven-compat-3.3.9.jar +0 -0
- data/vendor/jruby/1.9/gems/ruby-maven-libs-3.3.9/maven-home/lib/maven-compat.license +202 -0
- data/vendor/jruby/1.9/gems/ruby-maven-libs-3.3.9/maven-home/lib/maven-core-3.3.9.jar +0 -0
- data/vendor/jruby/1.9/gems/ruby-maven-libs-3.3.9/maven-home/lib/maven-core.license +202 -0
- data/vendor/jruby/1.9/gems/ruby-maven-libs-3.3.9/maven-home/lib/maven-embedder-3.3.9.jar +0 -0
- data/vendor/jruby/1.9/gems/ruby-maven-libs-3.3.9/maven-home/lib/maven-embedder.license +202 -0
- data/vendor/jruby/1.9/gems/ruby-maven-libs-3.3.9/maven-home/lib/maven-model-3.3.9.jar +0 -0
- data/vendor/jruby/1.9/gems/ruby-maven-libs-3.3.9/maven-home/lib/maven-model-builder-3.3.9.jar +0 -0
- data/vendor/jruby/1.9/gems/ruby-maven-libs-3.3.9/maven-home/lib/maven-model-builder.license +202 -0
- data/vendor/jruby/1.9/gems/ruby-maven-libs-3.3.9/maven-home/lib/maven-model.license +202 -0
- data/vendor/jruby/1.9/gems/ruby-maven-libs-3.3.9/maven-home/lib/maven-plugin-api-3.3.9.jar +0 -0
- data/vendor/jruby/1.9/gems/ruby-maven-libs-3.3.9/maven-home/lib/maven-plugin-api.license +202 -0
- data/vendor/jruby/1.9/gems/ruby-maven-libs-3.3.9/maven-home/lib/maven-repository-metadata-3.3.9.jar +0 -0
- data/vendor/jruby/1.9/gems/ruby-maven-libs-3.3.9/maven-home/lib/maven-repository-metadata.license +202 -0
- data/vendor/jruby/1.9/gems/ruby-maven-libs-3.3.9/maven-home/lib/maven-settings-3.3.9.jar +0 -0
- data/vendor/jruby/1.9/gems/ruby-maven-libs-3.3.9/maven-home/lib/maven-settings-builder-3.3.9.jar +0 -0
- data/vendor/jruby/1.9/gems/ruby-maven-libs-3.3.9/maven-home/lib/maven-settings-builder.license +202 -0
- data/vendor/jruby/1.9/gems/ruby-maven-libs-3.3.9/maven-home/lib/maven-settings.license +202 -0
- data/vendor/jruby/1.9/gems/ruby-maven-libs-3.3.9/maven-home/lib/org.eclipse.sisu.inject-0.3.2.jar +0 -0
- data/vendor/jruby/1.9/gems/ruby-maven-libs-3.3.9/maven-home/lib/org.eclipse.sisu.inject.license +261 -0
- data/vendor/jruby/1.9/gems/ruby-maven-libs-3.3.9/maven-home/lib/org.eclipse.sisu.plexus-0.3.2.jar +0 -0
- data/vendor/jruby/1.9/gems/ruby-maven-libs-3.3.9/maven-home/lib/org.eclipse.sisu.plexus.license +261 -0
- data/vendor/jruby/1.9/gems/ruby-maven-libs-3.3.9/maven-home/lib/plexus-cipher-1.7.jar +0 -0
- data/vendor/jruby/1.9/gems/ruby-maven-libs-3.3.9/maven-home/lib/plexus-cipher.license +410 -0
- data/vendor/jruby/1.9/gems/ruby-maven-libs-3.3.9/maven-home/lib/plexus-component-annotations-1.6.jar +0 -0
- data/vendor/jruby/1.9/gems/ruby-maven-libs-3.3.9/maven-home/lib/plexus-interpolation-1.21.jar +0 -0
- data/vendor/jruby/1.9/gems/ruby-maven-libs-3.3.9/maven-home/lib/plexus-sec-dispatcher-1.3.jar +0 -0
- data/vendor/jruby/1.9/gems/ruby-maven-libs-3.3.9/maven-home/lib/plexus-sec-dispatcher.license +410 -0
- data/vendor/jruby/1.9/gems/ruby-maven-libs-3.3.9/maven-home/lib/plexus-utils-3.0.22.jar +0 -0
- data/vendor/jruby/1.9/gems/ruby-maven-libs-3.3.9/maven-home/lib/slf4j-api-1.7.5.jar +0 -0
- data/vendor/jruby/1.9/gems/ruby-maven-libs-3.3.9/maven-home/lib/slf4j-api.license +370 -0
- data/vendor/jruby/1.9/gems/ruby-maven-libs-3.3.9/maven-home/lib/slf4j-simple-1.7.5.jar +0 -0
- data/vendor/jruby/1.9/gems/ruby-maven-libs-3.3.9/maven-home/lib/slf4j-simple.license +370 -0
- data/vendor/jruby/1.9/gems/ruby-maven-libs-3.3.9/maven-home/lib/wagon-file-2.10.jar +0 -0
- data/vendor/jruby/1.9/gems/ruby-maven-libs-3.3.9/maven-home/lib/wagon-file.license +202 -0
- data/vendor/jruby/1.9/gems/ruby-maven-libs-3.3.9/maven-home/lib/wagon-http-2.10-shaded.jar +0 -0
- data/vendor/jruby/1.9/gems/ruby-maven-libs-3.3.9/maven-home/lib/wagon-http-shared-2.10.jar +0 -0
- data/vendor/jruby/1.9/gems/ruby-maven-libs-3.3.9/maven-home/lib/wagon-http-shared.license +202 -0
- data/vendor/jruby/1.9/gems/ruby-maven-libs-3.3.9/maven-home/lib/wagon-http.license +202 -0
- data/vendor/jruby/1.9/gems/ruby-maven-libs-3.3.9/maven-home/lib/wagon-provider-api-2.10.jar +0 -0
- data/vendor/jruby/1.9/gems/ruby-maven-libs-3.3.9/maven-home/lib/wagon-provider-api.license +202 -0
- data/vendor/jruby/1.9/gems/rubyzip-1.1.7/README.md +271 -0
- data/vendor/jruby/1.9/gems/rubyzip-1.1.7/Rakefile +19 -0
- data/vendor/jruby/1.9/gems/rubyzip-1.1.7/TODO +15 -0
- data/vendor/jruby/1.9/gems/rubyzip-1.1.7/lib/zip.rb +63 -0
- data/vendor/jruby/1.9/gems/rubyzip-1.1.7/lib/zip/central_directory.rb +208 -0
- data/vendor/jruby/1.9/gems/rubyzip-1.1.7/lib/zip/compressor.rb +10 -0
- data/vendor/jruby/1.9/gems/rubyzip-1.1.7/lib/zip/constants.rb +63 -0
- data/vendor/jruby/1.9/gems/rubyzip-1.1.7/lib/zip/crypto/encryption.rb +11 -0
- data/vendor/jruby/1.9/gems/rubyzip-1.1.7/lib/zip/crypto/null_encryption.rb +45 -0
- data/vendor/jruby/1.9/gems/rubyzip-1.1.7/lib/zip/crypto/traditional_encryption.rb +99 -0
- data/vendor/jruby/1.9/gems/rubyzip-1.1.7/lib/zip/decompressor.rb +13 -0
- data/vendor/jruby/1.9/gems/rubyzip-1.1.7/lib/zip/deflater.rb +32 -0
- data/vendor/jruby/1.9/gems/rubyzip-1.1.7/lib/zip/dos_time.rb +49 -0
- data/vendor/jruby/1.9/gems/rubyzip-1.1.7/lib/zip/entry.rb +696 -0
- data/vendor/jruby/1.9/gems/rubyzip-1.1.7/lib/zip/entry_set.rb +86 -0
- data/vendor/jruby/1.9/gems/rubyzip-1.1.7/lib/zip/errors.rb +16 -0
- data/vendor/jruby/1.9/gems/rubyzip-1.1.7/lib/zip/extra_field.rb +101 -0
- data/vendor/jruby/1.9/gems/rubyzip-1.1.7/lib/zip/extra_field/generic.rb +43 -0
- data/vendor/jruby/1.9/gems/rubyzip-1.1.7/lib/zip/extra_field/ntfs.rb +92 -0
- data/vendor/jruby/1.9/gems/rubyzip-1.1.7/lib/zip/extra_field/old_unix.rb +45 -0
- data/vendor/jruby/1.9/gems/rubyzip-1.1.7/lib/zip/extra_field/universal_time.rb +47 -0
- data/vendor/jruby/1.9/gems/rubyzip-1.1.7/lib/zip/extra_field/unix.rb +38 -0
- data/vendor/jruby/1.9/gems/rubyzip-1.1.7/lib/zip/extra_field/zip64.rb +67 -0
- data/vendor/jruby/1.9/gems/rubyzip-1.1.7/lib/zip/extra_field/zip64_placeholder.rb +16 -0
- data/vendor/jruby/1.9/gems/rubyzip-1.1.7/lib/zip/file.rb +436 -0
- data/vendor/jruby/1.9/gems/rubyzip-1.1.7/lib/zip/filesystem.rb +626 -0
- data/vendor/jruby/1.9/gems/rubyzip-1.1.7/lib/zip/inflater.rb +66 -0
- data/vendor/jruby/1.9/gems/rubyzip-1.1.7/lib/zip/input_stream.rb +164 -0
- data/vendor/jruby/1.9/gems/rubyzip-1.1.7/lib/zip/ioextras.rb +38 -0
- data/vendor/jruby/1.9/gems/rubyzip-1.1.7/lib/zip/ioextras/abstract_input_stream.rb +115 -0
- data/vendor/jruby/1.9/gems/rubyzip-1.1.7/lib/zip/ioextras/abstract_output_stream.rb +45 -0
- data/vendor/jruby/1.9/gems/rubyzip-1.1.7/lib/zip/null_compressor.rb +15 -0
- data/vendor/jruby/1.9/gems/rubyzip-1.1.7/lib/zip/null_decompressor.rb +27 -0
- data/vendor/jruby/1.9/gems/rubyzip-1.1.7/lib/zip/null_input_stream.rb +10 -0
- data/vendor/jruby/1.9/gems/rubyzip-1.1.7/lib/zip/output_stream.rb +190 -0
- data/vendor/jruby/1.9/gems/rubyzip-1.1.7/lib/zip/pass_thru_compressor.rb +23 -0
- data/vendor/jruby/1.9/gems/rubyzip-1.1.7/lib/zip/pass_thru_decompressor.rb +41 -0
- data/vendor/jruby/1.9/gems/rubyzip-1.1.7/lib/zip/streamable_directory.rb +15 -0
- data/vendor/jruby/1.9/gems/rubyzip-1.1.7/lib/zip/streamable_stream.rb +56 -0
- data/vendor/jruby/1.9/gems/rubyzip-1.1.7/lib/zip/version.rb +3 -0
- data/vendor/jruby/1.9/gems/rubyzip-1.1.7/samples/example.rb +91 -0
- data/vendor/jruby/1.9/gems/rubyzip-1.1.7/samples/example_filesystem.rb +33 -0
- data/vendor/jruby/1.9/gems/rubyzip-1.1.7/samples/example_recursive.rb +48 -0
- data/vendor/jruby/1.9/gems/rubyzip-1.1.7/samples/gtkRubyzip.rb +86 -0
- data/vendor/jruby/1.9/gems/rubyzip-1.1.7/samples/qtzip.rb +101 -0
- data/vendor/jruby/1.9/gems/rubyzip-1.1.7/samples/write_simple.rb +13 -0
- data/vendor/jruby/1.9/gems/rubyzip-1.1.7/samples/zipfind.rb +74 -0
- data/vendor/jruby/1.9/gems/rubyzip-1.1.7/test/basic_zip_file_test.rb +64 -0
- data/vendor/jruby/1.9/gems/rubyzip-1.1.7/test/central_directory_entry_test.rb +73 -0
- data/vendor/jruby/1.9/gems/rubyzip-1.1.7/test/central_directory_test.rb +104 -0
- data/vendor/jruby/1.9/gems/rubyzip-1.1.7/test/crypto/null_encryption_test.rb +53 -0
- data/vendor/jruby/1.9/gems/rubyzip-1.1.7/test/crypto/traditional_encryption_test.rb +80 -0
- data/vendor/jruby/1.9/gems/rubyzip-1.1.7/test/data/WarnInvalidDate.zip +0 -0
- data/vendor/jruby/1.9/gems/rubyzip-1.1.7/test/data/file1.txt +46 -0
- data/vendor/jruby/1.9/gems/rubyzip-1.1.7/test/data/file1.txt.deflatedData +0 -0
- data/vendor/jruby/1.9/gems/rubyzip-1.1.7/test/data/file2.txt +1504 -0
- data/vendor/jruby/1.9/gems/rubyzip-1.1.7/test/data/globTest.zip +0 -0
- data/vendor/jruby/1.9/gems/rubyzip-1.1.7/test/data/globTest/foo.txt +0 -0
- data/vendor/jruby/1.9/gems/rubyzip-1.1.7/test/data/globTest/foo/bar/baz/foo.txt +0 -0
- data/vendor/jruby/1.9/gems/rubyzip-1.1.7/test/data/globTest/food.txt +0 -0
- data/vendor/jruby/1.9/gems/rubyzip-1.1.7/test/data/mimetype +1 -0
- data/vendor/jruby/1.9/gems/rubyzip-1.1.7/test/data/notzippedruby.rb +7 -0
- data/vendor/jruby/1.9/gems/rubyzip-1.1.7/test/data/ntfs.zip +0 -0
- data/vendor/jruby/1.9/gems/rubyzip-1.1.7/test/data/rubycode.zip +0 -0
- data/vendor/jruby/1.9/gems/rubyzip-1.1.7/test/data/rubycode2.zip +0 -0
- data/vendor/jruby/1.9/gems/rubyzip-1.1.7/test/data/testDirectory.bin +0 -0
- data/vendor/jruby/1.9/gems/rubyzip-1.1.7/test/data/zip64-sample.zip +0 -0
- data/vendor/jruby/1.9/gems/rubyzip-1.1.7/test/data/zipWithDirs.zip +0 -0
- data/vendor/jruby/1.9/gems/rubyzip-1.1.7/test/data/zipWithEncryption.zip +0 -0
- data/vendor/jruby/1.9/gems/rubyzip-1.1.7/test/deflater_test.rb +67 -0
- data/vendor/jruby/1.9/gems/rubyzip-1.1.7/test/encryption_test.rb +42 -0
- data/vendor/jruby/1.9/gems/rubyzip-1.1.7/test/entry_set_test.rb +138 -0
- data/vendor/jruby/1.9/gems/rubyzip-1.1.7/test/entry_test.rb +165 -0
- data/vendor/jruby/1.9/gems/rubyzip-1.1.7/test/errors_test.rb +36 -0
- data/vendor/jruby/1.9/gems/rubyzip-1.1.7/test/extra_field_test.rb +78 -0
- data/vendor/jruby/1.9/gems/rubyzip-1.1.7/test/file_extract_directory_test.rb +56 -0
- data/vendor/jruby/1.9/gems/rubyzip-1.1.7/test/file_extract_test.rb +90 -0
- data/vendor/jruby/1.9/gems/rubyzip-1.1.7/test/file_split_test.rb +60 -0
- data/vendor/jruby/1.9/gems/rubyzip-1.1.7/test/file_test.rb +559 -0
- data/vendor/jruby/1.9/gems/rubyzip-1.1.7/test/filesystem/dir_iterator_test.rb +62 -0
- data/vendor/jruby/1.9/gems/rubyzip-1.1.7/test/filesystem/directory_test.rb +131 -0
- data/vendor/jruby/1.9/gems/rubyzip-1.1.7/test/filesystem/file_mutating_test.rb +100 -0
- data/vendor/jruby/1.9/gems/rubyzip-1.1.7/test/filesystem/file_nonmutating_test.rb +514 -0
- data/vendor/jruby/1.9/gems/rubyzip-1.1.7/test/filesystem/file_stat_test.rb +66 -0
- data/vendor/jruby/1.9/gems/rubyzip-1.1.7/test/gentestfiles.rb +134 -0
- data/vendor/jruby/1.9/gems/rubyzip-1.1.7/test/inflater_test.rb +14 -0
- data/vendor/jruby/1.9/gems/rubyzip-1.1.7/test/input_stream_test.rb +170 -0
- data/vendor/jruby/1.9/gems/rubyzip-1.1.7/test/ioextras/abstract_input_stream_test.rb +103 -0
- data/vendor/jruby/1.9/gems/rubyzip-1.1.7/test/ioextras/abstract_output_stream_test.rb +106 -0
- data/vendor/jruby/1.9/gems/rubyzip-1.1.7/test/ioextras/fake_io_test.rb +18 -0
- data/vendor/jruby/1.9/gems/rubyzip-1.1.7/test/local_entry_test.rb +156 -0
- data/vendor/jruby/1.9/gems/rubyzip-1.1.7/test/output_stream_test.rb +129 -0
- data/vendor/jruby/1.9/gems/rubyzip-1.1.7/test/pass_thru_compressor_test.rb +31 -0
- data/vendor/jruby/1.9/gems/rubyzip-1.1.7/test/pass_thru_decompressor_test.rb +15 -0
- data/vendor/jruby/1.9/gems/rubyzip-1.1.7/test/settings_test.rb +92 -0
- data/vendor/jruby/1.9/gems/rubyzip-1.1.7/test/test_helper.rb +228 -0
- data/vendor/jruby/1.9/gems/rubyzip-1.1.7/test/unicode_file_names_and_comments_test.rb +52 -0
- data/vendor/jruby/1.9/gems/rubyzip-1.1.7/test/zip64_full_test.rb +53 -0
- data/vendor/jruby/1.9/gems/rubyzip-1.1.7/test/zip64_support_test.rb +15 -0
- data/vendor/jruby/1.9/gems/safe_yaml-1.0.4/CHANGES.md +149 -0
- data/vendor/jruby/1.9/gems/safe_yaml-1.0.4/Gemfile +11 -0
- data/vendor/jruby/1.9/gems/safe_yaml-1.0.4/LICENSE.txt +22 -0
- data/vendor/jruby/1.9/gems/safe_yaml-1.0.4/README.md +191 -0
- data/vendor/jruby/1.9/gems/safe_yaml-1.0.4/Rakefile +26 -0
- data/vendor/jruby/1.9/gems/safe_yaml-1.0.4/bin/safe_yaml +75 -0
- data/vendor/jruby/1.9/gems/safe_yaml-1.0.4/bundle_install_all_ruby_versions.sh +11 -0
- data/vendor/jruby/1.9/gems/safe_yaml-1.0.4/lib/safe_yaml.rb +94 -0
- data/vendor/jruby/1.9/gems/safe_yaml-1.0.4/lib/safe_yaml/deep.rb +34 -0
- data/vendor/jruby/1.9/gems/safe_yaml-1.0.4/lib/safe_yaml/libyaml_checker.rb +36 -0
- data/vendor/jruby/1.9/gems/safe_yaml-1.0.4/lib/safe_yaml/load.rb +181 -0
- data/vendor/jruby/1.9/gems/safe_yaml-1.0.4/lib/safe_yaml/parse/date.rb +35 -0
- data/vendor/jruby/1.9/gems/safe_yaml-1.0.4/lib/safe_yaml/parse/hexadecimal.rb +12 -0
- data/vendor/jruby/1.9/gems/safe_yaml-1.0.4/lib/safe_yaml/parse/sexagesimal.rb +26 -0
- data/vendor/jruby/1.9/gems/safe_yaml-1.0.4/lib/safe_yaml/psych_handler.rb +99 -0
- data/vendor/jruby/1.9/gems/safe_yaml-1.0.4/lib/safe_yaml/psych_resolver.rb +52 -0
- data/vendor/jruby/1.9/gems/safe_yaml-1.0.4/lib/safe_yaml/resolver.rb +94 -0
- data/vendor/jruby/1.9/gems/safe_yaml-1.0.4/lib/safe_yaml/safe_to_ruby_visitor.rb +29 -0
- data/vendor/jruby/1.9/gems/safe_yaml-1.0.4/lib/safe_yaml/syck_hack.rb +36 -0
- data/vendor/jruby/1.9/gems/safe_yaml-1.0.4/lib/safe_yaml/syck_node_monkeypatch.rb +43 -0
- data/vendor/jruby/1.9/gems/safe_yaml-1.0.4/lib/safe_yaml/syck_resolver.rb +38 -0
- data/vendor/jruby/1.9/gems/safe_yaml-1.0.4/lib/safe_yaml/transform.rb +41 -0
- data/vendor/jruby/1.9/gems/safe_yaml-1.0.4/lib/safe_yaml/transform/to_boolean.rb +21 -0
- data/vendor/jruby/1.9/gems/safe_yaml-1.0.4/lib/safe_yaml/transform/to_date.rb +13 -0
- data/vendor/jruby/1.9/gems/safe_yaml-1.0.4/lib/safe_yaml/transform/to_float.rb +33 -0
- data/vendor/jruby/1.9/gems/safe_yaml-1.0.4/lib/safe_yaml/transform/to_integer.rb +26 -0
- data/vendor/jruby/1.9/gems/safe_yaml-1.0.4/lib/safe_yaml/transform/to_nil.rb +18 -0
- data/vendor/jruby/1.9/gems/safe_yaml-1.0.4/lib/safe_yaml/transform/to_symbol.rb +17 -0
- data/vendor/jruby/1.9/gems/safe_yaml-1.0.4/lib/safe_yaml/transform/transformation_map.rb +47 -0
- data/vendor/jruby/1.9/gems/safe_yaml-1.0.4/lib/safe_yaml/version.rb +3 -0
- data/vendor/jruby/1.9/gems/safe_yaml-1.0.4/run_specs_all_ruby_versions.sh +38 -0
- data/vendor/jruby/1.9/gems/safe_yaml-1.0.4/safe_yaml.gemspec +19 -0
- data/vendor/jruby/1.9/gems/safe_yaml-1.0.4/spec/exploit.1.9.2.yaml +2 -0
- data/vendor/jruby/1.9/gems/safe_yaml-1.0.4/spec/exploit.1.9.3.yaml +2 -0
- data/vendor/jruby/1.9/gems/safe_yaml-1.0.4/spec/issue48.txt +20 -0
- data/vendor/jruby/1.9/gems/safe_yaml-1.0.4/spec/issue49.yml +0 -0
- data/vendor/jruby/1.9/gems/safe_yaml-1.0.4/spec/libyaml_checker_spec.rb +69 -0
- data/vendor/jruby/1.9/gems/safe_yaml-1.0.4/spec/psych_resolver_spec.rb +10 -0
- data/vendor/jruby/1.9/gems/safe_yaml-1.0.4/spec/resolver_specs.rb +278 -0
- data/vendor/jruby/1.9/gems/safe_yaml-1.0.4/spec/safe_yaml_spec.rb +731 -0
- data/vendor/jruby/1.9/gems/safe_yaml-1.0.4/spec/spec_helper.rb +42 -0
- data/vendor/jruby/1.9/gems/safe_yaml-1.0.4/spec/support/exploitable_back_door.rb +29 -0
- data/vendor/jruby/1.9/gems/safe_yaml-1.0.4/spec/syck_resolver_spec.rb +10 -0
- data/vendor/jruby/1.9/gems/safe_yaml-1.0.4/spec/transform/base64_spec.rb +11 -0
- data/vendor/jruby/1.9/gems/safe_yaml-1.0.4/spec/transform/to_date_spec.rb +60 -0
- data/vendor/jruby/1.9/gems/safe_yaml-1.0.4/spec/transform/to_float_spec.rb +42 -0
- data/vendor/jruby/1.9/gems/safe_yaml-1.0.4/spec/transform/to_integer_spec.rb +64 -0
- data/vendor/jruby/1.9/gems/safe_yaml-1.0.4/spec/transform/to_symbol_spec.rb +51 -0
- data/vendor/jruby/1.9/gems/safe_yaml-1.0.4/spec/yaml_spec.rb +15 -0
- data/vendor/jruby/1.9/gems/sinatra-1.4.7/AUTHORS.md +80 -0
- data/vendor/jruby/1.9/gems/sinatra-1.4.7/CHANGELOG.md +1339 -0
- data/vendor/jruby/1.9/gems/sinatra-1.4.7/CONTRIBUTING.md +100 -0
- data/vendor/jruby/1.9/gems/sinatra-1.4.7/Gemfile +76 -0
- data/vendor/jruby/1.9/gems/sinatra-1.4.7/LICENSE +23 -0
- data/vendor/jruby/1.9/gems/sinatra-1.4.7/README.de.md +3031 -0
- data/vendor/jruby/1.9/gems/sinatra-1.4.7/README.es.md +2821 -0
- data/vendor/jruby/1.9/gems/sinatra-1.4.7/README.fr.md +3014 -0
- data/vendor/jruby/1.9/gems/sinatra-1.4.7/README.hu.md +694 -0
- data/vendor/jruby/1.9/gems/sinatra-1.4.7/README.ja.md +2756 -0
- data/vendor/jruby/1.9/gems/sinatra-1.4.7/README.ko.md +2967 -0
- data/vendor/jruby/1.9/gems/sinatra-1.4.7/README.md +3043 -0
- data/vendor/jruby/1.9/gems/sinatra-1.4.7/README.pt-br.md +1760 -0
- data/vendor/jruby/1.9/gems/sinatra-1.4.7/README.pt-pt.md +791 -0
- data/vendor/jruby/1.9/gems/sinatra-1.4.7/README.ru.md +2958 -0
- data/vendor/jruby/1.9/gems/sinatra-1.4.7/README.zh.md +2872 -0
- data/vendor/jruby/1.9/gems/sinatra-1.4.7/Rakefile +199 -0
- data/vendor/jruby/1.9/gems/sinatra-1.4.7/examples/chat.rb +61 -0
- data/vendor/jruby/1.9/gems/sinatra-1.4.7/examples/simple.rb +3 -0
- data/vendor/jruby/1.9/gems/sinatra-1.4.7/examples/stream.ru +26 -0
- data/vendor/jruby/1.9/gems/sinatra-1.4.7/lib/sinatra.rb +3 -0
- data/vendor/jruby/1.9/gems/sinatra-1.4.7/lib/sinatra/base.rb +2042 -0
- data/vendor/jruby/1.9/gems/sinatra-1.4.7/lib/sinatra/ext.rb +17 -0
- data/vendor/jruby/1.9/gems/sinatra-1.4.7/lib/sinatra/images/404.png +0 -0
- data/vendor/jruby/1.9/gems/sinatra-1.4.7/lib/sinatra/images/500.png +0 -0
- data/vendor/jruby/1.9/gems/sinatra-1.4.7/lib/sinatra/main.rb +34 -0
- data/vendor/jruby/1.9/gems/sinatra-1.4.7/lib/sinatra/show_exceptions.rb +357 -0
- data/vendor/jruby/1.9/gems/sinatra-1.4.7/lib/sinatra/version.rb +3 -0
- data/vendor/jruby/1.9/gems/sinatra-1.4.7/sinatra.gemspec +19 -0
- data/vendor/jruby/1.9/gems/sinatra-1.4.7/test/asciidoctor_test.rb +72 -0
- data/vendor/jruby/1.9/gems/sinatra-1.4.7/test/base_test.rb +167 -0
- data/vendor/jruby/1.9/gems/sinatra-1.4.7/test/builder_test.rb +91 -0
- data/vendor/jruby/1.9/gems/sinatra-1.4.7/test/coffee_test.rb +96 -0
- data/vendor/jruby/1.9/gems/sinatra-1.4.7/test/compile_test.rb +183 -0
- data/vendor/jruby/1.9/gems/sinatra-1.4.7/test/contest.rb +91 -0
- data/vendor/jruby/1.9/gems/sinatra-1.4.7/test/creole_test.rb +65 -0
- data/vendor/jruby/1.9/gems/sinatra-1.4.7/test/delegator_test.rb +160 -0
- data/vendor/jruby/1.9/gems/sinatra-1.4.7/test/encoding_test.rb +20 -0
- data/vendor/jruby/1.9/gems/sinatra-1.4.7/test/erb_test.rb +116 -0
- data/vendor/jruby/1.9/gems/sinatra-1.4.7/test/extensions_test.rb +98 -0
- data/vendor/jruby/1.9/gems/sinatra-1.4.7/test/filter_test.rb +487 -0
- data/vendor/jruby/1.9/gems/sinatra-1.4.7/test/haml_test.rb +109 -0
- data/vendor/jruby/1.9/gems/sinatra-1.4.7/test/helper.rb +132 -0
- data/vendor/jruby/1.9/gems/sinatra-1.4.7/test/helpers_test.rb +1917 -0
- data/vendor/jruby/1.9/gems/sinatra-1.4.7/test/integration/app.rb +79 -0
- data/vendor/jruby/1.9/gems/sinatra-1.4.7/test/integration_helper.rb +236 -0
- data/vendor/jruby/1.9/gems/sinatra-1.4.7/test/integration_test.rb +104 -0
- data/vendor/jruby/1.9/gems/sinatra-1.4.7/test/less_test.rb +69 -0
- data/vendor/jruby/1.9/gems/sinatra-1.4.7/test/liquid_test.rb +77 -0
- data/vendor/jruby/1.9/gems/sinatra-1.4.7/test/mapped_error_test.rb +285 -0
- data/vendor/jruby/1.9/gems/sinatra-1.4.7/test/markaby_test.rb +80 -0
- data/vendor/jruby/1.9/gems/sinatra-1.4.7/test/markdown_test.rb +85 -0
- data/vendor/jruby/1.9/gems/sinatra-1.4.7/test/mediawiki_test.rb +68 -0
- data/vendor/jruby/1.9/gems/sinatra-1.4.7/test/middleware_test.rb +68 -0
- data/vendor/jruby/1.9/gems/sinatra-1.4.7/test/nokogiri_test.rb +67 -0
- data/vendor/jruby/1.9/gems/sinatra-1.4.7/test/public/favicon.ico +0 -0
- data/vendor/jruby/1.9/gems/sinatra-1.4.7/test/public/hello+world.txt +1 -0
- data/vendor/jruby/1.9/gems/sinatra-1.4.7/test/rabl_test.rb +89 -0
- data/vendor/jruby/1.9/gems/sinatra-1.4.7/test/rack_test.rb +45 -0
- data/vendor/jruby/1.9/gems/sinatra-1.4.7/test/radius_test.rb +59 -0
- data/vendor/jruby/1.9/gems/sinatra-1.4.7/test/rdoc_test.rb +66 -0
- data/vendor/jruby/1.9/gems/sinatra-1.4.7/test/readme_test.rb +130 -0
- data/vendor/jruby/1.9/gems/sinatra-1.4.7/test/request_test.rb +100 -0
- data/vendor/jruby/1.9/gems/sinatra-1.4.7/test/response_test.rb +63 -0
- data/vendor/jruby/1.9/gems/sinatra-1.4.7/test/result_test.rb +76 -0
- data/vendor/jruby/1.9/gems/sinatra-1.4.7/test/route_added_hook_test.rb +59 -0
- data/vendor/jruby/1.9/gems/sinatra-1.4.7/test/routing_test.rb +1456 -0
- data/vendor/jruby/1.9/gems/sinatra-1.4.7/test/sass_test.rb +115 -0
- data/vendor/jruby/1.9/gems/sinatra-1.4.7/test/scss_test.rb +88 -0
- data/vendor/jruby/1.9/gems/sinatra-1.4.7/test/server_test.rb +56 -0
- data/vendor/jruby/1.9/gems/sinatra-1.4.7/test/settings_test.rb +582 -0
- data/vendor/jruby/1.9/gems/sinatra-1.4.7/test/sinatra_test.rb +12 -0
- data/vendor/jruby/1.9/gems/sinatra-1.4.7/test/slim_test.rb +102 -0
- data/vendor/jruby/1.9/gems/sinatra-1.4.7/test/static_test.rb +266 -0
- data/vendor/jruby/1.9/gems/sinatra-1.4.7/test/streaming_test.rb +149 -0
- data/vendor/jruby/1.9/gems/sinatra-1.4.7/test/stylus_test.rb +90 -0
- data/vendor/jruby/1.9/gems/sinatra-1.4.7/test/templates_test.rb +382 -0
- data/vendor/jruby/1.9/gems/sinatra-1.4.7/test/textile_test.rb +65 -0
- data/vendor/jruby/1.9/gems/sinatra-1.4.7/test/views/a/in_a.str +1 -0
- data/vendor/jruby/1.9/gems/sinatra-1.4.7/test/views/ascii.erb +2 -0
- data/vendor/jruby/1.9/gems/sinatra-1.4.7/test/views/b/in_b.str +1 -0
- data/vendor/jruby/1.9/gems/sinatra-1.4.7/test/views/calc.html.erb +1 -0
- data/vendor/jruby/1.9/gems/sinatra-1.4.7/test/views/error.builder +3 -0
- data/vendor/jruby/1.9/gems/sinatra-1.4.7/test/views/error.erb +3 -0
- data/vendor/jruby/1.9/gems/sinatra-1.4.7/test/views/error.haml +3 -0
- data/vendor/jruby/1.9/gems/sinatra-1.4.7/test/views/error.sass +2 -0
- data/vendor/jruby/1.9/gems/sinatra-1.4.7/test/views/explicitly_nested.str +1 -0
- data/vendor/jruby/1.9/gems/sinatra-1.4.7/test/views/foo/hello.test +1 -0
- data/vendor/jruby/1.9/gems/sinatra-1.4.7/test/views/hello.asciidoc +1 -0
- data/vendor/jruby/1.9/gems/sinatra-1.4.7/test/views/hello.builder +1 -0
- data/vendor/jruby/1.9/gems/sinatra-1.4.7/test/views/hello.coffee +1 -0
- data/vendor/jruby/1.9/gems/sinatra-1.4.7/test/views/hello.creole +1 -0
- data/vendor/jruby/1.9/gems/sinatra-1.4.7/test/views/hello.erb +1 -0
- data/vendor/jruby/1.9/gems/sinatra-1.4.7/test/views/hello.haml +1 -0
- data/vendor/jruby/1.9/gems/sinatra-1.4.7/test/views/hello.less +5 -0
- data/vendor/jruby/1.9/gems/sinatra-1.4.7/test/views/hello.liquid +1 -0
- data/vendor/jruby/1.9/gems/sinatra-1.4.7/test/views/hello.mab +1 -0
- data/vendor/jruby/1.9/gems/sinatra-1.4.7/test/views/hello.md +1 -0
- data/vendor/jruby/1.9/gems/sinatra-1.4.7/test/views/hello.mediawiki +1 -0
- data/vendor/jruby/1.9/gems/sinatra-1.4.7/test/views/hello.nokogiri +1 -0
- data/vendor/jruby/1.9/gems/sinatra-1.4.7/test/views/hello.rabl +2 -0
- data/vendor/jruby/1.9/gems/sinatra-1.4.7/test/views/hello.radius +1 -0
- data/vendor/jruby/1.9/gems/sinatra-1.4.7/test/views/hello.rdoc +1 -0
- data/vendor/jruby/1.9/gems/sinatra-1.4.7/test/views/hello.sass +2 -0
- data/vendor/jruby/1.9/gems/sinatra-1.4.7/test/views/hello.scss +3 -0
- data/vendor/jruby/1.9/gems/sinatra-1.4.7/test/views/hello.slim +1 -0
- data/vendor/jruby/1.9/gems/sinatra-1.4.7/test/views/hello.str +1 -0
- data/vendor/jruby/1.9/gems/sinatra-1.4.7/test/views/hello.styl +2 -0
- data/vendor/jruby/1.9/gems/sinatra-1.4.7/test/views/hello.test +1 -0
- data/vendor/jruby/1.9/gems/sinatra-1.4.7/test/views/hello.textile +1 -0
- data/vendor/jruby/1.9/gems/sinatra-1.4.7/test/views/hello.wlang +1 -0
- data/vendor/jruby/1.9/gems/sinatra-1.4.7/test/views/hello.yajl +1 -0
- data/vendor/jruby/1.9/gems/sinatra-1.4.7/test/views/layout2.builder +3 -0
- data/vendor/jruby/1.9/gems/sinatra-1.4.7/test/views/layout2.erb +2 -0
- data/vendor/jruby/1.9/gems/sinatra-1.4.7/test/views/layout2.haml +2 -0
- data/vendor/jruby/1.9/gems/sinatra-1.4.7/test/views/layout2.liquid +2 -0
- data/vendor/jruby/1.9/gems/sinatra-1.4.7/test/views/layout2.mab +2 -0
- data/vendor/jruby/1.9/gems/sinatra-1.4.7/test/views/layout2.nokogiri +3 -0
- data/vendor/jruby/1.9/gems/sinatra-1.4.7/test/views/layout2.rabl +3 -0
- data/vendor/jruby/1.9/gems/sinatra-1.4.7/test/views/layout2.radius +2 -0
- data/vendor/jruby/1.9/gems/sinatra-1.4.7/test/views/layout2.slim +3 -0
- data/vendor/jruby/1.9/gems/sinatra-1.4.7/test/views/layout2.str +2 -0
- data/vendor/jruby/1.9/gems/sinatra-1.4.7/test/views/layout2.test +1 -0
- data/vendor/jruby/1.9/gems/sinatra-1.4.7/test/views/layout2.wlang +2 -0
- data/vendor/jruby/1.9/gems/sinatra-1.4.7/test/views/nested.str +1 -0
- data/vendor/jruby/1.9/gems/sinatra-1.4.7/test/views/utf8.erb +2 -0
- data/vendor/jruby/1.9/gems/sinatra-1.4.7/test/wlang_test.rb +87 -0
- data/vendor/jruby/1.9/gems/sinatra-1.4.7/test/yajl_test.rb +86 -0
- data/vendor/jruby/1.9/gems/slop-3.6.0/CHANGES.md +309 -0
- data/vendor/jruby/1.9/gems/slop-3.6.0/Gemfile +3 -0
- data/vendor/jruby/1.9/gems/slop-3.6.0/LICENSE +20 -0
- data/vendor/jruby/1.9/gems/slop-3.6.0/README.md +202 -0
- data/vendor/jruby/1.9/gems/slop-3.6.0/Rakefile +29 -0
- data/vendor/jruby/1.9/gems/slop-3.6.0/lib/slop.rb +687 -0
- data/vendor/jruby/1.9/gems/slop-3.6.0/lib/slop/commands.rb +196 -0
- data/vendor/jruby/1.9/gems/slop-3.6.0/lib/slop/option.rb +214 -0
- data/vendor/jruby/1.9/gems/slop-3.6.0/slop.gemspec +17 -0
- data/vendor/jruby/1.9/gems/slop-3.6.0/test/commands_test.rb +26 -0
- data/vendor/jruby/1.9/gems/slop-3.6.0/test/helper.rb +12 -0
- data/vendor/jruby/1.9/gems/slop-3.6.0/test/option_test.rb +145 -0
- data/vendor/jruby/1.9/gems/slop-3.6.0/test/slop_test.rb +518 -0
- data/vendor/jruby/1.9/gems/spoon-0.0.6/LICENSE +144 -0
- data/vendor/jruby/1.9/gems/spoon-0.0.6/examples/ls.rb +25 -0
- data/vendor/jruby/1.9/gems/spoon-0.0.6/examples/vi.rb +16 -0
- data/vendor/jruby/1.9/gems/spoon-0.0.6/lib/spoon.rb +19 -0
- data/vendor/jruby/1.9/gems/spoon-0.0.6/lib/spoon/unix.rb +181 -0
- data/vendor/jruby/1.9/gems/spoon-0.0.6/lib/spoon/windows.rb +52 -0
- data/vendor/jruby/1.9/gems/spoon-0.0.6/spoon.gemspec +11 -0
- data/vendor/jruby/1.9/gems/stud-0.0.22/CHANGELIST +0 -0
- data/vendor/jruby/1.9/gems/stud-0.0.22/LICENSE +14 -0
- data/vendor/jruby/1.9/gems/stud-0.0.22/README.md +27 -0
- data/vendor/jruby/1.9/gems/stud-0.0.22/lib/stud/buffer.rb +260 -0
- data/vendor/jruby/1.9/gems/stud-0.0.22/lib/stud/interval.rb +110 -0
- data/vendor/jruby/1.9/gems/stud-0.0.22/lib/stud/pool.rb +215 -0
- data/vendor/jruby/1.9/gems/stud-0.0.22/lib/stud/secret.rb +35 -0
- data/vendor/jruby/1.9/gems/stud-0.0.22/lib/stud/task.rb +64 -0
- data/vendor/jruby/1.9/gems/stud-0.0.22/lib/stud/temporary.rb +63 -0
- data/vendor/jruby/1.9/gems/stud-0.0.22/lib/stud/trap.rb +80 -0
- data/vendor/jruby/1.9/gems/stud-0.0.22/lib/stud/try.rb +127 -0
- data/vendor/jruby/1.9/gems/stud-0.0.22/lib/stud/with.rb +22 -0
- data/vendor/jruby/1.9/gems/thread_safe-0.3.5-java/Gemfile +17 -0
- data/vendor/jruby/1.9/gems/thread_safe-0.3.5-java/LICENSE +144 -0
- data/vendor/jruby/1.9/gems/thread_safe-0.3.5-java/README.md +56 -0
- data/vendor/jruby/1.9/gems/thread_safe-0.3.5-java/Rakefile +61 -0
- data/vendor/jruby/1.9/gems/thread_safe-0.3.5-java/examples/bench_cache.rb +35 -0
- data/vendor/jruby/1.9/gems/thread_safe-0.3.5-java/ext/org/jruby/ext/thread_safe/JRubyCacheBackendLibrary.java +245 -0
- data/vendor/jruby/1.9/gems/thread_safe-0.3.5-java/ext/org/jruby/ext/thread_safe/jsr166e/ConcurrentHashMap.java +31 -0
- data/vendor/jruby/1.9/gems/thread_safe-0.3.5-java/ext/org/jruby/ext/thread_safe/jsr166e/ConcurrentHashMapV8.java +3863 -0
- data/vendor/jruby/1.9/gems/thread_safe-0.3.5-java/ext/org/jruby/ext/thread_safe/jsr166e/LongAdder.java +203 -0
- data/vendor/jruby/1.9/gems/thread_safe-0.3.5-java/ext/org/jruby/ext/thread_safe/jsr166e/Striped64.java +342 -0
- data/vendor/jruby/1.9/gems/thread_safe-0.3.5-java/ext/org/jruby/ext/thread_safe/jsr166e/nounsafe/ConcurrentHashMapV8.java +3800 -0
- data/vendor/jruby/1.9/gems/thread_safe-0.3.5-java/ext/org/jruby/ext/thread_safe/jsr166e/nounsafe/LongAdder.java +204 -0
- data/vendor/jruby/1.9/gems/thread_safe-0.3.5-java/ext/org/jruby/ext/thread_safe/jsr166e/nounsafe/Striped64.java +291 -0
- data/vendor/jruby/1.9/gems/thread_safe-0.3.5-java/ext/org/jruby/ext/thread_safe/jsr166y/ThreadLocalRandom.java +199 -0
- data/vendor/jruby/1.9/gems/thread_safe-0.3.5-java/ext/thread_safe/JrubyCacheBackendService.java +15 -0
- data/vendor/jruby/1.9/gems/thread_safe-0.3.5-java/lib/thread_safe.rb +65 -0
- data/vendor/jruby/1.9/gems/thread_safe-0.3.5-java/lib/thread_safe/atomic_reference_cache_backend.rb +908 -0
- data/vendor/jruby/1.9/gems/thread_safe-0.3.5-java/lib/thread_safe/cache.rb +163 -0
- data/vendor/jruby/1.9/gems/thread_safe-0.3.5-java/lib/thread_safe/jruby_cache_backend.jar +0 -0
- data/vendor/jruby/1.9/gems/thread_safe-0.3.5-java/lib/thread_safe/mri_cache_backend.rb +69 -0
- data/vendor/jruby/1.9/gems/thread_safe-0.3.5-java/lib/thread_safe/non_concurrent_cache_backend.rb +135 -0
- data/vendor/jruby/1.9/gems/thread_safe-0.3.5-java/lib/thread_safe/synchronized_cache_backend.rb +77 -0
- data/vendor/jruby/1.9/gems/thread_safe-0.3.5-java/lib/thread_safe/synchronized_delegator.rb +60 -0
- data/vendor/jruby/1.9/gems/thread_safe-0.3.5-java/lib/thread_safe/util.rb +16 -0
- data/vendor/jruby/1.9/gems/thread_safe-0.3.5-java/lib/thread_safe/util/adder.rb +62 -0
- data/vendor/jruby/1.9/gems/thread_safe-0.3.5-java/lib/thread_safe/util/atomic_reference.rb +45 -0
- data/vendor/jruby/1.9/gems/thread_safe-0.3.5-java/lib/thread_safe/util/cheap_lockable.rb +106 -0
- data/vendor/jruby/1.9/gems/thread_safe-0.3.5-java/lib/thread_safe/util/power_of_two_tuple.rb +26 -0
- data/vendor/jruby/1.9/gems/thread_safe-0.3.5-java/lib/thread_safe/util/striped64.rb +222 -0
- data/vendor/jruby/1.9/gems/thread_safe-0.3.5-java/lib/thread_safe/util/volatile.rb +64 -0
- data/vendor/jruby/1.9/gems/thread_safe-0.3.5-java/lib/thread_safe/util/volatile_tuple.rb +46 -0
- data/vendor/jruby/1.9/gems/thread_safe-0.3.5-java/lib/thread_safe/util/xor_shift_random.rb +41 -0
- data/vendor/jruby/1.9/gems/thread_safe-0.3.5-java/lib/thread_safe/version.rb +21 -0
- data/vendor/jruby/1.9/gems/thread_safe-0.3.5-java/tasks/update_doc.rake +45 -0
- data/vendor/jruby/1.9/gems/thread_safe-0.3.5-java/test/src/thread_safe/SecurityManager.java +21 -0
- data/vendor/jruby/1.9/gems/thread_safe-0.3.5-java/test/test_array.rb +18 -0
- data/vendor/jruby/1.9/gems/thread_safe-0.3.5-java/test/test_cache.rb +901 -0
- data/vendor/jruby/1.9/gems/thread_safe-0.3.5-java/test/test_cache_loops.rb +449 -0
- data/vendor/jruby/1.9/gems/thread_safe-0.3.5-java/test/test_hash.rb +17 -0
- data/vendor/jruby/1.9/gems/thread_safe-0.3.5-java/test/test_helper.rb +134 -0
- data/vendor/jruby/1.9/gems/thread_safe-0.3.5-java/test/test_synchronized_delegator.rb +84 -0
- data/vendor/jruby/1.9/gems/thread_safe-0.3.5-java/thread_safe.gemspec +26 -0
- data/vendor/jruby/1.9/gems/thread_safe-0.3.5-java/yard-template/default/fulldoc/html/css/common.css +125 -0
- data/vendor/jruby/1.9/gems/thread_safe-0.3.5-java/yard-template/default/layout/html/footer.erb +16 -0
- data/vendor/jruby/1.9/gems/tilt-2.0.5/CHANGELOG.md +101 -0
- data/vendor/jruby/1.9/gems/tilt-2.0.5/COPYING +18 -0
- data/vendor/jruby/1.9/gems/tilt-2.0.5/Gemfile +67 -0
- data/vendor/jruby/1.9/gems/tilt-2.0.5/HACKING +16 -0
- data/vendor/jruby/1.9/gems/tilt-2.0.5/README.md +229 -0
- data/vendor/jruby/1.9/gems/tilt-2.0.5/Rakefile +105 -0
- data/vendor/jruby/1.9/gems/tilt-2.0.5/bin/tilt +122 -0
- data/vendor/jruby/1.9/gems/tilt-2.0.5/docs/TEMPLATES.md +554 -0
- data/vendor/jruby/1.9/gems/tilt-2.0.5/docs/common.css +14 -0
- data/vendor/jruby/1.9/gems/tilt-2.0.5/lib/tilt.rb +163 -0
- data/vendor/jruby/1.9/gems/tilt-2.0.5/lib/tilt/asciidoc.rb +27 -0
- data/vendor/jruby/1.9/gems/tilt-2.0.5/lib/tilt/babel.rb +16 -0
- data/vendor/jruby/1.9/gems/tilt-2.0.5/lib/tilt/bluecloth.rb +24 -0
- data/vendor/jruby/1.9/gems/tilt-2.0.5/lib/tilt/builder.rb +37 -0
- data/vendor/jruby/1.9/gems/tilt-2.0.5/lib/tilt/coffee.rb +58 -0
- data/vendor/jruby/1.9/gems/tilt-2.0.5/lib/tilt/commonmarker.rb +21 -0
- data/vendor/jruby/1.9/gems/tilt-2.0.5/lib/tilt/creole.rb +25 -0
- data/vendor/jruby/1.9/gems/tilt-2.0.5/lib/tilt/csv.rb +65 -0
- data/vendor/jruby/1.9/gems/tilt-2.0.5/lib/tilt/dummy.rb +3 -0
- data/vendor/jruby/1.9/gems/tilt-2.0.5/lib/tilt/erb.rb +57 -0
- data/vendor/jruby/1.9/gems/tilt-2.0.5/lib/tilt/erubis.rb +43 -0
- data/vendor/jruby/1.9/gems/tilt-2.0.5/lib/tilt/etanni.rb +27 -0
- data/vendor/jruby/1.9/gems/tilt-2.0.5/lib/tilt/haml.rb +58 -0
- data/vendor/jruby/1.9/gems/tilt-2.0.5/lib/tilt/kramdown.rb +25 -0
- data/vendor/jruby/1.9/gems/tilt-2.0.5/lib/tilt/less.rb +30 -0
- data/vendor/jruby/1.9/gems/tilt-2.0.5/lib/tilt/liquid.rb +38 -0
- data/vendor/jruby/1.9/gems/tilt-2.0.5/lib/tilt/mapping.rb +293 -0
- data/vendor/jruby/1.9/gems/tilt-2.0.5/lib/tilt/markaby.rb +45 -0
- data/vendor/jruby/1.9/gems/tilt-2.0.5/lib/tilt/maruku.rb +22 -0
- data/vendor/jruby/1.9/gems/tilt-2.0.5/lib/tilt/nokogiri.rb +36 -0
- data/vendor/jruby/1.9/gems/tilt-2.0.5/lib/tilt/pandoc.rb +49 -0
- data/vendor/jruby/1.9/gems/tilt-2.0.5/lib/tilt/plain.rb +16 -0
- data/vendor/jruby/1.9/gems/tilt-2.0.5/lib/tilt/prawn.rb +43 -0
- data/vendor/jruby/1.9/gems/tilt-2.0.5/lib/tilt/radius.rb +48 -0
- data/vendor/jruby/1.9/gems/tilt-2.0.5/lib/tilt/rdiscount.rb +39 -0
- data/vendor/jruby/1.9/gems/tilt-2.0.5/lib/tilt/rdoc.rb +40 -0
- data/vendor/jruby/1.9/gems/tilt-2.0.5/lib/tilt/redcarpet.rb +83 -0
- data/vendor/jruby/1.9/gems/tilt-2.0.5/lib/tilt/redcloth.rb +23 -0
- data/vendor/jruby/1.9/gems/tilt-2.0.5/lib/tilt/rst-pandoc.rb +18 -0
- data/vendor/jruby/1.9/gems/tilt-2.0.5/lib/tilt/sass.rb +41 -0
- data/vendor/jruby/1.9/gems/tilt-2.0.5/lib/tilt/string.rb +21 -0
- data/vendor/jruby/1.9/gems/tilt-2.0.5/lib/tilt/template.rb +298 -0
- data/vendor/jruby/1.9/gems/tilt-2.0.5/lib/tilt/typescript.rb +26 -0
- data/vendor/jruby/1.9/gems/tilt-2.0.5/lib/tilt/wikicloth.rb +22 -0
- data/vendor/jruby/1.9/gems/tilt-2.0.5/lib/tilt/yajl.rb +87 -0
- data/vendor/jruby/1.9/gems/tilt-2.0.5/man/index.txt +2 -0
- data/vendor/jruby/1.9/gems/tilt-2.0.5/man/tilt.1.ronn +59 -0
- data/vendor/jruby/1.9/gems/tilt-2.0.5/test/markaby/locals.mab +1 -0
- data/vendor/jruby/1.9/gems/tilt-2.0.5/test/markaby/markaby.mab +1 -0
- data/vendor/jruby/1.9/gems/tilt-2.0.5/test/markaby/markaby_other_static.mab +1 -0
- data/vendor/jruby/1.9/gems/tilt-2.0.5/test/markaby/render_twice.mab +1 -0
- data/vendor/jruby/1.9/gems/tilt-2.0.5/test/markaby/scope.mab +1 -0
- data/vendor/jruby/1.9/gems/tilt-2.0.5/test/markaby/yielding.mab +2 -0
- data/vendor/jruby/1.9/gems/tilt-2.0.5/test/mytemplate.rb +2 -0
- data/vendor/jruby/1.9/gems/tilt-2.0.5/test/test_helper.rb +64 -0
- data/vendor/jruby/1.9/gems/tilt-2.0.5/test/tilt_asciidoctor_test.rb +50 -0
- data/vendor/jruby/1.9/gems/tilt-2.0.5/test/tilt_babeltemplate.rb +33 -0
- data/vendor/jruby/1.9/gems/tilt-2.0.5/test/tilt_blueclothtemplate_test.rb +33 -0
- data/vendor/jruby/1.9/gems/tilt-2.0.5/test/tilt_buildertemplate_test.rb +72 -0
- data/vendor/jruby/1.9/gems/tilt-2.0.5/test/tilt_cache_test.rb +43 -0
- data/vendor/jruby/1.9/gems/tilt-2.0.5/test/tilt_coffeescripttemplate_test.rb +141 -0
- data/vendor/jruby/1.9/gems/tilt-2.0.5/test/tilt_commonmarkertemplate_test.rb +20 -0
- data/vendor/jruby/1.9/gems/tilt-2.0.5/test/tilt_compilesite_test.rb +51 -0
- data/vendor/jruby/1.9/gems/tilt-2.0.5/test/tilt_creoletemplate_test.rb +24 -0
- data/vendor/jruby/1.9/gems/tilt-2.0.5/test/tilt_csv_test.rb +77 -0
- data/vendor/jruby/1.9/gems/tilt-2.0.5/test/tilt_erbtemplate_test.rb +239 -0
- data/vendor/jruby/1.9/gems/tilt-2.0.5/test/tilt_erubistemplate_test.rb +151 -0
- data/vendor/jruby/1.9/gems/tilt-2.0.5/test/tilt_etannitemplate_test.rb +174 -0
- data/vendor/jruby/1.9/gems/tilt-2.0.5/test/tilt_hamltemplate_test.rb +166 -0
- data/vendor/jruby/1.9/gems/tilt-2.0.5/test/tilt_kramdown_test.rb +20 -0
- data/vendor/jruby/1.9/gems/tilt-2.0.5/test/tilt_lesstemplate_test.less +1 -0
- data/vendor/jruby/1.9/gems/tilt-2.0.5/test/tilt_lesstemplate_test.rb +42 -0
- data/vendor/jruby/1.9/gems/tilt-2.0.5/test/tilt_liquidtemplate_test.rb +78 -0
- data/vendor/jruby/1.9/gems/tilt-2.0.5/test/tilt_mapping_test.rb +232 -0
- data/vendor/jruby/1.9/gems/tilt-2.0.5/test/tilt_markaby_test.rb +88 -0
- data/vendor/jruby/1.9/gems/tilt-2.0.5/test/tilt_markdown_test.rb +186 -0
- data/vendor/jruby/1.9/gems/tilt-2.0.5/test/tilt_marukutemplate_test.rb +36 -0
- data/vendor/jruby/1.9/gems/tilt-2.0.5/test/tilt_metadata_test.rb +42 -0
- data/vendor/jruby/1.9/gems/tilt-2.0.5/test/tilt_nokogiritemplate_test.rb +87 -0
- data/vendor/jruby/1.9/gems/tilt-2.0.5/test/tilt_pandoctemplate_test.rb +67 -0
- data/vendor/jruby/1.9/gems/tilt-2.0.5/test/tilt_prawntemplate.prawn +1 -0
- data/vendor/jruby/1.9/gems/tilt-2.0.5/test/tilt_prawntemplate_test.rb +75 -0
- data/vendor/jruby/1.9/gems/tilt-2.0.5/test/tilt_radiustemplate_test.rb +75 -0
- data/vendor/jruby/1.9/gems/tilt-2.0.5/test/tilt_rdiscounttemplate_test.rb +43 -0
- data/vendor/jruby/1.9/gems/tilt-2.0.5/test/tilt_rdoctemplate_test.rb +29 -0
- data/vendor/jruby/1.9/gems/tilt-2.0.5/test/tilt_redcarpettemplate_test.rb +54 -0
- data/vendor/jruby/1.9/gems/tilt-2.0.5/test/tilt_redclothtemplate_test.rb +36 -0
- data/vendor/jruby/1.9/gems/tilt-2.0.5/test/tilt_rstpandoctemplate_test.rb +32 -0
- data/vendor/jruby/1.9/gems/tilt-2.0.5/test/tilt_sasstemplate_test.rb +41 -0
- data/vendor/jruby/1.9/gems/tilt-2.0.5/test/tilt_stringtemplate_test.rb +171 -0
- data/vendor/jruby/1.9/gems/tilt-2.0.5/test/tilt_template_test.rb +308 -0
- data/vendor/jruby/1.9/gems/tilt-2.0.5/test/tilt_test.rb +60 -0
- data/vendor/jruby/1.9/gems/tilt-2.0.5/test/tilt_typescript_test.rb +34 -0
- data/vendor/jruby/1.9/gems/tilt-2.0.5/test/tilt_wikiclothtemplate_test.rb +32 -0
- data/vendor/jruby/1.9/gems/tilt-2.0.5/test/tilt_yajltemplate_test.rb +101 -0
- data/vendor/jruby/1.9/gems/tilt-2.0.5/tilt.gemspec +124 -0
- data/vendor/jruby/1.9/gems/treetop-1.4.15/LICENSE +19 -0
- data/vendor/jruby/1.9/gems/treetop-1.4.15/README.md +190 -0
- data/vendor/jruby/1.9/gems/treetop-1.4.15/Rakefile +64 -0
- data/vendor/jruby/1.9/gems/treetop-1.4.15/bin/tt +112 -0
- data/vendor/jruby/1.9/gems/treetop-1.4.15/doc/contributing_and_planned_features.markdown +102 -0
- data/vendor/jruby/1.9/gems/treetop-1.4.15/doc/grammar_composition.markdown +65 -0
- data/vendor/jruby/1.9/gems/treetop-1.4.15/doc/index.markdown +88 -0
- data/vendor/jruby/1.9/gems/treetop-1.4.15/doc/pitfalls_and_advanced_techniques.markdown +51 -0
- data/vendor/jruby/1.9/gems/treetop-1.4.15/doc/semantic_interpretation.markdown +218 -0
- data/vendor/jruby/1.9/gems/treetop-1.4.15/doc/site.rb +112 -0
- data/vendor/jruby/1.9/gems/treetop-1.4.15/doc/sitegen.rb +65 -0
- data/vendor/jruby/1.9/gems/treetop-1.4.15/doc/syntactic_recognition.markdown +215 -0
- data/vendor/jruby/1.9/gems/treetop-1.4.15/doc/tt.1 +83 -0
- data/vendor/jruby/1.9/gems/treetop-1.4.15/doc/using_in_ruby.markdown +105 -0
- data/vendor/jruby/1.9/gems/treetop-1.4.15/examples/lambda_calculus/arithmetic.rb +551 -0
- data/vendor/jruby/1.9/gems/treetop-1.4.15/examples/lambda_calculus/arithmetic.treetop +98 -0
- data/vendor/jruby/1.9/gems/treetop-1.4.15/examples/lambda_calculus/arithmetic_node_classes.rb +9 -0
- data/vendor/jruby/1.9/gems/treetop-1.4.15/examples/lambda_calculus/arithmetic_test.rb +58 -0
- data/vendor/jruby/1.9/gems/treetop-1.4.15/examples/lambda_calculus/lambda_calculus +0 -0
- data/vendor/jruby/1.9/gems/treetop-1.4.15/examples/lambda_calculus/lambda_calculus.rb +718 -0
- data/vendor/jruby/1.9/gems/treetop-1.4.15/examples/lambda_calculus/lambda_calculus.treetop +132 -0
- data/vendor/jruby/1.9/gems/treetop-1.4.15/examples/lambda_calculus/lambda_calculus_node_classes.rb +5 -0
- data/vendor/jruby/1.9/gems/treetop-1.4.15/examples/lambda_calculus/lambda_calculus_test.rb +89 -0
- data/vendor/jruby/1.9/gems/treetop-1.4.15/examples/lambda_calculus/test_helper.rb +18 -0
- data/vendor/jruby/1.9/gems/treetop-1.4.15/lib/treetop.rb +3 -0
- data/vendor/jruby/1.9/gems/treetop-1.4.15/lib/treetop/bootstrap_gen_1_metagrammar.rb +42 -0
- data/vendor/jruby/1.9/gems/treetop-1.4.15/lib/treetop/compiler.rb +7 -0
- data/vendor/jruby/1.9/gems/treetop-1.4.15/lib/treetop/compiler/grammar_compiler.rb +49 -0
- data/vendor/jruby/1.9/gems/treetop-1.4.15/lib/treetop/compiler/lexical_address_space.rb +17 -0
- data/vendor/jruby/1.9/gems/treetop-1.4.15/lib/treetop/compiler/metagrammar.rb +3984 -0
- data/vendor/jruby/1.9/gems/treetop-1.4.15/lib/treetop/compiler/metagrammar.treetop +503 -0
- data/vendor/jruby/1.9/gems/treetop-1.4.15/lib/treetop/compiler/node_classes.rb +19 -0
- data/vendor/jruby/1.9/gems/treetop-1.4.15/lib/treetop/compiler/node_classes/anything_symbol.rb +18 -0
- data/vendor/jruby/1.9/gems/treetop-1.4.15/lib/treetop/compiler/node_classes/atomic_expression.rb +14 -0
- data/vendor/jruby/1.9/gems/treetop-1.4.15/lib/treetop/compiler/node_classes/character_class.rb +28 -0
- data/vendor/jruby/1.9/gems/treetop-1.4.15/lib/treetop/compiler/node_classes/choice.rb +31 -0
- data/vendor/jruby/1.9/gems/treetop-1.4.15/lib/treetop/compiler/node_classes/declaration_sequence.rb +24 -0
- data/vendor/jruby/1.9/gems/treetop-1.4.15/lib/treetop/compiler/node_classes/grammar.rb +28 -0
- data/vendor/jruby/1.9/gems/treetop-1.4.15/lib/treetop/compiler/node_classes/inline_module.rb +27 -0
- data/vendor/jruby/1.9/gems/treetop-1.4.15/lib/treetop/compiler/node_classes/nonterminal.rb +13 -0
- data/vendor/jruby/1.9/gems/treetop-1.4.15/lib/treetop/compiler/node_classes/optional.rb +19 -0
- data/vendor/jruby/1.9/gems/treetop-1.4.15/lib/treetop/compiler/node_classes/parenthesized_expression.rb +9 -0
- data/vendor/jruby/1.9/gems/treetop-1.4.15/lib/treetop/compiler/node_classes/parsing_expression.rb +146 -0
- data/vendor/jruby/1.9/gems/treetop-1.4.15/lib/treetop/compiler/node_classes/parsing_rule.rb +58 -0
- data/vendor/jruby/1.9/gems/treetop-1.4.15/lib/treetop/compiler/node_classes/predicate.rb +45 -0
- data/vendor/jruby/1.9/gems/treetop-1.4.15/lib/treetop/compiler/node_classes/predicate_block.rb +16 -0
- data/vendor/jruby/1.9/gems/treetop-1.4.15/lib/treetop/compiler/node_classes/repetition.rb +89 -0
- data/vendor/jruby/1.9/gems/treetop-1.4.15/lib/treetop/compiler/node_classes/sequence.rb +71 -0
- data/vendor/jruby/1.9/gems/treetop-1.4.15/lib/treetop/compiler/node_classes/terminal.rb +20 -0
- data/vendor/jruby/1.9/gems/treetop-1.4.15/lib/treetop/compiler/node_classes/transient_prefix.rb +9 -0
- data/vendor/jruby/1.9/gems/treetop-1.4.15/lib/treetop/compiler/node_classes/treetop_file.rb +9 -0
- data/vendor/jruby/1.9/gems/treetop-1.4.15/lib/treetop/compiler/ruby_builder.rb +115 -0
- data/vendor/jruby/1.9/gems/treetop-1.4.15/lib/treetop/polyglot.rb +9 -0
- data/vendor/jruby/1.9/gems/treetop-1.4.15/lib/treetop/ruby_extensions.rb +1 -0
- data/vendor/jruby/1.9/gems/treetop-1.4.15/lib/treetop/ruby_extensions/string.rb +40 -0
- data/vendor/jruby/1.9/gems/treetop-1.4.15/lib/treetop/runtime.rb +6 -0
- data/vendor/jruby/1.9/gems/treetop-1.4.15/lib/treetop/runtime/compiled_parser.rb +115 -0
- data/vendor/jruby/1.9/gems/treetop-1.4.15/lib/treetop/runtime/interval_skip_list.rb +3 -0
- data/vendor/jruby/1.9/gems/treetop-1.4.15/lib/treetop/runtime/interval_skip_list/head_node.rb +15 -0
- data/vendor/jruby/1.9/gems/treetop-1.4.15/lib/treetop/runtime/interval_skip_list/interval_skip_list.rb +200 -0
- data/vendor/jruby/1.9/gems/treetop-1.4.15/lib/treetop/runtime/interval_skip_list/node.rb +164 -0
- data/vendor/jruby/1.9/gems/treetop-1.4.15/lib/treetop/runtime/syntax_node.rb +114 -0
- data/vendor/jruby/1.9/gems/treetop-1.4.15/lib/treetop/runtime/terminal_parse_failure.rb +16 -0
- data/vendor/jruby/1.9/gems/treetop-1.4.15/lib/treetop/runtime/terminal_syntax_node.rb +17 -0
- data/vendor/jruby/1.9/gems/treetop-1.4.15/lib/treetop/version.rb +9 -0
- data/vendor/jruby/1.9/gems/treetop-1.4.15/spec/compiler/and_predicate_spec.rb +36 -0
- data/vendor/jruby/1.9/gems/treetop-1.4.15/spec/compiler/anything_symbol_spec.rb +44 -0
- data/vendor/jruby/1.9/gems/treetop-1.4.15/spec/compiler/character_class_spec.rb +301 -0
- data/vendor/jruby/1.9/gems/treetop-1.4.15/spec/compiler/choice_spec.rb +80 -0
- data/vendor/jruby/1.9/gems/treetop-1.4.15/spec/compiler/circular_compilation_spec.rb +30 -0
- data/vendor/jruby/1.9/gems/treetop-1.4.15/spec/compiler/failure_propagation_functional_spec.rb +21 -0
- data/vendor/jruby/1.9/gems/treetop-1.4.15/spec/compiler/grammar_compiler_spec.rb +113 -0
- data/vendor/jruby/1.9/gems/treetop-1.4.15/spec/compiler/grammar_spec.rb +41 -0
- data/vendor/jruby/1.9/gems/treetop-1.4.15/spec/compiler/multibyte_chars_spec.rb +38 -0
- data/vendor/jruby/1.9/gems/treetop-1.4.15/spec/compiler/namespace_spec.rb +42 -0
- data/vendor/jruby/1.9/gems/treetop-1.4.15/spec/compiler/nonterminal_symbol_spec.rb +40 -0
- data/vendor/jruby/1.9/gems/treetop-1.4.15/spec/compiler/not_predicate_spec.rb +38 -0
- data/vendor/jruby/1.9/gems/treetop-1.4.15/spec/compiler/occurrence_range_spec.rb +189 -0
- data/vendor/jruby/1.9/gems/treetop-1.4.15/spec/compiler/one_or_more_spec.rb +35 -0
- data/vendor/jruby/1.9/gems/treetop-1.4.15/spec/compiler/optional_spec.rb +37 -0
- data/vendor/jruby/1.9/gems/treetop-1.4.15/spec/compiler/parenthesized_expression_spec.rb +19 -0
- data/vendor/jruby/1.9/gems/treetop-1.4.15/spec/compiler/parsing_rule_spec.rb +61 -0
- data/vendor/jruby/1.9/gems/treetop-1.4.15/spec/compiler/repeated_subrule_spec.rb +29 -0
- data/vendor/jruby/1.9/gems/treetop-1.4.15/spec/compiler/semantic_predicate_spec.rb +175 -0
- data/vendor/jruby/1.9/gems/treetop-1.4.15/spec/compiler/sequence_spec.rb +129 -0
- data/vendor/jruby/1.9/gems/treetop-1.4.15/spec/compiler/terminal_spec.rb +81 -0
- data/vendor/jruby/1.9/gems/treetop-1.4.15/spec/compiler/terminal_symbol_spec.rb +37 -0
- data/vendor/jruby/1.9/gems/treetop-1.4.15/spec/compiler/test_grammar.treetop +7 -0
- data/vendor/jruby/1.9/gems/treetop-1.4.15/spec/compiler/test_grammar.tt +7 -0
- data/vendor/jruby/1.9/gems/treetop-1.4.15/spec/compiler/test_grammar_do.treetop +7 -0
- data/vendor/jruby/1.9/gems/treetop-1.4.15/spec/compiler/test_grammar_magic_coding.treetop +8 -0
- data/vendor/jruby/1.9/gems/treetop-1.4.15/spec/compiler/test_grammar_magic_encoding.treetop +8 -0
- data/vendor/jruby/1.9/gems/treetop-1.4.15/spec/compiler/tt_compiler_spec.rb +224 -0
- data/vendor/jruby/1.9/gems/treetop-1.4.15/spec/compiler/zero_or_more_spec.rb +56 -0
- data/vendor/jruby/1.9/gems/treetop-1.4.15/spec/composition/a.treetop +11 -0
- data/vendor/jruby/1.9/gems/treetop-1.4.15/spec/composition/b.treetop +11 -0
- data/vendor/jruby/1.9/gems/treetop-1.4.15/spec/composition/c.treetop +10 -0
- data/vendor/jruby/1.9/gems/treetop-1.4.15/spec/composition/d.treetop +10 -0
- data/vendor/jruby/1.9/gems/treetop-1.4.15/spec/composition/f.treetop +17 -0
- data/vendor/jruby/1.9/gems/treetop-1.4.15/spec/composition/grammar_composition_spec.rb +40 -0
- data/vendor/jruby/1.9/gems/treetop-1.4.15/spec/composition/subfolder/e_includes_c.treetop +15 -0
- data/vendor/jruby/1.9/gems/treetop-1.4.15/spec/ruby_extensions/string_spec.rb +32 -0
- data/vendor/jruby/1.9/gems/treetop-1.4.15/spec/runtime/compiled_parser_spec.rb +123 -0
- data/vendor/jruby/1.9/gems/treetop-1.4.15/spec/runtime/interval_skip_list/delete_spec.rb +147 -0
- data/vendor/jruby/1.9/gems/treetop-1.4.15/spec/runtime/interval_skip_list/expire_range_spec.rb +349 -0
- data/vendor/jruby/1.9/gems/treetop-1.4.15/spec/runtime/interval_skip_list/insert_and_delete_node_spec.rb +385 -0
- data/vendor/jruby/1.9/gems/treetop-1.4.15/spec/runtime/interval_skip_list/insert_spec.rb +660 -0
- data/vendor/jruby/1.9/gems/treetop-1.4.15/spec/runtime/interval_skip_list/interval_skip_list_spec.graffle +6175 -0
- data/vendor/jruby/1.9/gems/treetop-1.4.15/spec/runtime/interval_skip_list/interval_skip_list_spec.rb +58 -0
- data/vendor/jruby/1.9/gems/treetop-1.4.15/spec/runtime/interval_skip_list/palindromic_fixture.rb +35 -0
- data/vendor/jruby/1.9/gems/treetop-1.4.15/spec/runtime/interval_skip_list/palindromic_fixture_spec.rb +163 -0
- data/vendor/jruby/1.9/gems/treetop-1.4.15/spec/runtime/interval_skip_list/spec_helper.rb +91 -0
- data/vendor/jruby/1.9/gems/treetop-1.4.15/spec/runtime/syntax_node_spec.rb +77 -0
- data/vendor/jruby/1.9/gems/treetop-1.4.15/spec/spec_helper.rb +115 -0
- data/vendor/jruby/1.9/gems/treetop-1.4.15/treetop.gemspec +176 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/features/CHANGELOG.md +710 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/features/CONTRIBUTING.md +26 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/features/LICENSE.md +20 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/features/README.md +339 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/features/Upgrade.md +289 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/features/about_these_examples.md +18 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/features/cassettes/allow_unused_http_interactions.feature +100 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/features/cassettes/automatic_re_recording.feature +72 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/features/cassettes/decompress.feature +74 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/features/cassettes/dynamic_erb.feature +100 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/features/cassettes/exclusive.feature +126 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/features/cassettes/format.feature +411 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/features/cassettes/freezing_time.feature +68 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/features/cassettes/naming.feature +28 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/features/cassettes/no_cassette.feature +152 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/features/cassettes/update_content_length_header.feature +112 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/features/configuration/allow_http_connections_when_no_cassette.feature +55 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/features/configuration/cassette_library_dir.feature +31 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/features/configuration/debug_logging.feature +58 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/features/configuration/default_cassette_options.feature +100 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/features/configuration/filter_sensitive_data.feature +153 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/features/configuration/hook_into.feature +172 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/features/configuration/ignore_request.feature +192 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/features/configuration/preserve_exact_body_bytes.feature +108 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/features/configuration/query_parser.feature +84 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/features/configuration/uri_parser.feature +93 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/features/getting_started.md +82 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/features/hooks/after_http_request.feature +58 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/features/hooks/around_http_request.feature +57 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/features/hooks/before_http_request.feature +63 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/features/hooks/before_playback.feature +184 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/features/hooks/before_record.feature +172 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/features/http_libraries/em_http_request.feature +250 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/features/http_libraries/net_http.feature +179 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/features/middleware/faraday.feature +56 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/features/middleware/rack.feature +92 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/features/record_modes/all.feature +82 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/features/record_modes/new_episodes.feature +79 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/features/record_modes/none.feature +72 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/features/record_modes/once.feature +95 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/features/request_matching/README.md +30 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/features/request_matching/body.feature +91 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/features/request_matching/body_as_json.feature +90 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/features/request_matching/custom_matcher.feature +135 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/features/request_matching/headers.feature +85 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/features/request_matching/host.feature +95 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/features/request_matching/identical_request_sequence.feature +89 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/features/request_matching/method.feature +96 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/features/request_matching/path.feature +96 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/features/request_matching/playback_repeats.feature +98 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/features/request_matching/query.feature +97 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/features/request_matching/uri.feature +94 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/features/request_matching/uri_without_param.feature +101 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/features/step_definitions/cli_steps.rb +199 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/features/support/env.rb +46 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/features/support/http_lib_filters.rb +46 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/features/test_frameworks/cucumber.feature +211 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/features/test_frameworks/rspec_macro.feature +81 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/features/test_frameworks/rspec_metadata.feature +150 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/features/test_frameworks/test_unit.feature +49 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/lib/vcr.rb +430 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/lib/vcr/cassette.rb +298 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/lib/vcr/cassette/erb_renderer.rb +55 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/lib/vcr/cassette/http_interaction_list.rb +108 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/lib/vcr/cassette/migrator.rb +118 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/lib/vcr/cassette/persisters.rb +42 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/lib/vcr/cassette/persisters/file_system.rb +63 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/lib/vcr/cassette/serializers.rb +59 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/lib/vcr/cassette/serializers/compressed.rb +45 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/lib/vcr/cassette/serializers/json.rb +48 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/lib/vcr/cassette/serializers/psych.rb +48 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/lib/vcr/cassette/serializers/syck.rb +61 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/lib/vcr/cassette/serializers/yaml.rb +50 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/lib/vcr/configuration.rb +576 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/lib/vcr/deprecations.rb +109 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/lib/vcr/errors.rb +315 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/lib/vcr/extensions/net_http_response.rb +36 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/lib/vcr/library_hooks.rb +18 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/lib/vcr/library_hooks/excon.rb +27 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/lib/vcr/library_hooks/fakeweb.rb +197 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/lib/vcr/library_hooks/faraday.rb +51 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/lib/vcr/library_hooks/typhoeus.rb +120 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/lib/vcr/library_hooks/typhoeus_0.4.rb +103 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/lib/vcr/library_hooks/webmock.rb +181 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/lib/vcr/linked_cassette.rb +72 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/lib/vcr/middleware/excon.rb +221 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/lib/vcr/middleware/excon/legacy_methods.rb +33 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/lib/vcr/middleware/faraday.rb +118 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/lib/vcr/middleware/rack.rb +79 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/lib/vcr/request_handler.rb +114 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/lib/vcr/request_ignorer.rb +43 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/lib/vcr/request_matcher_registry.rb +149 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/lib/vcr/structs.rb +578 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/lib/vcr/tasks/vcr.rake +9 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/lib/vcr/test_frameworks/cucumber.rb +98 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/lib/vcr/test_frameworks/rspec.rb +52 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/lib/vcr/util/hooks.rb +61 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/lib/vcr/util/internet_connection.rb +43 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/lib/vcr/util/logger.rb +59 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/lib/vcr/util/variable_args_block_caller.rb +13 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/lib/vcr/util/version_checker.rb +48 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/lib/vcr/version.rb +34 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/spec/acceptance/concurrency_spec.rb +51 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/spec/acceptance/threading_spec.rb +34 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/spec/fixtures/cassette_spec/1_x_cassette.yml +110 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/spec/fixtures/cassette_spec/empty.yml +0 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/spec/fixtures/cassette_spec/example.yml +111 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/spec/fixtures/cassette_spec/with_localhost_requests.yml +111 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/spec/fixtures/fake_example_responses.yml +110 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/spec/fixtures/match_requests_on.yml +187 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/spec/lib/vcr/cassette/erb_renderer_spec.rb +53 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/spec/lib/vcr/cassette/http_interaction_list_spec.rb +295 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/spec/lib/vcr/cassette/migrator_spec.rb +196 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/spec/lib/vcr/cassette/persisters/file_system_spec.rb +75 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/spec/lib/vcr/cassette/persisters_spec.rb +39 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/spec/lib/vcr/cassette/serializers_spec.rb +182 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/spec/lib/vcr/cassette_spec.rb +618 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/spec/lib/vcr/configuration_spec.rb +326 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/spec/lib/vcr/deprecations_spec.rb +85 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/spec/lib/vcr/errors_spec.rb +178 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/spec/lib/vcr/extensions/net_http_response_spec.rb +86 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/spec/lib/vcr/library_hooks/excon_spec.rb +104 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/spec/lib/vcr/library_hooks/fakeweb_spec.rb +169 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/spec/lib/vcr/library_hooks/faraday_spec.rb +68 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/spec/lib/vcr/library_hooks/typhoeus_0.4_spec.rb +36 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/spec/lib/vcr/library_hooks/typhoeus_spec.rb +162 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/spec/lib/vcr/library_hooks/webmock_spec.rb +117 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/spec/lib/vcr/library_hooks_spec.rb +51 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/spec/lib/vcr/middleware/faraday_spec.rb +181 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/spec/lib/vcr/middleware/rack_spec.rb +115 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/spec/lib/vcr/request_ignorer_spec.rb +70 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/spec/lib/vcr/request_matcher_registry_spec.rb +345 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/spec/lib/vcr/structs_spec.rb +732 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/spec/lib/vcr/test_frameworks/cucumber_spec.rb +107 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/spec/lib/vcr/test_frameworks/rspec_spec.rb +94 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/spec/lib/vcr/util/hooks_spec.rb +158 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/spec/lib/vcr/util/internet_connection_spec.rb +37 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/spec/lib/vcr/util/version_checker_spec.rb +31 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/spec/lib/vcr/version_spec.rb +27 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/spec/lib/vcr_spec.rb +354 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/spec/monkey_patches.rb +186 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/spec/spec_helper.rb +63 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/spec/support/configuration_stubbing.rb +8 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/spec/support/cucumber_helpers.rb +39 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/spec/support/fixnum_extension.rb +10 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/spec/support/http_library_adapters.rb +289 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/spec/support/limited_uri.rb +21 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/spec/support/ruby_interpreter.rb +7 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/spec/support/shared_example_groups/excon.rb +63 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/spec/support/shared_example_groups/hook_into_http_library.rb +594 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/spec/support/shared_example_groups/request_hooks.rb +59 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/spec/support/sinatra_app.rb +86 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/spec/support/vcr_localhost_server.rb +76 -0
- data/vendor/jruby/1.9/gems/vcr-3.0.3/spec/support/vcr_stub_helpers.rb +17 -0
- data/vendor/jruby/1.9/gems/webmock-2.3.2/CHANGELOG.md +1460 -0
- data/vendor/jruby/1.9/gems/webmock-2.3.2/Gemfile +9 -0
- data/vendor/jruby/1.9/gems/webmock-2.3.2/LICENSE +20 -0
- data/vendor/jruby/1.9/gems/webmock-2.3.2/README.md +1045 -0
- data/vendor/jruby/1.9/gems/webmock-2.3.2/Rakefile +30 -0
- data/vendor/jruby/1.9/gems/webmock-2.3.2/lib/webmock.rb +54 -0
- data/vendor/jruby/1.9/gems/webmock-2.3.2/lib/webmock/api.rb +97 -0
- data/vendor/jruby/1.9/gems/webmock-2.3.2/lib/webmock/assertion_failure.rb +11 -0
- data/vendor/jruby/1.9/gems/webmock-2.3.2/lib/webmock/callback_registry.rb +35 -0
- data/vendor/jruby/1.9/gems/webmock-2.3.2/lib/webmock/config.rb +18 -0
- data/vendor/jruby/1.9/gems/webmock-2.3.2/lib/webmock/cucumber.rb +10 -0
- data/vendor/jruby/1.9/gems/webmock-2.3.2/lib/webmock/deprecation.rb +9 -0
- data/vendor/jruby/1.9/gems/webmock-2.3.2/lib/webmock/errors.rb +17 -0
- data/vendor/jruby/1.9/gems/webmock-2.3.2/lib/webmock/http_lib_adapters/curb_adapter.rb +337 -0
- data/vendor/jruby/1.9/gems/webmock-2.3.2/lib/webmock/http_lib_adapters/em_http_request_adapter.rb +228 -0
- data/vendor/jruby/1.9/gems/webmock-2.3.2/lib/webmock/http_lib_adapters/excon_adapter.rb +162 -0
- data/vendor/jruby/1.9/gems/webmock-2.3.2/lib/webmock/http_lib_adapters/http_lib_adapter.rb +7 -0
- data/vendor/jruby/1.9/gems/webmock-2.3.2/lib/webmock/http_lib_adapters/http_lib_adapter_registry.rb +19 -0
- data/vendor/jruby/1.9/gems/webmock-2.3.2/lib/webmock/http_lib_adapters/http_rb/client.rb +14 -0
- data/vendor/jruby/1.9/gems/webmock-2.3.2/lib/webmock/http_lib_adapters/http_rb/request.rb +10 -0
- data/vendor/jruby/1.9/gems/webmock-2.3.2/lib/webmock/http_lib_adapters/http_rb/response.rb +43 -0
- data/vendor/jruby/1.9/gems/webmock-2.3.2/lib/webmock/http_lib_adapters/http_rb/streamer.rb +25 -0
- data/vendor/jruby/1.9/gems/webmock-2.3.2/lib/webmock/http_lib_adapters/http_rb/webmock.rb +68 -0
- data/vendor/jruby/1.9/gems/webmock-2.3.2/lib/webmock/http_lib_adapters/http_rb_adapter.rb +37 -0
- data/vendor/jruby/1.9/gems/webmock-2.3.2/lib/webmock/http_lib_adapters/httpclient_adapter.rb +240 -0
- data/vendor/jruby/1.9/gems/webmock-2.3.2/lib/webmock/http_lib_adapters/manticore_adapter.rb +127 -0
- data/vendor/jruby/1.9/gems/webmock-2.3.2/lib/webmock/http_lib_adapters/net_http.rb +362 -0
- data/vendor/jruby/1.9/gems/webmock-2.3.2/lib/webmock/http_lib_adapters/net_http_response.rb +34 -0
- data/vendor/jruby/1.9/gems/webmock-2.3.2/lib/webmock/http_lib_adapters/patron_adapter.rb +130 -0
- data/vendor/jruby/1.9/gems/webmock-2.3.2/lib/webmock/http_lib_adapters/typhoeus_hydra_adapter.rb +174 -0
- data/vendor/jruby/1.9/gems/webmock-2.3.2/lib/webmock/matchers/hash_including_matcher.rb +36 -0
- data/vendor/jruby/1.9/gems/webmock-2.3.2/lib/webmock/minitest.rb +41 -0
- data/vendor/jruby/1.9/gems/webmock-2.3.2/lib/webmock/rack_response.rb +69 -0
- data/vendor/jruby/1.9/gems/webmock-2.3.2/lib/webmock/request_body_diff.rb +64 -0
- data/vendor/jruby/1.9/gems/webmock-2.3.2/lib/webmock/request_execution_verifier.rb +78 -0
- data/vendor/jruby/1.9/gems/webmock-2.3.2/lib/webmock/request_pattern.rb +343 -0
- data/vendor/jruby/1.9/gems/webmock-2.3.2/lib/webmock/request_registry.rb +35 -0
- data/vendor/jruby/1.9/gems/webmock-2.3.2/lib/webmock/request_signature.rb +54 -0
- data/vendor/jruby/1.9/gems/webmock-2.3.2/lib/webmock/request_signature_snippet.rb +61 -0
- data/vendor/jruby/1.9/gems/webmock-2.3.2/lib/webmock/request_stub.rb +100 -0
- data/vendor/jruby/1.9/gems/webmock-2.3.2/lib/webmock/response.rb +153 -0
- data/vendor/jruby/1.9/gems/webmock-2.3.2/lib/webmock/responses_sequence.rb +40 -0
- data/vendor/jruby/1.9/gems/webmock-2.3.2/lib/webmock/rspec.rb +35 -0
- data/vendor/jruby/1.9/gems/webmock-2.3.2/lib/webmock/rspec/matchers.rb +27 -0
- data/vendor/jruby/1.9/gems/webmock-2.3.2/lib/webmock/rspec/matchers/request_pattern_matcher.rb +78 -0
- data/vendor/jruby/1.9/gems/webmock-2.3.2/lib/webmock/rspec/matchers/webmock_matcher.rb +52 -0
- data/vendor/jruby/1.9/gems/webmock-2.3.2/lib/webmock/stub_registry.rb +67 -0
- data/vendor/jruby/1.9/gems/webmock-2.3.2/lib/webmock/stub_request_snippet.rb +34 -0
- data/vendor/jruby/1.9/gems/webmock-2.3.2/lib/webmock/test_unit.rb +22 -0
- data/vendor/jruby/1.9/gems/webmock-2.3.2/lib/webmock/util/hash_counter.rb +32 -0
- data/vendor/jruby/1.9/gems/webmock-2.3.2/lib/webmock/util/hash_keys_stringifier.rb +25 -0
- data/vendor/jruby/1.9/gems/webmock-2.3.2/lib/webmock/util/hash_validator.rb +17 -0
- data/vendor/jruby/1.9/gems/webmock-2.3.2/lib/webmock/util/headers.rb +49 -0
- data/vendor/jruby/1.9/gems/webmock-2.3.2/lib/webmock/util/json.rb +78 -0
- data/vendor/jruby/1.9/gems/webmock-2.3.2/lib/webmock/util/query_mapper.rb +279 -0
- data/vendor/jruby/1.9/gems/webmock-2.3.2/lib/webmock/util/uri.rb +111 -0
- data/vendor/jruby/1.9/gems/webmock-2.3.2/lib/webmock/util/version_checker.rb +111 -0
- data/vendor/jruby/1.9/gems/webmock-2.3.2/lib/webmock/version.rb +3 -0
- data/vendor/jruby/1.9/gems/webmock-2.3.2/lib/webmock/webmock.rb +156 -0
- data/vendor/jruby/1.9/gems/webmock-2.3.2/minitest/test_helper.rb +34 -0
- data/vendor/jruby/1.9/gems/webmock-2.3.2/minitest/test_webmock.rb +9 -0
- data/vendor/jruby/1.9/gems/webmock-2.3.2/minitest/webmock_spec.rb +60 -0
- data/vendor/jruby/1.9/gems/webmock-2.3.2/spec/acceptance/curb/curb_spec.rb +466 -0
- data/vendor/jruby/1.9/gems/webmock-2.3.2/spec/acceptance/curb/curb_spec_helper.rb +147 -0
- data/vendor/jruby/1.9/gems/webmock-2.3.2/spec/acceptance/em_http_request/em_http_request_spec.rb +406 -0
- data/vendor/jruby/1.9/gems/webmock-2.3.2/spec/acceptance/em_http_request/em_http_request_spec_helper.rb +77 -0
- data/vendor/jruby/1.9/gems/webmock-2.3.2/spec/acceptance/excon/excon_spec.rb +75 -0
- data/vendor/jruby/1.9/gems/webmock-2.3.2/spec/acceptance/excon/excon_spec_helper.rb +50 -0
- data/vendor/jruby/1.9/gems/webmock-2.3.2/spec/acceptance/http_rb/http_rb_spec.rb +73 -0
- data/vendor/jruby/1.9/gems/webmock-2.3.2/spec/acceptance/http_rb/http_rb_spec_helper.rb +51 -0
- data/vendor/jruby/1.9/gems/webmock-2.3.2/spec/acceptance/httpclient/httpclient_spec.rb +209 -0
- data/vendor/jruby/1.9/gems/webmock-2.3.2/spec/acceptance/httpclient/httpclient_spec_helper.rb +57 -0
- data/vendor/jruby/1.9/gems/webmock-2.3.2/spec/acceptance/manticore/manticore_spec.rb +56 -0
- data/vendor/jruby/1.9/gems/webmock-2.3.2/spec/acceptance/manticore/manticore_spec_helper.rb +35 -0
- data/vendor/jruby/1.9/gems/webmock-2.3.2/spec/acceptance/net_http/net_http_shared.rb +142 -0
- data/vendor/jruby/1.9/gems/webmock-2.3.2/spec/acceptance/net_http/net_http_spec.rb +317 -0
- data/vendor/jruby/1.9/gems/webmock-2.3.2/spec/acceptance/net_http/net_http_spec_helper.rb +64 -0
- data/vendor/jruby/1.9/gems/webmock-2.3.2/spec/acceptance/net_http/real_net_http_spec.rb +20 -0
- data/vendor/jruby/1.9/gems/webmock-2.3.2/spec/acceptance/patron/patron_spec.rb +118 -0
- data/vendor/jruby/1.9/gems/webmock-2.3.2/spec/acceptance/patron/patron_spec_helper.rb +54 -0
- data/vendor/jruby/1.9/gems/webmock-2.3.2/spec/acceptance/shared/allowing_and_disabling_net_connect.rb +313 -0
- data/vendor/jruby/1.9/gems/webmock-2.3.2/spec/acceptance/shared/callbacks.rb +147 -0
- data/vendor/jruby/1.9/gems/webmock-2.3.2/spec/acceptance/shared/complex_cross_concern_behaviors.rb +36 -0
- data/vendor/jruby/1.9/gems/webmock-2.3.2/spec/acceptance/shared/enabling_and_disabling_webmock.rb +95 -0
- data/vendor/jruby/1.9/gems/webmock-2.3.2/spec/acceptance/shared/precedence_of_stubs.rb +15 -0
- data/vendor/jruby/1.9/gems/webmock-2.3.2/spec/acceptance/shared/request_expectations.rb +916 -0
- data/vendor/jruby/1.9/gems/webmock-2.3.2/spec/acceptance/shared/returning_declared_responses.rb +388 -0
- data/vendor/jruby/1.9/gems/webmock-2.3.2/spec/acceptance/shared/stubbing_requests.rb +583 -0
- data/vendor/jruby/1.9/gems/webmock-2.3.2/spec/acceptance/typhoeus/typhoeus_hydra_spec.rb +135 -0
- data/vendor/jruby/1.9/gems/webmock-2.3.2/spec/acceptance/typhoeus/typhoeus_hydra_spec_helper.rb +60 -0
- data/vendor/jruby/1.9/gems/webmock-2.3.2/spec/acceptance/webmock_shared.rb +41 -0
- data/vendor/jruby/1.9/gems/webmock-2.3.2/spec/fixtures/test.txt +1 -0
- data/vendor/jruby/1.9/gems/webmock-2.3.2/spec/quality_spec.rb +84 -0
- data/vendor/jruby/1.9/gems/webmock-2.3.2/spec/spec_helper.rb +48 -0
- data/vendor/jruby/1.9/gems/webmock-2.3.2/spec/support/example_curl_output.txt +22 -0
- data/vendor/jruby/1.9/gems/webmock-2.3.2/spec/support/failures.rb +9 -0
- data/vendor/jruby/1.9/gems/webmock-2.3.2/spec/support/my_rack_app.rb +53 -0
- data/vendor/jruby/1.9/gems/webmock-2.3.2/spec/support/network_connection.rb +19 -0
- data/vendor/jruby/1.9/gems/webmock-2.3.2/spec/support/webmock_server.rb +69 -0
- data/vendor/jruby/1.9/gems/webmock-2.3.2/spec/unit/api_spec.rb +75 -0
- data/vendor/jruby/1.9/gems/webmock-2.3.2/spec/unit/errors_spec.rb +129 -0
- data/vendor/jruby/1.9/gems/webmock-2.3.2/spec/unit/http_lib_adapters/http_lib_adapter_registry_spec.rb +17 -0
- data/vendor/jruby/1.9/gems/webmock-2.3.2/spec/unit/http_lib_adapters/http_lib_adapter_spec.rb +12 -0
- data/vendor/jruby/1.9/gems/webmock-2.3.2/spec/unit/matchers/hash_including_matcher_spec.rb +87 -0
- data/vendor/jruby/1.9/gems/webmock-2.3.2/spec/unit/rack_response_spec.rb +112 -0
- data/vendor/jruby/1.9/gems/webmock-2.3.2/spec/unit/request_body_diff_spec.rb +90 -0
- data/vendor/jruby/1.9/gems/webmock-2.3.2/spec/unit/request_execution_verifier_spec.rb +208 -0
- data/vendor/jruby/1.9/gems/webmock-2.3.2/spec/unit/request_pattern_spec.rb +590 -0
- data/vendor/jruby/1.9/gems/webmock-2.3.2/spec/unit/request_registry_spec.rb +76 -0
- data/vendor/jruby/1.9/gems/webmock-2.3.2/spec/unit/request_signature_snippet_spec.rb +89 -0
- data/vendor/jruby/1.9/gems/webmock-2.3.2/spec/unit/request_signature_spec.rb +155 -0
- data/vendor/jruby/1.9/gems/webmock-2.3.2/spec/unit/request_stub_spec.rb +199 -0
- data/vendor/jruby/1.9/gems/webmock-2.3.2/spec/unit/response_spec.rb +282 -0
- data/vendor/jruby/1.9/gems/webmock-2.3.2/spec/unit/stub_registry_spec.rb +103 -0
- data/vendor/jruby/1.9/gems/webmock-2.3.2/spec/unit/stub_request_snippet_spec.rb +95 -0
- data/vendor/jruby/1.9/gems/webmock-2.3.2/spec/unit/util/hash_counter_spec.rb +39 -0
- data/vendor/jruby/1.9/gems/webmock-2.3.2/spec/unit/util/hash_keys_stringifier_spec.rb +27 -0
- data/vendor/jruby/1.9/gems/webmock-2.3.2/spec/unit/util/headers_spec.rb +28 -0
- data/vendor/jruby/1.9/gems/webmock-2.3.2/spec/unit/util/json_spec.rb +33 -0
- data/vendor/jruby/1.9/gems/webmock-2.3.2/spec/unit/util/query_mapper_spec.rb +138 -0
- data/vendor/jruby/1.9/gems/webmock-2.3.2/spec/unit/util/uri_spec.rb +299 -0
- data/vendor/jruby/1.9/gems/webmock-2.3.2/spec/unit/util/version_checker_spec.rb +65 -0
- data/vendor/jruby/1.9/gems/webmock-2.3.2/spec/unit/webmock_spec.rb +11 -0
- data/vendor/jruby/1.9/gems/webmock-2.3.2/test/http_request.rb +24 -0
- data/vendor/jruby/1.9/gems/webmock-2.3.2/test/shared_test.rb +95 -0
- data/vendor/jruby/1.9/gems/webmock-2.3.2/test/test_helper.rb +23 -0
- data/vendor/jruby/1.9/gems/webmock-2.3.2/test/test_webmock.rb +6 -0
- data/vendor/jruby/1.9/gems/webmock-2.3.2/webmock.gemspec +46 -0
- data/vendor/jruby/1.9/specifications/addressable-2.4.0.gemspec +36 -0
- data/vendor/jruby/1.9/specifications/chronic_duration-0.10.6.gemspec +38 -0
- data/vendor/jruby/1.9/specifications/clamp-0.6.5.gemspec +20 -0
- data/vendor/jruby/1.9/specifications/coderay-1.1.1.gemspec +26 -0
- data/vendor/jruby/1.9/specifications/concurrent-ruby-1.0.0-java.gemspec +24 -0
- data/vendor/jruby/1.9/specifications/crack-0.4.3.gemspec +32 -0
- data/vendor/jruby/1.9/specifications/diff-lcs-1.3.gemspec +61 -0
- data/vendor/jruby/1.9/specifications/faraday-0.9.2.gemspec +31 -0
- data/vendor/jruby/1.9/specifications/faraday_middleware-0.11.0.1.gemspec +31 -0
- data/vendor/jruby/1.9/specifications/ffi-1.9.17-java.gemspec +21 -0
- data/vendor/jruby/1.9/specifications/filesize-0.0.4.gemspec +35 -0
- data/vendor/jruby/1.9/specifications/fivemat-1.3.2.gemspec +19 -0
- data/vendor/jruby/1.9/specifications/gem_publisher-1.5.0.gemspec +37 -0
- data/vendor/jruby/1.9/specifications/gems-0.8.3.gemspec +33 -0
- data/vendor/jruby/1.9/specifications/hashdiff-0.3.2.gemspec +39 -0
- data/vendor/jruby/1.9/specifications/hashie-3.4.6.gemspec +38 -0
- data/vendor/jruby/1.9/specifications/i18n-0.6.9.gemspec +42 -0
- data/vendor/jruby/1.9/specifications/insist-1.0.0.gemspec +0 -0
- data/vendor/jruby/1.9/specifications/jar-dependencies-0.3.9.gemspec +41 -0
- data/vendor/jruby/1.9/specifications/jrjackson-0.4.2-java.gemspec +40 -0
- data/vendor/jruby/1.9/specifications/jrmonitor-0.4.2.gemspec +0 -0
- data/vendor/jruby/1.9/specifications/json-2.0.3-java.gemspec +37 -0
- data/vendor/jruby/1.9/specifications/kramdown-1.13.2.gemspec +56 -0
- data/vendor/jruby/1.9/specifications/logstash-codec-plain-3.0.2.gemspec +36 -0
- data/vendor/jruby/1.9/specifications/logstash-core-5.1.1.1-java.gemspec +94 -0
- data/vendor/jruby/1.9/specifications/logstash-core-event-java-5.1.1.1-java.gemspec +37 -0
- data/vendor/jruby/1.9/specifications/logstash-core-plugin-api-2.1.22-java.gemspec +33 -0
- data/vendor/jruby/1.9/specifications/logstash-core-queue-jruby-5.1.1.1-java.gemspec +21 -0
- data/vendor/jruby/1.9/specifications/logstash-devutils-1.2.1-java.gemspec +0 -0
- data/vendor/jruby/1.9/specifications/method_source-0.8.2.gemspec +34 -0
- data/vendor/jruby/1.9/specifications/minitar-0.5.4.gemspec +25 -0
- data/vendor/jruby/1.9/specifications/multipart-post-2.0.0.gemspec +22 -0
- data/vendor/jruby/1.9/specifications/numerizer-0.1.1.gemspec +22 -0
- data/vendor/jruby/1.9/specifications/polyglot-0.3.5.gemspec +22 -0
- data/vendor/jruby/1.9/specifications/pry-0.10.4-java.gemspec +47 -0
- data/vendor/jruby/1.9/specifications/public_suffix-1.4.6.gemspec +39 -0
- data/vendor/jruby/1.9/specifications/puma-2.16.0-java.gemspec +47 -0
- data/vendor/jruby/1.9/specifications/rack-1.6.5.gemspec +39 -0
- data/vendor/jruby/1.9/specifications/rack-protection-1.5.3.gemspec +38 -0
- data/vendor/jruby/1.9/specifications/rake-12.0.0.gemspec +43 -0
- data/vendor/jruby/1.9/specifications/restforce-2.4.2.gemspec +57 -0
- data/vendor/jruby/1.9/specifications/rspec-3.5.0.gemspec +42 -0
- data/vendor/jruby/1.9/specifications/rspec-core-3.5.4.gemspec +62 -0
- data/vendor/jruby/1.9/specifications/rspec-expectations-3.5.0.gemspec +50 -0
- data/vendor/jruby/1.9/specifications/rspec-mocks-3.5.0.gemspec +50 -0
- data/vendor/jruby/1.9/specifications/rspec-support-3.5.0.gemspec +41 -0
- data/vendor/jruby/1.9/specifications/rspec-wait-0.0.9.gemspec +38 -0
- data/vendor/jruby/1.9/specifications/ruby-maven-3.3.12.gemspec +41 -0
- data/vendor/jruby/1.9/specifications/ruby-maven-libs-3.3.9.gemspec +22 -0
- data/vendor/jruby/1.9/specifications/rubyzip-1.1.7.gemspec +47 -0
- data/vendor/jruby/1.9/specifications/safe_yaml-1.0.4.gemspec +23 -0
- data/vendor/jruby/1.9/specifications/sinatra-1.4.7.gemspec +41 -0
- data/vendor/jruby/1.9/specifications/slop-3.6.0.gemspec +36 -0
- data/vendor/jruby/1.9/specifications/spoon-0.0.6.gemspec +30 -0
- data/vendor/jruby/1.9/specifications/stud-0.0.22.gemspec +0 -0
- data/vendor/jruby/1.9/specifications/thread_safe-0.3.5-java.gemspec +39 -0
- data/vendor/jruby/1.9/specifications/tilt-2.0.5.gemspec +23 -0
- data/vendor/jruby/1.9/specifications/treetop-1.4.15.gemspec +56 -0
- data/vendor/jruby/1.9/specifications/vcr-3.0.3.gemspec +96 -0
- data/vendor/jruby/1.9/specifications/webmock-2.3.2.gemspec +79 -0
- metadata +3743 -11
@@ -0,0 +1,2872 @@
|
|
1
|
+
# Sinatra
|
2
|
+
|
3
|
+
*注:本文档是英文版的翻译,内容更新有可能不及时。如有不一致的地方,请以英文版为准。*
|
4
|
+
|
5
|
+
Sinatra 是一门基于
|
6
|
+
Ruby 的[领域专属语言](https://en.wikipedia.org/wiki/Domain-specific_language),致力于轻松、快速地创建网络应用:
|
7
|
+
|
8
|
+
```ruby
|
9
|
+
# myapp.rb
|
10
|
+
require 'sinatra'
|
11
|
+
|
12
|
+
get '/' do
|
13
|
+
'Hello world!'
|
14
|
+
end
|
15
|
+
```
|
16
|
+
|
17
|
+
安装 Sinatra 这个 gem:
|
18
|
+
|
19
|
+
```shell
|
20
|
+
gem install sinatra
|
21
|
+
```
|
22
|
+
|
23
|
+
然后运行 myapp.rb 中的代码:
|
24
|
+
|
25
|
+
```shell
|
26
|
+
ruby myapp.rb
|
27
|
+
```
|
28
|
+
|
29
|
+
在该地址查看: [http://localhost:4567](http://localhost:4567)
|
30
|
+
|
31
|
+
推荐运行 `gem install thin` 安装 Thin。这样,Sinatra 会优先选择 Thin 作为服务器。
|
32
|
+
|
33
|
+
## 目录
|
34
|
+
|
35
|
+
* [Sinatra](#sinatra)
|
36
|
+
* [目录](#目录)
|
37
|
+
* [路由](#路由)
|
38
|
+
* [条件](#条件)
|
39
|
+
* [返回值](#返回值)
|
40
|
+
* [自定义路由匹配器](#自定义路由匹配器)
|
41
|
+
* [静态文件](#静态文件)
|
42
|
+
* [视图 / 模板](#视图--模板)
|
43
|
+
* [字面量模板](#字面量模板)
|
44
|
+
* [可选的模板语言](#可选的模板语言)
|
45
|
+
* [Haml 模板](#haml-模板)
|
46
|
+
* [Erb 模板](#erb-模板)
|
47
|
+
* [Builder 模板](#builder-模板)
|
48
|
+
* [Nokogiri 模板](#nokogiri-模板)
|
49
|
+
* [Sass 模板](#sass-模板)
|
50
|
+
* [SCSS 模板](#scss-模板)
|
51
|
+
* [Less 模板](#less-模板)
|
52
|
+
* [Liquid 模板](#liquid-模板)
|
53
|
+
* [Markdown 模板](#markdown-模板)
|
54
|
+
* [Textile 模板](#textile-模板)
|
55
|
+
* [RDoc 模板](#rdoc-模板)
|
56
|
+
* [AsciiDoc 模板](#asciidoc-模板)
|
57
|
+
* [Radius 模板](#radius-模板)
|
58
|
+
* [Markaby 模板](#markaby-模板)
|
59
|
+
* [RABL 模板](#rabl-模板)
|
60
|
+
* [Slim 模板](#slim-模板)
|
61
|
+
* [Creole 模板](#creole-模板)
|
62
|
+
* [MediaWiki 模板](#mediawiki-模板)
|
63
|
+
* [CoffeeScript 模板](#coffeescript-模板)
|
64
|
+
* [Stylus 模板](#stylus-模板)
|
65
|
+
* [Yajl 模板](#yajl-模板)
|
66
|
+
* [WLang 模板](#wlang-模板)
|
67
|
+
* [在模板中访问变量](#在模板中访问变量)
|
68
|
+
* [带 `yield` 的模板和嵌套布局](#带-yield-的模板和嵌套布局)
|
69
|
+
* [内联模板](#内联模板)
|
70
|
+
* [具名模板](#具名模板)
|
71
|
+
* [关联文件扩展名](#关联文件扩展名)
|
72
|
+
* [添加自定义模板引擎](#添加自定义模板引擎)
|
73
|
+
* [自定义模板查找逻辑](#自定义模板查找逻辑)
|
74
|
+
* [过滤器](#过滤器)
|
75
|
+
* [辅助方法](#辅助方法)
|
76
|
+
* [使用会话](#使用会话)
|
77
|
+
* [中断请求](#中断请求)
|
78
|
+
* [传递请求](#传递请求)
|
79
|
+
* [触发另一个路由](#触发另一个路由)
|
80
|
+
* [设置响应主体、状态码和响应首部](#设置响应主体状态码和响应首部)
|
81
|
+
* [响应的流式传输](#响应的流式传输)
|
82
|
+
* [日志](#日志)
|
83
|
+
* [媒体类型](#媒体类型)
|
84
|
+
* [生成 URL](#生成-url)
|
85
|
+
* [浏览器重定向](#浏览器重定向)
|
86
|
+
* [缓存控制](#缓存控制)
|
87
|
+
* [发送文件](#发送文件)
|
88
|
+
* [访问请求对象](#访问请求对象)
|
89
|
+
* [附件](#附件)
|
90
|
+
* [处理日期和时间](#处理日期和时间)
|
91
|
+
* [查找模板文件](#查找模板文件)
|
92
|
+
* [配置](#配置)
|
93
|
+
* [配置攻击防护](#配置攻击防护)
|
94
|
+
* [可选的设置](#可选的设置)
|
95
|
+
* [环境](#环境)
|
96
|
+
* [错误处理](#错误处理)
|
97
|
+
* [未找到](#未找到)
|
98
|
+
* [错误](#错误)
|
99
|
+
* [Rack 中间件](#rack-中间件)
|
100
|
+
* [测试](#测试)
|
101
|
+
* [Sinatra::Base - 中间件、库和模块化应用](#sinatrabase---中间件库和模块化应用)
|
102
|
+
* [模块化风格 vs. 经典风格](#模块化风格-vs-经典风格)
|
103
|
+
* [运行一个模块化应用](#运行一个模块化应用)
|
104
|
+
* [使用 config.ru 运行经典风格的应用](#使用-configru-运行经典风格的应用)
|
105
|
+
* [何时使用 config.ru?](#何时使用-configru)
|
106
|
+
* [把 Sinatra 当作中间件使用](#把-sinatra-当作中间件使用)
|
107
|
+
* [创建动态应用](#创建动态应用)
|
108
|
+
* [作用域和绑定](#作用域和绑定)
|
109
|
+
* [应用/类作用域](#应用类作用域)
|
110
|
+
* [请求/实例作用域](#请求实例作用域)
|
111
|
+
* [代理作用域](#代理作用域)
|
112
|
+
* [命令行](#命令行)
|
113
|
+
* [多线程](#多线程)
|
114
|
+
* [必要条件](#必要条件)
|
115
|
+
* [紧跟前沿](#紧跟前沿)
|
116
|
+
* [通过 Bundler 使用 Sinatra](#通过-bundler-使用-sinatra)
|
117
|
+
* [使用自己本地的 Sinatra](#使用自己本地的-sinatra)
|
118
|
+
* [全局安装](#全局安装)
|
119
|
+
* [版本](#版本)
|
120
|
+
* [更多资料](#更多资料)
|
121
|
+
|
122
|
+
## 路由
|
123
|
+
|
124
|
+
在 Sinatra 中,一个路由分为两部分:HTTP 方法和 URL 匹配范式。每个路由都有一个要执行的代码块:
|
125
|
+
|
126
|
+
```ruby
|
127
|
+
get '/' do
|
128
|
+
.. 显示内容 ..
|
129
|
+
end
|
130
|
+
|
131
|
+
post '/' do
|
132
|
+
.. 创建内容 ..
|
133
|
+
end
|
134
|
+
|
135
|
+
put '/' do
|
136
|
+
.. 替换内容 ..
|
137
|
+
end
|
138
|
+
|
139
|
+
patch '/' do
|
140
|
+
.. 修改内容 ..
|
141
|
+
end
|
142
|
+
|
143
|
+
delete '/' do
|
144
|
+
.. 删除内容 ..
|
145
|
+
end
|
146
|
+
|
147
|
+
options '/' do
|
148
|
+
.. 显示命令列表 ..
|
149
|
+
end
|
150
|
+
|
151
|
+
link '/' do
|
152
|
+
.. 建立某种联系 ..
|
153
|
+
end
|
154
|
+
|
155
|
+
unlink '/' do
|
156
|
+
.. 解除某种联系 ..
|
157
|
+
end
|
158
|
+
```
|
159
|
+
|
160
|
+
路由按照它们定义时的顺序进行匹配。第一个与请求匹配的路由会被调用。
|
161
|
+
|
162
|
+
路由范式可以包括具名参数,具名参数可以通过 `params` hash 访问:
|
163
|
+
|
164
|
+
```ruby
|
165
|
+
get '/hello/:name' do
|
166
|
+
# 匹配 "GET /hello/foo" 和 "GET /hello/bar"
|
167
|
+
# params['name'] 的值是 'foo' 或者 'bar'
|
168
|
+
"Hello #{params['name']}!"
|
169
|
+
end
|
170
|
+
```
|
171
|
+
|
172
|
+
也可以通过代码块参数访问具名参数:
|
173
|
+
|
174
|
+
```ruby
|
175
|
+
get '/hello/:name' do |n|
|
176
|
+
# 匹配 "GET /hello/foo" 和 "GET /hello/bar"
|
177
|
+
# params['name'] 的值是 'foo' 或者 'bar'
|
178
|
+
# n 存储 params['name'] 的值
|
179
|
+
"Hello #{n}!"
|
180
|
+
end
|
181
|
+
```
|
182
|
+
|
183
|
+
路由范式也可以包含通配符参数, 参数值可以通过 `params['splat']` 数组访问。
|
184
|
+
|
185
|
+
```ruby
|
186
|
+
get '/say/*/to/*' do
|
187
|
+
# 匹配 "GET /say/hello/to/world"
|
188
|
+
params['splat'] # => ["hello", "world"]
|
189
|
+
end
|
190
|
+
|
191
|
+
get '/download/*.*' do
|
192
|
+
# 匹配 "GET /download/path/to/file.xml"
|
193
|
+
params['splat'] # => ["path/to/file", "xml"]
|
194
|
+
end
|
195
|
+
```
|
196
|
+
|
197
|
+
或者通过代码块参数访问:
|
198
|
+
|
199
|
+
```ruby
|
200
|
+
get '/download/*.*' do |path, ext|
|
201
|
+
[path, ext] # => ["path/to/file", "xml"]
|
202
|
+
end
|
203
|
+
```
|
204
|
+
|
205
|
+
通过正则表达式匹配路由:
|
206
|
+
|
207
|
+
```ruby
|
208
|
+
get /\A\/hello\/([\w]+)\z/ do
|
209
|
+
"Hello, #{params['captures'].first}!"
|
210
|
+
end
|
211
|
+
```
|
212
|
+
|
213
|
+
或者使用代码块参数:
|
214
|
+
|
215
|
+
```ruby
|
216
|
+
get %r{/hello/([\w]+)} do |c|
|
217
|
+
# 匹配 "GET /meta/hello/world"、"GET /hello/world/1234" 等
|
218
|
+
"Hello, #{c}!"
|
219
|
+
end
|
220
|
+
```
|
221
|
+
|
222
|
+
路由范式可以包含可选参数:
|
223
|
+
|
224
|
+
```ruby
|
225
|
+
get '/posts/:format?' do
|
226
|
+
# 匹配 "GET /posts/" 和任意扩展 "GET /posts/json"、"GET /posts/xml" 等
|
227
|
+
end
|
228
|
+
```
|
229
|
+
|
230
|
+
路由也可以使用查询参数:
|
231
|
+
|
232
|
+
```ruby
|
233
|
+
get '/posts' do
|
234
|
+
# 匹配 "GET /posts?title=foo&author=bar"
|
235
|
+
title = params['title']
|
236
|
+
author = params['author']
|
237
|
+
# 使用 title 和 author 变量;对于 /posts 路由来说,查询字符串是可选的
|
238
|
+
end
|
239
|
+
```
|
240
|
+
顺便一提,除非你禁用了路径遍历攻击防护(见下文),请求路径可能在匹配路由前发生改变。
|
241
|
+
|
242
|
+
### 条件
|
243
|
+
|
244
|
+
路由可以包含各种匹配条件,比如 user agent:
|
245
|
+
|
246
|
+
```ruby
|
247
|
+
get '/foo', :agent => /Songbird (\d\.\d)[\d\/]*?/ do
|
248
|
+
"你正在使用 Songbird,版本是 #{params['agent'][0]}"
|
249
|
+
end
|
250
|
+
|
251
|
+
get '/foo' do
|
252
|
+
# 匹配非 Songbird 浏览器
|
253
|
+
end
|
254
|
+
```
|
255
|
+
|
256
|
+
其它可以使用的条件有 `host_name` 和 `provides`:
|
257
|
+
|
258
|
+
```ruby
|
259
|
+
get '/', :host_name => /^admin\./ do
|
260
|
+
"管理员区域,无权进入!"
|
261
|
+
end
|
262
|
+
|
263
|
+
get '/', :provides => 'html' do
|
264
|
+
haml :index
|
265
|
+
end
|
266
|
+
|
267
|
+
get '/', :provides => ['rss', 'atom', 'xml'] do
|
268
|
+
builder :feed
|
269
|
+
end
|
270
|
+
```
|
271
|
+
|
272
|
+
`provides` 会搜索请求的 Accept 首部字段。
|
273
|
+
|
274
|
+
也可以轻易地使用自定义条件:
|
275
|
+
|
276
|
+
```ruby
|
277
|
+
set(:probability) { |value| condition { rand <= value } }
|
278
|
+
|
279
|
+
get '/win_a_car', :probability => 0.1 do
|
280
|
+
"You won!"
|
281
|
+
end
|
282
|
+
|
283
|
+
get '/win_a_car' do
|
284
|
+
"Sorry, you lost."
|
285
|
+
end
|
286
|
+
```
|
287
|
+
|
288
|
+
对于一个需要提供多个值的条件,可以使用 splat:
|
289
|
+
|
290
|
+
```ruby
|
291
|
+
set(:auth) do |*roles| # <- 注意此处使用了 splat
|
292
|
+
condition do
|
293
|
+
unless logged_in? && roles.any? {|role| current_user.in_role? role }
|
294
|
+
redirect "/login/", 303
|
295
|
+
end
|
296
|
+
end
|
297
|
+
end
|
298
|
+
|
299
|
+
get "/my/account/", :auth => [:user, :admin] do
|
300
|
+
"Your Account Details"
|
301
|
+
end
|
302
|
+
|
303
|
+
get "/only/admin/", :auth => :admin do
|
304
|
+
"Only admins are allowed here!"
|
305
|
+
end
|
306
|
+
```
|
307
|
+
|
308
|
+
### 返回值
|
309
|
+
|
310
|
+
路由代码块的返回值至少决定了返回给
|
311
|
+
HTTP 客户端的响应主体,或者至少决定了在
|
312
|
+
Rack 堆栈中的下一个中间件。大多数情况下,返回值是一个字符串,就像上面的例子中的一样。但是,其它类型的值也是可以接受的。
|
313
|
+
|
314
|
+
你可以返回任何对象,该对象要么是一个合理的 Rack 响应,要么是一个 Rack body 对象,要么是 HTTP 状态码:
|
315
|
+
|
316
|
+
* 一个包含三个元素的数组: `[状态 (Fixnum), 响应首部 (Hash), 响应主体 (可以响应 #each 方法)]`
|
317
|
+
* 一个包含两个元素的数组: `[状态 (Fixnum), 响应主体 (可以响应 #each 方法)]`
|
318
|
+
* 一个响应 `#each` 方法,只传回字符串的对象
|
319
|
+
* 一个代表状态码的数字
|
320
|
+
|
321
|
+
例如,我们可以轻松地实现流式传输:
|
322
|
+
|
323
|
+
```ruby
|
324
|
+
class Stream
|
325
|
+
def each
|
326
|
+
100.times { |i| yield "#{i}\n" }
|
327
|
+
end
|
328
|
+
end
|
329
|
+
|
330
|
+
get('/') { Stream.new }
|
331
|
+
```
|
332
|
+
|
333
|
+
也可以使用 `stream` 辅助方法(见下文描述)以减少样板代码并在路由中直接使用流式传输。
|
334
|
+
|
335
|
+
### 自定义路由匹配器
|
336
|
+
|
337
|
+
如上文所示,Sinatra
|
338
|
+
本身支持使用字符串和正则表达式作为路由匹配。但不限于此,你可以轻松地定义自己的匹配器:
|
339
|
+
|
340
|
+
```ruby
|
341
|
+
class AllButPattern
|
342
|
+
Match = Struct.new(:captures)
|
343
|
+
|
344
|
+
def initialize(except)
|
345
|
+
@except = except
|
346
|
+
@captures = Match.new([])
|
347
|
+
end
|
348
|
+
|
349
|
+
def match(str)
|
350
|
+
@captures unless @except === str
|
351
|
+
end
|
352
|
+
end
|
353
|
+
|
354
|
+
def all_but(pattern)
|
355
|
+
AllButPattern.new(pattern)
|
356
|
+
end
|
357
|
+
|
358
|
+
get all_but("/index") do
|
359
|
+
# ...
|
360
|
+
end
|
361
|
+
```
|
362
|
+
|
363
|
+
上面的例子可能太繁琐了, 因为它也可以用更简单的方式表述:
|
364
|
+
|
365
|
+
```ruby
|
366
|
+
get // do
|
367
|
+
pass if request.path_info == "/index"
|
368
|
+
# ...
|
369
|
+
end
|
370
|
+
```
|
371
|
+
|
372
|
+
或者,使用消极向前查找:
|
373
|
+
|
374
|
+
```ruby
|
375
|
+
get %r{^(?!/index$)} do
|
376
|
+
# ...
|
377
|
+
end
|
378
|
+
```
|
379
|
+
|
380
|
+
## 静态文件
|
381
|
+
|
382
|
+
静态文件从 `./public` 目录提供服务。可以通过设置`:public_folder` 选项设定一个不同的位置:
|
383
|
+
|
384
|
+
```ruby
|
385
|
+
set :public_folder, File.dirname(__FILE__) + '/static'
|
386
|
+
```
|
387
|
+
|
388
|
+
请注意 public 目录名并没有包含在 URL 中。文件 `./public/css/style.css` 可以通过
|
389
|
+
`http://example.com/css/style.css` 访问。
|
390
|
+
|
391
|
+
可以使用 `:static_cache_control` 设置(见下文)添加 `Cache-Control` 首部信息。
|
392
|
+
|
393
|
+
## 视图 / 模板
|
394
|
+
|
395
|
+
每一门模板语言都将自身的渲染方法暴露给
|
396
|
+
Sinatra 调用。这些渲染方法只是简单地返回字符串。
|
397
|
+
|
398
|
+
```ruby
|
399
|
+
get '/' do
|
400
|
+
erb :index
|
401
|
+
end
|
402
|
+
```
|
403
|
+
|
404
|
+
这段代码会渲染 `views/index.erb` 文件。
|
405
|
+
|
406
|
+
除了模板文件名,也可以直接传入模板内容:
|
407
|
+
|
408
|
+
```ruby
|
409
|
+
get '/' do
|
410
|
+
code = "<%= Time.now %>"
|
411
|
+
erb code
|
412
|
+
end
|
413
|
+
```
|
414
|
+
|
415
|
+
渲染方法接受第二个参数,即选项 hash:
|
416
|
+
|
417
|
+
```ruby
|
418
|
+
get '/' do
|
419
|
+
erb :index, :layout => :post
|
420
|
+
end
|
421
|
+
```
|
422
|
+
|
423
|
+
这段代码会将 `views/index.erb` 嵌入在 `views/post.erb`
|
424
|
+
布局中并一起渲染(`views/layout.erb` 是默认的布局,如果它存在的话)。
|
425
|
+
|
426
|
+
任何 Sinatra 不能理解的选项都会传递给模板引擎。
|
427
|
+
|
428
|
+
```ruby
|
429
|
+
get '/' do
|
430
|
+
haml :index, :format => :html5
|
431
|
+
end
|
432
|
+
```
|
433
|
+
|
434
|
+
也可以为每种模板语言设置通用的选项:
|
435
|
+
|
436
|
+
```ruby
|
437
|
+
set :haml, :format => :html5
|
438
|
+
|
439
|
+
get '/' do
|
440
|
+
haml :index
|
441
|
+
end
|
442
|
+
```
|
443
|
+
|
444
|
+
在渲染方法中传入的选项会覆盖通过 `set` 设置的通用选项。
|
445
|
+
|
446
|
+
可用的选项:
|
447
|
+
|
448
|
+
<dl>
|
449
|
+
<dt>locals</dt>
|
450
|
+
<dd>
|
451
|
+
传递给模板文档的 locals 对象列表。对于 partials
|
452
|
+
很方便。例如:<tt>erb "<%= foo %>", :locals => {:foo => "bar"}</tt>
|
453
|
+
</dd>
|
454
|
+
|
455
|
+
<dt>default_encoding</dt>
|
456
|
+
<dd>默认的字符编码。默认值为 <tt>settings.default_encoding</tt>。</dd>
|
457
|
+
|
458
|
+
<dt>views</dt>
|
459
|
+
<dd>存放模板文件的目录。默认为 <tt>settings.views</tt>。</dd>
|
460
|
+
|
461
|
+
<dt>layout</dt>
|
462
|
+
<dd>
|
463
|
+
是否使用布局 (<tt>true</tt> 或 <tt>false</tt>)。
|
464
|
+
如果使用一个符号类型的值,则是用于明确使用的模板。例如:
|
465
|
+
<tt>erb :index, :layout => !request.xhr?</tt>
|
466
|
+
</dd>
|
467
|
+
|
468
|
+
<dt>content_type</dt>
|
469
|
+
<dd>由模板生成的 Content-Type。默认值由模板语言决定。</dd>
|
470
|
+
|
471
|
+
<dt>scope</dt>
|
472
|
+
<dd>
|
473
|
+
渲染模板时的作用域。默认值为应用类的实例对象。如果更改此项,实例变量和辅助方法将不可用。
|
474
|
+
</dd>
|
475
|
+
|
476
|
+
<dt>layout_engine</dt>
|
477
|
+
<dd>
|
478
|
+
渲染布局所使用的模板引擎。用于不支持布局的模板语言。默认值为模板所使用的引擎。例如:
|
479
|
+
<tt>set :rdoc, :layout_engine => :erb</tt>
|
480
|
+
</dd>
|
481
|
+
|
482
|
+
<dt>layout_options</dt>
|
483
|
+
<dd>
|
484
|
+
渲染布局的特殊选项。例如:
|
485
|
+
<tt>set :rdoc, :layout_options => { :views => 'views/layouts' }</tt>
|
486
|
+
</dd>
|
487
|
+
</dl>
|
488
|
+
|
489
|
+
Sinatra 假定模板文件直接位于 `./views` 目录。要使用不同的视图目录:
|
490
|
+
|
491
|
+
```ruby
|
492
|
+
set :views, settings.root + '/templates'
|
493
|
+
```
|
494
|
+
|
495
|
+
|
496
|
+
需要牢记的一点是,你必须通过符号引用模板, 即使它们存放在子目录下
|
497
|
+
(在这种情况下,使用 `:'subdir/template'` 或 `'subdir/template'.to_sym`)。
|
498
|
+
如果你不使用符号,渲染方法会直接渲染你传入的任何字符串。
|
499
|
+
|
500
|
+
### 字面量模板
|
501
|
+
|
502
|
+
```ruby
|
503
|
+
get '/' do
|
504
|
+
haml '%div.title Hello World'
|
505
|
+
end
|
506
|
+
```
|
507
|
+
|
508
|
+
这段代码直接渲染模板字符串。
|
509
|
+
|
510
|
+
### 可选的模板语言
|
511
|
+
|
512
|
+
一些语言有多种实现。为了确定使用哪种实现(以及保证线程安全),你应该首先引入该实现:
|
513
|
+
|
514
|
+
```ruby
|
515
|
+
require 'rdiscount' # 或 require 'bluecloth'
|
516
|
+
get('/') { markdown :index }
|
517
|
+
```
|
518
|
+
|
519
|
+
#### Haml 模板
|
520
|
+
|
521
|
+
<table>
|
522
|
+
<tr>
|
523
|
+
<td>依赖项</td>
|
524
|
+
<td><a href="http://haml.info/" title="haml">haml</a></td>
|
525
|
+
</tr>
|
526
|
+
<tr>
|
527
|
+
<td>文件扩展名</td>
|
528
|
+
<td><tt>.haml</tt></td>
|
529
|
+
</tr>
|
530
|
+
<tr>
|
531
|
+
<td>例子</td>
|
532
|
+
<td><tt>haml :index, :format => :html5</tt></td>
|
533
|
+
</tr>
|
534
|
+
</table>
|
535
|
+
|
536
|
+
#### Erb 模板
|
537
|
+
|
538
|
+
<table>
|
539
|
+
<tr>
|
540
|
+
<td>依赖项</td>
|
541
|
+
<td>
|
542
|
+
<a href="http://www.kuwata-lab.com/erubis/" title="erubis">erubis</a>
|
543
|
+
或 erb (Ruby 标准库中已经包含)
|
544
|
+
</td>
|
545
|
+
</tr>
|
546
|
+
<tr>
|
547
|
+
<td>文件扩展名</td>
|
548
|
+
<td><tt>.erb</tt>, <tt>.rhtml</tt> or <tt>.erubis</tt> (仅用于 Erubis)</td>
|
549
|
+
</tr>
|
550
|
+
<tr>
|
551
|
+
<td>例子</td>
|
552
|
+
<td><tt>erb :index</tt></td>
|
553
|
+
</tr>
|
554
|
+
</table>
|
555
|
+
|
556
|
+
#### Builder 模板
|
557
|
+
|
558
|
+
<table>
|
559
|
+
<tr>
|
560
|
+
<td>依赖项</td>
|
561
|
+
<td>
|
562
|
+
<a href="https://github.com/jimweirich/builder" title="builder">builder</a>
|
563
|
+
</td>
|
564
|
+
</tr>
|
565
|
+
<tr>
|
566
|
+
<td>文件扩展名</td>
|
567
|
+
<td><tt>.builder</tt></td>
|
568
|
+
</tr>
|
569
|
+
<tr>
|
570
|
+
<td>例子</td>
|
571
|
+
<td><tt>builder { |xml| xml.em "hi" }</tt></td>
|
572
|
+
</tr>
|
573
|
+
</table>
|
574
|
+
|
575
|
+
`builder` 渲染方法也接受一个代码块,用于内联模板(见例子)。
|
576
|
+
|
577
|
+
#### Nokogiri 模板
|
578
|
+
|
579
|
+
<table>
|
580
|
+
<tr>
|
581
|
+
<td>依赖项</td>
|
582
|
+
<td><a href="http://www.nokogiri.org/" title="nokogiri">nokogiri</a></td>
|
583
|
+
</tr>
|
584
|
+
<tr>
|
585
|
+
<td>文件扩展名</td>
|
586
|
+
<td><tt>.nokogiri</tt></td>
|
587
|
+
</tr>
|
588
|
+
<tr>
|
589
|
+
<td>例子</td>
|
590
|
+
<td><tt>nokogiri { |xml| xml.em "hi" }</tt></td>
|
591
|
+
</tr>
|
592
|
+
</table>
|
593
|
+
|
594
|
+
`nokogiri` 渲染方法也接受一个代码块,用于内联模板(见例子)。
|
595
|
+
|
596
|
+
#### Sass 模板
|
597
|
+
|
598
|
+
<table>
|
599
|
+
<tr>
|
600
|
+
<td>依赖项</td>
|
601
|
+
<td><a href="http://sass-lang.com/" title="sass">sass</a></td>
|
602
|
+
</tr>
|
603
|
+
<tr>
|
604
|
+
<td>文件扩展名</td>
|
605
|
+
<td><tt>.sass</tt></td>
|
606
|
+
</tr>
|
607
|
+
<tr>
|
608
|
+
<td>例子</td>
|
609
|
+
<td><tt>sass :stylesheet, :style => :expanded</tt></td>
|
610
|
+
</tr>
|
611
|
+
</table>
|
612
|
+
|
613
|
+
#### SCSS 模板
|
614
|
+
|
615
|
+
<table>
|
616
|
+
<tr>
|
617
|
+
<td>依赖项</td>
|
618
|
+
<td><a href="http://sass-lang.com/" title="sass">sass</a></td>
|
619
|
+
</tr>
|
620
|
+
<tr>
|
621
|
+
<td>文件扩展名</td>
|
622
|
+
<td><tt>.scss</tt></td>
|
623
|
+
</tr>
|
624
|
+
<tr>
|
625
|
+
<td>例子</td>
|
626
|
+
<td><tt>scss :stylesheet, :style => :expanded</tt></td>
|
627
|
+
</tr>
|
628
|
+
</table>
|
629
|
+
|
630
|
+
#### Less 模板
|
631
|
+
|
632
|
+
<table>
|
633
|
+
<tr>
|
634
|
+
<td>依赖项</td>
|
635
|
+
<td><a href="http://lesscss.org/" title="less">less</a></td>
|
636
|
+
</tr>
|
637
|
+
<tr>
|
638
|
+
<td>文件扩展名</td>
|
639
|
+
<td><tt>.less</tt></td>
|
640
|
+
</tr>
|
641
|
+
<tr>
|
642
|
+
<td>例子</td>
|
643
|
+
<td><tt>less :stylesheet</tt></td>
|
644
|
+
</tr>
|
645
|
+
</table>
|
646
|
+
|
647
|
+
#### Liquid 模板
|
648
|
+
|
649
|
+
<table>
|
650
|
+
<tr>
|
651
|
+
<td>依赖项</td>
|
652
|
+
<td><a href="http://liquidmarkup.org/" title="liquid">liquid</a></td>
|
653
|
+
</tr>
|
654
|
+
<tr>
|
655
|
+
<td>文件扩展名</td>
|
656
|
+
<td><tt>.liquid</tt></td>
|
657
|
+
</tr>
|
658
|
+
<tr>
|
659
|
+
<td>例子</td>
|
660
|
+
<td><tt>liquid :index, :locals => { :key => 'value' }</tt></td>
|
661
|
+
</tr>
|
662
|
+
</table>
|
663
|
+
|
664
|
+
因为不能在 Liquid 模板中调用 Ruby 方法(除了 `yield`),你几乎总是需要传递 locals 对象给它。
|
665
|
+
|
666
|
+
#### Markdown 模板
|
667
|
+
|
668
|
+
<table>
|
669
|
+
<tr>
|
670
|
+
<td>依赖项</td>
|
671
|
+
<td>
|
672
|
+
下列任一:
|
673
|
+
<a href="https://github.com/davidfstr/rdiscount" title="RDiscount">RDiscount</a>,
|
674
|
+
<a href="https://github.com/vmg/redcarpet" title="RedCarpet">RedCarpet</a>,
|
675
|
+
<a href="http://deveiate.org/projects/BlueCloth" title="BlueCloth">BlueCloth</a>,
|
676
|
+
<a href="http://kramdown.gettalong.org/" title="kramdown">kramdown</a>,
|
677
|
+
<a href="https://github.com/bhollis/maruku" title="maruku">maruku</a>
|
678
|
+
</td>
|
679
|
+
</tr>
|
680
|
+
<tr>
|
681
|
+
<td>文件扩展名</td>
|
682
|
+
<td><tt>.markdown</tt>, <tt>.mkd</tt> and <tt>.md</tt></td>
|
683
|
+
</tr>
|
684
|
+
<tr>
|
685
|
+
<td>例子</td>
|
686
|
+
<td><tt>markdown :index, :layout_engine => :erb</tt></td>
|
687
|
+
</tr>
|
688
|
+
</table>
|
689
|
+
|
690
|
+
不能在 markdown 中调用 Ruby 方法,也不能传递 locals 给它。
|
691
|
+
因此,你一般会结合其它的渲染引擎来使用它:
|
692
|
+
|
693
|
+
```ruby
|
694
|
+
erb :overview, :locals => { :text => markdown(:introduction) }
|
695
|
+
```
|
696
|
+
|
697
|
+
请注意你也可以在其它模板中调用 markdown 方法:
|
698
|
+
|
699
|
+
```ruby
|
700
|
+
%h1 Hello From Haml!
|
701
|
+
%p= markdown(:greetings)
|
702
|
+
```
|
703
|
+
|
704
|
+
因为不能在 Markdown 中使用 Ruby 语言,你不能使用 Markdown 书写的布局。
|
705
|
+
不过,使用其它渲染引擎作为模板的布局是可能的,这需要通过传入 `:layout_engine` 选项。
|
706
|
+
|
707
|
+
#### Textile 模板
|
708
|
+
|
709
|
+
<table>
|
710
|
+
<tr>
|
711
|
+
<td>依赖项</td>
|
712
|
+
<td><a href="http://redcloth.org/" title="RedCloth">RedCloth</a></td>
|
713
|
+
</tr>
|
714
|
+
<tr>
|
715
|
+
<td>文件扩展名</td>
|
716
|
+
<td><tt>.textile</tt></td>
|
717
|
+
</tr>
|
718
|
+
<tr>
|
719
|
+
<td>例子</td>
|
720
|
+
<td><tt>textile :index, :layout_engine => :erb</tt></td>
|
721
|
+
</tr>
|
722
|
+
</table>
|
723
|
+
|
724
|
+
不能在 textile 中调用 Ruby 方法,也不能传递 locals 给它。
|
725
|
+
因此,你一般会结合其它的渲染引擎来使用它:
|
726
|
+
|
727
|
+
```ruby
|
728
|
+
erb :overview, :locals => { :text => textile(:introduction) }
|
729
|
+
```
|
730
|
+
|
731
|
+
请注意你也可以在其他模板中调用 `textile` 方法:
|
732
|
+
|
733
|
+
```ruby
|
734
|
+
%h1 Hello From Haml!
|
735
|
+
%p= textile(:greetings)
|
736
|
+
```
|
737
|
+
|
738
|
+
因为不能在 Textile 中调用 Ruby 方法,你不能用 Textile 书写布局。
|
739
|
+
不过,使用其它渲染引擎作为模版的布局是可能的,这需要通过传递 `:layout_engine` 选项。
|
740
|
+
|
741
|
+
#### RDoc 模板
|
742
|
+
|
743
|
+
<table>
|
744
|
+
<tr>
|
745
|
+
<td>依赖项</td>
|
746
|
+
<td><a href="http://rdoc.sourceforge.net/" title="RDoc">RDoc</a></td>
|
747
|
+
</tr>
|
748
|
+
<tr>
|
749
|
+
<td>文件扩展名</td>
|
750
|
+
<td><tt>.rdoc</tt></td>
|
751
|
+
</tr>
|
752
|
+
<tr>
|
753
|
+
<td>例子</td>
|
754
|
+
<td><tt>rdoc :README, :layout_engine => :erb</tt></td>
|
755
|
+
</tr>
|
756
|
+
</table>
|
757
|
+
|
758
|
+
不能在 rdoc 中调用 Ruby 方法,也不能传递 locals 给它。
|
759
|
+
因此,你一般会结合其它的渲染引擎来使用它:
|
760
|
+
|
761
|
+
```ruby
|
762
|
+
erb :overview, :locals => { :text => rdoc(:introduction) }
|
763
|
+
```
|
764
|
+
|
765
|
+
请注意你也可以在其他模板中调用 `rdoc` 方法:
|
766
|
+
|
767
|
+
```ruby
|
768
|
+
%h1 Hello From Haml!
|
769
|
+
%p= rdoc(:greetings)
|
770
|
+
```
|
771
|
+
|
772
|
+
因为不能在 RDoc 中调用 Ruby 方法,你不能用 RDoc 书写布局。
|
773
|
+
不过,使用其它渲染引擎作为模版的布局是可能的,这需要通过传递 `:layout_engine` 选项。
|
774
|
+
|
775
|
+
#### AsciiDoc 模板
|
776
|
+
|
777
|
+
<table>
|
778
|
+
<tr>
|
779
|
+
<td>依赖项</td>
|
780
|
+
<td><a href="http://asciidoctor.org/" title="Asciidoctor">Asciidoctor</a></td>
|
781
|
+
</tr>
|
782
|
+
<tr>
|
783
|
+
<td>文件扩展名</td>
|
784
|
+
<td><tt>.asciidoc</tt>, <tt>.adoc</tt> and <tt>.ad</tt></td>
|
785
|
+
</tr>
|
786
|
+
<tr>
|
787
|
+
<td>例子</td>
|
788
|
+
<td><tt>asciidoc :README, :layout_engine => :erb</tt></td>
|
789
|
+
</tr>
|
790
|
+
</table>
|
791
|
+
|
792
|
+
因为不能在 AsciiDoc 模板中直接调用 Ruby 方法,你几乎总是需要传递 locals 对象给它。
|
793
|
+
|
794
|
+
#### Radius 模板
|
795
|
+
|
796
|
+
<table>
|
797
|
+
<tr>
|
798
|
+
<td>依赖项</td>
|
799
|
+
<td><a href="https://github.com/jlong/radius" title="Radius">Radius</a></td>
|
800
|
+
</tr>
|
801
|
+
<tr>
|
802
|
+
<td>文件扩展名</td>
|
803
|
+
<td><tt>.radius</tt></td>
|
804
|
+
</tr>
|
805
|
+
<tr>
|
806
|
+
<td>例子</td>
|
807
|
+
<td><tt>radius :index, :locals => { :key => 'value' }</tt></td>
|
808
|
+
</tr>
|
809
|
+
</table>
|
810
|
+
|
811
|
+
因为不能在 Radius 模板中直接调用 Ruby 方法,你几乎总是可以传递 locals 对象给它。
|
812
|
+
|
813
|
+
#### Markaby 模板
|
814
|
+
|
815
|
+
<table>
|
816
|
+
<tr>
|
817
|
+
<td>依赖项</td>
|
818
|
+
<td><a href="http://markaby.github.io/" title="Markaby">Markaby</a></td>
|
819
|
+
</tr>
|
820
|
+
<tr>
|
821
|
+
<td>文件扩展名</td>
|
822
|
+
<td><tt>.mab</tt></td>
|
823
|
+
</tr>
|
824
|
+
<tr>
|
825
|
+
<td>例子</td>
|
826
|
+
<td><tt>markaby { h1 "Welcome!" }</tt></td>
|
827
|
+
</tr>
|
828
|
+
</table>
|
829
|
+
|
830
|
+
`markaby` 渲染方法也接受一个代码块,用于内联模板(见例子)。
|
831
|
+
|
832
|
+
#### RABL 模板
|
833
|
+
|
834
|
+
<table>
|
835
|
+
<tr>
|
836
|
+
<td>依赖项</td>
|
837
|
+
<td><a href="https://github.com/nesquena/rabl" title="Rabl">Rabl</a></td>
|
838
|
+
</tr>
|
839
|
+
<tr>
|
840
|
+
<td>文件扩展名</td>
|
841
|
+
<td><tt>.rabl</tt></td>
|
842
|
+
</tr>
|
843
|
+
<tr>
|
844
|
+
<td>例子</td>
|
845
|
+
<td><tt>rabl :index</tt></td>
|
846
|
+
</tr>
|
847
|
+
</table>
|
848
|
+
|
849
|
+
#### Slim 模板
|
850
|
+
|
851
|
+
<table>
|
852
|
+
<tr>
|
853
|
+
<td>依赖项</td>
|
854
|
+
<td><a href="http://slim-lang.com/" title="Slim Lang">Slim Lang</a></td>
|
855
|
+
</tr>
|
856
|
+
<tr>
|
857
|
+
<td>文件扩展名</td>
|
858
|
+
<td><tt>.slim</tt></td>
|
859
|
+
</tr>
|
860
|
+
<tr>
|
861
|
+
<td>例子</td>
|
862
|
+
<td><tt>slim :index</tt></td>
|
863
|
+
</tr>
|
864
|
+
</table>
|
865
|
+
|
866
|
+
#### Creole 模板
|
867
|
+
|
868
|
+
<table>
|
869
|
+
<tr>
|
870
|
+
<td>依赖项</td>
|
871
|
+
<td><a href="https://github.com/minad/creole" title="Creole">Creole</a></td>
|
872
|
+
</tr>
|
873
|
+
<tr>
|
874
|
+
<td>文件扩展名</td>
|
875
|
+
<td><tt>.creole</tt></td>
|
876
|
+
</tr>
|
877
|
+
<tr>
|
878
|
+
<td>例子</td>
|
879
|
+
<td><tt>creole :wiki, :layout_engine => :erb</tt></td>
|
880
|
+
</tr>
|
881
|
+
</table>
|
882
|
+
|
883
|
+
不能在 creole 中调用 Ruby 方法,也不能传递 locals 对象给它。
|
884
|
+
因此你一般会结合其它的渲染引擎来使用它:
|
885
|
+
|
886
|
+
```ruby
|
887
|
+
erb :overview, :locals => { :text => creole(:introduction) }
|
888
|
+
```
|
889
|
+
|
890
|
+
注意你也可以在其它模板内调用 `creole` 方法:
|
891
|
+
|
892
|
+
```ruby
|
893
|
+
%h1 Hello From Haml!
|
894
|
+
%p= creole(:greetings)
|
895
|
+
```
|
896
|
+
|
897
|
+
因为不能在 Creole 模板文件内调用 Ruby 方法,你不能用 Creole 书写布局文件。
|
898
|
+
然而,使用其它渲染引擎作为模版的布局是可能的,这需要通过传递 `:layout_engine` 选项。
|
899
|
+
|
900
|
+
#### MediaWiki 模板
|
901
|
+
|
902
|
+
<table>
|
903
|
+
<tr>
|
904
|
+
<td>依赖项</td>
|
905
|
+
<td><a href="https://github.com/nricciar/wikicloth" title="WikiCloth">WikiCloth</a></td>
|
906
|
+
</tr>
|
907
|
+
<tr>
|
908
|
+
<td>文件扩展名</td>
|
909
|
+
<td><tt>.mediawiki</tt> and <tt>.mw</tt></td>
|
910
|
+
</tr>
|
911
|
+
<tr>
|
912
|
+
<td>例子</td>
|
913
|
+
<td><tt>mediawiki :wiki, :layout_engine => :erb</tt></td>
|
914
|
+
</tr>
|
915
|
+
</table>
|
916
|
+
|
917
|
+
在 MediaWiki 标记文件内不能调用 Ruby 方法,也不能传递 locals 对象给它。
|
918
|
+
因此你一般会结合其它的渲染引擎来使用它:
|
919
|
+
|
920
|
+
```ruby
|
921
|
+
erb :overview, :locals => { :text => mediawiki(:introduction) }
|
922
|
+
```
|
923
|
+
|
924
|
+
注意你也可以在其它模板内调用 `mediawiki` 方法:
|
925
|
+
|
926
|
+
```ruby
|
927
|
+
%h1 Hello From Haml!
|
928
|
+
%p= mediawiki(:greetings)
|
929
|
+
```
|
930
|
+
|
931
|
+
因为不能在 MediaWiki 文件内调用 Ruby 方法,你不能用 MediaWiki 书写布局文件。
|
932
|
+
然而,使用其它渲染引擎作为模版的布局是可能的,这需要通过传递 `:layout_engine` 选项。
|
933
|
+
|
934
|
+
#### CoffeeScript 模板
|
935
|
+
|
936
|
+
<table>
|
937
|
+
<tr>
|
938
|
+
<td>依赖项</td>
|
939
|
+
<td>
|
940
|
+
<a href="https://github.com/josh/ruby-coffee-script" title="Ruby CoffeeScript">
|
941
|
+
CoffeeScript
|
942
|
+
</a> 以及一种
|
943
|
+
<a href="https://github.com/sstephenson/execjs/blob/master/README.md#readme" title="ExecJS">
|
944
|
+
执行 JavaScript 的方式
|
945
|
+
</a>
|
946
|
+
</td>
|
947
|
+
</tr>
|
948
|
+
<tr>
|
949
|
+
<td>文件扩展名</td>
|
950
|
+
<td><tt>.coffee</tt></td>
|
951
|
+
</tr>
|
952
|
+
<tr>
|
953
|
+
<td>例子</td>
|
954
|
+
<td><tt>coffee :index</tt></td>
|
955
|
+
</tr>
|
956
|
+
</table>
|
957
|
+
|
958
|
+
#### Stylus 模板
|
959
|
+
|
960
|
+
<table>
|
961
|
+
<tr>
|
962
|
+
<td>依赖项</td>
|
963
|
+
<td>
|
964
|
+
<a href="https://github.com/forgecrafted/ruby-stylus" title="Ruby Stylus">
|
965
|
+
Stylus
|
966
|
+
</a> 以及一种
|
967
|
+
<a href="https://github.com/sstephenson/execjs/blob/master/README.md#readme" title="ExecJS">
|
968
|
+
执行 JavaScript 的方式
|
969
|
+
</a>
|
970
|
+
</td>
|
971
|
+
</tr>
|
972
|
+
<tr>
|
973
|
+
<td>文件扩展名</td>
|
974
|
+
<td><tt>.styl</tt></td>
|
975
|
+
</tr>
|
976
|
+
<tr>
|
977
|
+
<td>例子</td>
|
978
|
+
<td><tt>stylus :index</tt></td>
|
979
|
+
</tr>
|
980
|
+
</table>
|
981
|
+
|
982
|
+
在使用 Stylus 模板之前,你需要先加载 `stylus` 和 `stylus/tilt`:
|
983
|
+
|
984
|
+
```ruby
|
985
|
+
require 'sinatra'
|
986
|
+
require 'stylus'
|
987
|
+
require 'stylus/tilt'
|
988
|
+
|
989
|
+
get '/' do
|
990
|
+
stylus :example
|
991
|
+
end
|
992
|
+
```
|
993
|
+
|
994
|
+
#### Yajl 模板
|
995
|
+
|
996
|
+
<table>
|
997
|
+
<tr>
|
998
|
+
<td>依赖项</td>
|
999
|
+
<td><a href="https://github.com/brianmario/yajl-ruby" title="yajl-ruby">yajl-ruby</a></td>
|
1000
|
+
</tr>
|
1001
|
+
<tr>
|
1002
|
+
<td>文件扩展名</td>
|
1003
|
+
<td><tt>.yajl</tt></td>
|
1004
|
+
</tr>
|
1005
|
+
<tr>
|
1006
|
+
<td>例子</td>
|
1007
|
+
<td>
|
1008
|
+
<tt>
|
1009
|
+
yajl :index,
|
1010
|
+
:locals => { :key => 'qux' },
|
1011
|
+
:callback => 'present',
|
1012
|
+
:variable => 'resource'
|
1013
|
+
</tt>
|
1014
|
+
</td>
|
1015
|
+
</tr>
|
1016
|
+
</table>
|
1017
|
+
|
1018
|
+
模板文件的源码作为一个 Ruby 字符串被求值,得到的 json 变量是通过 `#to_json` 方法转换的:
|
1019
|
+
|
1020
|
+
```ruby
|
1021
|
+
json = { :foo => 'bar' }
|
1022
|
+
json[:baz] = key
|
1023
|
+
```
|
1024
|
+
|
1025
|
+
可以使用 `:callback` 和 `:variable` 选项装饰被渲染的对象:
|
1026
|
+
|
1027
|
+
```javascript
|
1028
|
+
var resource = {"foo":"bar","baz":"qux"};
|
1029
|
+
present(resource);
|
1030
|
+
```
|
1031
|
+
|
1032
|
+
#### WLang 模板
|
1033
|
+
|
1034
|
+
<table>
|
1035
|
+
<tr>
|
1036
|
+
<td>依赖项</td>
|
1037
|
+
<td><a href="https://github.com/blambeau/wlang/" title="WLang">WLang</a></td>
|
1038
|
+
</tr>
|
1039
|
+
<tr>
|
1040
|
+
<td>文件扩展名</td>
|
1041
|
+
<td><tt>.wlang</tt></td>
|
1042
|
+
</tr>
|
1043
|
+
<tr>
|
1044
|
+
<td>例子</td>
|
1045
|
+
<td><tt>wlang :index, :locals => { :key => 'value' }</tt></td>
|
1046
|
+
</tr>
|
1047
|
+
</table>
|
1048
|
+
|
1049
|
+
因为在 WLang 中调用 Ruby 方法不符合语言习惯,你几乎总是需要传递 locals 给 WLang 木板。
|
1050
|
+
然而,可以用 WLang 编写布局文件,也可以在 WLang 中使用 `yield` 方法。
|
1051
|
+
|
1052
|
+
### 在模板中访问变量
|
1053
|
+
|
1054
|
+
模板的求值发生在路由处理器内部的上下文中。模板可以直接访问路由处理器中设置的实例变量。
|
1055
|
+
|
1056
|
+
```ruby
|
1057
|
+
get '/:id' do
|
1058
|
+
@foo = Foo.find(params['id'])
|
1059
|
+
haml '%h1= @foo.name'
|
1060
|
+
end
|
1061
|
+
```
|
1062
|
+
|
1063
|
+
或者,也可以显式地指定一个由局部变量组成的 locals 哈希:
|
1064
|
+
|
1065
|
+
```ruby
|
1066
|
+
get '/:id' do
|
1067
|
+
foo = Foo.find(params['id'])
|
1068
|
+
haml '%h1= foo.name', :locals => { :foo => foo }
|
1069
|
+
end
|
1070
|
+
```
|
1071
|
+
|
1072
|
+
locals 哈希典型的使用情景是在别的模板中渲染 partials。
|
1073
|
+
|
1074
|
+
### 带 `yield` 的模板和嵌套布局
|
1075
|
+
|
1076
|
+
布局通常就是使用了 `yield` 方法的模板。
|
1077
|
+
这样的布局文件可以通过上面描述的 `:template` 选项指定,也可以通过下面的代码块渲染:
|
1078
|
+
|
1079
|
+
```ruby
|
1080
|
+
erb :post, :layout => false do
|
1081
|
+
erb :index
|
1082
|
+
end
|
1083
|
+
```
|
1084
|
+
|
1085
|
+
这段代码几乎完全等同于 `erb :index, :layout => :post`。
|
1086
|
+
|
1087
|
+
向渲染方法传递代码块对于创建嵌套布局是最有用的:
|
1088
|
+
|
1089
|
+
```ruby
|
1090
|
+
erb :main_layout, :layout => false do
|
1091
|
+
erb :admin_layout do
|
1092
|
+
erb :user
|
1093
|
+
end
|
1094
|
+
end
|
1095
|
+
```
|
1096
|
+
|
1097
|
+
代码行数可以更少:
|
1098
|
+
|
1099
|
+
```ruby
|
1100
|
+
erb :admin_layout, :layout => :main_layout do
|
1101
|
+
erb :user
|
1102
|
+
end
|
1103
|
+
```
|
1104
|
+
|
1105
|
+
当前,以下的渲染方法接受一个代码块:`erb`、`haml`、`liquid`、`slim ` 和 `wlang`。
|
1106
|
+
通用的 `render` 方法也接受。
|
1107
|
+
|
1108
|
+
### 内联模板
|
1109
|
+
|
1110
|
+
模板可以在源文件的末尾定义:
|
1111
|
+
|
1112
|
+
```ruby
|
1113
|
+
require 'sinatra'
|
1114
|
+
|
1115
|
+
get '/' do
|
1116
|
+
haml :index
|
1117
|
+
end
|
1118
|
+
|
1119
|
+
__END__
|
1120
|
+
|
1121
|
+
@@ layout
|
1122
|
+
%html
|
1123
|
+
= yield
|
1124
|
+
|
1125
|
+
@@ index
|
1126
|
+
%div.title Hello world.
|
1127
|
+
```
|
1128
|
+
|
1129
|
+
注意:在引入了 sinatra 的源文件中定义的内联模板会自动载入。
|
1130
|
+
如果你在其他源文件中也有内联模板,需要显式调用 `enable :inline_templates`。
|
1131
|
+
|
1132
|
+
### 具名模板
|
1133
|
+
|
1134
|
+
可以使用顶层 `template` 方法定义模板:
|
1135
|
+
|
1136
|
+
```ruby
|
1137
|
+
template :layout do
|
1138
|
+
"%html\n =yield\n"
|
1139
|
+
end
|
1140
|
+
|
1141
|
+
template :index do
|
1142
|
+
'%div.title Hello World!'
|
1143
|
+
end
|
1144
|
+
|
1145
|
+
get '/' do
|
1146
|
+
haml :index
|
1147
|
+
end
|
1148
|
+
```
|
1149
|
+
|
1150
|
+
如果存在名为 “layout” 的模板,该模板会在每个模板渲染的时候作为布局使用。
|
1151
|
+
你可以为渲染方法传送 `:layout => false` 来禁用该次渲染的布局,
|
1152
|
+
也可以设置 `set :haml, :layout => false` 来默认禁用布局。
|
1153
|
+
|
1154
|
+
```ruby
|
1155
|
+
get '/' do
|
1156
|
+
haml :index, :layout => !request.xhr?
|
1157
|
+
end
|
1158
|
+
```
|
1159
|
+
|
1160
|
+
### 关联文件扩展名
|
1161
|
+
|
1162
|
+
为了将一个文件扩展名到对应的模版引擎,要使用 `Tilt.register`。
|
1163
|
+
比如,如果你喜欢使用 `tt` 作为 Textile 模版的扩展名,你可以这样做:
|
1164
|
+
|
1165
|
+
```ruby
|
1166
|
+
Tilt.register :tt, Tilt[:textile]
|
1167
|
+
```
|
1168
|
+
|
1169
|
+
### 添加自定义模板引擎
|
1170
|
+
|
1171
|
+
首先,通过 Tilt 注册你自定义的引擎,然后创建一个渲染方法:
|
1172
|
+
|
1173
|
+
```ruby
|
1174
|
+
Tilt.register :myat, MyAwesomeTemplateEngine
|
1175
|
+
|
1176
|
+
helpers do
|
1177
|
+
def myat(*args) render(:myat, *args) end
|
1178
|
+
end
|
1179
|
+
|
1180
|
+
get '/' do
|
1181
|
+
myat :index
|
1182
|
+
end
|
1183
|
+
```
|
1184
|
+
|
1185
|
+
这段代码将会渲染 `./views/index.myat` 文件。
|
1186
|
+
查看 https://github.com/rtomayko/tilt 以了解更多关于 Tilt 的信息。
|
1187
|
+
|
1188
|
+
### 自定义模板查找逻辑
|
1189
|
+
|
1190
|
+
要实现自定义的模板查找机制,你可以构建自己的 `#find_template` 方法:
|
1191
|
+
|
1192
|
+
```ruby
|
1193
|
+
configure do
|
1194
|
+
set :views, [ './views/a', './views/b' ]
|
1195
|
+
end
|
1196
|
+
|
1197
|
+
def find_template(views, name, engine, &block)
|
1198
|
+
Array(views).each do |v|
|
1199
|
+
super(v, name, engine, &block)
|
1200
|
+
end
|
1201
|
+
end
|
1202
|
+
```
|
1203
|
+
|
1204
|
+
## 过滤器
|
1205
|
+
|
1206
|
+
`before` 过滤器在每个请求之前调用,调用的上下文与请求的上下文相同,并且可以修改请求和响应。
|
1207
|
+
在过滤器中设置的变量可以被路由和模板访问:
|
1208
|
+
|
1209
|
+
```ruby
|
1210
|
+
before do
|
1211
|
+
@note = 'Hi!'
|
1212
|
+
request.path_info = '/foo/bar/baz'
|
1213
|
+
end
|
1214
|
+
|
1215
|
+
get '/foo/*' do
|
1216
|
+
@note #=> 'Hi!'
|
1217
|
+
params['splat'] #=> 'bar/baz'
|
1218
|
+
end
|
1219
|
+
```
|
1220
|
+
|
1221
|
+
`after` 过滤器在每个请求之后调用,调用上下文与请求的上下文相同,并且也会修改请求和响应。
|
1222
|
+
在 `before` 过滤器和路由中设置的实例变量可以被 `after` 过滤器访问:
|
1223
|
+
|
1224
|
+
```ruby
|
1225
|
+
after do
|
1226
|
+
puts response.status
|
1227
|
+
end
|
1228
|
+
```
|
1229
|
+
|
1230
|
+
请注意:除非你显式使用 `body` 方法,而不是在路由中直接返回字符串,
|
1231
|
+
响应主体在 `after` 过滤器是不可访问的, 因为它在之后才会生成。
|
1232
|
+
|
1233
|
+
过滤器可以可选地带有范式, 只有请求路径满足该范式时才会执行:
|
1234
|
+
|
1235
|
+
```ruby
|
1236
|
+
before '/protected/*' do
|
1237
|
+
authenticate!
|
1238
|
+
end
|
1239
|
+
|
1240
|
+
after '/create/:slug' do |slug|
|
1241
|
+
session['last_slug'] = slug
|
1242
|
+
end
|
1243
|
+
```
|
1244
|
+
|
1245
|
+
和路由一样,过滤器也可以带有条件:
|
1246
|
+
|
1247
|
+
```ruby
|
1248
|
+
before :agent => /Songbird/ do
|
1249
|
+
# ...
|
1250
|
+
end
|
1251
|
+
|
1252
|
+
after '/blog/*', :host_name => 'example.com' do
|
1253
|
+
# ...
|
1254
|
+
end
|
1255
|
+
```
|
1256
|
+
|
1257
|
+
## 辅助方法
|
1258
|
+
|
1259
|
+
使用顶层的 `helpers` 方法来定义辅助方法, 以便在路由处理器和模板中使用:
|
1260
|
+
|
1261
|
+
```ruby
|
1262
|
+
helpers do
|
1263
|
+
def bar(name)
|
1264
|
+
"#{name}bar"
|
1265
|
+
end
|
1266
|
+
end
|
1267
|
+
|
1268
|
+
get '/:name' do
|
1269
|
+
bar(params['name'])
|
1270
|
+
end
|
1271
|
+
```
|
1272
|
+
|
1273
|
+
也可以在多个分散的模块中定义辅助方法:
|
1274
|
+
|
1275
|
+
```ruby
|
1276
|
+
module FooUtils
|
1277
|
+
def foo(name) "#{name}foo" end
|
1278
|
+
end
|
1279
|
+
|
1280
|
+
module BarUtils
|
1281
|
+
def bar(name) "#{name}bar" end
|
1282
|
+
end
|
1283
|
+
|
1284
|
+
helpers FooUtils, BarUtils
|
1285
|
+
```
|
1286
|
+
|
1287
|
+
以上代码块与在应用类中包含模块等效。
|
1288
|
+
|
1289
|
+
### 使用会话
|
1290
|
+
|
1291
|
+
会话用于在请求之间保持状态。如果激活了会话,每一个用户会话都对应一个会话 hash:
|
1292
|
+
|
1293
|
+
```ruby
|
1294
|
+
enable :sessions
|
1295
|
+
|
1296
|
+
get '/' do
|
1297
|
+
"value = " << session['value'].inspect
|
1298
|
+
end
|
1299
|
+
|
1300
|
+
get '/:value' do
|
1301
|
+
session['value'] = params['value']
|
1302
|
+
end
|
1303
|
+
```
|
1304
|
+
|
1305
|
+
请注意 `enable :sessions` 实际将所有的数据保存在一个 cookie 中。
|
1306
|
+
这可能并不总是你想要的(cookie 中存储大量的数据会增加你的流量)。
|
1307
|
+
你可以使用任何 Rack session 中间件:要达到此目的,**不要**使用 `enable :sessions`,
|
1308
|
+
而是按照自己的需要引入想使用的中间件:
|
1309
|
+
|
1310
|
+
```ruby
|
1311
|
+
use Rack::Session::Pool, :expire_after => 2592000
|
1312
|
+
|
1313
|
+
get '/' do
|
1314
|
+
"value = " << session['value'].inspect
|
1315
|
+
end
|
1316
|
+
|
1317
|
+
get '/:value' do
|
1318
|
+
session['value'] = params['value']
|
1319
|
+
end
|
1320
|
+
```
|
1321
|
+
|
1322
|
+
为提高安全性,cookie 中的会话数据会被一个会话密码保护。Sinatra 会为你生成一个随机的密码。
|
1323
|
+
然而,每次启动应用时,该密码都会变化,你也可以自己设置该密码,以便所有的应用实例共享:
|
1324
|
+
|
1325
|
+
```
|
1326
|
+
set :session_secret, 'super secret'
|
1327
|
+
```
|
1328
|
+
|
1329
|
+
如果你想进一步配置会话,可以在设置 `sessions` 时提供一个选项 hash 作为第二个参数:
|
1330
|
+
|
1331
|
+
```
|
1332
|
+
set :sessions, :domain => 'foo.com'
|
1333
|
+
```
|
1334
|
+
|
1335
|
+
为了在 foo.com 的子域名间共享会话数据,可以在域名前添加一个 *.*:
|
1336
|
+
|
1337
|
+
```ruby
|
1338
|
+
set :sessions, :domain => '.foo.com'
|
1339
|
+
```
|
1340
|
+
|
1341
|
+
### 中断请求
|
1342
|
+
|
1343
|
+
要想在过滤器或路由中立即中断一个请求:
|
1344
|
+
|
1345
|
+
```ruby
|
1346
|
+
halt
|
1347
|
+
```
|
1348
|
+
|
1349
|
+
你也可以指定中断时的状态码:
|
1350
|
+
|
1351
|
+
```ruby
|
1352
|
+
halt 410
|
1353
|
+
```
|
1354
|
+
|
1355
|
+
或者响应主体:
|
1356
|
+
|
1357
|
+
```ruby
|
1358
|
+
halt 'this will be the body'
|
1359
|
+
```
|
1360
|
+
|
1361
|
+
或者同时指定两者:
|
1362
|
+
|
1363
|
+
```ruby
|
1364
|
+
halt 401, 'go away!'
|
1365
|
+
```
|
1366
|
+
|
1367
|
+
也可以指定响应首部:
|
1368
|
+
|
1369
|
+
```ruby
|
1370
|
+
halt 402, {'Content-Type' => 'text/plain'}, 'revenge'
|
1371
|
+
```
|
1372
|
+
|
1373
|
+
当然也可以使用模板:
|
1374
|
+
|
1375
|
+
```
|
1376
|
+
halt erb(:error)
|
1377
|
+
```
|
1378
|
+
|
1379
|
+
### 传递请求
|
1380
|
+
|
1381
|
+
一个路由可以放弃对请求的处理并将处理让给下一个匹配的路由,这要通过 `pass` 实现:
|
1382
|
+
|
1383
|
+
```ruby
|
1384
|
+
get '/guess/:who' do
|
1385
|
+
pass unless params['who'] == 'Frank'
|
1386
|
+
'You got me!'
|
1387
|
+
end
|
1388
|
+
|
1389
|
+
get '/guess/*' do
|
1390
|
+
'You missed!'
|
1391
|
+
end
|
1392
|
+
```
|
1393
|
+
|
1394
|
+
执行 `pass` 后,控制流从该路由代码块直接退出,并继续前进到下一个匹配的路由。
|
1395
|
+
如果没有匹配的路由,将返回 404。
|
1396
|
+
|
1397
|
+
### 触发另一个路由
|
1398
|
+
|
1399
|
+
有些时候,`pass` 并不是你想要的,你希望得到的是调用另一个路由的结果。
|
1400
|
+
使用 `call` 就可以做到这一点:
|
1401
|
+
|
1402
|
+
```ruby
|
1403
|
+
get '/foo' do
|
1404
|
+
status, headers, body = call env.merge("PATH_INFO" => '/bar')
|
1405
|
+
[status, headers, body.map(&:upcase)]
|
1406
|
+
end
|
1407
|
+
|
1408
|
+
get '/bar' do
|
1409
|
+
"bar"
|
1410
|
+
end
|
1411
|
+
```
|
1412
|
+
|
1413
|
+
请注意在以上例子中,你只需简单地移动 `"bar"` 到一个被 `/foo` 和 `/bar` 同时使用的辅助方法中,
|
1414
|
+
就可以简化测试和增加性能。
|
1415
|
+
|
1416
|
+
如果你希望请求发送到同一个应用,而不是应用副本,应使用 `call!` 而不是 `call`。
|
1417
|
+
|
1418
|
+
如果想更多了解关于 `call` 的信息,请查看 Rack 规范。
|
1419
|
+
|
1420
|
+
### 设置响应主体、状态码和响应首部
|
1421
|
+
|
1422
|
+
推荐在路由代码块的返回值中设定状态码和响应主体。
|
1423
|
+
但是,在某些场景下你可能想在别处设置响应主体,这时你可以使用 `body` 辅助方法。
|
1424
|
+
设置之后,你可以在那以后使用该方法访问响应主体:
|
1425
|
+
|
1426
|
+
```ruby
|
1427
|
+
get '/foo' do
|
1428
|
+
body "bar"
|
1429
|
+
end
|
1430
|
+
|
1431
|
+
after do
|
1432
|
+
puts body
|
1433
|
+
end
|
1434
|
+
```
|
1435
|
+
|
1436
|
+
也可以传递一个代码块给 `body` 方法,
|
1437
|
+
它会被 Rack 处理器执行(这可以用来实现流式传输,参见“返回值”)。
|
1438
|
+
|
1439
|
+
与响应主体类似,你也可以设定状态码和响应首部:
|
1440
|
+
|
1441
|
+
```ruby
|
1442
|
+
get '/foo' do
|
1443
|
+
status 418
|
1444
|
+
headers \
|
1445
|
+
"Allow" => "BREW, POST, GET, PROPFIND, WHEN",
|
1446
|
+
"Refresh" => "Refresh: 20; http://www.ietf.org/rfc/rfc2324.txt"
|
1447
|
+
body "I'm a tea pot!"
|
1448
|
+
end
|
1449
|
+
```
|
1450
|
+
|
1451
|
+
正如 `body` 方法,不带参数调用 `headers` 和 `status` 方法可以访问它们的当前值。
|
1452
|
+
|
1453
|
+
### 响应的流式传输
|
1454
|
+
|
1455
|
+
有时你可能想在完全生成响应主体前返回数据。
|
1456
|
+
更极端的情况是,你希望在客户端关闭连接前一直发送数据。
|
1457
|
+
为满足这些需求,可以使用 `stream` 辅助方法而不必重新造轮子:
|
1458
|
+
|
1459
|
+
```ruby
|
1460
|
+
get '/' do
|
1461
|
+
stream do |out|
|
1462
|
+
out << "It's gonna be legen -\n"
|
1463
|
+
sleep 0.5
|
1464
|
+
out << " (wait for it) \n"
|
1465
|
+
sleep 1
|
1466
|
+
out << "- dary!\n"
|
1467
|
+
end
|
1468
|
+
end
|
1469
|
+
```
|
1470
|
+
|
1471
|
+
`stream` 辅助方法允许你实现流式 API 和
|
1472
|
+
[服务器端发送事件](https://w3c.github.io/eventsource/),
|
1473
|
+
同时它也是实现 [WebSockets](https://en.wikipedia.org/wiki/WebSocket) 的基础。
|
1474
|
+
如果你应用的部分(不是全部)内容依赖于访问缓慢的资源,它也可以用来提高并发能力。
|
1475
|
+
|
1476
|
+
请注意流式传输,尤其是并发请求数,高度依赖于应用所使用的服务器。
|
1477
|
+
一些服务器可能根本不支持流式传输。
|
1478
|
+
如果服务器不支持,传递给 `stream` 方法的代码块执行完毕之后,响应主体会一次性地发送给客户端。
|
1479
|
+
Shotgun 完全不支持流式传输。
|
1480
|
+
|
1481
|
+
如果 `:keep_open` 作为可选参数传递给 `stream` 方法,将不会在流对象上调用 `close` 方法,
|
1482
|
+
这允许你在控制流的下游某处手动关闭。该参数只对事件驱动的服务器(如 Thin 和 Rainbows)生效。
|
1483
|
+
其它服务器仍会关闭流式传输:
|
1484
|
+
|
1485
|
+
```ruby
|
1486
|
+
# 长轮询
|
1487
|
+
|
1488
|
+
set :server, :thin
|
1489
|
+
connections = []
|
1490
|
+
|
1491
|
+
get '/subscribe' do
|
1492
|
+
# 在服务器端的事件中注册客户端
|
1493
|
+
stream(:keep_open) do |out|
|
1494
|
+
connections << out
|
1495
|
+
# 清除关闭的连接
|
1496
|
+
connections.reject!(&:closed?)
|
1497
|
+
end
|
1498
|
+
end
|
1499
|
+
|
1500
|
+
post '/:message' do
|
1501
|
+
connections.each do |out|
|
1502
|
+
# 通知客户端有条新消息
|
1503
|
+
out << params['message'] << "\n"
|
1504
|
+
|
1505
|
+
# 使客户端重新连接
|
1506
|
+
out.close
|
1507
|
+
end
|
1508
|
+
|
1509
|
+
# 确认
|
1510
|
+
"message received"
|
1511
|
+
end
|
1512
|
+
```
|
1513
|
+
|
1514
|
+
### 日志
|
1515
|
+
|
1516
|
+
在请求作用域下,`logger` 辅助方法会返回一个 `Logger` 类的实例:
|
1517
|
+
|
1518
|
+
```ruby
|
1519
|
+
get '/' do
|
1520
|
+
logger.info "loading data"
|
1521
|
+
# ...
|
1522
|
+
end
|
1523
|
+
```
|
1524
|
+
|
1525
|
+
该 `logger` 方法会自动参考 Rack 处理器的日志设置。
|
1526
|
+
若日志被禁用,该方法会返回一个无关痛痒的对象,所以你完全不必担心这会影响路由和过滤器。
|
1527
|
+
|
1528
|
+
注意只有 `Sinatra::Application` 默认开启了日志,若你的应用继承自 `Sinatra::Base`,
|
1529
|
+
很可能需要手动开启:
|
1530
|
+
|
1531
|
+
```ruby
|
1532
|
+
class MyApp < Sinatra::Base
|
1533
|
+
configure :production, :development do
|
1534
|
+
enable :logging
|
1535
|
+
end
|
1536
|
+
end
|
1537
|
+
```
|
1538
|
+
|
1539
|
+
为避免使用任何与日志有关的中间件,需要将 `logging` 设置项设为 `nil`。
|
1540
|
+
然而,在这种情况下,`logger` 辅助方法会返回 `nil`。
|
1541
|
+
一种常见的使用场景是你想要使用自己的日志工具。
|
1542
|
+
Sinatra 会使用 `env['rack.logger']` 的值作为日志工具,无论该值是什么。
|
1543
|
+
|
1544
|
+
### 媒体类型
|
1545
|
+
|
1546
|
+
使用 `send_file` 或者静态文件的时候,Sinatra 可能不会识别你的媒体类型。
|
1547
|
+
使用 `mime_type` 通过文件扩展名来注册媒体类型:
|
1548
|
+
|
1549
|
+
```ruby
|
1550
|
+
mime_type :foo, 'text/foo'
|
1551
|
+
```
|
1552
|
+
|
1553
|
+
你也可以使用 `content_type` 辅助方法:
|
1554
|
+
|
1555
|
+
```ruby
|
1556
|
+
get '/' do
|
1557
|
+
content_type :foo
|
1558
|
+
"foo foo foo"
|
1559
|
+
end
|
1560
|
+
```
|
1561
|
+
|
1562
|
+
### 生成 URL
|
1563
|
+
|
1564
|
+
为了生成 URL,你应当使用 `url` 辅助方法,例如,在 Haml 中:
|
1565
|
+
|
1566
|
+
```ruby
|
1567
|
+
%a{:href => url('/foo')} foo
|
1568
|
+
```
|
1569
|
+
|
1570
|
+
如果使用了反向代理和 Rack 路由,生成 URL 的时候会考虑这些因素。
|
1571
|
+
|
1572
|
+
这个方法还有一个别名 `to` (见下面的例子)。
|
1573
|
+
|
1574
|
+
### 浏览器重定向
|
1575
|
+
|
1576
|
+
你可以通过 `redirect` 辅助方法触发浏览器重定向:
|
1577
|
+
|
1578
|
+
```ruby
|
1579
|
+
get '/foo' do
|
1580
|
+
redirect to('/bar')
|
1581
|
+
end
|
1582
|
+
```
|
1583
|
+
|
1584
|
+
其他参数的用法,与 `halt` 相同:
|
1585
|
+
|
1586
|
+
```ruby
|
1587
|
+
redirect to('/bar'), 303
|
1588
|
+
redirect 'http://www.google.com/', 'wrong place, buddy'
|
1589
|
+
```
|
1590
|
+
|
1591
|
+
用 `redirect back` 可以把用户重定向到原始页面:
|
1592
|
+
|
1593
|
+
```ruby
|
1594
|
+
get '/foo' do
|
1595
|
+
"<a href='/bar'>do something</a>"
|
1596
|
+
end
|
1597
|
+
|
1598
|
+
get '/bar' do
|
1599
|
+
do_something
|
1600
|
+
redirect back
|
1601
|
+
end
|
1602
|
+
```
|
1603
|
+
|
1604
|
+
如果想传递参数给 redirect,可以用查询字符串:
|
1605
|
+
|
1606
|
+
```ruby
|
1607
|
+
redirect to('/bar?sum=42')
|
1608
|
+
```
|
1609
|
+
|
1610
|
+
或者使用会话:
|
1611
|
+
|
1612
|
+
```ruby
|
1613
|
+
enable :sessions
|
1614
|
+
|
1615
|
+
get '/foo' do
|
1616
|
+
session['secret'] = 'foo'
|
1617
|
+
redirect to('/bar')
|
1618
|
+
end
|
1619
|
+
|
1620
|
+
get '/bar' do
|
1621
|
+
session['secret']
|
1622
|
+
end
|
1623
|
+
```
|
1624
|
+
|
1625
|
+
### 缓存控制
|
1626
|
+
|
1627
|
+
正确设置响应首部是合理利用 HTTP 缓存的基础。
|
1628
|
+
|
1629
|
+
可以这样设定 Cache-Control 首部字段:
|
1630
|
+
|
1631
|
+
```ruby
|
1632
|
+
get '/' do
|
1633
|
+
cache_control :public
|
1634
|
+
"cache it!"
|
1635
|
+
end
|
1636
|
+
```
|
1637
|
+
|
1638
|
+
核心提示: 应当在 `before` 过滤器中设定缓存。
|
1639
|
+
|
1640
|
+
```ruby
|
1641
|
+
before do
|
1642
|
+
cache_control :public, :must_revalidate, :max_age => 60
|
1643
|
+
end
|
1644
|
+
```
|
1645
|
+
|
1646
|
+
如果你使用 `expires` 辅助方法设定响应的响应首部, 会自动设定 `Cache-Control` 字段:
|
1647
|
+
|
1648
|
+
```ruby
|
1649
|
+
before do
|
1650
|
+
expires 500, :public, :must_revalidate
|
1651
|
+
end
|
1652
|
+
```
|
1653
|
+
|
1654
|
+
为了合理使用缓存,你应该考虑使用 `etag` 或 `last_modified` 方法。
|
1655
|
+
推荐在执行繁重任务*之前*使用这些辅助方法,这样一来,
|
1656
|
+
如果客户端在缓存中已经有相关内容,就会立即得到响应:
|
1657
|
+
|
1658
|
+
```ruby
|
1659
|
+
get '/article/:id' do
|
1660
|
+
@article = Article.find params['id']
|
1661
|
+
last_modified @article.updated_at
|
1662
|
+
etag @article.sha1
|
1663
|
+
erb :article
|
1664
|
+
end
|
1665
|
+
```
|
1666
|
+
|
1667
|
+
也可以使用 [weak ETag](https://en.wikipedia.org/wiki/HTTP_ETag#Strong_and_weak_validation):
|
1668
|
+
|
1669
|
+
```ruby
|
1670
|
+
etag @article.sha1, :weak
|
1671
|
+
```
|
1672
|
+
|
1673
|
+
这些辅助方法并不会为你做任何缓存,而是将必要的信息发送给你的缓存。
|
1674
|
+
如果你正在寻找快捷的反向代理缓存方案,可以尝试
|
1675
|
+
[rack-cache](https://github.com/rtomayko/rack-cache):
|
1676
|
+
|
1677
|
+
```ruby
|
1678
|
+
require "rack/cache"
|
1679
|
+
require "sinatra"
|
1680
|
+
|
1681
|
+
use Rack::Cache
|
1682
|
+
|
1683
|
+
get '/' do
|
1684
|
+
cache_control :public, :max_age => 36000
|
1685
|
+
sleep 5
|
1686
|
+
"hello"
|
1687
|
+
end
|
1688
|
+
```
|
1689
|
+
|
1690
|
+
使用 `:statis_cache_control` 设置(见下文)为静态文件添加 `Cache-Control` 首部字段。
|
1691
|
+
|
1692
|
+
根据 RFC 2616,如果 If-Match 或 If-None-Match 首部设置为 `*`,根据所请求的资源存在与否,
|
1693
|
+
你的应用应当有不同的行为。
|
1694
|
+
Sinatra 假设安全请求(如 GET)和幂等性请求(如 PUT)所访问的资源是已经存在的,
|
1695
|
+
而其它请求(如 POST 请求)所访问的资源是新资源。
|
1696
|
+
你可以通过传入 `:new_resource` 选项改变这一行为。
|
1697
|
+
|
1698
|
+
```ruby
|
1699
|
+
get '/create' do
|
1700
|
+
etag '', :new_resource => true
|
1701
|
+
Article.create
|
1702
|
+
erb :new_article
|
1703
|
+
end
|
1704
|
+
```
|
1705
|
+
|
1706
|
+
如果你仍想使用 weak ETag,可以传入一个 `:kind` 选项:
|
1707
|
+
|
1708
|
+
```ruby
|
1709
|
+
etag '', :new_resource => true, :kind => :weak
|
1710
|
+
```
|
1711
|
+
|
1712
|
+
### 发送文件
|
1713
|
+
|
1714
|
+
为了将文件的内容作为响应返回,可以使用 `send_file` 辅助方法:
|
1715
|
+
|
1716
|
+
```ruby
|
1717
|
+
get '/' do
|
1718
|
+
send_file 'foo.png'
|
1719
|
+
end
|
1720
|
+
```
|
1721
|
+
|
1722
|
+
该辅助方法接受一些选项:
|
1723
|
+
|
1724
|
+
```ruby
|
1725
|
+
send_file 'foo.png', :type => :jpg
|
1726
|
+
```
|
1727
|
+
|
1728
|
+
可用的选项有:
|
1729
|
+
|
1730
|
+
<dl>
|
1731
|
+
<dt>filename</dt>
|
1732
|
+
<dd>响应中使用的文件名,默认是真实的文件名。</dd>
|
1733
|
+
|
1734
|
+
<dt>last_modified</dt>
|
1735
|
+
<dd>Last-Modified 响应首部的值,默认是文件的 mtime (修改时间)。</dd>
|
1736
|
+
|
1737
|
+
<dt>type</dt>
|
1738
|
+
<dd>Content-Type 响应首部的值,如果未指定,会根据文件扩展名猜测。</dd>
|
1739
|
+
|
1740
|
+
<dt>disposition</dt>
|
1741
|
+
<dd>
|
1742
|
+
Content-Disposition 响应首部的值,
|
1743
|
+
可选的值有: <tt>nil</tt> (默认)、<tt>:attachment</tt> 和
|
1744
|
+
<tt>:inline</tt>
|
1745
|
+
</dd>
|
1746
|
+
|
1747
|
+
<dt>length</dt>
|
1748
|
+
<dd>Content-Length 响应首部的值,默认是文件的大小。</dd>
|
1749
|
+
|
1750
|
+
<dt>status</dt>
|
1751
|
+
<dd>
|
1752
|
+
将要返回的状态码。当以一个静态文件作为错误页面时,这很有用。
|
1753
|
+
|
1754
|
+
如果 Rack 处理器支持的话,Ruby 进程也能使用除 streaming 以外的方法。
|
1755
|
+
如果你使用这个辅助方法, Sinatra会自动处理 range 请求。
|
1756
|
+
</dd>
|
1757
|
+
</dl>
|
1758
|
+
|
1759
|
+
### 访问请求对象
|
1760
|
+
|
1761
|
+
传入的请求对象可以在请求层(过滤器、路由、错误处理器内部)通过 `request` 方法访问:
|
1762
|
+
|
1763
|
+
```ruby
|
1764
|
+
# 在 http://example.com/example 上运行的应用
|
1765
|
+
get '/foo' do
|
1766
|
+
t = %w[text/css text/html application/javascript]
|
1767
|
+
request.accept # ['text/html', '*/*']
|
1768
|
+
request.accept? 'text/xml' # true
|
1769
|
+
request.preferred_type(t) # 'text/html'
|
1770
|
+
request.body # 客户端设定的请求主体(见下文)
|
1771
|
+
request.scheme # "http"
|
1772
|
+
request.script_name # "/example"
|
1773
|
+
request.path_info # "/foo"
|
1774
|
+
request.port # 80
|
1775
|
+
request.request_method # "GET"
|
1776
|
+
request.query_string # ""
|
1777
|
+
request.content_length # request.body 的长度
|
1778
|
+
request.media_type # request.body 的媒体类型
|
1779
|
+
request.host # "example.com"
|
1780
|
+
request.get? # true (其它动词也具有类似方法)
|
1781
|
+
request.form_data? # false
|
1782
|
+
request["some_param"] # some_param 参数的值。[] 是访问 params hash 的捷径
|
1783
|
+
request.referrer # 客户端的 referrer 或者 '/'
|
1784
|
+
request.user_agent # 用户代理 (:agent 条件使用该值)
|
1785
|
+
request.cookies # 浏览器 cookies 哈希
|
1786
|
+
request.xhr? # 这是否是 ajax 请求?
|
1787
|
+
request.url # "http://example.com/example/foo"
|
1788
|
+
request.path # "/example/foo"
|
1789
|
+
request.ip # 客户端 IP 地址
|
1790
|
+
request.secure? # false (如果是 ssl 则为 true)
|
1791
|
+
request.forwarded? # true (如果是运行在反向代理之后)
|
1792
|
+
request.env # Rack 中使用的未处理的 env hash
|
1793
|
+
end
|
1794
|
+
```
|
1795
|
+
|
1796
|
+
一些选项,例如 `script_name` 或者 `path_info` 也是可写的:
|
1797
|
+
|
1798
|
+
```ruby
|
1799
|
+
before { request.path_info = "/" }
|
1800
|
+
|
1801
|
+
get "/" do
|
1802
|
+
"all requests end up here"
|
1803
|
+
end
|
1804
|
+
```
|
1805
|
+
|
1806
|
+
`request.body` 是一个 IO 或者 StringIO 对象:
|
1807
|
+
|
1808
|
+
```ruby
|
1809
|
+
post "/api" do
|
1810
|
+
request.body.rewind # 如果已经有人读了它
|
1811
|
+
data = JSON.parse request.body.read
|
1812
|
+
"Hello #{data['name']}!"
|
1813
|
+
end
|
1814
|
+
```
|
1815
|
+
|
1816
|
+
### 附件
|
1817
|
+
|
1818
|
+
你可以使用 `attachment` 辅助方法来告诉浏览器响应应当被写入磁盘而不是在浏览器中显示。
|
1819
|
+
|
1820
|
+
```ruby
|
1821
|
+
get '/' do
|
1822
|
+
attachment
|
1823
|
+
"store it!"
|
1824
|
+
end
|
1825
|
+
```
|
1826
|
+
|
1827
|
+
你也可以传递给该方法一个文件名:
|
1828
|
+
|
1829
|
+
```ruby
|
1830
|
+
get '/' do
|
1831
|
+
attachment "info.txt"
|
1832
|
+
"store it!"
|
1833
|
+
end
|
1834
|
+
```
|
1835
|
+
|
1836
|
+
### 处理日期和时间
|
1837
|
+
|
1838
|
+
Sinatra 提供了一个 `time_for` 辅助方法,其目的是根据给定的值生成 Time 对象。
|
1839
|
+
该方法也能够转换 `DateTime`、`Date` 和类似的类:
|
1840
|
+
|
1841
|
+
```ruby
|
1842
|
+
get '/' do
|
1843
|
+
pass if Time.now > time_for('Dec 23, 2012')
|
1844
|
+
"still time"
|
1845
|
+
end
|
1846
|
+
```
|
1847
|
+
|
1848
|
+
`expires`、`last_modified` 和类似方法都在内部使用了该方法。
|
1849
|
+
因此,通过在应用中重写 `time_for` 方法,你可以轻松地扩展这些方法的行为:
|
1850
|
+
|
1851
|
+
```ruby
|
1852
|
+
helpers do
|
1853
|
+
def time_for(value)
|
1854
|
+
case value
|
1855
|
+
when :yesterday then Time.now - 24*60*60
|
1856
|
+
when :tomorrow then Time.now + 24*60*60
|
1857
|
+
else super
|
1858
|
+
end
|
1859
|
+
end
|
1860
|
+
end
|
1861
|
+
|
1862
|
+
get '/' do
|
1863
|
+
last_modified :yesterday
|
1864
|
+
expires :tomorrow
|
1865
|
+
"hello"
|
1866
|
+
end
|
1867
|
+
```
|
1868
|
+
|
1869
|
+
### 查找模板文件
|
1870
|
+
|
1871
|
+
`find_template` 辅助方法用于在渲染时查找模板文件:
|
1872
|
+
|
1873
|
+
```ruby
|
1874
|
+
find_template settings.views, 'foo', Tilt[:haml] do |file|
|
1875
|
+
puts "could be #{file}"
|
1876
|
+
end
|
1877
|
+
```
|
1878
|
+
|
1879
|
+
这其实并不是很有用,除非你需要重载这个方法来实现你自己的查找机制。
|
1880
|
+
比如,如果你想使用不只一个视图目录:
|
1881
|
+
|
1882
|
+
```ruby
|
1883
|
+
set :views, ['views', 'templates']
|
1884
|
+
|
1885
|
+
helpers do
|
1886
|
+
def find_template(views, name, engine, &block)
|
1887
|
+
Array(views).each { |v| super(v, name, engine, &block) }
|
1888
|
+
end
|
1889
|
+
end
|
1890
|
+
```
|
1891
|
+
|
1892
|
+
另一个例子是对不同的引擎使用不同的目录:
|
1893
|
+
|
1894
|
+
```ruby
|
1895
|
+
set :views, :sass => 'views/sass', :haml => 'templates', :default => 'views'
|
1896
|
+
|
1897
|
+
helpers do
|
1898
|
+
def find_template(views, name, engine, &block)
|
1899
|
+
_, folder = views.detect { |k,v| engine == Tilt[k] }
|
1900
|
+
folder ||= views[:default]
|
1901
|
+
super(folder, name, engine, &block)
|
1902
|
+
end
|
1903
|
+
end
|
1904
|
+
```
|
1905
|
+
|
1906
|
+
你可以很容易地封装成一个扩展,然后与他人分享!
|
1907
|
+
|
1908
|
+
请注意 `find_template` 并不会检查文件是否存在,而是为任何可能的路径调用传入的代码块。
|
1909
|
+
这并不会导致性能问题,因为 `render` 会在找到文件的时候马上使用 `break`。
|
1910
|
+
同样的,模板的路径(和内容)会在 development 以外的模式下被缓存。
|
1911
|
+
你应该时刻提醒自己这一点, 如果你真的想写一个非常疯狂的方法的话。
|
1912
|
+
|
1913
|
+
## 配置
|
1914
|
+
|
1915
|
+
在启动时运行一次,在任何环境下都是如此:
|
1916
|
+
|
1917
|
+
```ruby
|
1918
|
+
configure do
|
1919
|
+
# 设置一个选项
|
1920
|
+
set :option, 'value'
|
1921
|
+
|
1922
|
+
# 设置多个选项
|
1923
|
+
set :a => 1, :b => 2
|
1924
|
+
|
1925
|
+
# 等同于 `set :option, true`
|
1926
|
+
enable :option
|
1927
|
+
|
1928
|
+
# 等同于 `set :option, false`
|
1929
|
+
disable :option
|
1930
|
+
|
1931
|
+
# 也可以用代码块做动态设置
|
1932
|
+
set(:css_dir) { File.join(views, 'css') }
|
1933
|
+
end
|
1934
|
+
```
|
1935
|
+
|
1936
|
+
只有当环境 (`RACK_ENV` 环境变量) 被设定为 `:production` 时才运行:
|
1937
|
+
|
1938
|
+
```ruby
|
1939
|
+
configure :production do
|
1940
|
+
...
|
1941
|
+
end
|
1942
|
+
```
|
1943
|
+
|
1944
|
+
当环境被设定为 `:production` 或者 `:test` 时运行:
|
1945
|
+
|
1946
|
+
```ruby
|
1947
|
+
configure :production, :test do
|
1948
|
+
...
|
1949
|
+
end
|
1950
|
+
```
|
1951
|
+
|
1952
|
+
你可以用 `settings` 访问这些配置项:
|
1953
|
+
|
1954
|
+
```ruby
|
1955
|
+
configure do
|
1956
|
+
set :foo, 'bar'
|
1957
|
+
end
|
1958
|
+
|
1959
|
+
get '/' do
|
1960
|
+
settings.foo? # => true
|
1961
|
+
settings.foo # => 'bar'
|
1962
|
+
...
|
1963
|
+
end
|
1964
|
+
```
|
1965
|
+
|
1966
|
+
### 配置攻击防护
|
1967
|
+
|
1968
|
+
Sinatra 使用 [Rack::Protection](https://github.com/sinatra/rack-protection#readme)
|
1969
|
+
来抵御常见的攻击。你可以轻易地禁用该行为(但这会大大增加应用被攻击的概率)。
|
1970
|
+
|
1971
|
+
```ruby
|
1972
|
+
disable :protection
|
1973
|
+
```
|
1974
|
+
|
1975
|
+
为了绕过某单层防护,可以设置 `protection` 为一个选项 hash:
|
1976
|
+
|
1977
|
+
```ruby
|
1978
|
+
set :protection, :except => :path_traversal
|
1979
|
+
```
|
1980
|
+
|
1981
|
+
你可以传入一个数组,以禁用一系列防护措施:
|
1982
|
+
|
1983
|
+
```ruby
|
1984
|
+
set :protection, :except => [:path_traversal, :session_hijacking]
|
1985
|
+
```
|
1986
|
+
|
1987
|
+
默认地,如果 `:sessions` 是启用的,Sinatra 只会使用基于会话的防护措施。
|
1988
|
+
当然,有时你可能想根据自己的需要设置会话。
|
1989
|
+
在这种情况下,你可以通过传入 `:session` 选项来开启基于会话的防护。
|
1990
|
+
|
1991
|
+
```ruby
|
1992
|
+
use Rack::Session::Pool
|
1993
|
+
set :protection, :session => true
|
1994
|
+
```
|
1995
|
+
|
1996
|
+
### 可选的设置
|
1997
|
+
|
1998
|
+
<dl>
|
1999
|
+
<dt>absolute_redirects</dt>
|
2000
|
+
<dd>
|
2001
|
+
如果被禁用,Sinatra 会允许使用相对路径重定向。
|
2002
|
+
然而这样的话,Sinatra 就不再遵守 RFC 2616 (HTTP 1.1), 该协议只允许绝对路径重定向。
|
2003
|
+
</dd>
|
2004
|
+
<dd>
|
2005
|
+
如果你的应用运行在一个未恰当设置的反向代理之后,你需要启用这个选项。
|
2006
|
+
注意 <tt>url</tt> 辅助方法仍然会生成绝对 URL,除非你传入<tt>false</tt> 作为第二参数。
|
2007
|
+
</dd>
|
2008
|
+
<dd>默认禁用。</dd>
|
2009
|
+
|
2010
|
+
<dt>add_charset</dt>
|
2011
|
+
<dd>
|
2012
|
+
设置 <tt>content_type</tt> 辅助方法会自动为媒体类型加上字符集信息。
|
2013
|
+
你应该添加而不是覆盖这个选项:
|
2014
|
+
<tt>settings.add_charset << "application/foobar"</tt>
|
2015
|
+
</dd>
|
2016
|
+
|
2017
|
+
<dt>app_file</dt>
|
2018
|
+
<dd>
|
2019
|
+
主应用文件的路径,用来检测项目的根路径, views 和 public 文件夹和内联模板。
|
2020
|
+
</dd>
|
2021
|
+
|
2022
|
+
<dt>bind</dt>
|
2023
|
+
<dd>
|
2024
|
+
绑定的 IP 地址 (默认: <tt>0.0.0.0</tt>,开发环境下为 <tt>localhost</tt>)。
|
2025
|
+
仅对于内置的服务器有用。
|
2026
|
+
</dd>
|
2027
|
+
|
2028
|
+
<dt>default_encoding</dt>
|
2029
|
+
<dd>默认编码 (默认为 <tt>"utf-8"</tt>)。</dd>
|
2030
|
+
|
2031
|
+
<dt>dump_errors</dt>
|
2032
|
+
<dd>在日志中显示错误。</dd>
|
2033
|
+
|
2034
|
+
<dt>environment</dt>
|
2035
|
+
<dd>
|
2036
|
+
当前环境,默认是 <tt>ENV['RACK_ENV']</tt>,
|
2037
|
+
或者 <tt>"development"</tt> (如果 ENV['RACK_ENV'] 不可用)。
|
2038
|
+
</dd>
|
2039
|
+
|
2040
|
+
<dt>logging</dt>
|
2041
|
+
<dd>使用 logger。</dd>
|
2042
|
+
|
2043
|
+
<dt>lock</dt>
|
2044
|
+
<dd>对每一个请求放置一个锁,只使用进程并发处理请求。</dd>
|
2045
|
+
<dd>如果你的应用不是线程安全则需启动。默认禁用。</dd>
|
2046
|
+
|
2047
|
+
<dt>method_override</dt>
|
2048
|
+
<dd>
|
2049
|
+
使用 <tt>_method</tt> 魔法,以允许在不支持的浏览器中在使用 put/delete 方法提交表单。
|
2050
|
+
</dd>
|
2051
|
+
|
2052
|
+
<dt>port</dt>
|
2053
|
+
<dd>监听的端口号。只对内置服务器有用。</dd>
|
2054
|
+
|
2055
|
+
<dt>prefixed_redirects</dt>
|
2056
|
+
<dd>
|
2057
|
+
如果没有使用绝对路径,是否添加 <tt>request.script_name</tt> 到重定向请求。
|
2058
|
+
如果添加,<tt>redirect '/foo'</tt> 会和 <tt>redirect to('/foo')</tt> 相同。
|
2059
|
+
默认禁用。
|
2060
|
+
</dd>
|
2061
|
+
|
2062
|
+
<dt>protection</dt>
|
2063
|
+
<dd>是否启用网络攻击防护。参见上面的保护部分</dd>
|
2064
|
+
|
2065
|
+
<dt>public_dir</dt>
|
2066
|
+
<dd>public_folder 的别名。见下文。</dd>
|
2067
|
+
|
2068
|
+
<dt>public_folder</dt>
|
2069
|
+
<dd>
|
2070
|
+
public 文件存放的路径。只有启用了静态文件服务(见下文的 <tt>static</tt>)才会使用。
|
2071
|
+
如果未设置,默认从 <tt>app_file</tt> 推断。
|
2072
|
+
</dd>
|
2073
|
+
|
2074
|
+
<dt>reload_templates</dt>
|
2075
|
+
<dd>
|
2076
|
+
是否每个请求都重新载入模板。在开发模式下开启。
|
2077
|
+
</dd>
|
2078
|
+
|
2079
|
+
<dt>root</dt>
|
2080
|
+
<dd>到项目根目录的路径。默认从 <tt>app_file</tt> 设置推断。</dd>
|
2081
|
+
|
2082
|
+
<dt>raise_errors</dt>
|
2083
|
+
<dd>
|
2084
|
+
抛出异常(会停止应用)。
|
2085
|
+
当 <tt>environment</tt> 设置为 <tt>"test"</tt> 时会默认开启,其它环境下默认禁用。
|
2086
|
+
</dd>
|
2087
|
+
|
2088
|
+
<dt>run</dt>
|
2089
|
+
<dd>如果启用,Sinatra 会负责 web 服务器的启动。若使用 rackup 或其他方式则不要启用。</dd>
|
2090
|
+
|
2091
|
+
<dt>running</dt>
|
2092
|
+
<dd>内置的服务器在运行吗? 不要修改这个设置!</dd>
|
2093
|
+
|
2094
|
+
<dt>server</dt>
|
2095
|
+
<dd>服务器,或用于内置服务器的服务器列表。顺序表明了优先级,默认顺序依赖 Ruby 实现。</dd>
|
2096
|
+
|
2097
|
+
<dt>sessions</dt>
|
2098
|
+
<dd>
|
2099
|
+
使用 <tt>Rack::Session::Cookie</tt>,启用基于 cookie 的会话。
|
2100
|
+
查看“使用会话”部分以获得更多信息。
|
2101
|
+
</dd>
|
2102
|
+
|
2103
|
+
<dt>show_exceptions</dt>
|
2104
|
+
<dd>
|
2105
|
+
当有异常发生时,在浏览器中显示一个 stack trace。
|
2106
|
+
当 <tt>environment</tt> 设置为 <tt>"development"</tt> 时,默认启用,
|
2107
|
+
否则默认禁用。
|
2108
|
+
</dd>
|
2109
|
+
<dd>
|
2110
|
+
也可以设置为 <tt>:after_handler</tt>,
|
2111
|
+
这会在浏览器中显示 stack trace 之前触发应用级别的错误处理。
|
2112
|
+
</dd>
|
2113
|
+
|
2114
|
+
<dt>static</dt>
|
2115
|
+
<dd>决定 Sinatra 是否服务静态文件。</dd>
|
2116
|
+
<dd>当服务器能够自行服务静态文件时,会禁用。</dd>
|
2117
|
+
<dd>禁用会增强性能。</dd>
|
2118
|
+
<dd>在经典风格中默认启用,在模块化应用中默认禁用。</dd>
|
2119
|
+
|
2120
|
+
<dt>static_cache_control</dt>
|
2121
|
+
<dd>
|
2122
|
+
当 Sinatra 提供静态文件服务时,设置此选项为响应添加 <tt>Cache-Control</tt> 首部。
|
2123
|
+
使用 <tt>cache_control</tt> 辅助方法。默认禁用。
|
2124
|
+
</dd>
|
2125
|
+
<dd>
|
2126
|
+
当设置多个值时使用数组:
|
2127
|
+
<tt>set :static_cache_control, [:public, :max_age => 300]</tt>
|
2128
|
+
</dd>
|
2129
|
+
|
2130
|
+
<dt>threaded</dt>
|
2131
|
+
<dd>
|
2132
|
+
若设置为 <tt>true</tt>,会告诉 Thin 使用 <tt>EventMachine.defer</tt> 处理请求。
|
2133
|
+
</dd>
|
2134
|
+
|
2135
|
+
<dt>traps</dt>
|
2136
|
+
<dd>Sinatra 是否应该处理系统信号。</dd>
|
2137
|
+
|
2138
|
+
<dt>views</dt>
|
2139
|
+
<dd>views 文件夹的路径。若未设置则会根据 <tt>app_file</tt> 推断。</dd>
|
2140
|
+
|
2141
|
+
<dt>x_cascade</dt>
|
2142
|
+
<dd>若没有路由匹配,是否设置 X-Cascade 首部。默认为 <tt>true</tt>。</dd>
|
2143
|
+
</dl>
|
2144
|
+
|
2145
|
+
## 环境
|
2146
|
+
|
2147
|
+
Sinatra 中有三种预先定义的环境:"development"、"production" 和 "test"。
|
2148
|
+
环境可以通过 `RACK_ENV` 环境变量设置。默认值为 "development"。
|
2149
|
+
在开发环境下,每次请求都会重新加载所有模板,
|
2150
|
+
特殊的 `not_found` 和 `error` 错误处理器会在浏览器中显示 stack trace。
|
2151
|
+
在测试和生产环境下,模板默认会缓存。
|
2152
|
+
|
2153
|
+
在不同的环境下运行,设置 `RACK_ENV` 环境变量:
|
2154
|
+
|
2155
|
+
```shell
|
2156
|
+
RACK_ENV=production ruby my_app.rb
|
2157
|
+
```
|
2158
|
+
|
2159
|
+
可以使用预定义的三种方法: `development?`、`test?` 和 `production?` 来检查当前环境:
|
2160
|
+
|
2161
|
+
```ruby
|
2162
|
+
get '/' do
|
2163
|
+
if settings.development?
|
2164
|
+
"development!"
|
2165
|
+
else
|
2166
|
+
"not development"
|
2167
|
+
end
|
2168
|
+
end
|
2169
|
+
```
|
2170
|
+
|
2171
|
+
## 错误处理
|
2172
|
+
|
2173
|
+
错误处理器在与路由和 before 过滤器相同的上下文中运行,
|
2174
|
+
这意味着你可以使用许多好东西,比如 `haml`, `erb`, `halt`,等等。
|
2175
|
+
|
2176
|
+
### 未找到
|
2177
|
+
|
2178
|
+
当一个 `Sinatra::NotFound` 错误被抛出时,或者当响应的状态码是 404 时,
|
2179
|
+
会调用 `not_found` 处理器:
|
2180
|
+
|
2181
|
+
```ruby
|
2182
|
+
not_found do
|
2183
|
+
'This is nowhere to be found.'
|
2184
|
+
end
|
2185
|
+
```
|
2186
|
+
|
2187
|
+
### 错误
|
2188
|
+
|
2189
|
+
在任何路由代码块或过滤器抛出异常时,会调用 `error` 处理器。
|
2190
|
+
但注意在开发环境下只有将 show exceptions 项设置为 `:after_handler` 时,才会生效。
|
2191
|
+
|
2192
|
+
```ruby
|
2193
|
+
set :show_exceptions, :after_handler
|
2194
|
+
```
|
2195
|
+
|
2196
|
+
可以用 Rack 变量 `sinatra.error` 访问异常对象:
|
2197
|
+
|
2198
|
+
```ruby
|
2199
|
+
error do
|
2200
|
+
'Sorry there was a nasty error - ' + env['sinatra.error'].message
|
2201
|
+
end
|
2202
|
+
```
|
2203
|
+
|
2204
|
+
自定义错误:
|
2205
|
+
|
2206
|
+
```ruby
|
2207
|
+
error MyCustomError do
|
2208
|
+
'So what happened was...' + env['sinatra.error'].message
|
2209
|
+
end
|
2210
|
+
```
|
2211
|
+
|
2212
|
+
当下面的代码执行时:
|
2213
|
+
|
2214
|
+
```ruby
|
2215
|
+
get '/' do
|
2216
|
+
raise MyCustomError, 'something bad'
|
2217
|
+
end
|
2218
|
+
```
|
2219
|
+
|
2220
|
+
你会得到错误信息:
|
2221
|
+
|
2222
|
+
```
|
2223
|
+
So what happened was... something bad
|
2224
|
+
```
|
2225
|
+
|
2226
|
+
或者,你也可以为状态码设置错误处理器:
|
2227
|
+
|
2228
|
+
```ruby
|
2229
|
+
error 403 do
|
2230
|
+
'Access forbidden'
|
2231
|
+
end
|
2232
|
+
|
2233
|
+
get '/secret' do
|
2234
|
+
403
|
2235
|
+
end
|
2236
|
+
```
|
2237
|
+
|
2238
|
+
或者为某个范围内的状态码统一设置错误处理器:
|
2239
|
+
|
2240
|
+
```ruby
|
2241
|
+
error 400..510 do
|
2242
|
+
'Boom'
|
2243
|
+
end
|
2244
|
+
```
|
2245
|
+
|
2246
|
+
在开发环境下,Sinatra会使用特殊的 `not_found` 和 `error` 处理器,
|
2247
|
+
以便在浏览器中显示美观的 stack traces 和额外的调试信息。
|
2248
|
+
|
2249
|
+
## Rack 中间件
|
2250
|
+
|
2251
|
+
Sinatra 依赖 [Rack](http://rack.github.io/), 一个面向 Ruby 网络框架的最小化标准接口。
|
2252
|
+
Rack 最有趣的功能之一是支持“中间件”——位于服务器和你的应用之间的组件,
|
2253
|
+
它们监控或操作 HTTP 请求/响应以提供多种常用功能。
|
2254
|
+
|
2255
|
+
Sinatra 通过顶层的 `use` 方法,让建立 Rack 中间件管道异常简单:
|
2256
|
+
|
2257
|
+
```ruby
|
2258
|
+
require 'sinatra'
|
2259
|
+
require 'my_custom_middleware'
|
2260
|
+
|
2261
|
+
use Rack::Lint
|
2262
|
+
use MyCustomMiddleware
|
2263
|
+
|
2264
|
+
get '/hello' do
|
2265
|
+
'Hello World'
|
2266
|
+
end
|
2267
|
+
```
|
2268
|
+
|
2269
|
+
`use` 的语义和在 [Rack::Builder](http://www.rubydoc.info/github/rack/rack/master/Rack/Builder)
|
2270
|
+
DSL (在 rackup 文件中最频繁使用)中定义的完全一样。例如,`use` 方法接受
|
2271
|
+
多个/可变参数,以及代码块:
|
2272
|
+
|
2273
|
+
```ruby
|
2274
|
+
use Rack::Auth::Basic do |username, password|
|
2275
|
+
username == 'admin' && password == 'secret'
|
2276
|
+
end
|
2277
|
+
```
|
2278
|
+
|
2279
|
+
Rack 拥有有多种标准中间件,用于日志、调试、URL 路由、认证和会话处理。
|
2280
|
+
根据配置,Sinatra 可以自动使用这里面的许多组件,
|
2281
|
+
所以你一般不需要显式地 `use` 它们。
|
2282
|
+
|
2283
|
+
你可以在 [rack](https://github.com/rack/rack/tree/master/lib/rack)、
|
2284
|
+
[rack-contrib](https://github.com/rack/rack-contrib#readm) 或
|
2285
|
+
[Rack wiki](https://github.com/rack/rack/wiki/List-of-Middleware)
|
2286
|
+
中找到有用的中间件。
|
2287
|
+
|
2288
|
+
## 测试
|
2289
|
+
|
2290
|
+
可以使用任何基于 Rack 的测试程序库或者框架来编写Sinatra的测试。
|
2291
|
+
推荐使用 [Rack::Test](http://www.rubydoc.info/github/brynary/rack-test/master/frames):
|
2292
|
+
|
2293
|
+
```ruby
|
2294
|
+
require 'my_sinatra_app'
|
2295
|
+
require 'minitest/autorun'
|
2296
|
+
require 'rack/test'
|
2297
|
+
|
2298
|
+
class MyAppTest < Minitest::Test
|
2299
|
+
include Rack::Test::Methods
|
2300
|
+
|
2301
|
+
def app
|
2302
|
+
Sinatra::Application
|
2303
|
+
end
|
2304
|
+
|
2305
|
+
def test_my_default
|
2306
|
+
get '/'
|
2307
|
+
assert_equal 'Hello World!', last_response.body
|
2308
|
+
end
|
2309
|
+
|
2310
|
+
def test_with_params
|
2311
|
+
get '/meet', :name => 'Frank'
|
2312
|
+
assert_equal 'Hello Frank!', last_response.body
|
2313
|
+
end
|
2314
|
+
|
2315
|
+
def test_with_rack_env
|
2316
|
+
get '/', {}, 'HTTP_USER_AGENT' => 'Songbird'
|
2317
|
+
assert_equal "You're using Songbird!", last_response.body
|
2318
|
+
end
|
2319
|
+
end
|
2320
|
+
```
|
2321
|
+
|
2322
|
+
注意:如果你使用 Sinatra 的模块化风格,应该用你应用的类名替代 `Sinatra::Application`。
|
2323
|
+
|
2324
|
+
## Sinatra::Base - 中间件、库和模块化应用
|
2325
|
+
|
2326
|
+
在顶层定义你的应用很适合微型项目,
|
2327
|
+
但是在构建可复用的组件(如 Rack 中间件、Rails metal、带服务器组件的库或 Sinatra 扩展)时,
|
2328
|
+
却有相当大的缺陷。
|
2329
|
+
顶层 DSL 认为你采用的是微型应用风格的配置 (例如:唯一应用文件、
|
2330
|
+
`./public` 和 `./views` 目录、日志、异常细节页面等)。
|
2331
|
+
如果你的项目不采用微型应用风格,应该使用 `Sinatra::Base`:
|
2332
|
+
|
2333
|
+
```ruby
|
2334
|
+
require 'sinatra/base'
|
2335
|
+
|
2336
|
+
class MyApp < Sinatra::Base
|
2337
|
+
set :sessions, true
|
2338
|
+
set :foo, 'bar'
|
2339
|
+
|
2340
|
+
get '/' do
|
2341
|
+
'Hello world!'
|
2342
|
+
end
|
2343
|
+
end
|
2344
|
+
```
|
2345
|
+
|
2346
|
+
Sinatra::Base 的子类可以使用的方法实际上就是顶层 DSL 中可以使用的方法。
|
2347
|
+
大部分顶层应用可以通过两方面的改变转换为 Sinatra::Base 组件:
|
2348
|
+
|
2349
|
+
* 你的文件应当引入 `sinatra/base` 而不是 `sinatra`;
|
2350
|
+
否则,Sinatra 的所有 DSL 方法将会被导入主命名空间。
|
2351
|
+
|
2352
|
+
* 把应用的路由、错误处理器、过滤器和选项放在一个 Sinatra::Base 的子类中。
|
2353
|
+
|
2354
|
+
`Sinatra::Base` 是一个白板。大部分选项(包括内置的服务器)默认是禁用的。
|
2355
|
+
可以参考[配置](http://www.sinatrarb.com/configuration.html)
|
2356
|
+
以查看可用选项的具体细节和它们的行为。如果你想让你的应用更像顶层定义的应用(即经典风格),
|
2357
|
+
你可以继承 `Sinatra::Applicaiton`。
|
2358
|
+
|
2359
|
+
```ruby
|
2360
|
+
require 'sinatra/base'
|
2361
|
+
|
2362
|
+
class MyApp < Sinatra::Application
|
2363
|
+
get '/' do
|
2364
|
+
'Hello world!'
|
2365
|
+
end
|
2366
|
+
end
|
2367
|
+
```
|
2368
|
+
|
2369
|
+
### 模块化风格 vs. 经典风格
|
2370
|
+
|
2371
|
+
与通常的认识相反,经典风格并没有任何错误。
|
2372
|
+
如果它适合你的应用,你不需要切换到模块化风格。
|
2373
|
+
|
2374
|
+
与模块化风格相比,经典风格的主要缺点在于,每个 Ruby 进程只能有一个 Sinatra 应用。
|
2375
|
+
如果你计划使用多个 Sinatra 应用,应该切换到模块化风格。
|
2376
|
+
你也完全可以混用模块化风格和经典风格。
|
2377
|
+
|
2378
|
+
如果从一种风格转换到另一种,你需要注意默认设置中的一些细微差别:
|
2379
|
+
|
2380
|
+
<table>
|
2381
|
+
<tr>
|
2382
|
+
<th>设置</th>
|
2383
|
+
<th>经典风格</th>
|
2384
|
+
<th>模块化风格</th>
|
2385
|
+
<th>模块化风格</th>
|
2386
|
+
</tr>
|
2387
|
+
|
2388
|
+
<tr>
|
2389
|
+
<td>app_file</td>
|
2390
|
+
<td>加载 sinatra 的文件</td>
|
2391
|
+
<td>继承 Sinatra::Base 的文件</td>
|
2392
|
+
<td>继承 Sinatra::Application 的文件</td>
|
2393
|
+
</tr>
|
2394
|
+
|
2395
|
+
<tr>
|
2396
|
+
<td>run</td>
|
2397
|
+
<td>$0 == app_file</td>
|
2398
|
+
<td>false</td>
|
2399
|
+
<td>false</td>
|
2400
|
+
</tr>
|
2401
|
+
|
2402
|
+
<tr>
|
2403
|
+
<td>logging</td>
|
2404
|
+
<td>true</td>
|
2405
|
+
<td>false</td>
|
2406
|
+
<td>true</td>
|
2407
|
+
</tr>
|
2408
|
+
|
2409
|
+
<tr>
|
2410
|
+
<td>method_override</td>
|
2411
|
+
<td>true</td>
|
2412
|
+
<td>false</td>
|
2413
|
+
<td>true</td>
|
2414
|
+
</tr>
|
2415
|
+
|
2416
|
+
<tr>
|
2417
|
+
<td>inline_templates</td>
|
2418
|
+
<td>true</td>
|
2419
|
+
<td>false</td>
|
2420
|
+
<td>true</td>
|
2421
|
+
</tr>
|
2422
|
+
|
2423
|
+
<tr>
|
2424
|
+
<td>static</td>
|
2425
|
+
<td>true</td>
|
2426
|
+
<td>File.exist?(public_folder)</td>
|
2427
|
+
<td>true</td>
|
2428
|
+
</tr>
|
2429
|
+
</table>
|
2430
|
+
|
2431
|
+
### 运行一个模块化应用
|
2432
|
+
|
2433
|
+
模块化应用的启动有两种常见方式,其中之一是使用 `run!` 方法主动启动:
|
2434
|
+
|
2435
|
+
```ruby
|
2436
|
+
# my_app.rb
|
2437
|
+
require 'sinatra/base'
|
2438
|
+
|
2439
|
+
class MyApp < Sinatra::Base
|
2440
|
+
# ... 这里是应用代码 ...
|
2441
|
+
|
2442
|
+
# 如果直接执行该文件,那么启动服务器
|
2443
|
+
run! if app_file == $0
|
2444
|
+
end
|
2445
|
+
```
|
2446
|
+
|
2447
|
+
执行该文件就会启动服务器:
|
2448
|
+
|
2449
|
+
```shell
|
2450
|
+
ruby my_app.rb
|
2451
|
+
```
|
2452
|
+
|
2453
|
+
另一种方式是使用 `config.ru` 文件,这种方式允许你使用任何 Rack 处理器:
|
2454
|
+
|
2455
|
+
```ruby
|
2456
|
+
# config.ru (用 rackup 启动)
|
2457
|
+
require './my_app'
|
2458
|
+
run MyApp
|
2459
|
+
```
|
2460
|
+
|
2461
|
+
运行:
|
2462
|
+
|
2463
|
+
```shell
|
2464
|
+
rackup -p 4567
|
2465
|
+
```
|
2466
|
+
|
2467
|
+
### 使用 config.ru 运行经典风格的应用
|
2468
|
+
|
2469
|
+
编写你的应用:
|
2470
|
+
|
2471
|
+
```ruby
|
2472
|
+
# app.rb
|
2473
|
+
require 'sinatra'
|
2474
|
+
|
2475
|
+
get '/' do
|
2476
|
+
'Hello world!'
|
2477
|
+
end
|
2478
|
+
```
|
2479
|
+
|
2480
|
+
添加相应的 `config.ru`:
|
2481
|
+
|
2482
|
+
```ruby
|
2483
|
+
require './app'
|
2484
|
+
run Sinatra::Application
|
2485
|
+
```
|
2486
|
+
|
2487
|
+
### 何时使用 config.ru?
|
2488
|
+
|
2489
|
+
下列情况,推荐使用 `config.ru`:
|
2490
|
+
|
2491
|
+
* 部署时使用不同的 Rack 处理器 (Passenger、Unicorn、Heroku 等)。
|
2492
|
+
* 使用多个 `Sinatra::Base` 的子类。
|
2493
|
+
* 把 Sinatra 当作中间件使用,而非端点。
|
2494
|
+
|
2495
|
+
**你不必仅仅因为想使用模块化风格而切换到 `config.ru`,同样的,
|
2496
|
+
你也不必仅仅因为要运行 `config.ru` 而切换到模块化风格。**
|
2497
|
+
|
2498
|
+
### 把 Sinatra 当作中间件使用
|
2499
|
+
|
2500
|
+
Sinatra 可以使用其它 Rack 中间件,
|
2501
|
+
反过来,任何 Sinatra 应用程序自身都可以被当作中间件,添加到任何 Rack 端点前面。
|
2502
|
+
此端点可以是任何 Sinatra 应用,或任何基于 Rack 的应用程序 (Rails/Ramaze/Camping/...):
|
2503
|
+
|
2504
|
+
```ruby
|
2505
|
+
require 'sinatra/base'
|
2506
|
+
|
2507
|
+
class LoginScreen < Sinatra::Base
|
2508
|
+
enable :sessions
|
2509
|
+
|
2510
|
+
get('/login') { haml :login }
|
2511
|
+
|
2512
|
+
post('/login') do
|
2513
|
+
if params['name'] == 'admin' && params['password'] == 'admin'
|
2514
|
+
session['user_name'] = params['name']
|
2515
|
+
else
|
2516
|
+
redirect '/login'
|
2517
|
+
end
|
2518
|
+
end
|
2519
|
+
end
|
2520
|
+
|
2521
|
+
class MyApp < Sinatra::Base
|
2522
|
+
# 中间件的执行发生在 before 过滤器之前
|
2523
|
+
use LoginScreen
|
2524
|
+
|
2525
|
+
before do
|
2526
|
+
unless session['user_name']
|
2527
|
+
halt "Access denied, please <a href='/login'>login</a>."
|
2528
|
+
end
|
2529
|
+
end
|
2530
|
+
|
2531
|
+
get('/') { "Hello #{session['user_name']}." }
|
2532
|
+
end
|
2533
|
+
```
|
2534
|
+
|
2535
|
+
### 创建动态应用
|
2536
|
+
|
2537
|
+
有时你希望在运行时创建新应用,而不必把应用预先赋值给常量。这时可以使用 `Sinatra.new`:
|
2538
|
+
|
2539
|
+
```ruby
|
2540
|
+
require 'sinatra/base'
|
2541
|
+
my_app = Sinatra.new { get('/') { "hi" } }
|
2542
|
+
my_app.run!
|
2543
|
+
```
|
2544
|
+
|
2545
|
+
`Sinatra.new` 接受一个可选的参数,表示要继承的应用:
|
2546
|
+
|
2547
|
+
```ruby
|
2548
|
+
# config.ru (用 rackup 启动)
|
2549
|
+
require 'sinatra/base'
|
2550
|
+
|
2551
|
+
controller = Sinatra.new do
|
2552
|
+
enable :logging
|
2553
|
+
helpers MyHelpers
|
2554
|
+
end
|
2555
|
+
|
2556
|
+
map('/a') do
|
2557
|
+
run Sinatra.new(controller) { get('/') { 'a' } }
|
2558
|
+
end
|
2559
|
+
|
2560
|
+
map('/b') do
|
2561
|
+
run Sinatra.new(controller) { get('/') { 'b' } }
|
2562
|
+
end
|
2563
|
+
```
|
2564
|
+
|
2565
|
+
当你测试 Sinatra 扩展或在自己的类库中使用 Sinatra 时,这非常有用。
|
2566
|
+
|
2567
|
+
这也让把 Sinatra 当作中间件使用变得极其容易:
|
2568
|
+
|
2569
|
+
```ruby
|
2570
|
+
require 'sinatra/base'
|
2571
|
+
|
2572
|
+
use Sinatra do
|
2573
|
+
get('/') { ... }
|
2574
|
+
end
|
2575
|
+
|
2576
|
+
run RailsProject::Application
|
2577
|
+
```
|
2578
|
+
|
2579
|
+
## 作用域和绑定
|
2580
|
+
|
2581
|
+
当前作用域决定了可以使用的方法和变量。
|
2582
|
+
|
2583
|
+
### 应用/类作用域
|
2584
|
+
|
2585
|
+
每个 Sinatra 应用都对应 `Sinatra::Base` 类的一个子类。
|
2586
|
+
如果你在使用顶层 DSL (`require 'sinatra'`),那么这个类就是 `Sinatra::Application`,
|
2587
|
+
否则该类是你显式创建的子类。
|
2588
|
+
在类层面,你可以使用 `get` 或 `before` 这样的方法,
|
2589
|
+
但不能访问 `request` 或 `session` 对象, 因为对于所有的请求,只有单一的应用类。
|
2590
|
+
|
2591
|
+
通过 `set` 创建的选项是类方法:
|
2592
|
+
|
2593
|
+
```ruby
|
2594
|
+
class MyApp < Sinatra::Base
|
2595
|
+
# 嘿,我在应用作用域!
|
2596
|
+
set :foo, 42
|
2597
|
+
foo # => 42
|
2598
|
+
|
2599
|
+
get '/foo' do
|
2600
|
+
# 嘿,我已经不在应用作用域了!
|
2601
|
+
end
|
2602
|
+
end
|
2603
|
+
```
|
2604
|
+
|
2605
|
+
下列位置绑定的是应用作用域:
|
2606
|
+
|
2607
|
+
* 应用类内部
|
2608
|
+
* 通过扩展定义的方法内部
|
2609
|
+
* 传递给 `helpers` 方法的代码块内部
|
2610
|
+
* 作为 `set` 值的 procs/blocks 内部
|
2611
|
+
* 传递给 `Sinatra.new` 的代码块内部
|
2612
|
+
|
2613
|
+
你可以这样访问变量域对象(应用类):
|
2614
|
+
* 通过传递给 configure 代码块的对象 (`configure { |c| ... }`)
|
2615
|
+
* 在请求作用域中使用 `settings`
|
2616
|
+
|
2617
|
+
### 请求/实例作用域
|
2618
|
+
|
2619
|
+
对于每个请求,Sinatra 会创建应用类的一个新实例。所有的处理器代码块都在该实例对象的作用域中运行。
|
2620
|
+
在该作用域中, 你可以访问 `request` 和 `session` 对象,
|
2621
|
+
或调用渲染方法(如 `erb`、`haml`)。你可以在请求作用域中通过 `settings` 辅助方法
|
2622
|
+
访问应用作用域:
|
2623
|
+
|
2624
|
+
```ruby
|
2625
|
+
class MyApp < Sinatra::Base
|
2626
|
+
# 嘿,我在应用作用域!
|
2627
|
+
get '/define_route/:name' do
|
2628
|
+
# '/define_route/:name' 的请求作用域
|
2629
|
+
@value = 42
|
2630
|
+
|
2631
|
+
settings.get("/#{params['name']}") do
|
2632
|
+
# "/#{params['name']}" 的请求作用域
|
2633
|
+
@value # => nil (并不是同一个请求)
|
2634
|
+
end
|
2635
|
+
|
2636
|
+
"Route defined!"
|
2637
|
+
end
|
2638
|
+
end
|
2639
|
+
```
|
2640
|
+
|
2641
|
+
以下位置绑定的是请求作用域:
|
2642
|
+
|
2643
|
+
* get、head、post、put、delete、options、patch、link 和 unlink 代码块内部
|
2644
|
+
* before 和 after 过滤器内部
|
2645
|
+
* 辅助方法内部
|
2646
|
+
* 模板/视图内部
|
2647
|
+
|
2648
|
+
### 代理作用域
|
2649
|
+
|
2650
|
+
代理作用域只是把方法转送到类作用域。
|
2651
|
+
然而,它与类作用域的行为并不完全相同, 因为你并不能在代理作用域获得类的绑定。
|
2652
|
+
只有显式地标记为供代理使用的方法才是可用的,
|
2653
|
+
而且你不能和类作用域共享变量/状态。(解释:你有了一个不同的 `self`)。
|
2654
|
+
你可以通过调用 `Sinatra::Delegator.delegate :method_name` 显式地添加方法代理。
|
2655
|
+
|
2656
|
+
以下位置绑定的是代理变量域:
|
2657
|
+
* 顶层绑定,如果你执行了 `require "sinatra"`
|
2658
|
+
* 扩展了 `Sinatra::Delegator` 这一 mixin 的对象内部
|
2659
|
+
|
2660
|
+
自己在这里看一下源码:[Sinatra::Delegator
|
2661
|
+
mixin](https://github.com/sinatra/sinatra/blob/ca06364/lib/sinatra/base.rb#L1609-1633)
|
2662
|
+
已经
|
2663
|
+
[被扩展进了 main 对象](https://github.com/sinatra/sinatra/blob/ca06364/lib/sinatra/main.rb#L28-30)。
|
2664
|
+
|
2665
|
+
## 命令行
|
2666
|
+
|
2667
|
+
可以直接运行 Sinatra 应用:
|
2668
|
+
|
2669
|
+
```shell
|
2670
|
+
ruby myapp.rb [-h] [-x] [-e ENVIRONMENT] [-p PORT] [-o HOST] [-s HANDLER]
|
2671
|
+
```
|
2672
|
+
|
2673
|
+
选项是:
|
2674
|
+
|
2675
|
+
```
|
2676
|
+
-h # 显示帮助
|
2677
|
+
-p # 设置端口号 (默认是 4567)
|
2678
|
+
-o # 设定主机名 (默认是 0.0.0.0)
|
2679
|
+
-e # 设置环境 (默认是 development)
|
2680
|
+
-s # 声明 rack 服务器/处理器 (默认是 thin)
|
2681
|
+
-x # 打开互斥锁 (默认是 off)
|
2682
|
+
```
|
2683
|
+
|
2684
|
+
### 多线程
|
2685
|
+
|
2686
|
+
_根据 Konstantin 的 [这个 StackOverflow 答案] [so-answer] 改写_
|
2687
|
+
|
2688
|
+
Sinatra 本身并不使用任何并发模型,而是将并发的任务留给底层的
|
2689
|
+
Rack 处理器(服务器),如 Thin、Puma 或 WEBrick。Sinatra 本身是线程安全的,所以
|
2690
|
+
Rack 处理器使用多线程并发模型并无任何问题。这意味着在启动服务器时,你必须指定特定
|
2691
|
+
Rack 处理器的正确调用方法。
|
2692
|
+
下面的例子展示了如何启动一个多线程的 Thin 服务器:
|
2693
|
+
|
2694
|
+
```ruby
|
2695
|
+
# app.rb
|
2696
|
+
|
2697
|
+
require 'sinatra/base'
|
2698
|
+
|
2699
|
+
class App < Sinatra::Base
|
2700
|
+
get '/' do
|
2701
|
+
"Hello, World"
|
2702
|
+
end
|
2703
|
+
end
|
2704
|
+
|
2705
|
+
App.run!
|
2706
|
+
|
2707
|
+
```
|
2708
|
+
|
2709
|
+
启动服务器的命令是:
|
2710
|
+
|
2711
|
+
```shell
|
2712
|
+
thin --threaded start
|
2713
|
+
```
|
2714
|
+
|
2715
|
+
|
2716
|
+
[so-answer]: http://stackoverflow.com/questions/6278817/is-sinatra-multi-threaded/6282999#6282999)
|
2717
|
+
|
2718
|
+
## 必要条件
|
2719
|
+
|
2720
|
+
以下 Ruby 版本受官方支持:
|
2721
|
+
<dl>
|
2722
|
+
<dt>Ruby 1.8.7</dt>
|
2723
|
+
<dd>
|
2724
|
+
Sinatra 完全支持 1.8.7,但是,除非必要,我们推荐你升级或者切换到
|
2725
|
+
JRuby 或 Rubinius。Sinatra 2.0 之前都不会取消对 1.8.7
|
2726
|
+
的支持。Ruby 1.8.6 目前已不受支持。
|
2727
|
+
</dd>
|
2728
|
+
|
2729
|
+
<dt>Ruby 1.9.2</dt>
|
2730
|
+
<dd>
|
2731
|
+
Sinatra 完全支持 1.9.2。
|
2732
|
+
不要使用 1.9.2p0,它在运行 Sinatra 程序时会产生 segmentation faults 错误。
|
2733
|
+
至少在 Sinatra 1.5 发布之前,官方对 1.9.2 的支持仍会继续。
|
2734
|
+
</dd>
|
2735
|
+
|
2736
|
+
<dt>Ruby 1.9.3</dt>
|
2737
|
+
<dd>
|
2738
|
+
Sinatra 完全支持并推荐使用 1.9.3。请注意从更早的版本迁移到 1.9.3 会使所有的会话失效。
|
2739
|
+
直到 Sinatra 2.0 发布之前,官方仍然会支持 1.9.3。
|
2740
|
+
</dd>
|
2741
|
+
|
2742
|
+
<dt>Ruby 2.x</dt>
|
2743
|
+
<dd>
|
2744
|
+
Sinatra 完全支持并推荐使用 2.x。目前尚无停止支持 2.x 的计划。
|
2745
|
+
</dd>
|
2746
|
+
|
2747
|
+
<dt>Rubinius</dt>
|
2748
|
+
<dd>
|
2749
|
+
Sinatra 官方支持 Rubinius (Rubinius >= 2.x)。推荐 <tt>gem install puma</tt>。
|
2750
|
+
</dd>
|
2751
|
+
|
2752
|
+
<dt>JRuby</dt>
|
2753
|
+
<dd>
|
2754
|
+
Sinatra 官方支持 JRuby 的最新稳定版本,但不推荐在 JRuby 上使用 C 扩展。
|
2755
|
+
推荐 <tt>gem install trinidad</tt>。
|
2756
|
+
</dd>
|
2757
|
+
</dl>
|
2758
|
+
|
2759
|
+
我们也在时刻关注新的 Ruby 版本。
|
2760
|
+
|
2761
|
+
以下 Ruby 实现不受 Sinatra 官方支持,但可以运行 Sinatra:
|
2762
|
+
|
2763
|
+
* 老版本 JRuby 和 Rubinius
|
2764
|
+
* Ruby 企业版
|
2765
|
+
* MacRuby、Maglev、IronRuby
|
2766
|
+
* Ruby 1.9.0 和 1.9.1 (不推荐使用)
|
2767
|
+
|
2768
|
+
不受官方支持的意思是,如果仅在不受支持的 Ruby 实现上发生错误,我们认为不是我们的问题,而是该实现的问题。
|
2769
|
+
|
2770
|
+
我们同时也针对 ruby-head (MRI 的未来版本)运行 CI,但由于 ruby-head 一直处在变化之中,
|
2771
|
+
我们不能作任何保证。我们期望完全支持未来的 2.x 版本。
|
2772
|
+
|
2773
|
+
Sinatra 应该会运行在任何支持上述 Ruby 实现的操作系统上。
|
2774
|
+
|
2775
|
+
如果你使用 MacRuby,你应该 `gem install control_tower`。
|
2776
|
+
|
2777
|
+
Sinatra 目前不支持 Cardinal、SmallRuby、BlueRuby 或其它 1.8.7 之前的 Ruby 版本。
|
2778
|
+
|
2779
|
+
## 紧跟前沿
|
2780
|
+
|
2781
|
+
如果你想使用 Sinatra 的最新代码,请放心使用 master 分支来运行你的程序,它是相当稳定的。
|
2782
|
+
|
2783
|
+
我们也会不定期推出 prerelease gems,所以你也可以运行
|
2784
|
+
|
2785
|
+
```shell
|
2786
|
+
gem install sinatra --pre
|
2787
|
+
```
|
2788
|
+
|
2789
|
+
来获得最新的特性。
|
2790
|
+
|
2791
|
+
### 通过 Bundler 使用 Sinatra
|
2792
|
+
|
2793
|
+
如果你想在应用中使用最新的 Sinatra,推荐使用 [Bundler](http://bundler.io)。
|
2794
|
+
|
2795
|
+
首先,安装 Bundler,如果你还没有安装的话:
|
2796
|
+
|
2797
|
+
```shell
|
2798
|
+
gem install bundler
|
2799
|
+
```
|
2800
|
+
|
2801
|
+
然后,在你的项目目录下创建一个 `Gemfile`:
|
2802
|
+
|
2803
|
+
```ruby
|
2804
|
+
source 'https://rubygems.org'
|
2805
|
+
gem 'sinatra', :github => "sinatra/sinatra"
|
2806
|
+
|
2807
|
+
# 其它依赖
|
2808
|
+
gem 'haml' # 假如你使用 haml
|
2809
|
+
gem 'activerecord', '~> 3.0' # 也许你还需要 ActiveRecord 3.x
|
2810
|
+
```
|
2811
|
+
|
2812
|
+
请注意你必须在 `Gemfile` 中列出应用的所有依赖项。
|
2813
|
+
然而, Sinatra 的直接依赖项 (Rack 和 Tilt) 则会被 Bundler 自动获取和添加。
|
2814
|
+
|
2815
|
+
现在你可以这样运行你的应用:
|
2816
|
+
|
2817
|
+
```shell
|
2818
|
+
bundle exec ruby myapp.rb
|
2819
|
+
```
|
2820
|
+
|
2821
|
+
### 使用自己本地的 Sinatra
|
2822
|
+
|
2823
|
+
创建一个本地克隆,并通过 `$LOAD_PATH` 里的 `sinatra/lib` 目录运行你的应用:
|
2824
|
+
|
2825
|
+
```shell
|
2826
|
+
cd myapp
|
2827
|
+
git clone git://github.com/sinatra/sinatra.git
|
2828
|
+
ruby -I sinatra/lib myapp.rb
|
2829
|
+
```
|
2830
|
+
|
2831
|
+
为了在未来更新 Sinatra 源代码:
|
2832
|
+
|
2833
|
+
```shell
|
2834
|
+
cd myapp/sinatra
|
2835
|
+
git pull
|
2836
|
+
```
|
2837
|
+
|
2838
|
+
### 全局安装
|
2839
|
+
|
2840
|
+
你可以自行编译 Sinatra gem:
|
2841
|
+
|
2842
|
+
```shell
|
2843
|
+
git clone git://github.com/sinatra/sinatra.git
|
2844
|
+
cd sinatra
|
2845
|
+
rake sinatra.gemspec
|
2846
|
+
rake install
|
2847
|
+
```
|
2848
|
+
|
2849
|
+
如果你以 root 身份安装 gems,最后一步应该是:
|
2850
|
+
|
2851
|
+
```shell
|
2852
|
+
sudo rake install
|
2853
|
+
```
|
2854
|
+
|
2855
|
+
## 版本
|
2856
|
+
|
2857
|
+
Sinatra 遵循[语义化版本](http://semver.org),无论是 SemVer 还是 SemVerTag。
|
2858
|
+
|
2859
|
+
## 更多资料
|
2860
|
+
|
2861
|
+
* [项目官网](http://www.sinatrarb.com/) - 更多文档、新闻和其它资源的链接。
|
2862
|
+
* [贡献](http://www.sinatrarb.com/contributing) - 找到一个 bug?需要帮助?有了一个 patch?
|
2863
|
+
* [问题追踪](https://github.com/sinatra/sinatra/issues)
|
2864
|
+
* [Twitter](https://twitter.com/sinatra)
|
2865
|
+
* [邮件列表](http://groups.google.com/group/sinatrarb/topics)
|
2866
|
+
* IRC: [#sinatra](irc://chat.freenode.net/#sinatra) on http://freenode.net
|
2867
|
+
* [Sinatra & Friends](https://sinatrarb.slack.com) on Slack,点击
|
2868
|
+
[这里](https://sinatra-slack.herokuapp.com/) 获得邀请。
|
2869
|
+
* [Sinatra Book](https://github.com/sinatra/sinatra-book/) Cookbook 教程
|
2870
|
+
* [Sinatra Recipes](http://recipes.sinatrarb.com/) 社区贡献的实用技巧
|
2871
|
+
* http://www.rubydoc.info/ 上[最新版本](http://www.rubydoc.info//gems/sinatra)或[当前 HEAD](http://www.rubydoc.info/github/sinatra/sinatra) 的 API 文档
|
2872
|
+
* [CI 服务器](https://travis-ci.org/sinatra/sinatra)
|