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,3800 @@
|
|
1
|
+
/*
|
2
|
+
* Written by Doug Lea with assistance from members of JCP JSR-166
|
3
|
+
* Expert Group and released to the public domain, as explained at
|
4
|
+
* http://creativecommons.org/publicdomain/zero/1.0/
|
5
|
+
*/
|
6
|
+
|
7
|
+
// This is based on the 1.79 version.
|
8
|
+
|
9
|
+
package org.jruby.ext.thread_safe.jsr166e.nounsafe;
|
10
|
+
|
11
|
+
import org.jruby.RubyClass;
|
12
|
+
import org.jruby.RubyNumeric;
|
13
|
+
import org.jruby.RubyObject;
|
14
|
+
import org.jruby.exceptions.RaiseException;
|
15
|
+
import org.jruby.ext.thread_safe.jsr166e.ConcurrentHashMap;
|
16
|
+
import org.jruby.ext.thread_safe.jsr166y.ThreadLocalRandom;
|
17
|
+
import org.jruby.runtime.ThreadContext;
|
18
|
+
import org.jruby.runtime.builtin.IRubyObject;
|
19
|
+
|
20
|
+
import java.util.Arrays;
|
21
|
+
import java.util.Map;
|
22
|
+
import java.util.Set;
|
23
|
+
import java.util.Collection;
|
24
|
+
import java.util.Hashtable;
|
25
|
+
import java.util.HashMap;
|
26
|
+
import java.util.Iterator;
|
27
|
+
import java.util.Enumeration;
|
28
|
+
import java.util.ConcurrentModificationException;
|
29
|
+
import java.util.NoSuchElementException;
|
30
|
+
import java.util.concurrent.ConcurrentMap;
|
31
|
+
import java.util.concurrent.atomic.AtomicIntegerFieldUpdater;
|
32
|
+
import java.util.concurrent.atomic.AtomicReferenceArray;
|
33
|
+
import java.util.concurrent.locks.AbstractQueuedSynchronizer;
|
34
|
+
|
35
|
+
import java.io.Serializable;
|
36
|
+
|
37
|
+
/**
|
38
|
+
* A hash table supporting full concurrency of retrievals and
|
39
|
+
* high expected concurrency for updates. This class obeys the
|
40
|
+
* same functional specification as {@link java.util.Hashtable}, and
|
41
|
+
* includes versions of methods corresponding to each method of
|
42
|
+
* {@code Hashtable}. However, even though all operations are
|
43
|
+
* thread-safe, retrieval operations do <em>not</em> entail locking,
|
44
|
+
* and there is <em>not</em> any support for locking the entire table
|
45
|
+
* in a way that prevents all access. This class is fully
|
46
|
+
* interoperable with {@code Hashtable} in programs that rely on its
|
47
|
+
* thread safety but not on its synchronization details.
|
48
|
+
*
|
49
|
+
* <p>Retrieval operations (including {@code get}) generally do not
|
50
|
+
* block, so may overlap with update operations (including {@code put}
|
51
|
+
* and {@code remove}). Retrievals reflect the results of the most
|
52
|
+
* recently <em>completed</em> update operations holding upon their
|
53
|
+
* onset. (More formally, an update operation for a given key bears a
|
54
|
+
* <em>happens-before</em> relation with any (non-null) retrieval for
|
55
|
+
* that key reporting the updated value.) For aggregate operations
|
56
|
+
* such as {@code putAll} and {@code clear}, concurrent retrievals may
|
57
|
+
* reflect insertion or removal of only some entries. Similarly,
|
58
|
+
* Iterators and Enumerations return elements reflecting the state of
|
59
|
+
* the hash table at some point at or since the creation of the
|
60
|
+
* iterator/enumeration. They do <em>not</em> throw {@link
|
61
|
+
* ConcurrentModificationException}. However, iterators are designed
|
62
|
+
* to be used by only one thread at a time. Bear in mind that the
|
63
|
+
* results of aggregate status methods including {@code size}, {@code
|
64
|
+
* isEmpty}, and {@code containsValue} are typically useful only when
|
65
|
+
* a map is not undergoing concurrent updates in other threads.
|
66
|
+
* Otherwise the results of these methods reflect transient states
|
67
|
+
* that may be adequate for monitoring or estimation purposes, but not
|
68
|
+
* for program control.
|
69
|
+
*
|
70
|
+
* <p>The table is dynamically expanded when there are too many
|
71
|
+
* collisions (i.e., keys that have distinct hash codes but fall into
|
72
|
+
* the same slot modulo the table size), with the expected average
|
73
|
+
* effect of maintaining roughly two bins per mapping (corresponding
|
74
|
+
* to a 0.75 load factor threshold for resizing). There may be much
|
75
|
+
* variance around this average as mappings are added and removed, but
|
76
|
+
* overall, this maintains a commonly accepted time/space tradeoff for
|
77
|
+
* hash tables. However, resizing this or any other kind of hash
|
78
|
+
* table may be a relatively slow operation. When possible, it is a
|
79
|
+
* good idea to provide a size estimate as an optional {@code
|
80
|
+
* initialCapacity} constructor argument. An additional optional
|
81
|
+
* {@code loadFactor} constructor argument provides a further means of
|
82
|
+
* customizing initial table capacity by specifying the table density
|
83
|
+
* to be used in calculating the amount of space to allocate for the
|
84
|
+
* given number of elements. Also, for compatibility with previous
|
85
|
+
* versions of this class, constructors may optionally specify an
|
86
|
+
* expected {@code concurrencyLevel} as an additional hint for
|
87
|
+
* internal sizing. Note that using many keys with exactly the same
|
88
|
+
* {@code hashCode()} is a sure way to slow down performance of any
|
89
|
+
* hash table.
|
90
|
+
*
|
91
|
+
* <p>A {@link Set} projection of a ConcurrentHashMapV8 may be created
|
92
|
+
* (using {@link #newKeySet()} or {@link #newKeySet(int)}), or viewed
|
93
|
+
* (using {@link #keySet(Object)} when only keys are of interest, and the
|
94
|
+
* mapped values are (perhaps transiently) not used or all take the
|
95
|
+
* same mapping value.
|
96
|
+
*
|
97
|
+
* <p>A ConcurrentHashMapV8 can be used as scalable frequency map (a
|
98
|
+
* form of histogram or multiset) by using {@link LongAdder} values
|
99
|
+
* and initializing via {@link #computeIfAbsent}. For example, to add
|
100
|
+
* a count to a {@code ConcurrentHashMapV8<String,LongAdder> freqs}, you
|
101
|
+
* can use {@code freqs.computeIfAbsent(k -> new
|
102
|
+
* LongAdder()).increment();}
|
103
|
+
*
|
104
|
+
* <p>This class and its views and iterators implement all of the
|
105
|
+
* <em>optional</em> methods of the {@link Map} and {@link Iterator}
|
106
|
+
* interfaces.
|
107
|
+
*
|
108
|
+
* <p>Like {@link Hashtable} but unlike {@link HashMap}, this class
|
109
|
+
* does <em>not</em> allow {@code null} to be used as a key or value.
|
110
|
+
*
|
111
|
+
* <p>ConcurrentHashMapV8s support parallel operations using the {@link
|
112
|
+
* ForkJoinPool#commonPool}. (Tasks that may be used in other contexts
|
113
|
+
* are available in class {@link ForkJoinTasks}). These operations are
|
114
|
+
* designed to be safely, and often sensibly, applied even with maps
|
115
|
+
* that are being concurrently updated by other threads; for example,
|
116
|
+
* when computing a snapshot summary of the values in a shared
|
117
|
+
* registry. There are three kinds of operation, each with four
|
118
|
+
* forms, accepting functions with Keys, Values, Entries, and (Key,
|
119
|
+
* Value) arguments and/or return values. (The first three forms are
|
120
|
+
* also available via the {@link #keySet()}, {@link #values()} and
|
121
|
+
* {@link #entrySet()} views). Because the elements of a
|
122
|
+
* ConcurrentHashMapV8 are not ordered in any particular way, and may be
|
123
|
+
* processed in different orders in different parallel executions, the
|
124
|
+
* correctness of supplied functions should not depend on any
|
125
|
+
* ordering, or on any other objects or values that may transiently
|
126
|
+
* change while computation is in progress; and except for forEach
|
127
|
+
* actions, should ideally be side-effect-free.
|
128
|
+
*
|
129
|
+
* <ul>
|
130
|
+
* <li> forEach: Perform a given action on each element.
|
131
|
+
* A variant form applies a given transformation on each element
|
132
|
+
* before performing the action.</li>
|
133
|
+
*
|
134
|
+
* <li> search: Return the first available non-null result of
|
135
|
+
* applying a given function on each element; skipping further
|
136
|
+
* search when a result is found.</li>
|
137
|
+
*
|
138
|
+
* <li> reduce: Accumulate each element. The supplied reduction
|
139
|
+
* function cannot rely on ordering (more formally, it should be
|
140
|
+
* both associative and commutative). There are five variants:
|
141
|
+
*
|
142
|
+
* <ul>
|
143
|
+
*
|
144
|
+
* <li> Plain reductions. (There is not a form of this method for
|
145
|
+
* (key, value) function arguments since there is no corresponding
|
146
|
+
* return type.)</li>
|
147
|
+
*
|
148
|
+
* <li> Mapped reductions that accumulate the results of a given
|
149
|
+
* function applied to each element.</li>
|
150
|
+
*
|
151
|
+
* <li> Reductions to scalar doubles, longs, and ints, using a
|
152
|
+
* given basis value.</li>
|
153
|
+
*
|
154
|
+
* </li>
|
155
|
+
* </ul>
|
156
|
+
* </ul>
|
157
|
+
*
|
158
|
+
* <p>The concurrency properties of bulk operations follow
|
159
|
+
* from those of ConcurrentHashMapV8: Any non-null result returned
|
160
|
+
* from {@code get(key)} and related access methods bears a
|
161
|
+
* happens-before relation with the associated insertion or
|
162
|
+
* update. The result of any bulk operation reflects the
|
163
|
+
* composition of these per-element relations (but is not
|
164
|
+
* necessarily atomic with respect to the map as a whole unless it
|
165
|
+
* is somehow known to be quiescent). Conversely, because keys
|
166
|
+
* and values in the map are never null, null serves as a reliable
|
167
|
+
* atomic indicator of the current lack of any result. To
|
168
|
+
* maintain this property, null serves as an implicit basis for
|
169
|
+
* all non-scalar reduction operations. For the double, long, and
|
170
|
+
* int versions, the basis should be one that, when combined with
|
171
|
+
* any other value, returns that other value (more formally, it
|
172
|
+
* should be the identity element for the reduction). Most common
|
173
|
+
* reductions have these properties; for example, computing a sum
|
174
|
+
* with basis 0 or a minimum with basis MAX_VALUE.
|
175
|
+
*
|
176
|
+
* <p>Search and transformation functions provided as arguments
|
177
|
+
* should similarly return null to indicate the lack of any result
|
178
|
+
* (in which case it is not used). In the case of mapped
|
179
|
+
* reductions, this also enables transformations to serve as
|
180
|
+
* filters, returning null (or, in the case of primitive
|
181
|
+
* specializations, the identity basis) if the element should not
|
182
|
+
* be combined. You can create compound transformations and
|
183
|
+
* filterings by composing them yourself under this "null means
|
184
|
+
* there is nothing there now" rule before using them in search or
|
185
|
+
* reduce operations.
|
186
|
+
*
|
187
|
+
* <p>Methods accepting and/or returning Entry arguments maintain
|
188
|
+
* key-value associations. They may be useful for example when
|
189
|
+
* finding the key for the greatest value. Note that "plain" Entry
|
190
|
+
* arguments can be supplied using {@code new
|
191
|
+
* AbstractMap.SimpleEntry(k,v)}.
|
192
|
+
*
|
193
|
+
* <p>Bulk operations may complete abruptly, throwing an
|
194
|
+
* exception encountered in the application of a supplied
|
195
|
+
* function. Bear in mind when handling such exceptions that other
|
196
|
+
* concurrently executing functions could also have thrown
|
197
|
+
* exceptions, or would have done so if the first exception had
|
198
|
+
* not occurred.
|
199
|
+
*
|
200
|
+
* <p>Parallel speedups for bulk operations compared to sequential
|
201
|
+
* processing are common but not guaranteed. Operations involving
|
202
|
+
* brief functions on small maps may execute more slowly than
|
203
|
+
* sequential loops if the underlying work to parallelize the
|
204
|
+
* computation is more expensive than the computation itself.
|
205
|
+
* Similarly, parallelization may not lead to much actual parallelism
|
206
|
+
* if all processors are busy performing unrelated tasks.
|
207
|
+
*
|
208
|
+
* <p>All arguments to all task methods must be non-null.
|
209
|
+
*
|
210
|
+
* <p><em>jsr166e note: During transition, this class
|
211
|
+
* uses nested functional interfaces with different names but the
|
212
|
+
* same forms as those expected for JDK8.</em>
|
213
|
+
*
|
214
|
+
* <p>This class is a member of the
|
215
|
+
* <a href="{@docRoot}/../technotes/guides/collections/index.html">
|
216
|
+
* Java Collections Framework</a>.
|
217
|
+
*
|
218
|
+
* @since 1.5
|
219
|
+
* @author Doug Lea
|
220
|
+
* @param <K> the type of keys maintained by this map
|
221
|
+
* @param <V> the type of mapped values
|
222
|
+
*/
|
223
|
+
public class ConcurrentHashMapV8<K, V>
|
224
|
+
implements ConcurrentMap<K, V>, Serializable, ConcurrentHashMap<K, V> {
|
225
|
+
private static final long serialVersionUID = 7249069246763182397L;
|
226
|
+
|
227
|
+
/**
|
228
|
+
* A partitionable iterator. A Spliterator can be traversed
|
229
|
+
* directly, but can also be partitioned (before traversal) by
|
230
|
+
* creating another Spliterator that covers a non-overlapping
|
231
|
+
* portion of the elements, and so may be amenable to parallel
|
232
|
+
* execution.
|
233
|
+
*
|
234
|
+
* <p>This interface exports a subset of expected JDK8
|
235
|
+
* functionality.
|
236
|
+
*
|
237
|
+
* <p>Sample usage: Here is one (of the several) ways to compute
|
238
|
+
* the sum of the values held in a map using the ForkJoin
|
239
|
+
* framework. As illustrated here, Spliterators are well suited to
|
240
|
+
* designs in which a task repeatedly splits off half its work
|
241
|
+
* into forked subtasks until small enough to process directly,
|
242
|
+
* and then joins these subtasks. Variants of this style can also
|
243
|
+
* be used in completion-based designs.
|
244
|
+
*
|
245
|
+
* <pre>
|
246
|
+
* {@code ConcurrentHashMapV8<String, Long> m = ...
|
247
|
+
* // split as if have 8 * parallelism, for load balance
|
248
|
+
* int n = m.size();
|
249
|
+
* int p = aForkJoinPool.getParallelism() * 8;
|
250
|
+
* int split = (n < p)? n : p;
|
251
|
+
* long sum = aForkJoinPool.invoke(new SumValues(m.valueSpliterator(), split, null));
|
252
|
+
* // ...
|
253
|
+
* static class SumValues extends RecursiveTask<Long> {
|
254
|
+
* final Spliterator<Long> s;
|
255
|
+
* final int split; // split while > 1
|
256
|
+
* final SumValues nextJoin; // records forked subtasks to join
|
257
|
+
* SumValues(Spliterator<Long> s, int depth, SumValues nextJoin) {
|
258
|
+
* this.s = s; this.depth = depth; this.nextJoin = nextJoin;
|
259
|
+
* }
|
260
|
+
* public Long compute() {
|
261
|
+
* long sum = 0;
|
262
|
+
* SumValues subtasks = null; // fork subtasks
|
263
|
+
* for (int s = split >>> 1; s > 0; s >>>= 1)
|
264
|
+
* (subtasks = new SumValues(s.split(), s, subtasks)).fork();
|
265
|
+
* while (s.hasNext()) // directly process remaining elements
|
266
|
+
* sum += s.next();
|
267
|
+
* for (SumValues t = subtasks; t != null; t = t.nextJoin)
|
268
|
+
* sum += t.join(); // collect subtask results
|
269
|
+
* return sum;
|
270
|
+
* }
|
271
|
+
* }
|
272
|
+
* }</pre>
|
273
|
+
*/
|
274
|
+
public static interface Spliterator<T> extends Iterator<T> {
|
275
|
+
/**
|
276
|
+
* Returns a Spliterator covering approximately half of the
|
277
|
+
* elements, guaranteed not to overlap with those subsequently
|
278
|
+
* returned by this Spliterator. After invoking this method,
|
279
|
+
* the current Spliterator will <em>not</em> produce any of
|
280
|
+
* the elements of the returned Spliterator, but the two
|
281
|
+
* Spliterators together will produce all of the elements that
|
282
|
+
* would have been produced by this Spliterator had this
|
283
|
+
* method not been called. The exact number of elements
|
284
|
+
* produced by the returned Spliterator is not guaranteed, and
|
285
|
+
* may be zero (i.e., with {@code hasNext()} reporting {@code
|
286
|
+
* false}) if this Spliterator cannot be further split.
|
287
|
+
*
|
288
|
+
* @return a Spliterator covering approximately half of the
|
289
|
+
* elements
|
290
|
+
* @throws IllegalStateException if this Spliterator has
|
291
|
+
* already commenced traversing elements
|
292
|
+
*/
|
293
|
+
Spliterator<T> split();
|
294
|
+
}
|
295
|
+
|
296
|
+
|
297
|
+
/*
|
298
|
+
* Overview:
|
299
|
+
*
|
300
|
+
* The primary design goal of this hash table is to maintain
|
301
|
+
* concurrent readability (typically method get(), but also
|
302
|
+
* iterators and related methods) while minimizing update
|
303
|
+
* contention. Secondary goals are to keep space consumption about
|
304
|
+
* the same or better than java.util.HashMap, and to support high
|
305
|
+
* initial insertion rates on an empty table by many threads.
|
306
|
+
*
|
307
|
+
* Each key-value mapping is held in a Node. Because Node fields
|
308
|
+
* can contain special values, they are defined using plain Object
|
309
|
+
* types. Similarly in turn, all internal methods that use them
|
310
|
+
* work off Object types. And similarly, so do the internal
|
311
|
+
* methods of auxiliary iterator and view classes. All public
|
312
|
+
* generic typed methods relay in/out of these internal methods,
|
313
|
+
* supplying null-checks and casts as needed. This also allows
|
314
|
+
* many of the public methods to be factored into a smaller number
|
315
|
+
* of internal methods (although sadly not so for the five
|
316
|
+
* variants of put-related operations). The validation-based
|
317
|
+
* approach explained below leads to a lot of code sprawl because
|
318
|
+
* retry-control precludes factoring into smaller methods.
|
319
|
+
*
|
320
|
+
* The table is lazily initialized to a power-of-two size upon the
|
321
|
+
* first insertion. Each bin in the table normally contains a
|
322
|
+
* list of Nodes (most often, the list has only zero or one Node).
|
323
|
+
* Table accesses require volatile/atomic reads, writes, and
|
324
|
+
* CASes. Because there is no other way to arrange this without
|
325
|
+
* adding further indirections, we use intrinsics
|
326
|
+
* (sun.misc.Unsafe) operations. The lists of nodes within bins
|
327
|
+
* are always accurately traversable under volatile reads, so long
|
328
|
+
* as lookups check hash code and non-nullness of value before
|
329
|
+
* checking key equality.
|
330
|
+
*
|
331
|
+
* We use the top two bits of Node hash fields for control
|
332
|
+
* purposes -- they are available anyway because of addressing
|
333
|
+
* constraints. As explained further below, these top bits are
|
334
|
+
* used as follows:
|
335
|
+
* 00 - Normal
|
336
|
+
* 01 - Locked
|
337
|
+
* 11 - Locked and may have a thread waiting for lock
|
338
|
+
* 10 - Node is a forwarding node
|
339
|
+
*
|
340
|
+
* The lower 30 bits of each Node's hash field contain a
|
341
|
+
* transformation of the key's hash code, except for forwarding
|
342
|
+
* nodes, for which the lower bits are zero (and so always have
|
343
|
+
* hash field == MOVED).
|
344
|
+
*
|
345
|
+
* Insertion (via put or its variants) of the first node in an
|
346
|
+
* empty bin is performed by just CASing it to the bin. This is
|
347
|
+
* by far the most common case for put operations under most
|
348
|
+
* key/hash distributions. Other update operations (insert,
|
349
|
+
* delete, and replace) require locks. We do not want to waste
|
350
|
+
* the space required to associate a distinct lock object with
|
351
|
+
* each bin, so instead use the first node of a bin list itself as
|
352
|
+
* a lock. Blocking support for these locks relies on the builtin
|
353
|
+
* "synchronized" monitors. However, we also need a tryLock
|
354
|
+
* construction, so we overlay these by using bits of the Node
|
355
|
+
* hash field for lock control (see above), and so normally use
|
356
|
+
* builtin monitors only for blocking and signalling using
|
357
|
+
* wait/notifyAll constructions. See Node.tryAwaitLock.
|
358
|
+
*
|
359
|
+
* Using the first node of a list as a lock does not by itself
|
360
|
+
* suffice though: When a node is locked, any update must first
|
361
|
+
* validate that it is still the first node after locking it, and
|
362
|
+
* retry if not. Because new nodes are always appended to lists,
|
363
|
+
* once a node is first in a bin, it remains first until deleted
|
364
|
+
* or the bin becomes invalidated (upon resizing). However,
|
365
|
+
* operations that only conditionally update may inspect nodes
|
366
|
+
* until the point of update. This is a converse of sorts to the
|
367
|
+
* lazy locking technique described by Herlihy & Shavit.
|
368
|
+
*
|
369
|
+
* The main disadvantage of per-bin locks is that other update
|
370
|
+
* operations on other nodes in a bin list protected by the same
|
371
|
+
* lock can stall, for example when user equals() or mapping
|
372
|
+
* functions take a long time. However, statistically, under
|
373
|
+
* random hash codes, this is not a common problem. Ideally, the
|
374
|
+
* frequency of nodes in bins follows a Poisson distribution
|
375
|
+
* (http://en.wikipedia.org/wiki/Poisson_distribution) with a
|
376
|
+
* parameter of about 0.5 on average, given the resizing threshold
|
377
|
+
* of 0.75, although with a large variance because of resizing
|
378
|
+
* granularity. Ignoring variance, the expected occurrences of
|
379
|
+
* list size k are (exp(-0.5) * pow(0.5, k) / factorial(k)). The
|
380
|
+
* first values are:
|
381
|
+
*
|
382
|
+
* 0: 0.60653066
|
383
|
+
* 1: 0.30326533
|
384
|
+
* 2: 0.07581633
|
385
|
+
* 3: 0.01263606
|
386
|
+
* 4: 0.00157952
|
387
|
+
* 5: 0.00015795
|
388
|
+
* 6: 0.00001316
|
389
|
+
* 7: 0.00000094
|
390
|
+
* 8: 0.00000006
|
391
|
+
* more: less than 1 in ten million
|
392
|
+
*
|
393
|
+
* Lock contention probability for two threads accessing distinct
|
394
|
+
* elements is roughly 1 / (8 * #elements) under random hashes.
|
395
|
+
*
|
396
|
+
* Actual hash code distributions encountered in practice
|
397
|
+
* sometimes deviate significantly from uniform randomness. This
|
398
|
+
* includes the case when N > (1<<30), so some keys MUST collide.
|
399
|
+
* Similarly for dumb or hostile usages in which multiple keys are
|
400
|
+
* designed to have identical hash codes. Also, although we guard
|
401
|
+
* against the worst effects of this (see method spread), sets of
|
402
|
+
* hashes may differ only in bits that do not impact their bin
|
403
|
+
* index for a given power-of-two mask. So we use a secondary
|
404
|
+
* strategy that applies when the number of nodes in a bin exceeds
|
405
|
+
* a threshold, and at least one of the keys implements
|
406
|
+
* Comparable. These TreeBins use a balanced tree to hold nodes
|
407
|
+
* (a specialized form of red-black trees), bounding search time
|
408
|
+
* to O(log N). Each search step in a TreeBin is around twice as
|
409
|
+
* slow as in a regular list, but given that N cannot exceed
|
410
|
+
* (1<<64) (before running out of addresses) this bounds search
|
411
|
+
* steps, lock hold times, etc, to reasonable constants (roughly
|
412
|
+
* 100 nodes inspected per operation worst case) so long as keys
|
413
|
+
* are Comparable (which is very common -- String, Long, etc).
|
414
|
+
* TreeBin nodes (TreeNodes) also maintain the same "next"
|
415
|
+
* traversal pointers as regular nodes, so can be traversed in
|
416
|
+
* iterators in the same way.
|
417
|
+
*
|
418
|
+
* The table is resized when occupancy exceeds a percentage
|
419
|
+
* threshold (nominally, 0.75, but see below). Only a single
|
420
|
+
* thread performs the resize (using field "sizeCtl", to arrange
|
421
|
+
* exclusion), but the table otherwise remains usable for reads
|
422
|
+
* and updates. Resizing proceeds by transferring bins, one by
|
423
|
+
* one, from the table to the next table. Because we are using
|
424
|
+
* power-of-two expansion, the elements from each bin must either
|
425
|
+
* stay at same index, or move with a power of two offset. We
|
426
|
+
* eliminate unnecessary node creation by catching cases where old
|
427
|
+
* nodes can be reused because their next fields won't change. On
|
428
|
+
* average, only about one-sixth of them need cloning when a table
|
429
|
+
* doubles. The nodes they replace will be garbage collectable as
|
430
|
+
* soon as they are no longer referenced by any reader thread that
|
431
|
+
* may be in the midst of concurrently traversing table. Upon
|
432
|
+
* transfer, the old table bin contains only a special forwarding
|
433
|
+
* node (with hash field "MOVED") that contains the next table as
|
434
|
+
* its key. On encountering a forwarding node, access and update
|
435
|
+
* operations restart, using the new table.
|
436
|
+
*
|
437
|
+
* Each bin transfer requires its bin lock. However, unlike other
|
438
|
+
* cases, a transfer can skip a bin if it fails to acquire its
|
439
|
+
* lock, and revisit it later (unless it is a TreeBin). Method
|
440
|
+
* rebuild maintains a buffer of TRANSFER_BUFFER_SIZE bins that
|
441
|
+
* have been skipped because of failure to acquire a lock, and
|
442
|
+
* blocks only if none are available (i.e., only very rarely).
|
443
|
+
* The transfer operation must also ensure that all accessible
|
444
|
+
* bins in both the old and new table are usable by any traversal.
|
445
|
+
* When there are no lock acquisition failures, this is arranged
|
446
|
+
* simply by proceeding from the last bin (table.length - 1) up
|
447
|
+
* towards the first. Upon seeing a forwarding node, traversals
|
448
|
+
* (see class Iter) arrange to move to the new table
|
449
|
+
* without revisiting nodes. However, when any node is skipped
|
450
|
+
* during a transfer, all earlier table bins may have become
|
451
|
+
* visible, so are initialized with a reverse-forwarding node back
|
452
|
+
* to the old table until the new ones are established. (This
|
453
|
+
* sometimes requires transiently locking a forwarding node, which
|
454
|
+
* is possible under the above encoding.) These more expensive
|
455
|
+
* mechanics trigger only when necessary.
|
456
|
+
*
|
457
|
+
* The traversal scheme also applies to partial traversals of
|
458
|
+
* ranges of bins (via an alternate Traverser constructor)
|
459
|
+
* to support partitioned aggregate operations. Also, read-only
|
460
|
+
* operations give up if ever forwarded to a null table, which
|
461
|
+
* provides support for shutdown-style clearing, which is also not
|
462
|
+
* currently implemented.
|
463
|
+
*
|
464
|
+
* Lazy table initialization minimizes footprint until first use,
|
465
|
+
* and also avoids resizings when the first operation is from a
|
466
|
+
* putAll, constructor with map argument, or deserialization.
|
467
|
+
* These cases attempt to override the initial capacity settings,
|
468
|
+
* but harmlessly fail to take effect in cases of races.
|
469
|
+
*
|
470
|
+
* The element count is maintained using a LongAdder, which avoids
|
471
|
+
* contention on updates but can encounter cache thrashing if read
|
472
|
+
* too frequently during concurrent access. To avoid reading so
|
473
|
+
* often, resizing is attempted either when a bin lock is
|
474
|
+
* contended, or upon adding to a bin already holding two or more
|
475
|
+
* nodes (checked before adding in the xIfAbsent methods, after
|
476
|
+
* adding in others). Under uniform hash distributions, the
|
477
|
+
* probability of this occurring at threshold is around 13%,
|
478
|
+
* meaning that only about 1 in 8 puts check threshold (and after
|
479
|
+
* resizing, many fewer do so). But this approximation has high
|
480
|
+
* variance for small table sizes, so we check on any collision
|
481
|
+
* for sizes <= 64. The bulk putAll operation further reduces
|
482
|
+
* contention by only committing count updates upon these size
|
483
|
+
* checks.
|
484
|
+
*
|
485
|
+
* Maintaining API and serialization compatibility with previous
|
486
|
+
* versions of this class introduces several oddities. Mainly: We
|
487
|
+
* leave untouched but unused constructor arguments refering to
|
488
|
+
* concurrencyLevel. We accept a loadFactor constructor argument,
|
489
|
+
* but apply it only to initial table capacity (which is the only
|
490
|
+
* time that we can guarantee to honor it.) We also declare an
|
491
|
+
* unused "Segment" class that is instantiated in minimal form
|
492
|
+
* only when serializing.
|
493
|
+
*/
|
494
|
+
|
495
|
+
/* ---------------- Constants -------------- */
|
496
|
+
|
497
|
+
/**
|
498
|
+
* The largest possible table capacity. This value must be
|
499
|
+
* exactly 1<<30 to stay within Java array allocation and indexing
|
500
|
+
* bounds for power of two table sizes, and is further required
|
501
|
+
* because the top two bits of 32bit hash fields are used for
|
502
|
+
* control purposes.
|
503
|
+
*/
|
504
|
+
private static final int MAXIMUM_CAPACITY = 1 << 30;
|
505
|
+
|
506
|
+
/**
|
507
|
+
* The default initial table capacity. Must be a power of 2
|
508
|
+
* (i.e., at least 1) and at most MAXIMUM_CAPACITY.
|
509
|
+
*/
|
510
|
+
private static final int DEFAULT_CAPACITY = 16;
|
511
|
+
|
512
|
+
/**
|
513
|
+
* The largest possible (non-power of two) array size.
|
514
|
+
* Needed by toArray and related methods.
|
515
|
+
*/
|
516
|
+
static final int MAX_ARRAY_SIZE = Integer.MAX_VALUE - 8;
|
517
|
+
|
518
|
+
/**
|
519
|
+
* The default concurrency level for this table. Unused but
|
520
|
+
* defined for compatibility with previous versions of this class.
|
521
|
+
*/
|
522
|
+
private static final int DEFAULT_CONCURRENCY_LEVEL = 16;
|
523
|
+
|
524
|
+
/**
|
525
|
+
* The load factor for this table. Overrides of this value in
|
526
|
+
* constructors affect only the initial table capacity. The
|
527
|
+
* actual floating point value isn't normally used -- it is
|
528
|
+
* simpler to use expressions such as {@code n - (n >>> 2)} for
|
529
|
+
* the associated resizing threshold.
|
530
|
+
*/
|
531
|
+
private static final float LOAD_FACTOR = 0.75f;
|
532
|
+
|
533
|
+
/**
|
534
|
+
* The buffer size for skipped bins during transfers. The
|
535
|
+
* value is arbitrary but should be large enough to avoid
|
536
|
+
* most locking stalls during resizes.
|
537
|
+
*/
|
538
|
+
private static final int TRANSFER_BUFFER_SIZE = 32;
|
539
|
+
|
540
|
+
/**
|
541
|
+
* The bin count threshold for using a tree rather than list for a
|
542
|
+
* bin. The value reflects the approximate break-even point for
|
543
|
+
* using tree-based operations.
|
544
|
+
* Note that Doug's version defaults to 8, but when dealing with
|
545
|
+
* Ruby objects it is actually beneficial to avoid TreeNodes
|
546
|
+
* as long as possible as it usually means going into Ruby land.
|
547
|
+
*/
|
548
|
+
private static final int TREE_THRESHOLD = 16;
|
549
|
+
|
550
|
+
/*
|
551
|
+
* Encodings for special uses of Node hash fields. See above for
|
552
|
+
* explanation.
|
553
|
+
*/
|
554
|
+
static final int MOVED = 0x80000000; // hash field for forwarding nodes
|
555
|
+
static final int LOCKED = 0x40000000; // set/tested only as a bit
|
556
|
+
static final int WAITING = 0xc0000000; // both bits set/tested together
|
557
|
+
static final int HASH_BITS = 0x3fffffff; // usable bits of normal node hash
|
558
|
+
|
559
|
+
/* ---------------- Fields -------------- */
|
560
|
+
|
561
|
+
/**
|
562
|
+
* The array of bins. Lazily initialized upon first insertion.
|
563
|
+
* Size is always a power of two. Accessed directly by iterators.
|
564
|
+
*/
|
565
|
+
transient volatile AtomicReferenceArray<Node> table;
|
566
|
+
|
567
|
+
/**
|
568
|
+
* The counter maintaining number of elements.
|
569
|
+
*/
|
570
|
+
private transient LongAdder counter;
|
571
|
+
|
572
|
+
/**
|
573
|
+
* Table initialization and resizing control. When negative, the
|
574
|
+
* table is being initialized or resized. Otherwise, when table is
|
575
|
+
* null, holds the initial table size to use upon creation, or 0
|
576
|
+
* for default. After initialization, holds the next element count
|
577
|
+
* value upon which to resize the table.
|
578
|
+
*/
|
579
|
+
private transient volatile int sizeCtl;
|
580
|
+
|
581
|
+
// views
|
582
|
+
private transient KeySetView<K,V> keySet;
|
583
|
+
private transient ValuesView<K,V> values;
|
584
|
+
private transient EntrySetView<K,V> entrySet;
|
585
|
+
|
586
|
+
/** For serialization compatibility. Null unless serialized; see below */
|
587
|
+
private Segment<K,V>[] segments;
|
588
|
+
|
589
|
+
static AtomicIntegerFieldUpdater SIZE_CTRL_UPDATER = AtomicIntegerFieldUpdater.newUpdater(ConcurrentHashMapV8.class, "sizeCtl");
|
590
|
+
|
591
|
+
/* ---------------- Table element access -------------- */
|
592
|
+
|
593
|
+
/*
|
594
|
+
* Volatile access methods are used for table elements as well as
|
595
|
+
* elements of in-progress next table while resizing. Uses are
|
596
|
+
* null checked by callers, and implicitly bounds-checked, relying
|
597
|
+
* on the invariants that tab arrays have non-zero size, and all
|
598
|
+
* indices are masked with (tab.length - 1) which is never
|
599
|
+
* negative and always less than length. Note that, to be correct
|
600
|
+
* wrt arbitrary concurrency errors by users, bounds checks must
|
601
|
+
* operate on local variables, which accounts for some odd-looking
|
602
|
+
* inline assignments below.
|
603
|
+
*/
|
604
|
+
|
605
|
+
static final Node tabAt(AtomicReferenceArray<Node> tab, int i) { // used by Iter
|
606
|
+
return tab.get(i);
|
607
|
+
}
|
608
|
+
|
609
|
+
private static final boolean casTabAt(AtomicReferenceArray<Node> tab, int i, Node c, Node v) {
|
610
|
+
return tab.compareAndSet(i, c, v);
|
611
|
+
}
|
612
|
+
|
613
|
+
private static final void setTabAt(AtomicReferenceArray<Node> tab, int i, Node v) {
|
614
|
+
tab.set(i, v);
|
615
|
+
}
|
616
|
+
|
617
|
+
/* ---------------- Nodes -------------- */
|
618
|
+
|
619
|
+
/**
|
620
|
+
* Key-value entry. Note that this is never exported out as a
|
621
|
+
* user-visible Map.Entry (see MapEntry below). Nodes with a hash
|
622
|
+
* field of MOVED are special, and do not contain user keys or
|
623
|
+
* values. Otherwise, keys are never null, and null val fields
|
624
|
+
* indicate that a node is in the process of being deleted or
|
625
|
+
* created. For purposes of read-only access, a key may be read
|
626
|
+
* before a val, but can only be used after checking val to be
|
627
|
+
* non-null.
|
628
|
+
*/
|
629
|
+
static class Node {
|
630
|
+
volatile int hash;
|
631
|
+
final Object key;
|
632
|
+
volatile Object val;
|
633
|
+
volatile Node next;
|
634
|
+
|
635
|
+
static AtomicIntegerFieldUpdater HASH_UPDATER = AtomicIntegerFieldUpdater.newUpdater(Node.class, "hash");
|
636
|
+
|
637
|
+
Node(int hash, Object key, Object val, Node next) {
|
638
|
+
this.hash = hash;
|
639
|
+
this.key = key;
|
640
|
+
this.val = val;
|
641
|
+
this.next = next;
|
642
|
+
}
|
643
|
+
|
644
|
+
/** CompareAndSet the hash field */
|
645
|
+
final boolean casHash(int cmp, int val) {
|
646
|
+
return HASH_UPDATER.compareAndSet(this, cmp, val);
|
647
|
+
}
|
648
|
+
|
649
|
+
/** The number of spins before blocking for a lock */
|
650
|
+
static final int MAX_SPINS =
|
651
|
+
Runtime.getRuntime().availableProcessors() > 1 ? 64 : 1;
|
652
|
+
|
653
|
+
/**
|
654
|
+
* Spins a while if LOCKED bit set and this node is the first
|
655
|
+
* of its bin, and then sets WAITING bits on hash field and
|
656
|
+
* blocks (once) if they are still set. It is OK for this
|
657
|
+
* method to return even if lock is not available upon exit,
|
658
|
+
* which enables these simple single-wait mechanics.
|
659
|
+
*
|
660
|
+
* The corresponding signalling operation is performed within
|
661
|
+
* callers: Upon detecting that WAITING has been set when
|
662
|
+
* unlocking lock (via a failed CAS from non-waiting LOCKED
|
663
|
+
* state), unlockers acquire the sync lock and perform a
|
664
|
+
* notifyAll.
|
665
|
+
*
|
666
|
+
* The initial sanity check on tab and bounds is not currently
|
667
|
+
* necessary in the only usages of this method, but enables
|
668
|
+
* use in other future contexts.
|
669
|
+
*/
|
670
|
+
final void tryAwaitLock(AtomicReferenceArray<Node> tab, int i) {
|
671
|
+
if (tab != null && i >= 0 && i < tab.length()) { // sanity check
|
672
|
+
int r = ThreadLocalRandom.current().nextInt(); // randomize spins
|
673
|
+
int spins = MAX_SPINS, h;
|
674
|
+
while (tabAt(tab, i) == this && ((h = hash) & LOCKED) != 0) {
|
675
|
+
if (spins >= 0) {
|
676
|
+
r ^= r << 1; r ^= r >>> 3; r ^= r << 10; // xorshift
|
677
|
+
if (r >= 0 && --spins == 0)
|
678
|
+
Thread.yield(); // yield before block
|
679
|
+
}
|
680
|
+
else if (casHash(h, h | WAITING)) {
|
681
|
+
synchronized (this) {
|
682
|
+
if (tabAt(tab, i) == this &&
|
683
|
+
(hash & WAITING) == WAITING) {
|
684
|
+
try {
|
685
|
+
wait();
|
686
|
+
} catch (InterruptedException ie) {
|
687
|
+
Thread.currentThread().interrupt();
|
688
|
+
}
|
689
|
+
}
|
690
|
+
else
|
691
|
+
notifyAll(); // possibly won race vs signaller
|
692
|
+
}
|
693
|
+
break;
|
694
|
+
}
|
695
|
+
}
|
696
|
+
}
|
697
|
+
}
|
698
|
+
}
|
699
|
+
|
700
|
+
/* ---------------- TreeBins -------------- */
|
701
|
+
|
702
|
+
/**
|
703
|
+
* Nodes for use in TreeBins
|
704
|
+
*/
|
705
|
+
static final class TreeNode extends Node {
|
706
|
+
TreeNode parent; // red-black tree links
|
707
|
+
TreeNode left;
|
708
|
+
TreeNode right;
|
709
|
+
TreeNode prev; // needed to unlink next upon deletion
|
710
|
+
boolean red;
|
711
|
+
|
712
|
+
TreeNode(int hash, Object key, Object val, Node next, TreeNode parent) {
|
713
|
+
super(hash, key, val, next);
|
714
|
+
this.parent = parent;
|
715
|
+
}
|
716
|
+
}
|
717
|
+
|
718
|
+
/**
|
719
|
+
* A specialized form of red-black tree for use in bins
|
720
|
+
* whose size exceeds a threshold.
|
721
|
+
*
|
722
|
+
* TreeBins use a special form of comparison for search and
|
723
|
+
* related operations (which is the main reason we cannot use
|
724
|
+
* existing collections such as TreeMaps). TreeBins contain
|
725
|
+
* Comparable elements, but may contain others, as well as
|
726
|
+
* elements that are Comparable but not necessarily Comparable<T>
|
727
|
+
* for the same T, so we cannot invoke compareTo among them. To
|
728
|
+
* handle this, the tree is ordered primarily by hash value, then
|
729
|
+
* by getClass().getName() order, and then by Comparator order
|
730
|
+
* among elements of the same class. On lookup at a node, if
|
731
|
+
* elements are not comparable or compare as 0, both left and
|
732
|
+
* right children may need to be searched in the case of tied hash
|
733
|
+
* values. (This corresponds to the full list search that would be
|
734
|
+
* necessary if all elements were non-Comparable and had tied
|
735
|
+
* hashes.) The red-black balancing code is updated from
|
736
|
+
* pre-jdk-collections
|
737
|
+
* (http://gee.cs.oswego.edu/dl/classes/collections/RBCell.java)
|
738
|
+
* based in turn on Cormen, Leiserson, and Rivest "Introduction to
|
739
|
+
* Algorithms" (CLR).
|
740
|
+
*
|
741
|
+
* TreeBins also maintain a separate locking discipline than
|
742
|
+
* regular bins. Because they are forwarded via special MOVED
|
743
|
+
* nodes at bin heads (which can never change once established),
|
744
|
+
* we cannot use those nodes as locks. Instead, TreeBin
|
745
|
+
* extends AbstractQueuedSynchronizer to support a simple form of
|
746
|
+
* read-write lock. For update operations and table validation,
|
747
|
+
* the exclusive form of lock behaves in the same way as bin-head
|
748
|
+
* locks. However, lookups use shared read-lock mechanics to allow
|
749
|
+
* multiple readers in the absence of writers. Additionally,
|
750
|
+
* these lookups do not ever block: While the lock is not
|
751
|
+
* available, they proceed along the slow traversal path (via
|
752
|
+
* next-pointers) until the lock becomes available or the list is
|
753
|
+
* exhausted, whichever comes first. (These cases are not fast,
|
754
|
+
* but maximize aggregate expected throughput.) The AQS mechanics
|
755
|
+
* for doing this are straightforward. The lock state is held as
|
756
|
+
* AQS getState(). Read counts are negative; the write count (1)
|
757
|
+
* is positive. There are no signalling preferences among readers
|
758
|
+
* and writers. Since we don't need to export full Lock API, we
|
759
|
+
* just override the minimal AQS methods and use them directly.
|
760
|
+
*/
|
761
|
+
static final class TreeBin extends AbstractQueuedSynchronizer {
|
762
|
+
private static final long serialVersionUID = 2249069246763182397L;
|
763
|
+
transient TreeNode root; // root of tree
|
764
|
+
transient TreeNode first; // head of next-pointer list
|
765
|
+
|
766
|
+
/* AQS overrides */
|
767
|
+
public final boolean isHeldExclusively() { return getState() > 0; }
|
768
|
+
public final boolean tryAcquire(int ignore) {
|
769
|
+
if (compareAndSetState(0, 1)) {
|
770
|
+
setExclusiveOwnerThread(Thread.currentThread());
|
771
|
+
return true;
|
772
|
+
}
|
773
|
+
return false;
|
774
|
+
}
|
775
|
+
public final boolean tryRelease(int ignore) {
|
776
|
+
setExclusiveOwnerThread(null);
|
777
|
+
setState(0);
|
778
|
+
return true;
|
779
|
+
}
|
780
|
+
public final int tryAcquireShared(int ignore) {
|
781
|
+
for (int c;;) {
|
782
|
+
if ((c = getState()) > 0)
|
783
|
+
return -1;
|
784
|
+
if (compareAndSetState(c, c -1))
|
785
|
+
return 1;
|
786
|
+
}
|
787
|
+
}
|
788
|
+
public final boolean tryReleaseShared(int ignore) {
|
789
|
+
int c;
|
790
|
+
do {} while (!compareAndSetState(c = getState(), c + 1));
|
791
|
+
return c == -1;
|
792
|
+
}
|
793
|
+
|
794
|
+
/** From CLR */
|
795
|
+
private void rotateLeft(TreeNode p) {
|
796
|
+
if (p != null) {
|
797
|
+
TreeNode r = p.right, pp, rl;
|
798
|
+
if ((rl = p.right = r.left) != null)
|
799
|
+
rl.parent = p;
|
800
|
+
if ((pp = r.parent = p.parent) == null)
|
801
|
+
root = r;
|
802
|
+
else if (pp.left == p)
|
803
|
+
pp.left = r;
|
804
|
+
else
|
805
|
+
pp.right = r;
|
806
|
+
r.left = p;
|
807
|
+
p.parent = r;
|
808
|
+
}
|
809
|
+
}
|
810
|
+
|
811
|
+
/** From CLR */
|
812
|
+
private void rotateRight(TreeNode p) {
|
813
|
+
if (p != null) {
|
814
|
+
TreeNode l = p.left, pp, lr;
|
815
|
+
if ((lr = p.left = l.right) != null)
|
816
|
+
lr.parent = p;
|
817
|
+
if ((pp = l.parent = p.parent) == null)
|
818
|
+
root = l;
|
819
|
+
else if (pp.right == p)
|
820
|
+
pp.right = l;
|
821
|
+
else
|
822
|
+
pp.left = l;
|
823
|
+
l.right = p;
|
824
|
+
p.parent = l;
|
825
|
+
}
|
826
|
+
}
|
827
|
+
|
828
|
+
@SuppressWarnings("unchecked") final TreeNode getTreeNode
|
829
|
+
(int h, Object k, TreeNode p) {
|
830
|
+
return getTreeNode(h, (RubyObject)k, p);
|
831
|
+
}
|
832
|
+
|
833
|
+
/**
|
834
|
+
* Returns the TreeNode (or null if not found) for the given key
|
835
|
+
* starting at given root.
|
836
|
+
*/
|
837
|
+
@SuppressWarnings("unchecked") final TreeNode getTreeNode
|
838
|
+
(int h, RubyObject k, TreeNode p) {
|
839
|
+
RubyClass c = k.getMetaClass(); boolean kNotComparable = !k.respondsTo("<=>");
|
840
|
+
while (p != null) {
|
841
|
+
int dir, ph; RubyObject pk; RubyClass pc;
|
842
|
+
if ((ph = p.hash) == h) {
|
843
|
+
if ((pk = (RubyObject)p.key) == k || k.equals(pk))
|
844
|
+
return p;
|
845
|
+
if (c != (pc = (RubyClass)pk.getMetaClass()) ||
|
846
|
+
kNotComparable ||
|
847
|
+
(dir = rubyCompare(k, pk)) == 0) {
|
848
|
+
dir = (c == pc) ? 0 : c.getName().compareTo(pc.getName());
|
849
|
+
if (dir == 0) { // if still stuck, need to check both sides
|
850
|
+
TreeNode r = null, pl, pr;
|
851
|
+
// try to recurse on the right
|
852
|
+
if ((pr = p.right) != null && h >= pr.hash && (r = getTreeNode(h, k, pr)) != null)
|
853
|
+
return r;
|
854
|
+
// try to continue iterating on the left side
|
855
|
+
else if ((pl = p.left) != null && h <= pl.hash)
|
856
|
+
dir = -1;
|
857
|
+
else // no matching node found
|
858
|
+
return null;
|
859
|
+
}
|
860
|
+
}
|
861
|
+
}
|
862
|
+
else
|
863
|
+
dir = (h < ph) ? -1 : 1;
|
864
|
+
p = (dir > 0) ? p.right : p.left;
|
865
|
+
}
|
866
|
+
return null;
|
867
|
+
}
|
868
|
+
|
869
|
+
int rubyCompare(RubyObject l, RubyObject r) {
|
870
|
+
ThreadContext context = l.getMetaClass().getRuntime().getCurrentContext();
|
871
|
+
IRubyObject result;
|
872
|
+
try {
|
873
|
+
result = l.callMethod(context, "<=>", r);
|
874
|
+
} catch (RaiseException e) {
|
875
|
+
// handle objects "lying" about responding to <=>, ie: an Array containing non-comparable keys
|
876
|
+
if (context.runtime.getNoMethodError().isInstance(e.getException())) {
|
877
|
+
return 0;
|
878
|
+
}
|
879
|
+
throw e;
|
880
|
+
}
|
881
|
+
|
882
|
+
return result.isNil() ? 0 : RubyNumeric.num2int(result.convertToInteger());
|
883
|
+
}
|
884
|
+
|
885
|
+
/**
|
886
|
+
* Wrapper for getTreeNode used by CHM.get. Tries to obtain
|
887
|
+
* read-lock to call getTreeNode, but during failure to get
|
888
|
+
* lock, searches along next links.
|
889
|
+
*/
|
890
|
+
final Object getValue(int h, Object k) {
|
891
|
+
Node r = null;
|
892
|
+
int c = getState(); // Must read lock state first
|
893
|
+
for (Node e = first; e != null; e = e.next) {
|
894
|
+
if (c <= 0 && compareAndSetState(c, c - 1)) {
|
895
|
+
try {
|
896
|
+
r = getTreeNode(h, k, root);
|
897
|
+
} finally {
|
898
|
+
releaseShared(0);
|
899
|
+
}
|
900
|
+
break;
|
901
|
+
}
|
902
|
+
else if ((e.hash & HASH_BITS) == h && k.equals(e.key)) {
|
903
|
+
r = e;
|
904
|
+
break;
|
905
|
+
}
|
906
|
+
else
|
907
|
+
c = getState();
|
908
|
+
}
|
909
|
+
return r == null ? null : r.val;
|
910
|
+
}
|
911
|
+
|
912
|
+
@SuppressWarnings("unchecked") final TreeNode putTreeNode
|
913
|
+
(int h, Object k, Object v) {
|
914
|
+
return putTreeNode(h, (RubyObject)k, v);
|
915
|
+
}
|
916
|
+
|
917
|
+
/**
|
918
|
+
* Finds or adds a node.
|
919
|
+
* @return null if added
|
920
|
+
*/
|
921
|
+
@SuppressWarnings("unchecked") final TreeNode putTreeNode
|
922
|
+
(int h, RubyObject k, Object v) {
|
923
|
+
RubyClass c = k.getMetaClass();
|
924
|
+
boolean kNotComparable = !k.respondsTo("<=>");
|
925
|
+
TreeNode pp = root, p = null;
|
926
|
+
int dir = 0;
|
927
|
+
while (pp != null) { // find existing node or leaf to insert at
|
928
|
+
int ph; RubyObject pk; RubyClass pc;
|
929
|
+
p = pp;
|
930
|
+
if ((ph = p.hash) == h) {
|
931
|
+
if ((pk = (RubyObject)p.key) == k || k.equals(pk))
|
932
|
+
return p;
|
933
|
+
if (c != (pc = pk.getMetaClass()) ||
|
934
|
+
kNotComparable ||
|
935
|
+
(dir = rubyCompare(k, pk)) == 0) {
|
936
|
+
dir = (c == pc) ? 0 : c.getName().compareTo(pc.getName());
|
937
|
+
if (dir == 0) { // if still stuck, need to check both sides
|
938
|
+
TreeNode r = null, pr;
|
939
|
+
// try to recurse on the right
|
940
|
+
if ((pr = p.right) != null && h >= pr.hash && (r = getTreeNode(h, k, pr)) != null)
|
941
|
+
return r;
|
942
|
+
else // continue descending down the left subtree
|
943
|
+
dir = -1;
|
944
|
+
}
|
945
|
+
}
|
946
|
+
}
|
947
|
+
else
|
948
|
+
dir = (h < ph) ? -1 : 1;
|
949
|
+
pp = (dir > 0) ? p.right : p.left;
|
950
|
+
}
|
951
|
+
|
952
|
+
TreeNode f = first;
|
953
|
+
TreeNode x = first = new TreeNode(h, (Object)k, v, f, p);
|
954
|
+
if (p == null)
|
955
|
+
root = x;
|
956
|
+
else { // attach and rebalance; adapted from CLR
|
957
|
+
TreeNode xp, xpp;
|
958
|
+
if (f != null)
|
959
|
+
f.prev = x;
|
960
|
+
if (dir <= 0)
|
961
|
+
p.left = x;
|
962
|
+
else
|
963
|
+
p.right = x;
|
964
|
+
x.red = true;
|
965
|
+
while (x != null && (xp = x.parent) != null && xp.red &&
|
966
|
+
(xpp = xp.parent) != null) {
|
967
|
+
TreeNode xppl = xpp.left;
|
968
|
+
if (xp == xppl) {
|
969
|
+
TreeNode y = xpp.right;
|
970
|
+
if (y != null && y.red) {
|
971
|
+
y.red = false;
|
972
|
+
xp.red = false;
|
973
|
+
xpp.red = true;
|
974
|
+
x = xpp;
|
975
|
+
}
|
976
|
+
else {
|
977
|
+
if (x == xp.right) {
|
978
|
+
rotateLeft(x = xp);
|
979
|
+
xpp = (xp = x.parent) == null ? null : xp.parent;
|
980
|
+
}
|
981
|
+
if (xp != null) {
|
982
|
+
xp.red = false;
|
983
|
+
if (xpp != null) {
|
984
|
+
xpp.red = true;
|
985
|
+
rotateRight(xpp);
|
986
|
+
}
|
987
|
+
}
|
988
|
+
}
|
989
|
+
}
|
990
|
+
else {
|
991
|
+
TreeNode y = xppl;
|
992
|
+
if (y != null && y.red) {
|
993
|
+
y.red = false;
|
994
|
+
xp.red = false;
|
995
|
+
xpp.red = true;
|
996
|
+
x = xpp;
|
997
|
+
}
|
998
|
+
else {
|
999
|
+
if (x == xp.left) {
|
1000
|
+
rotateRight(x = xp);
|
1001
|
+
xpp = (xp = x.parent) == null ? null : xp.parent;
|
1002
|
+
}
|
1003
|
+
if (xp != null) {
|
1004
|
+
xp.red = false;
|
1005
|
+
if (xpp != null) {
|
1006
|
+
xpp.red = true;
|
1007
|
+
rotateLeft(xpp);
|
1008
|
+
}
|
1009
|
+
}
|
1010
|
+
}
|
1011
|
+
}
|
1012
|
+
}
|
1013
|
+
TreeNode r = root;
|
1014
|
+
if (r != null && r.red)
|
1015
|
+
r.red = false;
|
1016
|
+
}
|
1017
|
+
return null;
|
1018
|
+
}
|
1019
|
+
|
1020
|
+
/**
|
1021
|
+
* Removes the given node, that must be present before this
|
1022
|
+
* call. This is messier than typical red-black deletion code
|
1023
|
+
* because we cannot swap the contents of an interior node
|
1024
|
+
* with a leaf successor that is pinned by "next" pointers
|
1025
|
+
* that are accessible independently of lock. So instead we
|
1026
|
+
* swap the tree linkages.
|
1027
|
+
*/
|
1028
|
+
final void deleteTreeNode(TreeNode p) {
|
1029
|
+
TreeNode next = (TreeNode)p.next; // unlink traversal pointers
|
1030
|
+
TreeNode pred = p.prev;
|
1031
|
+
if (pred == null)
|
1032
|
+
first = next;
|
1033
|
+
else
|
1034
|
+
pred.next = next;
|
1035
|
+
if (next != null)
|
1036
|
+
next.prev = pred;
|
1037
|
+
TreeNode replacement;
|
1038
|
+
TreeNode pl = p.left;
|
1039
|
+
TreeNode pr = p.right;
|
1040
|
+
if (pl != null && pr != null) {
|
1041
|
+
TreeNode s = pr, sl;
|
1042
|
+
while ((sl = s.left) != null) // find successor
|
1043
|
+
s = sl;
|
1044
|
+
boolean c = s.red; s.red = p.red; p.red = c; // swap colors
|
1045
|
+
TreeNode sr = s.right;
|
1046
|
+
TreeNode pp = p.parent;
|
1047
|
+
if (s == pr) { // p was s's direct parent
|
1048
|
+
p.parent = s;
|
1049
|
+
s.right = p;
|
1050
|
+
}
|
1051
|
+
else {
|
1052
|
+
TreeNode sp = s.parent;
|
1053
|
+
if ((p.parent = sp) != null) {
|
1054
|
+
if (s == sp.left)
|
1055
|
+
sp.left = p;
|
1056
|
+
else
|
1057
|
+
sp.right = p;
|
1058
|
+
}
|
1059
|
+
if ((s.right = pr) != null)
|
1060
|
+
pr.parent = s;
|
1061
|
+
}
|
1062
|
+
p.left = null;
|
1063
|
+
if ((p.right = sr) != null)
|
1064
|
+
sr.parent = p;
|
1065
|
+
if ((s.left = pl) != null)
|
1066
|
+
pl.parent = s;
|
1067
|
+
if ((s.parent = pp) == null)
|
1068
|
+
root = s;
|
1069
|
+
else if (p == pp.left)
|
1070
|
+
pp.left = s;
|
1071
|
+
else
|
1072
|
+
pp.right = s;
|
1073
|
+
replacement = sr;
|
1074
|
+
}
|
1075
|
+
else
|
1076
|
+
replacement = (pl != null) ? pl : pr;
|
1077
|
+
TreeNode pp = p.parent;
|
1078
|
+
if (replacement == null) {
|
1079
|
+
if (pp == null) {
|
1080
|
+
root = null;
|
1081
|
+
return;
|
1082
|
+
}
|
1083
|
+
replacement = p;
|
1084
|
+
}
|
1085
|
+
else {
|
1086
|
+
replacement.parent = pp;
|
1087
|
+
if (pp == null)
|
1088
|
+
root = replacement;
|
1089
|
+
else if (p == pp.left)
|
1090
|
+
pp.left = replacement;
|
1091
|
+
else
|
1092
|
+
pp.right = replacement;
|
1093
|
+
p.left = p.right = p.parent = null;
|
1094
|
+
}
|
1095
|
+
if (!p.red) { // rebalance, from CLR
|
1096
|
+
TreeNode x = replacement;
|
1097
|
+
while (x != null) {
|
1098
|
+
TreeNode xp, xpl;
|
1099
|
+
if (x.red || (xp = x.parent) == null) {
|
1100
|
+
x.red = false;
|
1101
|
+
break;
|
1102
|
+
}
|
1103
|
+
if (x == (xpl = xp.left)) {
|
1104
|
+
TreeNode sib = xp.right;
|
1105
|
+
if (sib != null && sib.red) {
|
1106
|
+
sib.red = false;
|
1107
|
+
xp.red = true;
|
1108
|
+
rotateLeft(xp);
|
1109
|
+
sib = (xp = x.parent) == null ? null : xp.right;
|
1110
|
+
}
|
1111
|
+
if (sib == null)
|
1112
|
+
x = xp;
|
1113
|
+
else {
|
1114
|
+
TreeNode sl = sib.left, sr = sib.right;
|
1115
|
+
if ((sr == null || !sr.red) &&
|
1116
|
+
(sl == null || !sl.red)) {
|
1117
|
+
sib.red = true;
|
1118
|
+
x = xp;
|
1119
|
+
}
|
1120
|
+
else {
|
1121
|
+
if (sr == null || !sr.red) {
|
1122
|
+
if (sl != null)
|
1123
|
+
sl.red = false;
|
1124
|
+
sib.red = true;
|
1125
|
+
rotateRight(sib);
|
1126
|
+
sib = (xp = x.parent) == null ? null : xp.right;
|
1127
|
+
}
|
1128
|
+
if (sib != null) {
|
1129
|
+
sib.red = (xp == null) ? false : xp.red;
|
1130
|
+
if ((sr = sib.right) != null)
|
1131
|
+
sr.red = false;
|
1132
|
+
}
|
1133
|
+
if (xp != null) {
|
1134
|
+
xp.red = false;
|
1135
|
+
rotateLeft(xp);
|
1136
|
+
}
|
1137
|
+
x = root;
|
1138
|
+
}
|
1139
|
+
}
|
1140
|
+
}
|
1141
|
+
else { // symmetric
|
1142
|
+
TreeNode sib = xpl;
|
1143
|
+
if (sib != null && sib.red) {
|
1144
|
+
sib.red = false;
|
1145
|
+
xp.red = true;
|
1146
|
+
rotateRight(xp);
|
1147
|
+
sib = (xp = x.parent) == null ? null : xp.left;
|
1148
|
+
}
|
1149
|
+
if (sib == null)
|
1150
|
+
x = xp;
|
1151
|
+
else {
|
1152
|
+
TreeNode sl = sib.left, sr = sib.right;
|
1153
|
+
if ((sl == null || !sl.red) &&
|
1154
|
+
(sr == null || !sr.red)) {
|
1155
|
+
sib.red = true;
|
1156
|
+
x = xp;
|
1157
|
+
}
|
1158
|
+
else {
|
1159
|
+
if (sl == null || !sl.red) {
|
1160
|
+
if (sr != null)
|
1161
|
+
sr.red = false;
|
1162
|
+
sib.red = true;
|
1163
|
+
rotateLeft(sib);
|
1164
|
+
sib = (xp = x.parent) == null ? null : xp.left;
|
1165
|
+
}
|
1166
|
+
if (sib != null) {
|
1167
|
+
sib.red = (xp == null) ? false : xp.red;
|
1168
|
+
if ((sl = sib.left) != null)
|
1169
|
+
sl.red = false;
|
1170
|
+
}
|
1171
|
+
if (xp != null) {
|
1172
|
+
xp.red = false;
|
1173
|
+
rotateRight(xp);
|
1174
|
+
}
|
1175
|
+
x = root;
|
1176
|
+
}
|
1177
|
+
}
|
1178
|
+
}
|
1179
|
+
}
|
1180
|
+
}
|
1181
|
+
if (p == replacement && (pp = p.parent) != null) {
|
1182
|
+
if (p == pp.left) // detach pointers
|
1183
|
+
pp.left = null;
|
1184
|
+
else if (p == pp.right)
|
1185
|
+
pp.right = null;
|
1186
|
+
p.parent = null;
|
1187
|
+
}
|
1188
|
+
}
|
1189
|
+
}
|
1190
|
+
|
1191
|
+
/* ---------------- Collision reduction methods -------------- */
|
1192
|
+
|
1193
|
+
/**
|
1194
|
+
* Spreads higher bits to lower, and also forces top 2 bits to 0.
|
1195
|
+
* Because the table uses power-of-two masking, sets of hashes
|
1196
|
+
* that vary only in bits above the current mask will always
|
1197
|
+
* collide. (Among known examples are sets of Float keys holding
|
1198
|
+
* consecutive whole numbers in small tables.) To counter this,
|
1199
|
+
* we apply a transform that spreads the impact of higher bits
|
1200
|
+
* downward. There is a tradeoff between speed, utility, and
|
1201
|
+
* quality of bit-spreading. Because many common sets of hashes
|
1202
|
+
* are already reasonably distributed across bits (so don't benefit
|
1203
|
+
* from spreading), and because we use trees to handle large sets
|
1204
|
+
* of collisions in bins, we don't need excessively high quality.
|
1205
|
+
*/
|
1206
|
+
private static final int spread(int h) {
|
1207
|
+
h ^= (h >>> 18) ^ (h >>> 12);
|
1208
|
+
return (h ^ (h >>> 10)) & HASH_BITS;
|
1209
|
+
}
|
1210
|
+
|
1211
|
+
/**
|
1212
|
+
* Replaces a list bin with a tree bin. Call only when locked.
|
1213
|
+
* Fails to replace if the given key is non-comparable or table
|
1214
|
+
* is, or needs, resizing.
|
1215
|
+
*/
|
1216
|
+
private final void replaceWithTreeBin(AtomicReferenceArray<Node> tab, int index, Object key) {
|
1217
|
+
if ((key instanceof Comparable) &&
|
1218
|
+
(tab.length() >= MAXIMUM_CAPACITY || counter.sum() < (long)sizeCtl)) {
|
1219
|
+
TreeBin t = new TreeBin();
|
1220
|
+
for (Node e = tabAt(tab, index); e != null; e = e.next)
|
1221
|
+
t.putTreeNode(e.hash & HASH_BITS, e.key, e.val);
|
1222
|
+
setTabAt(tab, index, new Node(MOVED, t, null, null));
|
1223
|
+
}
|
1224
|
+
}
|
1225
|
+
|
1226
|
+
/* ---------------- Internal access and update methods -------------- */
|
1227
|
+
|
1228
|
+
/** Implementation for get and containsKey */
|
1229
|
+
private final Object internalGet(Object k) {
|
1230
|
+
int h = spread(k.hashCode());
|
1231
|
+
retry: for (AtomicReferenceArray<Node> tab = table; tab != null;) {
|
1232
|
+
Node e, p; Object ek, ev; int eh; // locals to read fields once
|
1233
|
+
for (e = tabAt(tab, (tab.length() - 1) & h); e != null; e = e.next) {
|
1234
|
+
if ((eh = e.hash) == MOVED) {
|
1235
|
+
if ((ek = e.key) instanceof TreeBin) // search TreeBin
|
1236
|
+
return ((TreeBin)ek).getValue(h, k);
|
1237
|
+
else { // restart with new table
|
1238
|
+
tab = (AtomicReferenceArray<Node>)ek;
|
1239
|
+
continue retry;
|
1240
|
+
}
|
1241
|
+
}
|
1242
|
+
else if ((eh & HASH_BITS) == h && (ev = e.val) != null &&
|
1243
|
+
((ek = e.key) == k || k.equals(ek)))
|
1244
|
+
return ev;
|
1245
|
+
}
|
1246
|
+
break;
|
1247
|
+
}
|
1248
|
+
return null;
|
1249
|
+
}
|
1250
|
+
|
1251
|
+
/**
|
1252
|
+
* Implementation for the four public remove/replace methods:
|
1253
|
+
* Replaces node value with v, conditional upon match of cv if
|
1254
|
+
* non-null. If resulting value is null, delete.
|
1255
|
+
*/
|
1256
|
+
private final Object internalReplace(Object k, Object v, Object cv) {
|
1257
|
+
int h = spread(k.hashCode());
|
1258
|
+
Object oldVal = null;
|
1259
|
+
for (AtomicReferenceArray<Node> tab = table;;) {
|
1260
|
+
Node f; int i, fh; Object fk;
|
1261
|
+
if (tab == null ||
|
1262
|
+
(f = tabAt(tab, i = (tab.length() - 1) & h)) == null)
|
1263
|
+
break;
|
1264
|
+
else if ((fh = f.hash) == MOVED) {
|
1265
|
+
if ((fk = f.key) instanceof TreeBin) {
|
1266
|
+
TreeBin t = (TreeBin)fk;
|
1267
|
+
boolean validated = false;
|
1268
|
+
boolean deleted = false;
|
1269
|
+
t.acquire(0);
|
1270
|
+
try {
|
1271
|
+
if (tabAt(tab, i) == f) {
|
1272
|
+
validated = true;
|
1273
|
+
TreeNode p = t.getTreeNode(h, k, t.root);
|
1274
|
+
if (p != null) {
|
1275
|
+
Object pv = p.val;
|
1276
|
+
if (cv == null || cv == pv || cv.equals(pv)) {
|
1277
|
+
oldVal = pv;
|
1278
|
+
if ((p.val = v) == null) {
|
1279
|
+
deleted = true;
|
1280
|
+
t.deleteTreeNode(p);
|
1281
|
+
}
|
1282
|
+
}
|
1283
|
+
}
|
1284
|
+
}
|
1285
|
+
} finally {
|
1286
|
+
t.release(0);
|
1287
|
+
}
|
1288
|
+
if (validated) {
|
1289
|
+
if (deleted)
|
1290
|
+
counter.add(-1L);
|
1291
|
+
break;
|
1292
|
+
}
|
1293
|
+
}
|
1294
|
+
else
|
1295
|
+
tab = (AtomicReferenceArray<Node>)fk;
|
1296
|
+
}
|
1297
|
+
else if ((fh & HASH_BITS) != h && f.next == null) // precheck
|
1298
|
+
break; // rules out possible existence
|
1299
|
+
else if ((fh & LOCKED) != 0) {
|
1300
|
+
checkForResize(); // try resizing if can't get lock
|
1301
|
+
f.tryAwaitLock(tab, i);
|
1302
|
+
}
|
1303
|
+
else if (f.casHash(fh, fh | LOCKED)) {
|
1304
|
+
boolean validated = false;
|
1305
|
+
boolean deleted = false;
|
1306
|
+
try {
|
1307
|
+
if (tabAt(tab, i) == f) {
|
1308
|
+
validated = true;
|
1309
|
+
for (Node e = f, pred = null;;) {
|
1310
|
+
Object ek, ev;
|
1311
|
+
if ((e.hash & HASH_BITS) == h &&
|
1312
|
+
((ev = e.val) != null) &&
|
1313
|
+
((ek = e.key) == k || k.equals(ek))) {
|
1314
|
+
if (cv == null || cv == ev || cv.equals(ev)) {
|
1315
|
+
oldVal = ev;
|
1316
|
+
if ((e.val = v) == null) {
|
1317
|
+
deleted = true;
|
1318
|
+
Node en = e.next;
|
1319
|
+
if (pred != null)
|
1320
|
+
pred.next = en;
|
1321
|
+
else
|
1322
|
+
setTabAt(tab, i, en);
|
1323
|
+
}
|
1324
|
+
}
|
1325
|
+
break;
|
1326
|
+
}
|
1327
|
+
pred = e;
|
1328
|
+
if ((e = e.next) == null)
|
1329
|
+
break;
|
1330
|
+
}
|
1331
|
+
}
|
1332
|
+
} finally {
|
1333
|
+
if (!f.casHash(fh | LOCKED, fh)) {
|
1334
|
+
f.hash = fh;
|
1335
|
+
synchronized (f) { f.notifyAll(); };
|
1336
|
+
}
|
1337
|
+
}
|
1338
|
+
if (validated) {
|
1339
|
+
if (deleted)
|
1340
|
+
counter.add(-1L);
|
1341
|
+
break;
|
1342
|
+
}
|
1343
|
+
}
|
1344
|
+
}
|
1345
|
+
return oldVal;
|
1346
|
+
}
|
1347
|
+
|
1348
|
+
/*
|
1349
|
+
* Internal versions of the six insertion methods, each a
|
1350
|
+
* little more complicated than the last. All have
|
1351
|
+
* the same basic structure as the first (internalPut):
|
1352
|
+
* 1. If table uninitialized, create
|
1353
|
+
* 2. If bin empty, try to CAS new node
|
1354
|
+
* 3. If bin stale, use new table
|
1355
|
+
* 4. if bin converted to TreeBin, validate and relay to TreeBin methods
|
1356
|
+
* 5. Lock and validate; if valid, scan and add or update
|
1357
|
+
*
|
1358
|
+
* The others interweave other checks and/or alternative actions:
|
1359
|
+
* * Plain put checks for and performs resize after insertion.
|
1360
|
+
* * putIfAbsent prescans for mapping without lock (and fails to add
|
1361
|
+
* if present), which also makes pre-emptive resize checks worthwhile.
|
1362
|
+
* * computeIfAbsent extends form used in putIfAbsent with additional
|
1363
|
+
* mechanics to deal with, calls, potential exceptions and null
|
1364
|
+
* returns from function call.
|
1365
|
+
* * compute uses the same function-call mechanics, but without
|
1366
|
+
* the prescans
|
1367
|
+
* * merge acts as putIfAbsent in the absent case, but invokes the
|
1368
|
+
* update function if present
|
1369
|
+
* * putAll attempts to pre-allocate enough table space
|
1370
|
+
* and more lazily performs count updates and checks.
|
1371
|
+
*
|
1372
|
+
* Someday when details settle down a bit more, it might be worth
|
1373
|
+
* some factoring to reduce sprawl.
|
1374
|
+
*/
|
1375
|
+
|
1376
|
+
/** Implementation for put */
|
1377
|
+
private final Object internalPut(Object k, Object v) {
|
1378
|
+
int h = spread(k.hashCode());
|
1379
|
+
int count = 0;
|
1380
|
+
for (AtomicReferenceArray<Node> tab = table;;) {
|
1381
|
+
int i; Node f; int fh; Object fk;
|
1382
|
+
if (tab == null)
|
1383
|
+
tab = initTable();
|
1384
|
+
else if ((f = tabAt(tab, i = (tab.length() - 1) & h)) == null) {
|
1385
|
+
if (casTabAt(tab, i, null, new Node(h, k, v, null)))
|
1386
|
+
break; // no lock when adding to empty bin
|
1387
|
+
}
|
1388
|
+
else if ((fh = f.hash) == MOVED) {
|
1389
|
+
if ((fk = f.key) instanceof TreeBin) {
|
1390
|
+
TreeBin t = (TreeBin)fk;
|
1391
|
+
Object oldVal = null;
|
1392
|
+
t.acquire(0);
|
1393
|
+
try {
|
1394
|
+
if (tabAt(tab, i) == f) {
|
1395
|
+
count = 2;
|
1396
|
+
TreeNode p = t.putTreeNode(h, k, v);
|
1397
|
+
if (p != null) {
|
1398
|
+
oldVal = p.val;
|
1399
|
+
p.val = v;
|
1400
|
+
}
|
1401
|
+
}
|
1402
|
+
} finally {
|
1403
|
+
t.release(0);
|
1404
|
+
}
|
1405
|
+
if (count != 0) {
|
1406
|
+
if (oldVal != null)
|
1407
|
+
return oldVal;
|
1408
|
+
break;
|
1409
|
+
}
|
1410
|
+
}
|
1411
|
+
else
|
1412
|
+
tab = (AtomicReferenceArray<Node>)fk;
|
1413
|
+
}
|
1414
|
+
else if ((fh & LOCKED) != 0) {
|
1415
|
+
checkForResize();
|
1416
|
+
f.tryAwaitLock(tab, i);
|
1417
|
+
}
|
1418
|
+
else if (f.casHash(fh, fh | LOCKED)) {
|
1419
|
+
Object oldVal = null;
|
1420
|
+
try { // needed in case equals() throws
|
1421
|
+
if (tabAt(tab, i) == f) {
|
1422
|
+
count = 1;
|
1423
|
+
for (Node e = f;; ++count) {
|
1424
|
+
Object ek, ev;
|
1425
|
+
if ((e.hash & HASH_BITS) == h &&
|
1426
|
+
(ev = e.val) != null &&
|
1427
|
+
((ek = e.key) == k || k.equals(ek))) {
|
1428
|
+
oldVal = ev;
|
1429
|
+
e.val = v;
|
1430
|
+
break;
|
1431
|
+
}
|
1432
|
+
Node last = e;
|
1433
|
+
if ((e = e.next) == null) {
|
1434
|
+
last.next = new Node(h, k, v, null);
|
1435
|
+
if (count >= TREE_THRESHOLD)
|
1436
|
+
replaceWithTreeBin(tab, i, k);
|
1437
|
+
break;
|
1438
|
+
}
|
1439
|
+
}
|
1440
|
+
}
|
1441
|
+
} finally { // unlock and signal if needed
|
1442
|
+
if (!f.casHash(fh | LOCKED, fh)) {
|
1443
|
+
f.hash = fh;
|
1444
|
+
synchronized (f) { f.notifyAll(); };
|
1445
|
+
}
|
1446
|
+
}
|
1447
|
+
if (count != 0) {
|
1448
|
+
if (oldVal != null)
|
1449
|
+
return oldVal;
|
1450
|
+
if (tab.length() <= 64)
|
1451
|
+
count = 2;
|
1452
|
+
break;
|
1453
|
+
}
|
1454
|
+
}
|
1455
|
+
}
|
1456
|
+
counter.add(1L);
|
1457
|
+
if (count > 1)
|
1458
|
+
checkForResize();
|
1459
|
+
return null;
|
1460
|
+
}
|
1461
|
+
|
1462
|
+
/** Implementation for putIfAbsent */
|
1463
|
+
private final Object internalPutIfAbsent(Object k, Object v) {
|
1464
|
+
int h = spread(k.hashCode());
|
1465
|
+
int count = 0;
|
1466
|
+
for (AtomicReferenceArray<Node> tab = table;;) {
|
1467
|
+
int i; Node f; int fh; Object fk, fv;
|
1468
|
+
if (tab == null)
|
1469
|
+
tab = initTable();
|
1470
|
+
else if ((f = tabAt(tab, i = (tab.length() - 1) & h)) == null) {
|
1471
|
+
if (casTabAt(tab, i, null, new Node(h, k, v, null)))
|
1472
|
+
break;
|
1473
|
+
}
|
1474
|
+
else if ((fh = f.hash) == MOVED) {
|
1475
|
+
if ((fk = f.key) instanceof TreeBin) {
|
1476
|
+
TreeBin t = (TreeBin)fk;
|
1477
|
+
Object oldVal = null;
|
1478
|
+
t.acquire(0);
|
1479
|
+
try {
|
1480
|
+
if (tabAt(tab, i) == f) {
|
1481
|
+
count = 2;
|
1482
|
+
TreeNode p = t.putTreeNode(h, k, v);
|
1483
|
+
if (p != null)
|
1484
|
+
oldVal = p.val;
|
1485
|
+
}
|
1486
|
+
} finally {
|
1487
|
+
t.release(0);
|
1488
|
+
}
|
1489
|
+
if (count != 0) {
|
1490
|
+
if (oldVal != null)
|
1491
|
+
return oldVal;
|
1492
|
+
break;
|
1493
|
+
}
|
1494
|
+
}
|
1495
|
+
else
|
1496
|
+
tab = (AtomicReferenceArray<Node>)fk;
|
1497
|
+
}
|
1498
|
+
else if ((fh & HASH_BITS) == h && (fv = f.val) != null &&
|
1499
|
+
((fk = f.key) == k || k.equals(fk)))
|
1500
|
+
return fv;
|
1501
|
+
else {
|
1502
|
+
Node g = f.next;
|
1503
|
+
if (g != null) { // at least 2 nodes -- search and maybe resize
|
1504
|
+
for (Node e = g;;) {
|
1505
|
+
Object ek, ev;
|
1506
|
+
if ((e.hash & HASH_BITS) == h && (ev = e.val) != null &&
|
1507
|
+
((ek = e.key) == k || k.equals(ek)))
|
1508
|
+
return ev;
|
1509
|
+
if ((e = e.next) == null) {
|
1510
|
+
checkForResize();
|
1511
|
+
break;
|
1512
|
+
}
|
1513
|
+
}
|
1514
|
+
}
|
1515
|
+
if (((fh = f.hash) & LOCKED) != 0) {
|
1516
|
+
checkForResize();
|
1517
|
+
f.tryAwaitLock(tab, i);
|
1518
|
+
}
|
1519
|
+
else if (tabAt(tab, i) == f && f.casHash(fh, fh | LOCKED)) {
|
1520
|
+
Object oldVal = null;
|
1521
|
+
try {
|
1522
|
+
if (tabAt(tab, i) == f) {
|
1523
|
+
count = 1;
|
1524
|
+
for (Node e = f;; ++count) {
|
1525
|
+
Object ek, ev;
|
1526
|
+
if ((e.hash & HASH_BITS) == h &&
|
1527
|
+
(ev = e.val) != null &&
|
1528
|
+
((ek = e.key) == k || k.equals(ek))) {
|
1529
|
+
oldVal = ev;
|
1530
|
+
break;
|
1531
|
+
}
|
1532
|
+
Node last = e;
|
1533
|
+
if ((e = e.next) == null) {
|
1534
|
+
last.next = new Node(h, k, v, null);
|
1535
|
+
if (count >= TREE_THRESHOLD)
|
1536
|
+
replaceWithTreeBin(tab, i, k);
|
1537
|
+
break;
|
1538
|
+
}
|
1539
|
+
}
|
1540
|
+
}
|
1541
|
+
} finally {
|
1542
|
+
if (!f.casHash(fh | LOCKED, fh)) {
|
1543
|
+
f.hash = fh;
|
1544
|
+
synchronized (f) { f.notifyAll(); };
|
1545
|
+
}
|
1546
|
+
}
|
1547
|
+
if (count != 0) {
|
1548
|
+
if (oldVal != null)
|
1549
|
+
return oldVal;
|
1550
|
+
if (tab.length() <= 64)
|
1551
|
+
count = 2;
|
1552
|
+
break;
|
1553
|
+
}
|
1554
|
+
}
|
1555
|
+
}
|
1556
|
+
}
|
1557
|
+
counter.add(1L);
|
1558
|
+
if (count > 1)
|
1559
|
+
checkForResize();
|
1560
|
+
return null;
|
1561
|
+
}
|
1562
|
+
|
1563
|
+
/** Implementation for computeIfAbsent */
|
1564
|
+
private final Object internalComputeIfAbsent(K k,
|
1565
|
+
Fun<? super K, ?> mf) {
|
1566
|
+
int h = spread(k.hashCode());
|
1567
|
+
Object val = null;
|
1568
|
+
int count = 0;
|
1569
|
+
for (AtomicReferenceArray<Node> tab = table;;) {
|
1570
|
+
Node f; int i, fh; Object fk, fv;
|
1571
|
+
if (tab == null)
|
1572
|
+
tab = initTable();
|
1573
|
+
else if ((f = tabAt(tab, i = (tab.length() - 1) & h)) == null) {
|
1574
|
+
Node node = new Node(fh = h | LOCKED, k, null, null);
|
1575
|
+
if (casTabAt(tab, i, null, node)) {
|
1576
|
+
count = 1;
|
1577
|
+
try {
|
1578
|
+
if ((val = mf.apply(k)) != null)
|
1579
|
+
node.val = val;
|
1580
|
+
} finally {
|
1581
|
+
if (val == null)
|
1582
|
+
setTabAt(tab, i, null);
|
1583
|
+
if (!node.casHash(fh, h)) {
|
1584
|
+
node.hash = h;
|
1585
|
+
synchronized (node) { node.notifyAll(); };
|
1586
|
+
}
|
1587
|
+
}
|
1588
|
+
}
|
1589
|
+
if (count != 0)
|
1590
|
+
break;
|
1591
|
+
}
|
1592
|
+
else if ((fh = f.hash) == MOVED) {
|
1593
|
+
if ((fk = f.key) instanceof TreeBin) {
|
1594
|
+
TreeBin t = (TreeBin)fk;
|
1595
|
+
boolean added = false;
|
1596
|
+
t.acquire(0);
|
1597
|
+
try {
|
1598
|
+
if (tabAt(tab, i) == f) {
|
1599
|
+
count = 1;
|
1600
|
+
TreeNode p = t.getTreeNode(h, k, t.root);
|
1601
|
+
if (p != null)
|
1602
|
+
val = p.val;
|
1603
|
+
else if ((val = mf.apply(k)) != null) {
|
1604
|
+
added = true;
|
1605
|
+
count = 2;
|
1606
|
+
t.putTreeNode(h, k, val);
|
1607
|
+
}
|
1608
|
+
}
|
1609
|
+
} finally {
|
1610
|
+
t.release(0);
|
1611
|
+
}
|
1612
|
+
if (count != 0) {
|
1613
|
+
if (!added)
|
1614
|
+
return val;
|
1615
|
+
break;
|
1616
|
+
}
|
1617
|
+
}
|
1618
|
+
else
|
1619
|
+
tab = (AtomicReferenceArray<Node>)fk;
|
1620
|
+
}
|
1621
|
+
else if ((fh & HASH_BITS) == h && (fv = f.val) != null &&
|
1622
|
+
((fk = f.key) == k || k.equals(fk)))
|
1623
|
+
return fv;
|
1624
|
+
else {
|
1625
|
+
Node g = f.next;
|
1626
|
+
if (g != null) {
|
1627
|
+
for (Node e = g;;) {
|
1628
|
+
Object ek, ev;
|
1629
|
+
if ((e.hash & HASH_BITS) == h && (ev = e.val) != null &&
|
1630
|
+
((ek = e.key) == k || k.equals(ek)))
|
1631
|
+
return ev;
|
1632
|
+
if ((e = e.next) == null) {
|
1633
|
+
checkForResize();
|
1634
|
+
break;
|
1635
|
+
}
|
1636
|
+
}
|
1637
|
+
}
|
1638
|
+
if (((fh = f.hash) & LOCKED) != 0) {
|
1639
|
+
checkForResize();
|
1640
|
+
f.tryAwaitLock(tab, i);
|
1641
|
+
}
|
1642
|
+
else if (tabAt(tab, i) == f && f.casHash(fh, fh | LOCKED)) {
|
1643
|
+
boolean added = false;
|
1644
|
+
try {
|
1645
|
+
if (tabAt(tab, i) == f) {
|
1646
|
+
count = 1;
|
1647
|
+
for (Node e = f;; ++count) {
|
1648
|
+
Object ek, ev;
|
1649
|
+
if ((e.hash & HASH_BITS) == h &&
|
1650
|
+
(ev = e.val) != null &&
|
1651
|
+
((ek = e.key) == k || k.equals(ek))) {
|
1652
|
+
val = ev;
|
1653
|
+
break;
|
1654
|
+
}
|
1655
|
+
Node last = e;
|
1656
|
+
if ((e = e.next) == null) {
|
1657
|
+
if ((val = mf.apply(k)) != null) {
|
1658
|
+
added = true;
|
1659
|
+
last.next = new Node(h, k, val, null);
|
1660
|
+
if (count >= TREE_THRESHOLD)
|
1661
|
+
replaceWithTreeBin(tab, i, k);
|
1662
|
+
}
|
1663
|
+
break;
|
1664
|
+
}
|
1665
|
+
}
|
1666
|
+
}
|
1667
|
+
} finally {
|
1668
|
+
if (!f.casHash(fh | LOCKED, fh)) {
|
1669
|
+
f.hash = fh;
|
1670
|
+
synchronized (f) { f.notifyAll(); };
|
1671
|
+
}
|
1672
|
+
}
|
1673
|
+
if (count != 0) {
|
1674
|
+
if (!added)
|
1675
|
+
return val;
|
1676
|
+
if (tab.length() <= 64)
|
1677
|
+
count = 2;
|
1678
|
+
break;
|
1679
|
+
}
|
1680
|
+
}
|
1681
|
+
}
|
1682
|
+
}
|
1683
|
+
if (val != null) {
|
1684
|
+
counter.add(1L);
|
1685
|
+
if (count > 1)
|
1686
|
+
checkForResize();
|
1687
|
+
}
|
1688
|
+
return val;
|
1689
|
+
}
|
1690
|
+
|
1691
|
+
/** Implementation for compute */
|
1692
|
+
@SuppressWarnings("unchecked") private final Object internalCompute
|
1693
|
+
(K k, boolean onlyIfPresent, BiFun<? super K, ? super V, ? extends V> mf) {
|
1694
|
+
int h = spread(k.hashCode());
|
1695
|
+
Object val = null;
|
1696
|
+
int delta = 0;
|
1697
|
+
int count = 0;
|
1698
|
+
for (AtomicReferenceArray<Node> tab = table;;) {
|
1699
|
+
Node f; int i, fh; Object fk;
|
1700
|
+
if (tab == null)
|
1701
|
+
tab = initTable();
|
1702
|
+
else if ((f = tabAt(tab, i = (tab.length() - 1) & h)) == null) {
|
1703
|
+
if (onlyIfPresent)
|
1704
|
+
break;
|
1705
|
+
Node node = new Node(fh = h | LOCKED, k, null, null);
|
1706
|
+
if (casTabAt(tab, i, null, node)) {
|
1707
|
+
try {
|
1708
|
+
count = 1;
|
1709
|
+
if ((val = mf.apply(k, null)) != null) {
|
1710
|
+
node.val = val;
|
1711
|
+
delta = 1;
|
1712
|
+
}
|
1713
|
+
} finally {
|
1714
|
+
if (delta == 0)
|
1715
|
+
setTabAt(tab, i, null);
|
1716
|
+
if (!node.casHash(fh, h)) {
|
1717
|
+
node.hash = h;
|
1718
|
+
synchronized (node) { node.notifyAll(); };
|
1719
|
+
}
|
1720
|
+
}
|
1721
|
+
}
|
1722
|
+
if (count != 0)
|
1723
|
+
break;
|
1724
|
+
}
|
1725
|
+
else if ((fh = f.hash) == MOVED) {
|
1726
|
+
if ((fk = f.key) instanceof TreeBin) {
|
1727
|
+
TreeBin t = (TreeBin)fk;
|
1728
|
+
t.acquire(0);
|
1729
|
+
try {
|
1730
|
+
if (tabAt(tab, i) == f) {
|
1731
|
+
count = 1;
|
1732
|
+
TreeNode p = t.getTreeNode(h, k, t.root);
|
1733
|
+
Object pv;
|
1734
|
+
if (p == null) {
|
1735
|
+
if (onlyIfPresent)
|
1736
|
+
break;
|
1737
|
+
pv = null;
|
1738
|
+
} else
|
1739
|
+
pv = p.val;
|
1740
|
+
if ((val = mf.apply(k, (V)pv)) != null) {
|
1741
|
+
if (p != null)
|
1742
|
+
p.val = val;
|
1743
|
+
else {
|
1744
|
+
count = 2;
|
1745
|
+
delta = 1;
|
1746
|
+
t.putTreeNode(h, k, val);
|
1747
|
+
}
|
1748
|
+
}
|
1749
|
+
else if (p != null) {
|
1750
|
+
delta = -1;
|
1751
|
+
t.deleteTreeNode(p);
|
1752
|
+
}
|
1753
|
+
}
|
1754
|
+
} finally {
|
1755
|
+
t.release(0);
|
1756
|
+
}
|
1757
|
+
if (count != 0)
|
1758
|
+
break;
|
1759
|
+
}
|
1760
|
+
else
|
1761
|
+
tab = (AtomicReferenceArray<Node>)fk;
|
1762
|
+
}
|
1763
|
+
else if ((fh & LOCKED) != 0) {
|
1764
|
+
checkForResize();
|
1765
|
+
f.tryAwaitLock(tab, i);
|
1766
|
+
}
|
1767
|
+
else if (f.casHash(fh, fh | LOCKED)) {
|
1768
|
+
try {
|
1769
|
+
if (tabAt(tab, i) == f) {
|
1770
|
+
count = 1;
|
1771
|
+
for (Node e = f, pred = null;; ++count) {
|
1772
|
+
Object ek, ev;
|
1773
|
+
if ((e.hash & HASH_BITS) == h &&
|
1774
|
+
(ev = e.val) != null &&
|
1775
|
+
((ek = e.key) == k || k.equals(ek))) {
|
1776
|
+
val = mf.apply(k, (V)ev);
|
1777
|
+
if (val != null)
|
1778
|
+
e.val = val;
|
1779
|
+
else {
|
1780
|
+
delta = -1;
|
1781
|
+
Node en = e.next;
|
1782
|
+
if (pred != null)
|
1783
|
+
pred.next = en;
|
1784
|
+
else
|
1785
|
+
setTabAt(tab, i, en);
|
1786
|
+
}
|
1787
|
+
break;
|
1788
|
+
}
|
1789
|
+
pred = e;
|
1790
|
+
if ((e = e.next) == null) {
|
1791
|
+
if (!onlyIfPresent && (val = mf.apply(k, null)) != null) {
|
1792
|
+
pred.next = new Node(h, k, val, null);
|
1793
|
+
delta = 1;
|
1794
|
+
if (count >= TREE_THRESHOLD)
|
1795
|
+
replaceWithTreeBin(tab, i, k);
|
1796
|
+
}
|
1797
|
+
break;
|
1798
|
+
}
|
1799
|
+
}
|
1800
|
+
}
|
1801
|
+
} finally {
|
1802
|
+
if (!f.casHash(fh | LOCKED, fh)) {
|
1803
|
+
f.hash = fh;
|
1804
|
+
synchronized (f) { f.notifyAll(); };
|
1805
|
+
}
|
1806
|
+
}
|
1807
|
+
if (count != 0) {
|
1808
|
+
if (tab.length() <= 64)
|
1809
|
+
count = 2;
|
1810
|
+
break;
|
1811
|
+
}
|
1812
|
+
}
|
1813
|
+
}
|
1814
|
+
if (delta != 0) {
|
1815
|
+
counter.add((long)delta);
|
1816
|
+
if (count > 1)
|
1817
|
+
checkForResize();
|
1818
|
+
}
|
1819
|
+
return val;
|
1820
|
+
}
|
1821
|
+
|
1822
|
+
/** Implementation for merge */
|
1823
|
+
@SuppressWarnings("unchecked") private final Object internalMerge
|
1824
|
+
(K k, V v, BiFun<? super V, ? super V, ? extends V> mf) {
|
1825
|
+
int h = spread(k.hashCode());
|
1826
|
+
Object val = null;
|
1827
|
+
int delta = 0;
|
1828
|
+
int count = 0;
|
1829
|
+
for (AtomicReferenceArray<Node> tab = table;;) {
|
1830
|
+
int i; Node f; int fh; Object fk, fv;
|
1831
|
+
if (tab == null)
|
1832
|
+
tab = initTable();
|
1833
|
+
else if ((f = tabAt(tab, i = (tab.length() - 1) & h)) == null) {
|
1834
|
+
if (casTabAt(tab, i, null, new Node(h, k, v, null))) {
|
1835
|
+
delta = 1;
|
1836
|
+
val = v;
|
1837
|
+
break;
|
1838
|
+
}
|
1839
|
+
}
|
1840
|
+
else if ((fh = f.hash) == MOVED) {
|
1841
|
+
if ((fk = f.key) instanceof TreeBin) {
|
1842
|
+
TreeBin t = (TreeBin)fk;
|
1843
|
+
t.acquire(0);
|
1844
|
+
try {
|
1845
|
+
if (tabAt(tab, i) == f) {
|
1846
|
+
count = 1;
|
1847
|
+
TreeNode p = t.getTreeNode(h, k, t.root);
|
1848
|
+
val = (p == null) ? v : mf.apply((V)p.val, v);
|
1849
|
+
if (val != null) {
|
1850
|
+
if (p != null)
|
1851
|
+
p.val = val;
|
1852
|
+
else {
|
1853
|
+
count = 2;
|
1854
|
+
delta = 1;
|
1855
|
+
t.putTreeNode(h, k, val);
|
1856
|
+
}
|
1857
|
+
}
|
1858
|
+
else if (p != null) {
|
1859
|
+
delta = -1;
|
1860
|
+
t.deleteTreeNode(p);
|
1861
|
+
}
|
1862
|
+
}
|
1863
|
+
} finally {
|
1864
|
+
t.release(0);
|
1865
|
+
}
|
1866
|
+
if (count != 0)
|
1867
|
+
break;
|
1868
|
+
}
|
1869
|
+
else
|
1870
|
+
tab = (AtomicReferenceArray<Node>)fk;
|
1871
|
+
}
|
1872
|
+
else if ((fh & LOCKED) != 0) {
|
1873
|
+
checkForResize();
|
1874
|
+
f.tryAwaitLock(tab, i);
|
1875
|
+
}
|
1876
|
+
else if (f.casHash(fh, fh | LOCKED)) {
|
1877
|
+
try {
|
1878
|
+
if (tabAt(tab, i) == f) {
|
1879
|
+
count = 1;
|
1880
|
+
for (Node e = f, pred = null;; ++count) {
|
1881
|
+
Object ek, ev;
|
1882
|
+
if ((e.hash & HASH_BITS) == h &&
|
1883
|
+
(ev = e.val) != null &&
|
1884
|
+
((ek = e.key) == k || k.equals(ek))) {
|
1885
|
+
val = mf.apply((V)ev, v);
|
1886
|
+
if (val != null)
|
1887
|
+
e.val = val;
|
1888
|
+
else {
|
1889
|
+
delta = -1;
|
1890
|
+
Node en = e.next;
|
1891
|
+
if (pred != null)
|
1892
|
+
pred.next = en;
|
1893
|
+
else
|
1894
|
+
setTabAt(tab, i, en);
|
1895
|
+
}
|
1896
|
+
break;
|
1897
|
+
}
|
1898
|
+
pred = e;
|
1899
|
+
if ((e = e.next) == null) {
|
1900
|
+
val = v;
|
1901
|
+
pred.next = new Node(h, k, val, null);
|
1902
|
+
delta = 1;
|
1903
|
+
if (count >= TREE_THRESHOLD)
|
1904
|
+
replaceWithTreeBin(tab, i, k);
|
1905
|
+
break;
|
1906
|
+
}
|
1907
|
+
}
|
1908
|
+
}
|
1909
|
+
} finally {
|
1910
|
+
if (!f.casHash(fh | LOCKED, fh)) {
|
1911
|
+
f.hash = fh;
|
1912
|
+
synchronized (f) { f.notifyAll(); };
|
1913
|
+
}
|
1914
|
+
}
|
1915
|
+
if (count != 0) {
|
1916
|
+
if (tab.length() <= 64)
|
1917
|
+
count = 2;
|
1918
|
+
break;
|
1919
|
+
}
|
1920
|
+
}
|
1921
|
+
}
|
1922
|
+
if (delta != 0) {
|
1923
|
+
counter.add((long)delta);
|
1924
|
+
if (count > 1)
|
1925
|
+
checkForResize();
|
1926
|
+
}
|
1927
|
+
return val;
|
1928
|
+
}
|
1929
|
+
|
1930
|
+
/** Implementation for putAll */
|
1931
|
+
private final void internalPutAll(Map<?, ?> m) {
|
1932
|
+
tryPresize(m.size());
|
1933
|
+
long delta = 0L; // number of uncommitted additions
|
1934
|
+
boolean npe = false; // to throw exception on exit for nulls
|
1935
|
+
try { // to clean up counts on other exceptions
|
1936
|
+
for (Map.Entry<?, ?> entry : m.entrySet()) {
|
1937
|
+
Object k, v;
|
1938
|
+
if (entry == null || (k = entry.getKey()) == null ||
|
1939
|
+
(v = entry.getValue()) == null) {
|
1940
|
+
npe = true;
|
1941
|
+
break;
|
1942
|
+
}
|
1943
|
+
int h = spread(k.hashCode());
|
1944
|
+
for (AtomicReferenceArray<Node> tab = table;;) {
|
1945
|
+
int i; Node f; int fh; Object fk;
|
1946
|
+
if (tab == null)
|
1947
|
+
tab = initTable();
|
1948
|
+
else if ((f = tabAt(tab, i = (tab.length() - 1) & h)) == null){
|
1949
|
+
if (casTabAt(tab, i, null, new Node(h, k, v, null))) {
|
1950
|
+
++delta;
|
1951
|
+
break;
|
1952
|
+
}
|
1953
|
+
}
|
1954
|
+
else if ((fh = f.hash) == MOVED) {
|
1955
|
+
if ((fk = f.key) instanceof TreeBin) {
|
1956
|
+
TreeBin t = (TreeBin)fk;
|
1957
|
+
boolean validated = false;
|
1958
|
+
t.acquire(0);
|
1959
|
+
try {
|
1960
|
+
if (tabAt(tab, i) == f) {
|
1961
|
+
validated = true;
|
1962
|
+
TreeNode p = t.getTreeNode(h, k, t.root);
|
1963
|
+
if (p != null)
|
1964
|
+
p.val = v;
|
1965
|
+
else {
|
1966
|
+
t.putTreeNode(h, k, v);
|
1967
|
+
++delta;
|
1968
|
+
}
|
1969
|
+
}
|
1970
|
+
} finally {
|
1971
|
+
t.release(0);
|
1972
|
+
}
|
1973
|
+
if (validated)
|
1974
|
+
break;
|
1975
|
+
}
|
1976
|
+
else
|
1977
|
+
tab = (AtomicReferenceArray<Node>)fk;
|
1978
|
+
}
|
1979
|
+
else if ((fh & LOCKED) != 0) {
|
1980
|
+
counter.add(delta);
|
1981
|
+
delta = 0L;
|
1982
|
+
checkForResize();
|
1983
|
+
f.tryAwaitLock(tab, i);
|
1984
|
+
}
|
1985
|
+
else if (f.casHash(fh, fh | LOCKED)) {
|
1986
|
+
int count = 0;
|
1987
|
+
try {
|
1988
|
+
if (tabAt(tab, i) == f) {
|
1989
|
+
count = 1;
|
1990
|
+
for (Node e = f;; ++count) {
|
1991
|
+
Object ek, ev;
|
1992
|
+
if ((e.hash & HASH_BITS) == h &&
|
1993
|
+
(ev = e.val) != null &&
|
1994
|
+
((ek = e.key) == k || k.equals(ek))) {
|
1995
|
+
e.val = v;
|
1996
|
+
break;
|
1997
|
+
}
|
1998
|
+
Node last = e;
|
1999
|
+
if ((e = e.next) == null) {
|
2000
|
+
++delta;
|
2001
|
+
last.next = new Node(h, k, v, null);
|
2002
|
+
if (count >= TREE_THRESHOLD)
|
2003
|
+
replaceWithTreeBin(tab, i, k);
|
2004
|
+
break;
|
2005
|
+
}
|
2006
|
+
}
|
2007
|
+
}
|
2008
|
+
} finally {
|
2009
|
+
if (!f.casHash(fh | LOCKED, fh)) {
|
2010
|
+
f.hash = fh;
|
2011
|
+
synchronized (f) { f.notifyAll(); };
|
2012
|
+
}
|
2013
|
+
}
|
2014
|
+
if (count != 0) {
|
2015
|
+
if (count > 1) {
|
2016
|
+
counter.add(delta);
|
2017
|
+
delta = 0L;
|
2018
|
+
checkForResize();
|
2019
|
+
}
|
2020
|
+
break;
|
2021
|
+
}
|
2022
|
+
}
|
2023
|
+
}
|
2024
|
+
}
|
2025
|
+
} finally {
|
2026
|
+
if (delta != 0)
|
2027
|
+
counter.add(delta);
|
2028
|
+
}
|
2029
|
+
if (npe)
|
2030
|
+
throw new NullPointerException();
|
2031
|
+
}
|
2032
|
+
|
2033
|
+
/* ---------------- Table Initialization and Resizing -------------- */
|
2034
|
+
|
2035
|
+
/**
|
2036
|
+
* Returns a power of two table size for the given desired capacity.
|
2037
|
+
* See Hackers Delight, sec 3.2
|
2038
|
+
*/
|
2039
|
+
private static final int tableSizeFor(int c) {
|
2040
|
+
int n = c - 1;
|
2041
|
+
n |= n >>> 1;
|
2042
|
+
n |= n >>> 2;
|
2043
|
+
n |= n >>> 4;
|
2044
|
+
n |= n >>> 8;
|
2045
|
+
n |= n >>> 16;
|
2046
|
+
return (n < 0) ? 1 : (n >= MAXIMUM_CAPACITY) ? MAXIMUM_CAPACITY : n + 1;
|
2047
|
+
}
|
2048
|
+
|
2049
|
+
/**
|
2050
|
+
* Initializes table, using the size recorded in sizeCtl.
|
2051
|
+
*/
|
2052
|
+
private final AtomicReferenceArray<Node> initTable() {
|
2053
|
+
AtomicReferenceArray<Node> tab; int sc;
|
2054
|
+
while ((tab = table) == null) {
|
2055
|
+
if ((sc = sizeCtl) < 0)
|
2056
|
+
Thread.yield(); // lost initialization race; just spin
|
2057
|
+
else if (SIZE_CTRL_UPDATER.compareAndSet(this, sc, -1)) {
|
2058
|
+
try {
|
2059
|
+
if ((tab = table) == null) {
|
2060
|
+
int n = (sc > 0) ? sc : DEFAULT_CAPACITY;
|
2061
|
+
tab = table = new AtomicReferenceArray<Node>(n);
|
2062
|
+
sc = n - (n >>> 2);
|
2063
|
+
}
|
2064
|
+
} finally {
|
2065
|
+
sizeCtl = sc;
|
2066
|
+
}
|
2067
|
+
break;
|
2068
|
+
}
|
2069
|
+
}
|
2070
|
+
return tab;
|
2071
|
+
}
|
2072
|
+
|
2073
|
+
/**
|
2074
|
+
* If table is too small and not already resizing, creates next
|
2075
|
+
* table and transfers bins. Rechecks occupancy after a transfer
|
2076
|
+
* to see if another resize is already needed because resizings
|
2077
|
+
* are lagging additions.
|
2078
|
+
*/
|
2079
|
+
private final void checkForResize() {
|
2080
|
+
AtomicReferenceArray<Node> tab; int n, sc;
|
2081
|
+
while ((tab = table) != null &&
|
2082
|
+
(n = tab.length()) < MAXIMUM_CAPACITY &&
|
2083
|
+
(sc = sizeCtl) >= 0 && counter.sum() >= (long)sc &&
|
2084
|
+
SIZE_CTRL_UPDATER.compareAndSet(this, sc, -1)) {
|
2085
|
+
try {
|
2086
|
+
if (tab == table) {
|
2087
|
+
table = rebuild(tab);
|
2088
|
+
sc = (n << 1) - (n >>> 1);
|
2089
|
+
}
|
2090
|
+
} finally {
|
2091
|
+
sizeCtl = sc;
|
2092
|
+
}
|
2093
|
+
}
|
2094
|
+
}
|
2095
|
+
|
2096
|
+
/**
|
2097
|
+
* Tries to presize table to accommodate the given number of elements.
|
2098
|
+
*
|
2099
|
+
* @param size number of elements (doesn't need to be perfectly accurate)
|
2100
|
+
*/
|
2101
|
+
private final void tryPresize(int size) {
|
2102
|
+
int c = (size >= (MAXIMUM_CAPACITY >>> 1)) ? MAXIMUM_CAPACITY :
|
2103
|
+
tableSizeFor(size + (size >>> 1) + 1);
|
2104
|
+
int sc;
|
2105
|
+
while ((sc = sizeCtl) >= 0) {
|
2106
|
+
AtomicReferenceArray<Node> tab = table; int n;
|
2107
|
+
if (tab == null || (n = tab.length()) == 0) {
|
2108
|
+
n = (sc > c) ? sc : c;
|
2109
|
+
if (SIZE_CTRL_UPDATER.compareAndSet(this, sc, -1)) {
|
2110
|
+
try {
|
2111
|
+
if (table == tab) {
|
2112
|
+
table = new AtomicReferenceArray<Node>(n);
|
2113
|
+
sc = n - (n >>> 2);
|
2114
|
+
}
|
2115
|
+
} finally {
|
2116
|
+
sizeCtl = sc;
|
2117
|
+
}
|
2118
|
+
}
|
2119
|
+
}
|
2120
|
+
else if (c <= sc || n >= MAXIMUM_CAPACITY)
|
2121
|
+
break;
|
2122
|
+
else if (SIZE_CTRL_UPDATER.compareAndSet(this, sc, -1)) {
|
2123
|
+
try {
|
2124
|
+
if (table == tab) {
|
2125
|
+
table = rebuild(tab);
|
2126
|
+
sc = (n << 1) - (n >>> 1);
|
2127
|
+
}
|
2128
|
+
} finally {
|
2129
|
+
sizeCtl = sc;
|
2130
|
+
}
|
2131
|
+
}
|
2132
|
+
}
|
2133
|
+
}
|
2134
|
+
|
2135
|
+
/*
|
2136
|
+
* Moves and/or copies the nodes in each bin to new table. See
|
2137
|
+
* above for explanation.
|
2138
|
+
*
|
2139
|
+
* @return the new table
|
2140
|
+
*/
|
2141
|
+
private static final AtomicReferenceArray<Node> rebuild(AtomicReferenceArray<Node> tab) {
|
2142
|
+
int n = tab.length();
|
2143
|
+
AtomicReferenceArray<Node> nextTab = new AtomicReferenceArray<Node>(n << 1);
|
2144
|
+
Node fwd = new Node(MOVED, nextTab, null, null);
|
2145
|
+
int[] buffer = null; // holds bins to revisit; null until needed
|
2146
|
+
Node rev = null; // reverse forwarder; null until needed
|
2147
|
+
int nbuffered = 0; // the number of bins in buffer list
|
2148
|
+
int bufferIndex = 0; // buffer index of current buffered bin
|
2149
|
+
int bin = n - 1; // current non-buffered bin or -1 if none
|
2150
|
+
|
2151
|
+
for (int i = bin;;) { // start upwards sweep
|
2152
|
+
int fh; Node f;
|
2153
|
+
if ((f = tabAt(tab, i)) == null) {
|
2154
|
+
if (bin >= 0) { // Unbuffered; no lock needed (or available)
|
2155
|
+
if (!casTabAt(tab, i, f, fwd))
|
2156
|
+
continue;
|
2157
|
+
}
|
2158
|
+
else { // transiently use a locked forwarding node
|
2159
|
+
Node g = new Node(MOVED|LOCKED, nextTab, null, null);
|
2160
|
+
if (!casTabAt(tab, i, f, g))
|
2161
|
+
continue;
|
2162
|
+
setTabAt(nextTab, i, null);
|
2163
|
+
setTabAt(nextTab, i + n, null);
|
2164
|
+
setTabAt(tab, i, fwd);
|
2165
|
+
if (!g.casHash(MOVED|LOCKED, MOVED)) {
|
2166
|
+
g.hash = MOVED;
|
2167
|
+
synchronized (g) { g.notifyAll(); }
|
2168
|
+
}
|
2169
|
+
}
|
2170
|
+
}
|
2171
|
+
else if ((fh = f.hash) == MOVED) {
|
2172
|
+
Object fk = f.key;
|
2173
|
+
if (fk instanceof TreeBin) {
|
2174
|
+
TreeBin t = (TreeBin)fk;
|
2175
|
+
boolean validated = false;
|
2176
|
+
t.acquire(0);
|
2177
|
+
try {
|
2178
|
+
if (tabAt(tab, i) == f) {
|
2179
|
+
validated = true;
|
2180
|
+
splitTreeBin(nextTab, i, t);
|
2181
|
+
setTabAt(tab, i, fwd);
|
2182
|
+
}
|
2183
|
+
} finally {
|
2184
|
+
t.release(0);
|
2185
|
+
}
|
2186
|
+
if (!validated)
|
2187
|
+
continue;
|
2188
|
+
}
|
2189
|
+
}
|
2190
|
+
else if ((fh & LOCKED) == 0 && f.casHash(fh, fh|LOCKED)) {
|
2191
|
+
boolean validated = false;
|
2192
|
+
try { // split to lo and hi lists; copying as needed
|
2193
|
+
if (tabAt(tab, i) == f) {
|
2194
|
+
validated = true;
|
2195
|
+
splitBin(nextTab, i, f);
|
2196
|
+
setTabAt(tab, i, fwd);
|
2197
|
+
}
|
2198
|
+
} finally {
|
2199
|
+
if (!f.casHash(fh | LOCKED, fh)) {
|
2200
|
+
f.hash = fh;
|
2201
|
+
synchronized (f) { f.notifyAll(); };
|
2202
|
+
}
|
2203
|
+
}
|
2204
|
+
if (!validated)
|
2205
|
+
continue;
|
2206
|
+
}
|
2207
|
+
else {
|
2208
|
+
if (buffer == null) // initialize buffer for revisits
|
2209
|
+
buffer = new int[TRANSFER_BUFFER_SIZE];
|
2210
|
+
if (bin < 0 && bufferIndex > 0) {
|
2211
|
+
int j = buffer[--bufferIndex];
|
2212
|
+
buffer[bufferIndex] = i;
|
2213
|
+
i = j; // swap with another bin
|
2214
|
+
continue;
|
2215
|
+
}
|
2216
|
+
if (bin < 0 || nbuffered >= TRANSFER_BUFFER_SIZE) {
|
2217
|
+
f.tryAwaitLock(tab, i);
|
2218
|
+
continue; // no other options -- block
|
2219
|
+
}
|
2220
|
+
if (rev == null) // initialize reverse-forwarder
|
2221
|
+
rev = new Node(MOVED, tab, null, null);
|
2222
|
+
if (tabAt(tab, i) != f || (f.hash & LOCKED) == 0)
|
2223
|
+
continue; // recheck before adding to list
|
2224
|
+
buffer[nbuffered++] = i;
|
2225
|
+
setTabAt(nextTab, i, rev); // install place-holders
|
2226
|
+
setTabAt(nextTab, i + n, rev);
|
2227
|
+
}
|
2228
|
+
|
2229
|
+
if (bin > 0)
|
2230
|
+
i = --bin;
|
2231
|
+
else if (buffer != null && nbuffered > 0) {
|
2232
|
+
bin = -1;
|
2233
|
+
i = buffer[bufferIndex = --nbuffered];
|
2234
|
+
}
|
2235
|
+
else
|
2236
|
+
return nextTab;
|
2237
|
+
}
|
2238
|
+
}
|
2239
|
+
|
2240
|
+
/**
|
2241
|
+
* Splits a normal bin with list headed by e into lo and hi parts;
|
2242
|
+
* installs in given table.
|
2243
|
+
*/
|
2244
|
+
private static void splitBin(AtomicReferenceArray<Node> nextTab, int i, Node e) {
|
2245
|
+
int bit = nextTab.length() >>> 1; // bit to split on
|
2246
|
+
int runBit = e.hash & bit;
|
2247
|
+
Node lastRun = e, lo = null, hi = null;
|
2248
|
+
for (Node p = e.next; p != null; p = p.next) {
|
2249
|
+
int b = p.hash & bit;
|
2250
|
+
if (b != runBit) {
|
2251
|
+
runBit = b;
|
2252
|
+
lastRun = p;
|
2253
|
+
}
|
2254
|
+
}
|
2255
|
+
if (runBit == 0)
|
2256
|
+
lo = lastRun;
|
2257
|
+
else
|
2258
|
+
hi = lastRun;
|
2259
|
+
for (Node p = e; p != lastRun; p = p.next) {
|
2260
|
+
int ph = p.hash & HASH_BITS;
|
2261
|
+
Object pk = p.key, pv = p.val;
|
2262
|
+
if ((ph & bit) == 0)
|
2263
|
+
lo = new Node(ph, pk, pv, lo);
|
2264
|
+
else
|
2265
|
+
hi = new Node(ph, pk, pv, hi);
|
2266
|
+
}
|
2267
|
+
setTabAt(nextTab, i, lo);
|
2268
|
+
setTabAt(nextTab, i + bit, hi);
|
2269
|
+
}
|
2270
|
+
|
2271
|
+
/**
|
2272
|
+
* Splits a tree bin into lo and hi parts; installs in given table.
|
2273
|
+
*/
|
2274
|
+
private static void splitTreeBin(AtomicReferenceArray<Node> nextTab, int i, TreeBin t) {
|
2275
|
+
int bit = nextTab.length() >>> 1;
|
2276
|
+
TreeBin lt = new TreeBin();
|
2277
|
+
TreeBin ht = new TreeBin();
|
2278
|
+
int lc = 0, hc = 0;
|
2279
|
+
for (Node e = t.first; e != null; e = e.next) {
|
2280
|
+
int h = e.hash & HASH_BITS;
|
2281
|
+
Object k = e.key, v = e.val;
|
2282
|
+
if ((h & bit) == 0) {
|
2283
|
+
++lc;
|
2284
|
+
lt.putTreeNode(h, k, v);
|
2285
|
+
}
|
2286
|
+
else {
|
2287
|
+
++hc;
|
2288
|
+
ht.putTreeNode(h, k, v);
|
2289
|
+
}
|
2290
|
+
}
|
2291
|
+
Node ln, hn; // throw away trees if too small
|
2292
|
+
if (lc <= (TREE_THRESHOLD >>> 1)) {
|
2293
|
+
ln = null;
|
2294
|
+
for (Node p = lt.first; p != null; p = p.next)
|
2295
|
+
ln = new Node(p.hash, p.key, p.val, ln);
|
2296
|
+
}
|
2297
|
+
else
|
2298
|
+
ln = new Node(MOVED, lt, null, null);
|
2299
|
+
setTabAt(nextTab, i, ln);
|
2300
|
+
if (hc <= (TREE_THRESHOLD >>> 1)) {
|
2301
|
+
hn = null;
|
2302
|
+
for (Node p = ht.first; p != null; p = p.next)
|
2303
|
+
hn = new Node(p.hash, p.key, p.val, hn);
|
2304
|
+
}
|
2305
|
+
else
|
2306
|
+
hn = new Node(MOVED, ht, null, null);
|
2307
|
+
setTabAt(nextTab, i + bit, hn);
|
2308
|
+
}
|
2309
|
+
|
2310
|
+
/**
|
2311
|
+
* Implementation for clear. Steps through each bin, removing all
|
2312
|
+
* nodes.
|
2313
|
+
*/
|
2314
|
+
private final void internalClear() {
|
2315
|
+
long delta = 0L; // negative number of deletions
|
2316
|
+
int i = 0;
|
2317
|
+
AtomicReferenceArray<Node> tab = table;
|
2318
|
+
while (tab != null && i < tab.length()) {
|
2319
|
+
int fh; Object fk;
|
2320
|
+
Node f = tabAt(tab, i);
|
2321
|
+
if (f == null)
|
2322
|
+
++i;
|
2323
|
+
else if ((fh = f.hash) == MOVED) {
|
2324
|
+
if ((fk = f.key) instanceof TreeBin) {
|
2325
|
+
TreeBin t = (TreeBin)fk;
|
2326
|
+
t.acquire(0);
|
2327
|
+
try {
|
2328
|
+
if (tabAt(tab, i) == f) {
|
2329
|
+
for (Node p = t.first; p != null; p = p.next) {
|
2330
|
+
if (p.val != null) { // (currently always true)
|
2331
|
+
p.val = null;
|
2332
|
+
--delta;
|
2333
|
+
}
|
2334
|
+
}
|
2335
|
+
t.first = null;
|
2336
|
+
t.root = null;
|
2337
|
+
++i;
|
2338
|
+
}
|
2339
|
+
} finally {
|
2340
|
+
t.release(0);
|
2341
|
+
}
|
2342
|
+
}
|
2343
|
+
else
|
2344
|
+
tab = (AtomicReferenceArray<Node>)fk;
|
2345
|
+
}
|
2346
|
+
else if ((fh & LOCKED) != 0) {
|
2347
|
+
counter.add(delta); // opportunistically update count
|
2348
|
+
delta = 0L;
|
2349
|
+
f.tryAwaitLock(tab, i);
|
2350
|
+
}
|
2351
|
+
else if (f.casHash(fh, fh | LOCKED)) {
|
2352
|
+
try {
|
2353
|
+
if (tabAt(tab, i) == f) {
|
2354
|
+
for (Node e = f; e != null; e = e.next) {
|
2355
|
+
if (e.val != null) { // (currently always true)
|
2356
|
+
e.val = null;
|
2357
|
+
--delta;
|
2358
|
+
}
|
2359
|
+
}
|
2360
|
+
setTabAt(tab, i, null);
|
2361
|
+
++i;
|
2362
|
+
}
|
2363
|
+
} finally {
|
2364
|
+
if (!f.casHash(fh | LOCKED, fh)) {
|
2365
|
+
f.hash = fh;
|
2366
|
+
synchronized (f) { f.notifyAll(); };
|
2367
|
+
}
|
2368
|
+
}
|
2369
|
+
}
|
2370
|
+
}
|
2371
|
+
if (delta != 0)
|
2372
|
+
counter.add(delta);
|
2373
|
+
}
|
2374
|
+
|
2375
|
+
/* ----------------Table Traversal -------------- */
|
2376
|
+
|
2377
|
+
/**
|
2378
|
+
* Encapsulates traversal for methods such as containsValue; also
|
2379
|
+
* serves as a base class for other iterators and bulk tasks.
|
2380
|
+
*
|
2381
|
+
* At each step, the iterator snapshots the key ("nextKey") and
|
2382
|
+
* value ("nextVal") of a valid node (i.e., one that, at point of
|
2383
|
+
* snapshot, has a non-null user value). Because val fields can
|
2384
|
+
* change (including to null, indicating deletion), field nextVal
|
2385
|
+
* might not be accurate at point of use, but still maintains the
|
2386
|
+
* weak consistency property of holding a value that was once
|
2387
|
+
* valid. To support iterator.remove, the nextKey field is not
|
2388
|
+
* updated (nulled out) when the iterator cannot advance.
|
2389
|
+
*
|
2390
|
+
* Internal traversals directly access these fields, as in:
|
2391
|
+
* {@code while (it.advance() != null) { process(it.nextKey); }}
|
2392
|
+
*
|
2393
|
+
* Exported iterators must track whether the iterator has advanced
|
2394
|
+
* (in hasNext vs next) (by setting/checking/nulling field
|
2395
|
+
* nextVal), and then extract key, value, or key-value pairs as
|
2396
|
+
* return values of next().
|
2397
|
+
*
|
2398
|
+
* The iterator visits once each still-valid node that was
|
2399
|
+
* reachable upon iterator construction. It might miss some that
|
2400
|
+
* were added to a bin after the bin was visited, which is OK wrt
|
2401
|
+
* consistency guarantees. Maintaining this property in the face
|
2402
|
+
* of possible ongoing resizes requires a fair amount of
|
2403
|
+
* bookkeeping state that is difficult to optimize away amidst
|
2404
|
+
* volatile accesses. Even so, traversal maintains reasonable
|
2405
|
+
* throughput.
|
2406
|
+
*
|
2407
|
+
* Normally, iteration proceeds bin-by-bin traversing lists.
|
2408
|
+
* However, if the table has been resized, then all future steps
|
2409
|
+
* must traverse both the bin at the current index as well as at
|
2410
|
+
* (index + baseSize); and so on for further resizings. To
|
2411
|
+
* paranoically cope with potential sharing by users of iterators
|
2412
|
+
* across threads, iteration terminates if a bounds checks fails
|
2413
|
+
* for a table read.
|
2414
|
+
*
|
2415
|
+
* This class extends ForkJoinTask to streamline parallel
|
2416
|
+
* iteration in bulk operations (see BulkTask). This adds only an
|
2417
|
+
* int of space overhead, which is close enough to negligible in
|
2418
|
+
* cases where it is not needed to not worry about it. Because
|
2419
|
+
* ForkJoinTask is Serializable, but iterators need not be, we
|
2420
|
+
* need to add warning suppressions.
|
2421
|
+
*/
|
2422
|
+
@SuppressWarnings("serial") static class Traverser<K,V,R> {
|
2423
|
+
final ConcurrentHashMapV8<K, V> map;
|
2424
|
+
Node next; // the next entry to use
|
2425
|
+
K nextKey; // cached key field of next
|
2426
|
+
V nextVal; // cached val field of next
|
2427
|
+
AtomicReferenceArray<Node> tab; // current table; updated if resized
|
2428
|
+
int index; // index of bin to use next
|
2429
|
+
int baseIndex; // current index of initial table
|
2430
|
+
int baseLimit; // index bound for initial table
|
2431
|
+
int baseSize; // initial table size
|
2432
|
+
|
2433
|
+
/** Creates iterator for all entries in the table. */
|
2434
|
+
Traverser(ConcurrentHashMapV8<K, V> map) {
|
2435
|
+
this.map = map;
|
2436
|
+
}
|
2437
|
+
|
2438
|
+
/** Creates iterator for split() methods */
|
2439
|
+
Traverser(Traverser<K,V,?> it) {
|
2440
|
+
ConcurrentHashMapV8<K, V> m; AtomicReferenceArray<Node> t;
|
2441
|
+
if ((m = this.map = it.map) == null)
|
2442
|
+
t = null;
|
2443
|
+
else if ((t = it.tab) == null && // force parent tab initialization
|
2444
|
+
(t = it.tab = m.table) != null)
|
2445
|
+
it.baseLimit = it.baseSize = t.length();
|
2446
|
+
this.tab = t;
|
2447
|
+
this.baseSize = it.baseSize;
|
2448
|
+
it.baseLimit = this.index = this.baseIndex =
|
2449
|
+
((this.baseLimit = it.baseLimit) + it.baseIndex + 1) >>> 1;
|
2450
|
+
}
|
2451
|
+
|
2452
|
+
/**
|
2453
|
+
* Advances next; returns nextVal or null if terminated.
|
2454
|
+
* See above for explanation.
|
2455
|
+
*/
|
2456
|
+
final V advance() {
|
2457
|
+
Node e = next;
|
2458
|
+
V ev = null;
|
2459
|
+
outer: do {
|
2460
|
+
if (e != null) // advance past used/skipped node
|
2461
|
+
e = e.next;
|
2462
|
+
while (e == null) { // get to next non-null bin
|
2463
|
+
ConcurrentHashMapV8<K, V> m;
|
2464
|
+
AtomicReferenceArray<Node> t; int b, i, n; Object ek; // checks must use locals
|
2465
|
+
if ((t = tab) != null)
|
2466
|
+
n = t.length();
|
2467
|
+
else if ((m = map) != null && (t = tab = m.table) != null)
|
2468
|
+
n = baseLimit = baseSize = t.length();
|
2469
|
+
else
|
2470
|
+
break outer;
|
2471
|
+
if ((b = baseIndex) >= baseLimit ||
|
2472
|
+
(i = index) < 0 || i >= n)
|
2473
|
+
break outer;
|
2474
|
+
if ((e = tabAt(t, i)) != null && e.hash == MOVED) {
|
2475
|
+
if ((ek = e.key) instanceof TreeBin)
|
2476
|
+
e = ((TreeBin)ek).first;
|
2477
|
+
else {
|
2478
|
+
tab = (AtomicReferenceArray<Node>)ek;
|
2479
|
+
continue; // restarts due to null val
|
2480
|
+
}
|
2481
|
+
} // visit upper slots if present
|
2482
|
+
index = (i += baseSize) < n ? i : (baseIndex = b + 1);
|
2483
|
+
}
|
2484
|
+
nextKey = (K) e.key;
|
2485
|
+
} while ((ev = (V) e.val) == null); // skip deleted or special nodes
|
2486
|
+
next = e;
|
2487
|
+
return nextVal = ev;
|
2488
|
+
}
|
2489
|
+
|
2490
|
+
public final void remove() {
|
2491
|
+
Object k = nextKey;
|
2492
|
+
if (k == null && (advance() == null || (k = nextKey) == null))
|
2493
|
+
throw new IllegalStateException();
|
2494
|
+
map.internalReplace(k, null, null);
|
2495
|
+
}
|
2496
|
+
|
2497
|
+
public final boolean hasNext() {
|
2498
|
+
return nextVal != null || advance() != null;
|
2499
|
+
}
|
2500
|
+
|
2501
|
+
public final boolean hasMoreElements() { return hasNext(); }
|
2502
|
+
public final void setRawResult(Object x) { }
|
2503
|
+
public R getRawResult() { return null; }
|
2504
|
+
public boolean exec() { return true; }
|
2505
|
+
}
|
2506
|
+
|
2507
|
+
/* ---------------- Public operations -------------- */
|
2508
|
+
|
2509
|
+
/**
|
2510
|
+
* Creates a new, empty map with the default initial table size (16).
|
2511
|
+
*/
|
2512
|
+
public ConcurrentHashMapV8() {
|
2513
|
+
this.counter = new LongAdder();
|
2514
|
+
}
|
2515
|
+
|
2516
|
+
/**
|
2517
|
+
* Creates a new, empty map with an initial table size
|
2518
|
+
* accommodating the specified number of elements without the need
|
2519
|
+
* to dynamically resize.
|
2520
|
+
*
|
2521
|
+
* @param initialCapacity The implementation performs internal
|
2522
|
+
* sizing to accommodate this many elements.
|
2523
|
+
* @throws IllegalArgumentException if the initial capacity of
|
2524
|
+
* elements is negative
|
2525
|
+
*/
|
2526
|
+
public ConcurrentHashMapV8(int initialCapacity) {
|
2527
|
+
if (initialCapacity < 0)
|
2528
|
+
throw new IllegalArgumentException();
|
2529
|
+
int cap = ((initialCapacity >= (MAXIMUM_CAPACITY >>> 1)) ?
|
2530
|
+
MAXIMUM_CAPACITY :
|
2531
|
+
tableSizeFor(initialCapacity + (initialCapacity >>> 1) + 1));
|
2532
|
+
this.counter = new LongAdder();
|
2533
|
+
this.sizeCtl = cap;
|
2534
|
+
}
|
2535
|
+
|
2536
|
+
/**
|
2537
|
+
* Creates a new map with the same mappings as the given map.
|
2538
|
+
*
|
2539
|
+
* @param m the map
|
2540
|
+
*/
|
2541
|
+
public ConcurrentHashMapV8(Map<? extends K, ? extends V> m) {
|
2542
|
+
this.counter = new LongAdder();
|
2543
|
+
this.sizeCtl = DEFAULT_CAPACITY;
|
2544
|
+
internalPutAll(m);
|
2545
|
+
}
|
2546
|
+
|
2547
|
+
/**
|
2548
|
+
* Creates a new, empty map with an initial table size based on
|
2549
|
+
* the given number of elements ({@code initialCapacity}) and
|
2550
|
+
* initial table density ({@code loadFactor}).
|
2551
|
+
*
|
2552
|
+
* @param initialCapacity the initial capacity. The implementation
|
2553
|
+
* performs internal sizing to accommodate this many elements,
|
2554
|
+
* given the specified load factor.
|
2555
|
+
* @param loadFactor the load factor (table density) for
|
2556
|
+
* establishing the initial table size
|
2557
|
+
* @throws IllegalArgumentException if the initial capacity of
|
2558
|
+
* elements is negative or the load factor is nonpositive
|
2559
|
+
*
|
2560
|
+
* @since 1.6
|
2561
|
+
*/
|
2562
|
+
public ConcurrentHashMapV8(int initialCapacity, float loadFactor) {
|
2563
|
+
this(initialCapacity, loadFactor, 1);
|
2564
|
+
}
|
2565
|
+
|
2566
|
+
/**
|
2567
|
+
* Creates a new, empty map with an initial table size based on
|
2568
|
+
* the given number of elements ({@code initialCapacity}), table
|
2569
|
+
* density ({@code loadFactor}), and number of concurrently
|
2570
|
+
* updating threads ({@code concurrencyLevel}).
|
2571
|
+
*
|
2572
|
+
* @param initialCapacity the initial capacity. The implementation
|
2573
|
+
* performs internal sizing to accommodate this many elements,
|
2574
|
+
* given the specified load factor.
|
2575
|
+
* @param loadFactor the load factor (table density) for
|
2576
|
+
* establishing the initial table size
|
2577
|
+
* @param concurrencyLevel the estimated number of concurrently
|
2578
|
+
* updating threads. The implementation may use this value as
|
2579
|
+
* a sizing hint.
|
2580
|
+
* @throws IllegalArgumentException if the initial capacity is
|
2581
|
+
* negative or the load factor or concurrencyLevel are
|
2582
|
+
* nonpositive
|
2583
|
+
*/
|
2584
|
+
public ConcurrentHashMapV8(int initialCapacity,
|
2585
|
+
float loadFactor, int concurrencyLevel) {
|
2586
|
+
if (!(loadFactor > 0.0f) || initialCapacity < 0 || concurrencyLevel <= 0)
|
2587
|
+
throw new IllegalArgumentException();
|
2588
|
+
if (initialCapacity < concurrencyLevel) // Use at least as many bins
|
2589
|
+
initialCapacity = concurrencyLevel; // as estimated threads
|
2590
|
+
long size = (long)(1.0 + (long)initialCapacity / loadFactor);
|
2591
|
+
int cap = (size >= (long)MAXIMUM_CAPACITY) ?
|
2592
|
+
MAXIMUM_CAPACITY : tableSizeFor((int)size);
|
2593
|
+
this.counter = new LongAdder();
|
2594
|
+
this.sizeCtl = cap;
|
2595
|
+
}
|
2596
|
+
|
2597
|
+
/**
|
2598
|
+
* Creates a new {@link Set} backed by a ConcurrentHashMapV8
|
2599
|
+
* from the given type to {@code Boolean.TRUE}.
|
2600
|
+
*
|
2601
|
+
* @return the new set
|
2602
|
+
*/
|
2603
|
+
public static <K> KeySetView<K,Boolean> newKeySet() {
|
2604
|
+
return new KeySetView<K,Boolean>(new ConcurrentHashMapV8<K,Boolean>(),
|
2605
|
+
Boolean.TRUE);
|
2606
|
+
}
|
2607
|
+
|
2608
|
+
/**
|
2609
|
+
* Creates a new {@link Set} backed by a ConcurrentHashMapV8
|
2610
|
+
* from the given type to {@code Boolean.TRUE}.
|
2611
|
+
*
|
2612
|
+
* @param initialCapacity The implementation performs internal
|
2613
|
+
* sizing to accommodate this many elements.
|
2614
|
+
* @throws IllegalArgumentException if the initial capacity of
|
2615
|
+
* elements is negative
|
2616
|
+
* @return the new set
|
2617
|
+
*/
|
2618
|
+
public static <K> KeySetView<K,Boolean> newKeySet(int initialCapacity) {
|
2619
|
+
return new KeySetView<K,Boolean>(new ConcurrentHashMapV8<K,Boolean>(initialCapacity),
|
2620
|
+
Boolean.TRUE);
|
2621
|
+
}
|
2622
|
+
|
2623
|
+
/**
|
2624
|
+
* {@inheritDoc}
|
2625
|
+
*/
|
2626
|
+
public boolean isEmpty() {
|
2627
|
+
return counter.sum() <= 0L; // ignore transient negative values
|
2628
|
+
}
|
2629
|
+
|
2630
|
+
/**
|
2631
|
+
* {@inheritDoc}
|
2632
|
+
*/
|
2633
|
+
public int size() {
|
2634
|
+
long n = counter.sum();
|
2635
|
+
return ((n < 0L) ? 0 :
|
2636
|
+
(n > (long)Integer.MAX_VALUE) ? Integer.MAX_VALUE :
|
2637
|
+
(int)n);
|
2638
|
+
}
|
2639
|
+
|
2640
|
+
/**
|
2641
|
+
* Returns the number of mappings. This method should be used
|
2642
|
+
* instead of {@link #size} because a ConcurrentHashMapV8 may
|
2643
|
+
* contain more mappings than can be represented as an int. The
|
2644
|
+
* value returned is a snapshot; the actual count may differ if
|
2645
|
+
* there are ongoing concurrent insertions or removals.
|
2646
|
+
*
|
2647
|
+
* @return the number of mappings
|
2648
|
+
*/
|
2649
|
+
public long mappingCount() {
|
2650
|
+
long n = counter.sum();
|
2651
|
+
return (n < 0L) ? 0L : n; // ignore transient negative values
|
2652
|
+
}
|
2653
|
+
|
2654
|
+
/**
|
2655
|
+
* Returns the value to which the specified key is mapped,
|
2656
|
+
* or {@code null} if this map contains no mapping for the key.
|
2657
|
+
*
|
2658
|
+
* <p>More formally, if this map contains a mapping from a key
|
2659
|
+
* {@code k} to a value {@code v} such that {@code key.equals(k)},
|
2660
|
+
* then this method returns {@code v}; otherwise it returns
|
2661
|
+
* {@code null}. (There can be at most one such mapping.)
|
2662
|
+
*
|
2663
|
+
* @throws NullPointerException if the specified key is null
|
2664
|
+
*/
|
2665
|
+
@SuppressWarnings("unchecked") public V get(Object key) {
|
2666
|
+
if (key == null)
|
2667
|
+
throw new NullPointerException();
|
2668
|
+
return (V)internalGet(key);
|
2669
|
+
}
|
2670
|
+
|
2671
|
+
/**
|
2672
|
+
* Returns the value to which the specified key is mapped,
|
2673
|
+
* or the given defaultValue if this map contains no mapping for the key.
|
2674
|
+
*
|
2675
|
+
* @param key the key
|
2676
|
+
* @param defaultValue the value to return if this map contains
|
2677
|
+
* no mapping for the given key
|
2678
|
+
* @return the mapping for the key, if present; else the defaultValue
|
2679
|
+
* @throws NullPointerException if the specified key is null
|
2680
|
+
*/
|
2681
|
+
@SuppressWarnings("unchecked") public V getValueOrDefault(Object key, V defaultValue) {
|
2682
|
+
if (key == null)
|
2683
|
+
throw new NullPointerException();
|
2684
|
+
V v = (V) internalGet(key);
|
2685
|
+
return v == null ? defaultValue : v;
|
2686
|
+
}
|
2687
|
+
|
2688
|
+
/**
|
2689
|
+
* Tests if the specified object is a key in this table.
|
2690
|
+
*
|
2691
|
+
* @param key possible key
|
2692
|
+
* @return {@code true} if and only if the specified object
|
2693
|
+
* is a key in this table, as determined by the
|
2694
|
+
* {@code equals} method; {@code false} otherwise
|
2695
|
+
* @throws NullPointerException if the specified key is null
|
2696
|
+
*/
|
2697
|
+
public boolean containsKey(Object key) {
|
2698
|
+
if (key == null)
|
2699
|
+
throw new NullPointerException();
|
2700
|
+
return internalGet(key) != null;
|
2701
|
+
}
|
2702
|
+
|
2703
|
+
/**
|
2704
|
+
* Returns {@code true} if this map maps one or more keys to the
|
2705
|
+
* specified value. Note: This method may require a full traversal
|
2706
|
+
* of the map, and is much slower than method {@code containsKey}.
|
2707
|
+
*
|
2708
|
+
* @param value value whose presence in this map is to be tested
|
2709
|
+
* @return {@code true} if this map maps one or more keys to the
|
2710
|
+
* specified value
|
2711
|
+
* @throws NullPointerException if the specified value is null
|
2712
|
+
*/
|
2713
|
+
public boolean containsValue(Object value) {
|
2714
|
+
if (value == null)
|
2715
|
+
throw new NullPointerException();
|
2716
|
+
Object v;
|
2717
|
+
Traverser<K,V,Object> it = new Traverser<K,V,Object>(this);
|
2718
|
+
while ((v = it.advance()) != null) {
|
2719
|
+
if (v == value || value.equals(v))
|
2720
|
+
return true;
|
2721
|
+
}
|
2722
|
+
return false;
|
2723
|
+
}
|
2724
|
+
|
2725
|
+
public K findKey(Object value) {
|
2726
|
+
if (value == null)
|
2727
|
+
throw new NullPointerException();
|
2728
|
+
Object v;
|
2729
|
+
Traverser<K,V,Object> it = new Traverser<K,V,Object>(this);
|
2730
|
+
while ((v = it.advance()) != null) {
|
2731
|
+
if (v == value || value.equals(v))
|
2732
|
+
return it.nextKey;
|
2733
|
+
}
|
2734
|
+
return null;
|
2735
|
+
}
|
2736
|
+
|
2737
|
+
/**
|
2738
|
+
* Legacy method testing if some key maps into the specified value
|
2739
|
+
* in this table. This method is identical in functionality to
|
2740
|
+
* {@link #containsValue}, and exists solely to ensure
|
2741
|
+
* full compatibility with class {@link java.util.Hashtable},
|
2742
|
+
* which supported this method prior to introduction of the
|
2743
|
+
* Java Collections framework.
|
2744
|
+
*
|
2745
|
+
* @param value a value to search for
|
2746
|
+
* @return {@code true} if and only if some key maps to the
|
2747
|
+
* {@code value} argument in this table as
|
2748
|
+
* determined by the {@code equals} method;
|
2749
|
+
* {@code false} otherwise
|
2750
|
+
* @throws NullPointerException if the specified value is null
|
2751
|
+
*/
|
2752
|
+
public boolean contains(Object value) {
|
2753
|
+
return containsValue(value);
|
2754
|
+
}
|
2755
|
+
|
2756
|
+
/**
|
2757
|
+
* Maps the specified key to the specified value in this table.
|
2758
|
+
* Neither the key nor the value can be null.
|
2759
|
+
*
|
2760
|
+
* <p>The value can be retrieved by calling the {@code get} method
|
2761
|
+
* with a key that is equal to the original key.
|
2762
|
+
*
|
2763
|
+
* @param key key with which the specified value is to be associated
|
2764
|
+
* @param value value to be associated with the specified key
|
2765
|
+
* @return the previous value associated with {@code key}, or
|
2766
|
+
* {@code null} if there was no mapping for {@code key}
|
2767
|
+
* @throws NullPointerException if the specified key or value is null
|
2768
|
+
*/
|
2769
|
+
@SuppressWarnings("unchecked") public V put(K key, V value) {
|
2770
|
+
if (key == null || value == null)
|
2771
|
+
throw new NullPointerException();
|
2772
|
+
return (V)internalPut(key, value);
|
2773
|
+
}
|
2774
|
+
|
2775
|
+
/**
|
2776
|
+
* {@inheritDoc}
|
2777
|
+
*
|
2778
|
+
* @return the previous value associated with the specified key,
|
2779
|
+
* or {@code null} if there was no mapping for the key
|
2780
|
+
* @throws NullPointerException if the specified key or value is null
|
2781
|
+
*/
|
2782
|
+
@SuppressWarnings("unchecked") public V putIfAbsent(K key, V value) {
|
2783
|
+
if (key == null || value == null)
|
2784
|
+
throw new NullPointerException();
|
2785
|
+
return (V)internalPutIfAbsent(key, value);
|
2786
|
+
}
|
2787
|
+
|
2788
|
+
/**
|
2789
|
+
* Copies all of the mappings from the specified map to this one.
|
2790
|
+
* These mappings replace any mappings that this map had for any of the
|
2791
|
+
* keys currently in the specified map.
|
2792
|
+
*
|
2793
|
+
* @param m mappings to be stored in this map
|
2794
|
+
*/
|
2795
|
+
public void putAll(Map<? extends K, ? extends V> m) {
|
2796
|
+
internalPutAll(m);
|
2797
|
+
}
|
2798
|
+
|
2799
|
+
/**
|
2800
|
+
* If the specified key is not already associated with a value,
|
2801
|
+
* computes its value using the given mappingFunction and enters
|
2802
|
+
* it into the map unless null. This is equivalent to
|
2803
|
+
* <pre> {@code
|
2804
|
+
* if (map.containsKey(key))
|
2805
|
+
* return map.get(key);
|
2806
|
+
* value = mappingFunction.apply(key);
|
2807
|
+
* if (value != null)
|
2808
|
+
* map.put(key, value);
|
2809
|
+
* return value;}</pre>
|
2810
|
+
*
|
2811
|
+
* except that the action is performed atomically. If the
|
2812
|
+
* function returns {@code null} no mapping is recorded. If the
|
2813
|
+
* function itself throws an (unchecked) exception, the exception
|
2814
|
+
* is rethrown to its caller, and no mapping is recorded. Some
|
2815
|
+
* attempted update operations on this map by other threads may be
|
2816
|
+
* blocked while computation is in progress, so the computation
|
2817
|
+
* should be short and simple, and must not attempt to update any
|
2818
|
+
* other mappings of this Map. The most appropriate usage is to
|
2819
|
+
* construct a new object serving as an initial mapped value, or
|
2820
|
+
* memoized result, as in:
|
2821
|
+
*
|
2822
|
+
* <pre> {@code
|
2823
|
+
* map.computeIfAbsent(key, new Fun<K, V>() {
|
2824
|
+
* public V map(K k) { return new Value(f(k)); }});}</pre>
|
2825
|
+
*
|
2826
|
+
* @param key key with which the specified value is to be associated
|
2827
|
+
* @param mappingFunction the function to compute a value
|
2828
|
+
* @return the current (existing or computed) value associated with
|
2829
|
+
* the specified key, or null if the computed value is null
|
2830
|
+
* @throws NullPointerException if the specified key or mappingFunction
|
2831
|
+
* is null
|
2832
|
+
* @throws IllegalStateException if the computation detectably
|
2833
|
+
* attempts a recursive update to this map that would
|
2834
|
+
* otherwise never complete
|
2835
|
+
* @throws RuntimeException or Error if the mappingFunction does so,
|
2836
|
+
* in which case the mapping is left unestablished
|
2837
|
+
*/
|
2838
|
+
@SuppressWarnings("unchecked") public V computeIfAbsent
|
2839
|
+
(K key, Fun<? super K, ? extends V> mappingFunction) {
|
2840
|
+
if (key == null || mappingFunction == null)
|
2841
|
+
throw new NullPointerException();
|
2842
|
+
return (V)internalComputeIfAbsent(key, mappingFunction);
|
2843
|
+
}
|
2844
|
+
|
2845
|
+
/**
|
2846
|
+
* If the given key is present, computes a new mapping value given a key and
|
2847
|
+
* its current mapped value. This is equivalent to
|
2848
|
+
* <pre> {@code
|
2849
|
+
* if (map.containsKey(key)) {
|
2850
|
+
* value = remappingFunction.apply(key, map.get(key));
|
2851
|
+
* if (value != null)
|
2852
|
+
* map.put(key, value);
|
2853
|
+
* else
|
2854
|
+
* map.remove(key);
|
2855
|
+
* }
|
2856
|
+
* }</pre>
|
2857
|
+
*
|
2858
|
+
* except that the action is performed atomically. If the
|
2859
|
+
* function returns {@code null}, the mapping is removed. If the
|
2860
|
+
* function itself throws an (unchecked) exception, the exception
|
2861
|
+
* is rethrown to its caller, and the current mapping is left
|
2862
|
+
* unchanged. Some attempted update operations on this map by
|
2863
|
+
* other threads may be blocked while computation is in progress,
|
2864
|
+
* so the computation should be short and simple, and must not
|
2865
|
+
* attempt to update any other mappings of this Map. For example,
|
2866
|
+
* to either create or append new messages to a value mapping:
|
2867
|
+
*
|
2868
|
+
* @param key key with which the specified value is to be associated
|
2869
|
+
* @param remappingFunction the function to compute a value
|
2870
|
+
* @return the new value associated with the specified key, or null if none
|
2871
|
+
* @throws NullPointerException if the specified key or remappingFunction
|
2872
|
+
* is null
|
2873
|
+
* @throws IllegalStateException if the computation detectably
|
2874
|
+
* attempts a recursive update to this map that would
|
2875
|
+
* otherwise never complete
|
2876
|
+
* @throws RuntimeException or Error if the remappingFunction does so,
|
2877
|
+
* in which case the mapping is unchanged
|
2878
|
+
*/
|
2879
|
+
@SuppressWarnings("unchecked") public V computeIfPresent
|
2880
|
+
(K key, BiFun<? super K, ? super V, ? extends V> remappingFunction) {
|
2881
|
+
if (key == null || remappingFunction == null)
|
2882
|
+
throw new NullPointerException();
|
2883
|
+
return (V)internalCompute(key, true, remappingFunction);
|
2884
|
+
}
|
2885
|
+
|
2886
|
+
/**
|
2887
|
+
* Computes a new mapping value given a key and
|
2888
|
+
* its current mapped value (or {@code null} if there is no current
|
2889
|
+
* mapping). This is equivalent to
|
2890
|
+
* <pre> {@code
|
2891
|
+
* value = remappingFunction.apply(key, map.get(key));
|
2892
|
+
* if (value != null)
|
2893
|
+
* map.put(key, value);
|
2894
|
+
* else
|
2895
|
+
* map.remove(key);
|
2896
|
+
* }</pre>
|
2897
|
+
*
|
2898
|
+
* except that the action is performed atomically. If the
|
2899
|
+
* function returns {@code null}, the mapping is removed. If the
|
2900
|
+
* function itself throws an (unchecked) exception, the exception
|
2901
|
+
* is rethrown to its caller, and the current mapping is left
|
2902
|
+
* unchanged. Some attempted update operations on this map by
|
2903
|
+
* other threads may be blocked while computation is in progress,
|
2904
|
+
* so the computation should be short and simple, and must not
|
2905
|
+
* attempt to update any other mappings of this Map. For example,
|
2906
|
+
* to either create or append new messages to a value mapping:
|
2907
|
+
*
|
2908
|
+
* <pre> {@code
|
2909
|
+
* Map<Key, String> map = ...;
|
2910
|
+
* final String msg = ...;
|
2911
|
+
* map.compute(key, new BiFun<Key, String, String>() {
|
2912
|
+
* public String apply(Key k, String v) {
|
2913
|
+
* return (v == null) ? msg : v + msg;});}}</pre>
|
2914
|
+
*
|
2915
|
+
* @param key key with which the specified value is to be associated
|
2916
|
+
* @param remappingFunction the function to compute a value
|
2917
|
+
* @return the new value associated with the specified key, or null if none
|
2918
|
+
* @throws NullPointerException if the specified key or remappingFunction
|
2919
|
+
* is null
|
2920
|
+
* @throws IllegalStateException if the computation detectably
|
2921
|
+
* attempts a recursive update to this map that would
|
2922
|
+
* otherwise never complete
|
2923
|
+
* @throws RuntimeException or Error if the remappingFunction does so,
|
2924
|
+
* in which case the mapping is unchanged
|
2925
|
+
*/
|
2926
|
+
@SuppressWarnings("unchecked") public V compute
|
2927
|
+
(K key, BiFun<? super K, ? super V, ? extends V> remappingFunction) {
|
2928
|
+
if (key == null || remappingFunction == null)
|
2929
|
+
throw new NullPointerException();
|
2930
|
+
return (V)internalCompute(key, false, remappingFunction);
|
2931
|
+
}
|
2932
|
+
|
2933
|
+
/**
|
2934
|
+
* If the specified key is not already associated
|
2935
|
+
* with a value, associate it with the given value.
|
2936
|
+
* Otherwise, replace the value with the results of
|
2937
|
+
* the given remapping function. This is equivalent to:
|
2938
|
+
* <pre> {@code
|
2939
|
+
* if (!map.containsKey(key))
|
2940
|
+
* map.put(value);
|
2941
|
+
* else {
|
2942
|
+
* newValue = remappingFunction.apply(map.get(key), value);
|
2943
|
+
* if (value != null)
|
2944
|
+
* map.put(key, value);
|
2945
|
+
* else
|
2946
|
+
* map.remove(key);
|
2947
|
+
* }
|
2948
|
+
* }</pre>
|
2949
|
+
* except that the action is performed atomically. If the
|
2950
|
+
* function returns {@code null}, the mapping is removed. If the
|
2951
|
+
* function itself throws an (unchecked) exception, the exception
|
2952
|
+
* is rethrown to its caller, and the current mapping is left
|
2953
|
+
* unchanged. Some attempted update operations on this map by
|
2954
|
+
* other threads may be blocked while computation is in progress,
|
2955
|
+
* so the computation should be short and simple, and must not
|
2956
|
+
* attempt to update any other mappings of this Map.
|
2957
|
+
*/
|
2958
|
+
@SuppressWarnings("unchecked") public V merge
|
2959
|
+
(K key, V value, BiFun<? super V, ? super V, ? extends V> remappingFunction) {
|
2960
|
+
if (key == null || value == null || remappingFunction == null)
|
2961
|
+
throw new NullPointerException();
|
2962
|
+
return (V)internalMerge(key, value, remappingFunction);
|
2963
|
+
}
|
2964
|
+
|
2965
|
+
/**
|
2966
|
+
* Removes the key (and its corresponding value) from this map.
|
2967
|
+
* This method does nothing if the key is not in the map.
|
2968
|
+
*
|
2969
|
+
* @param key the key that needs to be removed
|
2970
|
+
* @return the previous value associated with {@code key}, or
|
2971
|
+
* {@code null} if there was no mapping for {@code key}
|
2972
|
+
* @throws NullPointerException if the specified key is null
|
2973
|
+
*/
|
2974
|
+
@SuppressWarnings("unchecked") public V remove(Object key) {
|
2975
|
+
if (key == null)
|
2976
|
+
throw new NullPointerException();
|
2977
|
+
return (V)internalReplace(key, null, null);
|
2978
|
+
}
|
2979
|
+
|
2980
|
+
/**
|
2981
|
+
* {@inheritDoc}
|
2982
|
+
*
|
2983
|
+
* @throws NullPointerException if the specified key is null
|
2984
|
+
*/
|
2985
|
+
public boolean remove(Object key, Object value) {
|
2986
|
+
if (key == null)
|
2987
|
+
throw new NullPointerException();
|
2988
|
+
if (value == null)
|
2989
|
+
return false;
|
2990
|
+
return internalReplace(key, null, value) != null;
|
2991
|
+
}
|
2992
|
+
|
2993
|
+
/**
|
2994
|
+
* {@inheritDoc}
|
2995
|
+
*
|
2996
|
+
* @throws NullPointerException if any of the arguments are null
|
2997
|
+
*/
|
2998
|
+
public boolean replace(K key, V oldValue, V newValue) {
|
2999
|
+
if (key == null || oldValue == null || newValue == null)
|
3000
|
+
throw new NullPointerException();
|
3001
|
+
return internalReplace(key, newValue, oldValue) != null;
|
3002
|
+
}
|
3003
|
+
|
3004
|
+
/**
|
3005
|
+
* {@inheritDoc}
|
3006
|
+
*
|
3007
|
+
* @return the previous value associated with the specified key,
|
3008
|
+
* or {@code null} if there was no mapping for the key
|
3009
|
+
* @throws NullPointerException if the specified key or value is null
|
3010
|
+
*/
|
3011
|
+
@SuppressWarnings("unchecked") public V replace(K key, V value) {
|
3012
|
+
if (key == null || value == null)
|
3013
|
+
throw new NullPointerException();
|
3014
|
+
return (V)internalReplace(key, value, null);
|
3015
|
+
}
|
3016
|
+
|
3017
|
+
/**
|
3018
|
+
* Removes all of the mappings from this map.
|
3019
|
+
*/
|
3020
|
+
public void clear() {
|
3021
|
+
internalClear();
|
3022
|
+
}
|
3023
|
+
|
3024
|
+
/**
|
3025
|
+
* Returns a {@link Set} view of the keys contained in this map.
|
3026
|
+
* The set is backed by the map, so changes to the map are
|
3027
|
+
* reflected in the set, and vice-versa.
|
3028
|
+
*
|
3029
|
+
* @return the set view
|
3030
|
+
*/
|
3031
|
+
public KeySetView<K,V> keySet() {
|
3032
|
+
KeySetView<K,V> ks = keySet;
|
3033
|
+
return (ks != null) ? ks : (keySet = new KeySetView<K,V>(this, null));
|
3034
|
+
}
|
3035
|
+
|
3036
|
+
/**
|
3037
|
+
* Returns a {@link Set} view of the keys in this map, using the
|
3038
|
+
* given common mapped value for any additions (i.e., {@link
|
3039
|
+
* Collection#add} and {@link Collection#addAll}). This is of
|
3040
|
+
* course only appropriate if it is acceptable to use the same
|
3041
|
+
* value for all additions from this view.
|
3042
|
+
*
|
3043
|
+
* @param mappedValue the mapped value to use for any
|
3044
|
+
* additions.
|
3045
|
+
* @return the set view
|
3046
|
+
* @throws NullPointerException if the mappedValue is null
|
3047
|
+
*/
|
3048
|
+
public KeySetView<K,V> keySet(V mappedValue) {
|
3049
|
+
if (mappedValue == null)
|
3050
|
+
throw new NullPointerException();
|
3051
|
+
return new KeySetView<K,V>(this, mappedValue);
|
3052
|
+
}
|
3053
|
+
|
3054
|
+
/**
|
3055
|
+
* Returns a {@link Collection} view of the values contained in this map.
|
3056
|
+
* The collection is backed by the map, so changes to the map are
|
3057
|
+
* reflected in the collection, and vice-versa.
|
3058
|
+
*/
|
3059
|
+
public ValuesView<K,V> values() {
|
3060
|
+
ValuesView<K,V> vs = values;
|
3061
|
+
return (vs != null) ? vs : (values = new ValuesView<K,V>(this));
|
3062
|
+
}
|
3063
|
+
|
3064
|
+
/**
|
3065
|
+
* Returns a {@link Set} view of the mappings contained in this map.
|
3066
|
+
* The set is backed by the map, so changes to the map are
|
3067
|
+
* reflected in the set, and vice-versa. The set supports element
|
3068
|
+
* removal, which removes the corresponding mapping from the map,
|
3069
|
+
* via the {@code Iterator.remove}, {@code Set.remove},
|
3070
|
+
* {@code removeAll}, {@code retainAll}, and {@code clear}
|
3071
|
+
* operations. It does not support the {@code add} or
|
3072
|
+
* {@code addAll} operations.
|
3073
|
+
*
|
3074
|
+
* <p>The view's {@code iterator} is a "weakly consistent" iterator
|
3075
|
+
* that will never throw {@link ConcurrentModificationException},
|
3076
|
+
* and guarantees to traverse elements as they existed upon
|
3077
|
+
* construction of the iterator, and may (but is not guaranteed to)
|
3078
|
+
* reflect any modifications subsequent to construction.
|
3079
|
+
*/
|
3080
|
+
public Set<Map.Entry<K,V>> entrySet() {
|
3081
|
+
EntrySetView<K,V> es = entrySet;
|
3082
|
+
return (es != null) ? es : (entrySet = new EntrySetView<K,V>(this));
|
3083
|
+
}
|
3084
|
+
|
3085
|
+
/**
|
3086
|
+
* Returns an enumeration of the keys in this table.
|
3087
|
+
*
|
3088
|
+
* @return an enumeration of the keys in this table
|
3089
|
+
* @see #keySet()
|
3090
|
+
*/
|
3091
|
+
public Enumeration<K> keys() {
|
3092
|
+
return new KeyIterator<K,V>(this);
|
3093
|
+
}
|
3094
|
+
|
3095
|
+
/**
|
3096
|
+
* Returns an enumeration of the values in this table.
|
3097
|
+
*
|
3098
|
+
* @return an enumeration of the values in this table
|
3099
|
+
* @see #values()
|
3100
|
+
*/
|
3101
|
+
public Enumeration<V> elements() {
|
3102
|
+
return new ValueIterator<K,V>(this);
|
3103
|
+
}
|
3104
|
+
|
3105
|
+
/**
|
3106
|
+
* Returns a partitionable iterator of the keys in this map.
|
3107
|
+
*
|
3108
|
+
* @return a partitionable iterator of the keys in this map
|
3109
|
+
*/
|
3110
|
+
public Spliterator<K> keySpliterator() {
|
3111
|
+
return new KeyIterator<K,V>(this);
|
3112
|
+
}
|
3113
|
+
|
3114
|
+
/**
|
3115
|
+
* Returns a partitionable iterator of the values in this map.
|
3116
|
+
*
|
3117
|
+
* @return a partitionable iterator of the values in this map
|
3118
|
+
*/
|
3119
|
+
public Spliterator<V> valueSpliterator() {
|
3120
|
+
return new ValueIterator<K,V>(this);
|
3121
|
+
}
|
3122
|
+
|
3123
|
+
/**
|
3124
|
+
* Returns a partitionable iterator of the entries in this map.
|
3125
|
+
*
|
3126
|
+
* @return a partitionable iterator of the entries in this map
|
3127
|
+
*/
|
3128
|
+
public Spliterator<Map.Entry<K,V>> entrySpliterator() {
|
3129
|
+
return new EntryIterator<K,V>(this);
|
3130
|
+
}
|
3131
|
+
|
3132
|
+
/**
|
3133
|
+
* Returns the hash code value for this {@link Map}, i.e.,
|
3134
|
+
* the sum of, for each key-value pair in the map,
|
3135
|
+
* {@code key.hashCode() ^ value.hashCode()}.
|
3136
|
+
*
|
3137
|
+
* @return the hash code value for this map
|
3138
|
+
*/
|
3139
|
+
public int hashCode() {
|
3140
|
+
int h = 0;
|
3141
|
+
Traverser<K,V,Object> it = new Traverser<K,V,Object>(this);
|
3142
|
+
Object v;
|
3143
|
+
while ((v = it.advance()) != null) {
|
3144
|
+
h += it.nextKey.hashCode() ^ v.hashCode();
|
3145
|
+
}
|
3146
|
+
return h;
|
3147
|
+
}
|
3148
|
+
|
3149
|
+
/**
|
3150
|
+
* Returns a string representation of this map. The string
|
3151
|
+
* representation consists of a list of key-value mappings (in no
|
3152
|
+
* particular order) enclosed in braces ("{@code {}}"). Adjacent
|
3153
|
+
* mappings are separated by the characters {@code ", "} (comma
|
3154
|
+
* and space). Each key-value mapping is rendered as the key
|
3155
|
+
* followed by an equals sign ("{@code =}") followed by the
|
3156
|
+
* associated value.
|
3157
|
+
*
|
3158
|
+
* @return a string representation of this map
|
3159
|
+
*/
|
3160
|
+
public String toString() {
|
3161
|
+
Traverser<K,V,Object> it = new Traverser<K,V,Object>(this);
|
3162
|
+
StringBuilder sb = new StringBuilder();
|
3163
|
+
sb.append('{');
|
3164
|
+
Object v;
|
3165
|
+
if ((v = it.advance()) != null) {
|
3166
|
+
for (;;) {
|
3167
|
+
Object k = it.nextKey;
|
3168
|
+
sb.append(k == this ? "(this Map)" : k);
|
3169
|
+
sb.append('=');
|
3170
|
+
sb.append(v == this ? "(this Map)" : v);
|
3171
|
+
if ((v = it.advance()) == null)
|
3172
|
+
break;
|
3173
|
+
sb.append(',').append(' ');
|
3174
|
+
}
|
3175
|
+
}
|
3176
|
+
return sb.append('}').toString();
|
3177
|
+
}
|
3178
|
+
|
3179
|
+
/**
|
3180
|
+
* Compares the specified object with this map for equality.
|
3181
|
+
* Returns {@code true} if the given object is a map with the same
|
3182
|
+
* mappings as this map. This operation may return misleading
|
3183
|
+
* results if either map is concurrently modified during execution
|
3184
|
+
* of this method.
|
3185
|
+
*
|
3186
|
+
* @param o object to be compared for equality with this map
|
3187
|
+
* @return {@code true} if the specified object is equal to this map
|
3188
|
+
*/
|
3189
|
+
public boolean equals(Object o) {
|
3190
|
+
if (o != this) {
|
3191
|
+
if (!(o instanceof Map))
|
3192
|
+
return false;
|
3193
|
+
Map<?,?> m = (Map<?,?>) o;
|
3194
|
+
Traverser<K,V,Object> it = new Traverser<K,V,Object>(this);
|
3195
|
+
Object val;
|
3196
|
+
while ((val = it.advance()) != null) {
|
3197
|
+
Object v = m.get(it.nextKey);
|
3198
|
+
if (v == null || (v != val && !v.equals(val)))
|
3199
|
+
return false;
|
3200
|
+
}
|
3201
|
+
for (Map.Entry<?,?> e : m.entrySet()) {
|
3202
|
+
Object mk, mv, v;
|
3203
|
+
if ((mk = e.getKey()) == null ||
|
3204
|
+
(mv = e.getValue()) == null ||
|
3205
|
+
(v = internalGet(mk)) == null ||
|
3206
|
+
(mv != v && !mv.equals(v)))
|
3207
|
+
return false;
|
3208
|
+
}
|
3209
|
+
}
|
3210
|
+
return true;
|
3211
|
+
}
|
3212
|
+
|
3213
|
+
/* ----------------Iterators -------------- */
|
3214
|
+
|
3215
|
+
@SuppressWarnings("serial") static final class KeyIterator<K,V> extends Traverser<K,V,Object>
|
3216
|
+
implements Spliterator<K>, Enumeration<K> {
|
3217
|
+
KeyIterator(ConcurrentHashMapV8<K, V> map) { super(map); }
|
3218
|
+
KeyIterator(Traverser<K,V,Object> it) {
|
3219
|
+
super(it);
|
3220
|
+
}
|
3221
|
+
public KeyIterator<K,V> split() {
|
3222
|
+
if (nextKey != null)
|
3223
|
+
throw new IllegalStateException();
|
3224
|
+
return new KeyIterator<K,V>(this);
|
3225
|
+
}
|
3226
|
+
@SuppressWarnings("unchecked") public final K next() {
|
3227
|
+
if (nextVal == null && advance() == null)
|
3228
|
+
throw new NoSuchElementException();
|
3229
|
+
Object k = nextKey;
|
3230
|
+
nextVal = null;
|
3231
|
+
return (K) k;
|
3232
|
+
}
|
3233
|
+
|
3234
|
+
public final K nextElement() { return next(); }
|
3235
|
+
}
|
3236
|
+
|
3237
|
+
@SuppressWarnings("serial") static final class ValueIterator<K,V> extends Traverser<K,V,Object>
|
3238
|
+
implements Spliterator<V>, Enumeration<V> {
|
3239
|
+
ValueIterator(ConcurrentHashMapV8<K, V> map) { super(map); }
|
3240
|
+
ValueIterator(Traverser<K,V,Object> it) {
|
3241
|
+
super(it);
|
3242
|
+
}
|
3243
|
+
public ValueIterator<K,V> split() {
|
3244
|
+
if (nextKey != null)
|
3245
|
+
throw new IllegalStateException();
|
3246
|
+
return new ValueIterator<K,V>(this);
|
3247
|
+
}
|
3248
|
+
|
3249
|
+
@SuppressWarnings("unchecked") public final V next() {
|
3250
|
+
Object v;
|
3251
|
+
if ((v = nextVal) == null && (v = advance()) == null)
|
3252
|
+
throw new NoSuchElementException();
|
3253
|
+
nextVal = null;
|
3254
|
+
return (V) v;
|
3255
|
+
}
|
3256
|
+
|
3257
|
+
public final V nextElement() { return next(); }
|
3258
|
+
}
|
3259
|
+
|
3260
|
+
@SuppressWarnings("serial") static final class EntryIterator<K,V> extends Traverser<K,V,Object>
|
3261
|
+
implements Spliterator<Map.Entry<K,V>> {
|
3262
|
+
EntryIterator(ConcurrentHashMapV8<K, V> map) { super(map); }
|
3263
|
+
EntryIterator(Traverser<K,V,Object> it) {
|
3264
|
+
super(it);
|
3265
|
+
}
|
3266
|
+
public EntryIterator<K,V> split() {
|
3267
|
+
if (nextKey != null)
|
3268
|
+
throw new IllegalStateException();
|
3269
|
+
return new EntryIterator<K,V>(this);
|
3270
|
+
}
|
3271
|
+
|
3272
|
+
@SuppressWarnings("unchecked") public final Map.Entry<K,V> next() {
|
3273
|
+
Object v;
|
3274
|
+
if ((v = nextVal) == null && (v = advance()) == null)
|
3275
|
+
throw new NoSuchElementException();
|
3276
|
+
Object k = nextKey;
|
3277
|
+
nextVal = null;
|
3278
|
+
return new MapEntry<K,V>((K)k, (V)v, map);
|
3279
|
+
}
|
3280
|
+
}
|
3281
|
+
|
3282
|
+
/**
|
3283
|
+
* Exported Entry for iterators
|
3284
|
+
*/
|
3285
|
+
static final class MapEntry<K,V> implements Map.Entry<K, V> {
|
3286
|
+
final K key; // non-null
|
3287
|
+
V val; // non-null
|
3288
|
+
final ConcurrentHashMapV8<K, V> map;
|
3289
|
+
MapEntry(K key, V val, ConcurrentHashMapV8<K, V> map) {
|
3290
|
+
this.key = key;
|
3291
|
+
this.val = val;
|
3292
|
+
this.map = map;
|
3293
|
+
}
|
3294
|
+
public final K getKey() { return key; }
|
3295
|
+
public final V getValue() { return val; }
|
3296
|
+
public final int hashCode() { return key.hashCode() ^ val.hashCode(); }
|
3297
|
+
public final String toString(){ return key + "=" + val; }
|
3298
|
+
|
3299
|
+
public final boolean equals(Object o) {
|
3300
|
+
Object k, v; Map.Entry<?,?> e;
|
3301
|
+
return ((o instanceof Map.Entry) &&
|
3302
|
+
(k = (e = (Map.Entry<?,?>)o).getKey()) != null &&
|
3303
|
+
(v = e.getValue()) != null &&
|
3304
|
+
(k == key || k.equals(key)) &&
|
3305
|
+
(v == val || v.equals(val)));
|
3306
|
+
}
|
3307
|
+
|
3308
|
+
/**
|
3309
|
+
* Sets our entry's value and writes through to the map. The
|
3310
|
+
* value to return is somewhat arbitrary here. Since we do not
|
3311
|
+
* necessarily track asynchronous changes, the most recent
|
3312
|
+
* "previous" value could be different from what we return (or
|
3313
|
+
* could even have been removed in which case the put will
|
3314
|
+
* re-establish). We do not and cannot guarantee more.
|
3315
|
+
*/
|
3316
|
+
public final V setValue(V value) {
|
3317
|
+
if (value == null) throw new NullPointerException();
|
3318
|
+
V v = val;
|
3319
|
+
val = value;
|
3320
|
+
map.put(key, value);
|
3321
|
+
return v;
|
3322
|
+
}
|
3323
|
+
}
|
3324
|
+
|
3325
|
+
/* ---------------- Serialization Support -------------- */
|
3326
|
+
|
3327
|
+
/**
|
3328
|
+
* Stripped-down version of helper class used in previous version,
|
3329
|
+
* declared for the sake of serialization compatibility
|
3330
|
+
*/
|
3331
|
+
static class Segment<K,V> implements Serializable {
|
3332
|
+
private static final long serialVersionUID = 2249069246763182397L;
|
3333
|
+
final float loadFactor;
|
3334
|
+
Segment(float lf) { this.loadFactor = lf; }
|
3335
|
+
}
|
3336
|
+
|
3337
|
+
/**
|
3338
|
+
* Saves the state of the {@code ConcurrentHashMapV8} instance to a
|
3339
|
+
* stream (i.e., serializes it).
|
3340
|
+
* @param s the stream
|
3341
|
+
* @serialData
|
3342
|
+
* the key (Object) and value (Object)
|
3343
|
+
* for each key-value mapping, followed by a null pair.
|
3344
|
+
* The key-value mappings are emitted in no particular order.
|
3345
|
+
*/
|
3346
|
+
@SuppressWarnings("unchecked") private void writeObject(java.io.ObjectOutputStream s)
|
3347
|
+
throws java.io.IOException {
|
3348
|
+
if (segments == null) { // for serialization compatibility
|
3349
|
+
segments = (Segment<K,V>[])
|
3350
|
+
new Segment<?,?>[DEFAULT_CONCURRENCY_LEVEL];
|
3351
|
+
for (int i = 0; i < segments.length; ++i)
|
3352
|
+
segments[i] = new Segment<K,V>(LOAD_FACTOR);
|
3353
|
+
}
|
3354
|
+
s.defaultWriteObject();
|
3355
|
+
Traverser<K,V,Object> it = new Traverser<K,V,Object>(this);
|
3356
|
+
Object v;
|
3357
|
+
while ((v = it.advance()) != null) {
|
3358
|
+
s.writeObject(it.nextKey);
|
3359
|
+
s.writeObject(v);
|
3360
|
+
}
|
3361
|
+
s.writeObject(null);
|
3362
|
+
s.writeObject(null);
|
3363
|
+
segments = null; // throw away
|
3364
|
+
}
|
3365
|
+
|
3366
|
+
/**
|
3367
|
+
* Reconstitutes the instance from a stream (that is, deserializes it).
|
3368
|
+
* @param s the stream
|
3369
|
+
*/
|
3370
|
+
@SuppressWarnings("unchecked") private void readObject(java.io.ObjectInputStream s)
|
3371
|
+
throws java.io.IOException, ClassNotFoundException {
|
3372
|
+
s.defaultReadObject();
|
3373
|
+
this.segments = null; // unneeded
|
3374
|
+
// initialize transient final field
|
3375
|
+
this.counter = new LongAdder();
|
3376
|
+
|
3377
|
+
// Create all nodes, then place in table once size is known
|
3378
|
+
long size = 0L;
|
3379
|
+
Node p = null;
|
3380
|
+
for (;;) {
|
3381
|
+
K k = (K) s.readObject();
|
3382
|
+
V v = (V) s.readObject();
|
3383
|
+
if (k != null && v != null) {
|
3384
|
+
int h = spread(k.hashCode());
|
3385
|
+
p = new Node(h, k, v, p);
|
3386
|
+
++size;
|
3387
|
+
}
|
3388
|
+
else
|
3389
|
+
break;
|
3390
|
+
}
|
3391
|
+
if (p != null) {
|
3392
|
+
boolean init = false;
|
3393
|
+
int n;
|
3394
|
+
if (size >= (long)(MAXIMUM_CAPACITY >>> 1))
|
3395
|
+
n = MAXIMUM_CAPACITY;
|
3396
|
+
else {
|
3397
|
+
int sz = (int)size;
|
3398
|
+
n = tableSizeFor(sz + (sz >>> 1) + 1);
|
3399
|
+
}
|
3400
|
+
int sc = sizeCtl;
|
3401
|
+
boolean collide = false;
|
3402
|
+
if (n > sc &&
|
3403
|
+
SIZE_CTRL_UPDATER.compareAndSet(this, sc, -1)) {
|
3404
|
+
try {
|
3405
|
+
if (table == null) {
|
3406
|
+
init = true;
|
3407
|
+
AtomicReferenceArray<Node> tab = new AtomicReferenceArray<Node>(n);
|
3408
|
+
int mask = n - 1;
|
3409
|
+
while (p != null) {
|
3410
|
+
int j = p.hash & mask;
|
3411
|
+
Node next = p.next;
|
3412
|
+
Node q = p.next = tabAt(tab, j);
|
3413
|
+
setTabAt(tab, j, p);
|
3414
|
+
if (!collide && q != null && q.hash == p.hash)
|
3415
|
+
collide = true;
|
3416
|
+
p = next;
|
3417
|
+
}
|
3418
|
+
table = tab;
|
3419
|
+
counter.add(size);
|
3420
|
+
sc = n - (n >>> 2);
|
3421
|
+
}
|
3422
|
+
} finally {
|
3423
|
+
sizeCtl = sc;
|
3424
|
+
}
|
3425
|
+
if (collide) { // rescan and convert to TreeBins
|
3426
|
+
AtomicReferenceArray<Node> tab = table;
|
3427
|
+
for (int i = 0; i < tab.length(); ++i) {
|
3428
|
+
int c = 0;
|
3429
|
+
for (Node e = tabAt(tab, i); e != null; e = e.next) {
|
3430
|
+
if (++c > TREE_THRESHOLD &&
|
3431
|
+
(e.key instanceof Comparable)) {
|
3432
|
+
replaceWithTreeBin(tab, i, e.key);
|
3433
|
+
break;
|
3434
|
+
}
|
3435
|
+
}
|
3436
|
+
}
|
3437
|
+
}
|
3438
|
+
}
|
3439
|
+
if (!init) { // Can only happen if unsafely published.
|
3440
|
+
while (p != null) {
|
3441
|
+
internalPut(p.key, p.val);
|
3442
|
+
p = p.next;
|
3443
|
+
}
|
3444
|
+
}
|
3445
|
+
}
|
3446
|
+
}
|
3447
|
+
|
3448
|
+
|
3449
|
+
// -------------------------------------------------------
|
3450
|
+
|
3451
|
+
// Sams
|
3452
|
+
/** Interface describing a void action of one argument */
|
3453
|
+
public interface Action<A> { void apply(A a); }
|
3454
|
+
/** Interface describing a void action of two arguments */
|
3455
|
+
public interface BiAction<A,B> { void apply(A a, B b); }
|
3456
|
+
/** Interface describing a function of one argument */
|
3457
|
+
public interface Generator<T> { T apply(); }
|
3458
|
+
/** Interface describing a function mapping its argument to a double */
|
3459
|
+
public interface ObjectToDouble<A> { double apply(A a); }
|
3460
|
+
/** Interface describing a function mapping its argument to a long */
|
3461
|
+
public interface ObjectToLong<A> { long apply(A a); }
|
3462
|
+
/** Interface describing a function mapping its argument to an int */
|
3463
|
+
public interface ObjectToInt<A> {int apply(A a); }
|
3464
|
+
/** Interface describing a function mapping two arguments to a double */
|
3465
|
+
public interface ObjectByObjectToDouble<A,B> { double apply(A a, B b); }
|
3466
|
+
/** Interface describing a function mapping two arguments to a long */
|
3467
|
+
public interface ObjectByObjectToLong<A,B> { long apply(A a, B b); }
|
3468
|
+
/** Interface describing a function mapping two arguments to an int */
|
3469
|
+
public interface ObjectByObjectToInt<A,B> {int apply(A a, B b); }
|
3470
|
+
/** Interface describing a function mapping a double to a double */
|
3471
|
+
public interface DoubleToDouble { double apply(double a); }
|
3472
|
+
/** Interface describing a function mapping a long to a long */
|
3473
|
+
public interface LongToLong { long apply(long a); }
|
3474
|
+
/** Interface describing a function mapping an int to an int */
|
3475
|
+
public interface IntToInt { int apply(int a); }
|
3476
|
+
/** Interface describing a function mapping two doubles to a double */
|
3477
|
+
public interface DoubleByDoubleToDouble { double apply(double a, double b); }
|
3478
|
+
/** Interface describing a function mapping two longs to a long */
|
3479
|
+
public interface LongByLongToLong { long apply(long a, long b); }
|
3480
|
+
/** Interface describing a function mapping two ints to an int */
|
3481
|
+
public interface IntByIntToInt { int apply(int a, int b); }
|
3482
|
+
|
3483
|
+
|
3484
|
+
/* ----------------Views -------------- */
|
3485
|
+
|
3486
|
+
/**
|
3487
|
+
* Base class for views.
|
3488
|
+
*/
|
3489
|
+
static abstract class CHMView<K, V> {
|
3490
|
+
final ConcurrentHashMapV8<K, V> map;
|
3491
|
+
CHMView(ConcurrentHashMapV8<K, V> map) { this.map = map; }
|
3492
|
+
|
3493
|
+
/**
|
3494
|
+
* Returns the map backing this view.
|
3495
|
+
*
|
3496
|
+
* @return the map backing this view
|
3497
|
+
*/
|
3498
|
+
public ConcurrentHashMapV8<K,V> getMap() { return map; }
|
3499
|
+
|
3500
|
+
public final int size() { return map.size(); }
|
3501
|
+
public final boolean isEmpty() { return map.isEmpty(); }
|
3502
|
+
public final void clear() { map.clear(); }
|
3503
|
+
|
3504
|
+
// implementations below rely on concrete classes supplying these
|
3505
|
+
abstract public Iterator<?> iterator();
|
3506
|
+
abstract public boolean contains(Object o);
|
3507
|
+
abstract public boolean remove(Object o);
|
3508
|
+
|
3509
|
+
private static final String oomeMsg = "Required array size too large";
|
3510
|
+
|
3511
|
+
public final Object[] toArray() {
|
3512
|
+
long sz = map.mappingCount();
|
3513
|
+
if (sz > (long)(MAX_ARRAY_SIZE))
|
3514
|
+
throw new OutOfMemoryError(oomeMsg);
|
3515
|
+
int n = (int)sz;
|
3516
|
+
Object[] r = new Object[n];
|
3517
|
+
int i = 0;
|
3518
|
+
Iterator<?> it = iterator();
|
3519
|
+
while (it.hasNext()) {
|
3520
|
+
if (i == n) {
|
3521
|
+
if (n >= MAX_ARRAY_SIZE)
|
3522
|
+
throw new OutOfMemoryError(oomeMsg);
|
3523
|
+
if (n >= MAX_ARRAY_SIZE - (MAX_ARRAY_SIZE >>> 1) - 1)
|
3524
|
+
n = MAX_ARRAY_SIZE;
|
3525
|
+
else
|
3526
|
+
n += (n >>> 1) + 1;
|
3527
|
+
r = Arrays.copyOf(r, n);
|
3528
|
+
}
|
3529
|
+
r[i++] = it.next();
|
3530
|
+
}
|
3531
|
+
return (i == n) ? r : Arrays.copyOf(r, i);
|
3532
|
+
}
|
3533
|
+
|
3534
|
+
@SuppressWarnings("unchecked") public final <T> T[] toArray(T[] a) {
|
3535
|
+
long sz = map.mappingCount();
|
3536
|
+
if (sz > (long)(MAX_ARRAY_SIZE))
|
3537
|
+
throw new OutOfMemoryError(oomeMsg);
|
3538
|
+
int m = (int)sz;
|
3539
|
+
T[] r = (a.length >= m) ? a :
|
3540
|
+
(T[])java.lang.reflect.Array
|
3541
|
+
.newInstance(a.getClass().getComponentType(), m);
|
3542
|
+
int n = r.length;
|
3543
|
+
int i = 0;
|
3544
|
+
Iterator<?> it = iterator();
|
3545
|
+
while (it.hasNext()) {
|
3546
|
+
if (i == n) {
|
3547
|
+
if (n >= MAX_ARRAY_SIZE)
|
3548
|
+
throw new OutOfMemoryError(oomeMsg);
|
3549
|
+
if (n >= MAX_ARRAY_SIZE - (MAX_ARRAY_SIZE >>> 1) - 1)
|
3550
|
+
n = MAX_ARRAY_SIZE;
|
3551
|
+
else
|
3552
|
+
n += (n >>> 1) + 1;
|
3553
|
+
r = Arrays.copyOf(r, n);
|
3554
|
+
}
|
3555
|
+
r[i++] = (T)it.next();
|
3556
|
+
}
|
3557
|
+
if (a == r && i < n) {
|
3558
|
+
r[i] = null; // null-terminate
|
3559
|
+
return r;
|
3560
|
+
}
|
3561
|
+
return (i == n) ? r : Arrays.copyOf(r, i);
|
3562
|
+
}
|
3563
|
+
|
3564
|
+
public final int hashCode() {
|
3565
|
+
int h = 0;
|
3566
|
+
for (Iterator<?> it = iterator(); it.hasNext();)
|
3567
|
+
h += it.next().hashCode();
|
3568
|
+
return h;
|
3569
|
+
}
|
3570
|
+
|
3571
|
+
public final String toString() {
|
3572
|
+
StringBuilder sb = new StringBuilder();
|
3573
|
+
sb.append('[');
|
3574
|
+
Iterator<?> it = iterator();
|
3575
|
+
if (it.hasNext()) {
|
3576
|
+
for (;;) {
|
3577
|
+
Object e = it.next();
|
3578
|
+
sb.append(e == this ? "(this Collection)" : e);
|
3579
|
+
if (!it.hasNext())
|
3580
|
+
break;
|
3581
|
+
sb.append(',').append(' ');
|
3582
|
+
}
|
3583
|
+
}
|
3584
|
+
return sb.append(']').toString();
|
3585
|
+
}
|
3586
|
+
|
3587
|
+
public final boolean containsAll(Collection<?> c) {
|
3588
|
+
if (c != this) {
|
3589
|
+
for (Iterator<?> it = c.iterator(); it.hasNext();) {
|
3590
|
+
Object e = it.next();
|
3591
|
+
if (e == null || !contains(e))
|
3592
|
+
return false;
|
3593
|
+
}
|
3594
|
+
}
|
3595
|
+
return true;
|
3596
|
+
}
|
3597
|
+
|
3598
|
+
public final boolean removeAll(Collection<?> c) {
|
3599
|
+
boolean modified = false;
|
3600
|
+
for (Iterator<?> it = iterator(); it.hasNext();) {
|
3601
|
+
if (c.contains(it.next())) {
|
3602
|
+
it.remove();
|
3603
|
+
modified = true;
|
3604
|
+
}
|
3605
|
+
}
|
3606
|
+
return modified;
|
3607
|
+
}
|
3608
|
+
|
3609
|
+
public final boolean retainAll(Collection<?> c) {
|
3610
|
+
boolean modified = false;
|
3611
|
+
for (Iterator<?> it = iterator(); it.hasNext();) {
|
3612
|
+
if (!c.contains(it.next())) {
|
3613
|
+
it.remove();
|
3614
|
+
modified = true;
|
3615
|
+
}
|
3616
|
+
}
|
3617
|
+
return modified;
|
3618
|
+
}
|
3619
|
+
|
3620
|
+
}
|
3621
|
+
|
3622
|
+
/**
|
3623
|
+
* A view of a ConcurrentHashMapV8 as a {@link Set} of keys, in
|
3624
|
+
* which additions may optionally be enabled by mapping to a
|
3625
|
+
* common value. This class cannot be directly instantiated. See
|
3626
|
+
* {@link #keySet}, {@link #keySet(Object)}, {@link #newKeySet()},
|
3627
|
+
* {@link #newKeySet(int)}.
|
3628
|
+
*/
|
3629
|
+
public static class KeySetView<K,V> extends CHMView<K,V> implements Set<K>, java.io.Serializable {
|
3630
|
+
private static final long serialVersionUID = 7249069246763182397L;
|
3631
|
+
private final V value;
|
3632
|
+
KeySetView(ConcurrentHashMapV8<K, V> map, V value) { // non-public
|
3633
|
+
super(map);
|
3634
|
+
this.value = value;
|
3635
|
+
}
|
3636
|
+
|
3637
|
+
/**
|
3638
|
+
* Returns the default mapped value for additions,
|
3639
|
+
* or {@code null} if additions are not supported.
|
3640
|
+
*
|
3641
|
+
* @return the default mapped value for additions, or {@code null}
|
3642
|
+
* if not supported.
|
3643
|
+
*/
|
3644
|
+
public V getMappedValue() { return value; }
|
3645
|
+
|
3646
|
+
// implement Set API
|
3647
|
+
|
3648
|
+
public boolean contains(Object o) { return map.containsKey(o); }
|
3649
|
+
public boolean remove(Object o) { return map.remove(o) != null; }
|
3650
|
+
|
3651
|
+
/**
|
3652
|
+
* Returns a "weakly consistent" iterator that will never
|
3653
|
+
* throw {@link ConcurrentModificationException}, and
|
3654
|
+
* guarantees to traverse elements as they existed upon
|
3655
|
+
* construction of the iterator, and may (but is not
|
3656
|
+
* guaranteed to) reflect any modifications subsequent to
|
3657
|
+
* construction.
|
3658
|
+
*
|
3659
|
+
* @return an iterator over the keys of this map
|
3660
|
+
*/
|
3661
|
+
public Iterator<K> iterator() { return new KeyIterator<K,V>(map); }
|
3662
|
+
public boolean add(K e) {
|
3663
|
+
V v;
|
3664
|
+
if ((v = value) == null)
|
3665
|
+
throw new UnsupportedOperationException();
|
3666
|
+
if (e == null)
|
3667
|
+
throw new NullPointerException();
|
3668
|
+
return map.internalPutIfAbsent(e, v) == null;
|
3669
|
+
}
|
3670
|
+
public boolean addAll(Collection<? extends K> c) {
|
3671
|
+
boolean added = false;
|
3672
|
+
V v;
|
3673
|
+
if ((v = value) == null)
|
3674
|
+
throw new UnsupportedOperationException();
|
3675
|
+
for (K e : c) {
|
3676
|
+
if (e == null)
|
3677
|
+
throw new NullPointerException();
|
3678
|
+
if (map.internalPutIfAbsent(e, v) == null)
|
3679
|
+
added = true;
|
3680
|
+
}
|
3681
|
+
return added;
|
3682
|
+
}
|
3683
|
+
public boolean equals(Object o) {
|
3684
|
+
Set<?> c;
|
3685
|
+
return ((o instanceof Set) &&
|
3686
|
+
((c = (Set<?>)o) == this ||
|
3687
|
+
(containsAll(c) && c.containsAll(this))));
|
3688
|
+
}
|
3689
|
+
}
|
3690
|
+
|
3691
|
+
/**
|
3692
|
+
* A view of a ConcurrentHashMapV8 as a {@link Collection} of
|
3693
|
+
* values, in which additions are disabled. This class cannot be
|
3694
|
+
* directly instantiated. See {@link #values},
|
3695
|
+
*
|
3696
|
+
* <p>The view's {@code iterator} is a "weakly consistent" iterator
|
3697
|
+
* that will never throw {@link ConcurrentModificationException},
|
3698
|
+
* and guarantees to traverse elements as they existed upon
|
3699
|
+
* construction of the iterator, and may (but is not guaranteed to)
|
3700
|
+
* reflect any modifications subsequent to construction.
|
3701
|
+
*/
|
3702
|
+
public static final class ValuesView<K,V> extends CHMView<K,V>
|
3703
|
+
implements Collection<V> {
|
3704
|
+
ValuesView(ConcurrentHashMapV8<K, V> map) { super(map); }
|
3705
|
+
public final boolean contains(Object o) { return map.containsValue(o); }
|
3706
|
+
public final boolean remove(Object o) {
|
3707
|
+
if (o != null) {
|
3708
|
+
Iterator<V> it = new ValueIterator<K,V>(map);
|
3709
|
+
while (it.hasNext()) {
|
3710
|
+
if (o.equals(it.next())) {
|
3711
|
+
it.remove();
|
3712
|
+
return true;
|
3713
|
+
}
|
3714
|
+
}
|
3715
|
+
}
|
3716
|
+
return false;
|
3717
|
+
}
|
3718
|
+
|
3719
|
+
/**
|
3720
|
+
* Returns a "weakly consistent" iterator that will never
|
3721
|
+
* throw {@link ConcurrentModificationException}, and
|
3722
|
+
* guarantees to traverse elements as they existed upon
|
3723
|
+
* construction of the iterator, and may (but is not
|
3724
|
+
* guaranteed to) reflect any modifications subsequent to
|
3725
|
+
* construction.
|
3726
|
+
*
|
3727
|
+
* @return an iterator over the values of this map
|
3728
|
+
*/
|
3729
|
+
public final Iterator<V> iterator() {
|
3730
|
+
return new ValueIterator<K,V>(map);
|
3731
|
+
}
|
3732
|
+
public final boolean add(V e) {
|
3733
|
+
throw new UnsupportedOperationException();
|
3734
|
+
}
|
3735
|
+
public final boolean addAll(Collection<? extends V> c) {
|
3736
|
+
throw new UnsupportedOperationException();
|
3737
|
+
}
|
3738
|
+
}
|
3739
|
+
|
3740
|
+
/**
|
3741
|
+
* A view of a ConcurrentHashMapV8 as a {@link Set} of (key, value)
|
3742
|
+
* entries. This class cannot be directly instantiated. See
|
3743
|
+
* {@link #entrySet}.
|
3744
|
+
*/
|
3745
|
+
public static final class EntrySetView<K,V> extends CHMView<K,V>
|
3746
|
+
implements Set<Map.Entry<K,V>> {
|
3747
|
+
EntrySetView(ConcurrentHashMapV8<K, V> map) { super(map); }
|
3748
|
+
public final boolean contains(Object o) {
|
3749
|
+
Object k, v, r; Map.Entry<?,?> e;
|
3750
|
+
return ((o instanceof Map.Entry) &&
|
3751
|
+
(k = (e = (Map.Entry<?,?>)o).getKey()) != null &&
|
3752
|
+
(r = map.get(k)) != null &&
|
3753
|
+
(v = e.getValue()) != null &&
|
3754
|
+
(v == r || v.equals(r)));
|
3755
|
+
}
|
3756
|
+
public final boolean remove(Object o) {
|
3757
|
+
Object k, v; Map.Entry<?,?> e;
|
3758
|
+
return ((o instanceof Map.Entry) &&
|
3759
|
+
(k = (e = (Map.Entry<?,?>)o).getKey()) != null &&
|
3760
|
+
(v = e.getValue()) != null &&
|
3761
|
+
map.remove(k, v));
|
3762
|
+
}
|
3763
|
+
|
3764
|
+
/**
|
3765
|
+
* Returns a "weakly consistent" iterator that will never
|
3766
|
+
* throw {@link ConcurrentModificationException}, and
|
3767
|
+
* guarantees to traverse elements as they existed upon
|
3768
|
+
* construction of the iterator, and may (but is not
|
3769
|
+
* guaranteed to) reflect any modifications subsequent to
|
3770
|
+
* construction.
|
3771
|
+
*
|
3772
|
+
* @return an iterator over the entries of this map
|
3773
|
+
*/
|
3774
|
+
public final Iterator<Map.Entry<K,V>> iterator() {
|
3775
|
+
return new EntryIterator<K,V>(map);
|
3776
|
+
}
|
3777
|
+
|
3778
|
+
public final boolean add(Entry<K,V> e) {
|
3779
|
+
K key = e.getKey();
|
3780
|
+
V value = e.getValue();
|
3781
|
+
if (key == null || value == null)
|
3782
|
+
throw new NullPointerException();
|
3783
|
+
return map.internalPut(key, value) == null;
|
3784
|
+
}
|
3785
|
+
public final boolean addAll(Collection<? extends Entry<K,V>> c) {
|
3786
|
+
boolean added = false;
|
3787
|
+
for (Entry<K,V> e : c) {
|
3788
|
+
if (add(e))
|
3789
|
+
added = true;
|
3790
|
+
}
|
3791
|
+
return added;
|
3792
|
+
}
|
3793
|
+
public boolean equals(Object o) {
|
3794
|
+
Set<?> c;
|
3795
|
+
return ((o instanceof Set) &&
|
3796
|
+
((c = (Set<?>)o) == this ||
|
3797
|
+
(containsAll(c) && c.containsAll(this))));
|
3798
|
+
}
|
3799
|
+
}
|
3800
|
+
}
|