abaci 0.2.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/CHANGELOG.md +6 -1
- data/README.md +13 -3
- data/lib/abaci.rb +30 -8
- data/lib/abaci/counter.rb +36 -25
- data/lib/abaci/date_range.rb +13 -5
- data/lib/abaci/metric.rb +6 -4
- data/lib/abaci/railtie.rb +9 -0
- data/lib/abaci/store.rb +22 -20
- data/lib/abaci/version.rb +2 -2
- data/vendor/bundle/bin/coderay +17 -0
- data/vendor/bundle/bin/erubis +17 -0
- data/vendor/bundle/bin/htmldiff +17 -0
- data/vendor/bundle/bin/ldiff +17 -0
- data/vendor/bundle/bin/nokogiri +17 -0
- data/vendor/bundle/bin/pry +17 -0
- data/vendor/bundle/bin/rackup +17 -0
- data/vendor/bundle/bin/rails +17 -0
- data/vendor/bundle/bin/rake +17 -0
- data/vendor/bundle/bin/rspec +17 -0
- data/vendor/bundle/bin/sprockets +17 -0
- data/vendor/bundle/bin/thor +17 -0
- data/vendor/bundle/bin/yard +17 -0
- data/vendor/bundle/bin/yardoc +17 -0
- data/vendor/bundle/bin/yri +17 -0
- data/vendor/bundle/cache/actioncable-5.0.0.gem +0 -0
- data/vendor/bundle/cache/actionmailer-5.0.0.gem +0 -0
- data/vendor/bundle/cache/actionpack-5.0.0.gem +0 -0
- data/vendor/bundle/cache/actionview-5.0.0.gem +0 -0
- data/vendor/bundle/cache/activejob-5.0.0.gem +0 -0
- data/vendor/bundle/cache/activemodel-5.0.0.gem +0 -0
- data/vendor/bundle/cache/activerecord-5.0.0.gem +0 -0
- data/vendor/bundle/cache/activesupport-5.0.0.gem +0 -0
- data/vendor/bundle/cache/activesupport-5.0.1.gem +0 -0
- data/vendor/bundle/cache/arel-7.1.0.gem +0 -0
- data/vendor/bundle/cache/builder-3.2.2.gem +0 -0
- data/vendor/bundle/cache/coderay-1.1.1.gem +0 -0
- data/vendor/bundle/cache/concurrent-ruby-1.0.2.gem +0 -0
- data/vendor/bundle/cache/concurrent-ruby-1.0.4.gem +0 -0
- data/vendor/bundle/cache/diff-lcs-1.2.5.gem +0 -0
- data/vendor/bundle/cache/docile-1.1.5.gem +0 -0
- data/vendor/bundle/cache/erubis-2.7.0.gem +0 -0
- data/vendor/bundle/cache/globalid-0.3.6.gem +0 -0
- data/vendor/bundle/cache/i18n-0.7.0.gem +0 -0
- data/vendor/bundle/cache/json-2.0.1.gem +0 -0
- data/vendor/bundle/cache/json-2.0.2.gem +0 -0
- data/vendor/bundle/cache/loofah-2.0.3.gem +0 -0
- data/vendor/bundle/cache/mail-2.6.4.gem +0 -0
- data/vendor/bundle/cache/method_source-0.8.2.gem +0 -0
- data/vendor/bundle/cache/mime-types-3.1.gem +0 -0
- data/vendor/bundle/cache/mime-types-data-3.2016.0521.gem +0 -0
- data/vendor/bundle/cache/mini_portile2-2.1.0.gem +0 -0
- data/vendor/bundle/cache/minitest-5.10.1.gem +0 -0
- data/vendor/bundle/cache/minitest-5.9.0.gem +0 -0
- data/vendor/bundle/cache/nio4r-1.2.1.gem +0 -0
- data/vendor/bundle/cache/nokogiri-1.6.8.gem +0 -0
- data/vendor/bundle/cache/pkg-config-1.1.7.gem +0 -0
- data/vendor/bundle/cache/pry-0.10.4.gem +0 -0
- data/vendor/bundle/cache/rack-2.0.1.gem +0 -0
- data/vendor/bundle/cache/rack-test-0.6.3.gem +0 -0
- data/vendor/bundle/cache/rails-5.0.0.gem +0 -0
- data/vendor/bundle/cache/rails-dom-testing-2.0.1.gem +0 -0
- data/vendor/bundle/cache/rails-html-sanitizer-1.0.3.gem +0 -0
- data/vendor/bundle/cache/railties-5.0.0.gem +0 -0
- data/vendor/bundle/cache/rake-11.2.2.gem +0 -0
- data/vendor/bundle/cache/redis-2.2.2.gem +0 -0
- data/vendor/bundle/cache/redis-3.3.1.gem +0 -0
- data/vendor/bundle/cache/redis-3.3.2.gem +0 -0
- data/vendor/bundle/cache/rspec-3.5.0.gem +0 -0
- data/vendor/bundle/cache/rspec-core-3.5.1.gem +0 -0
- data/vendor/bundle/cache/rspec-core-3.5.4.gem +0 -0
- data/vendor/bundle/cache/rspec-expectations-3.5.0.gem +0 -0
- data/vendor/bundle/cache/rspec-mocks-3.5.0.gem +0 -0
- data/vendor/bundle/cache/rspec-support-3.5.0.gem +0 -0
- data/vendor/bundle/cache/simplecov-0.12.0.gem +0 -0
- data/vendor/bundle/cache/simplecov-html-0.10.0.gem +0 -0
- data/vendor/bundle/cache/slop-3.6.0.gem +0 -0
- data/vendor/bundle/cache/sprockets-3.6.3.gem +0 -0
- data/vendor/bundle/cache/sprockets-rails-3.1.1.gem +0 -0
- data/vendor/bundle/cache/thor-0.19.1.gem +0 -0
- data/vendor/bundle/cache/thread_safe-0.3.5.gem +0 -0
- data/vendor/bundle/cache/tzinfo-1.2.2.gem +0 -0
- data/vendor/bundle/cache/websocket-driver-0.6.4.gem +0 -0
- data/vendor/bundle/cache/websocket-extensions-0.1.2.gem +0 -0
- data/vendor/bundle/cache/yard-0.9.1.gem +0 -0
- data/vendor/bundle/cache/yard-0.9.2.gem +0 -0
- data/vendor/bundle/cache/yard-0.9.7.gem +0 -0
- data/vendor/bundle/extensions/x86_64-darwin-15/2.3.0-static/json-2.0.1/gem.build_complete +0 -0
- data/vendor/bundle/extensions/x86_64-darwin-15/2.3.0-static/json-2.0.1/gem_make.out +13 -0
- data/vendor/bundle/extensions/x86_64-darwin-15/2.3.0-static/json-2.0.1/json/ext/generator.bundle +0 -0
- data/vendor/bundle/extensions/x86_64-darwin-15/2.3.0-static/json-2.0.1/json/ext/parser.bundle +0 -0
- data/vendor/bundle/extensions/x86_64-darwin-15/2.3.0-static/json-2.0.1/mkmf.log +60 -0
- data/vendor/bundle/extensions/x86_64-darwin-15/2.3.0-static/json-2.0.2/gem.build_complete +0 -0
- data/vendor/bundle/extensions/x86_64-darwin-15/2.3.0-static/json-2.0.2/gem_make.out +13 -0
- data/vendor/bundle/extensions/x86_64-darwin-15/2.3.0-static/json-2.0.2/json/ext/generator.bundle +0 -0
- data/vendor/bundle/extensions/x86_64-darwin-15/2.3.0-static/json-2.0.2/json/ext/parser.bundle +0 -0
- data/vendor/bundle/extensions/x86_64-darwin-15/2.3.0-static/json-2.0.2/mkmf.log +60 -0
- data/vendor/bundle/extensions/x86_64-darwin-15/2.3.0-static/nio4r-1.2.1/gem.build_complete +0 -0
- data/vendor/bundle/extensions/x86_64-darwin-15/2.3.0-static/nio4r-1.2.1/gem_make.out +242 -0
- data/vendor/bundle/extensions/x86_64-darwin-15/2.3.0-static/nio4r-1.2.1/mkmf.log +210 -0
- data/vendor/bundle/extensions/x86_64-darwin-15/2.3.0-static/nio4r-1.2.1/nio4r_ext.bundle +0 -0
- data/vendor/bundle/extensions/x86_64-darwin-15/2.3.0-static/nokogiri-1.6.8/gem.build_complete +0 -0
- data/vendor/bundle/extensions/x86_64-darwin-15/2.3.0-static/nokogiri-1.6.8/gem_make.out +165 -0
- data/vendor/bundle/extensions/x86_64-darwin-15/2.3.0-static/nokogiri-1.6.8/mkmf.log +541 -0
- data/vendor/bundle/extensions/x86_64-darwin-15/2.3.0-static/nokogiri-1.6.8/nokogiri/nokogiri.bundle +0 -0
- data/vendor/bundle/extensions/x86_64-darwin-15/2.3.0-static/websocket-driver-0.6.4/gem.build_complete +0 -0
- data/vendor/bundle/extensions/x86_64-darwin-15/2.3.0-static/websocket-driver-0.6.4/gem_make.out +15 -0
- data/vendor/bundle/extensions/x86_64-darwin-15/2.3.0-static/websocket-driver-0.6.4/websocket_mask.bundle +0 -0
- data/vendor/bundle/gems/actioncable-5.0.0/CHANGELOG.md +83 -0
- data/vendor/bundle/gems/actioncable-5.0.0/MIT-LICENSE +20 -0
- data/vendor/bundle/gems/actioncable-5.0.0/README.md +545 -0
- data/vendor/bundle/gems/actioncable-5.0.0/lib/action_cable.rb +52 -0
- data/vendor/bundle/gems/actioncable-5.0.0/lib/action_cable/channel.rb +14 -0
- data/vendor/bundle/gems/actioncable-5.0.0/lib/action_cable/channel/base.rb +297 -0
- data/vendor/bundle/gems/actioncable-5.0.0/lib/action_cable/channel/broadcasting.rb +29 -0
- data/vendor/bundle/gems/actioncable-5.0.0/lib/action_cable/channel/callbacks.rb +35 -0
- data/vendor/bundle/gems/actioncable-5.0.0/lib/action_cable/channel/naming.rb +22 -0
- data/vendor/bundle/gems/actioncable-5.0.0/lib/action_cable/channel/periodic_timers.rb +77 -0
- data/vendor/bundle/gems/actioncable-5.0.0/lib/action_cable/channel/streams.rb +174 -0
- data/vendor/bundle/gems/actioncable-5.0.0/lib/action_cable/connection.rb +21 -0
- data/vendor/bundle/gems/actioncable-5.0.0/lib/action_cable/connection/authorization.rb +13 -0
- data/vendor/bundle/gems/actioncable-5.0.0/lib/action_cable/connection/base.rb +255 -0
- data/vendor/bundle/gems/actioncable-5.0.0/lib/action_cable/connection/client_socket.rb +155 -0
- data/vendor/bundle/gems/actioncable-5.0.0/lib/action_cable/connection/faye_client_socket.rb +48 -0
- data/vendor/bundle/gems/actioncable-5.0.0/lib/action_cable/connection/faye_event_loop.rb +44 -0
- data/vendor/bundle/gems/actioncable-5.0.0/lib/action_cable/connection/identification.rb +46 -0
- data/vendor/bundle/gems/actioncable-5.0.0/lib/action_cable/connection/internal_channel.rb +43 -0
- data/vendor/bundle/gems/actioncable-5.0.0/lib/action_cable/connection/message_buffer.rb +53 -0
- data/vendor/bundle/gems/actioncable-5.0.0/lib/action_cable/connection/stream.rb +57 -0
- data/vendor/bundle/gems/actioncable-5.0.0/lib/action_cable/connection/stream_event_loop.rb +103 -0
- data/vendor/bundle/gems/actioncable-5.0.0/lib/action_cable/connection/subscriptions.rb +75 -0
- data/vendor/bundle/gems/actioncable-5.0.0/lib/action_cable/connection/tagged_logger_proxy.rb +40 -0
- data/vendor/bundle/gems/actioncable-5.0.0/lib/action_cable/connection/web_socket.rb +39 -0
- data/vendor/bundle/gems/actioncable-5.0.0/lib/action_cable/engine.rb +77 -0
- data/vendor/bundle/gems/actioncable-5.0.0/lib/action_cable/gem_version.rb +15 -0
- data/vendor/bundle/gems/actioncable-5.0.0/lib/action_cable/helpers/action_cable_helper.rb +40 -0
- data/vendor/bundle/gems/actioncable-5.0.0/lib/action_cable/remote_connections.rb +66 -0
- data/vendor/bundle/gems/actioncable-5.0.0/lib/action_cable/server.rb +15 -0
- data/vendor/bundle/gems/actioncable-5.0.0/lib/action_cable/server/base.rb +83 -0
- data/vendor/bundle/gems/actioncable-5.0.0/lib/action_cable/server/broadcasting.rb +48 -0
- data/vendor/bundle/gems/actioncable-5.0.0/lib/action_cable/server/configuration.rb +56 -0
- data/vendor/bundle/gems/actioncable-5.0.0/lib/action_cable/server/connections.rb +34 -0
- data/vendor/bundle/gems/actioncable-5.0.0/lib/action_cable/server/worker.rb +75 -0
- data/vendor/bundle/gems/actioncable-5.0.0/lib/action_cable/server/worker/active_record_connection_management.rb +19 -0
- data/vendor/bundle/gems/actioncable-5.0.0/lib/action_cable/subscription_adapter.rb +8 -0
- data/vendor/bundle/gems/actioncable-5.0.0/lib/action_cable/subscription_adapter/async.rb +27 -0
- data/vendor/bundle/gems/actioncable-5.0.0/lib/action_cable/subscription_adapter/base.rb +28 -0
- data/vendor/bundle/gems/actioncable-5.0.0/lib/action_cable/subscription_adapter/evented_redis.rb +79 -0
- data/vendor/bundle/gems/actioncable-5.0.0/lib/action_cable/subscription_adapter/inline.rb +35 -0
- data/vendor/bundle/gems/actioncable-5.0.0/lib/action_cable/subscription_adapter/postgresql.rb +107 -0
- data/vendor/bundle/gems/actioncable-5.0.0/lib/action_cable/subscription_adapter/redis.rb +172 -0
- data/vendor/bundle/gems/actioncable-5.0.0/lib/action_cable/subscription_adapter/subscriber_map.rb +53 -0
- data/vendor/bundle/gems/actioncable-5.0.0/lib/action_cable/version.rb +8 -0
- data/vendor/bundle/gems/actioncable-5.0.0/lib/assets/compiled/action_cable.js +590 -0
- data/vendor/bundle/gems/actioncable-5.0.0/lib/rails/generators/channel/USAGE +14 -0
- data/vendor/bundle/gems/actioncable-5.0.0/lib/rails/generators/channel/channel_generator.rb +47 -0
- data/vendor/bundle/gems/actioncable-5.0.0/lib/rails/generators/channel/templates/application_cable/channel.rb +5 -0
- data/vendor/bundle/gems/actioncable-5.0.0/lib/rails/generators/channel/templates/application_cable/connection.rb +5 -0
- data/vendor/bundle/gems/actioncable-5.0.0/lib/rails/generators/channel/templates/assets/cable.js +13 -0
- data/vendor/bundle/gems/actioncable-5.0.0/lib/rails/generators/channel/templates/assets/channel.coffee +14 -0
- data/vendor/bundle/gems/actioncable-5.0.0/lib/rails/generators/channel/templates/assets/channel.js +18 -0
- data/vendor/bundle/gems/actioncable-5.0.0/lib/rails/generators/channel/templates/channel.rb +17 -0
- data/vendor/bundle/gems/actionmailer-5.0.0/CHANGELOG.md +130 -0
- data/vendor/bundle/gems/actionmailer-5.0.0/MIT-LICENSE +21 -0
- data/vendor/bundle/gems/actionmailer-5.0.0/README.rdoc +175 -0
- data/vendor/bundle/gems/actionmailer-5.0.0/lib/action_mailer.rb +58 -0
- data/vendor/bundle/gems/actionmailer-5.0.0/lib/action_mailer/base.rb +967 -0
- data/vendor/bundle/gems/actionmailer-5.0.0/lib/action_mailer/collector.rb +30 -0
- data/vendor/bundle/gems/actionmailer-5.0.0/lib/action_mailer/delivery_job.rb +34 -0
- data/vendor/bundle/gems/actionmailer-5.0.0/lib/action_mailer/delivery_methods.rb +87 -0
- data/vendor/bundle/gems/actionmailer-5.0.0/lib/action_mailer/gem_version.rb +15 -0
- data/vendor/bundle/gems/actionmailer-5.0.0/lib/action_mailer/inline_preview_interceptor.rb +61 -0
- data/vendor/bundle/gems/actionmailer-5.0.0/lib/action_mailer/log_subscriber.rb +39 -0
- data/vendor/bundle/gems/actionmailer-5.0.0/lib/action_mailer/mail_helper.rb +70 -0
- data/vendor/bundle/gems/actionmailer-5.0.0/lib/action_mailer/message_delivery.rb +125 -0
- data/vendor/bundle/gems/actionmailer-5.0.0/lib/action_mailer/preview.rb +118 -0
- data/vendor/bundle/gems/actionmailer-5.0.0/lib/action_mailer/railtie.rb +74 -0
- data/vendor/bundle/gems/actionmailer-5.0.0/lib/action_mailer/rescuable.rb +27 -0
- data/vendor/bundle/gems/actionmailer-5.0.0/lib/action_mailer/test_case.rb +122 -0
- data/vendor/bundle/gems/actionmailer-5.0.0/lib/action_mailer/test_helper.rb +113 -0
- data/vendor/bundle/gems/actionmailer-5.0.0/lib/action_mailer/version.rb +9 -0
- data/vendor/bundle/gems/actionmailer-5.0.0/lib/rails/generators/mailer/USAGE +17 -0
- data/vendor/bundle/gems/actionmailer-5.0.0/lib/rails/generators/mailer/mailer_generator.rb +37 -0
- data/vendor/bundle/gems/actionmailer-5.0.0/lib/rails/generators/mailer/templates/application_mailer.rb +6 -0
- data/vendor/bundle/gems/actionmailer-5.0.0/lib/rails/generators/mailer/templates/mailer.rb +17 -0
- data/vendor/bundle/gems/actionpack-5.0.0/CHANGELOG.md +822 -0
- data/vendor/bundle/gems/actionpack-5.0.0/MIT-LICENSE +21 -0
- data/vendor/bundle/gems/actionpack-5.0.0/README.rdoc +57 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/abstract_controller.rb +24 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/abstract_controller/asset_paths.rb +10 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/abstract_controller/base.rb +259 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/abstract_controller/caching.rb +62 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/abstract_controller/caching/fragments.rb +143 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/abstract_controller/callbacks.rb +229 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/abstract_controller/collector.rb +41 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/abstract_controller/error.rb +4 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/abstract_controller/helpers.rb +195 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/abstract_controller/logger.rb +12 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/abstract_controller/railties/routes_helpers.rb +18 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/abstract_controller/rendering.rb +136 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/abstract_controller/translation.rb +29 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/abstract_controller/url_for.rb +33 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_controller.rb +61 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_controller/api.rb +147 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_controller/api/api_rendering.rb +14 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_controller/base.rb +265 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_controller/caching.rb +44 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_controller/form_builder.rb +48 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_controller/log_subscriber.rb +76 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_controller/metal.rb +266 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_controller/metal/basic_implicit_render.rb +11 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_controller/metal/conditional_get.rb +272 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_controller/metal/cookies.rb +14 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_controller/metal/data_streaming.rb +150 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_controller/metal/etag_with_template_digest.rb +50 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_controller/metal/exceptions.rb +64 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_controller/metal/flash.rb +60 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_controller/metal/force_ssl.rb +97 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_controller/metal/head.rb +64 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_controller/metal/helpers.rb +122 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_controller/metal/http_authentication.rb +521 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_controller/metal/implicit_render.rb +74 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_controller/metal/instrumentation.rb +109 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_controller/metal/live.rb +306 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_controller/metal/mime_responds.rb +311 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_controller/metal/params_wrapper.rb +285 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_controller/metal/redirecting.rb +135 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_controller/metal/renderers.rb +183 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_controller/metal/rendering.rb +132 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_controller/metal/request_forgery_protection.rb +412 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_controller/metal/rescue.rb +26 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_controller/metal/streaming.rb +221 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_controller/metal/strong_parameters.rb +872 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_controller/metal/testing.rb +20 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_controller/metal/url_for.rb +56 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_controller/railtie.rb +71 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_controller/railties/helpers.rb +22 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_controller/renderer.rb +111 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_controller/template_assertions.rb +9 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_controller/test_case.rb +681 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_dispatch.rb +107 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_dispatch/http/cache.rb +215 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_dispatch/http/filter_parameters.rb +82 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_dispatch/http/filter_redirect.rb +37 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_dispatch/http/headers.rb +130 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_dispatch/http/mime_negotiation.rb +174 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_dispatch/http/mime_type.rb +365 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_dispatch/http/mime_types.rb +35 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_dispatch/http/parameter_filter.rb +82 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_dispatch/http/parameters.rb +80 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_dispatch/http/rack_cache.rb +61 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_dispatch/http/request.rb +415 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_dispatch/http/response.rb +509 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_dispatch/http/upload.rb +78 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_dispatch/http/url.rb +377 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_dispatch/journey.rb +5 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_dispatch/journey/formatter.rb +177 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_dispatch/journey/gtg/builder.rb +162 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_dispatch/journey/gtg/simulator.rb +47 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_dispatch/journey/gtg/transition_table.rb +157 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_dispatch/journey/nfa/builder.rb +76 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_dispatch/journey/nfa/dot.rb +34 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_dispatch/journey/nfa/simulator.rb +47 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_dispatch/journey/nfa/transition_table.rb +118 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_dispatch/journey/nodes/node.rb +138 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_dispatch/journey/parser.rb +198 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_dispatch/journey/parser.y +49 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_dispatch/journey/parser_extras.rb +27 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_dispatch/journey/path/pattern.rb +189 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_dispatch/journey/route.rb +180 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_dispatch/journey/router.rb +140 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_dispatch/journey/router/utils.rb +93 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_dispatch/journey/routes.rb +79 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_dispatch/journey/scanner.rb +61 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_dispatch/journey/visitors.rb +264 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_dispatch/journey/visualizer/fsm.css +30 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_dispatch/journey/visualizer/fsm.js +134 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_dispatch/journey/visualizer/index.html.erb +52 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_dispatch/middleware/callbacks.rb +46 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_dispatch/middleware/cookies.rb +628 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_dispatch/middleware/debug_exceptions.rb +185 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_dispatch/middleware/exception_wrapper.rb +148 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_dispatch/middleware/executor.rb +19 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_dispatch/middleware/flash.rb +297 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_dispatch/middleware/params_parser.rb +46 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_dispatch/middleware/public_exceptions.rb +55 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_dispatch/middleware/reloader.rb +54 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_dispatch/middleware/remote_ip.rb +183 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_dispatch/middleware/request_id.rb +40 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_dispatch/middleware/session/abstract_store.rb +102 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_dispatch/middleware/session/cache_store.rb +52 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_dispatch/middleware/session/cookie_store.rb +129 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_dispatch/middleware/session/mem_cache_store.rb +26 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_dispatch/middleware/show_exceptions.rb +60 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_dispatch/middleware/ssl.rb +151 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_dispatch/middleware/stack.rb +133 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_dispatch/middleware/static.rb +139 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb +22 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.text.erb +23 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_dispatch/middleware/templates/rescues/_source.html.erb +27 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_dispatch/middleware/templates/rescues/_source.text.erb +8 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb +52 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb +9 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb +16 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.text.erb +9 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_dispatch/middleware/templates/rescues/layout.erb +160 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_dispatch/middleware/templates/rescues/missing_template.html.erb +11 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_dispatch/middleware/templates/rescues/missing_template.text.erb +3 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb +32 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb +11 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb +20 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_dispatch/middleware/templates/rescues/template_error.text.erb +7 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_dispatch/middleware/templates/rescues/unknown_action.html.erb +6 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_dispatch/middleware/templates/rescues/unknown_action.text.erb +3 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb +16 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_dispatch/middleware/templates/routes/_table.html.erb +196 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_dispatch/railtie.rb +47 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_dispatch/request/session.rb +229 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_dispatch/request/utils.rb +67 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_dispatch/routing.rb +265 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_dispatch/routing/endpoint.rb +10 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_dispatch/routing/inspector.rb +223 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_dispatch/routing/mapper.rb +2134 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_dispatch/routing/polymorphic_routes.rb +324 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_dispatch/routing/redirection.rb +191 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_dispatch/routing/route_set.rb +767 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_dispatch/routing/routes_proxy.rb +42 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_dispatch/routing/url_for.rb +213 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_dispatch/testing/assertion_response.rb +45 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_dispatch/testing/assertions.rb +22 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_dispatch/testing/assertions/response.rb +100 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_dispatch/testing/assertions/routing.rb +219 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_dispatch/testing/integration.rb +785 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_dispatch/testing/test_process.rb +43 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_dispatch/testing/test_request.rb +69 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_dispatch/testing/test_response.rb +28 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_pack.rb +24 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_pack/gem_version.rb +15 -0
- data/vendor/bundle/gems/actionpack-5.0.0/lib/action_pack/version.rb +8 -0
- data/vendor/bundle/gems/actionview-5.0.0/CHANGELOG.md +349 -0
- data/vendor/bundle/gems/actionview-5.0.0/MIT-LICENSE +21 -0
- data/vendor/bundle/gems/actionview-5.0.0/README.rdoc +38 -0
- data/vendor/bundle/gems/actionview-5.0.0/lib/action_view.rb +96 -0
- data/vendor/bundle/gems/actionview-5.0.0/lib/action_view/base.rb +217 -0
- data/vendor/bundle/gems/actionview-5.0.0/lib/action_view/buffers.rb +50 -0
- data/vendor/bundle/gems/actionview-5.0.0/lib/action_view/context.rb +36 -0
- data/vendor/bundle/gems/actionview-5.0.0/lib/action_view/dependency_tracker.rb +174 -0
- data/vendor/bundle/gems/actionview-5.0.0/lib/action_view/digestor.rb +120 -0
- data/vendor/bundle/gems/actionview-5.0.0/lib/action_view/flows.rb +75 -0
- data/vendor/bundle/gems/actionview-5.0.0/lib/action_view/gem_version.rb +15 -0
- data/vendor/bundle/gems/actionview-5.0.0/lib/action_view/helpers.rb +64 -0
- data/vendor/bundle/gems/actionview-5.0.0/lib/action_view/helpers/active_model_helper.rb +49 -0
- data/vendor/bundle/gems/actionview-5.0.0/lib/action_view/helpers/asset_tag_helper.rb +339 -0
- data/vendor/bundle/gems/actionview-5.0.0/lib/action_view/helpers/asset_url_helper.rb +405 -0
- data/vendor/bundle/gems/actionview-5.0.0/lib/action_view/helpers/atom_feed_helper.rb +204 -0
- data/vendor/bundle/gems/actionview-5.0.0/lib/action_view/helpers/cache_helper.rb +241 -0
- data/vendor/bundle/gems/actionview-5.0.0/lib/action_view/helpers/capture_helper.rb +210 -0
- data/vendor/bundle/gems/actionview-5.0.0/lib/action_view/helpers/controller_helper.rb +26 -0
- data/vendor/bundle/gems/actionview-5.0.0/lib/action_view/helpers/csrf_helper.rb +33 -0
- data/vendor/bundle/gems/actionview-5.0.0/lib/action_view/helpers/date_helper.rb +1144 -0
- data/vendor/bundle/gems/actionview-5.0.0/lib/action_view/helpers/debug_helper.rb +35 -0
- data/vendor/bundle/gems/actionview-5.0.0/lib/action_view/helpers/form_helper.rb +1944 -0
- data/vendor/bundle/gems/actionview-5.0.0/lib/action_view/helpers/form_options_helper.rb +881 -0
- data/vendor/bundle/gems/actionview-5.0.0/lib/action_view/helpers/form_tag_helper.rb +902 -0
- data/vendor/bundle/gems/actionview-5.0.0/lib/action_view/helpers/javascript_helper.rb +81 -0
- data/vendor/bundle/gems/actionview-5.0.0/lib/action_view/helpers/number_helper.rb +447 -0
- data/vendor/bundle/gems/actionview-5.0.0/lib/action_view/helpers/output_safety_helper.rb +68 -0
- data/vendor/bundle/gems/actionview-5.0.0/lib/action_view/helpers/record_tag_helper.rb +21 -0
- data/vendor/bundle/gems/actionview-5.0.0/lib/action_view/helpers/rendering_helper.rb +98 -0
- data/vendor/bundle/gems/actionview-5.0.0/lib/action_view/helpers/sanitize_helper.rb +171 -0
- data/vendor/bundle/gems/actionview-5.0.0/lib/action_view/helpers/tag_helper.rb +196 -0
- data/vendor/bundle/gems/actionview-5.0.0/lib/action_view/helpers/tags.rb +42 -0
- data/vendor/bundle/gems/actionview-5.0.0/lib/action_view/helpers/tags/base.rb +160 -0
- data/vendor/bundle/gems/actionview-5.0.0/lib/action_view/helpers/tags/check_box.rb +64 -0
- data/vendor/bundle/gems/actionview-5.0.0/lib/action_view/helpers/tags/checkable.rb +16 -0
- data/vendor/bundle/gems/actionview-5.0.0/lib/action_view/helpers/tags/collection_check_boxes.rb +33 -0
- data/vendor/bundle/gems/actionview-5.0.0/lib/action_view/helpers/tags/collection_helpers.rb +117 -0
- data/vendor/bundle/gems/actionview-5.0.0/lib/action_view/helpers/tags/collection_radio_buttons.rb +28 -0
- data/vendor/bundle/gems/actionview-5.0.0/lib/action_view/helpers/tags/collection_select.rb +28 -0
- data/vendor/bundle/gems/actionview-5.0.0/lib/action_view/helpers/tags/color_field.rb +25 -0
- data/vendor/bundle/gems/actionview-5.0.0/lib/action_view/helpers/tags/date_field.rb +13 -0
- data/vendor/bundle/gems/actionview-5.0.0/lib/action_view/helpers/tags/date_select.rb +72 -0
- data/vendor/bundle/gems/actionview-5.0.0/lib/action_view/helpers/tags/datetime_field.rb +30 -0
- data/vendor/bundle/gems/actionview-5.0.0/lib/action_view/helpers/tags/datetime_local_field.rb +19 -0
- data/vendor/bundle/gems/actionview-5.0.0/lib/action_view/helpers/tags/datetime_select.rb +8 -0
- data/vendor/bundle/gems/actionview-5.0.0/lib/action_view/helpers/tags/email_field.rb +8 -0
- data/vendor/bundle/gems/actionview-5.0.0/lib/action_view/helpers/tags/file_field.rb +8 -0
- data/vendor/bundle/gems/actionview-5.0.0/lib/action_view/helpers/tags/grouped_collection_select.rb +29 -0
- data/vendor/bundle/gems/actionview-5.0.0/lib/action_view/helpers/tags/hidden_field.rb +8 -0
- data/vendor/bundle/gems/actionview-5.0.0/lib/action_view/helpers/tags/label.rb +79 -0
- data/vendor/bundle/gems/actionview-5.0.0/lib/action_view/helpers/tags/month_field.rb +13 -0
- data/vendor/bundle/gems/actionview-5.0.0/lib/action_view/helpers/tags/number_field.rb +18 -0
- data/vendor/bundle/gems/actionview-5.0.0/lib/action_view/helpers/tags/password_field.rb +12 -0
- data/vendor/bundle/gems/actionview-5.0.0/lib/action_view/helpers/tags/placeholderable.rb +22 -0
- data/vendor/bundle/gems/actionview-5.0.0/lib/action_view/helpers/tags/radio_button.rb +31 -0
- data/vendor/bundle/gems/actionview-5.0.0/lib/action_view/helpers/tags/range_field.rb +8 -0
- data/vendor/bundle/gems/actionview-5.0.0/lib/action_view/helpers/tags/search_field.rb +25 -0
- data/vendor/bundle/gems/actionview-5.0.0/lib/action_view/helpers/tags/select.rb +41 -0
- data/vendor/bundle/gems/actionview-5.0.0/lib/action_view/helpers/tags/tel_field.rb +8 -0
- data/vendor/bundle/gems/actionview-5.0.0/lib/action_view/helpers/tags/text_area.rb +22 -0
- data/vendor/bundle/gems/actionview-5.0.0/lib/action_view/helpers/tags/text_field.rb +32 -0
- data/vendor/bundle/gems/actionview-5.0.0/lib/action_view/helpers/tags/time_field.rb +13 -0
- data/vendor/bundle/gems/actionview-5.0.0/lib/action_view/helpers/tags/time_select.rb +8 -0
- data/vendor/bundle/gems/actionview-5.0.0/lib/action_view/helpers/tags/time_zone_select.rb +20 -0
- data/vendor/bundle/gems/actionview-5.0.0/lib/action_view/helpers/tags/translator.rb +40 -0
- data/vendor/bundle/gems/actionview-5.0.0/lib/action_view/helpers/tags/url_field.rb +8 -0
- data/vendor/bundle/gems/actionview-5.0.0/lib/action_view/helpers/tags/week_field.rb +13 -0
- data/vendor/bundle/gems/actionview-5.0.0/lib/action_view/helpers/text_helper.rb +490 -0
- data/vendor/bundle/gems/actionview-5.0.0/lib/action_view/helpers/translation_helper.rb +140 -0
- data/vendor/bundle/gems/actionview-5.0.0/lib/action_view/helpers/url_helper.rb +637 -0
- data/vendor/bundle/gems/actionview-5.0.0/lib/action_view/layouts.rb +427 -0
- data/vendor/bundle/gems/actionview-5.0.0/lib/action_view/locale/en.yml +56 -0
- data/vendor/bundle/gems/actionview-5.0.0/lib/action_view/log_subscriber.rb +78 -0
- data/vendor/bundle/gems/actionview-5.0.0/lib/action_view/lookup_context.rb +280 -0
- data/vendor/bundle/gems/actionview-5.0.0/lib/action_view/model_naming.rb +12 -0
- data/vendor/bundle/gems/actionview-5.0.0/lib/action_view/path_set.rb +98 -0
- data/vendor/bundle/gems/actionview-5.0.0/lib/action_view/railtie.rb +64 -0
- data/vendor/bundle/gems/actionview-5.0.0/lib/action_view/record_identifier.rb +110 -0
- data/vendor/bundle/gems/actionview-5.0.0/lib/action_view/renderer/abstract_renderer.rb +53 -0
- data/vendor/bundle/gems/actionview-5.0.0/lib/action_view/renderer/partial_renderer.rb +549 -0
- data/vendor/bundle/gems/actionview-5.0.0/lib/action_view/renderer/partial_renderer/collection_caching.rb +49 -0
- data/vendor/bundle/gems/actionview-5.0.0/lib/action_view/renderer/renderer.rb +50 -0
- data/vendor/bundle/gems/actionview-5.0.0/lib/action_view/renderer/streaming_template_renderer.rb +103 -0
- data/vendor/bundle/gems/actionview-5.0.0/lib/action_view/renderer/template_renderer.rb +102 -0
- data/vendor/bundle/gems/actionview-5.0.0/lib/action_view/rendering.rb +149 -0
- data/vendor/bundle/gems/actionview-5.0.0/lib/action_view/routing_url_for.rb +147 -0
- data/vendor/bundle/gems/actionview-5.0.0/lib/action_view/tasks/cache_digests.rake +23 -0
- data/vendor/bundle/gems/actionview-5.0.0/lib/action_view/template.rb +354 -0
- data/vendor/bundle/gems/actionview-5.0.0/lib/action_view/template/error.rb +152 -0
- data/vendor/bundle/gems/actionview-5.0.0/lib/action_view/template/handlers.rb +64 -0
- data/vendor/bundle/gems/actionview-5.0.0/lib/action_view/template/handlers/builder.rb +26 -0
- data/vendor/bundle/gems/actionview-5.0.0/lib/action_view/template/handlers/erb.rb +145 -0
- data/vendor/bundle/gems/actionview-5.0.0/lib/action_view/template/handlers/html.rb +9 -0
- data/vendor/bundle/gems/actionview-5.0.0/lib/action_view/template/handlers/raw.rb +9 -0
- data/vendor/bundle/gems/actionview-5.0.0/lib/action_view/template/html.rb +34 -0
- data/vendor/bundle/gems/actionview-5.0.0/lib/action_view/template/resolver.rb +373 -0
- data/vendor/bundle/gems/actionview-5.0.0/lib/action_view/template/text.rb +34 -0
- data/vendor/bundle/gems/actionview-5.0.0/lib/action_view/template/types.rb +55 -0
- data/vendor/bundle/gems/actionview-5.0.0/lib/action_view/test_case.rb +284 -0
- data/vendor/bundle/gems/actionview-5.0.0/lib/action_view/testing/resolvers.rb +53 -0
- data/vendor/bundle/gems/actionview-5.0.0/lib/action_view/version.rb +8 -0
- data/vendor/bundle/gems/actionview-5.0.0/lib/action_view/view_paths.rb +93 -0
- data/vendor/bundle/gems/activejob-5.0.0/CHANGELOG.md +168 -0
- data/vendor/bundle/gems/activejob-5.0.0/MIT-LICENSE +21 -0
- data/vendor/bundle/gems/activejob-5.0.0/README.md +126 -0
- data/vendor/bundle/gems/activejob-5.0.0/lib/active_job.rb +37 -0
- data/vendor/bundle/gems/activejob-5.0.0/lib/active_job/arguments.rb +166 -0
- data/vendor/bundle/gems/activejob-5.0.0/lib/active_job/base.rb +70 -0
- data/vendor/bundle/gems/activejob-5.0.0/lib/active_job/callbacks.rb +151 -0
- data/vendor/bundle/gems/activejob-5.0.0/lib/active_job/configured_job.rb +16 -0
- data/vendor/bundle/gems/activejob-5.0.0/lib/active_job/core.rb +130 -0
- data/vendor/bundle/gems/activejob-5.0.0/lib/active_job/enqueuing.rb +82 -0
- data/vendor/bundle/gems/activejob-5.0.0/lib/active_job/execution.rb +44 -0
- data/vendor/bundle/gems/activejob-5.0.0/lib/active_job/gem_version.rb +15 -0
- data/vendor/bundle/gems/activejob-5.0.0/lib/active_job/logging.rb +121 -0
- data/vendor/bundle/gems/activejob-5.0.0/lib/active_job/queue_adapter.rb +63 -0
- data/vendor/bundle/gems/activejob-5.0.0/lib/active_job/queue_adapters.rb +137 -0
- data/vendor/bundle/gems/activejob-5.0.0/lib/active_job/queue_adapters/async_adapter.rb +114 -0
- data/vendor/bundle/gems/activejob-5.0.0/lib/active_job/queue_adapters/backburner_adapter.rb +34 -0
- data/vendor/bundle/gems/activejob-5.0.0/lib/active_job/queue_adapters/delayed_job_adapter.rb +41 -0
- data/vendor/bundle/gems/activejob-5.0.0/lib/active_job/queue_adapters/inline_adapter.rb +21 -0
- data/vendor/bundle/gems/activejob-5.0.0/lib/active_job/queue_adapters/qu_adapter.rb +44 -0
- data/vendor/bundle/gems/activejob-5.0.0/lib/active_job/queue_adapters/que_adapter.rb +37 -0
- data/vendor/bundle/gems/activejob-5.0.0/lib/active_job/queue_adapters/queue_classic_adapter.rb +56 -0
- data/vendor/bundle/gems/activejob-5.0.0/lib/active_job/queue_adapters/resque_adapter.rb +50 -0
- data/vendor/bundle/gems/activejob-5.0.0/lib/active_job/queue_adapters/sidekiq_adapter.rb +45 -0
- data/vendor/bundle/gems/activejob-5.0.0/lib/active_job/queue_adapters/sneakers_adapter.rb +46 -0
- data/vendor/bundle/gems/activejob-5.0.0/lib/active_job/queue_adapters/sucker_punch_adapter.rb +47 -0
- data/vendor/bundle/gems/activejob-5.0.0/lib/active_job/queue_adapters/test_adapter.rb +60 -0
- data/vendor/bundle/gems/activejob-5.0.0/lib/active_job/queue_name.rb +51 -0
- data/vendor/bundle/gems/activejob-5.0.0/lib/active_job/queue_priority.rb +44 -0
- data/vendor/bundle/gems/activejob-5.0.0/lib/active_job/railtie.rb +32 -0
- data/vendor/bundle/gems/activejob-5.0.0/lib/active_job/test_case.rb +7 -0
- data/vendor/bundle/gems/activejob-5.0.0/lib/active_job/test_helper.rb +324 -0
- data/vendor/bundle/gems/activejob-5.0.0/lib/active_job/translation.rb +11 -0
- data/vendor/bundle/gems/activejob-5.0.0/lib/active_job/version.rb +8 -0
- data/vendor/bundle/gems/activejob-5.0.0/lib/rails/generators/job/job_generator.rb +38 -0
- data/vendor/bundle/gems/activejob-5.0.0/lib/rails/generators/job/templates/application_job.rb +4 -0
- data/vendor/bundle/gems/activejob-5.0.0/lib/rails/generators/job/templates/job.rb +9 -0
- data/vendor/bundle/gems/activemodel-5.0.0/CHANGELOG.md +144 -0
- data/vendor/bundle/gems/activemodel-5.0.0/MIT-LICENSE +21 -0
- data/vendor/bundle/gems/activemodel-5.0.0/README.rdoc +264 -0
- data/vendor/bundle/gems/activemodel-5.0.0/lib/active_model.rb +73 -0
- data/vendor/bundle/gems/activemodel-5.0.0/lib/active_model/attribute_assignment.rb +52 -0
- data/vendor/bundle/gems/activemodel-5.0.0/lib/active_model/attribute_methods.rb +478 -0
- data/vendor/bundle/gems/activemodel-5.0.0/lib/active_model/callbacks.rb +149 -0
- data/vendor/bundle/gems/activemodel-5.0.0/lib/active_model/conversion.rb +100 -0
- data/vendor/bundle/gems/activemodel-5.0.0/lib/active_model/dirty.rb +272 -0
- data/vendor/bundle/gems/activemodel-5.0.0/lib/active_model/errors.rb +575 -0
- data/vendor/bundle/gems/activemodel-5.0.0/lib/active_model/forbidden_attributes_protection.rb +29 -0
- data/vendor/bundle/gems/activemodel-5.0.0/lib/active_model/gem_version.rb +15 -0
- data/vendor/bundle/gems/activemodel-5.0.0/lib/active_model/lint.rb +117 -0
- data/vendor/bundle/gems/activemodel-5.0.0/lib/active_model/locale/en.yml +36 -0
- data/vendor/bundle/gems/activemodel-5.0.0/lib/active_model/model.rb +98 -0
- data/vendor/bundle/gems/activemodel-5.0.0/lib/active_model/naming.rb +317 -0
- data/vendor/bundle/gems/activemodel-5.0.0/lib/active_model/railtie.rb +12 -0
- data/vendor/bundle/gems/activemodel-5.0.0/lib/active_model/secure_password.rb +127 -0
- data/vendor/bundle/gems/activemodel-5.0.0/lib/active_model/serialization.rb +190 -0
- data/vendor/bundle/gems/activemodel-5.0.0/lib/active_model/serializers/json.rb +145 -0
- data/vendor/bundle/gems/activemodel-5.0.0/lib/active_model/test_case.rb +4 -0
- data/vendor/bundle/gems/activemodel-5.0.0/lib/active_model/translation.rb +69 -0
- data/vendor/bundle/gems/activemodel-5.0.0/lib/active_model/type.rb +59 -0
- data/vendor/bundle/gems/activemodel-5.0.0/lib/active_model/type/big_integer.rb +13 -0
- data/vendor/bundle/gems/activemodel-5.0.0/lib/active_model/type/binary.rb +50 -0
- data/vendor/bundle/gems/activemodel-5.0.0/lib/active_model/type/boolean.rb +21 -0
- data/vendor/bundle/gems/activemodel-5.0.0/lib/active_model/type/date.rb +50 -0
- data/vendor/bundle/gems/activemodel-5.0.0/lib/active_model/type/date_time.rb +44 -0
- data/vendor/bundle/gems/activemodel-5.0.0/lib/active_model/type/decimal.rb +60 -0
- data/vendor/bundle/gems/activemodel-5.0.0/lib/active_model/type/decimal_without_scale.rb +11 -0
- data/vendor/bundle/gems/activemodel-5.0.0/lib/active_model/type/float.rb +25 -0
- data/vendor/bundle/gems/activemodel-5.0.0/lib/active_model/type/helpers.rb +4 -0
- data/vendor/bundle/gems/activemodel-5.0.0/lib/active_model/type/helpers/accepts_multiparameter_time.rb +35 -0
- data/vendor/bundle/gems/activemodel-5.0.0/lib/active_model/type/helpers/mutable.rb +18 -0
- data/vendor/bundle/gems/activemodel-5.0.0/lib/active_model/type/helpers/numeric.rb +34 -0
- data/vendor/bundle/gems/activemodel-5.0.0/lib/active_model/type/helpers/time_value.rb +77 -0
- data/vendor/bundle/gems/activemodel-5.0.0/lib/active_model/type/immutable_string.rb +29 -0
- data/vendor/bundle/gems/activemodel-5.0.0/lib/active_model/type/integer.rb +66 -0
- data/vendor/bundle/gems/activemodel-5.0.0/lib/active_model/type/registry.rb +64 -0
- data/vendor/bundle/gems/activemodel-5.0.0/lib/active_model/type/string.rb +19 -0
- data/vendor/bundle/gems/activemodel-5.0.0/lib/active_model/type/text.rb +11 -0
- data/vendor/bundle/gems/activemodel-5.0.0/lib/active_model/type/time.rb +46 -0
- data/vendor/bundle/gems/activemodel-5.0.0/lib/active_model/type/unsigned_integer.rb +15 -0
- data/vendor/bundle/gems/activemodel-5.0.0/lib/active_model/type/value.rb +116 -0
- data/vendor/bundle/gems/activemodel-5.0.0/lib/active_model/validations.rb +438 -0
- data/vendor/bundle/gems/activemodel-5.0.0/lib/active_model/validations/absence.rb +31 -0
- data/vendor/bundle/gems/activemodel-5.0.0/lib/active_model/validations/acceptance.rb +103 -0
- data/vendor/bundle/gems/activemodel-5.0.0/lib/active_model/validations/callbacks.rb +117 -0
- data/vendor/bundle/gems/activemodel-5.0.0/lib/active_model/validations/clusivity.rb +52 -0
- data/vendor/bundle/gems/activemodel-5.0.0/lib/active_model/validations/confirmation.rb +79 -0
- data/vendor/bundle/gems/activemodel-5.0.0/lib/active_model/validations/exclusion.rb +48 -0
- data/vendor/bundle/gems/activemodel-5.0.0/lib/active_model/validations/format.rb +113 -0
- data/vendor/bundle/gems/activemodel-5.0.0/lib/active_model/validations/helper_methods.rb +13 -0
- data/vendor/bundle/gems/activemodel-5.0.0/lib/active_model/validations/inclusion.rb +46 -0
- data/vendor/bundle/gems/activemodel-5.0.0/lib/active_model/validations/length.rb +157 -0
- data/vendor/bundle/gems/activemodel-5.0.0/lib/active_model/validations/numericality.rb +165 -0
- data/vendor/bundle/gems/activemodel-5.0.0/lib/active_model/validations/presence.rb +39 -0
- data/vendor/bundle/gems/activemodel-5.0.0/lib/active_model/validations/validates.rb +173 -0
- data/vendor/bundle/gems/activemodel-5.0.0/lib/active_model/validations/with.rb +143 -0
- data/vendor/bundle/gems/activemodel-5.0.0/lib/active_model/validator.rb +182 -0
- data/vendor/bundle/gems/activemodel-5.0.0/lib/active_model/version.rb +8 -0
- data/vendor/bundle/gems/activerecord-5.0.0/CHANGELOG.md +2120 -0
- data/vendor/bundle/gems/activerecord-5.0.0/MIT-LICENSE +20 -0
- data/vendor/bundle/gems/activerecord-5.0.0/README.rdoc +217 -0
- data/vendor/bundle/gems/activerecord-5.0.0/examples/performance.rb +183 -0
- data/vendor/bundle/gems/activerecord-5.0.0/examples/simple.rb +13 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record.rb +180 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/aggregations.rb +280 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/association_relation.rb +35 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/associations.rb +1833 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/associations/alias_tracker.rb +90 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/associations/association.rb +267 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/associations/association_scope.rb +166 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/associations/belongs_to_association.rb +108 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/associations/belongs_to_polymorphic_association.rb +40 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/associations/builder/association.rb +143 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/associations/builder/belongs_to.rb +141 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/associations/builder/collection_association.rb +83 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/associations/builder/has_and_belongs_to_many.rb +131 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/associations/builder/has_many.rb +15 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/associations/builder/has_one.rb +28 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/associations/builder/singular_association.rb +31 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/associations/collection_association.rb +662 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/associations/collection_proxy.rb +1073 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/associations/foreign_association.rb +11 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/associations/has_many_association.rb +148 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/associations/has_many_through_association.rb +208 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/associations/has_one_association.rb +113 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/associations/has_one_through_association.rb +36 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/associations/join_dependency.rb +298 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/associations/join_dependency/join_association.rb +134 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/associations/join_dependency/join_base.rb +22 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/associations/join_dependency/join_part.rb +71 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/associations/preloader.rb +213 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/associations/preloader/association.rb +160 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/associations/preloader/belongs_to.rb +17 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/associations/preloader/collection_association.rb +18 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/associations/preloader/has_many.rb +17 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/associations/preloader/has_many_through.rb +19 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/associations/preloader/has_one.rb +15 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/associations/preloader/has_one_through.rb +9 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/associations/preloader/singular_association.rb +21 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/associations/preloader/through_association.rb +109 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/associations/singular_association.rb +86 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/associations/through_association.rb +109 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/attribute.rb +213 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/attribute/user_provided_default.rb +28 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/attribute_assignment.rb +91 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/attribute_decorators.rb +67 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/attribute_methods.rb +464 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/attribute_methods/before_type_cast.rb +76 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/attribute_methods/dirty.rb +151 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/attribute_methods/primary_key.rb +128 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/attribute_methods/query.rb +40 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/attribute_methods/read.rb +75 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/attribute_methods/serialization.rb +67 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/attribute_methods/time_zone_conversion.rb +116 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/attribute_methods/write.rb +59 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/attribute_mutation_tracker.rb +70 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/attribute_set.rb +108 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/attribute_set/builder.rb +108 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/attributes.rb +265 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/autosave_association.rb +487 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/base.rb +325 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/callbacks.rb +309 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/coders/json.rb +13 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/coders/yaml_column.rb +50 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/collection_cache_key.rb +40 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/connection_adapters/abstract/connection_pool.rb +935 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/connection_adapters/abstract/database_limits.rb +67 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/connection_adapters/abstract/database_statements.rb +397 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/connection_adapters/abstract/query_cache.rb +95 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/connection_adapters/abstract/quoting.rb +198 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/connection_adapters/abstract/savepoints.rb +21 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/connection_adapters/abstract/schema_creation.rb +147 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/connection_adapters/abstract/schema_definitions.rb +635 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/connection_adapters/abstract/schema_dumper.rb +105 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/connection_adapters/abstract/schema_statements.rb +1293 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/connection_adapters/abstract/transaction.rb +232 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/connection_adapters/abstract_adapter.rb +587 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/connection_adapters/abstract_mysql_adapter.rb +977 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/connection_adapters/column.rb +67 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/connection_adapters/connection_specification.rb +263 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/connection_adapters/determine_if_preparable_visitor.rb +22 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/connection_adapters/mysql/column.rb +50 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/connection_adapters/mysql/database_statements.rb +125 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/connection_adapters/mysql/explain_pretty_printer.rb +70 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/connection_adapters/mysql/quoting.rb +51 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/connection_adapters/mysql/schema_creation.rb +67 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/connection_adapters/mysql/schema_definitions.rb +93 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/connection_adapters/mysql/schema_dumper.rb +54 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/connection_adapters/mysql/type_metadata.rb +32 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/connection_adapters/mysql2_adapter.rb +131 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/connection_adapters/postgresql/column.rb +15 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/connection_adapters/postgresql/database_statements.rb +170 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/connection_adapters/postgresql/explain_pretty_printer.rb +42 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/connection_adapters/postgresql/oid.rb +31 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/connection_adapters/postgresql/oid/array.rb +70 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/connection_adapters/postgresql/oid/bit.rb +52 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/connection_adapters/postgresql/oid/bit_varying.rb +13 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/connection_adapters/postgresql/oid/bytea.rb +15 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/connection_adapters/postgresql/oid/cidr.rb +48 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/connection_adapters/postgresql/oid/date_time.rb +21 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/connection_adapters/postgresql/oid/decimal.rb +13 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/connection_adapters/postgresql/oid/enum.rb +19 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/connection_adapters/postgresql/oid/hstore.rb +59 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/connection_adapters/postgresql/oid/inet.rb +13 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/connection_adapters/postgresql/oid/json.rb +10 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/connection_adapters/postgresql/oid/jsonb.rb +23 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/connection_adapters/postgresql/oid/money.rb +39 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/connection_adapters/postgresql/oid/point.rb +43 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/connection_adapters/postgresql/oid/rails_5_1_point.rb +50 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/connection_adapters/postgresql/oid/range.rb +93 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/connection_adapters/postgresql/oid/specialized_string.rb +15 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/connection_adapters/postgresql/oid/type_map_initializer.rb +109 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/connection_adapters/postgresql/oid/uuid.rb +21 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/connection_adapters/postgresql/oid/vector.rb +26 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/connection_adapters/postgresql/oid/xml.rb +28 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/connection_adapters/postgresql/quoting.rb +116 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/connection_adapters/postgresql/referential_integrity.rb +49 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/connection_adapters/postgresql/schema_definitions.rb +180 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/connection_adapters/postgresql/schema_dumper.rb +47 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/connection_adapters/postgresql/schema_statements.rb +682 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/connection_adapters/postgresql/type_metadata.rb +35 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/connection_adapters/postgresql/utils.rb +77 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/connection_adapters/postgresql_adapter.rb +842 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/connection_adapters/schema_cache.rb +107 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/connection_adapters/sql_type_metadata.rb +32 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/connection_adapters/sqlite3/explain_pretty_printer.rb +19 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/connection_adapters/sqlite3/quoting.rb +48 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/connection_adapters/sqlite3/schema_creation.rb +22 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/connection_adapters/sqlite3_adapter.rb +569 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/connection_adapters/statement_pool.rb +59 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/connection_handling.rb +155 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/core.rb +561 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/counter_cache.rb +164 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/dynamic_matchers.rb +121 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/enum.rb +234 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/errors.rb +292 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/explain.rb +38 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/explain_registry.rb +30 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/explain_subscriber.rb +29 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/fixture_set/file.rb +77 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/fixtures.rb +1045 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/gem_version.rb +15 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/inheritance.rb +239 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/integration.rb +113 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/internal_metadata.rb +56 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/legacy_yaml_adapter.rb +46 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/locale/en.yml +48 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/locking/optimistic.rb +206 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/locking/pessimistic.rb +77 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/log_subscriber.rb +97 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/migration.rb +1309 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/migration/command_recorder.rb +238 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/migration/compatibility.rb +126 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/migration/join_table.rb +15 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/model_schema.rb +430 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/nested_attributes.rb +587 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/no_touching.rb +52 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/null_relation.rb +89 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/persistence.rb +576 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/query_cache.rb +53 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/querying.rb +69 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/railtie.rb +171 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/railties/console_sandbox.rb +5 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/railties/controller_runtime.rb +50 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/railties/databases.rake +407 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/railties/jdbcmysql_error.rb +16 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/readonly_attributes.rb +23 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/reflection.rb +1060 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/relation.rb +742 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/relation/batches.rb +243 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/relation/batches/batch_enumerator.rb +67 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/relation/calculations.rb +381 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/relation/delegation.rb +127 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/relation/finder_methods.rb +598 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/relation/from_clause.rb +32 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/relation/merger.rb +167 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/relation/predicate_builder.rb +168 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/relation/predicate_builder/array_handler.rb +43 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/relation/predicate_builder/association_query_handler.rb +88 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/relation/predicate_builder/base_handler.rb +17 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/relation/predicate_builder/basic_object_handler.rb +17 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/relation/predicate_builder/class_handler.rb +27 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/relation/predicate_builder/polymorphic_array_handler.rb +57 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/relation/predicate_builder/range_handler.rb +33 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/relation/predicate_builder/relation_handler.rb +13 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/relation/query_attribute.rb +19 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/relation/query_methods.rb +1242 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/relation/record_fetch_warning.rb +49 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/relation/spawn_methods.rb +76 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/relation/where_clause.rb +174 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/relation/where_clause_factory.rb +38 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/result.rb +132 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/runtime_registry.rb +22 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/sanitization.rb +220 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/schema.rb +68 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/schema_dumper.rb +275 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/schema_migration.rb +50 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/scoping.rb +104 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/scoping/default.rb +149 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/scoping/named.rb +185 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/secure_token.rb +38 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/serialization.rb +20 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/statement_cache.rb +113 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/store.rb +210 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/suppressor.rb +58 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/table_metadata.rb +68 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/tasks/database_tasks.rb +313 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/tasks/mysql_database_tasks.rb +151 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/tasks/postgresql_database_tasks.rb +110 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/tasks/sqlite_database_tasks.rb +59 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/timestamp.rb +132 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/touch_later.rb +58 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/transactions.rb +509 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/translation.rb +22 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/type.rb +72 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/type/adapter_specific_registry.rb +130 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/type/date.rb +7 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/type/date_time.rb +7 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/type/hash_lookup_type_map.rb +23 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/type/internal/abstract_json.rb +29 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/type/internal/timezone.rb +15 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/type/serialized.rb +63 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/type/time.rb +20 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/type/type_map.rb +64 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/type_caster.rb +7 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/type_caster/connection.rb +29 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/type_caster/map.rb +19 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/validations.rb +91 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/validations/absence.rb +23 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/validations/associated.rb +58 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/validations/length.rb +24 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/validations/presence.rb +66 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/validations/uniqueness.rb +240 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/active_record/version.rb +8 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/rails/generators/active_record.rb +17 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/rails/generators/active_record/migration.rb +25 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/rails/generators/active_record/migration/migration_generator.rb +73 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/rails/generators/active_record/migration/templates/create_table_migration.rb +24 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/rails/generators/active_record/migration/templates/migration.rb +46 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/rails/generators/active_record/model/model_generator.rb +69 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/rails/generators/active_record/model/templates/application_record.rb +5 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/rails/generators/active_record/model/templates/model.rb +13 -0
- data/vendor/bundle/gems/activerecord-5.0.0/lib/rails/generators/active_record/model/templates/module.rb +7 -0
- data/vendor/bundle/gems/activesupport-5.0.0/CHANGELOG.md +798 -0
- data/vendor/bundle/gems/activesupport-5.0.0/MIT-LICENSE +20 -0
- data/vendor/bundle/gems/activesupport-5.0.0/README.rdoc +39 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support.rb +99 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/all.rb +3 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/array_inquirer.rb +44 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/backtrace_cleaner.rb +103 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/benchmarkable.rb +49 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/builder.rb +6 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/cache.rb +701 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/cache/file_store.rb +204 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/cache/mem_cache_store.rb +207 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/cache/memory_store.rb +167 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/cache/null_store.rb +41 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/cache/strategy/local_cache.rb +172 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/cache/strategy/local_cache_middleware.rb +44 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/callbacks.rb +791 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/concern.rb +142 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/concurrency/latch.rb +19 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/concurrency/share_lock.rb +186 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/configurable.rb +148 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/core_ext.rb +4 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/core_ext/array.rb +7 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/core_ext/array/access.rb +90 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/core_ext/array/conversions.rb +211 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/core_ext/array/extract_options.rb +29 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/core_ext/array/grouping.rb +107 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/core_ext/array/inquiry.rb +17 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/core_ext/array/prepend_and_append.rb +7 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/core_ext/array/wrap.rb +46 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/core_ext/benchmark.rb +14 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/core_ext/big_decimal.rb +1 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/core_ext/big_decimal/conversions.rb +14 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/core_ext/class.rb +2 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/core_ext/class/attribute.rb +128 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/core_ext/class/attribute_accessors.rb +4 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/core_ext/class/subclasses.rb +41 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/core_ext/date.rb +5 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/core_ext/date/acts_like.rb +8 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/core_ext/date/blank.rb +12 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/core_ext/date/calculations.rb +143 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/core_ext/date/conversions.rb +95 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/core_ext/date/zones.rb +6 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/core_ext/date_and_time/calculations.rb +335 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/core_ext/date_and_time/compatibility.rb +18 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/core_ext/date_and_time/zones.rb +40 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/core_ext/date_time.rb +5 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/core_ext/date_time/acts_like.rb +14 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/core_ext/date_time/blank.rb +12 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/core_ext/date_time/calculations.rb +199 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/core_ext/date_time/compatibility.rb +5 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/core_ext/date_time/conversions.rb +105 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/core_ext/digest/uuid.rb +51 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/core_ext/enumerable.rb +124 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/core_ext/file.rb +1 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/core_ext/file/atomic.rb +68 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/core_ext/hash.rb +9 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/core_ext/hash/compact.rb +20 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/core_ext/hash/conversions.rb +262 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/core_ext/hash/deep_merge.rb +38 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/core_ext/hash/except.rb +22 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/core_ext/hash/indifferent_access.rb +23 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/core_ext/hash/keys.rb +170 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/core_ext/hash/reverse_merge.rb +22 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/core_ext/hash/slice.rb +48 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/core_ext/hash/transform_values.rb +29 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/core_ext/integer.rb +3 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/core_ext/integer/inflections.rb +29 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/core_ext/integer/multiple.rb +10 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/core_ext/integer/time.rb +29 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/core_ext/kernel.rb +4 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/core_ext/kernel/agnostics.rb +11 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/core_ext/kernel/concern.rb +12 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/core_ext/kernel/debugger.rb +3 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/core_ext/kernel/reporting.rb +43 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/core_ext/kernel/singleton_class.rb +6 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/core_ext/load_error.rb +30 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/core_ext/marshal.rb +22 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/core_ext/module.rb +12 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/core_ext/module/aliasing.rb +74 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/core_ext/module/anonymous.rb +28 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/core_ext/module/attr_internal.rb +36 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/core_ext/module/attribute_accessors.rb +212 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/core_ext/module/attribute_accessors_per_thread.rb +141 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/core_ext/module/concerning.rb +135 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/core_ext/module/delegation.rb +215 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/core_ext/module/deprecation.rb +23 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/core_ext/module/introspection.rb +66 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/core_ext/module/method_transplanting.rb +3 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/core_ext/module/qualified_const.rb +70 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/core_ext/module/reachable.rb +8 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/core_ext/module/remove_method.rb +35 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/core_ext/name_error.rb +31 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/core_ext/numeric.rb +4 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/core_ext/numeric/bytes.rb +64 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/core_ext/numeric/conversions.rb +145 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/core_ext/numeric/inquiry.rb +26 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/core_ext/numeric/time.rb +74 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/core_ext/object.rb +14 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/core_ext/object/acts_like.rb +10 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/core_ext/object/blank.rb +143 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/core_ext/object/conversions.rb +4 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/core_ext/object/deep_dup.rb +53 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/core_ext/object/duplicable.rb +98 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/core_ext/object/inclusion.rb +27 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/core_ext/object/instance_variables.rb +28 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/core_ext/object/json.rb +205 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/core_ext/object/to_param.rb +1 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/core_ext/object/to_query.rb +84 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/core_ext/object/try.rb +146 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/core_ext/object/with_options.rb +69 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/core_ext/range.rb +4 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/core_ext/range/conversions.rb +31 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/core_ext/range/each.rb +21 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/core_ext/range/include_range.rb +23 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/core_ext/range/overlaps.rb +8 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/core_ext/regexp.rb +5 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/core_ext/securerandom.rb +23 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/core_ext/string.rb +13 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/core_ext/string/access.rb +104 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/core_ext/string/behavior.rb +6 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/core_ext/string/conversions.rb +57 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/core_ext/string/exclude.rb +11 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/core_ext/string/filters.rb +102 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/core_ext/string/indent.rb +43 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/core_ext/string/inflections.rb +244 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/core_ext/string/inquiry.rb +13 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/core_ext/string/multibyte.rb +53 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/core_ext/string/output_safety.rb +260 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/core_ext/string/starts_ends_with.rb +4 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/core_ext/string/strip.rb +23 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/core_ext/string/zones.rb +14 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/core_ext/struct.rb +3 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/core_ext/time.rb +5 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/core_ext/time/acts_like.rb +8 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/core_ext/time/calculations.rb +290 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/core_ext/time/compatibility.rb +5 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/core_ext/time/conversions.rb +67 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/core_ext/time/marshal.rb +3 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/core_ext/time/zones.rb +111 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/core_ext/uri.rb +24 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/dependencies.rb +754 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/dependencies/autoload.rb +77 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/dependencies/interlock.rb +51 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/deprecation.rb +43 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/deprecation/behaviors.rb +90 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/deprecation/instance_delegator.rb +24 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/deprecation/method_wrappers.rb +70 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/deprecation/proxy_wrappers.rb +149 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/deprecation/reporting.rb +112 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/descendants_tracker.rb +60 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/duration.rb +181 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/duration/iso8601_parser.rb +122 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/duration/iso8601_serializer.rb +51 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/evented_file_update_checker.rb +194 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/execution_wrapper.rb +117 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/executor.rb +6 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/file_update_checker.rb +157 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/gem_version.rb +15 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/gzip.rb +36 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/hash_with_indifferent_access.rb +314 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/i18n.rb +13 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/i18n_railtie.rb +115 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/inflections.rb +70 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/inflector.rb +7 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/inflector/inflections.rb +242 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/inflector/methods.rb +390 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/inflector/transliterate.rb +112 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/json.rb +2 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/json/decoding.rb +74 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/json/encoding.rb +127 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/key_generator.rb +71 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/lazy_load_hooks.rb +48 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/locale/en.yml +135 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/log_subscriber.rb +109 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/log_subscriber/test_helper.rb +104 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/logger.rb +106 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/logger_silence.rb +28 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/logger_thread_safe_level.rb +31 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/message_encryptor.rb +107 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/message_verifier.rb +134 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/multibyte.rb +21 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/multibyte/chars.rb +231 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/multibyte/unicode.rb +413 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/notifications.rb +212 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/notifications/fanout.rb +157 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/notifications/instrumenter.rb +91 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/number_helper.rb +368 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/number_helper/number_converter.rb +182 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/number_helper/number_to_currency_converter.rb +44 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/number_helper/number_to_delimited_converter.rb +28 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/number_helper/number_to_human_converter.rb +68 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/number_helper/number_to_human_size_converter.rb +62 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/number_helper/number_to_percentage_converter.rb +12 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/number_helper/number_to_phone_converter.rb +58 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/number_helper/number_to_rounded_converter.rb +92 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/option_merger.rb +25 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/ordered_hash.rb +48 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/ordered_options.rb +81 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/per_thread_registry.rb +58 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/proxy_object.rb +13 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/rails.rb +27 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/railtie.rb +51 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/reloader.rb +129 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/rescuable.rb +165 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/security_utils.rb +27 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/string_inquirer.rb +26 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/subscriber.rb +120 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/tagged_logging.rb +78 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/test_case.rb +86 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/testing/assertions.rb +99 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/testing/autorun.rb +12 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/testing/constant_lookup.rb +50 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/testing/declarative.rb +26 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/testing/deprecation.rb +36 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/testing/file_fixtures.rb +34 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/testing/isolation.rb +115 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/testing/method_call_assertions.rb +41 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/testing/setup_and_teardown.rb +50 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/testing/stream.rb +42 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/testing/tagged_logging.rb +25 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/testing/time_helpers.rb +134 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/time.rb +18 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/time_with_zone.rb +498 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/values/time_zone.rb +473 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/values/unicode_tables.dat +0 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/version.rb +8 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/xml_mini.rb +199 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/xml_mini/jdom.rb +181 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/xml_mini/libxml.rb +79 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/xml_mini/libxmlsax.rb +85 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/xml_mini/nokogiri.rb +83 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/xml_mini/nokogirisax.rb +87 -0
- data/vendor/bundle/gems/activesupport-5.0.0/lib/active_support/xml_mini/rexml.rb +128 -0
- data/vendor/bundle/gems/activesupport-5.0.1/CHANGELOG.md +905 -0
- data/vendor/bundle/gems/activesupport-5.0.1/MIT-LICENSE +20 -0
- data/vendor/bundle/gems/activesupport-5.0.1/README.rdoc +39 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support.rb +99 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/all.rb +3 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/array_inquirer.rb +44 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/backtrace_cleaner.rb +103 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/benchmarkable.rb +49 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/builder.rb +6 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/cache.rb +701 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/cache/file_store.rb +204 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/cache/mem_cache_store.rb +207 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/cache/memory_store.rb +167 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/cache/null_store.rb +41 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/cache/strategy/local_cache.rb +172 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/cache/strategy/local_cache_middleware.rb +44 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/callbacks.rb +791 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/concern.rb +142 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/concurrency/latch.rb +26 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/concurrency/share_lock.rb +226 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/configurable.rb +148 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/core_ext.rb +4 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/core_ext/array.rb +7 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/core_ext/array/access.rb +90 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/core_ext/array/conversions.rb +211 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/core_ext/array/extract_options.rb +29 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/core_ext/array/grouping.rb +107 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/core_ext/array/inquiry.rb +17 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/core_ext/array/prepend_and_append.rb +7 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/core_ext/array/wrap.rb +46 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/core_ext/benchmark.rb +14 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/core_ext/big_decimal.rb +1 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/core_ext/big_decimal/conversions.rb +14 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/core_ext/class.rb +2 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/core_ext/class/attribute.rb +128 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/core_ext/class/attribute_accessors.rb +4 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/core_ext/class/subclasses.rb +41 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/core_ext/date.rb +5 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/core_ext/date/acts_like.rb +8 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/core_ext/date/blank.rb +12 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/core_ext/date/calculations.rb +143 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/core_ext/date/conversions.rb +95 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/core_ext/date/zones.rb +6 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/core_ext/date_and_time/calculations.rb +335 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/core_ext/date_and_time/compatibility.rb +22 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/core_ext/date_and_time/zones.rb +40 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/core_ext/date_time.rb +5 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/core_ext/date_time/acts_like.rb +14 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/core_ext/date_time/blank.rb +12 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/core_ext/date_time/calculations.rb +199 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/core_ext/date_time/compatibility.rb +5 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/core_ext/date_time/conversions.rb +105 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/core_ext/digest/uuid.rb +51 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/core_ext/enumerable.rb +124 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/core_ext/file.rb +1 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/core_ext/file/atomic.rb +68 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/core_ext/hash.rb +9 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/core_ext/hash/compact.rb +20 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/core_ext/hash/conversions.rb +262 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/core_ext/hash/deep_merge.rb +38 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/core_ext/hash/except.rb +22 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/core_ext/hash/indifferent_access.rb +23 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/core_ext/hash/keys.rb +170 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/core_ext/hash/reverse_merge.rb +22 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/core_ext/hash/slice.rb +48 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/core_ext/hash/transform_values.rb +29 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/core_ext/integer.rb +3 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/core_ext/integer/inflections.rb +29 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/core_ext/integer/multiple.rb +10 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/core_ext/integer/time.rb +29 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/core_ext/kernel.rb +4 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/core_ext/kernel/agnostics.rb +11 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/core_ext/kernel/concern.rb +12 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/core_ext/kernel/debugger.rb +3 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/core_ext/kernel/reporting.rb +43 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/core_ext/kernel/singleton_class.rb +6 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/core_ext/load_error.rb +31 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/core_ext/marshal.rb +22 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/core_ext/module.rb +12 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/core_ext/module/aliasing.rb +74 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/core_ext/module/anonymous.rb +28 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/core_ext/module/attr_internal.rb +36 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/core_ext/module/attribute_accessors.rb +212 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/core_ext/module/attribute_accessors_per_thread.rb +141 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/core_ext/module/concerning.rb +135 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/core_ext/module/delegation.rb +216 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/core_ext/module/deprecation.rb +23 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/core_ext/module/introspection.rb +66 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/core_ext/module/method_transplanting.rb +3 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/core_ext/module/qualified_const.rb +70 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/core_ext/module/reachable.rb +8 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/core_ext/module/remove_method.rb +35 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/core_ext/name_error.rb +31 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/core_ext/numeric.rb +4 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/core_ext/numeric/bytes.rb +64 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/core_ext/numeric/conversions.rb +145 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/core_ext/numeric/inquiry.rb +26 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/core_ext/numeric/time.rb +74 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/core_ext/object.rb +14 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/core_ext/object/acts_like.rb +10 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/core_ext/object/blank.rb +143 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/core_ext/object/conversions.rb +4 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/core_ext/object/deep_dup.rb +53 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/core_ext/object/duplicable.rb +98 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/core_ext/object/inclusion.rb +27 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/core_ext/object/instance_variables.rb +28 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/core_ext/object/json.rb +205 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/core_ext/object/to_param.rb +1 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/core_ext/object/to_query.rb +84 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/core_ext/object/try.rb +146 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/core_ext/object/with_options.rb +69 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/core_ext/range.rb +4 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/core_ext/range/conversions.rb +31 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/core_ext/range/each.rb +21 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/core_ext/range/include_range.rb +23 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/core_ext/range/overlaps.rb +8 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/core_ext/regexp.rb +5 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/core_ext/securerandom.rb +23 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/core_ext/string.rb +13 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/core_ext/string/access.rb +104 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/core_ext/string/behavior.rb +6 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/core_ext/string/conversions.rb +57 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/core_ext/string/exclude.rb +11 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/core_ext/string/filters.rb +102 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/core_ext/string/indent.rb +43 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/core_ext/string/inflections.rb +244 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/core_ext/string/inquiry.rb +13 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/core_ext/string/multibyte.rb +53 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/core_ext/string/output_safety.rb +260 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/core_ext/string/starts_ends_with.rb +4 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/core_ext/string/strip.rb +23 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/core_ext/string/zones.rb +14 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/core_ext/struct.rb +3 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/core_ext/time.rb +5 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/core_ext/time/acts_like.rb +8 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/core_ext/time/calculations.rb +290 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/core_ext/time/compatibility.rb +5 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/core_ext/time/conversions.rb +67 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/core_ext/time/marshal.rb +3 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/core_ext/time/zones.rb +111 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/core_ext/uri.rb +24 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/dependencies.rb +754 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/dependencies/autoload.rb +77 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/dependencies/interlock.rb +55 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/deprecation.rb +43 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/deprecation/behaviors.rb +90 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/deprecation/instance_delegator.rb +37 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/deprecation/method_wrappers.rb +70 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/deprecation/proxy_wrappers.rb +149 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/deprecation/reporting.rb +112 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/descendants_tracker.rb +60 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/duration.rb +182 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/duration/iso8601_parser.rb +122 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/duration/iso8601_serializer.rb +51 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/evented_file_update_checker.rb +194 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/execution_wrapper.rb +126 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/executor.rb +6 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/file_update_checker.rb +157 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/gem_version.rb +15 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/gzip.rb +36 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/hash_with_indifferent_access.rb +320 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/i18n.rb +13 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/i18n_railtie.rb +115 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/inflections.rb +70 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/inflector.rb +7 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/inflector/inflections.rb +242 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/inflector/methods.rb +390 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/inflector/transliterate.rb +112 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/json.rb +2 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/json/decoding.rb +74 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/json/encoding.rb +127 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/key_generator.rb +71 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/lazy_load_hooks.rb +56 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/locale/en.yml +135 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/log_subscriber.rb +109 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/log_subscriber/test_helper.rb +104 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/logger.rb +106 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/logger_silence.rb +28 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/logger_thread_safe_level.rb +31 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/message_encryptor.rb +114 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/message_verifier.rb +134 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/multibyte.rb +21 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/multibyte/chars.rb +231 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/multibyte/unicode.rb +413 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/notifications.rb +212 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/notifications/fanout.rb +157 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/notifications/instrumenter.rb +91 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/number_helper.rb +368 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/number_helper/number_converter.rb +182 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/number_helper/number_to_currency_converter.rb +44 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/number_helper/number_to_delimited_converter.rb +28 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/number_helper/number_to_human_converter.rb +68 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/number_helper/number_to_human_size_converter.rb +62 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/number_helper/number_to_percentage_converter.rb +12 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/number_helper/number_to_phone_converter.rb +58 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/number_helper/number_to_rounded_converter.rb +92 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/option_merger.rb +25 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/ordered_hash.rb +48 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/ordered_options.rb +81 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/per_thread_registry.rb +58 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/proxy_object.rb +13 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/rails.rb +27 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/railtie.rb +51 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/reloader.rb +129 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/rescuable.rb +167 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/security_utils.rb +27 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/string_inquirer.rb +26 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/subscriber.rb +120 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/tagged_logging.rb +77 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/test_case.rb +88 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/testing/assertions.rb +99 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/testing/autorun.rb +9 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/testing/constant_lookup.rb +50 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/testing/declarative.rb +26 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/testing/deprecation.rb +36 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/testing/file_fixtures.rb +34 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/testing/isolation.rb +115 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/testing/method_call_assertions.rb +41 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/testing/setup_and_teardown.rb +50 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/testing/stream.rb +42 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/testing/tagged_logging.rb +25 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/testing/time_helpers.rb +134 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/time.rb +18 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/time_with_zone.rb +499 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/values/time_zone.rb +474 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/values/unicode_tables.dat +0 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/version.rb +8 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/xml_mini.rb +199 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/xml_mini/jdom.rb +181 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/xml_mini/libxml.rb +79 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/xml_mini/libxmlsax.rb +85 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/xml_mini/nokogiri.rb +83 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/xml_mini/nokogirisax.rb +87 -0
- data/vendor/bundle/gems/activesupport-5.0.1/lib/active_support/xml_mini/rexml.rb +128 -0
- data/vendor/bundle/gems/arel-7.1.0/History.txt +313 -0
- data/vendor/bundle/gems/arel-7.1.0/MIT-LICENSE.txt +21 -0
- data/vendor/bundle/gems/arel-7.1.0/README.md +284 -0
- data/vendor/bundle/gems/arel-7.1.0/lib/arel.rb +35 -0
- data/vendor/bundle/gems/arel-7.1.0/lib/arel/alias_predication.rb +7 -0
- data/vendor/bundle/gems/arel-7.1.0/lib/arel/attributes.rb +20 -0
- data/vendor/bundle/gems/arel-7.1.0/lib/arel/attributes/attribute.rb +35 -0
- data/vendor/bundle/gems/arel-7.1.0/lib/arel/collectors/bind.rb +36 -0
- data/vendor/bundle/gems/arel-7.1.0/lib/arel/collectors/plain_string.rb +18 -0
- data/vendor/bundle/gems/arel-7.1.0/lib/arel/collectors/sql_string.rb +24 -0
- data/vendor/bundle/gems/arel-7.1.0/lib/arel/compatibility/wheres.rb +33 -0
- data/vendor/bundle/gems/arel-7.1.0/lib/arel/crud.rb +41 -0
- data/vendor/bundle/gems/arel-7.1.0/lib/arel/delete_manager.rb +23 -0
- data/vendor/bundle/gems/arel-7.1.0/lib/arel/expressions.rb +28 -0
- data/vendor/bundle/gems/arel-7.1.0/lib/arel/factory_methods.rb +43 -0
- data/vendor/bundle/gems/arel-7.1.0/lib/arel/insert_manager.rb +42 -0
- data/vendor/bundle/gems/arel-7.1.0/lib/arel/math.rb +43 -0
- data/vendor/bundle/gems/arel-7.1.0/lib/arel/nodes.rb +63 -0
- data/vendor/bundle/gems/arel-7.1.0/lib/arel/nodes/and.rb +30 -0
- data/vendor/bundle/gems/arel-7.1.0/lib/arel/nodes/ascending.rb +23 -0
- data/vendor/bundle/gems/arel-7.1.0/lib/arel/nodes/binary.rb +50 -0
- data/vendor/bundle/gems/arel-7.1.0/lib/arel/nodes/bind_param.rb +9 -0
- data/vendor/bundle/gems/arel-7.1.0/lib/arel/nodes/case.rb +57 -0
- data/vendor/bundle/gems/arel-7.1.0/lib/arel/nodes/casted.rb +44 -0
- data/vendor/bundle/gems/arel-7.1.0/lib/arel/nodes/count.rb +10 -0
- data/vendor/bundle/gems/arel-7.1.0/lib/arel/nodes/delete_statement.rb +21 -0
- data/vendor/bundle/gems/arel-7.1.0/lib/arel/nodes/descending.rb +23 -0
- data/vendor/bundle/gems/arel-7.1.0/lib/arel/nodes/equality.rb +9 -0
- data/vendor/bundle/gems/arel-7.1.0/lib/arel/nodes/extract.rb +25 -0
- data/vendor/bundle/gems/arel-7.1.0/lib/arel/nodes/false.rb +13 -0
- data/vendor/bundle/gems/arel-7.1.0/lib/arel/nodes/full_outer_join.rb +6 -0
- data/vendor/bundle/gems/arel-7.1.0/lib/arel/nodes/function.rb +43 -0
- data/vendor/bundle/gems/arel-7.1.0/lib/arel/nodes/grouping.rb +7 -0
- data/vendor/bundle/gems/arel-7.1.0/lib/arel/nodes/in.rb +6 -0
- data/vendor/bundle/gems/arel-7.1.0/lib/arel/nodes/infix_operation.rb +79 -0
- data/vendor/bundle/gems/arel-7.1.0/lib/arel/nodes/inner_join.rb +6 -0
- data/vendor/bundle/gems/arel-7.1.0/lib/arel/nodes/insert_statement.rb +35 -0
- data/vendor/bundle/gems/arel-7.1.0/lib/arel/nodes/join_source.rb +18 -0
- data/vendor/bundle/gems/arel-7.1.0/lib/arel/nodes/matches.rb +16 -0
- data/vendor/bundle/gems/arel-7.1.0/lib/arel/nodes/named_function.rb +21 -0
- data/vendor/bundle/gems/arel-7.1.0/lib/arel/nodes/node.rb +60 -0
- data/vendor/bundle/gems/arel-7.1.0/lib/arel/nodes/outer_join.rb +6 -0
- data/vendor/bundle/gems/arel-7.1.0/lib/arel/nodes/over.rb +15 -0
- data/vendor/bundle/gems/arel-7.1.0/lib/arel/nodes/regexp.rb +14 -0
- data/vendor/bundle/gems/arel-7.1.0/lib/arel/nodes/right_outer_join.rb +6 -0
- data/vendor/bundle/gems/arel-7.1.0/lib/arel/nodes/select_core.rb +63 -0
- data/vendor/bundle/gems/arel-7.1.0/lib/arel/nodes/select_statement.rb +39 -0
- data/vendor/bundle/gems/arel-7.1.0/lib/arel/nodes/sql_literal.rb +14 -0
- data/vendor/bundle/gems/arel-7.1.0/lib/arel/nodes/string_join.rb +9 -0
- data/vendor/bundle/gems/arel-7.1.0/lib/arel/nodes/table_alias.rb +25 -0
- data/vendor/bundle/gems/arel-7.1.0/lib/arel/nodes/terminal.rb +13 -0
- data/vendor/bundle/gems/arel-7.1.0/lib/arel/nodes/true.rb +13 -0
- data/vendor/bundle/gems/arel-7.1.0/lib/arel/nodes/unary.rb +42 -0
- data/vendor/bundle/gems/arel-7.1.0/lib/arel/nodes/unary_operation.rb +25 -0
- data/vendor/bundle/gems/arel-7.1.0/lib/arel/nodes/unqualified_column.rb +20 -0
- data/vendor/bundle/gems/arel-7.1.0/lib/arel/nodes/update_statement.rb +38 -0
- data/vendor/bundle/gems/arel-7.1.0/lib/arel/nodes/values.rb +14 -0
- data/vendor/bundle/gems/arel-7.1.0/lib/arel/nodes/window.rb +123 -0
- data/vendor/bundle/gems/arel-7.1.0/lib/arel/nodes/with.rb +10 -0
- data/vendor/bundle/gems/arel-7.1.0/lib/arel/order_predications.rb +13 -0
- data/vendor/bundle/gems/arel-7.1.0/lib/arel/predications.rb +239 -0
- data/vendor/bundle/gems/arel-7.1.0/lib/arel/select_manager.rb +268 -0
- data/vendor/bundle/gems/arel-7.1.0/lib/arel/table.rb +125 -0
- data/vendor/bundle/gems/arel-7.1.0/lib/arel/tree_manager.rb +41 -0
- data/vendor/bundle/gems/arel-7.1.0/lib/arel/update_manager.rb +57 -0
- data/vendor/bundle/gems/arel-7.1.0/lib/arel/visitors.rb +18 -0
- data/vendor/bundle/gems/arel-7.1.0/lib/arel/visitors/bind_substitute.rb +9 -0
- data/vendor/bundle/gems/arel-7.1.0/lib/arel/visitors/bind_visitor.rb +39 -0
- data/vendor/bundle/gems/arel-7.1.0/lib/arel/visitors/depth_first.rb +198 -0
- data/vendor/bundle/gems/arel-7.1.0/lib/arel/visitors/dot.rb +284 -0
- data/vendor/bundle/gems/arel-7.1.0/lib/arel/visitors/ibm_db.rb +14 -0
- data/vendor/bundle/gems/arel-7.1.0/lib/arel/visitors/informix.rb +56 -0
- data/vendor/bundle/gems/arel-7.1.0/lib/arel/visitors/mssql.rb +123 -0
- data/vendor/bundle/gems/arel-7.1.0/lib/arel/visitors/mysql.rb +85 -0
- data/vendor/bundle/gems/arel-7.1.0/lib/arel/visitors/oracle.rb +141 -0
- data/vendor/bundle/gems/arel-7.1.0/lib/arel/visitors/oracle12.rb +59 -0
- data/vendor/bundle/gems/arel-7.1.0/lib/arel/visitors/postgresql.rb +84 -0
- data/vendor/bundle/gems/arel-7.1.0/lib/arel/visitors/reduce.rb +25 -0
- data/vendor/bundle/gems/arel-7.1.0/lib/arel/visitors/sqlite.rb +26 -0
- data/vendor/bundle/gems/arel-7.1.0/lib/arel/visitors/to_sql.rb +865 -0
- data/vendor/bundle/gems/arel-7.1.0/lib/arel/visitors/visitor.rb +41 -0
- data/vendor/bundle/gems/arel-7.1.0/lib/arel/visitors/where_sql.rb +21 -0
- data/vendor/bundle/gems/arel-7.1.0/lib/arel/window_predications.rb +9 -0
- data/vendor/bundle/gems/builder-3.2.2/CHANGES +107 -0
- data/vendor/bundle/gems/builder-3.2.2/MIT-LICENSE +20 -0
- data/vendor/bundle/gems/builder-3.2.2/README.md +258 -0
- data/vendor/bundle/gems/builder-3.2.2/Rakefile +195 -0
- data/vendor/bundle/gems/builder-3.2.2/doc/jamis.rb +591 -0
- data/vendor/bundle/gems/builder-3.2.2/doc/releases/builder-1.2.4.rdoc +31 -0
- data/vendor/bundle/gems/builder-3.2.2/doc/releases/builder-2.0.0.rdoc +46 -0
- data/vendor/bundle/gems/builder-3.2.2/doc/releases/builder-2.1.1.rdoc +58 -0
- data/vendor/bundle/gems/builder-3.2.2/lib/blankslate.rb +137 -0
- data/vendor/bundle/gems/builder-3.2.2/lib/builder.rb +13 -0
- data/vendor/bundle/gems/builder-3.2.2/lib/builder/blankslate.rb +23 -0
- data/vendor/bundle/gems/builder-3.2.2/lib/builder/version.rb +8 -0
- data/vendor/bundle/gems/builder-3.2.2/lib/builder/xchar.rb +197 -0
- data/vendor/bundle/gems/builder-3.2.2/lib/builder/xmlbase.rb +199 -0
- data/vendor/bundle/gems/builder-3.2.2/lib/builder/xmlevents.rb +63 -0
- data/vendor/bundle/gems/builder-3.2.2/lib/builder/xmlmarkup.rb +339 -0
- data/vendor/bundle/gems/builder-3.2.2/rakelib/publish.rake +17 -0
- data/vendor/bundle/gems/builder-3.2.2/rakelib/tags.rake +62 -0
- data/vendor/bundle/gems/builder-3.2.2/test/performance.rb +41 -0
- data/vendor/bundle/gems/builder-3.2.2/test/preload.rb +39 -0
- data/vendor/bundle/gems/builder-3.2.2/test/test_blankslate.rb +217 -0
- data/vendor/bundle/gems/builder-3.2.2/test/test_eventbuilder.rb +150 -0
- data/vendor/bundle/gems/builder-3.2.2/test/test_markupbuilder.rb +611 -0
- data/vendor/bundle/gems/builder-3.2.2/test/test_method_caching.rb +62 -0
- data/vendor/bundle/gems/builder-3.2.2/test/test_namecollision.rb +39 -0
- data/vendor/bundle/gems/builder-3.2.2/test/test_xchar.rb +78 -0
- data/vendor/bundle/gems/coderay-1.1.1/README_INDEX.rdoc +123 -0
- data/vendor/bundle/gems/coderay-1.1.1/Rakefile +37 -0
- data/vendor/bundle/gems/coderay-1.1.1/bin/coderay +215 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay.rb +284 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/duo.rb +81 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/encoders.rb +18 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/encoders/_map.rb +17 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/encoders/comment_filter.rb +25 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/encoders/count.rb +39 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/encoders/debug.rb +49 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/encoders/debug_lint.rb +63 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/encoders/div.rb +23 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/encoders/encoder.rb +190 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/encoders/filter.rb +58 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/encoders/html.rb +333 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/encoders/html/css.rb +65 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/encoders/html/numbering.rb +108 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/encoders/html/output.rb +166 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/encoders/json.rb +83 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/encoders/lines_of_code.rb +45 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/encoders/lint.rb +59 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/encoders/null.rb +18 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/encoders/page.rb +24 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/encoders/span.rb +23 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/encoders/statistic.rb +95 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/encoders/terminal.rb +195 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/encoders/text.rb +46 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/encoders/token_kind_filter.rb +111 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/encoders/xml.rb +72 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/encoders/yaml.rb +50 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/for_redcloth.rb +95 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/helpers/file_type.rb +151 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/helpers/plugin.rb +55 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/helpers/plugin_host.rb +221 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/helpers/word_list.rb +72 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/scanners.rb +27 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/scanners/_map.rb +24 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/scanners/c.rb +189 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/scanners/clojure.rb +217 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/scanners/cpp.rb +215 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/scanners/css.rb +196 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/scanners/debug.rb +75 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/scanners/delphi.rb +144 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/scanners/diff.rb +221 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/scanners/erb.rb +81 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/scanners/go.rb +208 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/scanners/groovy.rb +268 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/scanners/haml.rb +168 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/scanners/html.rb +275 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/scanners/java.rb +174 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/scanners/java/builtin_types.rb +421 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/scanners/java_script.rb +237 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/scanners/json.rb +98 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/scanners/lua.rb +280 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/scanners/php.rb +527 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/scanners/python.rb +287 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/scanners/raydebug.rb +75 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/scanners/ruby.rb +477 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/scanners/ruby/patterns.rb +178 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/scanners/ruby/string_state.rb +79 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/scanners/sass.rb +232 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/scanners/scanner.rb +337 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/scanners/sql.rb +169 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/scanners/taskpaper.rb +36 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/scanners/text.rb +26 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/scanners/xml.rb +17 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/scanners/yaml.rb +140 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/styles.rb +15 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/styles/_map.rb +7 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/styles/alpha.rb +153 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/styles/style.rb +18 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/token_kinds.rb +85 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/tokens.rb +161 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/tokens_proxy.rb +55 -0
- data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/version.rb +3 -0
- data/vendor/bundle/gems/coderay-1.1.1/test/functional/basic.rb +318 -0
- data/vendor/bundle/gems/coderay-1.1.1/test/functional/examples.rb +129 -0
- data/vendor/bundle/gems/coderay-1.1.1/test/functional/for_redcloth.rb +78 -0
- data/vendor/bundle/gems/coderay-1.1.1/test/functional/suite.rb +15 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.2/CHANGELOG.md +343 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.2/LICENSE.txt +21 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.2/README.md +257 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.2/lib/concurrent.rb +130 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.2/lib/concurrent/agent.rb +587 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.2/lib/concurrent/array.rb +39 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.2/lib/concurrent/async.rb +445 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.2/lib/concurrent/atom.rb +221 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.2/lib/concurrent/atomic/abstract_thread_local_var.rb +38 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.2/lib/concurrent/atomic/atomic_boolean.rb +116 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.2/lib/concurrent/atomic/atomic_fixnum.rb +133 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.2/lib/concurrent/atomic/atomic_reference.rb +42 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.2/lib/concurrent/atomic/count_down_latch.rb +77 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.2/lib/concurrent/atomic/cyclic_barrier.rb +108 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.2/lib/concurrent/atomic/event.rb +89 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.2/lib/concurrent/atomic/java_count_down_latch.rb +39 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.2/lib/concurrent/atomic/java_thread_local_var.rb +50 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.2/lib/concurrent/atomic/mutex_atomic_boolean.rb +60 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.2/lib/concurrent/atomic/mutex_atomic_fixnum.rb +91 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.2/lib/concurrent/atomic/mutex_count_down_latch.rb +43 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.2/lib/concurrent/atomic/mutex_semaphore.rb +115 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.2/lib/concurrent/atomic/read_write_lock.rb +253 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.2/lib/concurrent/atomic/reentrant_read_write_lock.rb +377 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.2/lib/concurrent/atomic/ruby_thread_local_var.rb +172 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.2/lib/concurrent/atomic/semaphore.rb +113 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.2/lib/concurrent/atomic/thread_local_var.rb +102 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.2/lib/concurrent/atomic_reference/concurrent_update_error.rb +8 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.2/lib/concurrent/atomic_reference/direct_update.rb +81 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.2/lib/concurrent/atomic_reference/jruby+truffle.rb +1 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.2/lib/concurrent/atomic_reference/jruby.rb +16 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.2/lib/concurrent/atomic_reference/mutex_atomic.rb +61 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.2/lib/concurrent/atomic_reference/numeric_cas_wrapper.rb +28 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.2/lib/concurrent/atomic_reference/rbx.rb +22 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.2/lib/concurrent/atomic_reference/ruby.rb +32 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.2/lib/concurrent/atomics.rb +53 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.2/lib/concurrent/collection/copy_on_notify_observer_set.rb +107 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.2/lib/concurrent/collection/copy_on_write_observer_set.rb +111 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.2/lib/concurrent/collection/java_non_concurrent_priority_queue.rb +84 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.2/lib/concurrent/collection/map/atomic_reference_map_backend.rb +927 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.2/lib/concurrent/collection/map/mri_map_backend.rb +66 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.2/lib/concurrent/collection/map/non_concurrent_map_backend.rb +140 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.2/lib/concurrent/collection/map/synchronized_map_backend.rb +82 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.2/lib/concurrent/collection/non_concurrent_priority_queue.rb +143 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.2/lib/concurrent/collection/ruby_non_concurrent_priority_queue.rb +150 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.2/lib/concurrent/concern/deprecation.rb +34 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.2/lib/concurrent/concern/dereferenceable.rb +73 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.2/lib/concurrent/concern/logging.rb +27 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.2/lib/concurrent/concern/obligation.rb +219 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.2/lib/concurrent/concern/observable.rb +110 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.2/lib/concurrent/configuration.rb +153 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.2/lib/concurrent/constants.rb +8 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.2/lib/concurrent/dataflow.rb +80 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.2/lib/concurrent/delay.rb +197 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.2/lib/concurrent/edge.rb +30 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.2/lib/concurrent/errors.rb +46 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.2/lib/concurrent/exchanger.rb +356 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.2/lib/concurrent/executor/abstract_executor_service.rb +134 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.2/lib/concurrent/executor/cached_thread_pool.rb +62 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.2/lib/concurrent/executor/executor_service.rb +185 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.2/lib/concurrent/executor/fixed_thread_pool.rb +206 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.2/lib/concurrent/executor/immediate_executor.rb +66 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.2/lib/concurrent/executor/indirect_immediate_executor.rb +44 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.2/lib/concurrent/executor/java_executor_service.rb +100 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.2/lib/concurrent/executor/java_single_thread_executor.rb +29 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.2/lib/concurrent/executor/java_thread_pool_executor.rb +120 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.2/lib/concurrent/executor/ruby_executor_service.rb +78 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.2/lib/concurrent/executor/ruby_single_thread_executor.rb +22 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.2/lib/concurrent/executor/ruby_thread_pool_executor.rb +362 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.2/lib/concurrent/executor/safe_task_executor.rb +35 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.2/lib/concurrent/executor/serial_executor_service.rb +34 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.2/lib/concurrent/executor/serialized_execution.rb +107 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.2/lib/concurrent/executor/serialized_execution_delegator.rb +28 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.2/lib/concurrent/executor/simple_executor_service.rb +100 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.2/lib/concurrent/executor/single_thread_executor.rb +56 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.2/lib/concurrent/executor/thread_pool_executor.rb +87 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.2/lib/concurrent/executor/timer_set.rb +164 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.2/lib/concurrent/executors.rb +20 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.2/lib/concurrent/future.rb +138 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.2/lib/concurrent/hash.rb +35 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.2/lib/concurrent/immutable_struct.rb +93 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.2/lib/concurrent/ivar.rb +208 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.2/lib/concurrent/lazy_register.rb +81 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.2/lib/concurrent/map.rb +238 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.2/lib/concurrent/maybe.rb +229 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.2/lib/concurrent/mutable_struct.rb +228 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.2/lib/concurrent/mvar.rb +242 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.2/lib/concurrent/options.rb +42 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.2/lib/concurrent/promise.rb +543 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.2/lib/concurrent/scheduled_task.rb +318 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.2/lib/concurrent/settable_struct.rb +128 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.2/lib/concurrent/synchronization.rb +31 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.2/lib/concurrent/synchronization/abstract_lockable_object.rb +98 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.2/lib/concurrent/synchronization/abstract_object.rb +24 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.2/lib/concurrent/synchronization/abstract_struct.rb +157 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.2/lib/concurrent/synchronization/condition.rb +55 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.2/lib/concurrent/synchronization/jruby_lockable_object.rb +13 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.2/lib/concurrent/synchronization/jruby_object.rb +44 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.2/lib/concurrent/synchronization/lock.rb +33 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.2/lib/concurrent/synchronization/lockable_object.rb +74 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.2/lib/concurrent/synchronization/mri_lockable_object.rb +71 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.2/lib/concurrent/synchronization/mri_object.rb +43 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.2/lib/concurrent/synchronization/object.rb +152 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.2/lib/concurrent/synchronization/rbx_lockable_object.rb +65 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.2/lib/concurrent/synchronization/rbx_object.rb +47 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.2/lib/concurrent/synchronization/truffle_lockable_object.rb +9 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.2/lib/concurrent/synchronization/truffle_object.rb +32 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.2/lib/concurrent/synchronization/volatile.rb +34 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.2/lib/concurrent/thread_safe/synchronized_delegator.rb +50 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.2/lib/concurrent/thread_safe/util.rb +14 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.2/lib/concurrent/thread_safe/util/adder.rb +74 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.2/lib/concurrent/thread_safe/util/array_hash_rbx.rb +30 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.2/lib/concurrent/thread_safe/util/cheap_lockable.rb +118 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.2/lib/concurrent/thread_safe/util/power_of_two_tuple.rb +38 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.2/lib/concurrent/thread_safe/util/striped64.rb +241 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.2/lib/concurrent/thread_safe/util/volatile.rb +75 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.2/lib/concurrent/thread_safe/util/xor_shift_random.rb +50 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.2/lib/concurrent/timer_task.rb +331 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.2/lib/concurrent/tuple.rb +86 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.2/lib/concurrent/tvar.rb +258 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.2/lib/concurrent/utility/at_exit.rb +97 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.2/lib/concurrent/utility/engine.rb +56 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.2/lib/concurrent/utility/monotonic_time.rb +58 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.2/lib/concurrent/utility/native_extension_loader.rb +73 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.2/lib/concurrent/utility/processor_counter.rb +158 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.2/lib/concurrent/version.rb +4 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.4/CHANGELOG.md +371 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.4/LICENSE.txt +21 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.4/README.md +247 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.4/lib/concurrent.rb +130 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.4/lib/concurrent/agent.rb +587 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.4/lib/concurrent/array.rb +39 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.4/lib/concurrent/async.rb +445 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.4/lib/concurrent/atom.rb +222 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.4/lib/concurrent/atomic/abstract_thread_local_var.rb +64 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.4/lib/concurrent/atomic/atomic_boolean.rb +116 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.4/lib/concurrent/atomic/atomic_fixnum.rb +137 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.4/lib/concurrent/atomic/atomic_reference.rb +49 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.4/lib/concurrent/atomic/count_down_latch.rb +100 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.4/lib/concurrent/atomic/cyclic_barrier.rb +128 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.4/lib/concurrent/atomic/event.rb +89 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.4/lib/concurrent/atomic/java_count_down_latch.rb +39 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.4/lib/concurrent/atomic/java_thread_local_var.rb +37 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.4/lib/concurrent/atomic/mutex_atomic_boolean.rb +60 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.4/lib/concurrent/atomic/mutex_atomic_fixnum.rb +75 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.4/lib/concurrent/atomic/mutex_count_down_latch.rb +43 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.4/lib/concurrent/atomic/mutex_semaphore.rb +115 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.4/lib/concurrent/atomic/read_write_lock.rb +253 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.4/lib/concurrent/atomic/reentrant_read_write_lock.rb +377 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.4/lib/concurrent/atomic/ruby_thread_local_var.rb +161 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.4/lib/concurrent/atomic/semaphore.rb +113 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.4/lib/concurrent/atomic/thread_local_var.rb +104 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.4/lib/concurrent/atomic_reference/concurrent_update_error.rb +8 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.4/lib/concurrent/atomic_reference/direct_update.rb +81 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.4/lib/concurrent/atomic_reference/jruby+truffle.rb +2 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.4/lib/concurrent/atomic_reference/jruby.rb +16 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.4/lib/concurrent/atomic_reference/mutex_atomic.rb +61 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.4/lib/concurrent/atomic_reference/numeric_cas_wrapper.rb +28 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.4/lib/concurrent/atomic_reference/rbx.rb +22 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.4/lib/concurrent/atomic_reference/ruby.rb +32 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.4/lib/concurrent/atomics.rb +53 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.4/lib/concurrent/collection/copy_on_notify_observer_set.rb +107 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.4/lib/concurrent/collection/copy_on_write_observer_set.rb +111 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.4/lib/concurrent/collection/java_non_concurrent_priority_queue.rb +84 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.4/lib/concurrent/collection/map/atomic_reference_map_backend.rb +927 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.4/lib/concurrent/collection/map/mri_map_backend.rb +66 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.4/lib/concurrent/collection/map/non_concurrent_map_backend.rb +141 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.4/lib/concurrent/collection/map/synchronized_map_backend.rb +82 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.4/lib/concurrent/collection/non_concurrent_priority_queue.rb +143 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.4/lib/concurrent/collection/ruby_non_concurrent_priority_queue.rb +150 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.4/lib/concurrent/concern/deprecation.rb +34 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.4/lib/concurrent/concern/dereferenceable.rb +73 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.4/lib/concurrent/concern/logging.rb +27 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.4/lib/concurrent/concern/obligation.rb +220 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.4/lib/concurrent/concern/observable.rb +110 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.4/lib/concurrent/configuration.rb +188 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.4/lib/concurrent/constants.rb +8 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.4/lib/concurrent/dataflow.rb +80 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.4/lib/concurrent/delay.rb +197 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.4/lib/concurrent/edge.rb +30 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.4/lib/concurrent/errors.rb +69 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.4/lib/concurrent/exchanger.rb +356 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.4/lib/concurrent/executor/abstract_executor_service.rb +134 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.4/lib/concurrent/executor/cached_thread_pool.rb +62 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.4/lib/concurrent/executor/executor_service.rb +185 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.4/lib/concurrent/executor/fixed_thread_pool.rb +206 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.4/lib/concurrent/executor/immediate_executor.rb +66 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.4/lib/concurrent/executor/indirect_immediate_executor.rb +44 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.4/lib/concurrent/executor/java_executor_service.rb +100 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.4/lib/concurrent/executor/java_single_thread_executor.rb +29 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.4/lib/concurrent/executor/java_thread_pool_executor.rb +120 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.4/lib/concurrent/executor/ruby_executor_service.rb +78 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.4/lib/concurrent/executor/ruby_single_thread_executor.rb +22 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.4/lib/concurrent/executor/ruby_thread_pool_executor.rb +362 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.4/lib/concurrent/executor/safe_task_executor.rb +35 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.4/lib/concurrent/executor/serial_executor_service.rb +34 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.4/lib/concurrent/executor/serialized_execution.rb +107 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.4/lib/concurrent/executor/serialized_execution_delegator.rb +28 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.4/lib/concurrent/executor/simple_executor_service.rb +100 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.4/lib/concurrent/executor/single_thread_executor.rb +56 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.4/lib/concurrent/executor/thread_pool_executor.rb +87 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.4/lib/concurrent/executor/timer_set.rb +175 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.4/lib/concurrent/executors.rb +20 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.4/lib/concurrent/future.rb +138 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.4/lib/concurrent/hash.rb +36 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.4/lib/concurrent/immutable_struct.rb +93 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.4/lib/concurrent/ivar.rb +208 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.4/lib/concurrent/lazy_register.rb +81 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.4/lib/concurrent/map.rb +240 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.4/lib/concurrent/maybe.rb +229 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.4/lib/concurrent/mutable_struct.rb +228 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.4/lib/concurrent/mvar.rb +242 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.4/lib/concurrent/options.rb +42 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.4/lib/concurrent/promise.rb +547 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.4/lib/concurrent/scheduled_task.rb +318 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.4/lib/concurrent/settable_struct.rb +128 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.4/lib/concurrent/synchronization.rb +31 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.4/lib/concurrent/synchronization/abstract_lockable_object.rb +98 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.4/lib/concurrent/synchronization/abstract_object.rb +24 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.4/lib/concurrent/synchronization/abstract_struct.rb +157 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.4/lib/concurrent/synchronization/condition.rb +55 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.4/lib/concurrent/synchronization/jruby_lockable_object.rb +13 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.4/lib/concurrent/synchronization/jruby_object.rb +44 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.4/lib/concurrent/synchronization/lock.rb +33 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.4/lib/concurrent/synchronization/lockable_object.rb +74 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.4/lib/concurrent/synchronization/mri_lockable_object.rb +71 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.4/lib/concurrent/synchronization/mri_object.rb +43 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.4/lib/concurrent/synchronization/object.rb +152 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.4/lib/concurrent/synchronization/rbx_lockable_object.rb +65 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.4/lib/concurrent/synchronization/rbx_object.rb +48 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.4/lib/concurrent/synchronization/truffle_lockable_object.rb +9 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.4/lib/concurrent/synchronization/truffle_object.rb +31 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.4/lib/concurrent/synchronization/volatile.rb +34 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.4/lib/concurrent/thread_safe/synchronized_delegator.rb +50 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.4/lib/concurrent/thread_safe/util.rb +16 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.4/lib/concurrent/thread_safe/util/adder.rb +74 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.4/lib/concurrent/thread_safe/util/array_hash_rbx.rb +30 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.4/lib/concurrent/thread_safe/util/cheap_lockable.rb +118 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.4/lib/concurrent/thread_safe/util/power_of_two_tuple.rb +38 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.4/lib/concurrent/thread_safe/util/striped64.rb +241 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.4/lib/concurrent/thread_safe/util/volatile.rb +75 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.4/lib/concurrent/thread_safe/util/xor_shift_random.rb +50 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.4/lib/concurrent/timer_task.rb +331 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.4/lib/concurrent/tuple.rb +86 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.4/lib/concurrent/tvar.rb +258 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.4/lib/concurrent/utility/at_exit.rb +97 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.4/lib/concurrent/utility/engine.rb +56 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.4/lib/concurrent/utility/monotonic_time.rb +58 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.4/lib/concurrent/utility/native_extension_loader.rb +73 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.4/lib/concurrent/utility/native_integer.rb +53 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.4/lib/concurrent/utility/processor_counter.rb +160 -0
- data/vendor/bundle/gems/concurrent-ruby-1.0.4/lib/concurrent/version.rb +4 -0
- data/vendor/bundle/gems/diff-lcs-1.2.5/Contributing.rdoc +64 -0
- data/vendor/bundle/gems/diff-lcs-1.2.5/Gemfile +20 -0
- data/vendor/bundle/gems/diff-lcs-1.2.5/History.rdoc +152 -0
- data/vendor/bundle/gems/diff-lcs-1.2.5/License.rdoc +39 -0
- data/vendor/bundle/gems/diff-lcs-1.2.5/Manifest.txt +38 -0
- data/vendor/bundle/gems/diff-lcs-1.2.5/README.rdoc +85 -0
- data/vendor/bundle/gems/diff-lcs-1.2.5/Rakefile +41 -0
- data/vendor/bundle/gems/diff-lcs-1.2.5/autotest/discover.rb +1 -0
- data/vendor/bundle/gems/diff-lcs-1.2.5/bin/htmldiff +32 -0
- data/vendor/bundle/gems/diff-lcs-1.2.5/bin/ldiff +6 -0
- data/vendor/bundle/gems/diff-lcs-1.2.5/docs/COPYING.txt +339 -0
- data/vendor/bundle/gems/diff-lcs-1.2.5/docs/artistic.txt +127 -0
- data/vendor/bundle/gems/diff-lcs-1.2.5/lib/diff-lcs.rb +3 -0
- data/vendor/bundle/gems/diff-lcs-1.2.5/lib/diff/lcs.rb +805 -0
- data/vendor/bundle/gems/diff-lcs-1.2.5/lib/diff/lcs/array.rb +7 -0
- data/vendor/bundle/gems/diff-lcs-1.2.5/lib/diff/lcs/block.rb +37 -0
- data/vendor/bundle/gems/diff-lcs-1.2.5/lib/diff/lcs/callbacks.rb +322 -0
- data/vendor/bundle/gems/diff-lcs-1.2.5/lib/diff/lcs/change.rb +177 -0
- data/vendor/bundle/gems/diff-lcs-1.2.5/lib/diff/lcs/htmldiff.rb +149 -0
- data/vendor/bundle/gems/diff-lcs-1.2.5/lib/diff/lcs/hunk.rb +276 -0
- data/vendor/bundle/gems/diff-lcs-1.2.5/lib/diff/lcs/internals.rb +301 -0
- data/vendor/bundle/gems/diff-lcs-1.2.5/lib/diff/lcs/ldiff.rb +195 -0
- data/vendor/bundle/gems/diff-lcs-1.2.5/lib/diff/lcs/string.rb +5 -0
- data/vendor/bundle/gems/diff-lcs-1.2.5/spec/change_spec.rb +65 -0
- data/vendor/bundle/gems/diff-lcs-1.2.5/spec/diff_spec.rb +47 -0
- data/vendor/bundle/gems/diff-lcs-1.2.5/spec/hunk_spec.rb +72 -0
- data/vendor/bundle/gems/diff-lcs-1.2.5/spec/issues_spec.rb +24 -0
- data/vendor/bundle/gems/diff-lcs-1.2.5/spec/lcs_spec.rb +54 -0
- data/vendor/bundle/gems/diff-lcs-1.2.5/spec/patch_spec.rb +414 -0
- data/vendor/bundle/gems/diff-lcs-1.2.5/spec/sdiff_spec.rb +214 -0
- data/vendor/bundle/gems/diff-lcs-1.2.5/spec/spec_helper.rb +290 -0
- data/vendor/bundle/gems/diff-lcs-1.2.5/spec/traverse_balanced_spec.rb +310 -0
- data/vendor/bundle/gems/diff-lcs-1.2.5/spec/traverse_sequences_spec.rb +139 -0
- data/vendor/bundle/gems/docile-1.1.5/Gemfile +4 -0
- data/vendor/bundle/gems/docile-1.1.5/HISTORY.md +61 -0
- data/vendor/bundle/gems/docile-1.1.5/LICENSE +21 -0
- data/vendor/bundle/gems/docile-1.1.5/README.md +241 -0
- data/vendor/bundle/gems/docile-1.1.5/Rakefile +28 -0
- data/vendor/bundle/gems/docile-1.1.5/docile.gemspec +43 -0
- data/vendor/bundle/gems/docile-1.1.5/lib/docile.rb +84 -0
- data/vendor/bundle/gems/docile-1.1.5/lib/docile/chaining_fallback_context_proxy.rb +20 -0
- data/vendor/bundle/gems/docile-1.1.5/lib/docile/execution.rb +35 -0
- data/vendor/bundle/gems/docile-1.1.5/lib/docile/fallback_context_proxy.rb +63 -0
- data/vendor/bundle/gems/docile-1.1.5/lib/docile/version.rb +4 -0
- data/vendor/bundle/gems/docile-1.1.5/on_what.rb +14 -0
- data/vendor/bundle/gems/docile-1.1.5/spec/docile_spec.rb +339 -0
- data/vendor/bundle/gems/docile-1.1.5/spec/spec_helper.rb +30 -0
- data/vendor/bundle/gems/erubis-2.7.0/CHANGES.txt +828 -0
- data/vendor/bundle/gems/erubis-2.7.0/MIT-LICENSE +20 -0
- data/vendor/bundle/gems/erubis-2.7.0/README.txt +102 -0
- data/vendor/bundle/gems/erubis-2.7.0/benchmark/Makefile +6 -0
- data/vendor/bundle/gems/erubis-2.7.0/benchmark/bench.rb +313 -0
- data/vendor/bundle/gems/erubis-2.7.0/benchmark/bench_context.yaml +141 -0
- data/vendor/bundle/gems/erubis-2.7.0/benchmark/templates/_footer.html +4 -0
- data/vendor/bundle/gems/erubis-2.7.0/benchmark/templates/_header.html +52 -0
- data/vendor/bundle/gems/erubis-2.7.0/benchmark/templates/bench_erb.rhtml +29 -0
- data/vendor/bundle/gems/erubis-2.7.0/benchmark/templates/bench_erubis.rhtml +29 -0
- data/vendor/bundle/gems/erubis-2.7.0/benchmark/templates/bench_eruby.rhtml +29 -0
- data/vendor/bundle/gems/erubis-2.7.0/bin/erubis +10 -0
- data/vendor/bundle/gems/erubis-2.7.0/contrib/erubis +3468 -0
- data/vendor/bundle/gems/erubis-2.7.0/contrib/erubis-run.rb +132 -0
- data/vendor/bundle/gems/erubis-2.7.0/contrib/inline-require +179 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/ActionView.html +105 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/ActionView/TemplateHandlers/ErubisHandler.html +209 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/ERB.html +101 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis.html +362 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/ArrayBufferEnhancer.html +175 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/ArrayBufferEruby.html +120 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/ArrayEnhancer.html +174 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/ArrayEruby.html +120 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/Basic.html +112 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/Basic/Converter.html +327 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/Basic/Engine.html +130 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/BiPatternEnhancer.html +215 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/BiPatternEruby.html +120 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/CGenerator.html +386 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/CommandOptionError.html +113 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/Context.html +344 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/Converter.html +283 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/CppGenerator.html +382 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/DeleteIndentEnhancer.html +150 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/DeleteIndentEruby.html +120 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/Ec.html +126 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/Ecpp.html +126 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/Ejava.html +126 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/Ejavascript.html +126 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/Engine.html +305 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/Eperl.html +126 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/Ephp.html +126 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/ErboutEnhancer.html +175 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/ErboutEruby.html +120 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/ErubisError.html +117 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/Eruby.html +132 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/EscapeEnhancer.html +165 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/EscapedEc.html +120 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/EscapedEcpp.html +120 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/EscapedEjava.html +120 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/EscapedEjavascript.html +120 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/EscapedEperl.html +120 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/EscapedEphp.html +120 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/EscapedEruby.html +127 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/EscapedEscheme.html +120 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/Escheme.html +126 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/Evaluator.html +212 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/FastEruby.html +131 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/Generator.html +416 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/HeaderFooterEnhancer.html +267 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/HeaderFooterEruby.html +120 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/Helpers.html +116 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/Helpers/RailsFormHelper.html +787 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/Helpers/RailsHelper.html +349 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/Helpers/RailsHelper/TemplateConverter.html +213 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/InterpolationEnhancer.html +305 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/InterpolationEruby.html +120 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/JavaGenerator.html +359 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/JavascriptGenerator.html +386 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/Main.html +341 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/NoCodeEnhancer.html +249 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/NoCodeEruby.html +120 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/NoTextEnhancer.html +159 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/NoTextEruby.html +120 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/NotSupportedError.html +119 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/OptimizedEruby.html +163 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/OptimizedGenerator.html +439 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/OptimizedXmlEruby.html +163 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/PI.html +125 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Converter.html +266 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Ec.html +166 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Ecpp.html +166 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Ejava.html +166 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Ejavascript.html +166 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Engine.html +122 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Eperl.html +166 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Ephp.html +166 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Eruby.html +155 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Escheme.html +166 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/TinyEruby.html +293 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/PercentLineEnhancer.html +163 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/PercentLineEruby.html +120 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/PerlGenerator.html +344 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/PhpGenerator.html +350 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/PrefixedLineEnhancer.html +210 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/PrefixedLineEruby.html +120 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/PreprocessingEruby.html +183 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/PreprocessingHelper.html +212 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/PrintEnabledEnhancer.html +212 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/PrintEnabledEruby.html +120 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/PrintOutEnhancer.html +244 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/PrintOutEruby.html +120 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/PrintOutSimplifiedEruby.html +121 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/RubyEvaluator.html +227 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/RubyGenerator.html +328 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/SchemeGenerator.html +382 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/SimplifiedEruby.html +120 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/SimplifyEnhancer.html +191 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/StdoutEnhancer.html +173 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/StdoutEruby.html +120 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/StdoutSimplifiedEruby.html +121 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/StringBufferEnhancer.html +174 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/StringBufferEruby.html +120 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/StringIOEruby.html +120 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/TinyEruby.html +298 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/XmlEruby.html +130 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/XmlHelper.html +255 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Kernel.html +155 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/created.rid +1 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/README_txt.html +247 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/context_rb.html +107 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/converter_rb.html +114 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/engine/ec_rb.html +115 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/engine/ecpp_rb.html +115 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/engine/ejava_rb.html +115 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/engine/ejavascript_rb.html +115 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/engine/enhanced_rb.html +115 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/engine/eperl_rb.html +115 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/engine/ephp_rb.html +115 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/engine/eruby_rb.html +115 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/engine/escheme_rb.html +115 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/engine/optimized_rb.html +114 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/engine_rb.html +117 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/enhancer_rb.html +107 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/error_rb.html +107 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/evaluator_rb.html +115 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/generator_rb.html +114 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/helper_rb.html +107 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/helpers/rails_form_helper_rb.html +107 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/helpers/rails_helper_rb.html +116 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/local-setting_rb.html +107 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/main_rb.html +129 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/preprocessing_rb.html +114 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/tiny_rb.html +107 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/util_rb.html +107 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis_rb.html +118 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/fr_class_index.html +129 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/fr_file_index.html +53 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/fr_method_index.html +265 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/index.html +24 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/rdoc-style.css +208 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc/docstyle.css +209 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc/users-guide.html +3551 -0
- data/vendor/bundle/gems/erubis-2.7.0/examples/basic/Makefile +58 -0
- data/vendor/bundle/gems/erubis-2.7.0/examples/basic/example.ec +42 -0
- data/vendor/bundle/gems/erubis-2.7.0/examples/basic/example.ecpp +33 -0
- data/vendor/bundle/gems/erubis-2.7.0/examples/basic/example.ejava +45 -0
- data/vendor/bundle/gems/erubis-2.7.0/examples/basic/example.ejs +16 -0
- data/vendor/bundle/gems/erubis-2.7.0/examples/basic/example.eperl +16 -0
- data/vendor/bundle/gems/erubis-2.7.0/examples/basic/example.ephp +17 -0
- data/vendor/bundle/gems/erubis-2.7.0/examples/basic/example.eruby +15 -0
- data/vendor/bundle/gems/erubis-2.7.0/examples/basic/example.escheme +26 -0
- data/vendor/bundle/gems/erubis-2.7.0/examples/pi/Makefile +54 -0
- data/vendor/bundle/gems/erubis-2.7.0/examples/pi/example.ec +42 -0
- data/vendor/bundle/gems/erubis-2.7.0/examples/pi/example.ejava +45 -0
- data/vendor/bundle/gems/erubis-2.7.0/examples/pi/example.ejs +16 -0
- data/vendor/bundle/gems/erubis-2.7.0/examples/pi/example.eperl +16 -0
- data/vendor/bundle/gems/erubis-2.7.0/examples/pi/example.ephp +17 -0
- data/vendor/bundle/gems/erubis-2.7.0/examples/pi/example.eruby +15 -0
- data/vendor/bundle/gems/erubis-2.7.0/examples/pi/example.escheme +26 -0
- data/vendor/bundle/gems/erubis-2.7.0/lib/erubis.rb +73 -0
- data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/context.rb +83 -0
- data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/converter.rb +357 -0
- data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/engine.rb +120 -0
- data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/engine/ec.rb +117 -0
- data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/engine/ecpp.rb +113 -0
- data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/engine/ejava.rb +110 -0
- data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/engine/ejavascript.rb +119 -0
- data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/engine/enhanced.rb +126 -0
- data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/engine/eperl.rb +95 -0
- data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/engine/ephp.rb +99 -0
- data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/engine/eruby.rb +125 -0
- data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/engine/escheme.rb +114 -0
- data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/engine/optimized.rb +127 -0
- data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/enhancer.rb +723 -0
- data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/error.rb +23 -0
- data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/evaluator.rb +88 -0
- data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/generator.rb +85 -0
- data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/helper.rb +47 -0
- data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/helpers/rails_form_helper.rb +197 -0
- data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/helpers/rails_helper.rb +353 -0
- data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/local-setting.rb +9 -0
- data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/main.rb +516 -0
- data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/preprocessing.rb +58 -0
- data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/tiny.rb +144 -0
- data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/util.rb +22 -0
- data/vendor/bundle/gems/erubis-2.7.0/setup.rb +1331 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/assert-text-equal.rb +44 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/Example.ejava +55 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/array_example.result +9 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/arraybuffer_example.result +9 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/bipattern-example.rhtml +4 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/bipattern_example.result +6 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/bufvar-example.rb +10 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/bufvar-example.result +17 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/context.rb +6 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/context.yaml +8 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/def_method.rb +14 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/def_method.result +3 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/escape_example.result +9 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example.ec +27 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example.ecpp +30 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example.ejs +20 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example.eperl +18 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example.ephp +18 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example.eruby +6 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example.escheme +28 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example1.eruby +6 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example1.rb +17 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example1.result +16 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example10.rb +4 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example10.result +17 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example10.xhtml +14 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example10_x.result +17 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example11.php +20 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example11.result +23 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example11.rhtml +21 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example11_C.result +10 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example11_N.result +16 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example11_U.result +16 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example11_php.result +15 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example1_x.result +9 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example2.eruby +7 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example2.rb +10 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example2.result +27 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example2_trim.result +10 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example2_x.result +10 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example3.eruby +6 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example3.rb +10 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example31.result +22 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example32.result +4 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example3_e.result +8 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example4.eruby +3 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example4.rb +11 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example4.result +10 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example4_x.result +5 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example5.eruby +6 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example5.rb +16 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example5.result +7 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example6.rb +12 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example6.result +7 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example7.eruby +8 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example71.result +13 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example72.result +13 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example8.eruby +6 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example8_ruby.result +7 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example8_yaml.result +7 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example9.eruby +3 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example9.rb +8 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example9.result +9 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example91.result +5 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example92.result +4 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example_c.result +32 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example_java.result +56 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example_js.result +22 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example_perl.result +20 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example_php.result +19 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example_scheme.result +30 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example_scheme_display.result +29 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/fasteruby-example.rb +8 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/fasteruby-example.result +18 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/fasteruby.rb +11 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/fasteruby.result +38 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/fasteruby.rhtml +15 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/headerfooter-example.eruby +9 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/headerfooter-example2.rb +8 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/headerfooter-example2.rhtml +10 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/headerfooter_example.result +11 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/headerfooter_example2.result +13 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/interpolation_example.result +9 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/main_program1.rb +8 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/main_program1.result +6 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/main_program2.rb +8 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/main_program2.result +6 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/nocode-example.eruby +14 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/nocode-php.result +20 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/nocode_example.result +15 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/normal-eruby-test.eruby +9 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/normal_eruby_test.result +11 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/notext-example.eruby +14 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/notext-example.php +19 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/notext-php.result +20 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/notext_example.result +16 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/percentline-example.rhtml +6 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/percentline_example.result +9 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/prefixedline-example.rb +9 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/prefixedline-example.rhtml +6 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/prefixedline_example.result +9 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/printenable_example.result +4 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/printenabled-example.eruby +3 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/printenabled-example.rb +8 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/printstatement_example.result +8 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/simplify_example.result +9 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/stderr.log +3 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/stdout_exmple.result +9 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/stringbuffer_example.result +9 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/tail_260.result +4 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/tailnewline.rhtml +3 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/template1.rhtml +4 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/template2.rhtml +4 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/test-engines.rb +425 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/test-enhancers.rb +646 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/test-erubis.rb +887 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/test-index-cgi.rb +191 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/test-main.rb +752 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/test-users-guide.rb +73 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/test.rb +45 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/testutil.rb +111 -0
- data/vendor/bundle/gems/globalid-0.3.6/MIT-LICENSE +21 -0
- data/vendor/bundle/gems/globalid-0.3.6/lib/global_id.rb +8 -0
- data/vendor/bundle/gems/globalid-0.3.6/lib/global_id/global_id.rb +71 -0
- data/vendor/bundle/gems/globalid-0.3.6/lib/global_id/identification.rb +25 -0
- data/vendor/bundle/gems/globalid-0.3.6/lib/global_id/locator.rb +182 -0
- data/vendor/bundle/gems/globalid-0.3.6/lib/global_id/railtie.rb +40 -0
- data/vendor/bundle/gems/globalid-0.3.6/lib/global_id/signed_global_id.rb +89 -0
- data/vendor/bundle/gems/globalid-0.3.6/lib/global_id/uri/gid.rb +177 -0
- data/vendor/bundle/gems/globalid-0.3.6/lib/globalid.rb +2 -0
- data/vendor/bundle/gems/i18n-0.7.0/MIT-LICENSE +20 -0
- data/vendor/bundle/gems/i18n-0.7.0/README.md +82 -0
- data/vendor/bundle/gems/i18n-0.7.0/gemfiles/Gemfile.rails-3.2.x +8 -0
- data/vendor/bundle/gems/i18n-0.7.0/gemfiles/Gemfile.rails-3.2.x.lock +27 -0
- data/vendor/bundle/gems/i18n-0.7.0/gemfiles/Gemfile.rails-4.0.x +8 -0
- data/vendor/bundle/gems/i18n-0.7.0/gemfiles/Gemfile.rails-4.0.x.lock +33 -0
- data/vendor/bundle/gems/i18n-0.7.0/gemfiles/Gemfile.rails-4.1.x +8 -0
- data/vendor/bundle/gems/i18n-0.7.0/gemfiles/Gemfile.rails-4.1.x.lock +34 -0
- data/vendor/bundle/gems/i18n-0.7.0/gemfiles/Gemfile.rails-4.2.x +8 -0
- data/vendor/bundle/gems/i18n-0.7.0/gemfiles/Gemfile.rails-4.2.x.lock +34 -0
- data/vendor/bundle/gems/i18n-0.7.0/gemfiles/Gemfile.rails-master +8 -0
- data/vendor/bundle/gems/i18n-0.7.0/gemfiles/Gemfile.rails-master.lock +40 -0
- data/vendor/bundle/gems/i18n-0.7.0/lib/i18n.rb +341 -0
- data/vendor/bundle/gems/i18n-0.7.0/lib/i18n/backend.rb +18 -0
- data/vendor/bundle/gems/i18n-0.7.0/lib/i18n/backend/base.rb +189 -0
- data/vendor/bundle/gems/i18n-0.7.0/lib/i18n/backend/cache.rb +96 -0
- data/vendor/bundle/gems/i18n-0.7.0/lib/i18n/backend/cascade.rb +54 -0
- data/vendor/bundle/gems/i18n-0.7.0/lib/i18n/backend/chain.rb +97 -0
- data/vendor/bundle/gems/i18n-0.7.0/lib/i18n/backend/fallbacks.rb +69 -0
- data/vendor/bundle/gems/i18n-0.7.0/lib/i18n/backend/flatten.rb +113 -0
- data/vendor/bundle/gems/i18n-0.7.0/lib/i18n/backend/gettext.rb +72 -0
- data/vendor/bundle/gems/i18n-0.7.0/lib/i18n/backend/interpolation_compiler.rb +121 -0
- data/vendor/bundle/gems/i18n-0.7.0/lib/i18n/backend/key_value.rb +100 -0
- data/vendor/bundle/gems/i18n-0.7.0/lib/i18n/backend/memoize.rb +46 -0
- data/vendor/bundle/gems/i18n-0.7.0/lib/i18n/backend/metadata.rb +65 -0
- data/vendor/bundle/gems/i18n-0.7.0/lib/i18n/backend/pluralization.rb +53 -0
- data/vendor/bundle/gems/i18n-0.7.0/lib/i18n/backend/simple.rb +87 -0
- data/vendor/bundle/gems/i18n-0.7.0/lib/i18n/backend/transliterator.rb +99 -0
- data/vendor/bundle/gems/i18n-0.7.0/lib/i18n/config.rb +140 -0
- data/vendor/bundle/gems/i18n-0.7.0/lib/i18n/core_ext/hash.rb +29 -0
- data/vendor/bundle/gems/i18n-0.7.0/lib/i18n/core_ext/kernel/suppress_warnings.rb +8 -0
- data/vendor/bundle/gems/i18n-0.7.0/lib/i18n/core_ext/string/interpolate.rb +9 -0
- data/vendor/bundle/gems/i18n-0.7.0/lib/i18n/exceptions.rb +104 -0
- data/vendor/bundle/gems/i18n-0.7.0/lib/i18n/gettext.rb +25 -0
- data/vendor/bundle/gems/i18n-0.7.0/lib/i18n/gettext/helpers.rb +64 -0
- data/vendor/bundle/gems/i18n-0.7.0/lib/i18n/gettext/po_parser.rb +329 -0
- data/vendor/bundle/gems/i18n-0.7.0/lib/i18n/interpolate/ruby.rb +37 -0
- data/vendor/bundle/gems/i18n-0.7.0/lib/i18n/locale.rb +6 -0
- data/vendor/bundle/gems/i18n-0.7.0/lib/i18n/locale/fallbacks.rb +96 -0
- data/vendor/bundle/gems/i18n-0.7.0/lib/i18n/locale/tag.rb +28 -0
- data/vendor/bundle/gems/i18n-0.7.0/lib/i18n/locale/tag/parents.rb +22 -0
- data/vendor/bundle/gems/i18n-0.7.0/lib/i18n/locale/tag/rfc4646.rb +74 -0
- data/vendor/bundle/gems/i18n-0.7.0/lib/i18n/locale/tag/simple.rb +39 -0
- data/vendor/bundle/gems/i18n-0.7.0/lib/i18n/tests.rb +12 -0
- data/vendor/bundle/gems/i18n-0.7.0/lib/i18n/tests/basics.rb +59 -0
- data/vendor/bundle/gems/i18n-0.7.0/lib/i18n/tests/defaults.rb +40 -0
- data/vendor/bundle/gems/i18n-0.7.0/lib/i18n/tests/interpolation.rb +133 -0
- data/vendor/bundle/gems/i18n-0.7.0/lib/i18n/tests/link.rb +56 -0
- data/vendor/bundle/gems/i18n-0.7.0/lib/i18n/tests/localization.rb +19 -0
- data/vendor/bundle/gems/i18n-0.7.0/lib/i18n/tests/localization/date.rb +91 -0
- data/vendor/bundle/gems/i18n-0.7.0/lib/i18n/tests/localization/date_time.rb +82 -0
- data/vendor/bundle/gems/i18n-0.7.0/lib/i18n/tests/localization/procs.rb +116 -0
- data/vendor/bundle/gems/i18n-0.7.0/lib/i18n/tests/localization/time.rb +81 -0
- data/vendor/bundle/gems/i18n-0.7.0/lib/i18n/tests/lookup.rb +81 -0
- data/vendor/bundle/gems/i18n-0.7.0/lib/i18n/tests/pluralization.rb +35 -0
- data/vendor/bundle/gems/i18n-0.7.0/lib/i18n/tests/procs.rb +55 -0
- data/vendor/bundle/gems/i18n-0.7.0/lib/i18n/version.rb +3 -0
- data/vendor/bundle/gems/i18n-0.7.0/test/api/all_features_test.rb +58 -0
- data/vendor/bundle/gems/i18n-0.7.0/test/api/cascade_test.rb +28 -0
- data/vendor/bundle/gems/i18n-0.7.0/test/api/chain_test.rb +24 -0
- data/vendor/bundle/gems/i18n-0.7.0/test/api/fallbacks_test.rb +30 -0
- data/vendor/bundle/gems/i18n-0.7.0/test/api/key_value_test.rb +24 -0
- data/vendor/bundle/gems/i18n-0.7.0/test/api/memoize_test.rb +56 -0
- data/vendor/bundle/gems/i18n-0.7.0/test/api/override_test.rb +42 -0
- data/vendor/bundle/gems/i18n-0.7.0/test/api/pluralization_test.rb +30 -0
- data/vendor/bundle/gems/i18n-0.7.0/test/api/simple_test.rb +28 -0
- data/vendor/bundle/gems/i18n-0.7.0/test/backend/cache_test.rb +86 -0
- data/vendor/bundle/gems/i18n-0.7.0/test/backend/cascade_test.rb +86 -0
- data/vendor/bundle/gems/i18n-0.7.0/test/backend/chain_test.rb +91 -0
- data/vendor/bundle/gems/i18n-0.7.0/test/backend/exceptions_test.rb +36 -0
- data/vendor/bundle/gems/i18n-0.7.0/test/backend/fallbacks_test.rb +152 -0
- data/vendor/bundle/gems/i18n-0.7.0/test/backend/interpolation_compiler_test.rb +118 -0
- data/vendor/bundle/gems/i18n-0.7.0/test/backend/key_value_test.rb +43 -0
- data/vendor/bundle/gems/i18n-0.7.0/test/backend/memoize_test.rb +47 -0
- data/vendor/bundle/gems/i18n-0.7.0/test/backend/metadata_test.rb +48 -0
- data/vendor/bundle/gems/i18n-0.7.0/test/backend/pluralization_test.rb +45 -0
- data/vendor/bundle/gems/i18n-0.7.0/test/backend/simple_test.rb +84 -0
- data/vendor/bundle/gems/i18n-0.7.0/test/backend/transliterator_test.rb +84 -0
- data/vendor/bundle/gems/i18n-0.7.0/test/core_ext/hash_test.rb +30 -0
- data/vendor/bundle/gems/i18n-0.7.0/test/gettext/api_test.rb +207 -0
- data/vendor/bundle/gems/i18n-0.7.0/test/gettext/backend_test.rb +92 -0
- data/vendor/bundle/gems/i18n-0.7.0/test/i18n/exceptions_test.rb +105 -0
- data/vendor/bundle/gems/i18n-0.7.0/test/i18n/interpolate_test.rb +80 -0
- data/vendor/bundle/gems/i18n-0.7.0/test/i18n/load_path_test.rb +34 -0
- data/vendor/bundle/gems/i18n-0.7.0/test/i18n_test.rb +429 -0
- data/vendor/bundle/gems/i18n-0.7.0/test/locale/fallbacks_test.rb +133 -0
- data/vendor/bundle/gems/i18n-0.7.0/test/locale/tag/rfc4646_test.rb +143 -0
- data/vendor/bundle/gems/i18n-0.7.0/test/locale/tag/simple_test.rb +32 -0
- data/vendor/bundle/gems/i18n-0.7.0/test/run_all.rb +20 -0
- data/vendor/bundle/gems/i18n-0.7.0/test/test_data/locales/de.po +82 -0
- data/vendor/bundle/gems/i18n-0.7.0/test/test_data/locales/en.rb +3 -0
- data/vendor/bundle/gems/i18n-0.7.0/test/test_data/locales/en.yml +3 -0
- data/vendor/bundle/gems/i18n-0.7.0/test/test_data/locales/invalid/empty.yml +0 -0
- data/vendor/bundle/gems/i18n-0.7.0/test/test_data/locales/invalid/syntax.yml +4 -0
- data/vendor/bundle/gems/i18n-0.7.0/test/test_data/locales/plurals.rb +113 -0
- data/vendor/bundle/gems/i18n-0.7.0/test/test_helper.rb +55 -0
- data/vendor/bundle/gems/json-2.0.1/CHANGES.md +371 -0
- data/vendor/bundle/gems/json-2.0.1/Gemfile +9 -0
- data/vendor/bundle/gems/json-2.0.1/README-json-jruby.md +33 -0
- data/vendor/bundle/gems/json-2.0.1/README.md +392 -0
- data/vendor/bundle/gems/json-2.0.1/Rakefile +409 -0
- data/vendor/bundle/gems/json-2.0.1/VERSION +1 -0
- data/vendor/bundle/gems/json-2.0.1/data/example.json +1 -0
- data/vendor/bundle/gems/json-2.0.1/data/index.html +38 -0
- data/vendor/bundle/gems/json-2.0.1/data/prototype.js +4184 -0
- data/vendor/bundle/gems/json-2.0.1/ext/json/Makefile +196 -0
- data/vendor/bundle/gems/json-2.0.1/ext/json/ext/fbuffer/fbuffer.h +190 -0
- data/vendor/bundle/gems/json-2.0.1/ext/json/ext/generator/Makefile +262 -0
- data/vendor/bundle/gems/json-2.0.1/ext/json/ext/generator/depend +1 -0
- data/vendor/bundle/gems/json-2.0.1/ext/json/ext/generator/extconf.rb +4 -0
- data/vendor/bundle/gems/json-2.0.1/ext/json/ext/generator/generator.bundle +0 -0
- data/vendor/bundle/gems/json-2.0.1/ext/json/ext/generator/generator.c +1442 -0
- data/vendor/bundle/gems/json-2.0.1/ext/json/ext/generator/generator.h +172 -0
- data/vendor/bundle/gems/json-2.0.1/ext/json/ext/generator/generator.o +0 -0
- data/vendor/bundle/gems/json-2.0.1/ext/json/ext/parser/Makefile +262 -0
- data/vendor/bundle/gems/json-2.0.1/ext/json/ext/parser/depend +1 -0
- data/vendor/bundle/gems/json-2.0.1/ext/json/ext/parser/extconf.rb +6 -0
- data/vendor/bundle/gems/json-2.0.1/ext/json/ext/parser/parser.bundle +0 -0
- data/vendor/bundle/gems/json-2.0.1/ext/json/ext/parser/parser.c +2081 -0
- data/vendor/bundle/gems/json-2.0.1/ext/json/ext/parser/parser.h +90 -0
- data/vendor/bundle/gems/json-2.0.1/ext/json/ext/parser/parser.o +0 -0
- data/vendor/bundle/gems/json-2.0.1/ext/json/ext/parser/parser.rl +841 -0
- data/vendor/bundle/gems/json-2.0.1/ext/json/extconf.rb +2 -0
- data/vendor/bundle/gems/json-2.0.1/install.rb +23 -0
- data/vendor/bundle/gems/json-2.0.1/java/src/json/ext/ByteListTranscoder.java +166 -0
- data/vendor/bundle/gems/json-2.0.1/java/src/json/ext/Generator.java +443 -0
- data/vendor/bundle/gems/json-2.0.1/java/src/json/ext/GeneratorMethods.java +231 -0
- data/vendor/bundle/gems/json-2.0.1/java/src/json/ext/GeneratorService.java +42 -0
- data/vendor/bundle/gems/json-2.0.1/java/src/json/ext/GeneratorState.java +490 -0
- data/vendor/bundle/gems/json-2.0.1/java/src/json/ext/OptionsReader.java +113 -0
- data/vendor/bundle/gems/json-2.0.1/java/src/json/ext/Parser.java +2344 -0
- data/vendor/bundle/gems/json-2.0.1/java/src/json/ext/Parser.rl +875 -0
- data/vendor/bundle/gems/json-2.0.1/java/src/json/ext/ParserService.java +34 -0
- data/vendor/bundle/gems/json-2.0.1/java/src/json/ext/RuntimeInfo.java +116 -0
- data/vendor/bundle/gems/json-2.0.1/java/src/json/ext/StringDecoder.java +166 -0
- data/vendor/bundle/gems/json-2.0.1/java/src/json/ext/StringEncoder.java +111 -0
- data/vendor/bundle/gems/json-2.0.1/java/src/json/ext/Utils.java +88 -0
- data/vendor/bundle/gems/json-2.0.1/json-java.gemspec +38 -0
- data/vendor/bundle/gems/json-2.0.1/json.gemspec +0 -0
- data/vendor/bundle/gems/json-2.0.1/json_pure.gemspec +37 -0
- data/vendor/bundle/gems/json-2.0.1/lib/json.rb +63 -0
- data/vendor/bundle/gems/json-2.0.1/lib/json/add/bigdecimal.rb +29 -0
- data/vendor/bundle/gems/json-2.0.1/lib/json/add/complex.rb +29 -0
- data/vendor/bundle/gems/json-2.0.1/lib/json/add/core.rb +12 -0
- data/vendor/bundle/gems/json-2.0.1/lib/json/add/date.rb +34 -0
- data/vendor/bundle/gems/json-2.0.1/lib/json/add/date_time.rb +50 -0
- data/vendor/bundle/gems/json-2.0.1/lib/json/add/exception.rb +31 -0
- data/vendor/bundle/gems/json-2.0.1/lib/json/add/ostruct.rb +31 -0
- data/vendor/bundle/gems/json-2.0.1/lib/json/add/range.rb +29 -0
- data/vendor/bundle/gems/json-2.0.1/lib/json/add/rational.rb +28 -0
- data/vendor/bundle/gems/json-2.0.1/lib/json/add/regexp.rb +30 -0
- data/vendor/bundle/gems/json-2.0.1/lib/json/add/struct.rb +30 -0
- data/vendor/bundle/gems/json-2.0.1/lib/json/add/symbol.rb +25 -0
- data/vendor/bundle/gems/json-2.0.1/lib/json/add/time.rb +38 -0
- data/vendor/bundle/gems/json-2.0.1/lib/json/common.rb +456 -0
- data/vendor/bundle/gems/json-2.0.1/lib/json/ext.rb +15 -0
- data/vendor/bundle/gems/json-2.0.1/lib/json/ext/generator.bundle +0 -0
- data/vendor/bundle/gems/json-2.0.1/lib/json/ext/parser.bundle +0 -0
- data/vendor/bundle/gems/json-2.0.1/lib/json/generic_object.rb +71 -0
- data/vendor/bundle/gems/json-2.0.1/lib/json/pure.rb +15 -0
- data/vendor/bundle/gems/json-2.0.1/lib/json/pure/generator.rb +458 -0
- data/vendor/bundle/gems/json-2.0.1/lib/json/pure/parser.rb +307 -0
- data/vendor/bundle/gems/json-2.0.1/lib/json/version.rb +9 -0
- data/vendor/bundle/gems/json-2.0.1/references/rfc7159.txt +899 -0
- data/vendor/bundle/gems/json-2.0.1/tests/fixtures/fail10.json +1 -0
- data/vendor/bundle/gems/json-2.0.1/tests/fixtures/fail11.json +1 -0
- data/vendor/bundle/gems/json-2.0.1/tests/fixtures/fail12.json +1 -0
- data/vendor/bundle/gems/json-2.0.1/tests/fixtures/fail13.json +1 -0
- data/vendor/bundle/gems/json-2.0.1/tests/fixtures/fail14.json +1 -0
- data/vendor/bundle/gems/json-2.0.1/tests/fixtures/fail18.json +1 -0
- data/vendor/bundle/gems/json-2.0.1/tests/fixtures/fail19.json +1 -0
- data/vendor/bundle/gems/json-2.0.1/tests/fixtures/fail2.json +1 -0
- data/vendor/bundle/gems/json-2.0.1/tests/fixtures/fail20.json +1 -0
- data/vendor/bundle/gems/json-2.0.1/tests/fixtures/fail21.json +1 -0
- data/vendor/bundle/gems/json-2.0.1/tests/fixtures/fail22.json +1 -0
- data/vendor/bundle/gems/json-2.0.1/tests/fixtures/fail23.json +1 -0
- data/vendor/bundle/gems/json-2.0.1/tests/fixtures/fail24.json +1 -0
- data/vendor/bundle/gems/json-2.0.1/tests/fixtures/fail25.json +1 -0
- data/vendor/bundle/gems/json-2.0.1/tests/fixtures/fail27.json +2 -0
- data/vendor/bundle/gems/json-2.0.1/tests/fixtures/fail28.json +2 -0
- data/vendor/bundle/gems/json-2.0.1/tests/fixtures/fail3.json +1 -0
- data/vendor/bundle/gems/json-2.0.1/tests/fixtures/fail4.json +1 -0
- data/vendor/bundle/gems/json-2.0.1/tests/fixtures/fail5.json +1 -0
- data/vendor/bundle/gems/json-2.0.1/tests/fixtures/fail6.json +1 -0
- data/vendor/bundle/gems/json-2.0.1/tests/fixtures/fail7.json +1 -0
- data/vendor/bundle/gems/json-2.0.1/tests/fixtures/fail8.json +1 -0
- data/vendor/bundle/gems/json-2.0.1/tests/fixtures/fail9.json +1 -0
- data/vendor/bundle/gems/json-2.0.1/tests/fixtures/obsolete_fail1.json +1 -0
- data/vendor/bundle/gems/json-2.0.1/tests/fixtures/pass1.json +56 -0
- data/vendor/bundle/gems/json-2.0.1/tests/fixtures/pass15.json +1 -0
- data/vendor/bundle/gems/json-2.0.1/tests/fixtures/pass16.json +1 -0
- data/vendor/bundle/gems/json-2.0.1/tests/fixtures/pass17.json +1 -0
- data/vendor/bundle/gems/json-2.0.1/tests/fixtures/pass2.json +1 -0
- data/vendor/bundle/gems/json-2.0.1/tests/fixtures/pass26.json +1 -0
- data/vendor/bundle/gems/json-2.0.1/tests/fixtures/pass3.json +6 -0
- data/vendor/bundle/gems/json-2.0.1/tests/json_addition_test.rb +193 -0
- data/vendor/bundle/gems/json-2.0.1/tests/json_common_interface_test.rb +126 -0
- data/vendor/bundle/gems/json-2.0.1/tests/json_encoding_test.rb +105 -0
- data/vendor/bundle/gems/json-2.0.1/tests/json_ext_parser_test.rb +15 -0
- data/vendor/bundle/gems/json-2.0.1/tests/json_fixtures_test.rb +32 -0
- data/vendor/bundle/gems/json-2.0.1/tests/json_generator_test.rb +376 -0
- data/vendor/bundle/gems/json-2.0.1/tests/json_generic_object_test.rb +82 -0
- data/vendor/bundle/gems/json-2.0.1/tests/json_parser_test.rb +448 -0
- data/vendor/bundle/gems/json-2.0.1/tests/json_string_matching_test.rb +38 -0
- data/vendor/bundle/gems/json-2.0.1/tests/test_helper.rb +23 -0
- data/vendor/bundle/gems/json-2.0.1/tools/diff.sh +18 -0
- data/vendor/bundle/gems/json-2.0.1/tools/fuzz.rb +131 -0
- data/vendor/bundle/gems/json-2.0.1/tools/server.rb +62 -0
- data/vendor/bundle/gems/json-2.0.2/CHANGES.md +375 -0
- data/vendor/bundle/gems/json-2.0.2/Gemfile +9 -0
- data/vendor/bundle/gems/json-2.0.2/README-json-jruby.md +33 -0
- data/vendor/bundle/gems/json-2.0.2/README.md +392 -0
- data/vendor/bundle/gems/json-2.0.2/Rakefile +410 -0
- data/vendor/bundle/gems/json-2.0.2/VERSION +1 -0
- data/vendor/bundle/gems/json-2.0.2/data/example.json +1 -0
- data/vendor/bundle/gems/json-2.0.2/data/index.html +38 -0
- data/vendor/bundle/gems/json-2.0.2/data/prototype.js +4184 -0
- data/vendor/bundle/gems/json-2.0.2/ext/json/Makefile +196 -0
- data/vendor/bundle/gems/json-2.0.2/ext/json/ext/fbuffer/fbuffer.h +190 -0
- data/vendor/bundle/gems/json-2.0.2/ext/json/ext/generator/Makefile +262 -0
- data/vendor/bundle/gems/json-2.0.2/ext/json/ext/generator/depend +1 -0
- data/vendor/bundle/gems/json-2.0.2/ext/json/ext/generator/extconf.rb +4 -0
- data/vendor/bundle/gems/json-2.0.2/ext/json/ext/generator/generator.bundle +0 -0
- data/vendor/bundle/gems/json-2.0.2/ext/json/ext/generator/generator.c +1443 -0
- data/vendor/bundle/gems/json-2.0.2/ext/json/ext/generator/generator.h +172 -0
- data/vendor/bundle/gems/json-2.0.2/ext/json/ext/generator/generator.o +0 -0
- data/vendor/bundle/gems/json-2.0.2/ext/json/ext/parser/Makefile +262 -0
- data/vendor/bundle/gems/json-2.0.2/ext/json/ext/parser/depend +1 -0
- data/vendor/bundle/gems/json-2.0.2/ext/json/ext/parser/extconf.rb +6 -0
- data/vendor/bundle/gems/json-2.0.2/ext/json/ext/parser/parser.bundle +0 -0
- data/vendor/bundle/gems/json-2.0.2/ext/json/ext/parser/parser.c +2084 -0
- data/vendor/bundle/gems/json-2.0.2/ext/json/ext/parser/parser.h +90 -0
- data/vendor/bundle/gems/json-2.0.2/ext/json/ext/parser/parser.o +0 -0
- data/vendor/bundle/gems/json-2.0.2/ext/json/ext/parser/parser.rl +844 -0
- data/vendor/bundle/gems/json-2.0.2/ext/json/extconf.rb +2 -0
- data/vendor/bundle/gems/json-2.0.2/install.rb +23 -0
- data/vendor/bundle/gems/json-2.0.2/java/src/json/ext/ByteListTranscoder.java +166 -0
- data/vendor/bundle/gems/json-2.0.2/java/src/json/ext/Generator.java +443 -0
- data/vendor/bundle/gems/json-2.0.2/java/src/json/ext/GeneratorMethods.java +231 -0
- data/vendor/bundle/gems/json-2.0.2/java/src/json/ext/GeneratorService.java +42 -0
- data/vendor/bundle/gems/json-2.0.2/java/src/json/ext/GeneratorState.java +490 -0
- data/vendor/bundle/gems/json-2.0.2/java/src/json/ext/OptionsReader.java +113 -0
- data/vendor/bundle/gems/json-2.0.2/java/src/json/ext/Parser.java +2347 -0
- data/vendor/bundle/gems/json-2.0.2/java/src/json/ext/Parser.rl +878 -0
- data/vendor/bundle/gems/json-2.0.2/java/src/json/ext/ParserService.java +34 -0
- data/vendor/bundle/gems/json-2.0.2/java/src/json/ext/RuntimeInfo.java +116 -0
- data/vendor/bundle/gems/json-2.0.2/java/src/json/ext/StringDecoder.java +166 -0
- data/vendor/bundle/gems/json-2.0.2/java/src/json/ext/StringEncoder.java +111 -0
- data/vendor/bundle/gems/json-2.0.2/java/src/json/ext/Utils.java +88 -0
- data/vendor/bundle/gems/json-2.0.2/json-java.gemspec +38 -0
- data/vendor/bundle/gems/json-2.0.2/json.gemspec +0 -0
- data/vendor/bundle/gems/json-2.0.2/json_pure.gemspec +38 -0
- data/vendor/bundle/gems/json-2.0.2/lib/json.rb +63 -0
- data/vendor/bundle/gems/json-2.0.2/lib/json/add/bigdecimal.rb +29 -0
- data/vendor/bundle/gems/json-2.0.2/lib/json/add/complex.rb +29 -0
- data/vendor/bundle/gems/json-2.0.2/lib/json/add/core.rb +12 -0
- data/vendor/bundle/gems/json-2.0.2/lib/json/add/date.rb +34 -0
- data/vendor/bundle/gems/json-2.0.2/lib/json/add/date_time.rb +50 -0
- data/vendor/bundle/gems/json-2.0.2/lib/json/add/exception.rb +31 -0
- data/vendor/bundle/gems/json-2.0.2/lib/json/add/ostruct.rb +31 -0
- data/vendor/bundle/gems/json-2.0.2/lib/json/add/range.rb +29 -0
- data/vendor/bundle/gems/json-2.0.2/lib/json/add/rational.rb +28 -0
- data/vendor/bundle/gems/json-2.0.2/lib/json/add/regexp.rb +30 -0
- data/vendor/bundle/gems/json-2.0.2/lib/json/add/struct.rb +30 -0
- data/vendor/bundle/gems/json-2.0.2/lib/json/add/symbol.rb +25 -0
- data/vendor/bundle/gems/json-2.0.2/lib/json/add/time.rb +38 -0
- data/vendor/bundle/gems/json-2.0.2/lib/json/common.rb +456 -0
- data/vendor/bundle/gems/json-2.0.2/lib/json/ext.rb +15 -0
- data/vendor/bundle/gems/json-2.0.2/lib/json/ext/generator.bundle +0 -0
- data/vendor/bundle/gems/json-2.0.2/lib/json/ext/parser.bundle +0 -0
- data/vendor/bundle/gems/json-2.0.2/lib/json/generic_object.rb +71 -0
- data/vendor/bundle/gems/json-2.0.2/lib/json/pure.rb +15 -0
- data/vendor/bundle/gems/json-2.0.2/lib/json/pure/generator.rb +458 -0
- data/vendor/bundle/gems/json-2.0.2/lib/json/pure/parser.rb +307 -0
- data/vendor/bundle/gems/json-2.0.2/lib/json/version.rb +9 -0
- data/vendor/bundle/gems/json-2.0.2/references/rfc7159.txt +899 -0
- data/vendor/bundle/gems/json-2.0.2/tests/fixtures/fail10.json +1 -0
- data/vendor/bundle/gems/json-2.0.2/tests/fixtures/fail11.json +1 -0
- data/vendor/bundle/gems/json-2.0.2/tests/fixtures/fail12.json +1 -0
- data/vendor/bundle/gems/json-2.0.2/tests/fixtures/fail13.json +1 -0
- data/vendor/bundle/gems/json-2.0.2/tests/fixtures/fail14.json +1 -0
- data/vendor/bundle/gems/json-2.0.2/tests/fixtures/fail18.json +1 -0
- data/vendor/bundle/gems/json-2.0.2/tests/fixtures/fail19.json +1 -0
- data/vendor/bundle/gems/json-2.0.2/tests/fixtures/fail2.json +1 -0
- data/vendor/bundle/gems/json-2.0.2/tests/fixtures/fail20.json +1 -0
- data/vendor/bundle/gems/json-2.0.2/tests/fixtures/fail21.json +1 -0
- data/vendor/bundle/gems/json-2.0.2/tests/fixtures/fail22.json +1 -0
- data/vendor/bundle/gems/json-2.0.2/tests/fixtures/fail23.json +1 -0
- data/vendor/bundle/gems/json-2.0.2/tests/fixtures/fail24.json +1 -0
- data/vendor/bundle/gems/json-2.0.2/tests/fixtures/fail25.json +1 -0
- data/vendor/bundle/gems/json-2.0.2/tests/fixtures/fail27.json +2 -0
- data/vendor/bundle/gems/json-2.0.2/tests/fixtures/fail28.json +2 -0
- data/vendor/bundle/gems/json-2.0.2/tests/fixtures/fail3.json +1 -0
- data/vendor/bundle/gems/json-2.0.2/tests/fixtures/fail4.json +1 -0
- data/vendor/bundle/gems/json-2.0.2/tests/fixtures/fail5.json +1 -0
- data/vendor/bundle/gems/json-2.0.2/tests/fixtures/fail6.json +1 -0
- data/vendor/bundle/gems/json-2.0.2/tests/fixtures/fail7.json +1 -0
- data/vendor/bundle/gems/json-2.0.2/tests/fixtures/fail8.json +1 -0
- data/vendor/bundle/gems/json-2.0.2/tests/fixtures/fail9.json +1 -0
- data/vendor/bundle/gems/json-2.0.2/tests/fixtures/obsolete_fail1.json +1 -0
- data/vendor/bundle/gems/json-2.0.2/tests/fixtures/pass1.json +56 -0
- data/vendor/bundle/gems/json-2.0.2/tests/fixtures/pass15.json +1 -0
- data/vendor/bundle/gems/json-2.0.2/tests/fixtures/pass16.json +1 -0
- data/vendor/bundle/gems/json-2.0.2/tests/fixtures/pass17.json +1 -0
- data/vendor/bundle/gems/json-2.0.2/tests/fixtures/pass2.json +1 -0
- data/vendor/bundle/gems/json-2.0.2/tests/fixtures/pass26.json +1 -0
- data/vendor/bundle/gems/json-2.0.2/tests/fixtures/pass3.json +6 -0
- data/vendor/bundle/gems/json-2.0.2/tests/json_addition_test.rb +193 -0
- data/vendor/bundle/gems/json-2.0.2/tests/json_common_interface_test.rb +126 -0
- data/vendor/bundle/gems/json-2.0.2/tests/json_encoding_test.rb +105 -0
- data/vendor/bundle/gems/json-2.0.2/tests/json_ext_parser_test.rb +15 -0
- data/vendor/bundle/gems/json-2.0.2/tests/json_fixtures_test.rb +32 -0
- data/vendor/bundle/gems/json-2.0.2/tests/json_generator_test.rb +376 -0
- data/vendor/bundle/gems/json-2.0.2/tests/json_generic_object_test.rb +82 -0
- data/vendor/bundle/gems/json-2.0.2/tests/json_parser_test.rb +466 -0
- data/vendor/bundle/gems/json-2.0.2/tests/json_string_matching_test.rb +38 -0
- data/vendor/bundle/gems/json-2.0.2/tests/test_helper.rb +23 -0
- data/vendor/bundle/gems/json-2.0.2/tools/diff.sh +18 -0
- data/vendor/bundle/gems/json-2.0.2/tools/fuzz.rb +131 -0
- data/vendor/bundle/gems/json-2.0.2/tools/server.rb +62 -0
- data/vendor/bundle/gems/loofah-2.0.3/CHANGELOG.rdoc +222 -0
- data/vendor/bundle/gems/loofah-2.0.3/Gemfile +20 -0
- data/vendor/bundle/gems/loofah-2.0.3/MIT-LICENSE.txt +23 -0
- data/vendor/bundle/gems/loofah-2.0.3/Manifest.txt +37 -0
- data/vendor/bundle/gems/loofah-2.0.3/README.rdoc +314 -0
- data/vendor/bundle/gems/loofah-2.0.3/Rakefile +74 -0
- data/vendor/bundle/gems/loofah-2.0.3/benchmark/benchmark.rb +149 -0
- data/vendor/bundle/gems/loofah-2.0.3/benchmark/fragment.html +96 -0
- data/vendor/bundle/gems/loofah-2.0.3/benchmark/helper.rb +73 -0
- data/vendor/bundle/gems/loofah-2.0.3/benchmark/www.slashdot.com.html +2560 -0
- data/vendor/bundle/gems/loofah-2.0.3/lib/loofah.rb +82 -0
- data/vendor/bundle/gems/loofah-2.0.3/lib/loofah/elements.rb +17 -0
- data/vendor/bundle/gems/loofah-2.0.3/lib/loofah/helpers.rb +93 -0
- data/vendor/bundle/gems/loofah-2.0.3/lib/loofah/html/document.rb +18 -0
- data/vendor/bundle/gems/loofah-2.0.3/lib/loofah/html/document_fragment.rb +40 -0
- data/vendor/bundle/gems/loofah-2.0.3/lib/loofah/html5/scrub.rb +96 -0
- data/vendor/bundle/gems/loofah-2.0.3/lib/loofah/html5/whitelist.rb +179 -0
- data/vendor/bundle/gems/loofah-2.0.3/lib/loofah/instance_methods.rb +127 -0
- data/vendor/bundle/gems/loofah-2.0.3/lib/loofah/metahelpers.rb +13 -0
- data/vendor/bundle/gems/loofah-2.0.3/lib/loofah/scrubber.rb +122 -0
- data/vendor/bundle/gems/loofah-2.0.3/lib/loofah/scrubbers.rb +261 -0
- data/vendor/bundle/gems/loofah-2.0.3/lib/loofah/xml/document.rb +13 -0
- data/vendor/bundle/gems/loofah-2.0.3/lib/loofah/xml/document_fragment.rb +23 -0
- data/vendor/bundle/gems/loofah-2.0.3/test/assets/testdata_sanitizer_tests1.dat +501 -0
- data/vendor/bundle/gems/loofah-2.0.3/test/helper.rb +18 -0
- data/vendor/bundle/gems/loofah-2.0.3/test/html5/test_sanitizer.rb +290 -0
- data/vendor/bundle/gems/loofah-2.0.3/test/integration/test_ad_hoc.rb +176 -0
- data/vendor/bundle/gems/loofah-2.0.3/test/integration/test_helpers.rb +43 -0
- data/vendor/bundle/gems/loofah-2.0.3/test/integration/test_html.rb +62 -0
- data/vendor/bundle/gems/loofah-2.0.3/test/integration/test_scrubbers.rb +354 -0
- data/vendor/bundle/gems/loofah-2.0.3/test/integration/test_xml.rb +55 -0
- data/vendor/bundle/gems/loofah-2.0.3/test/unit/test_api.rb +142 -0
- data/vendor/bundle/gems/loofah-2.0.3/test/unit/test_encoding.rb +20 -0
- data/vendor/bundle/gems/loofah-2.0.3/test/unit/test_helpers.rb +62 -0
- data/vendor/bundle/gems/loofah-2.0.3/test/unit/test_scrubber.rb +229 -0
- data/vendor/bundle/gems/loofah-2.0.3/test/unit/test_scrubbers.rb +14 -0
- data/vendor/bundle/gems/mail-2.6.4/CHANGELOG.rdoc +787 -0
- data/vendor/bundle/gems/mail-2.6.4/CONTRIBUTING.md +60 -0
- data/vendor/bundle/gems/mail-2.6.4/Dependencies.txt +2 -0
- data/vendor/bundle/gems/mail-2.6.4/Gemfile +11 -0
- data/vendor/bundle/gems/mail-2.6.4/MIT-LICENSE +20 -0
- data/vendor/bundle/gems/mail-2.6.4/README.md +719 -0
- data/vendor/bundle/gems/mail-2.6.4/Rakefile +29 -0
- data/vendor/bundle/gems/mail-2.6.4/TODO.rdoc +9 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail.rb +98 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/attachments_list.rb +106 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/body.rb +316 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/check_delivery_params.rb +21 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/configuration.rb +76 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/constants.rb +57 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/core_extensions/smtp.rb +25 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/core_extensions/string.rb +21 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/core_extensions/string/access.rb +146 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/core_extensions/string/multibyte.rb +79 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/elements.rb +15 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/elements/address.rb +247 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/elements/address_list.rb +42 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/elements/content_disposition_element.rb +27 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/elements/content_location_element.rb +22 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/elements/content_transfer_encoding_element.rb +18 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/elements/content_type_element.rb +32 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/elements/date_time_element.rb +23 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/elements/envelope_from_element.rb +40 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/elements/message_ids_element.rb +26 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/elements/mime_version_element.rb +23 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/elements/phrase_list.rb +17 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/elements/received_element.rb +27 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/encodings.rb +287 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/encodings/7bit.rb +32 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/encodings/8bit.rb +37 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/encodings/base64.rb +39 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/encodings/binary.rb +32 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/encodings/quoted_printable.rb +45 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/encodings/transfer_encoding.rb +68 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/encodings/unix_to_unix.rb +18 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/envelope.rb +31 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/field.rb +262 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/field_list.rb +34 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/fields.rb +36 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/fields/bcc_field.rb +68 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/fields/cc_field.rb +55 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/fields/comments_field.rb +42 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/fields/common/address_container.rb +17 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/fields/common/common_address.rb +136 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/fields/common/common_date.rb +36 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/fields/common/common_field.rb +61 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/fields/common/common_message_id.rb +49 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/fields/common/parameter_hash.rb +59 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/fields/content_description_field.rb +20 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/fields/content_disposition_field.rb +71 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/fields/content_id_field.rb +63 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/fields/content_location_field.rb +43 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/fields/content_transfer_encoding_field.rb +45 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/fields/content_type_field.rb +202 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/fields/date_field.rb +58 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/fields/from_field.rb +55 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/fields/in_reply_to_field.rb +57 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/fields/keywords_field.rb +44 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/fields/message_id_field.rb +83 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/fields/mime_version_field.rb +54 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/fields/optional_field.rb +14 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/fields/received_field.rb +76 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/fields/references_field.rb +57 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/fields/reply_to_field.rb +55 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/fields/resent_bcc_field.rb +55 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/fields/resent_cc_field.rb +55 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/fields/resent_date_field.rb +36 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/fields/resent_from_field.rb +55 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/fields/resent_message_id_field.rb +35 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/fields/resent_sender_field.rb +62 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/fields/resent_to_field.rb +55 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/fields/return_path_field.rb +65 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/fields/sender_field.rb +67 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/fields/structured_field.rb +52 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/fields/subject_field.rb +17 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/fields/to_field.rb +55 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/fields/unstructured_field.rb +205 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/header.rb +276 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/indifferent_hash.rb +147 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/mail.rb +270 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/matchers/attachment_matchers.rb +29 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/matchers/has_sent_mail.rb +181 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/message.rb +2160 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/multibyte.rb +43 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/multibyte/chars.rb +475 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/multibyte/exceptions.rb +9 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/multibyte/unicode.rb +405 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/multibyte/utils.rb +61 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/network.rb +15 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/network/delivery_methods/exim.rb +53 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/network/delivery_methods/file_delivery.rb +46 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/network/delivery_methods/sendmail.rb +90 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/network/delivery_methods/smtp.rb +143 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/network/delivery_methods/smtp_connection.rb +62 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/network/delivery_methods/test_mailer.rb +45 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/network/retriever_methods/base.rb +64 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/network/retriever_methods/imap.rb +174 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/network/retriever_methods/pop3.rb +141 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/network/retriever_methods/test_retriever.rb +44 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/parsers.rb +27 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/parsers/address_lists_parser.rb +133 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/parsers/content_disposition_parser.rb +68 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/parsers/content_location_parser.rb +36 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/parsers/content_transfer_encoding_parser.rb +34 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/parsers/content_type_parser.rb +67 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/parsers/date_time_parser.rb +39 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/parsers/envelope_from_parser.rb +46 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/parsers/message_ids_parser.rb +40 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/parsers/mime_version_parser.rb +42 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/parsers/phrase_lists_parser.rb +36 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/parsers/ragel.rb +18 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/parsers/ragel/common.rl +185 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/parsers/ragel/date_time.rl +30 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/parsers/ragel/parser_info.rb +61 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/parsers/ragel/ruby.rb +40 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/parsers/ragel/ruby/machines/address_lists_machine.rb +14864 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/parsers/ragel/ruby/machines/address_lists_machine.rb.rl +37 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/parsers/ragel/ruby/machines/content_disposition_machine.rb +751 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/parsers/ragel/ruby/machines/content_disposition_machine.rb.rl +37 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/parsers/ragel/ruby/machines/content_location_machine.rb +614 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/parsers/ragel/ruby/machines/content_location_machine.rb.rl +37 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/parsers/ragel/ruby/machines/content_transfer_encoding_machine.rb +447 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/parsers/ragel/ruby/machines/content_transfer_encoding_machine.rb.rl +37 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/parsers/ragel/ruby/machines/content_type_machine.rb +825 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/parsers/ragel/ruby/machines/content_type_machine.rb.rl +37 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/parsers/ragel/ruby/machines/date_time_machine.rb +817 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/parsers/ragel/ruby/machines/date_time_machine.rb.rl +37 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/parsers/ragel/ruby/machines/envelope_from_machine.rb +2149 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/parsers/ragel/ruby/machines/envelope_from_machine.rb.rl +37 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/parsers/ragel/ruby/machines/message_ids_machine.rb +1570 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/parsers/ragel/ruby/machines/message_ids_machine.rb.rl +37 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/parsers/ragel/ruby/machines/mime_version_machine.rb +440 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/parsers/ragel/ruby/machines/mime_version_machine.rb.rl +37 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/parsers/ragel/ruby/machines/phrase_lists_machine.rb +564 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/parsers/ragel/ruby/machines/phrase_lists_machine.rb.rl +37 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/parsers/ragel/ruby/machines/rb_actions.rl +51 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/parsers/ragel/ruby/machines/received_machine.rb +5144 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/parsers/ragel/ruby/machines/received_machine.rb.rl +37 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/parsers/ragel/ruby/parser.rb.rl.erb +37 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/parsers/received_parser.rb +49 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/part.rb +123 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/parts_list.rb +75 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/utilities.rb +279 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/values/unicode_tables.dat +0 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/version.rb +17 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/version_specific/ruby_1_8.rb +126 -0
- data/vendor/bundle/gems/mail-2.6.4/lib/mail/version_specific/ruby_1_9.rb +223 -0
- data/vendor/bundle/gems/method_source-0.8.2/Gemfile +2 -0
- data/vendor/bundle/gems/method_source-0.8.2/LICENSE +25 -0
- data/vendor/bundle/gems/method_source-0.8.2/README.markdown +91 -0
- data/vendor/bundle/gems/method_source-0.8.2/Rakefile +79 -0
- data/vendor/bundle/gems/method_source-0.8.2/lib/method_source.rb +141 -0
- data/vendor/bundle/gems/method_source-0.8.2/lib/method_source/code_helpers.rb +154 -0
- data/vendor/bundle/gems/method_source-0.8.2/lib/method_source/source_location.rb +138 -0
- data/vendor/bundle/gems/method_source-0.8.2/lib/method_source/version.rb +3 -0
- data/vendor/bundle/gems/method_source-0.8.2/method_source.gemspec +33 -0
- data/vendor/bundle/gems/method_source-0.8.2/test/test.rb +138 -0
- data/vendor/bundle/gems/method_source-0.8.2/test/test_code_helpers.rb +41 -0
- data/vendor/bundle/gems/method_source-0.8.2/test/test_helper.rb +98 -0
- data/vendor/bundle/gems/mime-types-3.1/Code-of-Conduct.rdoc +74 -0
- data/vendor/bundle/gems/mime-types-3.1/Contributing.rdoc +130 -0
- data/vendor/bundle/gems/mime-types-3.1/History.rdoc +658 -0
- data/vendor/bundle/gems/mime-types-3.1/Licence.rdoc +25 -0
- data/vendor/bundle/gems/mime-types-3.1/Manifest.txt +31 -0
- data/vendor/bundle/gems/mime-types-3.1/README.rdoc +202 -0
- data/vendor/bundle/gems/mime-types-3.1/Rakefile +254 -0
- data/vendor/bundle/gems/mime-types-3.1/lib/mime-types.rb +1 -0
- data/vendor/bundle/gems/mime-types-3.1/lib/mime/type.rb +573 -0
- data/vendor/bundle/gems/mime-types-3.1/lib/mime/type/columnar.rb +55 -0
- data/vendor/bundle/gems/mime-types-3.1/lib/mime/types.rb +228 -0
- data/vendor/bundle/gems/mime-types-3.1/lib/mime/types/_columnar.rb +135 -0
- data/vendor/bundle/gems/mime-types-3.1/lib/mime/types/cache.rb +56 -0
- data/vendor/bundle/gems/mime-types-3.1/lib/mime/types/columnar.rb +1 -0
- data/vendor/bundle/gems/mime-types-3.1/lib/mime/types/container.rb +30 -0
- data/vendor/bundle/gems/mime-types-3.1/lib/mime/types/deprecations.rb +32 -0
- data/vendor/bundle/gems/mime-types-3.1/lib/mime/types/full.rb +17 -0
- data/vendor/bundle/gems/mime-types-3.1/lib/mime/types/loader.rb +148 -0
- data/vendor/bundle/gems/mime-types-3.1/lib/mime/types/logger.rb +37 -0
- data/vendor/bundle/gems/mime-types-3.1/lib/mime/types/registry.rb +81 -0
- data/vendor/bundle/gems/mime-types-3.1/test/bad-fixtures/malformed +9 -0
- data/vendor/bundle/gems/mime-types-3.1/test/fixture/json.json +1 -0
- data/vendor/bundle/gems/mime-types-3.1/test/fixture/old-data +9 -0
- data/vendor/bundle/gems/mime-types-3.1/test/fixture/yaml.yaml +55 -0
- data/vendor/bundle/gems/mime-types-3.1/test/minitest_helper.rb +13 -0
- data/vendor/bundle/gems/mime-types-3.1/test/test_mime_type.rb +603 -0
- data/vendor/bundle/gems/mime-types-3.1/test/test_mime_types.rb +161 -0
- data/vendor/bundle/gems/mime-types-3.1/test/test_mime_types_cache.rb +109 -0
- data/vendor/bundle/gems/mime-types-3.1/test/test_mime_types_class.rb +155 -0
- data/vendor/bundle/gems/mime-types-3.1/test/test_mime_types_lazy.rb +43 -0
- data/vendor/bundle/gems/mime-types-3.1/test/test_mime_types_loader.rb +32 -0
- data/vendor/bundle/gems/mime-types-data-3.2016.0521/Code-of-Conduct.md +75 -0
- data/vendor/bundle/gems/mime-types-data-3.2016.0521/Contributing.md +157 -0
- data/vendor/bundle/gems/mime-types-data-3.2016.0521/History.md +351 -0
- data/vendor/bundle/gems/mime-types-data-3.2016.0521/Licence.md +25 -0
- data/vendor/bundle/gems/mime-types-data-3.2016.0521/Manifest.txt +18 -0
- data/vendor/bundle/gems/mime-types-data-3.2016.0521/README.md +61 -0
- data/vendor/bundle/gems/mime-types-data-3.2016.0521/Rakefile +80 -0
- data/vendor/bundle/gems/mime-types-data-3.2016.0521/data/mime-types.json +1 -0
- data/vendor/bundle/gems/mime-types-data-3.2016.0521/data/mime.content_type.column +1964 -0
- data/vendor/bundle/gems/mime-types-data-3.2016.0521/data/mime.docs.column +1964 -0
- data/vendor/bundle/gems/mime-types-data-3.2016.0521/data/mime.encoding.column +1964 -0
- data/vendor/bundle/gems/mime-types-data-3.2016.0521/data/mime.flags.column +1964 -0
- data/vendor/bundle/gems/mime-types-data-3.2016.0521/data/mime.friendly.column +1964 -0
- data/vendor/bundle/gems/mime-types-data-3.2016.0521/data/mime.pext.column +1964 -0
- data/vendor/bundle/gems/mime-types-data-3.2016.0521/data/mime.use_instead.column +1964 -0
- data/vendor/bundle/gems/mime-types-data-3.2016.0521/data/mime.xrefs.column +1964 -0
- data/vendor/bundle/gems/mime-types-data-3.2016.0521/lib/mime-types-data.rb +3 -0
- data/vendor/bundle/gems/mime-types-data-3.2016.0521/lib/mime/types/data.rb +21 -0
- data/vendor/bundle/gems/mini_portile2-2.1.0/CHANGELOG.md +182 -0
- data/vendor/bundle/gems/mini_portile2-2.1.0/Gemfile +4 -0
- data/vendor/bundle/gems/mini_portile2-2.1.0/LICENSE.txt +20 -0
- data/vendor/bundle/gems/mini_portile2-2.1.0/README.md +199 -0
- data/vendor/bundle/gems/mini_portile2-2.1.0/Rakefile +25 -0
- data/vendor/bundle/gems/mini_portile2-2.1.0/appveyor.yml +24 -0
- data/vendor/bundle/gems/mini_portile2-2.1.0/lib/mini_portile2.rb +2 -0
- data/vendor/bundle/gems/mini_portile2-2.1.0/lib/mini_portile2/mini_portile.rb +507 -0
- data/vendor/bundle/gems/mini_portile2-2.1.0/lib/mini_portile2/version.rb +3 -0
- data/vendor/bundle/gems/mini_portile2-2.1.0/mini_portile2.gemspec +37 -0
- data/vendor/bundle/gems/mini_portile2-2.1.0/test/assets/git/config +4 -0
- data/vendor/bundle/gems/mini_portile2-2.1.0/test/assets/patch 1.diff +7 -0
- data/vendor/bundle/gems/mini_portile2-2.1.0/test/assets/test mini portile-1.0.0/configure +11 -0
- data/vendor/bundle/gems/mini_portile2-2.1.0/test/assets/test-download-archive.tar.gz +1 -0
- data/vendor/bundle/gems/mini_portile2-2.1.0/test/helper.rb +52 -0
- data/vendor/bundle/gems/mini_portile2-2.1.0/test/test_cook.rb +77 -0
- data/vendor/bundle/gems/mini_portile2-2.1.0/test/test_digest.rb +69 -0
- data/vendor/bundle/gems/mini_portile2-2.1.0/test/test_download.rb +71 -0
- data/vendor/bundle/gems/mini_portile2-2.1.0/test/test_proxy.rb +121 -0
- data/vendor/bundle/gems/minitest-5.10.1/History.rdoc +1207 -0
- data/vendor/bundle/gems/minitest-5.10.1/Manifest.txt +26 -0
- data/vendor/bundle/gems/minitest-5.10.1/README.rdoc +660 -0
- data/vendor/bundle/gems/minitest-5.10.1/Rakefile +86 -0
- data/vendor/bundle/gems/minitest-5.10.1/design_rationale.rb +52 -0
- data/vendor/bundle/gems/minitest-5.10.1/lib/hoe/minitest.rb +32 -0
- data/vendor/bundle/gems/minitest-5.10.1/lib/minitest.rb +842 -0
- data/vendor/bundle/gems/minitest-5.10.1/lib/minitest/assertions.rb +688 -0
- data/vendor/bundle/gems/minitest-5.10.1/lib/minitest/autorun.rb +13 -0
- data/vendor/bundle/gems/minitest-5.10.1/lib/minitest/benchmark.rb +424 -0
- data/vendor/bundle/gems/minitest-5.10.1/lib/minitest/expectations.rb +284 -0
- data/vendor/bundle/gems/minitest-5.10.1/lib/minitest/hell.rb +17 -0
- data/vendor/bundle/gems/minitest-5.10.1/lib/minitest/mock.rb +232 -0
- data/vendor/bundle/gems/minitest-5.10.1/lib/minitest/parallel.rb +69 -0
- data/vendor/bundle/gems/minitest-5.10.1/lib/minitest/pride.rb +4 -0
- data/vendor/bundle/gems/minitest-5.10.1/lib/minitest/pride_plugin.rb +142 -0
- data/vendor/bundle/gems/minitest-5.10.1/lib/minitest/spec.rb +331 -0
- data/vendor/bundle/gems/minitest-5.10.1/lib/minitest/test.rb +282 -0
- data/vendor/bundle/gems/minitest-5.10.1/lib/minitest/unit.rb +45 -0
- data/vendor/bundle/gems/minitest-5.10.1/test/minitest/metametameta.rb +101 -0
- data/vendor/bundle/gems/minitest-5.10.1/test/minitest/test_minitest_benchmark.rb +137 -0
- data/vendor/bundle/gems/minitest-5.10.1/test/minitest/test_minitest_mock.rb +512 -0
- data/vendor/bundle/gems/minitest-5.10.1/test/minitest/test_minitest_reporter.rb +281 -0
- data/vendor/bundle/gems/minitest-5.10.1/test/minitest/test_minitest_spec.rb +970 -0
- data/vendor/bundle/gems/minitest-5.10.1/test/minitest/test_minitest_test.rb +2058 -0
- data/vendor/bundle/gems/minitest-5.9.0/History.rdoc +1176 -0
- data/vendor/bundle/gems/minitest-5.9.0/Manifest.txt +26 -0
- data/vendor/bundle/gems/minitest-5.9.0/README.rdoc +656 -0
- data/vendor/bundle/gems/minitest-5.9.0/Rakefile +72 -0
- data/vendor/bundle/gems/minitest-5.9.0/design_rationale.rb +52 -0
- data/vendor/bundle/gems/minitest-5.9.0/lib/hoe/minitest.rb +26 -0
- data/vendor/bundle/gems/minitest-5.9.0/lib/minitest.rb +815 -0
- data/vendor/bundle/gems/minitest-5.9.0/lib/minitest/assertions.rb +674 -0
- data/vendor/bundle/gems/minitest-5.9.0/lib/minitest/autorun.rb +13 -0
- data/vendor/bundle/gems/minitest-5.9.0/lib/minitest/benchmark.rb +424 -0
- data/vendor/bundle/gems/minitest-5.9.0/lib/minitest/expectations.rb +284 -0
- data/vendor/bundle/gems/minitest-5.9.0/lib/minitest/hell.rb +17 -0
- data/vendor/bundle/gems/minitest-5.9.0/lib/minitest/mock.rb +232 -0
- data/vendor/bundle/gems/minitest-5.9.0/lib/minitest/parallel.rb +69 -0
- data/vendor/bundle/gems/minitest-5.9.0/lib/minitest/pride.rb +4 -0
- data/vendor/bundle/gems/minitest-5.9.0/lib/minitest/pride_plugin.rb +142 -0
- data/vendor/bundle/gems/minitest-5.9.0/lib/minitest/spec.rb +331 -0
- data/vendor/bundle/gems/minitest-5.9.0/lib/minitest/test.rb +284 -0
- data/vendor/bundle/gems/minitest-5.9.0/lib/minitest/unit.rb +45 -0
- data/vendor/bundle/gems/minitest-5.9.0/test/minitest/metametameta.rb +90 -0
- data/vendor/bundle/gems/minitest-5.9.0/test/minitest/test_minitest_benchmark.rb +137 -0
- data/vendor/bundle/gems/minitest-5.9.0/test/minitest/test_minitest_mock.rb +512 -0
- data/vendor/bundle/gems/minitest-5.9.0/test/minitest/test_minitest_reporter.rb +281 -0
- data/vendor/bundle/gems/minitest-5.9.0/test/minitest/test_minitest_spec.rb +967 -0
- data/vendor/bundle/gems/minitest-5.9.0/test/minitest/test_minitest_test.rb +1983 -0
- data/vendor/bundle/gems/nio4r-1.2.1/CHANGES.md +113 -0
- data/vendor/bundle/gems/nio4r-1.2.1/Gemfile +15 -0
- data/vendor/bundle/gems/nio4r-1.2.1/LICENSE.txt +20 -0
- data/vendor/bundle/gems/nio4r-1.2.1/README.md +196 -0
- data/vendor/bundle/gems/nio4r-1.2.1/Rakefile +9 -0
- data/vendor/bundle/gems/nio4r-1.2.1/examples/echo_server.rb +46 -0
- data/vendor/bundle/gems/nio4r-1.2.1/ext/libev/Changes +517 -0
- data/vendor/bundle/gems/nio4r-1.2.1/ext/libev/LICENSE +37 -0
- data/vendor/bundle/gems/nio4r-1.2.1/ext/libev/README +58 -0
- data/vendor/bundle/gems/nio4r-1.2.1/ext/libev/README.embed +3 -0
- data/vendor/bundle/gems/nio4r-1.2.1/ext/libev/ev.c +5187 -0
- data/vendor/bundle/gems/nio4r-1.2.1/ext/libev/ev.h +854 -0
- data/vendor/bundle/gems/nio4r-1.2.1/ext/libev/ev_epoll.c +282 -0
- data/vendor/bundle/gems/nio4r-1.2.1/ext/libev/ev_kqueue.c +214 -0
- data/vendor/bundle/gems/nio4r-1.2.1/ext/libev/ev_poll.c +148 -0
- data/vendor/bundle/gems/nio4r-1.2.1/ext/libev/ev_port.c +185 -0
- data/vendor/bundle/gems/nio4r-1.2.1/ext/libev/ev_select.c +314 -0
- data/vendor/bundle/gems/nio4r-1.2.1/ext/libev/ev_vars.h +204 -0
- data/vendor/bundle/gems/nio4r-1.2.1/ext/libev/ev_win32.c +162 -0
- data/vendor/bundle/gems/nio4r-1.2.1/ext/libev/ev_wrap.h +200 -0
- data/vendor/bundle/gems/nio4r-1.2.1/ext/libev/test_libev_win32.c +123 -0
- data/vendor/bundle/gems/nio4r-1.2.1/ext/nio4r/Makefile +261 -0
- data/vendor/bundle/gems/nio4r-1.2.1/ext/nio4r/extconf.rb +41 -0
- data/vendor/bundle/gems/nio4r-1.2.1/ext/nio4r/libev.h +9 -0
- data/vendor/bundle/gems/nio4r-1.2.1/ext/nio4r/monitor.c +253 -0
- data/vendor/bundle/gems/nio4r-1.2.1/ext/nio4r/monitor.o +0 -0
- data/vendor/bundle/gems/nio4r-1.2.1/ext/nio4r/nio4r.h +59 -0
- data/vendor/bundle/gems/nio4r-1.2.1/ext/nio4r/nio4r_ext.bundle +0 -0
- data/vendor/bundle/gems/nio4r-1.2.1/ext/nio4r/nio4r_ext.c +16 -0
- data/vendor/bundle/gems/nio4r-1.2.1/ext/nio4r/nio4r_ext.o +0 -0
- data/vendor/bundle/gems/nio4r-1.2.1/ext/nio4r/org/nio4r/Nio4r.java +473 -0
- data/vendor/bundle/gems/nio4r-1.2.1/ext/nio4r/selector.c +480 -0
- data/vendor/bundle/gems/nio4r-1.2.1/ext/nio4r/selector.o +0 -0
- data/vendor/bundle/gems/nio4r-1.2.1/lib/nio.rb +33 -0
- data/vendor/bundle/gems/nio4r-1.2.1/lib/nio/monitor.rb +55 -0
- data/vendor/bundle/gems/nio4r-1.2.1/lib/nio/selector.rb +128 -0
- data/vendor/bundle/gems/nio4r-1.2.1/lib/nio/version.rb +5 -0
- data/vendor/bundle/gems/nio4r-1.2.1/lib/nio4r_ext.bundle +0 -0
- data/vendor/bundle/gems/nio4r-1.2.1/logo.png +0 -0
- data/vendor/bundle/gems/nio4r-1.2.1/nio4r.gemspec +28 -0
- data/vendor/bundle/gems/nio4r-1.2.1/spec/nio/acceptables_spec.rb +32 -0
- data/vendor/bundle/gems/nio4r-1.2.1/spec/nio/monitor_spec.rb +113 -0
- data/vendor/bundle/gems/nio4r-1.2.1/spec/nio/selectables/pipe_spec.rb +38 -0
- data/vendor/bundle/gems/nio4r-1.2.1/spec/nio/selectables/ssl_socket_spec.rb +162 -0
- data/vendor/bundle/gems/nio4r-1.2.1/spec/nio/selectables/tcp_socket_spec.rb +88 -0
- data/vendor/bundle/gems/nio4r-1.2.1/spec/nio/selectables/udp_socket_spec.rb +31 -0
- data/vendor/bundle/gems/nio4r-1.2.1/spec/nio/selector_spec.rb +187 -0
- data/vendor/bundle/gems/nio4r-1.2.1/spec/spec_helper.rb +9 -0
- data/vendor/bundle/gems/nio4r-1.2.1/spec/support/selectable_examples.rb +58 -0
- data/vendor/bundle/gems/nio4r-1.2.1/tasks/extension.rake +11 -0
- data/vendor/bundle/gems/nio4r-1.2.1/tasks/rspec.rake +7 -0
- data/vendor/bundle/gems/nio4r-1.2.1/tasks/rubocop.rake +3 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/CHANGELOG.rdoc +1147 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/CONTRIBUTING.md +42 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/C_CODING_STYLE.rdoc +33 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/Gemfile +23 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/LICENSE.txt +31 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/Manifest.txt +364 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/README.md +166 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/ROADMAP.md +111 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/Rakefile +376 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/STANDARD_RESPONSES.md +47 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/Y_U_NO_GEMSPEC.md +155 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/appveyor.yml +22 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/bin/nokogiri +118 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/build_all +45 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/dependencies.yml +29 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/ext/nokogiri/Makefile +623 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/ext/nokogiri/depend +358 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/ext/nokogiri/extconf.rb +688 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/ext/nokogiri/html_document.c +170 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/ext/nokogiri/html_document.h +10 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/ext/nokogiri/html_document.o +0 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/ext/nokogiri/html_element_description.c +279 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/ext/nokogiri/html_element_description.h +10 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/ext/nokogiri/html_element_description.o +0 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/ext/nokogiri/html_entity_lookup.c +32 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/ext/nokogiri/html_entity_lookup.h +8 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/ext/nokogiri/html_entity_lookup.o +0 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/ext/nokogiri/html_sax_parser_context.c +116 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/ext/nokogiri/html_sax_parser_context.h +11 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/ext/nokogiri/html_sax_parser_context.o +0 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/ext/nokogiri/html_sax_push_parser.c +87 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/ext/nokogiri/html_sax_push_parser.h +9 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/ext/nokogiri/html_sax_push_parser.o +0 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/ext/nokogiri/nokogiri.bundle +0 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/ext/nokogiri/nokogiri.c +145 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/ext/nokogiri/nokogiri.h +131 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/ext/nokogiri/nokogiri.o +0 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/ext/nokogiri/xml_attr.c +94 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/ext/nokogiri/xml_attr.h +9 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/ext/nokogiri/xml_attr.o +0 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/ext/nokogiri/xml_attribute_decl.c +70 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/ext/nokogiri/xml_attribute_decl.h +9 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/ext/nokogiri/xml_attribute_decl.o +0 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/ext/nokogiri/xml_cdata.c +56 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/ext/nokogiri/xml_cdata.h +9 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/ext/nokogiri/xml_cdata.o +0 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/ext/nokogiri/xml_comment.c +69 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/ext/nokogiri/xml_comment.h +9 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/ext/nokogiri/xml_comment.o +0 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/ext/nokogiri/xml_document.c +606 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/ext/nokogiri/xml_document.h +23 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/ext/nokogiri/xml_document.o +0 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/ext/nokogiri/xml_document_fragment.c +48 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/ext/nokogiri/xml_document_fragment.h +10 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/ext/nokogiri/xml_document_fragment.o +0 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/ext/nokogiri/xml_dtd.c +202 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/ext/nokogiri/xml_dtd.h +10 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/ext/nokogiri/xml_dtd.o +0 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/ext/nokogiri/xml_element_content.c +123 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/ext/nokogiri/xml_element_content.h +10 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/ext/nokogiri/xml_element_content.o +0 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/ext/nokogiri/xml_element_decl.c +69 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/ext/nokogiri/xml_element_decl.h +9 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/ext/nokogiri/xml_element_decl.o +0 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/ext/nokogiri/xml_encoding_handler.c +79 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/ext/nokogiri/xml_encoding_handler.h +8 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/ext/nokogiri/xml_encoding_handler.o +0 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/ext/nokogiri/xml_entity_decl.c +110 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/ext/nokogiri/xml_entity_decl.h +10 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/ext/nokogiri/xml_entity_decl.o +0 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/ext/nokogiri/xml_entity_reference.c +52 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/ext/nokogiri/xml_entity_reference.h +9 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/ext/nokogiri/xml_entity_reference.o +0 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/ext/nokogiri/xml_io.c +60 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/ext/nokogiri/xml_io.h +11 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/ext/nokogiri/xml_io.o +0 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/ext/nokogiri/xml_libxml2_hacks.c +112 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/ext/nokogiri/xml_libxml2_hacks.h +12 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/ext/nokogiri/xml_libxml2_hacks.o +0 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/ext/nokogiri/xml_namespace.c +117 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/ext/nokogiri/xml_namespace.h +13 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/ext/nokogiri/xml_namespace.o +0 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/ext/nokogiri/xml_node.c +1679 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/ext/nokogiri/xml_node.h +13 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/ext/nokogiri/xml_node.o +0 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/ext/nokogiri/xml_node_set.c +485 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/ext/nokogiri/xml_node_set.h +13 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/ext/nokogiri/xml_node_set.o +0 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/ext/nokogiri/xml_processing_instruction.c +56 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/ext/nokogiri/xml_processing_instruction.h +9 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/ext/nokogiri/xml_processing_instruction.o +0 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/ext/nokogiri/xml_reader.c +668 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/ext/nokogiri/xml_reader.h +10 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/ext/nokogiri/xml_reader.o +0 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/ext/nokogiri/xml_relax_ng.c +161 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/ext/nokogiri/xml_relax_ng.h +9 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/ext/nokogiri/xml_relax_ng.o +0 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/ext/nokogiri/xml_sax_parser.c +309 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/ext/nokogiri/xml_sax_parser.h +39 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/ext/nokogiri/xml_sax_parser.o +0 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/ext/nokogiri/xml_sax_parser_context.c +262 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/ext/nokogiri/xml_sax_parser_context.h +10 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/ext/nokogiri/xml_sax_parser_context.o +0 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/ext/nokogiri/xml_sax_push_parser.c +115 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/ext/nokogiri/xml_sax_push_parser.h +9 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/ext/nokogiri/xml_sax_push_parser.o +0 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/ext/nokogiri/xml_schema.c +205 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/ext/nokogiri/xml_schema.h +9 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/ext/nokogiri/xml_schema.o +0 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/ext/nokogiri/xml_syntax_error.c +64 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/ext/nokogiri/xml_syntax_error.h +13 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/ext/nokogiri/xml_syntax_error.o +0 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/ext/nokogiri/xml_text.c +52 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/ext/nokogiri/xml_text.h +9 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/ext/nokogiri/xml_text.o +0 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/ext/nokogiri/xml_xpath_context.c +298 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/ext/nokogiri/xml_xpath_context.h +10 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/ext/nokogiri/xml_xpath_context.o +0 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/ext/nokogiri/xslt_stylesheet.c +270 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/ext/nokogiri/xslt_stylesheet.h +14 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/ext/nokogiri/xslt_stylesheet.o +0 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/lib/nokogiri.rb +144 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/lib/nokogiri/css.rb +27 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/lib/nokogiri/css/node.rb +52 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/lib/nokogiri/css/parser.rb +732 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/lib/nokogiri/css/parser.y +261 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/lib/nokogiri/css/parser_extras.rb +91 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/lib/nokogiri/css/syntax_error.rb +7 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/lib/nokogiri/css/tokenizer.rb +152 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/lib/nokogiri/css/tokenizer.rex +55 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/lib/nokogiri/css/xpath_visitor.rb +223 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/lib/nokogiri/decorators/slop.rb +42 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/lib/nokogiri/html.rb +37 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/lib/nokogiri/html/builder.rb +35 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/lib/nokogiri/html/document.rb +335 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/lib/nokogiri/html/document_fragment.rb +39 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/lib/nokogiri/html/element_description.rb +23 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/lib/nokogiri/html/element_description_defaults.rb +671 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/lib/nokogiri/html/entity_lookup.rb +13 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/lib/nokogiri/html/sax/parser.rb +52 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/lib/nokogiri/html/sax/parser_context.rb +16 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/lib/nokogiri/html/sax/push_parser.rb +36 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/lib/nokogiri/nokogiri.bundle +0 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/lib/nokogiri/syntax_error.rb +4 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/lib/nokogiri/version.rb +108 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/lib/nokogiri/xml.rb +74 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/lib/nokogiri/xml/attr.rb +14 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/lib/nokogiri/xml/attribute_decl.rb +18 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/lib/nokogiri/xml/builder.rb +443 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/lib/nokogiri/xml/cdata.rb +11 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/lib/nokogiri/xml/character_data.rb +7 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/lib/nokogiri/xml/document.rb +285 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/lib/nokogiri/xml/document_fragment.rb +149 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/lib/nokogiri/xml/dtd.rb +32 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/lib/nokogiri/xml/element_content.rb +36 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/lib/nokogiri/xml/element_decl.rb +13 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/lib/nokogiri/xml/entity_decl.rb +19 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/lib/nokogiri/xml/namespace.rb +13 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/lib/nokogiri/xml/node.rb +834 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/lib/nokogiri/xml/node/save_options.rb +61 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/lib/nokogiri/xml/node_set.rb +311 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/lib/nokogiri/xml/notation.rb +6 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/lib/nokogiri/xml/parse_options.rb +120 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/lib/nokogiri/xml/pp.rb +2 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/lib/nokogiri/xml/pp/character_data.rb +18 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/lib/nokogiri/xml/pp/node.rb +56 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/lib/nokogiri/xml/processing_instruction.rb +8 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/lib/nokogiri/xml/reader.rb +112 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/lib/nokogiri/xml/relax_ng.rb +32 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/lib/nokogiri/xml/sax.rb +4 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/lib/nokogiri/xml/sax/document.rb +171 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/lib/nokogiri/xml/sax/parser.rb +123 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/lib/nokogiri/xml/sax/parser_context.rb +16 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/lib/nokogiri/xml/sax/push_parser.rb +60 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/lib/nokogiri/xml/schema.rb +63 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/lib/nokogiri/xml/searchable.rb +221 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/lib/nokogiri/xml/syntax_error.rb +47 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/lib/nokogiri/xml/text.rb +9 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/lib/nokogiri/xml/xpath.rb +10 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/lib/nokogiri/xml/xpath/syntax_error.rb +11 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/lib/nokogiri/xml/xpath_context.rb +16 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/lib/nokogiri/xslt.rb +56 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/lib/nokogiri/xslt/stylesheet.rb +25 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/lib/xsd/xmlparser/nokogiri.rb +102 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/patches/sort-patches-by-date +25 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/suppressions/README.txt +1 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/suppressions/nokogiri_ree-1.8.7.358.supp +61 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/suppressions/nokogiri_ruby-1.8.7.370.supp +0 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/suppressions/nokogiri_ruby-1.9.2.320.supp +28 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/suppressions/nokogiri_ruby-1.9.3.327.supp +28 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/tasks/test.rb +100 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/test/css/test_nthiness.rb +226 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/test/css/test_parser.rb +369 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/test/css/test_tokenizer.rb +215 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/test/css/test_xpath_visitor.rb +96 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/test/decorators/test_slop.rb +20 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/test/files/2ch.html +108 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/test/files/GH_1042.html +18 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/test/files/address_book.rlx +12 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/test/files/address_book.xml +10 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/test/files/atom.xml +344 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/test/files/bar/bar.xsd +4 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/test/files/bogus.xml +0 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/test/files/dont_hurt_em_why.xml +422 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/test/files/encoding.html +82 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/test/files/encoding.xhtml +84 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/test/files/exslt.xml +8 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/test/files/exslt.xslt +35 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/test/files/foo/foo.xsd +4 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/test/files/metacharset.html +10 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/test/files/namespace_pressure_test.xml +1684 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/test/files/noencoding.html +47 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/test/files/po.xml +32 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/test/files/po.xsd +66 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/test/files/saml/saml20assertion_schema.xsd +283 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/test/files/saml/saml20protocol_schema.xsd +302 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/test/files/saml/xenc_schema.xsd +146 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/test/files/saml/xmldsig_schema.xsd +318 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/test/files/shift_jis.html +10 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/test/files/shift_jis.xml +5 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/test/files/shift_jis_no_charset.html +9 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/test/files/slow-xpath.xml +25509 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/test/files/snuggles.xml +3 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/test/files/staff.dtd +10 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/test/files/staff.xml +59 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/test/files/staff.xslt +32 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/test/files/test_document_url/bar.xml +2 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/test/files/test_document_url/document.dtd +4 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/test/files/test_document_url/document.xml +6 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/test/files/tlm.html +851 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/test/files/to_be_xincluded.xml +2 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/test/files/valid_bar.xml +2 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/test/files/xinclude.xml +4 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/test/helper.rb +181 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/test/html/sax/test_parser.rb +141 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/test/html/sax/test_parser_context.rb +46 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/test/html/sax/test_push_parser.rb +87 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/test/html/test_builder.rb +164 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/test/html/test_document.rb +701 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/test/html/test_document_encoding.rb +145 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/test/html/test_document_fragment.rb +301 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/test/html/test_element_description.rb +105 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/test/html/test_named_characters.rb +14 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/test/html/test_node.rb +212 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/test/html/test_node_encoding.rb +85 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/test/namespaces/test_additional_namespaces_in_builder_doc.rb +14 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/test/namespaces/test_namespaces_aliased_default.rb +24 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/test/namespaces/test_namespaces_in_builder_doc.rb +75 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/test/namespaces/test_namespaces_in_cloned_doc.rb +31 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/test/namespaces/test_namespaces_in_created_doc.rb +75 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/test/namespaces/test_namespaces_in_parsed_doc.rb +80 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/test/namespaces/test_namespaces_preservation.rb +31 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/test/test_convert_xpath.rb +135 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/test/test_css_cache.rb +45 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/test/test_encoding_handler.rb +48 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/test/test_memory_leak.rb +156 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/test/test_nokogiri.rb +138 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/test/test_soap4r_sax.rb +52 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/test/test_xslt_transforms.rb +314 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/test/xml/node/test_save_options.rb +28 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/test/xml/node/test_subclass.rb +44 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/test/xml/sax/test_parser.rb +394 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/test/xml/sax/test_parser_context.rb +115 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/test/xml/sax/test_push_parser.rb +157 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/test/xml/test_attr.rb +67 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/test/xml/test_attribute_decl.rb +86 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/test/xml/test_builder.rb +341 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/test/xml/test_c14n.rb +180 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/test/xml/test_cdata.rb +48 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/test/xml/test_comment.rb +40 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/test/xml/test_document.rb +982 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/test/xml/test_document_encoding.rb +31 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/test/xml/test_document_fragment.rb +271 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/test/xml/test_dtd.rb +187 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/test/xml/test_dtd_encoding.rb +31 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/test/xml/test_element_content.rb +56 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/test/xml/test_element_decl.rb +73 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/test/xml/test_entity_decl.rb +122 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/test/xml/test_entity_reference.rb +251 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/test/xml/test_namespace.rb +96 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/test/xml/test_node.rb +1244 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/test/xml/test_node_attributes.rb +115 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/test/xml/test_node_encoding.rb +69 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/test/xml/test_node_inheritance.rb +32 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/test/xml/test_node_reparenting.rb +549 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/test/xml/test_node_set.rb +775 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/test/xml/test_parse_options.rb +64 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/test/xml/test_processing_instruction.rb +30 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/test/xml/test_reader.rb +589 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/test/xml/test_reader_encoding.rb +134 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/test/xml/test_relax_ng.rb +60 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/test/xml/test_schema.rb +142 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/test/xml/test_syntax_error.rb +30 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/test/xml/test_text.rb +60 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/test/xml/test_unparented_node.rb +440 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/test/xml/test_xinclude.rb +83 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/test/xml/test_xpath.rb +445 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/test/xslt/test_custom_functions.rb +133 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/test/xslt/test_exception_handling.rb +37 -0
- data/vendor/bundle/gems/nokogiri-1.6.8/test_all +107 -0
- data/vendor/bundle/gems/pkg-config-1.1.7/Gemfile +20 -0
- data/vendor/bundle/gems/pkg-config-1.1.7/LGPL-2.1 +502 -0
- data/vendor/bundle/gems/pkg-config-1.1.7/NEWS +118 -0
- data/vendor/bundle/gems/pkg-config-1.1.7/README.rdoc +62 -0
- data/vendor/bundle/gems/pkg-config-1.1.7/Rakefile +37 -0
- data/vendor/bundle/gems/pkg-config-1.1.7/lib/pkg-config.rb +450 -0
- data/vendor/bundle/gems/pkg-config-1.1.7/lib/pkg-config/version.rb +19 -0
- data/vendor/bundle/gems/pkg-config-1.1.7/test/run-test.rb +16 -0
- data/vendor/bundle/gems/pkg-config-1.1.7/test/test_pkg_config.rb +141 -0
- data/vendor/bundle/gems/pry-0.10.4/CHANGELOG.md +718 -0
- data/vendor/bundle/gems/pry-0.10.4/LICENSE +25 -0
- data/vendor/bundle/gems/pry-0.10.4/README.md +406 -0
- data/vendor/bundle/gems/pry-0.10.4/bin/pry +16 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry.rb +161 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/cli.rb +220 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/code.rb +348 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/code/code_file.rb +103 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/code/code_range.rb +71 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/code/loc.rb +92 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/code_object.rb +172 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/color_printer.rb +55 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/command.rb +692 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/command_set.rb +443 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands.rb +6 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/amend_line.rb +99 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/bang.rb +20 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/bang_pry.rb +17 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/cat.rb +62 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/cat/abstract_formatter.rb +27 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/cat/exception_formatter.rb +77 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/cat/file_formatter.rb +67 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/cat/input_expression_formatter.rb +43 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/cd.rb +41 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/change_inspector.rb +27 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/change_prompt.rb +26 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/code_collector.rb +165 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/disable_pry.rb +27 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/disabled_commands.rb +2 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/easter_eggs.rb +112 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/edit.rb +195 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/edit/exception_patcher.rb +25 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/edit/file_and_line_locator.rb +36 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/exit.rb +42 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/exit_all.rb +29 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/exit_program.rb +23 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/find_method.rb +193 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/fix_indent.rb +19 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/gem_cd.rb +26 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/gem_install.rb +32 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/gem_list.rb +33 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/gem_open.rb +29 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/gist.rb +101 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/help.rb +164 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/hist.rb +180 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/import_set.rb +22 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/install_command.rb +53 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/jump_to.rb +29 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/list_inspectors.rb +35 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/list_prompts.rb +35 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/ls.rb +114 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/ls/constants.rb +47 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/ls/formatter.rb +49 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/ls/globals.rb +48 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/ls/grep.rb +21 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/ls/instance_vars.rb +39 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/ls/interrogatable.rb +18 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/ls/jruby_hacks.rb +49 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/ls/local_names.rb +35 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/ls/local_vars.rb +39 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/ls/ls_entity.rb +70 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/ls/methods.rb +57 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/ls/methods_helper.rb +46 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/ls/self_methods.rb +32 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/nesting.rb +25 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/play.rb +103 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/pry_backtrace.rb +25 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/pry_version.rb +17 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/raise_up.rb +32 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/reload_code.rb +62 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/reset.rb +18 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/ri.rb +60 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/save_file.rb +61 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/shell_command.rb +48 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/shell_mode.rb +25 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/show_doc.rb +83 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/show_info.rb +201 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/show_input.rb +17 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/show_source.rb +50 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/simple_prompt.rb +22 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/stat.rb +40 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/switch_to.rb +23 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/toggle_color.rb +24 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/watch_expression.rb +105 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/watch_expression/expression.rb +38 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/whereami.rb +196 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/wtf.rb +57 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/config.rb +24 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/config/behavior.rb +139 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/config/convenience.rb +25 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/config/default.rb +161 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/core_extensions.rb +131 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/editor.rb +135 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/exceptions.rb +78 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/helpers.rb +5 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/helpers/base_helpers.rb +113 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/helpers/command_helpers.rb +156 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/helpers/documentation_helpers.rb +75 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/helpers/options_helpers.rb +27 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/helpers/table.rb +109 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/helpers/text.rb +107 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/history.rb +127 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/history_array.rb +121 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/hooks.rb +230 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/indent.rb +406 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/input_completer.rb +242 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/input_lock.rb +132 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/inspector.rb +27 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/last_exception.rb +61 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/method.rb +546 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/method/disowned.rb +53 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/method/patcher.rb +125 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/method/weird_method_locator.rb +188 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/module_candidate.rb +137 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/object_path.rb +82 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/output.rb +50 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/pager.rb +239 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/plugins.rb +103 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/prompt.rb +26 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/pry_class.rb +375 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/pry_instance.rb +664 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/rbx_path.rb +22 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/repl.rb +202 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/repl_file_loader.rb +74 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/rubygem.rb +82 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/terminal.rb +79 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/test/helper.rb +170 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/version.rb +3 -0
- data/vendor/bundle/gems/pry-0.10.4/lib/pry/wrapped_module.rb +378 -0
- data/vendor/bundle/gems/rack-2.0.1/COPYING +18 -0
- data/vendor/bundle/gems/rack-2.0.1/HISTORY.md +505 -0
- data/vendor/bundle/gems/rack-2.0.1/README.rdoc +304 -0
- data/vendor/bundle/gems/rack-2.0.1/Rakefile +116 -0
- data/vendor/bundle/gems/rack-2.0.1/SPEC +263 -0
- data/vendor/bundle/gems/rack-2.0.1/bin/rackup +4 -0
- data/vendor/bundle/gems/rack-2.0.1/contrib/rack.png +0 -0
- data/vendor/bundle/gems/rack-2.0.1/contrib/rack.svg +150 -0
- data/vendor/bundle/gems/rack-2.0.1/contrib/rack_logo.svg +164 -0
- data/vendor/bundle/gems/rack-2.0.1/contrib/rdoc.css +412 -0
- data/vendor/bundle/gems/rack-2.0.1/example/lobster.ru +4 -0
- data/vendor/bundle/gems/rack-2.0.1/example/protectedlobster.rb +14 -0
- data/vendor/bundle/gems/rack-2.0.1/example/protectedlobster.ru +8 -0
- data/vendor/bundle/gems/rack-2.0.1/lib/rack.rb +147 -0
- data/vendor/bundle/gems/rack-2.0.1/lib/rack/auth/abstract/handler.rb +37 -0
- data/vendor/bundle/gems/rack-2.0.1/lib/rack/auth/abstract/request.rb +47 -0
- data/vendor/bundle/gems/rack-2.0.1/lib/rack/auth/basic.rb +58 -0
- data/vendor/bundle/gems/rack-2.0.1/lib/rack/auth/digest/md5.rb +129 -0
- data/vendor/bundle/gems/rack-2.0.1/lib/rack/auth/digest/nonce.rb +51 -0
- data/vendor/bundle/gems/rack-2.0.1/lib/rack/auth/digest/params.rb +52 -0
- data/vendor/bundle/gems/rack-2.0.1/lib/rack/auth/digest/request.rb +41 -0
- data/vendor/bundle/gems/rack-2.0.1/lib/rack/body_proxy.rb +44 -0
- data/vendor/bundle/gems/rack-2.0.1/lib/rack/builder.rb +164 -0
- data/vendor/bundle/gems/rack-2.0.1/lib/rack/cascade.rb +52 -0
- data/vendor/bundle/gems/rack-2.0.1/lib/rack/chunked.rb +69 -0
- data/vendor/bundle/gems/rack-2.0.1/lib/rack/common_logger.rb +72 -0
- data/vendor/bundle/gems/rack-2.0.1/lib/rack/conditional_get.rb +79 -0
- data/vendor/bundle/gems/rack-2.0.1/lib/rack/config.rb +20 -0
- data/vendor/bundle/gems/rack-2.0.1/lib/rack/content_length.rb +37 -0
- data/vendor/bundle/gems/rack-2.0.1/lib/rack/content_type.rb +29 -0
- data/vendor/bundle/gems/rack-2.0.1/lib/rack/deflater.rb +154 -0
- data/vendor/bundle/gems/rack-2.0.1/lib/rack/directory.rb +179 -0
- data/vendor/bundle/gems/rack-2.0.1/lib/rack/etag.rb +74 -0
- data/vendor/bundle/gems/rack-2.0.1/lib/rack/events.rb +154 -0
- data/vendor/bundle/gems/rack-2.0.1/lib/rack/file.rb +176 -0
- data/vendor/bundle/gems/rack-2.0.1/lib/rack/handler.rb +99 -0
- data/vendor/bundle/gems/rack-2.0.1/lib/rack/handler/cgi.rb +60 -0
- data/vendor/bundle/gems/rack-2.0.1/lib/rack/handler/fastcgi.rb +100 -0
- data/vendor/bundle/gems/rack-2.0.1/lib/rack/handler/lsws.rb +61 -0
- data/vendor/bundle/gems/rack-2.0.1/lib/rack/handler/scgi.rb +70 -0
- data/vendor/bundle/gems/rack-2.0.1/lib/rack/handler/thin.rb +36 -0
- data/vendor/bundle/gems/rack-2.0.1/lib/rack/handler/webrick.rb +120 -0
- data/vendor/bundle/gems/rack-2.0.1/lib/rack/head.rb +25 -0
- data/vendor/bundle/gems/rack-2.0.1/lib/rack/lint.rb +760 -0
- data/vendor/bundle/gems/rack-2.0.1/lib/rack/lobster.rb +70 -0
- data/vendor/bundle/gems/rack-2.0.1/lib/rack/lock.rb +22 -0
- data/vendor/bundle/gems/rack-2.0.1/lib/rack/logger.rb +18 -0
- data/vendor/bundle/gems/rack-2.0.1/lib/rack/media_type.rb +38 -0
- data/vendor/bundle/gems/rack-2.0.1/lib/rack/method_override.rb +43 -0
- data/vendor/bundle/gems/rack-2.0.1/lib/rack/mime.rb +677 -0
- data/vendor/bundle/gems/rack-2.0.1/lib/rack/mock.rb +196 -0
- data/vendor/bundle/gems/rack-2.0.1/lib/rack/multipart.rb +63 -0
- data/vendor/bundle/gems/rack-2.0.1/lib/rack/multipart/generator.rb +93 -0
- data/vendor/bundle/gems/rack-2.0.1/lib/rack/multipart/parser.rb +367 -0
- data/vendor/bundle/gems/rack-2.0.1/lib/rack/multipart/uploaded_file.rb +33 -0
- data/vendor/bundle/gems/rack-2.0.1/lib/rack/null_logger.rb +37 -0
- data/vendor/bundle/gems/rack-2.0.1/lib/rack/query_parser.rb +192 -0
- data/vendor/bundle/gems/rack-2.0.1/lib/rack/recursive.rb +62 -0
- data/vendor/bundle/gems/rack-2.0.1/lib/rack/reloader.rb +110 -0
- data/vendor/bundle/gems/rack-2.0.1/lib/rack/request.rb +487 -0
- data/vendor/bundle/gems/rack-2.0.1/lib/rack/response.rb +235 -0
- data/vendor/bundle/gems/rack-2.0.1/lib/rack/rewindable_input.rb +93 -0
- data/vendor/bundle/gems/rack-2.0.1/lib/rack/runtime.rb +32 -0
- data/vendor/bundle/gems/rack-2.0.1/lib/rack/sendfile.rb +158 -0
- data/vendor/bundle/gems/rack-2.0.1/lib/rack/server.rb +394 -0
- data/vendor/bundle/gems/rack-2.0.1/lib/rack/session/abstract/id.rb +435 -0
- data/vendor/bundle/gems/rack-2.0.1/lib/rack/session/cookie.rb +195 -0
- data/vendor/bundle/gems/rack-2.0.1/lib/rack/session/memcache.rb +93 -0
- data/vendor/bundle/gems/rack-2.0.1/lib/rack/session/pool.rb +76 -0
- data/vendor/bundle/gems/rack-2.0.1/lib/rack/show_exceptions.rb +386 -0
- data/vendor/bundle/gems/rack-2.0.1/lib/rack/show_status.rb +113 -0
- data/vendor/bundle/gems/rack-2.0.1/lib/rack/static.rb +175 -0
- data/vendor/bundle/gems/rack-2.0.1/lib/rack/tempfile_reaper.rb +22 -0
- data/vendor/bundle/gems/rack-2.0.1/lib/rack/urlmap.rb +91 -0
- data/vendor/bundle/gems/rack-2.0.1/lib/rack/utils.rb +620 -0
- data/vendor/bundle/gems/rack-2.0.1/rack.gemspec +35 -0
- data/vendor/bundle/gems/rack-2.0.1/test/builder/an_underscore_app.rb +5 -0
- data/vendor/bundle/gems/rack-2.0.1/test/builder/anything.rb +5 -0
- data/vendor/bundle/gems/rack-2.0.1/test/builder/comment.ru +4 -0
- data/vendor/bundle/gems/rack-2.0.1/test/builder/end.ru +5 -0
- data/vendor/bundle/gems/rack-2.0.1/test/builder/line.ru +1 -0
- data/vendor/bundle/gems/rack-2.0.1/test/builder/options.ru +2 -0
- data/vendor/bundle/gems/rack-2.0.1/test/cgi/assets/folder/test.js +1 -0
- data/vendor/bundle/gems/rack-2.0.1/test/cgi/assets/fonts/font.eot +1 -0
- data/vendor/bundle/gems/rack-2.0.1/test/cgi/assets/images/image.png +1 -0
- data/vendor/bundle/gems/rack-2.0.1/test/cgi/assets/index.html +1 -0
- data/vendor/bundle/gems/rack-2.0.1/test/cgi/assets/javascripts/app.js +1 -0
- data/vendor/bundle/gems/rack-2.0.1/test/cgi/assets/stylesheets/app.css +1 -0
- data/vendor/bundle/gems/rack-2.0.1/test/cgi/lighttpd.conf +26 -0
- data/vendor/bundle/gems/rack-2.0.1/test/cgi/rackup_stub.rb +6 -0
- data/vendor/bundle/gems/rack-2.0.1/test/cgi/sample_rackup.ru +5 -0
- data/vendor/bundle/gems/rack-2.0.1/test/cgi/test +9 -0
- data/vendor/bundle/gems/rack-2.0.1/test/cgi/test+directory/test+file +1 -0
- data/vendor/bundle/gems/rack-2.0.1/test/cgi/test.fcgi +9 -0
- data/vendor/bundle/gems/rack-2.0.1/test/cgi/test.gz +0 -0
- data/vendor/bundle/gems/rack-2.0.1/test/cgi/test.ru +5 -0
- data/vendor/bundle/gems/rack-2.0.1/test/gemloader.rb +10 -0
- data/vendor/bundle/gems/rack-2.0.1/test/helper.rb +34 -0
- data/vendor/bundle/gems/rack-2.0.1/test/multipart/bad_robots +259 -0
- data/vendor/bundle/gems/rack-2.0.1/test/multipart/binary +0 -0
- data/vendor/bundle/gems/rack-2.0.1/test/multipart/content_type_and_no_filename +6 -0
- data/vendor/bundle/gems/rack-2.0.1/test/multipart/empty +10 -0
- data/vendor/bundle/gems/rack-2.0.1/test/multipart/fail_16384_nofile +814 -0
- data/vendor/bundle/gems/rack-2.0.1/test/multipart/file1.txt +1 -0
- data/vendor/bundle/gems/rack-2.0.1/test/multipart/filename_and_modification_param +7 -0
- data/vendor/bundle/gems/rack-2.0.1/test/multipart/filename_and_no_name +6 -0
- data/vendor/bundle/gems/rack-2.0.1/test/multipart/filename_with_encoded_words +7 -0
- data/vendor/bundle/gems/rack-2.0.1/test/multipart/filename_with_escaped_quotes +6 -0
- data/vendor/bundle/gems/rack-2.0.1/test/multipart/filename_with_escaped_quotes_and_modification_param +7 -0
- data/vendor/bundle/gems/rack-2.0.1/test/multipart/filename_with_percent_escaped_quotes +6 -0
- data/vendor/bundle/gems/rack-2.0.1/test/multipart/filename_with_single_quote +7 -0
- data/vendor/bundle/gems/rack-2.0.1/test/multipart/filename_with_unescaped_percentages +6 -0
- data/vendor/bundle/gems/rack-2.0.1/test/multipart/filename_with_unescaped_percentages2 +6 -0
- data/vendor/bundle/gems/rack-2.0.1/test/multipart/filename_with_unescaped_percentages3 +6 -0
- data/vendor/bundle/gems/rack-2.0.1/test/multipart/filename_with_unescaped_quotes +6 -0
- data/vendor/bundle/gems/rack-2.0.1/test/multipart/ie +6 -0
- data/vendor/bundle/gems/rack-2.0.1/test/multipart/invalid_character +6 -0
- data/vendor/bundle/gems/rack-2.0.1/test/multipart/mixed_files +21 -0
- data/vendor/bundle/gems/rack-2.0.1/test/multipart/nested +10 -0
- data/vendor/bundle/gems/rack-2.0.1/test/multipart/none +9 -0
- data/vendor/bundle/gems/rack-2.0.1/test/multipart/quoted +15 -0
- data/vendor/bundle/gems/rack-2.0.1/test/multipart/rack-logo.png +0 -0
- data/vendor/bundle/gems/rack-2.0.1/test/multipart/semicolon +6 -0
- data/vendor/bundle/gems/rack-2.0.1/test/multipart/text +15 -0
- data/vendor/bundle/gems/rack-2.0.1/test/multipart/three_files_three_fields +31 -0
- data/vendor/bundle/gems/rack-2.0.1/test/multipart/unity3d_wwwform +11 -0
- data/vendor/bundle/gems/rack-2.0.1/test/multipart/webkit +32 -0
- data/vendor/bundle/gems/rack-2.0.1/test/rackup/config.ru +31 -0
- data/vendor/bundle/gems/rack-2.0.1/test/registering_handler/rack/handler/registering_myself.rb +8 -0
- data/vendor/bundle/gems/rack-2.0.1/test/spec_auth_basic.rb +89 -0
- data/vendor/bundle/gems/rack-2.0.1/test/spec_auth_digest.rb +260 -0
- data/vendor/bundle/gems/rack-2.0.1/test/spec_body_proxy.rb +85 -0
- data/vendor/bundle/gems/rack-2.0.1/test/spec_builder.rb +233 -0
- data/vendor/bundle/gems/rack-2.0.1/test/spec_cascade.rb +63 -0
- data/vendor/bundle/gems/rack-2.0.1/test/spec_cgi.rb +84 -0
- data/vendor/bundle/gems/rack-2.0.1/test/spec_chunked.rb +103 -0
- data/vendor/bundle/gems/rack-2.0.1/test/spec_common_logger.rb +95 -0
- data/vendor/bundle/gems/rack-2.0.1/test/spec_conditional_get.rb +103 -0
- data/vendor/bundle/gems/rack-2.0.1/test/spec_config.rb +23 -0
- data/vendor/bundle/gems/rack-2.0.1/test/spec_content_length.rb +86 -0
- data/vendor/bundle/gems/rack-2.0.1/test/spec_content_type.rb +46 -0
- data/vendor/bundle/gems/rack-2.0.1/test/spec_deflater.rb +365 -0
- data/vendor/bundle/gems/rack-2.0.1/test/spec_directory.rb +148 -0
- data/vendor/bundle/gems/rack-2.0.1/test/spec_etag.rb +108 -0
- data/vendor/bundle/gems/rack-2.0.1/test/spec_events.rb +133 -0
- data/vendor/bundle/gems/rack-2.0.1/test/spec_fastcgi.rb +85 -0
- data/vendor/bundle/gems/rack-2.0.1/test/spec_file.rb +251 -0
- data/vendor/bundle/gems/rack-2.0.1/test/spec_handler.rb +57 -0
- data/vendor/bundle/gems/rack-2.0.1/test/spec_head.rb +46 -0
- data/vendor/bundle/gems/rack-2.0.1/test/spec_lint.rb +515 -0
- data/vendor/bundle/gems/rack-2.0.1/test/spec_lobster.rb +59 -0
- data/vendor/bundle/gems/rack-2.0.1/test/spec_lock.rb +194 -0
- data/vendor/bundle/gems/rack-2.0.1/test/spec_logger.rb +24 -0
- data/vendor/bundle/gems/rack-2.0.1/test/spec_media_type.rb +42 -0
- data/vendor/bundle/gems/rack-2.0.1/test/spec_method_override.rb +83 -0
- data/vendor/bundle/gems/rack-2.0.1/test/spec_mime.rb +51 -0
- data/vendor/bundle/gems/rack-2.0.1/test/spec_mock.rb +342 -0
- data/vendor/bundle/gems/rack-2.0.1/test/spec_multipart.rb +716 -0
- data/vendor/bundle/gems/rack-2.0.1/test/spec_null_logger.rb +21 -0
- data/vendor/bundle/gems/rack-2.0.1/test/spec_recursive.rb +75 -0
- data/vendor/bundle/gems/rack-2.0.1/test/spec_request.rb +1393 -0
- data/vendor/bundle/gems/rack-2.0.1/test/spec_response.rb +510 -0
- data/vendor/bundle/gems/rack-2.0.1/test/spec_rewindable_input.rb +128 -0
- data/vendor/bundle/gems/rack-2.0.1/test/spec_runtime.rb +50 -0
- data/vendor/bundle/gems/rack-2.0.1/test/spec_sendfile.rb +125 -0
- data/vendor/bundle/gems/rack-2.0.1/test/spec_server.rb +193 -0
- data/vendor/bundle/gems/rack-2.0.1/test/spec_session_abstract_id.rb +31 -0
- data/vendor/bundle/gems/rack-2.0.1/test/spec_session_abstract_session_hash.rb +28 -0
- data/vendor/bundle/gems/rack-2.0.1/test/spec_session_cookie.rb +442 -0
- data/vendor/bundle/gems/rack-2.0.1/test/spec_session_memcache.rb +320 -0
- data/vendor/bundle/gems/rack-2.0.1/test/spec_session_pool.rb +210 -0
- data/vendor/bundle/gems/rack-2.0.1/test/spec_show_exceptions.rb +80 -0
- data/vendor/bundle/gems/rack-2.0.1/test/spec_show_status.rb +104 -0
- data/vendor/bundle/gems/rack-2.0.1/test/spec_static.rb +184 -0
- data/vendor/bundle/gems/rack-2.0.1/test/spec_tempfile_reaper.rb +64 -0
- data/vendor/bundle/gems/rack-2.0.1/test/spec_thin.rb +96 -0
- data/vendor/bundle/gems/rack-2.0.1/test/spec_urlmap.rb +237 -0
- data/vendor/bundle/gems/rack-2.0.1/test/spec_utils.rb +742 -0
- data/vendor/bundle/gems/rack-2.0.1/test/spec_version.rb +11 -0
- data/vendor/bundle/gems/rack-2.0.1/test/spec_webrick.rb +208 -0
- data/vendor/bundle/gems/rack-2.0.1/test/static/another/index.html +1 -0
- data/vendor/bundle/gems/rack-2.0.1/test/static/foo.html +1 -0
- data/vendor/bundle/gems/rack-2.0.1/test/static/index.html +1 -0
- data/vendor/bundle/gems/rack-2.0.1/test/testrequest.rb +78 -0
- data/vendor/bundle/gems/rack-2.0.1/test/unregistered_handler/rack/handler/unregistered.rb +7 -0
- data/vendor/bundle/gems/rack-2.0.1/test/unregistered_handler/rack/handler/unregistered_long_one.rb +7 -0
- data/vendor/bundle/gems/rack-test-0.6.3/Gemfile +8 -0
- data/vendor/bundle/gems/rack-test-0.6.3/Gemfile.lock +41 -0
- data/vendor/bundle/gems/rack-test-0.6.3/History.txt +179 -0
- data/vendor/bundle/gems/rack-test-0.6.3/MIT-LICENSE.txt +19 -0
- data/vendor/bundle/gems/rack-test-0.6.3/README.rdoc +85 -0
- data/vendor/bundle/gems/rack-test-0.6.3/Rakefile +33 -0
- data/vendor/bundle/gems/rack-test-0.6.3/Thorfile +114 -0
- data/vendor/bundle/gems/rack-test-0.6.3/lib/rack/mock_session.rb +66 -0
- data/vendor/bundle/gems/rack-test-0.6.3/lib/rack/test.rb +318 -0
- data/vendor/bundle/gems/rack-test-0.6.3/lib/rack/test/cookie_jar.rb +182 -0
- data/vendor/bundle/gems/rack-test-0.6.3/lib/rack/test/methods.rb +83 -0
- data/vendor/bundle/gems/rack-test-0.6.3/lib/rack/test/mock_digest_request.rb +29 -0
- data/vendor/bundle/gems/rack-test-0.6.3/lib/rack/test/uploaded_file.rb +53 -0
- data/vendor/bundle/gems/rack-test-0.6.3/lib/rack/test/utils.rb +150 -0
- data/vendor/bundle/gems/rack-test-0.6.3/rack-test.gemspec +77 -0
- data/vendor/bundle/gems/rack-test-0.6.3/spec/fixtures/bar.txt +1 -0
- data/vendor/bundle/gems/rack-test-0.6.3/spec/fixtures/config.ru +3 -0
- data/vendor/bundle/gems/rack-test-0.6.3/spec/fixtures/fake_app.rb +143 -0
- data/vendor/bundle/gems/rack-test-0.6.3/spec/fixtures/foo.txt +1 -0
- data/vendor/bundle/gems/rack-test-0.6.3/spec/rack/test/cookie_spec.rb +219 -0
- data/vendor/bundle/gems/rack-test-0.6.3/spec/rack/test/digest_auth_spec.rb +46 -0
- data/vendor/bundle/gems/rack-test-0.6.3/spec/rack/test/multipart_spec.rb +145 -0
- data/vendor/bundle/gems/rack-test-0.6.3/spec/rack/test/uploaded_file_spec.rb +24 -0
- data/vendor/bundle/gems/rack-test-0.6.3/spec/rack/test/utils_spec.rb +193 -0
- data/vendor/bundle/gems/rack-test-0.6.3/spec/rack/test_spec.rb +550 -0
- data/vendor/bundle/gems/rack-test-0.6.3/spec/spec_helper.rb +69 -0
- data/vendor/bundle/gems/rack-test-0.6.3/spec/support/matchers/body.rb +9 -0
- data/vendor/bundle/gems/rack-test-0.6.3/spec/support/matchers/challenge.rb +11 -0
- data/vendor/bundle/gems/rails-5.0.0/README.md +89 -0
- data/vendor/bundle/gems/rails-dom-testing-2.0.1/README.md +73 -0
- data/vendor/bundle/gems/rails-dom-testing-2.0.1/lib/rails-dom-testing.rb +1 -0
- data/vendor/bundle/gems/rails-dom-testing-2.0.1/lib/rails/dom/testing/assertions.rb +18 -0
- data/vendor/bundle/gems/rails-dom-testing-2.0.1/lib/rails/dom/testing/assertions/dom_assertions.rb +76 -0
- data/vendor/bundle/gems/rails-dom-testing-2.0.1/lib/rails/dom/testing/assertions/selector_assertions.rb +302 -0
- data/vendor/bundle/gems/rails-dom-testing-2.0.1/lib/rails/dom/testing/assertions/selector_assertions/count_describable.rb +32 -0
- data/vendor/bundle/gems/rails-dom-testing-2.0.1/lib/rails/dom/testing/assertions/selector_assertions/html_selector.rb +114 -0
- data/vendor/bundle/gems/rails-dom-testing-2.0.1/lib/rails/dom/testing/assertions/selector_assertions/substitution_context.rb +33 -0
- data/vendor/bundle/gems/rails-dom-testing-2.0.1/lib/rails/dom/testing/version.rb +7 -0
- data/vendor/bundle/gems/rails-dom-testing-2.0.1/test/dom_assertions_test.rb +50 -0
- data/vendor/bundle/gems/rails-dom-testing-2.0.1/test/selector_assertions_test.rb +325 -0
- data/vendor/bundle/gems/rails-dom-testing-2.0.1/test/test_helper.rb +6 -0
- data/vendor/bundle/gems/rails-html-sanitizer-1.0.3/CHANGELOG.md +7 -0
- data/vendor/bundle/gems/rails-html-sanitizer-1.0.3/README.md +142 -0
- data/vendor/bundle/gems/rails-html-sanitizer-1.0.3/lib/rails-html-sanitizer.rb +73 -0
- data/vendor/bundle/gems/rails-html-sanitizer-1.0.3/lib/rails/html/sanitizer.rb +152 -0
- data/vendor/bundle/gems/rails-html-sanitizer-1.0.3/lib/rails/html/sanitizer/version.rb +7 -0
- data/vendor/bundle/gems/rails-html-sanitizer-1.0.3/lib/rails/html/scrubbers.rb +198 -0
- data/vendor/bundle/gems/rails-html-sanitizer-1.0.3/test/sanitizer_test.rb +530 -0
- data/vendor/bundle/gems/rails-html-sanitizer-1.0.3/test/scrubbers_test.rb +174 -0
- data/vendor/bundle/gems/railties-5.0.0/CHANGELOG.md +521 -0
- data/vendor/bundle/gems/railties-5.0.0/MIT-LICENSE +20 -0
- data/vendor/bundle/gems/railties-5.0.0/RDOC_MAIN.rdoc +73 -0
- data/vendor/bundle/gems/railties-5.0.0/README.rdoc +41 -0
- data/vendor/bundle/gems/railties-5.0.0/exe/rails +9 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails.rb +111 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/all.rb +17 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/api/task.rb +163 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/app_loader.rb +64 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/application.rb +531 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/application/bootstrap.rb +82 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/application/configuration.rb +212 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/application/default_middleware_stack.rb +101 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/application/finisher.rb +185 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/application/routes_reloader.rb +54 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/application_controller.rb +16 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/backtrace_cleaner.rb +32 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/cli.rb +15 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/code_statistics.rb +113 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/code_statistics_calculator.rb +86 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/commands.rb +18 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/commands/application.rb +17 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/commands/commands_tasks.rb +180 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/commands/console.rb +68 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/commands/console_helper.rb +34 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/commands/dbconsole.rb +173 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/commands/destroy.rb +11 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/commands/generate.rb +13 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/commands/plugin.rb +23 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/commands/rake_proxy.rb +34 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/commands/runner.rb +69 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/commands/server.rb +139 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/commands/test.rb +9 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/configuration.rb +135 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/console/app.rb +36 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/console/helpers.rb +17 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/dev_caching.rb +43 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/engine.rb +704 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/engine/commands.rb +14 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/engine/commands_tasks.rb +116 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/engine/configuration.rb +86 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/engine/railties.rb +21 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/gem_version.rb +15 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators.rb +398 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/actions.rb +309 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/actions/create_migration.rb +70 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/active_model.rb +78 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/app_base.rb +420 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/base.rb +379 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/css/assets/assets_generator.rb +13 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/css/assets/templates/stylesheet.css +4 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/css/scaffold/scaffold_generator.rb +16 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/erb.rb +25 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/erb/controller/controller_generator.rb +22 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/erb/controller/templates/view.html.erb +2 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/erb/mailer/mailer_generator.rb +33 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/erb/mailer/templates/view.html.erb +5 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/erb/mailer/templates/view.text.erb +3 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/erb/scaffold/scaffold_generator.rb +31 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/erb/scaffold/templates/_form.html.erb +34 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/erb/scaffold/templates/edit.html.erb +6 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/erb/scaffold/templates/index.html.erb +31 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/erb/scaffold/templates/new.html.erb +5 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/erb/scaffold/templates/show.html.erb +11 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/generated_attribute.rb +175 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/js/assets/assets_generator.rb +13 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/js/assets/templates/javascript.js +2 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/migration.rb +69 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/model_helpers.rb +28 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/named_base.rb +233 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/rails/app/USAGE +14 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/rails/app/app_generator.rb +498 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/rails/app/templates/Gemfile +55 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/rails/app/templates/README.md +24 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/rails/app/templates/Rakefile +6 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/rails/app/templates/app/assets/config/manifest.js.tt +7 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/rails/app/templates/app/assets/javascripts/application.js.tt +20 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/rails/app/templates/app/assets/javascripts/cable.js +13 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/rails/app/templates/app/assets/stylesheets/application.css +15 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/rails/app/templates/app/channels/application_cable/channel.rb +4 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/rails/app/templates/app/channels/application_cable/connection.rb +4 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/rails/app/templates/app/controllers/application_controller.rb.tt +5 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/rails/app/templates/app/helpers/application_helper.rb +2 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/rails/app/templates/app/jobs/application_job.rb +2 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/rails/app/templates/app/mailers/application_mailer.rb +4 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/rails/app/templates/app/models/application_record.rb +3 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/rails/app/templates/app/views/layouts/application.html.erb.tt +23 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/rails/app/templates/app/views/layouts/mailer.html.erb.tt +13 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/rails/app/templates/app/views/layouts/mailer.text.erb.tt +1 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/rails/app/templates/bin/bundle +2 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/rails/app/templates/bin/rails +3 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/rails/app/templates/bin/rake +3 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/rails/app/templates/bin/setup +33 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/rails/app/templates/bin/update +28 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/rails/app/templates/config.ru +5 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/rails/app/templates/config/application.rb +36 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/rails/app/templates/config/boot.rb +3 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/rails/app/templates/config/cable.yml +9 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/rails/app/templates/config/databases/frontbase.yml +49 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/rails/app/templates/config/databases/ibm_db.yml +85 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/rails/app/templates/config/databases/jdbc.yml +68 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/rails/app/templates/config/databases/jdbcmysql.yml +52 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/rails/app/templates/config/databases/jdbcpostgresql.yml +68 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/rails/app/templates/config/databases/jdbcsqlite3.yml +23 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/rails/app/templates/config/databases/mysql.yml +58 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/rails/app/templates/config/databases/oracle.yml +58 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/rails/app/templates/config/databases/postgresql.yml +85 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/rails/app/templates/config/databases/sqlite3.yml +25 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/rails/app/templates/config/databases/sqlserver.yml +68 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/rails/app/templates/config/environment.rb +5 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/rails/app/templates/config/environments/development.rb.tt +60 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/rails/app/templates/config/environments/production.rb.tt +94 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/rails/app/templates/config/environments/test.rb.tt +44 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/rails/app/templates/config/initializers/application_controller_renderer.rb +6 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/rails/app/templates/config/initializers/assets.rb.tt +11 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/rails/app/templates/config/initializers/backtrace_silencers.rb +7 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/rails/app/templates/config/initializers/cookies_serializer.rb +5 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/rails/app/templates/config/initializers/cors.rb +16 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/rails/app/templates/config/initializers/filter_parameter_logging.rb +4 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/rails/app/templates/config/initializers/inflections.rb +16 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/rails/app/templates/config/initializers/mime_types.rb +4 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/rails/app/templates/config/initializers/new_framework_defaults.rb.tt +34 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/rails/app/templates/config/initializers/session_store.rb.tt +3 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/rails/app/templates/config/initializers/wrap_parameters.rb.tt +16 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/rails/app/templates/config/locales/en.yml +23 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/rails/app/templates/config/puma.rb +47 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/rails/app/templates/config/routes.rb +3 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/rails/app/templates/config/secrets.yml +22 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/rails/app/templates/config/spring.rb +6 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/rails/app/templates/db/seeds.rb.tt +7 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/rails/app/templates/gitignore +25 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/rails/app/templates/public/404.html +67 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/rails/app/templates/public/422.html +67 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/rails/app/templates/public/500.html +66 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/rails/app/templates/public/apple-touch-icon-precomposed.png +0 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/rails/app/templates/public/apple-touch-icon.png +0 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/rails/app/templates/public/favicon.ico +0 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/rails/app/templates/public/robots.txt +5 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/rails/app/templates/test/test_helper.rb +12 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/rails/assets/USAGE +20 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/rails/assets/assets_generator.rb +25 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/rails/assets/templates/javascript.js +2 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/rails/assets/templates/stylesheet.css +4 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/rails/controller/USAGE +18 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/rails/controller/controller_generator.rb +59 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/rails/controller/templates/controller.rb +13 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/rails/generator/USAGE +13 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/rails/generator/generator_generator.rb +27 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/rails/generator/templates/%file_name%_generator.rb.tt +3 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/rails/generator/templates/USAGE.tt +8 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/rails/helper/USAGE +13 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/rails/helper/helper_generator.rb +13 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/rails/helper/templates/helper.rb +4 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/rails/integration_test/USAGE +10 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/rails/integration_test/integration_test_generator.rb +7 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/rails/migration/USAGE +35 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/rails/migration/migration_generator.rb +8 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/rails/model/USAGE +114 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/rails/model/model_generator.rb +12 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/rails/plugin/USAGE +10 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/rails/plugin/plugin_generator.rb +449 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/rails/plugin/templates/%name%.gemspec +24 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/rails/plugin/templates/Gemfile +47 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/rails/plugin/templates/MIT-LICENSE +20 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/rails/plugin/templates/README.md +28 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/rails/plugin/templates/Rakefile +29 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/rails/plugin/templates/app/controllers/%namespaced_name%/application_controller.rb.tt +6 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/rails/plugin/templates/app/helpers/%namespaced_name%/application_helper.rb.tt +5 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/rails/plugin/templates/app/jobs/%namespaced_name%/application_job.rb.tt +5 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/rails/plugin/templates/app/mailers/%namespaced_name%/application_mailer.rb.tt +7 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/rails/plugin/templates/app/models/%namespaced_name%/application_record.rb.tt +6 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/rails/plugin/templates/app/views/layouts/%namespaced_name%/application.html.erb.tt +14 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/rails/plugin/templates/bin/rails.tt +12 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/rails/plugin/templates/bin/test.tt +8 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/rails/plugin/templates/config/routes.rb +6 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/rails/plugin/templates/gitignore +9 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/rails/plugin/templates/lib/%namespaced_name%.rb +5 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/rails/plugin/templates/lib/%namespaced_name%/engine.rb +7 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/rails/plugin/templates/lib/%namespaced_name%/version.rb +1 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/rails/plugin/templates/lib/tasks/%namespaced_name%_tasks.rake +4 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/rails/plugin/templates/rails/application.rb +20 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/rails/plugin/templates/rails/boot.rb +5 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/rails/plugin/templates/rails/dummy_manifest.js +11 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/rails/plugin/templates/rails/engine_manifest.js +6 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/rails/plugin/templates/rails/javascripts.js +13 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/rails/plugin/templates/rails/routes.rb +3 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/rails/plugin/templates/rails/stylesheets.css +15 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/rails/plugin/templates/test/%namespaced_name%_test.rb +7 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/rails/plugin/templates/test/integration/navigation_test.rb +8 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/rails/plugin/templates/test/test_helper.rb +27 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/rails/resource/USAGE +23 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/rails/resource/resource_generator.rb +19 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/rails/resource_route/resource_route_generator.rb +51 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/rails/scaffold/USAGE +41 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/rails/scaffold/scaffold_generator.rb +33 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/rails/scaffold/templates/scaffold.css +84 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/rails/scaffold_controller/USAGE +19 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/rails/scaffold_controller/scaffold_controller_generator.rb +31 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/rails/scaffold_controller/templates/api_controller.rb +61 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/rails/scaffold_controller/templates/controller.rb +68 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/rails/task/USAGE +9 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/rails/task/task_generator.rb +12 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/rails/task/templates/task.rb +8 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/resource_helpers.rb +82 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/test_case.rb +36 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/test_unit.rb +8 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/test_unit/controller/controller_generator.rb +15 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/test_unit/controller/templates/functional_test.rb +23 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/test_unit/generator/generator_generator.rb +26 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/test_unit/generator/templates/generator_test.rb +16 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/test_unit/helper/helper_generator.rb +9 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/test_unit/integration/integration_generator.rb +13 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/test_unit/integration/templates/integration_test.rb +7 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/test_unit/job/job_generator.rb +13 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/test_unit/job/templates/unit_test.rb.erb +9 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/test_unit/mailer/mailer_generator.rb +26 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/test_unit/mailer/templates/functional_test.rb +21 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/test_unit/mailer/templates/preview.rb +13 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/test_unit/model/model_generator.rb +36 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/test_unit/model/templates/fixtures.yml +29 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/test_unit/model/templates/unit_test.rb +9 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/test_unit/plugin/plugin_generator.rb +13 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/test_unit/plugin/templates/%file_name%_test.rb.tt +7 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/test_unit/plugin/templates/test_helper.rb +2 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/test_unit/scaffold/scaffold_generator.rb +46 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/test_unit/scaffold/templates/api_functional_test.rb +44 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/test_unit/scaffold/templates/functional_test.rb +54 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/testing/assertions.rb +121 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/testing/behaviour.rb +110 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/generators/testing/setup_and_teardown.rb +18 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/info.rb +102 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/info_controller.rb +44 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/initializable.rb +89 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/mailers_controller.rb +79 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/paths.rb +219 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/rack.rb +5 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/rack/debugger.rb +3 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/rack/logger.rb +80 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/railtie.rb +252 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/railtie/configurable.rb +35 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/railtie/configuration.rb +100 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/ruby_version_check.rb +13 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/source_annotation_extractor.rb +133 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/tasks.rb +19 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/tasks/annotations.rake +20 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/tasks/dev.rake +8 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/tasks/engine.rake +72 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/tasks/framework.rake +83 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/tasks/initializers.rake +6 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/tasks/log.rake +36 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/tasks/middleware.rake +7 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/tasks/misc.rake +77 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/tasks/restart.rake +8 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/tasks/routes.rake +38 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/tasks/statistics.rake +29 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/tasks/tmp.rake +35 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/templates/layouts/application.html.erb +36 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/templates/rails/info/properties.html.erb +1 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/templates/rails/info/routes.html.erb +9 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/templates/rails/mailers/email.html.erb +130 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/templates/rails/mailers/index.html.erb +8 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/templates/rails/mailers/mailer.html.erb +6 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/templates/rails/welcome/index.html.erb +64 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/test_help.rb +42 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/test_unit/line_filtering.rb +78 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/test_unit/minitest_plugin.rb +98 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/test_unit/railtie.rb +24 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/test_unit/reporter.rb +98 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/test_unit/test_requirer.rb +28 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/test_unit/testing.rake +50 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/version.rb +8 -0
- data/vendor/bundle/gems/railties-5.0.0/lib/rails/welcome_controller.rb +8 -0
- data/vendor/bundle/gems/rake-11.2.2/CONTRIBUTING.rdoc +36 -0
- data/vendor/bundle/gems/rake-11.2.2/Gemfile +3 -0
- data/vendor/bundle/gems/rake-11.2.2/History.rdoc +2228 -0
- data/vendor/bundle/gems/rake-11.2.2/MIT-LICENSE +21 -0
- data/vendor/bundle/gems/rake-11.2.2/README.rdoc +157 -0
- data/vendor/bundle/gems/rake-11.2.2/Rakefile +29 -0
- data/vendor/bundle/gems/rake-11.2.2/appveyor.yml +24 -0
- data/vendor/bundle/gems/rake-11.2.2/bin/console +7 -0
- data/vendor/bundle/gems/rake-11.2.2/bin/setup +6 -0
- data/vendor/bundle/gems/rake-11.2.2/doc/command_line_usage.rdoc +158 -0
- data/vendor/bundle/gems/rake-11.2.2/doc/example/Rakefile1 +38 -0
- data/vendor/bundle/gems/rake-11.2.2/doc/example/Rakefile2 +35 -0
- data/vendor/bundle/gems/rake-11.2.2/doc/example/a.c +6 -0
- data/vendor/bundle/gems/rake-11.2.2/doc/example/b.c +6 -0
- data/vendor/bundle/gems/rake-11.2.2/doc/example/main.c +11 -0
- data/vendor/bundle/gems/rake-11.2.2/doc/glossary.rdoc +42 -0
- data/vendor/bundle/gems/rake-11.2.2/doc/jamis.rb +591 -0
- data/vendor/bundle/gems/rake-11.2.2/doc/proto_rake.rdoc +127 -0
- data/vendor/bundle/gems/rake-11.2.2/doc/rake.1 +141 -0
- data/vendor/bundle/gems/rake-11.2.2/doc/rakefile.rdoc +624 -0
- data/vendor/bundle/gems/rake-11.2.2/doc/rational.rdoc +151 -0
- data/vendor/bundle/gems/rake-11.2.2/doc/release_notes/README.md +4 -0
- data/vendor/bundle/gems/rake-11.2.2/doc/release_notes/rake-0.4.14.rdoc +23 -0
- data/vendor/bundle/gems/rake-11.2.2/doc/release_notes/rake-0.4.15.rdoc +35 -0
- data/vendor/bundle/gems/rake-11.2.2/doc/release_notes/rake-0.5.0.rdoc +53 -0
- data/vendor/bundle/gems/rake-11.2.2/doc/release_notes/rake-0.5.3.rdoc +78 -0
- data/vendor/bundle/gems/rake-11.2.2/doc/release_notes/rake-0.5.4.rdoc +46 -0
- data/vendor/bundle/gems/rake-11.2.2/doc/release_notes/rake-0.6.0.rdoc +141 -0
- data/vendor/bundle/gems/rake-11.2.2/doc/release_notes/rake-0.7.0.rdoc +119 -0
- data/vendor/bundle/gems/rake-11.2.2/doc/release_notes/rake-0.7.1.rdoc +59 -0
- data/vendor/bundle/gems/rake-11.2.2/doc/release_notes/rake-0.7.2.rdoc +121 -0
- data/vendor/bundle/gems/rake-11.2.2/doc/release_notes/rake-0.7.3.rdoc +47 -0
- data/vendor/bundle/gems/rake-11.2.2/doc/release_notes/rake-0.8.0.rdoc +114 -0
- data/vendor/bundle/gems/rake-11.2.2/doc/release_notes/rake-0.8.2.rdoc +165 -0
- data/vendor/bundle/gems/rake-11.2.2/doc/release_notes/rake-0.8.3.rdoc +112 -0
- data/vendor/bundle/gems/rake-11.2.2/doc/release_notes/rake-0.8.4.rdoc +147 -0
- data/vendor/bundle/gems/rake-11.2.2/doc/release_notes/rake-0.8.5.rdoc +53 -0
- data/vendor/bundle/gems/rake-11.2.2/doc/release_notes/rake-0.8.6.rdoc +37 -0
- data/vendor/bundle/gems/rake-11.2.2/doc/release_notes/rake-0.8.7.rdoc +55 -0
- data/vendor/bundle/gems/rake-11.2.2/doc/release_notes/rake-0.9.0.rdoc +112 -0
- data/vendor/bundle/gems/rake-11.2.2/doc/release_notes/rake-0.9.1.rdoc +52 -0
- data/vendor/bundle/gems/rake-11.2.2/doc/release_notes/rake-0.9.2.2.rdoc +55 -0
- data/vendor/bundle/gems/rake-11.2.2/doc/release_notes/rake-0.9.2.rdoc +49 -0
- data/vendor/bundle/gems/rake-11.2.2/doc/release_notes/rake-0.9.3.rdoc +102 -0
- data/vendor/bundle/gems/rake-11.2.2/doc/release_notes/rake-0.9.4.rdoc +60 -0
- data/vendor/bundle/gems/rake-11.2.2/doc/release_notes/rake-0.9.5.rdoc +55 -0
- data/vendor/bundle/gems/rake-11.2.2/doc/release_notes/rake-0.9.6.rdoc +64 -0
- data/vendor/bundle/gems/rake-11.2.2/doc/release_notes/rake-10.0.0.rdoc +178 -0
- data/vendor/bundle/gems/rake-11.2.2/doc/release_notes/rake-10.0.1.rdoc +58 -0
- data/vendor/bundle/gems/rake-11.2.2/doc/release_notes/rake-10.0.2.rdoc +53 -0
- data/vendor/bundle/gems/rake-11.2.2/doc/release_notes/rake-10.0.3.rdoc +191 -0
- data/vendor/bundle/gems/rake-11.2.2/doc/release_notes/rake-10.1.0.rdoc +61 -0
- data/vendor/bundle/gems/rake-11.2.2/exe/rake +27 -0
- data/vendor/bundle/gems/rake-11.2.2/lib/rake.rb +71 -0
- data/vendor/bundle/gems/rake-11.2.2/lib/rake/application.rb +784 -0
- data/vendor/bundle/gems/rake-11.2.2/lib/rake/backtrace.rb +23 -0
- data/vendor/bundle/gems/rake-11.2.2/lib/rake/clean.rb +76 -0
- data/vendor/bundle/gems/rake-11.2.2/lib/rake/cloneable.rb +16 -0
- data/vendor/bundle/gems/rake-11.2.2/lib/rake/contrib/compositepublisher.rb +21 -0
- data/vendor/bundle/gems/rake-11.2.2/lib/rake/contrib/ftptools.rb +137 -0
- data/vendor/bundle/gems/rake-11.2.2/lib/rake/contrib/sshpublisher.rb +60 -0
- data/vendor/bundle/gems/rake-11.2.2/lib/rake/cpu_counter.rb +106 -0
- data/vendor/bundle/gems/rake-11.2.2/lib/rake/default_loader.rb +14 -0
- data/vendor/bundle/gems/rake-11.2.2/lib/rake/dsl_definition.rb +194 -0
- data/vendor/bundle/gems/rake-11.2.2/lib/rake/early_time.rb +21 -0
- data/vendor/bundle/gems/rake-11.2.2/lib/rake/ext/core.rb +25 -0
- data/vendor/bundle/gems/rake-11.2.2/lib/rake/ext/fixnum.rb +18 -0
- data/vendor/bundle/gems/rake-11.2.2/lib/rake/ext/pathname.rb +25 -0
- data/vendor/bundle/gems/rake-11.2.2/lib/rake/ext/string.rb +175 -0
- data/vendor/bundle/gems/rake-11.2.2/lib/rake/file_creation_task.rb +24 -0
- data/vendor/bundle/gems/rake-11.2.2/lib/rake/file_list.rb +436 -0
- data/vendor/bundle/gems/rake-11.2.2/lib/rake/file_task.rb +46 -0
- data/vendor/bundle/gems/rake-11.2.2/lib/rake/file_utils.rb +139 -0
- data/vendor/bundle/gems/rake-11.2.2/lib/rake/file_utils_ext.rb +144 -0
- data/vendor/bundle/gems/rake-11.2.2/lib/rake/invocation_chain.rb +56 -0
- data/vendor/bundle/gems/rake-11.2.2/lib/rake/invocation_exception_mixin.rb +16 -0
- data/vendor/bundle/gems/rake-11.2.2/lib/rake/late_time.rb +17 -0
- data/vendor/bundle/gems/rake-11.2.2/lib/rake/linked_list.rb +111 -0
- data/vendor/bundle/gems/rake-11.2.2/lib/rake/loaders/makefile.rb +53 -0
- data/vendor/bundle/gems/rake-11.2.2/lib/rake/multi_task.rb +13 -0
- data/vendor/bundle/gems/rake-11.2.2/lib/rake/name_space.rb +38 -0
- data/vendor/bundle/gems/rake-11.2.2/lib/rake/packagetask.rb +210 -0
- data/vendor/bundle/gems/rake-11.2.2/lib/rake/phony.rb +15 -0
- data/vendor/bundle/gems/rake-11.2.2/lib/rake/private_reader.rb +20 -0
- data/vendor/bundle/gems/rake-11.2.2/lib/rake/promise.rb +99 -0
- data/vendor/bundle/gems/rake-11.2.2/lib/rake/pseudo_status.rb +29 -0
- data/vendor/bundle/gems/rake-11.2.2/lib/rake/rake_module.rb +38 -0
- data/vendor/bundle/gems/rake-11.2.2/lib/rake/rake_test_loader.rb +21 -0
- data/vendor/bundle/gems/rake-11.2.2/lib/rake/rule_recursion_overflow_error.rb +19 -0
- data/vendor/bundle/gems/rake-11.2.2/lib/rake/scope.rb +42 -0
- data/vendor/bundle/gems/rake-11.2.2/lib/rake/task.rb +391 -0
- data/vendor/bundle/gems/rake-11.2.2/lib/rake/task_argument_error.rb +7 -0
- data/vendor/bundle/gems/rake-11.2.2/lib/rake/task_arguments.rb +103 -0
- data/vendor/bundle/gems/rake-11.2.2/lib/rake/task_manager.rb +316 -0
- data/vendor/bundle/gems/rake-11.2.2/lib/rake/tasklib.rb +11 -0
- data/vendor/bundle/gems/rake-11.2.2/lib/rake/testtask.rb +212 -0
- data/vendor/bundle/gems/rake-11.2.2/lib/rake/thread_history_display.rb +48 -0
- data/vendor/bundle/gems/rake-11.2.2/lib/rake/thread_pool.rb +162 -0
- data/vendor/bundle/gems/rake-11.2.2/lib/rake/trace_output.rb +22 -0
- data/vendor/bundle/gems/rake-11.2.2/lib/rake/version.rb +9 -0
- data/vendor/bundle/gems/rake-11.2.2/lib/rake/win32.rb +50 -0
- data/vendor/bundle/gems/rake-11.2.2/rake.gemspec +30 -0
- data/vendor/bundle/gems/redis-2.2.2/CHANGELOG.md +49 -0
- data/vendor/bundle/gems/redis-2.2.2/LICENSE +20 -0
- data/vendor/bundle/gems/redis-2.2.2/README.md +208 -0
- data/vendor/bundle/gems/redis-2.2.2/Rakefile +268 -0
- data/vendor/bundle/gems/redis-2.2.2/TODO.md +4 -0
- data/vendor/bundle/gems/redis-2.2.2/benchmarking/logging.rb +62 -0
- data/vendor/bundle/gems/redis-2.2.2/benchmarking/pipeline.rb +51 -0
- data/vendor/bundle/gems/redis-2.2.2/benchmarking/speed.rb +21 -0
- data/vendor/bundle/gems/redis-2.2.2/benchmarking/suite.rb +24 -0
- data/vendor/bundle/gems/redis-2.2.2/benchmarking/thread_safety.rb +38 -0
- data/vendor/bundle/gems/redis-2.2.2/benchmarking/worker.rb +71 -0
- data/vendor/bundle/gems/redis-2.2.2/examples/basic.rb +15 -0
- data/vendor/bundle/gems/redis-2.2.2/examples/dist_redis.rb +43 -0
- data/vendor/bundle/gems/redis-2.2.2/examples/incr-decr.rb +17 -0
- data/vendor/bundle/gems/redis-2.2.2/examples/list.rb +26 -0
- data/vendor/bundle/gems/redis-2.2.2/examples/pubsub.rb +31 -0
- data/vendor/bundle/gems/redis-2.2.2/examples/sets.rb +36 -0
- data/vendor/bundle/gems/redis-2.2.2/examples/unicorn/config.ru +3 -0
- data/vendor/bundle/gems/redis-2.2.2/examples/unicorn/unicorn.rb +20 -0
- data/vendor/bundle/gems/redis-2.2.2/lib/redis.rb +1148 -0
- data/vendor/bundle/gems/redis-2.2.2/lib/redis/client.rb +265 -0
- data/vendor/bundle/gems/redis-2.2.2/lib/redis/compat.rb +21 -0
- data/vendor/bundle/gems/redis-2.2.2/lib/redis/connection.rb +9 -0
- data/vendor/bundle/gems/redis-2.2.2/lib/redis/connection/command_helper.rb +45 -0
- data/vendor/bundle/gems/redis-2.2.2/lib/redis/connection/hiredis.rb +49 -0
- data/vendor/bundle/gems/redis-2.2.2/lib/redis/connection/registry.rb +12 -0
- data/vendor/bundle/gems/redis-2.2.2/lib/redis/connection/ruby.rb +135 -0
- data/vendor/bundle/gems/redis-2.2.2/lib/redis/connection/synchrony.rb +129 -0
- data/vendor/bundle/gems/redis-2.2.2/lib/redis/distributed.rb +694 -0
- data/vendor/bundle/gems/redis-2.2.2/lib/redis/hash_ring.rb +131 -0
- data/vendor/bundle/gems/redis-2.2.2/lib/redis/pipeline.rb +34 -0
- data/vendor/bundle/gems/redis-2.2.2/lib/redis/subscribe.rb +94 -0
- data/vendor/bundle/gems/redis-2.2.2/lib/redis/version.rb +3 -0
- data/vendor/bundle/gems/redis-2.2.2/redis.gemspec +24 -0
- data/vendor/bundle/gems/redis-2.2.2/test/commands_on_hashes_test.rb +20 -0
- data/vendor/bundle/gems/redis-2.2.2/test/commands_on_lists_test.rb +60 -0
- data/vendor/bundle/gems/redis-2.2.2/test/commands_on_sets_test.rb +78 -0
- data/vendor/bundle/gems/redis-2.2.2/test/commands_on_sorted_sets_test.rb +109 -0
- data/vendor/bundle/gems/redis-2.2.2/test/commands_on_strings_test.rb +80 -0
- data/vendor/bundle/gems/redis-2.2.2/test/commands_on_value_types_test.rb +88 -0
- data/vendor/bundle/gems/redis-2.2.2/test/connection_handling_test.rb +88 -0
- data/vendor/bundle/gems/redis-2.2.2/test/distributed_blocking_commands_test.rb +53 -0
- data/vendor/bundle/gems/redis-2.2.2/test/distributed_commands_on_hashes_test.rb +12 -0
- data/vendor/bundle/gems/redis-2.2.2/test/distributed_commands_on_lists_test.rb +24 -0
- data/vendor/bundle/gems/redis-2.2.2/test/distributed_commands_on_sets_test.rb +85 -0
- data/vendor/bundle/gems/redis-2.2.2/test/distributed_commands_on_strings_test.rb +50 -0
- data/vendor/bundle/gems/redis-2.2.2/test/distributed_commands_on_value_types_test.rb +73 -0
- data/vendor/bundle/gems/redis-2.2.2/test/distributed_commands_requiring_clustering_test.rb +148 -0
- data/vendor/bundle/gems/redis-2.2.2/test/distributed_connection_handling_test.rb +25 -0
- data/vendor/bundle/gems/redis-2.2.2/test/distributed_internals_test.rb +27 -0
- data/vendor/bundle/gems/redis-2.2.2/test/distributed_key_tags_test.rb +53 -0
- data/vendor/bundle/gems/redis-2.2.2/test/distributed_persistence_control_commands_test.rb +24 -0
- data/vendor/bundle/gems/redis-2.2.2/test/distributed_publish_subscribe_test.rb +101 -0
- data/vendor/bundle/gems/redis-2.2.2/test/distributed_remote_server_control_commands_test.rb +43 -0
- data/vendor/bundle/gems/redis-2.2.2/test/distributed_sorting_test.rb +21 -0
- data/vendor/bundle/gems/redis-2.2.2/test/distributed_test.rb +59 -0
- data/vendor/bundle/gems/redis-2.2.2/test/distributed_transactions_test.rb +34 -0
- data/vendor/bundle/gems/redis-2.2.2/test/encoding_test.rb +16 -0
- data/vendor/bundle/gems/redis-2.2.2/test/error_replies_test.rb +53 -0
- data/vendor/bundle/gems/redis-2.2.2/test/helper.rb +145 -0
- data/vendor/bundle/gems/redis-2.2.2/test/internals_test.rb +160 -0
- data/vendor/bundle/gems/redis-2.2.2/test/lint/hashes.rb +126 -0
- data/vendor/bundle/gems/redis-2.2.2/test/lint/internals.rb +37 -0
- data/vendor/bundle/gems/redis-2.2.2/test/lint/lists.rb +93 -0
- data/vendor/bundle/gems/redis-2.2.2/test/lint/sets.rb +66 -0
- data/vendor/bundle/gems/redis-2.2.2/test/lint/sorted_sets.rb +167 -0
- data/vendor/bundle/gems/redis-2.2.2/test/lint/strings.rb +137 -0
- data/vendor/bundle/gems/redis-2.2.2/test/lint/value_types.rb +84 -0
- data/vendor/bundle/gems/redis-2.2.2/test/persistence_control_commands_test.rb +22 -0
- data/vendor/bundle/gems/redis-2.2.2/test/pipelining_commands_test.rb +123 -0
- data/vendor/bundle/gems/redis-2.2.2/test/publish_subscribe_test.rb +158 -0
- data/vendor/bundle/gems/redis-2.2.2/test/redis_mock.rb +80 -0
- data/vendor/bundle/gems/redis-2.2.2/test/remote_server_control_commands_test.rb +82 -0
- data/vendor/bundle/gems/redis-2.2.2/test/sorting_test.rb +44 -0
- data/vendor/bundle/gems/redis-2.2.2/test/synchrony_driver.rb +57 -0
- data/vendor/bundle/gems/redis-2.2.2/test/test.conf +8 -0
- data/vendor/bundle/gems/redis-2.2.2/test/thread_safety_test.rb +30 -0
- data/vendor/bundle/gems/redis-2.2.2/test/transactions_test.rb +100 -0
- data/vendor/bundle/gems/redis-2.2.2/test/unknown_commands_test.rb +14 -0
- data/vendor/bundle/gems/redis-2.2.2/test/url_param_test.rb +60 -0
- data/vendor/bundle/gems/redis-3.3.1/CHANGELOG.md +368 -0
- data/vendor/bundle/gems/redis-3.3.1/Gemfile +4 -0
- data/vendor/bundle/gems/redis-3.3.1/LICENSE +20 -0
- data/vendor/bundle/gems/redis-3.3.1/README.md +410 -0
- data/vendor/bundle/gems/redis-3.3.1/Rakefile +87 -0
- data/vendor/bundle/gems/redis-3.3.1/benchmarking/logging.rb +71 -0
- data/vendor/bundle/gems/redis-3.3.1/benchmarking/pipeline.rb +51 -0
- data/vendor/bundle/gems/redis-3.3.1/benchmarking/speed.rb +21 -0
- data/vendor/bundle/gems/redis-3.3.1/benchmarking/suite.rb +24 -0
- data/vendor/bundle/gems/redis-3.3.1/benchmarking/worker.rb +71 -0
- data/vendor/bundle/gems/redis-3.3.1/examples/basic.rb +15 -0
- data/vendor/bundle/gems/redis-3.3.1/examples/consistency.rb +114 -0
- data/vendor/bundle/gems/redis-3.3.1/examples/dist_redis.rb +43 -0
- data/vendor/bundle/gems/redis-3.3.1/examples/incr-decr.rb +17 -0
- data/vendor/bundle/gems/redis-3.3.1/examples/list.rb +26 -0
- data/vendor/bundle/gems/redis-3.3.1/examples/pubsub.rb +37 -0
- data/vendor/bundle/gems/redis-3.3.1/examples/sentinel.rb +41 -0
- data/vendor/bundle/gems/redis-3.3.1/examples/sentinel/sentinel.conf +9 -0
- data/vendor/bundle/gems/redis-3.3.1/examples/sentinel/start +49 -0
- data/vendor/bundle/gems/redis-3.3.1/examples/sets.rb +36 -0
- data/vendor/bundle/gems/redis-3.3.1/examples/unicorn/config.ru +3 -0
- data/vendor/bundle/gems/redis-3.3.1/examples/unicorn/unicorn.rb +20 -0
- data/vendor/bundle/gems/redis-3.3.1/lib/redis.rb +2773 -0
- data/vendor/bundle/gems/redis-3.3.1/lib/redis/client.rb +590 -0
- data/vendor/bundle/gems/redis-3.3.1/lib/redis/connection.rb +9 -0
- data/vendor/bundle/gems/redis-3.3.1/lib/redis/connection/command_helper.rb +44 -0
- data/vendor/bundle/gems/redis-3.3.1/lib/redis/connection/hiredis.rb +66 -0
- data/vendor/bundle/gems/redis-3.3.1/lib/redis/connection/registry.rb +12 -0
- data/vendor/bundle/gems/redis-3.3.1/lib/redis/connection/ruby.rb +411 -0
- data/vendor/bundle/gems/redis-3.3.1/lib/redis/connection/synchrony.rb +133 -0
- data/vendor/bundle/gems/redis-3.3.1/lib/redis/distributed.rb +873 -0
- data/vendor/bundle/gems/redis-3.3.1/lib/redis/errors.rb +40 -0
- data/vendor/bundle/gems/redis-3.3.1/lib/redis/hash_ring.rb +132 -0
- data/vendor/bundle/gems/redis-3.3.1/lib/redis/pipeline.rb +141 -0
- data/vendor/bundle/gems/redis-3.3.1/lib/redis/subscribe.rb +91 -0
- data/vendor/bundle/gems/redis-3.3.1/lib/redis/version.rb +3 -0
- data/vendor/bundle/gems/redis-3.3.1/redis.gemspec +44 -0
- data/vendor/bundle/gems/redis-3.3.1/test/bitpos_test.rb +69 -0
- data/vendor/bundle/gems/redis-3.3.1/test/blocking_commands_test.rb +42 -0
- data/vendor/bundle/gems/redis-3.3.1/test/client_test.rb +59 -0
- data/vendor/bundle/gems/redis-3.3.1/test/command_map_test.rb +30 -0
- data/vendor/bundle/gems/redis-3.3.1/test/commands_on_hashes_test.rb +21 -0
- data/vendor/bundle/gems/redis-3.3.1/test/commands_on_hyper_log_log_test.rb +21 -0
- data/vendor/bundle/gems/redis-3.3.1/test/commands_on_lists_test.rb +20 -0
- data/vendor/bundle/gems/redis-3.3.1/test/commands_on_sets_test.rb +77 -0
- data/vendor/bundle/gems/redis-3.3.1/test/commands_on_sorted_sets_test.rb +137 -0
- data/vendor/bundle/gems/redis-3.3.1/test/commands_on_strings_test.rb +101 -0
- data/vendor/bundle/gems/redis-3.3.1/test/commands_on_value_types_test.rb +133 -0
- data/vendor/bundle/gems/redis-3.3.1/test/connection_handling_test.rb +277 -0
- data/vendor/bundle/gems/redis-3.3.1/test/distributed_blocking_commands_test.rb +46 -0
- data/vendor/bundle/gems/redis-3.3.1/test/distributed_commands_on_hashes_test.rb +10 -0
- data/vendor/bundle/gems/redis-3.3.1/test/distributed_commands_on_hyper_log_log_test.rb +33 -0
- data/vendor/bundle/gems/redis-3.3.1/test/distributed_commands_on_lists_test.rb +22 -0
- data/vendor/bundle/gems/redis-3.3.1/test/distributed_commands_on_sets_test.rb +83 -0
- data/vendor/bundle/gems/redis-3.3.1/test/distributed_commands_on_sorted_sets_test.rb +18 -0
- data/vendor/bundle/gems/redis-3.3.1/test/distributed_commands_on_strings_test.rb +59 -0
- data/vendor/bundle/gems/redis-3.3.1/test/distributed_commands_on_value_types_test.rb +95 -0
- data/vendor/bundle/gems/redis-3.3.1/test/distributed_commands_requiring_clustering_test.rb +164 -0
- data/vendor/bundle/gems/redis-3.3.1/test/distributed_connection_handling_test.rb +23 -0
- data/vendor/bundle/gems/redis-3.3.1/test/distributed_internals_test.rb +79 -0
- data/vendor/bundle/gems/redis-3.3.1/test/distributed_key_tags_test.rb +52 -0
- data/vendor/bundle/gems/redis-3.3.1/test/distributed_persistence_control_commands_test.rb +26 -0
- data/vendor/bundle/gems/redis-3.3.1/test/distributed_publish_subscribe_test.rb +92 -0
- data/vendor/bundle/gems/redis-3.3.1/test/distributed_remote_server_control_commands_test.rb +66 -0
- data/vendor/bundle/gems/redis-3.3.1/test/distributed_scripting_test.rb +102 -0
- data/vendor/bundle/gems/redis-3.3.1/test/distributed_sorting_test.rb +20 -0
- data/vendor/bundle/gems/redis-3.3.1/test/distributed_test.rb +58 -0
- data/vendor/bundle/gems/redis-3.3.1/test/distributed_transactions_test.rb +32 -0
- data/vendor/bundle/gems/redis-3.3.1/test/encoding_test.rb +18 -0
- data/vendor/bundle/gems/redis-3.3.1/test/error_replies_test.rb +59 -0
- data/vendor/bundle/gems/redis-3.3.1/test/fork_safety_test.rb +65 -0
- data/vendor/bundle/gems/redis-3.3.1/test/helper.rb +232 -0
- data/vendor/bundle/gems/redis-3.3.1/test/helper_test.rb +24 -0
- data/vendor/bundle/gems/redis-3.3.1/test/internals_test.rb +457 -0
- data/vendor/bundle/gems/redis-3.3.1/test/lint/blocking_commands.rb +150 -0
- data/vendor/bundle/gems/redis-3.3.1/test/lint/hashes.rb +162 -0
- data/vendor/bundle/gems/redis-3.3.1/test/lint/hyper_log_log.rb +60 -0
- data/vendor/bundle/gems/redis-3.3.1/test/lint/lists.rb +143 -0
- data/vendor/bundle/gems/redis-3.3.1/test/lint/sets.rb +125 -0
- data/vendor/bundle/gems/redis-3.3.1/test/lint/sorted_sets.rb +316 -0
- data/vendor/bundle/gems/redis-3.3.1/test/lint/strings.rb +260 -0
- data/vendor/bundle/gems/redis-3.3.1/test/lint/value_types.rb +122 -0
- data/vendor/bundle/gems/redis-3.3.1/test/persistence_control_commands_test.rb +26 -0
- data/vendor/bundle/gems/redis-3.3.1/test/pipelining_commands_test.rb +242 -0
- data/vendor/bundle/gems/redis-3.3.1/test/publish_subscribe_test.rb +282 -0
- data/vendor/bundle/gems/redis-3.3.1/test/remote_server_control_commands_test.rb +118 -0
- data/vendor/bundle/gems/redis-3.3.1/test/scanning_test.rb +413 -0
- data/vendor/bundle/gems/redis-3.3.1/test/scripting_test.rb +78 -0
- data/vendor/bundle/gems/redis-3.3.1/test/sentinel_command_test.rb +80 -0
- data/vendor/bundle/gems/redis-3.3.1/test/sentinel_test.rb +255 -0
- data/vendor/bundle/gems/redis-3.3.1/test/sorting_test.rb +59 -0
- data/vendor/bundle/gems/redis-3.3.1/test/ssl_test.rb +66 -0
- data/vendor/bundle/gems/redis-3.3.1/test/support/connection/hiredis.rb +1 -0
- data/vendor/bundle/gems/redis-3.3.1/test/support/connection/ruby.rb +1 -0
- data/vendor/bundle/gems/redis-3.3.1/test/support/connection/synchrony.rb +17 -0
- data/vendor/bundle/gems/redis-3.3.1/test/support/redis_mock.rb +130 -0
- data/vendor/bundle/gems/redis-3.3.1/test/support/ssl/gen_certs.sh +31 -0
- data/vendor/bundle/gems/redis-3.3.1/test/support/ssl/trusted-ca.crt +25 -0
- data/vendor/bundle/gems/redis-3.3.1/test/support/ssl/trusted-ca.key +27 -0
- data/vendor/bundle/gems/redis-3.3.1/test/support/ssl/trusted-cert.crt +81 -0
- data/vendor/bundle/gems/redis-3.3.1/test/support/ssl/trusted-cert.key +28 -0
- data/vendor/bundle/gems/redis-3.3.1/test/support/ssl/untrusted-ca.crt +26 -0
- data/vendor/bundle/gems/redis-3.3.1/test/support/ssl/untrusted-ca.key +27 -0
- data/vendor/bundle/gems/redis-3.3.1/test/support/ssl/untrusted-cert.crt +82 -0
- data/vendor/bundle/gems/redis-3.3.1/test/support/ssl/untrusted-cert.key +28 -0
- data/vendor/bundle/gems/redis-3.3.1/test/support/wire/synchrony.rb +24 -0
- data/vendor/bundle/gems/redis-3.3.1/test/support/wire/thread.rb +5 -0
- data/vendor/bundle/gems/redis-3.3.1/test/synchrony_driver.rb +88 -0
- data/vendor/bundle/gems/redis-3.3.1/test/test.conf.erb +9 -0
- data/vendor/bundle/gems/redis-3.3.1/test/thread_safety_test.rb +62 -0
- data/vendor/bundle/gems/redis-3.3.1/test/transactions_test.rb +264 -0
- data/vendor/bundle/gems/redis-3.3.1/test/unknown_commands_test.rb +14 -0
- data/vendor/bundle/gems/redis-3.3.1/test/url_param_test.rb +138 -0
- data/vendor/bundle/gems/redis-3.3.2/CHANGELOG.md +374 -0
- data/vendor/bundle/gems/redis-3.3.2/Gemfile +4 -0
- data/vendor/bundle/gems/redis-3.3.2/LICENSE +20 -0
- data/vendor/bundle/gems/redis-3.3.2/README.md +410 -0
- data/vendor/bundle/gems/redis-3.3.2/Rakefile +87 -0
- data/vendor/bundle/gems/redis-3.3.2/benchmarking/logging.rb +71 -0
- data/vendor/bundle/gems/redis-3.3.2/benchmarking/pipeline.rb +51 -0
- data/vendor/bundle/gems/redis-3.3.2/benchmarking/speed.rb +21 -0
- data/vendor/bundle/gems/redis-3.3.2/benchmarking/suite.rb +24 -0
- data/vendor/bundle/gems/redis-3.3.2/benchmarking/worker.rb +71 -0
- data/vendor/bundle/gems/redis-3.3.2/examples/basic.rb +15 -0
- data/vendor/bundle/gems/redis-3.3.2/examples/consistency.rb +114 -0
- data/vendor/bundle/gems/redis-3.3.2/examples/dist_redis.rb +43 -0
- data/vendor/bundle/gems/redis-3.3.2/examples/incr-decr.rb +17 -0
- data/vendor/bundle/gems/redis-3.3.2/examples/list.rb +26 -0
- data/vendor/bundle/gems/redis-3.3.2/examples/pubsub.rb +37 -0
- data/vendor/bundle/gems/redis-3.3.2/examples/sentinel.rb +41 -0
- data/vendor/bundle/gems/redis-3.3.2/examples/sentinel/sentinel.conf +9 -0
- data/vendor/bundle/gems/redis-3.3.2/examples/sentinel/start +49 -0
- data/vendor/bundle/gems/redis-3.3.2/examples/sets.rb +36 -0
- data/vendor/bundle/gems/redis-3.3.2/examples/unicorn/config.ru +3 -0
- data/vendor/bundle/gems/redis-3.3.2/examples/unicorn/unicorn.rb +20 -0
- data/vendor/bundle/gems/redis-3.3.2/lib/redis.rb +2778 -0
- data/vendor/bundle/gems/redis-3.3.2/lib/redis/client.rb +590 -0
- data/vendor/bundle/gems/redis-3.3.2/lib/redis/connection.rb +9 -0
- data/vendor/bundle/gems/redis-3.3.2/lib/redis/connection/command_helper.rb +44 -0
- data/vendor/bundle/gems/redis-3.3.2/lib/redis/connection/hiredis.rb +66 -0
- data/vendor/bundle/gems/redis-3.3.2/lib/redis/connection/registry.rb +12 -0
- data/vendor/bundle/gems/redis-3.3.2/lib/redis/connection/ruby.rb +427 -0
- data/vendor/bundle/gems/redis-3.3.2/lib/redis/connection/synchrony.rb +133 -0
- data/vendor/bundle/gems/redis-3.3.2/lib/redis/distributed.rb +873 -0
- data/vendor/bundle/gems/redis-3.3.2/lib/redis/errors.rb +40 -0
- data/vendor/bundle/gems/redis-3.3.2/lib/redis/hash_ring.rb +132 -0
- data/vendor/bundle/gems/redis-3.3.2/lib/redis/pipeline.rb +141 -0
- data/vendor/bundle/gems/redis-3.3.2/lib/redis/subscribe.rb +91 -0
- data/vendor/bundle/gems/redis-3.3.2/lib/redis/version.rb +3 -0
- data/vendor/bundle/gems/redis-3.3.2/redis.gemspec +44 -0
- data/vendor/bundle/gems/redis-3.3.2/test/bitpos_test.rb +69 -0
- data/vendor/bundle/gems/redis-3.3.2/test/blocking_commands_test.rb +42 -0
- data/vendor/bundle/gems/redis-3.3.2/test/client_test.rb +59 -0
- data/vendor/bundle/gems/redis-3.3.2/test/command_map_test.rb +30 -0
- data/vendor/bundle/gems/redis-3.3.2/test/commands_on_hashes_test.rb +21 -0
- data/vendor/bundle/gems/redis-3.3.2/test/commands_on_hyper_log_log_test.rb +21 -0
- data/vendor/bundle/gems/redis-3.3.2/test/commands_on_lists_test.rb +20 -0
- data/vendor/bundle/gems/redis-3.3.2/test/commands_on_sets_test.rb +77 -0
- data/vendor/bundle/gems/redis-3.3.2/test/commands_on_sorted_sets_test.rb +137 -0
- data/vendor/bundle/gems/redis-3.3.2/test/commands_on_strings_test.rb +101 -0
- data/vendor/bundle/gems/redis-3.3.2/test/commands_on_value_types_test.rb +133 -0
- data/vendor/bundle/gems/redis-3.3.2/test/connection_handling_test.rb +277 -0
- data/vendor/bundle/gems/redis-3.3.2/test/distributed_blocking_commands_test.rb +46 -0
- data/vendor/bundle/gems/redis-3.3.2/test/distributed_commands_on_hashes_test.rb +10 -0
- data/vendor/bundle/gems/redis-3.3.2/test/distributed_commands_on_hyper_log_log_test.rb +33 -0
- data/vendor/bundle/gems/redis-3.3.2/test/distributed_commands_on_lists_test.rb +22 -0
- data/vendor/bundle/gems/redis-3.3.2/test/distributed_commands_on_sets_test.rb +83 -0
- data/vendor/bundle/gems/redis-3.3.2/test/distributed_commands_on_sorted_sets_test.rb +18 -0
- data/vendor/bundle/gems/redis-3.3.2/test/distributed_commands_on_strings_test.rb +59 -0
- data/vendor/bundle/gems/redis-3.3.2/test/distributed_commands_on_value_types_test.rb +95 -0
- data/vendor/bundle/gems/redis-3.3.2/test/distributed_commands_requiring_clustering_test.rb +164 -0
- data/vendor/bundle/gems/redis-3.3.2/test/distributed_connection_handling_test.rb +23 -0
- data/vendor/bundle/gems/redis-3.3.2/test/distributed_internals_test.rb +79 -0
- data/vendor/bundle/gems/redis-3.3.2/test/distributed_key_tags_test.rb +52 -0
- data/vendor/bundle/gems/redis-3.3.2/test/distributed_persistence_control_commands_test.rb +26 -0
- data/vendor/bundle/gems/redis-3.3.2/test/distributed_publish_subscribe_test.rb +92 -0
- data/vendor/bundle/gems/redis-3.3.2/test/distributed_remote_server_control_commands_test.rb +66 -0
- data/vendor/bundle/gems/redis-3.3.2/test/distributed_scripting_test.rb +102 -0
- data/vendor/bundle/gems/redis-3.3.2/test/distributed_sorting_test.rb +20 -0
- data/vendor/bundle/gems/redis-3.3.2/test/distributed_test.rb +58 -0
- data/vendor/bundle/gems/redis-3.3.2/test/distributed_transactions_test.rb +32 -0
- data/vendor/bundle/gems/redis-3.3.2/test/encoding_test.rb +18 -0
- data/vendor/bundle/gems/redis-3.3.2/test/error_replies_test.rb +59 -0
- data/vendor/bundle/gems/redis-3.3.2/test/fork_safety_test.rb +65 -0
- data/vendor/bundle/gems/redis-3.3.2/test/helper.rb +232 -0
- data/vendor/bundle/gems/redis-3.3.2/test/helper_test.rb +24 -0
- data/vendor/bundle/gems/redis-3.3.2/test/internals_test.rb +457 -0
- data/vendor/bundle/gems/redis-3.3.2/test/lint/blocking_commands.rb +150 -0
- data/vendor/bundle/gems/redis-3.3.2/test/lint/hashes.rb +162 -0
- data/vendor/bundle/gems/redis-3.3.2/test/lint/hyper_log_log.rb +60 -0
- data/vendor/bundle/gems/redis-3.3.2/test/lint/lists.rb +143 -0
- data/vendor/bundle/gems/redis-3.3.2/test/lint/sets.rb +140 -0
- data/vendor/bundle/gems/redis-3.3.2/test/lint/sorted_sets.rb +316 -0
- data/vendor/bundle/gems/redis-3.3.2/test/lint/strings.rb +260 -0
- data/vendor/bundle/gems/redis-3.3.2/test/lint/value_types.rb +122 -0
- data/vendor/bundle/gems/redis-3.3.2/test/persistence_control_commands_test.rb +26 -0
- data/vendor/bundle/gems/redis-3.3.2/test/pipelining_commands_test.rb +242 -0
- data/vendor/bundle/gems/redis-3.3.2/test/publish_subscribe_test.rb +282 -0
- data/vendor/bundle/gems/redis-3.3.2/test/remote_server_control_commands_test.rb +118 -0
- data/vendor/bundle/gems/redis-3.3.2/test/scanning_test.rb +413 -0
- data/vendor/bundle/gems/redis-3.3.2/test/scripting_test.rb +78 -0
- data/vendor/bundle/gems/redis-3.3.2/test/sentinel_command_test.rb +80 -0
- data/vendor/bundle/gems/redis-3.3.2/test/sentinel_test.rb +255 -0
- data/vendor/bundle/gems/redis-3.3.2/test/sorting_test.rb +59 -0
- data/vendor/bundle/gems/redis-3.3.2/test/ssl_test.rb +73 -0
- data/vendor/bundle/gems/redis-3.3.2/test/support/connection/hiredis.rb +1 -0
- data/vendor/bundle/gems/redis-3.3.2/test/support/connection/ruby.rb +1 -0
- data/vendor/bundle/gems/redis-3.3.2/test/support/connection/synchrony.rb +17 -0
- data/vendor/bundle/gems/redis-3.3.2/test/support/redis_mock.rb +130 -0
- data/vendor/bundle/gems/redis-3.3.2/test/support/ssl/gen_certs.sh +31 -0
- data/vendor/bundle/gems/redis-3.3.2/test/support/ssl/trusted-ca.crt +25 -0
- data/vendor/bundle/gems/redis-3.3.2/test/support/ssl/trusted-ca.key +27 -0
- data/vendor/bundle/gems/redis-3.3.2/test/support/ssl/trusted-cert.crt +81 -0
- data/vendor/bundle/gems/redis-3.3.2/test/support/ssl/trusted-cert.key +28 -0
- data/vendor/bundle/gems/redis-3.3.2/test/support/ssl/untrusted-ca.crt +26 -0
- data/vendor/bundle/gems/redis-3.3.2/test/support/ssl/untrusted-ca.key +27 -0
- data/vendor/bundle/gems/redis-3.3.2/test/support/ssl/untrusted-cert.crt +82 -0
- data/vendor/bundle/gems/redis-3.3.2/test/support/ssl/untrusted-cert.key +28 -0
- data/vendor/bundle/gems/redis-3.3.2/test/support/wire/synchrony.rb +24 -0
- data/vendor/bundle/gems/redis-3.3.2/test/support/wire/thread.rb +5 -0
- data/vendor/bundle/gems/redis-3.3.2/test/synchrony_driver.rb +88 -0
- data/vendor/bundle/gems/redis-3.3.2/test/test.conf.erb +9 -0
- data/vendor/bundle/gems/redis-3.3.2/test/thread_safety_test.rb +62 -0
- data/vendor/bundle/gems/redis-3.3.2/test/transactions_test.rb +264 -0
- data/vendor/bundle/gems/redis-3.3.2/test/unknown_commands_test.rb +14 -0
- data/vendor/bundle/gems/redis-3.3.2/test/url_param_test.rb +138 -0
- data/vendor/bundle/gems/rspec-3.5.0/LICENSE.md +27 -0
- data/vendor/bundle/gems/rspec-3.5.0/README.md +39 -0
- data/vendor/bundle/gems/rspec-3.5.0/lib/rspec.rb +3 -0
- data/vendor/bundle/gems/rspec-3.5.0/lib/rspec/version.rb +5 -0
- data/vendor/bundle/gems/rspec-core-3.5.1/Changelog.md +2068 -0
- data/vendor/bundle/gems/rspec-core-3.5.1/LICENSE.md +26 -0
- data/vendor/bundle/gems/rspec-core-3.5.1/README.md +384 -0
- data/vendor/bundle/gems/rspec-core-3.5.1/exe/rspec +4 -0
- data/vendor/bundle/gems/rspec-core-3.5.1/lib/rspec/autorun.rb +3 -0
- data/vendor/bundle/gems/rspec-core-3.5.1/lib/rspec/core.rb +184 -0
- data/vendor/bundle/gems/rspec-core-3.5.1/lib/rspec/core/backtrace_formatter.rb +65 -0
- data/vendor/bundle/gems/rspec-core-3.5.1/lib/rspec/core/bisect/coordinator.rb +66 -0
- data/vendor/bundle/gems/rspec-core-3.5.1/lib/rspec/core/bisect/example_minimizer.rb +169 -0
- data/vendor/bundle/gems/rspec-core-3.5.1/lib/rspec/core/bisect/runner.rb +169 -0
- data/vendor/bundle/gems/rspec-core-3.5.1/lib/rspec/core/bisect/server.rb +65 -0
- data/vendor/bundle/gems/rspec-core-3.5.1/lib/rspec/core/configuration.rb +2093 -0
- data/vendor/bundle/gems/rspec-core-3.5.1/lib/rspec/core/configuration_options.rb +194 -0
- data/vendor/bundle/gems/rspec-core-3.5.1/lib/rspec/core/drb.rb +111 -0
- data/vendor/bundle/gems/rspec-core-3.5.1/lib/rspec/core/dsl.rb +98 -0
- data/vendor/bundle/gems/rspec-core-3.5.1/lib/rspec/core/example.rb +647 -0
- data/vendor/bundle/gems/rspec-core-3.5.1/lib/rspec/core/example_group.rb +873 -0
- data/vendor/bundle/gems/rspec-core-3.5.1/lib/rspec/core/example_status_persister.rb +235 -0
- data/vendor/bundle/gems/rspec-core-3.5.1/lib/rspec/core/filter_manager.rb +231 -0
- data/vendor/bundle/gems/rspec-core-3.5.1/lib/rspec/core/flat_map.rb +20 -0
- data/vendor/bundle/gems/rspec-core-3.5.1/lib/rspec/core/formatters.rb +255 -0
- data/vendor/bundle/gems/rspec-core-3.5.1/lib/rspec/core/formatters/base_formatter.rb +70 -0
- data/vendor/bundle/gems/rspec-core-3.5.1/lib/rspec/core/formatters/base_text_formatter.rb +77 -0
- data/vendor/bundle/gems/rspec-core-3.5.1/lib/rspec/core/formatters/bisect_formatter.rb +69 -0
- data/vendor/bundle/gems/rspec-core-3.5.1/lib/rspec/core/formatters/bisect_progress_formatter.rb +144 -0
- data/vendor/bundle/gems/rspec-core-3.5.1/lib/rspec/core/formatters/console_codes.rb +65 -0
- data/vendor/bundle/gems/rspec-core-3.5.1/lib/rspec/core/formatters/deprecation_formatter.rb +223 -0
- data/vendor/bundle/gems/rspec-core-3.5.1/lib/rspec/core/formatters/documentation_formatter.rb +69 -0
- data/vendor/bundle/gems/rspec-core-3.5.1/lib/rspec/core/formatters/exception_presenter.rb +490 -0
- data/vendor/bundle/gems/rspec-core-3.5.1/lib/rspec/core/formatters/fallback_message_formatter.rb +28 -0
- data/vendor/bundle/gems/rspec-core-3.5.1/lib/rspec/core/formatters/helpers.rb +110 -0
- data/vendor/bundle/gems/rspec-core-3.5.1/lib/rspec/core/formatters/html_formatter.rb +151 -0
- data/vendor/bundle/gems/rspec-core-3.5.1/lib/rspec/core/formatters/html_printer.rb +414 -0
- data/vendor/bundle/gems/rspec-core-3.5.1/lib/rspec/core/formatters/html_snippet_extractor.rb +116 -0
- data/vendor/bundle/gems/rspec-core-3.5.1/lib/rspec/core/formatters/json_formatter.rb +96 -0
- data/vendor/bundle/gems/rspec-core-3.5.1/lib/rspec/core/formatters/profile_formatter.rb +68 -0
- data/vendor/bundle/gems/rspec-core-3.5.1/lib/rspec/core/formatters/progress_formatter.rb +28 -0
- data/vendor/bundle/gems/rspec-core-3.5.1/lib/rspec/core/formatters/protocol.rb +181 -0
- data/vendor/bundle/gems/rspec-core-3.5.1/lib/rspec/core/formatters/snippet_extractor.rb +136 -0
- data/vendor/bundle/gems/rspec-core-3.5.1/lib/rspec/core/hooks.rb +631 -0
- data/vendor/bundle/gems/rspec-core-3.5.1/lib/rspec/core/invocations.rb +67 -0
- data/vendor/bundle/gems/rspec-core-3.5.1/lib/rspec/core/memoized_helpers.rb +532 -0
- data/vendor/bundle/gems/rspec-core-3.5.1/lib/rspec/core/metadata.rb +498 -0
- data/vendor/bundle/gems/rspec-core-3.5.1/lib/rspec/core/metadata_filter.rb +243 -0
- data/vendor/bundle/gems/rspec-core-3.5.1/lib/rspec/core/minitest_assertions_adapter.rb +31 -0
- data/vendor/bundle/gems/rspec-core-3.5.1/lib/rspec/core/mocking_adapters/flexmock.rb +31 -0
- data/vendor/bundle/gems/rspec-core-3.5.1/lib/rspec/core/mocking_adapters/mocha.rb +57 -0
- data/vendor/bundle/gems/rspec-core-3.5.1/lib/rspec/core/mocking_adapters/null.rb +14 -0
- data/vendor/bundle/gems/rspec-core-3.5.1/lib/rspec/core/mocking_adapters/rr.rb +31 -0
- data/vendor/bundle/gems/rspec-core-3.5.1/lib/rspec/core/mocking_adapters/rspec.rb +32 -0
- data/vendor/bundle/gems/rspec-core-3.5.1/lib/rspec/core/notifications.rb +499 -0
- data/vendor/bundle/gems/rspec-core-3.5.1/lib/rspec/core/option_parser.rb +289 -0
- data/vendor/bundle/gems/rspec-core-3.5.1/lib/rspec/core/ordering.rb +158 -0
- data/vendor/bundle/gems/rspec-core-3.5.1/lib/rspec/core/pending.rb +165 -0
- data/vendor/bundle/gems/rspec-core-3.5.1/lib/rspec/core/profiler.rb +32 -0
- data/vendor/bundle/gems/rspec-core-3.5.1/lib/rspec/core/project_initializer.rb +48 -0
- data/vendor/bundle/gems/rspec-core-3.5.1/lib/rspec/core/project_initializer/spec/spec_helper.rb +103 -0
- data/vendor/bundle/gems/rspec-core-3.5.1/lib/rspec/core/rake_task.rb +167 -0
- data/vendor/bundle/gems/rspec-core-3.5.1/lib/rspec/core/reporter.rb +236 -0
- data/vendor/bundle/gems/rspec-core-3.5.1/lib/rspec/core/ruby_project.rb +53 -0
- data/vendor/bundle/gems/rspec-core-3.5.1/lib/rspec/core/runner.rb +186 -0
- data/vendor/bundle/gems/rspec-core-3.5.1/lib/rspec/core/sandbox.rb +37 -0
- data/vendor/bundle/gems/rspec-core-3.5.1/lib/rspec/core/set.rb +49 -0
- data/vendor/bundle/gems/rspec-core-3.5.1/lib/rspec/core/shared_context.rb +55 -0
- data/vendor/bundle/gems/rspec-core-3.5.1/lib/rspec/core/shared_example_group.rb +247 -0
- data/vendor/bundle/gems/rspec-core-3.5.1/lib/rspec/core/shell_escape.rb +49 -0
- data/vendor/bundle/gems/rspec-core-3.5.1/lib/rspec/core/source.rb +86 -0
- data/vendor/bundle/gems/rspec-core-3.5.1/lib/rspec/core/source/location.rb +13 -0
- data/vendor/bundle/gems/rspec-core-3.5.1/lib/rspec/core/source/node.rb +93 -0
- data/vendor/bundle/gems/rspec-core-3.5.1/lib/rspec/core/source/syntax_highlighter.rb +71 -0
- data/vendor/bundle/gems/rspec-core-3.5.1/lib/rspec/core/source/token.rb +87 -0
- data/vendor/bundle/gems/rspec-core-3.5.1/lib/rspec/core/test_unit_assertions_adapter.rb +30 -0
- data/vendor/bundle/gems/rspec-core-3.5.1/lib/rspec/core/version.rb +9 -0
- data/vendor/bundle/gems/rspec-core-3.5.1/lib/rspec/core/warnings.rb +40 -0
- data/vendor/bundle/gems/rspec-core-3.5.1/lib/rspec/core/world.rb +246 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/Changelog.md +2102 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/LICENSE.md +26 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/README.md +384 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/exe/rspec +4 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/autorun.rb +3 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core.rb +185 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/backtrace_formatter.rb +65 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/bisect/coordinator.rb +66 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/bisect/example_minimizer.rb +169 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/bisect/runner.rb +169 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/bisect/server.rb +65 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/configuration.rb +2100 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/configuration_options.rb +194 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/drb.rb +111 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/dsl.rb +98 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/example.rb +649 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/example_group.rb +879 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/example_status_persister.rb +235 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/filter_manager.rb +231 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/flat_map.rb +20 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/formatters.rb +255 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/formatters/base_formatter.rb +70 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/formatters/base_text_formatter.rb +77 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/formatters/bisect_formatter.rb +69 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/formatters/bisect_progress_formatter.rb +144 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/formatters/console_codes.rb +65 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/formatters/deprecation_formatter.rb +223 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/formatters/documentation_formatter.rb +69 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/formatters/exception_presenter.rb +491 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/formatters/fallback_message_formatter.rb +28 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/formatters/helpers.rb +110 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/formatters/html_formatter.rb +151 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/formatters/html_printer.rb +414 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/formatters/html_snippet_extractor.rb +116 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/formatters/json_formatter.rb +96 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/formatters/profile_formatter.rb +68 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/formatters/progress_formatter.rb +28 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/formatters/protocol.rb +181 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/formatters/snippet_extractor.rb +136 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/hooks.rb +624 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/invocations.rb +67 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/memoized_helpers.rb +532 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/metadata.rb +499 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/metadata_filter.rb +243 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/minitest_assertions_adapter.rb +31 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/mocking_adapters/flexmock.rb +31 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/mocking_adapters/mocha.rb +57 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/mocking_adapters/null.rb +14 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/mocking_adapters/rr.rb +31 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/mocking_adapters/rspec.rb +32 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/notifications.rb +498 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/option_parser.rb +289 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/ordering.rb +158 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/pending.rb +165 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/profiler.rb +32 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/project_initializer.rb +48 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/project_initializer/spec/spec_helper.rb +103 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/rake_task.rb +168 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/reporter.rb +248 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/ruby_project.rb +53 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/runner.rb +188 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/sandbox.rb +37 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/set.rb +49 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/shared_context.rb +55 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/shared_example_group.rb +247 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/shell_escape.rb +49 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/source.rb +86 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/source/location.rb +13 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/source/node.rb +93 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/source/syntax_highlighter.rb +71 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/source/token.rb +87 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/test_unit_assertions_adapter.rb +30 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/version.rb +9 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/warnings.rb +40 -0
- data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/world.rb +256 -0
- data/vendor/bundle/gems/rspec-expectations-3.5.0/Changelog.md +1034 -0
- data/vendor/bundle/gems/rspec-expectations-3.5.0/LICENSE.md +25 -0
- data/vendor/bundle/gems/rspec-expectations-3.5.0/README.md +303 -0
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/expectations.rb +81 -0
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/expectations/configuration.rb +201 -0
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/expectations/expectation_target.rb +127 -0
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/expectations/fail_with.rb +31 -0
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/expectations/failure_aggregator.rb +194 -0
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/expectations/handler.rb +170 -0
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/expectations/minitest_integration.rb +58 -0
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/expectations/syntax.rb +132 -0
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/expectations/version.rb +8 -0
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers.rb +1038 -0
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/aliased_matcher.rb +116 -0
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in.rb +52 -0
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/all.rb +85 -0
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/base_matcher.rb +181 -0
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/be.rb +288 -0
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/be_between.rb +77 -0
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/be_instance_of.rb +22 -0
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/be_kind_of.rb +16 -0
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/be_within.rb +72 -0
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/change.rb +354 -0
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/compound.rb +272 -0
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/contain_exactly.rb +286 -0
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/cover.rb +24 -0
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/eq.rb +40 -0
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/eql.rb +34 -0
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/equal.rb +81 -0
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/exist.rb +86 -0
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/has.rb +103 -0
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/have_attributes.rb +114 -0
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/include.rb +143 -0
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/match.rb +106 -0
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/operators.rb +128 -0
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/output.rb +200 -0
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/raise_error.rb +230 -0
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/respond_to.rb +165 -0
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/satisfy.rb +37 -0
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/start_or_end_with.rb +94 -0
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/throw_symbol.rb +132 -0
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/yield.rb +419 -0
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/composable.rb +185 -0
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/dsl.rb +466 -0
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/english_phrasing.rb +58 -0
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/expecteds_for_multiple_diffs.rb +73 -0
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/fail_matchers.rb +42 -0
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/generated_descriptions.rb +42 -0
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/matcher_delegator.rb +35 -0
- data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/matcher_protocol.rb +99 -0
- data/vendor/bundle/gems/rspec-mocks-3.5.0/Changelog.md +1043 -0
- data/vendor/bundle/gems/rspec-mocks-3.5.0/LICENSE.md +25 -0
- data/vendor/bundle/gems/rspec-mocks-3.5.0/README.md +445 -0
- data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks.rb +130 -0
- data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/any_instance.rb +11 -0
- data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/any_instance/chain.rb +110 -0
- data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/any_instance/error_generator.rb +31 -0
- data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/any_instance/expect_chain_chain.rb +35 -0
- data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/any_instance/expectation_chain.rb +48 -0
- data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/any_instance/message_chains.rb +83 -0
- data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/any_instance/proxy.rb +116 -0
- data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/any_instance/recorder.rb +289 -0
- data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/any_instance/stub_chain.rb +47 -0
- data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/any_instance/stub_chain_chain.rb +28 -0
- data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/argument_list_matcher.rb +100 -0
- data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/argument_matchers.rb +320 -0
- data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/configuration.rb +205 -0
- data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/error_generator.rb +369 -0
- data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/example_methods.rb +422 -0
- data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/instance_method_stasher.rb +135 -0
- data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/marshal_extension.rb +41 -0
- data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/matchers/expectation_customization.rb +20 -0
- data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/matchers/have_received.rb +130 -0
- data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/matchers/receive.rb +132 -0
- data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/matchers/receive_message_chain.rb +82 -0
- data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/matchers/receive_messages.rb +77 -0
- data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/message_chain.rb +87 -0
- data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/message_expectation.rb +740 -0
- data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/method_double.rb +287 -0
- data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/method_reference.rb +202 -0
- data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/minitest_integration.rb +68 -0
- data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/mutate_const.rb +335 -0
- data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/object_reference.rb +149 -0
- data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/order_group.rb +81 -0
- data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/proxy.rb +489 -0
- data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/space.rb +238 -0
- data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/standalone.rb +3 -0
- data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/syntax.rb +325 -0
- data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/targets.rb +124 -0
- data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/test_double.rb +170 -0
- data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/verifying_double.rb +129 -0
- data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/verifying_message_expectation.rb +54 -0
- data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/verifying_proxy.rb +213 -0
- data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/version.rb +9 -0
- data/vendor/bundle/gems/rspec-support-3.5.0/Changelog.md +192 -0
- data/vendor/bundle/gems/rspec-support-3.5.0/LICENSE.md +23 -0
- data/vendor/bundle/gems/rspec-support-3.5.0/README.md +40 -0
- data/vendor/bundle/gems/rspec-support-3.5.0/lib/rspec/support.rb +139 -0
- data/vendor/bundle/gems/rspec-support-3.5.0/lib/rspec/support/caller_filter.rb +83 -0
- data/vendor/bundle/gems/rspec-support-3.5.0/lib/rspec/support/comparable_version.rb +46 -0
- data/vendor/bundle/gems/rspec-support-3.5.0/lib/rspec/support/differ.rb +215 -0
- data/vendor/bundle/gems/rspec-support-3.5.0/lib/rspec/support/directory_maker.rb +63 -0
- data/vendor/bundle/gems/rspec-support-3.5.0/lib/rspec/support/encoded_string.rb +165 -0
- data/vendor/bundle/gems/rspec-support-3.5.0/lib/rspec/support/fuzzy_matcher.rb +48 -0
- data/vendor/bundle/gems/rspec-support-3.5.0/lib/rspec/support/hunk_generator.rb +47 -0
- data/vendor/bundle/gems/rspec-support-3.5.0/lib/rspec/support/matcher_definition.rb +42 -0
- data/vendor/bundle/gems/rspec-support-3.5.0/lib/rspec/support/method_signature_verifier.rb +392 -0
- data/vendor/bundle/gems/rspec-support-3.5.0/lib/rspec/support/mutex.rb +73 -0
- data/vendor/bundle/gems/rspec-support-3.5.0/lib/rspec/support/object_formatter.rb +249 -0
- data/vendor/bundle/gems/rspec-support-3.5.0/lib/rspec/support/recursive_const_methods.rb +76 -0
- data/vendor/bundle/gems/rspec-support-3.5.0/lib/rspec/support/reentrant_mutex.rb +53 -0
- data/vendor/bundle/gems/rspec-support-3.5.0/lib/rspec/support/ruby_features.rb +149 -0
- data/vendor/bundle/gems/rspec-support-3.5.0/lib/rspec/support/spec.rb +81 -0
- data/vendor/bundle/gems/rspec-support-3.5.0/lib/rspec/support/spec/deprecation_helpers.rb +64 -0
- data/vendor/bundle/gems/rspec-support-3.5.0/lib/rspec/support/spec/formatting_support.rb +9 -0
- data/vendor/bundle/gems/rspec-support-3.5.0/lib/rspec/support/spec/in_sub_process.rb +52 -0
- data/vendor/bundle/gems/rspec-support-3.5.0/lib/rspec/support/spec/library_wide_checks.rb +150 -0
- data/vendor/bundle/gems/rspec-support-3.5.0/lib/rspec/support/spec/shell_out.rb +82 -0
- data/vendor/bundle/gems/rspec-support-3.5.0/lib/rspec/support/spec/stderr_splitter.rb +63 -0
- data/vendor/bundle/gems/rspec-support-3.5.0/lib/rspec/support/spec/string_matcher.rb +46 -0
- data/vendor/bundle/gems/rspec-support-3.5.0/lib/rspec/support/spec/with_isolated_directory.rb +13 -0
- data/vendor/bundle/gems/rspec-support-3.5.0/lib/rspec/support/spec/with_isolated_stderr.rb +13 -0
- data/vendor/bundle/gems/rspec-support-3.5.0/lib/rspec/support/version.rb +7 -0
- data/vendor/bundle/gems/rspec-support-3.5.0/lib/rspec/support/warnings.rb +39 -0
- data/vendor/bundle/gems/simplecov-0.12.0/CHANGELOG.md +403 -0
- data/vendor/bundle/gems/simplecov-0.12.0/CONTRIBUTING.md +48 -0
- data/vendor/bundle/gems/simplecov-0.12.0/Gemfile +36 -0
- data/vendor/bundle/gems/simplecov-0.12.0/MIT-LICENSE +20 -0
- data/vendor/bundle/gems/simplecov-0.12.0/README.md +633 -0
- data/vendor/bundle/gems/simplecov-0.12.0/Rakefile +36 -0
- data/vendor/bundle/gems/simplecov-0.12.0/cucumber.yml +13 -0
- data/vendor/bundle/gems/simplecov-0.12.0/doc/alternate-formatters.md +36 -0
- data/vendor/bundle/gems/simplecov-0.12.0/doc/commercial-services.md +20 -0
- data/vendor/bundle/gems/simplecov-0.12.0/doc/editor-integration.md +13 -0
- data/vendor/bundle/gems/simplecov-0.12.0/features/config_autoload.feature +46 -0
- data/vendor/bundle/gems/simplecov-0.12.0/features/config_command_name.feature +45 -0
- data/vendor/bundle/gems/simplecov-0.12.0/features/config_coverage_dir.feature +33 -0
- data/vendor/bundle/gems/simplecov-0.12.0/features/config_deactivate_merging.feature +42 -0
- data/vendor/bundle/gems/simplecov-0.12.0/features/config_formatters.feature +77 -0
- data/vendor/bundle/gems/simplecov-0.12.0/features/config_merge_timeout.feature +39 -0
- data/vendor/bundle/gems/simplecov-0.12.0/features/config_nocov_token.feature +79 -0
- data/vendor/bundle/gems/simplecov-0.12.0/features/config_profiles.feature +44 -0
- data/vendor/bundle/gems/simplecov-0.12.0/features/config_project_name.feature +27 -0
- data/vendor/bundle/gems/simplecov-0.12.0/features/config_styles.feature +121 -0
- data/vendor/bundle/gems/simplecov-0.12.0/features/config_tracked_files.feature +29 -0
- data/vendor/bundle/gems/simplecov-0.12.0/features/cucumber_basic.feature +29 -0
- data/vendor/bundle/gems/simplecov-0.12.0/features/maximum_coverage_drop.feature +36 -0
- data/vendor/bundle/gems/simplecov-0.12.0/features/merging_test_unit_and_rspec.feature +44 -0
- data/vendor/bundle/gems/simplecov-0.12.0/features/minimum_coverage.feature +59 -0
- data/vendor/bundle/gems/simplecov-0.12.0/features/refuse_coverage_drop.feature +35 -0
- data/vendor/bundle/gems/simplecov-0.12.0/features/rspec_basic.feature +32 -0
- data/vendor/bundle/gems/simplecov-0.12.0/features/rspec_fails_on_initialization.feature +14 -0
- data/vendor/bundle/gems/simplecov-0.12.0/features/rspec_groups_and_filters_basic.feature +29 -0
- data/vendor/bundle/gems/simplecov-0.12.0/features/rspec_groups_and_filters_complex.feature +37 -0
- data/vendor/bundle/gems/simplecov-0.12.0/features/rspec_groups_using_filter_class.feature +41 -0
- data/vendor/bundle/gems/simplecov-0.12.0/features/rspec_without_simplecov.feature +20 -0
- data/vendor/bundle/gems/simplecov-0.12.0/features/skipping_code_blocks_manually.feature +70 -0
- data/vendor/bundle/gems/simplecov-0.12.0/features/step_definitions/html_steps.rb +44 -0
- data/vendor/bundle/gems/simplecov-0.12.0/features/step_definitions/simplecov_steps.rb +68 -0
- data/vendor/bundle/gems/simplecov-0.12.0/features/step_definitions/transformers.rb +13 -0
- data/vendor/bundle/gems/simplecov-0.12.0/features/step_definitions/web_steps.rb +64 -0
- data/vendor/bundle/gems/simplecov-0.12.0/features/support/env.rb +50 -0
- data/vendor/bundle/gems/simplecov-0.12.0/features/test_unit_basic.feature +34 -0
- data/vendor/bundle/gems/simplecov-0.12.0/features/test_unit_groups_and_filters_basic.feature +29 -0
- data/vendor/bundle/gems/simplecov-0.12.0/features/test_unit_groups_and_filters_complex.feature +35 -0
- data/vendor/bundle/gems/simplecov-0.12.0/features/test_unit_groups_using_filter_class.feature +40 -0
- data/vendor/bundle/gems/simplecov-0.12.0/features/test_unit_without_simplecov.feature +20 -0
- data/vendor/bundle/gems/simplecov-0.12.0/features/unicode_compatiblity.feature +67 -0
- data/vendor/bundle/gems/simplecov-0.12.0/lib/simplecov.rb +184 -0
- data/vendor/bundle/gems/simplecov-0.12.0/lib/simplecov/command_guesser.rb +59 -0
- data/vendor/bundle/gems/simplecov-0.12.0/lib/simplecov/configuration.rb +296 -0
- data/vendor/bundle/gems/simplecov-0.12.0/lib/simplecov/defaults.rb +122 -0
- data/vendor/bundle/gems/simplecov-0.12.0/lib/simplecov/exit_codes.rb +8 -0
- data/vendor/bundle/gems/simplecov-0.12.0/lib/simplecov/file_list.rb +59 -0
- data/vendor/bundle/gems/simplecov-0.12.0/lib/simplecov/filter.rb +54 -0
- data/vendor/bundle/gems/simplecov-0.12.0/lib/simplecov/formatter.rb +8 -0
- data/vendor/bundle/gems/simplecov-0.12.0/lib/simplecov/formatter/multi_formatter.rb +32 -0
- data/vendor/bundle/gems/simplecov-0.12.0/lib/simplecov/formatter/simple_formatter.rb +23 -0
- data/vendor/bundle/gems/simplecov-0.12.0/lib/simplecov/jruby_fix.rb +42 -0
- data/vendor/bundle/gems/simplecov-0.12.0/lib/simplecov/last_run.rb +22 -0
- data/vendor/bundle/gems/simplecov-0.12.0/lib/simplecov/merge_helpers.rb +34 -0
- data/vendor/bundle/gems/simplecov-0.12.0/lib/simplecov/no_defaults.rb +2 -0
- data/vendor/bundle/gems/simplecov-0.12.0/lib/simplecov/profiles.rb +31 -0
- data/vendor/bundle/gems/simplecov-0.12.0/lib/simplecov/railtie.rb +7 -0
- data/vendor/bundle/gems/simplecov-0.12.0/lib/simplecov/railties/tasks.rake +11 -0
- data/vendor/bundle/gems/simplecov-0.12.0/lib/simplecov/result.rb +82 -0
- data/vendor/bundle/gems/simplecov-0.12.0/lib/simplecov/result_merger.rb +88 -0
- data/vendor/bundle/gems/simplecov-0.12.0/lib/simplecov/source_file.rb +190 -0
- data/vendor/bundle/gems/simplecov-0.12.0/lib/simplecov/version.rb +25 -0
- data/vendor/bundle/gems/simplecov-0.12.0/simplecov.gemspec +27 -0
- data/vendor/bundle/gems/simplecov-0.12.0/spec/1_8_fallbacks_spec.rb +29 -0
- data/vendor/bundle/gems/simplecov-0.12.0/spec/command_guesser_spec.rb +46 -0
- data/vendor/bundle/gems/simplecov-0.12.0/spec/deleted_source_spec.rb +12 -0
- data/vendor/bundle/gems/simplecov-0.12.0/spec/faked_project/Gemfile +6 -0
- data/vendor/bundle/gems/simplecov-0.12.0/spec/faked_project/Rakefile +8 -0
- data/vendor/bundle/gems/simplecov-0.12.0/spec/faked_project/cucumber.yml +13 -0
- data/vendor/bundle/gems/simplecov-0.12.0/spec/faked_project/features/step_definitions/my_steps.rb +22 -0
- data/vendor/bundle/gems/simplecov-0.12.0/spec/faked_project/features/support/env.rb +12 -0
- data/vendor/bundle/gems/simplecov-0.12.0/spec/faked_project/features/test_stuff.feature +6 -0
- data/vendor/bundle/gems/simplecov-0.12.0/spec/faked_project/lib/faked_project.rb +11 -0
- data/vendor/bundle/gems/simplecov-0.12.0/spec/faked_project/lib/faked_project/framework_specific.rb +18 -0
- data/vendor/bundle/gems/simplecov-0.12.0/spec/faked_project/lib/faked_project/meta_magic.rb +24 -0
- data/vendor/bundle/gems/simplecov-0.12.0/spec/faked_project/lib/faked_project/some_class.rb +28 -0
- data/vendor/bundle/gems/simplecov-0.12.0/spec/faked_project/lib/faked_project/untested_class.rb +11 -0
- data/vendor/bundle/gems/simplecov-0.12.0/spec/faked_project/spec/faked_spec.rb +11 -0
- data/vendor/bundle/gems/simplecov-0.12.0/spec/faked_project/spec/forking_spec.rb +8 -0
- data/vendor/bundle/gems/simplecov-0.12.0/spec/faked_project/spec/meta_magic_spec.rb +15 -0
- data/vendor/bundle/gems/simplecov-0.12.0/spec/faked_project/spec/some_class_spec.rb +13 -0
- data/vendor/bundle/gems/simplecov-0.12.0/spec/faked_project/spec/spec_helper.rb +11 -0
- data/vendor/bundle/gems/simplecov-0.12.0/spec/faked_project/test/faked_test.rb +11 -0
- data/vendor/bundle/gems/simplecov-0.12.0/spec/faked_project/test/meta_magic_test.rb +13 -0
- data/vendor/bundle/gems/simplecov-0.12.0/spec/faked_project/test/some_class_test.rb +15 -0
- data/vendor/bundle/gems/simplecov-0.12.0/spec/faked_project/test/test_helper.rb +12 -0
- data/vendor/bundle/gems/simplecov-0.12.0/spec/file_list_spec.rb +48 -0
- data/vendor/bundle/gems/simplecov-0.12.0/spec/filters_spec.rb +96 -0
- data/vendor/bundle/gems/simplecov-0.12.0/spec/fixtures/app/controllers/sample_controller.rb +10 -0
- data/vendor/bundle/gems/simplecov-0.12.0/spec/fixtures/app/models/user.rb +10 -0
- data/vendor/bundle/gems/simplecov-0.12.0/spec/fixtures/deleted_source_sample.rb +15 -0
- data/vendor/bundle/gems/simplecov-0.12.0/spec/fixtures/frameworks/rspec_bad.rb +9 -0
- data/vendor/bundle/gems/simplecov-0.12.0/spec/fixtures/frameworks/rspec_good.rb +9 -0
- data/vendor/bundle/gems/simplecov-0.12.0/spec/fixtures/frameworks/testunit_bad.rb +9 -0
- data/vendor/bundle/gems/simplecov-0.12.0/spec/fixtures/frameworks/testunit_good.rb +9 -0
- data/vendor/bundle/gems/simplecov-0.12.0/spec/fixtures/iso-8859.rb +3 -0
- data/vendor/bundle/gems/simplecov-0.12.0/spec/fixtures/resultset1.rb +4 -0
- data/vendor/bundle/gems/simplecov-0.12.0/spec/fixtures/resultset2.rb +4 -0
- data/vendor/bundle/gems/simplecov-0.12.0/spec/fixtures/sample.rb +16 -0
- data/vendor/bundle/gems/simplecov-0.12.0/spec/fixtures/utf-8.rb +3 -0
- data/vendor/bundle/gems/simplecov-0.12.0/spec/helper.rb +24 -0
- data/vendor/bundle/gems/simplecov-0.12.0/spec/merge_helpers_spec.rb +114 -0
- data/vendor/bundle/gems/simplecov-0.12.0/spec/multi_formatter_spec.rb +20 -0
- data/vendor/bundle/gems/simplecov-0.12.0/spec/result_spec.rb +207 -0
- data/vendor/bundle/gems/simplecov-0.12.0/spec/return_codes_spec.rb +34 -0
- data/vendor/bundle/gems/simplecov-0.12.0/spec/source_file_line_spec.rb +153 -0
- data/vendor/bundle/gems/simplecov-0.12.0/spec/source_file_spec.rb +75 -0
- data/vendor/bundle/gems/simplecov-html-0.10.0/Gemfile +22 -0
- data/vendor/bundle/gems/simplecov-html-0.10.0/Guardfile +12 -0
- data/vendor/bundle/gems/simplecov-html-0.10.0/LICENSE +20 -0
- data/vendor/bundle/gems/simplecov-html-0.10.0/README.md +30 -0
- data/vendor/bundle/gems/simplecov-html-0.10.0/Rakefile +41 -0
- data/vendor/bundle/gems/simplecov-html-0.10.0/assets/javascripts/application.js +127 -0
- data/vendor/bundle/gems/simplecov-html-0.10.0/assets/javascripts/libraries/jquery-1.6.2.min.js +18 -0
- data/vendor/bundle/gems/simplecov-html-0.10.0/assets/javascripts/plugins/highlight.pack.js +1 -0
- data/vendor/bundle/gems/simplecov-html-0.10.0/assets/javascripts/plugins/jquery.colorbox.js +1090 -0
- data/vendor/bundle/gems/simplecov-html-0.10.0/assets/javascripts/plugins/jquery.dataTables.min.js +152 -0
- data/vendor/bundle/gems/simplecov-html-0.10.0/assets/javascripts/plugins/jquery.timeago.js +141 -0
- data/vendor/bundle/gems/simplecov-html-0.10.0/assets/javascripts/plugins/jquery.url.js +174 -0
- data/vendor/bundle/gems/simplecov-html-0.10.0/assets/stylesheets/application.css +3 -0
- data/vendor/bundle/gems/simplecov-html-0.10.0/assets/stylesheets/plugins/highlight.css +129 -0
- data/vendor/bundle/gems/simplecov-html-0.10.0/assets/stylesheets/plugins/jquery-ui-1.8.4.custom.css +295 -0
- data/vendor/bundle/gems/simplecov-html-0.10.0/assets/stylesheets/plugins/jquery.colorbox.css +52 -0
- data/vendor/bundle/gems/simplecov-html-0.10.0/assets/stylesheets/reset.css +103 -0
- data/vendor/bundle/gems/simplecov-html-0.10.0/assets/stylesheets/screen.css.sass +220 -0
- data/vendor/bundle/gems/simplecov-html-0.10.0/lib/simplecov-html.rb +110 -0
- data/vendor/bundle/gems/simplecov-html-0.10.0/lib/simplecov-html/version.rb +27 -0
- data/vendor/bundle/gems/simplecov-html-0.10.0/public/application.css +799 -0
- data/vendor/bundle/gems/simplecov-html-0.10.0/public/application.js +1707 -0
- data/vendor/bundle/gems/simplecov-html-0.10.0/public/colorbox/border.png +0 -0
- data/vendor/bundle/gems/simplecov-html-0.10.0/public/colorbox/controls.png +0 -0
- data/vendor/bundle/gems/simplecov-html-0.10.0/public/colorbox/loading.gif +0 -0
- data/vendor/bundle/gems/simplecov-html-0.10.0/public/colorbox/loading_background.png +0 -0
- data/vendor/bundle/gems/simplecov-html-0.10.0/public/favicon_green.png +0 -0
- data/vendor/bundle/gems/simplecov-html-0.10.0/public/favicon_red.png +0 -0
- data/vendor/bundle/gems/simplecov-html-0.10.0/public/favicon_yellow.png +0 -0
- data/vendor/bundle/gems/simplecov-html-0.10.0/public/loading.gif +0 -0
- data/vendor/bundle/gems/simplecov-html-0.10.0/public/magnify.png +0 -0
- data/vendor/bundle/gems/simplecov-html-0.10.0/public/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/vendor/bundle/gems/simplecov-html-0.10.0/public/smoothness/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/vendor/bundle/gems/simplecov-html-0.10.0/public/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
- data/vendor/bundle/gems/simplecov-html-0.10.0/public/smoothness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/vendor/bundle/gems/simplecov-html-0.10.0/public/smoothness/images/ui-bg_glass_75_dadada_1x400.png +0 -0
- data/vendor/bundle/gems/simplecov-html-0.10.0/public/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
- data/vendor/bundle/gems/simplecov-html-0.10.0/public/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/vendor/bundle/gems/simplecov-html-0.10.0/public/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
- data/vendor/bundle/gems/simplecov-html-0.10.0/public/smoothness/images/ui-icons_222222_256x240.png +0 -0
- data/vendor/bundle/gems/simplecov-html-0.10.0/public/smoothness/images/ui-icons_2e83ff_256x240.png +0 -0
- data/vendor/bundle/gems/simplecov-html-0.10.0/public/smoothness/images/ui-icons_454545_256x240.png +0 -0
- data/vendor/bundle/gems/simplecov-html-0.10.0/public/smoothness/images/ui-icons_888888_256x240.png +0 -0
- data/vendor/bundle/gems/simplecov-html-0.10.0/public/smoothness/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/vendor/bundle/gems/simplecov-html-0.10.0/simplecov-html.gemspec +22 -0
- data/vendor/bundle/gems/simplecov-html-0.10.0/test/helper.rb +4 -0
- data/vendor/bundle/gems/simplecov-html-0.10.0/test/test_simple_cov-html.rb +8 -0
- data/vendor/bundle/gems/simplecov-html-0.10.0/views/file_list.erb +45 -0
- data/vendor/bundle/gems/simplecov-html-0.10.0/views/layout.erb +41 -0
- data/vendor/bundle/gems/simplecov-html-0.10.0/views/source_file.erb +23 -0
- data/vendor/bundle/gems/slop-3.6.0/CHANGES.md +309 -0
- data/vendor/bundle/gems/slop-3.6.0/Gemfile +3 -0
- data/vendor/bundle/gems/slop-3.6.0/LICENSE +20 -0
- data/vendor/bundle/gems/slop-3.6.0/README.md +202 -0
- data/vendor/bundle/gems/slop-3.6.0/Rakefile +29 -0
- data/vendor/bundle/gems/slop-3.6.0/lib/slop.rb +687 -0
- data/vendor/bundle/gems/slop-3.6.0/lib/slop/commands.rb +196 -0
- data/vendor/bundle/gems/slop-3.6.0/lib/slop/option.rb +214 -0
- data/vendor/bundle/gems/slop-3.6.0/slop.gemspec +17 -0
- data/vendor/bundle/gems/slop-3.6.0/test/commands_test.rb +26 -0
- data/vendor/bundle/gems/slop-3.6.0/test/helper.rb +12 -0
- data/vendor/bundle/gems/slop-3.6.0/test/option_test.rb +145 -0
- data/vendor/bundle/gems/slop-3.6.0/test/slop_test.rb +518 -0
- data/vendor/bundle/gems/sprockets-3.6.3/CHANGELOG.md +284 -0
- data/vendor/bundle/gems/sprockets-3.6.3/LICENSE +21 -0
- data/vendor/bundle/gems/sprockets-3.6.3/README.md +509 -0
- data/vendor/bundle/gems/sprockets-3.6.3/bin/sprockets +88 -0
- data/vendor/bundle/gems/sprockets-3.6.3/lib/rake/sprocketstask.rb +152 -0
- data/vendor/bundle/gems/sprockets-3.6.3/lib/sprockets.rb +162 -0
- data/vendor/bundle/gems/sprockets-3.6.3/lib/sprockets/asset.rb +200 -0
- data/vendor/bundle/gems/sprockets-3.6.3/lib/sprockets/autoload.rb +11 -0
- data/vendor/bundle/gems/sprockets-3.6.3/lib/sprockets/autoload/closure.rb +7 -0
- data/vendor/bundle/gems/sprockets-3.6.3/lib/sprockets/autoload/coffee_script.rb +7 -0
- data/vendor/bundle/gems/sprockets-3.6.3/lib/sprockets/autoload/eco.rb +7 -0
- data/vendor/bundle/gems/sprockets-3.6.3/lib/sprockets/autoload/ejs.rb +7 -0
- data/vendor/bundle/gems/sprockets-3.6.3/lib/sprockets/autoload/sass.rb +7 -0
- data/vendor/bundle/gems/sprockets-3.6.3/lib/sprockets/autoload/uglifier.rb +7 -0
- data/vendor/bundle/gems/sprockets-3.6.3/lib/sprockets/autoload/yui.rb +7 -0
- data/vendor/bundle/gems/sprockets-3.6.3/lib/sprockets/base.rb +110 -0
- data/vendor/bundle/gems/sprockets-3.6.3/lib/sprockets/bower.rb +58 -0
- data/vendor/bundle/gems/sprockets-3.6.3/lib/sprockets/bundle.rb +69 -0
- data/vendor/bundle/gems/sprockets-3.6.3/lib/sprockets/cache.rb +236 -0
- data/vendor/bundle/gems/sprockets-3.6.3/lib/sprockets/cache/file_store.rb +186 -0
- data/vendor/bundle/gems/sprockets-3.6.3/lib/sprockets/cache/memory_store.rb +66 -0
- data/vendor/bundle/gems/sprockets-3.6.3/lib/sprockets/cache/null_store.rb +46 -0
- data/vendor/bundle/gems/sprockets-3.6.3/lib/sprockets/cached_environment.rb +69 -0
- data/vendor/bundle/gems/sprockets-3.6.3/lib/sprockets/closure_compressor.rb +46 -0
- data/vendor/bundle/gems/sprockets-3.6.3/lib/sprockets/coffee_script_processor.rb +25 -0
- data/vendor/bundle/gems/sprockets-3.6.3/lib/sprockets/coffee_script_template.rb +6 -0
- data/vendor/bundle/gems/sprockets-3.6.3/lib/sprockets/compressing.rb +94 -0
- data/vendor/bundle/gems/sprockets-3.6.3/lib/sprockets/configuration.rb +83 -0
- data/vendor/bundle/gems/sprockets-3.6.3/lib/sprockets/context.rb +231 -0
- data/vendor/bundle/gems/sprockets-3.6.3/lib/sprockets/dependencies.rb +73 -0
- data/vendor/bundle/gems/sprockets-3.6.3/lib/sprockets/digest_utils.rb +174 -0
- data/vendor/bundle/gems/sprockets-3.6.3/lib/sprockets/directive_processor.rb +404 -0
- data/vendor/bundle/gems/sprockets-3.6.3/lib/sprockets/eco_processor.rb +32 -0
- data/vendor/bundle/gems/sprockets-3.6.3/lib/sprockets/eco_template.rb +6 -0
- data/vendor/bundle/gems/sprockets-3.6.3/lib/sprockets/ejs_processor.rb +31 -0
- data/vendor/bundle/gems/sprockets-3.6.3/lib/sprockets/ejs_template.rb +6 -0
- data/vendor/bundle/gems/sprockets-3.6.3/lib/sprockets/encoding_utils.rb +261 -0
- data/vendor/bundle/gems/sprockets-3.6.3/lib/sprockets/engines.rb +81 -0
- data/vendor/bundle/gems/sprockets-3.6.3/lib/sprockets/environment.rb +41 -0
- data/vendor/bundle/gems/sprockets-3.6.3/lib/sprockets/erb_processor.rb +30 -0
- data/vendor/bundle/gems/sprockets-3.6.3/lib/sprockets/erb_template.rb +6 -0
- data/vendor/bundle/gems/sprockets-3.6.3/lib/sprockets/errors.rb +11 -0
- data/vendor/bundle/gems/sprockets-3.6.3/lib/sprockets/file_reader.rb +15 -0
- data/vendor/bundle/gems/sprockets-3.6.3/lib/sprockets/http_utils.rb +117 -0
- data/vendor/bundle/gems/sprockets-3.6.3/lib/sprockets/jst_processor.rb +49 -0
- data/vendor/bundle/gems/sprockets-3.6.3/lib/sprockets/legacy.rb +330 -0
- data/vendor/bundle/gems/sprockets-3.6.3/lib/sprockets/legacy_proc_processor.rb +35 -0
- data/vendor/bundle/gems/sprockets-3.6.3/lib/sprockets/legacy_tilt_processor.rb +29 -0
- data/vendor/bundle/gems/sprockets-3.6.3/lib/sprockets/loader.rb +325 -0
- data/vendor/bundle/gems/sprockets-3.6.3/lib/sprockets/manifest.rb +335 -0
- data/vendor/bundle/gems/sprockets-3.6.3/lib/sprockets/manifest_utils.rb +45 -0
- data/vendor/bundle/gems/sprockets-3.6.3/lib/sprockets/mime.rb +130 -0
- data/vendor/bundle/gems/sprockets-3.6.3/lib/sprockets/path_dependency_utils.rb +85 -0
- data/vendor/bundle/gems/sprockets-3.6.3/lib/sprockets/path_digest_utils.rb +47 -0
- data/vendor/bundle/gems/sprockets-3.6.3/lib/sprockets/path_utils.rb +287 -0
- data/vendor/bundle/gems/sprockets-3.6.3/lib/sprockets/paths.rb +81 -0
- data/vendor/bundle/gems/sprockets-3.6.3/lib/sprockets/processing.rb +248 -0
- data/vendor/bundle/gems/sprockets-3.6.3/lib/sprockets/processor_utils.rb +182 -0
- data/vendor/bundle/gems/sprockets-3.6.3/lib/sprockets/resolve.rb +211 -0
- data/vendor/bundle/gems/sprockets-3.6.3/lib/sprockets/sass_cache_store.rb +29 -0
- data/vendor/bundle/gems/sprockets-3.6.3/lib/sprockets/sass_compressor.rb +51 -0
- data/vendor/bundle/gems/sprockets-3.6.3/lib/sprockets/sass_functions.rb +2 -0
- data/vendor/bundle/gems/sprockets-3.6.3/lib/sprockets/sass_importer.rb +2 -0
- data/vendor/bundle/gems/sprockets-3.6.3/lib/sprockets/sass_processor.rb +292 -0
- data/vendor/bundle/gems/sprockets-3.6.3/lib/sprockets/sass_template.rb +7 -0
- data/vendor/bundle/gems/sprockets-3.6.3/lib/sprockets/server.rb +272 -0
- data/vendor/bundle/gems/sprockets-3.6.3/lib/sprockets/transformers.rb +145 -0
- data/vendor/bundle/gems/sprockets-3.6.3/lib/sprockets/uglifier_compressor.rb +55 -0
- data/vendor/bundle/gems/sprockets-3.6.3/lib/sprockets/unloaded_asset.rb +137 -0
- data/vendor/bundle/gems/sprockets-3.6.3/lib/sprockets/uri_tar.rb +98 -0
- data/vendor/bundle/gems/sprockets-3.6.3/lib/sprockets/uri_utils.rb +188 -0
- data/vendor/bundle/gems/sprockets-3.6.3/lib/sprockets/utils.rb +231 -0
- data/vendor/bundle/gems/sprockets-3.6.3/lib/sprockets/utils/gzip.rb +67 -0
- data/vendor/bundle/gems/sprockets-3.6.3/lib/sprockets/version.rb +3 -0
- data/vendor/bundle/gems/sprockets-3.6.3/lib/sprockets/yui_compressor.rb +55 -0
- data/vendor/bundle/gems/sprockets-rails-3.1.1/MIT-LICENSE +20 -0
- data/vendor/bundle/gems/sprockets-rails-3.1.1/README.md +189 -0
- data/vendor/bundle/gems/sprockets-rails-3.1.1/lib/sprockets/rails.rb +4 -0
- data/vendor/bundle/gems/sprockets-rails-3.1.1/lib/sprockets/rails/context.rb +48 -0
- data/vendor/bundle/gems/sprockets-rails-3.1.1/lib/sprockets/rails/helper.rb +351 -0
- data/vendor/bundle/gems/sprockets-rails-3.1.1/lib/sprockets/rails/quiet_assets.rb +18 -0
- data/vendor/bundle/gems/sprockets-rails-3.1.1/lib/sprockets/rails/route_wrapper.rb +23 -0
- data/vendor/bundle/gems/sprockets-rails-3.1.1/lib/sprockets/rails/task.rb +89 -0
- data/vendor/bundle/gems/sprockets-rails-3.1.1/lib/sprockets/rails/utils.rb +11 -0
- data/vendor/bundle/gems/sprockets-rails-3.1.1/lib/sprockets/rails/version.rb +5 -0
- data/vendor/bundle/gems/sprockets-rails-3.1.1/lib/sprockets/railtie.rb +254 -0
- data/vendor/bundle/gems/thor-0.19.1/CHANGELOG.md +139 -0
- data/vendor/bundle/gems/thor-0.19.1/LICENSE.md +20 -0
- data/vendor/bundle/gems/thor-0.19.1/README.md +41 -0
- data/vendor/bundle/gems/thor-0.19.1/Thorfile +29 -0
- data/vendor/bundle/gems/thor-0.19.1/bin/thor +6 -0
- data/vendor/bundle/gems/thor-0.19.1/lib/thor.rb +484 -0
- data/vendor/bundle/gems/thor-0.19.1/lib/thor/actions.rb +319 -0
- data/vendor/bundle/gems/thor-0.19.1/lib/thor/actions/create_file.rb +103 -0
- data/vendor/bundle/gems/thor-0.19.1/lib/thor/actions/create_link.rb +59 -0
- data/vendor/bundle/gems/thor-0.19.1/lib/thor/actions/directory.rb +118 -0
- data/vendor/bundle/gems/thor-0.19.1/lib/thor/actions/empty_directory.rb +135 -0
- data/vendor/bundle/gems/thor-0.19.1/lib/thor/actions/file_manipulation.rb +316 -0
- data/vendor/bundle/gems/thor-0.19.1/lib/thor/actions/inject_into_file.rb +107 -0
- data/vendor/bundle/gems/thor-0.19.1/lib/thor/base.rb +656 -0
- data/vendor/bundle/gems/thor-0.19.1/lib/thor/command.rb +133 -0
- data/vendor/bundle/gems/thor-0.19.1/lib/thor/core_ext/hash_with_indifferent_access.rb +77 -0
- data/vendor/bundle/gems/thor-0.19.1/lib/thor/core_ext/io_binary_read.rb +10 -0
- data/vendor/bundle/gems/thor-0.19.1/lib/thor/core_ext/ordered_hash.rb +98 -0
- data/vendor/bundle/gems/thor-0.19.1/lib/thor/error.rb +32 -0
- data/vendor/bundle/gems/thor-0.19.1/lib/thor/group.rb +281 -0
- data/vendor/bundle/gems/thor-0.19.1/lib/thor/invocation.rb +178 -0
- data/vendor/bundle/gems/thor-0.19.1/lib/thor/line_editor.rb +17 -0
- data/vendor/bundle/gems/thor-0.19.1/lib/thor/line_editor/basic.rb +35 -0
- data/vendor/bundle/gems/thor-0.19.1/lib/thor/line_editor/readline.rb +88 -0
- data/vendor/bundle/gems/thor-0.19.1/lib/thor/parser.rb +4 -0
- data/vendor/bundle/gems/thor-0.19.1/lib/thor/parser/argument.rb +73 -0
- data/vendor/bundle/gems/thor-0.19.1/lib/thor/parser/arguments.rb +175 -0
- data/vendor/bundle/gems/thor-0.19.1/lib/thor/parser/option.rb +125 -0
- data/vendor/bundle/gems/thor-0.19.1/lib/thor/parser/options.rb +218 -0
- data/vendor/bundle/gems/thor-0.19.1/lib/thor/rake_compat.rb +71 -0
- data/vendor/bundle/gems/thor-0.19.1/lib/thor/runner.rb +322 -0
- data/vendor/bundle/gems/thor-0.19.1/lib/thor/shell.rb +81 -0
- data/vendor/bundle/gems/thor-0.19.1/lib/thor/shell/basic.rb +421 -0
- data/vendor/bundle/gems/thor-0.19.1/lib/thor/shell/color.rb +149 -0
- data/vendor/bundle/gems/thor-0.19.1/lib/thor/shell/html.rb +126 -0
- data/vendor/bundle/gems/thor-0.19.1/lib/thor/util.rb +267 -0
- data/vendor/bundle/gems/thor-0.19.1/lib/thor/version.rb +3 -0
- data/vendor/bundle/gems/thor-0.19.1/spec/actions/create_file_spec.rb +168 -0
- data/vendor/bundle/gems/thor-0.19.1/spec/actions/create_link_spec.rb +96 -0
- data/vendor/bundle/gems/thor-0.19.1/spec/actions/directory_spec.rb +169 -0
- data/vendor/bundle/gems/thor-0.19.1/spec/actions/empty_directory_spec.rb +129 -0
- data/vendor/bundle/gems/thor-0.19.1/spec/actions/file_manipulation_spec.rb +392 -0
- data/vendor/bundle/gems/thor-0.19.1/spec/actions/inject_into_file_spec.rb +135 -0
- data/vendor/bundle/gems/thor-0.19.1/spec/actions_spec.rb +331 -0
- data/vendor/bundle/gems/thor-0.19.1/spec/base_spec.rb +298 -0
- data/vendor/bundle/gems/thor-0.19.1/spec/command_spec.rb +79 -0
- data/vendor/bundle/gems/thor-0.19.1/spec/core_ext/hash_with_indifferent_access_spec.rb +48 -0
- data/vendor/bundle/gems/thor-0.19.1/spec/core_ext/ordered_hash_spec.rb +115 -0
- data/vendor/bundle/gems/thor-0.19.1/spec/exit_condition_spec.rb +19 -0
- data/vendor/bundle/gems/thor-0.19.1/spec/fixtures/application.rb +2 -0
- data/vendor/bundle/gems/thor-0.19.1/spec/fixtures/app{1}/README +3 -0
- data/vendor/bundle/gems/thor-0.19.1/spec/fixtures/bundle/execute.rb +6 -0
- data/vendor/bundle/gems/thor-0.19.1/spec/fixtures/bundle/main.thor +1 -0
- data/vendor/bundle/gems/thor-0.19.1/spec/fixtures/command.thor +10 -0
- data/vendor/bundle/gems/thor-0.19.1/spec/fixtures/doc/%file_name%.rb.tt +1 -0
- data/vendor/bundle/gems/thor-0.19.1/spec/fixtures/doc/COMMENTER +11 -0
- data/vendor/bundle/gems/thor-0.19.1/spec/fixtures/doc/README +3 -0
- data/vendor/bundle/gems/thor-0.19.1/spec/fixtures/doc/block_helper.rb +3 -0
- data/vendor/bundle/gems/thor-0.19.1/spec/fixtures/doc/config.rb +1 -0
- data/vendor/bundle/gems/thor-0.19.1/spec/fixtures/doc/config.yaml.tt +1 -0
- data/vendor/bundle/gems/thor-0.19.1/spec/fixtures/doc/excluding/%file_name%.rb.tt +1 -0
- data/vendor/bundle/gems/thor-0.19.1/spec/fixtures/enum.thor +10 -0
- data/vendor/bundle/gems/thor-0.19.1/spec/fixtures/group.thor +128 -0
- data/vendor/bundle/gems/thor-0.19.1/spec/fixtures/invoke.thor +131 -0
- data/vendor/bundle/gems/thor-0.19.1/spec/fixtures/path with spaces b/data/vendor/bundle/gems/thor-0.19.1/spec/fixtures/path with → spaces +0 -0
- data/vendor/bundle/gems/thor-0.19.1/spec/fixtures/preserve/script.sh +3 -0
- data/vendor/bundle/gems/thor-0.19.1/spec/fixtures/script.thor +220 -0
- data/vendor/bundle/gems/thor-0.19.1/spec/fixtures/subcommand.thor +17 -0
- data/vendor/bundle/gems/thor-0.19.1/spec/group_spec.rb +222 -0
- data/vendor/bundle/gems/thor-0.19.1/spec/helper.rb +80 -0
- data/vendor/bundle/gems/thor-0.19.1/spec/invocation_spec.rb +120 -0
- data/vendor/bundle/gems/thor-0.19.1/spec/line_editor/basic_spec.rb +28 -0
- data/vendor/bundle/gems/thor-0.19.1/spec/line_editor/readline_spec.rb +69 -0
- data/vendor/bundle/gems/thor-0.19.1/spec/line_editor_spec.rb +43 -0
- data/vendor/bundle/gems/thor-0.19.1/spec/parser/argument_spec.rb +53 -0
- data/vendor/bundle/gems/thor-0.19.1/spec/parser/arguments_spec.rb +66 -0
- data/vendor/bundle/gems/thor-0.19.1/spec/parser/option_spec.rb +210 -0
- data/vendor/bundle/gems/thor-0.19.1/spec/parser/options_spec.rb +414 -0
- data/vendor/bundle/gems/thor-0.19.1/spec/quality_spec.rb +75 -0
- data/vendor/bundle/gems/thor-0.19.1/spec/rake_compat_spec.rb +72 -0
- data/vendor/bundle/gems/thor-0.19.1/spec/register_spec.rb +227 -0
- data/vendor/bundle/gems/thor-0.19.1/spec/runner_spec.rb +246 -0
- data/vendor/bundle/gems/thor-0.19.1/spec/sandbox/application.rb +2 -0
- data/vendor/bundle/gems/thor-0.19.1/spec/sandbox/app{1}/README +3 -0
- data/vendor/bundle/gems/thor-0.19.1/spec/sandbox/bundle/execute.rb +6 -0
- data/vendor/bundle/gems/thor-0.19.1/spec/sandbox/bundle/main.thor +1 -0
- data/vendor/bundle/gems/thor-0.19.1/spec/sandbox/command.thor +10 -0
- data/vendor/bundle/gems/thor-0.19.1/spec/sandbox/doc/%file_name%.rb.tt +1 -0
- data/vendor/bundle/gems/thor-0.19.1/spec/sandbox/doc/COMMENTER +11 -0
- data/vendor/bundle/gems/thor-0.19.1/spec/sandbox/doc/README +3 -0
- data/vendor/bundle/gems/thor-0.19.1/spec/sandbox/doc/block_helper.rb +3 -0
- data/vendor/bundle/gems/thor-0.19.1/spec/sandbox/doc/config.rb +1 -0
- data/vendor/bundle/gems/thor-0.19.1/spec/sandbox/doc/config.yaml.tt +1 -0
- data/vendor/bundle/gems/thor-0.19.1/spec/sandbox/doc/excluding/%file_name%.rb.tt +1 -0
- data/vendor/bundle/gems/thor-0.19.1/spec/sandbox/enum.thor +10 -0
- data/vendor/bundle/gems/thor-0.19.1/spec/sandbox/group.thor +128 -0
- data/vendor/bundle/gems/thor-0.19.1/spec/sandbox/invoke.thor +131 -0
- data/vendor/bundle/gems/thor-0.19.1/spec/sandbox/path with spaces b/data/vendor/bundle/gems/thor-0.19.1/spec/sandbox/path with → spaces +0 -0
- data/vendor/bundle/gems/thor-0.19.1/spec/sandbox/preserve/script.sh +3 -0
- data/vendor/bundle/gems/thor-0.19.1/spec/sandbox/script.thor +220 -0
- data/vendor/bundle/gems/thor-0.19.1/spec/sandbox/subcommand.thor +17 -0
- data/vendor/bundle/gems/thor-0.19.1/spec/shell/basic_spec.rb +337 -0
- data/vendor/bundle/gems/thor-0.19.1/spec/shell/color_spec.rb +119 -0
- data/vendor/bundle/gems/thor-0.19.1/spec/shell/html_spec.rb +31 -0
- data/vendor/bundle/gems/thor-0.19.1/spec/shell_spec.rb +47 -0
- data/vendor/bundle/gems/thor-0.19.1/spec/subcommand_spec.rb +48 -0
- data/vendor/bundle/gems/thor-0.19.1/spec/thor_spec.rb +505 -0
- data/vendor/bundle/gems/thor-0.19.1/spec/util_spec.rb +196 -0
- data/vendor/bundle/gems/thor-0.19.1/thor.gemspec +24 -0
- data/vendor/bundle/gems/thread_safe-0.3.5/Gemfile +17 -0
- data/vendor/bundle/gems/thread_safe-0.3.5/LICENSE +144 -0
- data/vendor/bundle/gems/thread_safe-0.3.5/README.md +56 -0
- data/vendor/bundle/gems/thread_safe-0.3.5/Rakefile +61 -0
- data/vendor/bundle/gems/thread_safe-0.3.5/examples/bench_cache.rb +35 -0
- data/vendor/bundle/gems/thread_safe-0.3.5/ext/org/jruby/ext/thread_safe/JRubyCacheBackendLibrary.java +245 -0
- data/vendor/bundle/gems/thread_safe-0.3.5/ext/org/jruby/ext/thread_safe/jsr166e/ConcurrentHashMap.java +31 -0
- data/vendor/bundle/gems/thread_safe-0.3.5/ext/org/jruby/ext/thread_safe/jsr166e/ConcurrentHashMapV8.java +3863 -0
- data/vendor/bundle/gems/thread_safe-0.3.5/ext/org/jruby/ext/thread_safe/jsr166e/LongAdder.java +203 -0
- data/vendor/bundle/gems/thread_safe-0.3.5/ext/org/jruby/ext/thread_safe/jsr166e/Striped64.java +342 -0
- data/vendor/bundle/gems/thread_safe-0.3.5/ext/org/jruby/ext/thread_safe/jsr166e/nounsafe/ConcurrentHashMapV8.java +3800 -0
- data/vendor/bundle/gems/thread_safe-0.3.5/ext/org/jruby/ext/thread_safe/jsr166e/nounsafe/LongAdder.java +204 -0
- data/vendor/bundle/gems/thread_safe-0.3.5/ext/org/jruby/ext/thread_safe/jsr166e/nounsafe/Striped64.java +291 -0
- data/vendor/bundle/gems/thread_safe-0.3.5/ext/org/jruby/ext/thread_safe/jsr166y/ThreadLocalRandom.java +199 -0
- data/vendor/bundle/gems/thread_safe-0.3.5/ext/thread_safe/JrubyCacheBackendService.java +15 -0
- data/vendor/bundle/gems/thread_safe-0.3.5/lib/thread_safe.rb +65 -0
- data/vendor/bundle/gems/thread_safe-0.3.5/lib/thread_safe/atomic_reference_cache_backend.rb +908 -0
- data/vendor/bundle/gems/thread_safe-0.3.5/lib/thread_safe/cache.rb +163 -0
- data/vendor/bundle/gems/thread_safe-0.3.5/lib/thread_safe/mri_cache_backend.rb +69 -0
- data/vendor/bundle/gems/thread_safe-0.3.5/lib/thread_safe/non_concurrent_cache_backend.rb +135 -0
- data/vendor/bundle/gems/thread_safe-0.3.5/lib/thread_safe/synchronized_cache_backend.rb +77 -0
- data/vendor/bundle/gems/thread_safe-0.3.5/lib/thread_safe/synchronized_delegator.rb +60 -0
- data/vendor/bundle/gems/thread_safe-0.3.5/lib/thread_safe/util.rb +16 -0
- data/vendor/bundle/gems/thread_safe-0.3.5/lib/thread_safe/util/adder.rb +62 -0
- data/vendor/bundle/gems/thread_safe-0.3.5/lib/thread_safe/util/atomic_reference.rb +45 -0
- data/vendor/bundle/gems/thread_safe-0.3.5/lib/thread_safe/util/cheap_lockable.rb +106 -0
- data/vendor/bundle/gems/thread_safe-0.3.5/lib/thread_safe/util/power_of_two_tuple.rb +26 -0
- data/vendor/bundle/gems/thread_safe-0.3.5/lib/thread_safe/util/striped64.rb +222 -0
- data/vendor/bundle/gems/thread_safe-0.3.5/lib/thread_safe/util/volatile.rb +64 -0
- data/vendor/bundle/gems/thread_safe-0.3.5/lib/thread_safe/util/volatile_tuple.rb +46 -0
- data/vendor/bundle/gems/thread_safe-0.3.5/lib/thread_safe/util/xor_shift_random.rb +41 -0
- data/vendor/bundle/gems/thread_safe-0.3.5/lib/thread_safe/version.rb +21 -0
- data/vendor/bundle/gems/thread_safe-0.3.5/tasks/update_doc.rake +45 -0
- data/vendor/bundle/gems/thread_safe-0.3.5/test/src/thread_safe/SecurityManager.java +21 -0
- data/vendor/bundle/gems/thread_safe-0.3.5/test/test_array.rb +18 -0
- data/vendor/bundle/gems/thread_safe-0.3.5/test/test_cache.rb +901 -0
- data/vendor/bundle/gems/thread_safe-0.3.5/test/test_cache_loops.rb +449 -0
- data/vendor/bundle/gems/thread_safe-0.3.5/test/test_hash.rb +17 -0
- data/vendor/bundle/gems/thread_safe-0.3.5/test/test_helper.rb +134 -0
- data/vendor/bundle/gems/thread_safe-0.3.5/test/test_synchronized_delegator.rb +84 -0
- data/vendor/bundle/gems/thread_safe-0.3.5/thread_safe.gemspec +26 -0
- data/vendor/bundle/gems/thread_safe-0.3.5/yard-template/default/fulldoc/html/css/common.css +125 -0
- data/vendor/bundle/gems/thread_safe-0.3.5/yard-template/default/layout/html/footer.erb +16 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/CHANGES.md +649 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/LICENSE +19 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/README.md +151 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/Rakefile +104 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/lib/tzinfo.rb +40 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/lib/tzinfo/country.rb +196 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/lib/tzinfo/country_index_definition.rb +31 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/lib/tzinfo/country_info.rb +42 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/lib/tzinfo/country_timezone.rb +123 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/lib/tzinfo/data_source.rb +190 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/lib/tzinfo/data_timezone.rb +58 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/lib/tzinfo/data_timezone_info.rb +55 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/lib/tzinfo/info_timezone.rb +30 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/lib/tzinfo/linked_timezone.rb +63 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/lib/tzinfo/linked_timezone_info.rb +26 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/lib/tzinfo/offset_rationals.rb +77 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/lib/tzinfo/ruby_core_support.rb +146 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/lib/tzinfo/ruby_country_info.rb +70 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/lib/tzinfo/ruby_data_source.rb +136 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/lib/tzinfo/time_or_datetime.rb +333 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/lib/tzinfo/timezone.rb +637 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/lib/tzinfo/timezone_definition.rb +36 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/lib/tzinfo/timezone_index_definition.rb +54 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/lib/tzinfo/timezone_info.rb +30 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/lib/tzinfo/timezone_offset.rb +74 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/lib/tzinfo/timezone_period.rb +204 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/lib/tzinfo/timezone_proxy.rb +70 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/lib/tzinfo/timezone_transition.rb +120 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/lib/tzinfo/timezone_transition_definition.rb +101 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/lib/tzinfo/transition_data_timezone_info.rb +274 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/lib/tzinfo/zoneinfo_country_info.rb +35 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/lib/tzinfo/zoneinfo_data_source.rb +487 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/lib/tzinfo/zoneinfo_timezone_info.rb +245 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tc_country.rb +236 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tc_country_index_definition.rb +69 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tc_country_info.rb +16 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tc_country_timezone.rb +161 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tc_data_source.rb +218 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tc_data_timezone.rb +99 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tc_data_timezone_info.rb +18 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tc_info_timezone.rb +34 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tc_linked_timezone.rb +155 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tc_linked_timezone_info.rb +23 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tc_offset_rationals.rb +23 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tc_ruby_core_support.rb +168 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tc_ruby_country_info.rb +80 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tc_ruby_data_source.rb +143 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tc_time_or_datetime.rb +639 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tc_timezone.rb +1334 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tc_timezone_definition.rb +113 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tc_timezone_index_definition.rb +73 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tc_timezone_info.rb +11 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tc_timezone_london.rb +143 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tc_timezone_melbourne.rb +142 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tc_timezone_new_york.rb +142 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tc_timezone_offset.rb +126 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tc_timezone_period.rb +548 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tc_timezone_proxy.rb +113 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tc_timezone_transition.rb +352 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tc_timezone_transition_definition.rb +284 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tc_timezone_utc.rb +27 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tc_transition_data_timezone_info.rb +423 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tc_zoneinfo_country_info.rb +64 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tc_zoneinfo_data_source.rb +1122 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tc_zoneinfo_timezone_info.rb +814 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/test_utils.rb +132 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/ts_all.rb +7 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/ts_all_ruby.rb +5 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/ts_all_zoneinfo.rb +7 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tzinfo-data/tzinfo/data.rb +8 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tzinfo-data/tzinfo/data/definitions/America/Argentina/Buenos_Aires.rb +89 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tzinfo-data/tzinfo/data/definitions/America/New_York.rb +315 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tzinfo-data/tzinfo/data/definitions/Australia/Melbourne.rb +218 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tzinfo-data/tzinfo/data/definitions/EST.rb +19 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tzinfo-data/tzinfo/data/definitions/Etc/GMT__m__1.rb +21 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tzinfo-data/tzinfo/data/definitions/Etc/GMT__p__1.rb +21 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tzinfo-data/tzinfo/data/definitions/Etc/UTC.rb +21 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tzinfo-data/tzinfo/data/definitions/Europe/Amsterdam.rb +261 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tzinfo-data/tzinfo/data/definitions/Europe/Andorra.rb +186 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tzinfo-data/tzinfo/data/definitions/Europe/London.rb +321 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tzinfo-data/tzinfo/data/definitions/Europe/Paris.rb +265 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tzinfo-data/tzinfo/data/definitions/Europe/Prague.rb +220 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tzinfo-data/tzinfo/data/definitions/UTC.rb +16 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tzinfo-data/tzinfo/data/indexes/countries.rb +927 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tzinfo-data/tzinfo/data/indexes/timezones.rb +596 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/tzinfo-data/tzinfo/data/version.rb +14 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/zoneinfo/America/Argentina/Buenos_Aires +0 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/zoneinfo/America/New_York +0 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/zoneinfo/Australia/Melbourne +0 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/zoneinfo/EST +0 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/zoneinfo/Etc/UTC +0 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/zoneinfo/Europe/Amsterdam +0 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/zoneinfo/Europe/Andorra +0 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/zoneinfo/Europe/London +0 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/zoneinfo/Europe/Paris +0 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/zoneinfo/Europe/Prague +0 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/zoneinfo/Factory +0 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/zoneinfo/iso3166.tab +275 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/zoneinfo/posix/Europe/London +0 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/zoneinfo/posixrules +0 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/zoneinfo/right/Europe/London +0 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/zoneinfo/zone.tab +439 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/test/zoneinfo/zone1970.tab +369 -0
- data/vendor/bundle/gems/tzinfo-1.2.2/tzinfo.gemspec +21 -0
- data/vendor/bundle/gems/websocket-driver-0.6.4/CHANGELOG.md +119 -0
- data/vendor/bundle/gems/websocket-driver-0.6.4/README.md +393 -0
- data/vendor/bundle/gems/websocket-driver-0.6.4/examples/tcp_server.rb +28 -0
- data/vendor/bundle/gems/websocket-driver-0.6.4/ext/websocket-driver/Makefile +261 -0
- data/vendor/bundle/gems/websocket-driver-0.6.4/ext/websocket-driver/WebsocketMaskService.java +55 -0
- data/vendor/bundle/gems/websocket-driver-0.6.4/ext/websocket-driver/extconf.rb +4 -0
- data/vendor/bundle/gems/websocket-driver-0.6.4/ext/websocket-driver/websocket_mask.bundle +0 -0
- data/vendor/bundle/gems/websocket-driver-0.6.4/ext/websocket-driver/websocket_mask.c +41 -0
- data/vendor/bundle/gems/websocket-driver-0.6.4/ext/websocket-driver/websocket_mask.o +0 -0
- data/vendor/bundle/gems/websocket-driver-0.6.4/lib/websocket/driver.rb +191 -0
- data/vendor/bundle/gems/websocket-driver-0.6.4/lib/websocket/driver/client.rb +140 -0
- data/vendor/bundle/gems/websocket-driver-0.6.4/lib/websocket/driver/draft75.rb +102 -0
- data/vendor/bundle/gems/websocket-driver-0.6.4/lib/websocket/driver/draft76.rb +96 -0
- data/vendor/bundle/gems/websocket-driver-0.6.4/lib/websocket/driver/event_emitter.rb +54 -0
- data/vendor/bundle/gems/websocket-driver-0.6.4/lib/websocket/driver/headers.rb +45 -0
- data/vendor/bundle/gems/websocket-driver-0.6.4/lib/websocket/driver/hybi.rb +406 -0
- data/vendor/bundle/gems/websocket-driver-0.6.4/lib/websocket/driver/hybi/frame.rb +20 -0
- data/vendor/bundle/gems/websocket-driver-0.6.4/lib/websocket/driver/hybi/message.rb +31 -0
- data/vendor/bundle/gems/websocket-driver-0.6.4/lib/websocket/driver/proxy.rb +68 -0
- data/vendor/bundle/gems/websocket-driver-0.6.4/lib/websocket/driver/server.rb +80 -0
- data/vendor/bundle/gems/websocket-driver-0.6.4/lib/websocket/driver/stream_reader.rb +55 -0
- data/vendor/bundle/gems/websocket-driver-0.6.4/lib/websocket/http.rb +15 -0
- data/vendor/bundle/gems/websocket-driver-0.6.4/lib/websocket/http/headers.rb +112 -0
- data/vendor/bundle/gems/websocket-driver-0.6.4/lib/websocket/http/request.rb +45 -0
- data/vendor/bundle/gems/websocket-driver-0.6.4/lib/websocket/http/response.rb +29 -0
- data/vendor/bundle/gems/websocket-driver-0.6.4/lib/websocket/websocket_mask.rb +2 -0
- data/vendor/bundle/gems/websocket-driver-0.6.4/lib/websocket_mask.bundle +0 -0
- data/vendor/bundle/gems/websocket-extensions-0.1.2/CHANGELOG.md +11 -0
- data/vendor/bundle/gems/websocket-extensions-0.1.2/README.md +336 -0
- data/vendor/bundle/gems/websocket-extensions-0.1.2/lib/websocket/extensions.rb +181 -0
- data/vendor/bundle/gems/websocket-extensions-0.1.2/lib/websocket/extensions/parser.rb +111 -0
- data/vendor/bundle/gems/yard-0.9.1/CHANGELOG.md +470 -0
- data/vendor/bundle/gems/yard-0.9.1/LEGAL +66 -0
- data/vendor/bundle/gems/yard-0.9.1/LICENSE +22 -0
- data/vendor/bundle/gems/yard-0.9.1/README.md +294 -0
- data/vendor/bundle/gems/yard-0.9.1/Rakefile +61 -0
- data/vendor/bundle/gems/yard-0.9.1/benchmarks/builtins_vs_eval.rb +23 -0
- data/vendor/bundle/gems/yard-0.9.1/benchmarks/concat_vs_join.rb +12 -0
- data/vendor/bundle/gems/yard-0.9.1/benchmarks/erb_vs_erubis.rb +53 -0
- data/vendor/bundle/gems/yard-0.9.1/benchmarks/format_args.rb +46 -0
- data/vendor/bundle/gems/yard-0.9.1/benchmarks/generation.rb +37 -0
- data/vendor/bundle/gems/yard-0.9.1/benchmarks/marshal_vs_dbm.rb +63 -0
- data/vendor/bundle/gems/yard-0.9.1/benchmarks/parsing.rb +46 -0
- data/vendor/bundle/gems/yard-0.9.1/benchmarks/pathname_vs_string.rb +50 -0
- data/vendor/bundle/gems/yard-0.9.1/benchmarks/rdoc_vs_yardoc.rb +10 -0
- data/vendor/bundle/gems/yard-0.9.1/benchmarks/registry_store_types.rb +48 -0
- data/vendor/bundle/gems/yard-0.9.1/benchmarks/ri_vs_yri.rb +18 -0
- data/vendor/bundle/gems/yard-0.9.1/benchmarks/ripper_parser.rb +12 -0
- data/vendor/bundle/gems/yard-0.9.1/benchmarks/splat_vs_flatten.rb +12 -0
- data/vendor/bundle/gems/yard-0.9.1/benchmarks/template_erb.rb +22 -0
- data/vendor/bundle/gems/yard-0.9.1/benchmarks/template_format.rb +6 -0
- data/vendor/bundle/gems/yard-0.9.1/benchmarks/template_profile.rb +17 -0
- data/vendor/bundle/gems/yard-0.9.1/benchmarks/yri_cache.rb +19 -0
- data/vendor/bundle/gems/yard-0.9.1/bin/yard +12 -0
- data/vendor/bundle/gems/yard-0.9.1/bin/yardoc +12 -0
- data/vendor/bundle/gems/yard-0.9.1/bin/yri +12 -0
- data/vendor/bundle/gems/yard-0.9.1/docs/CodeObjects.md +115 -0
- data/vendor/bundle/gems/yard-0.9.1/docs/GettingStarted.md +674 -0
- data/vendor/bundle/gems/yard-0.9.1/docs/Handlers.md +152 -0
- data/vendor/bundle/gems/yard-0.9.1/docs/Overview.md +61 -0
- data/vendor/bundle/gems/yard-0.9.1/docs/Parser.md +191 -0
- data/vendor/bundle/gems/yard-0.9.1/docs/Tags.md +283 -0
- data/vendor/bundle/gems/yard-0.9.1/docs/TagsArch.md +123 -0
- data/vendor/bundle/gems/yard-0.9.1/docs/Templates.md +496 -0
- data/vendor/bundle/gems/yard-0.9.1/docs/WhatsNew.md +1245 -0
- data/vendor/bundle/gems/yard-0.9.1/docs/images/code-objects-class-diagram.png +0 -0
- data/vendor/bundle/gems/yard-0.9.1/docs/images/handlers-class-diagram.png +0 -0
- data/vendor/bundle/gems/yard-0.9.1/docs/images/overview-class-diagram.png +0 -0
- data/vendor/bundle/gems/yard-0.9.1/docs/images/parser-class-diagram.png +0 -0
- data/vendor/bundle/gems/yard-0.9.1/docs/images/tags-class-diagram.png +0 -0
- data/vendor/bundle/gems/yard-0.9.1/docs/templates/default/fulldoc/html/full_list_tag.erb +9 -0
- data/vendor/bundle/gems/yard-0.9.1/docs/templates/default/fulldoc/html/setup.rb +6 -0
- data/vendor/bundle/gems/yard-0.9.1/docs/templates/default/layout/html/setup.rb +8 -0
- data/vendor/bundle/gems/yard-0.9.1/docs/templates/default/layout/html/tag_list.erb +11 -0
- data/vendor/bundle/gems/yard-0.9.1/docs/templates/default/yard_tags/html/list.erb +18 -0
- data/vendor/bundle/gems/yard-0.9.1/docs/templates/default/yard_tags/html/setup.rb +27 -0
- data/vendor/bundle/gems/yard-0.9.1/docs/templates/plugin.rb +65 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/rubygems_plugin.rb +8 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard.rb +70 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/autoload.rb +298 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/cli/command.rb +84 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/cli/command_parser.rb +92 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/cli/config.rb +136 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/cli/diff.rb +270 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/cli/display.rb +68 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/cli/gems.rb +82 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/cli/graph.rb +126 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/cli/help.rb +18 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/cli/i18n.rb +69 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/cli/list.rb +22 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/cli/markup_types.rb +33 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/cli/server.rb +253 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/cli/stats.rb +226 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/cli/yardoc.rb +756 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/cli/yardopts_command.rb +109 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/cli/yri.rb +214 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/code_objects/base.rb +598 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/code_objects/class_object.rb +145 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/code_objects/class_variable_object.rb +10 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/code_objects/constant_object.rb +15 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/code_objects/extended_method_object.rb +23 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/code_objects/extra_file_object.rb +130 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/code_objects/macro_object.rb +172 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/code_objects/method_object.rb +194 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/code_objects/module_object.rb +20 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/code_objects/namespace_mapper.rb +113 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/code_objects/namespace_object.rb +203 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/code_objects/proxy.rb +258 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/code_objects/root_object.rb +17 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/config.rb +271 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/core_ext/array.rb +15 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/core_ext/file.rb +65 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/core_ext/hash.rb +15 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/core_ext/insertion.rb +60 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/core_ext/module.rb +19 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/core_ext/string.rb +67 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/core_ext/symbol_hash.rb +73 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/docstring.rb +367 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/docstring_parser.rb +345 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/globals.rb +18 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/handlers/base.rb +596 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/handlers/c/alias_handler.rb +15 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/handlers/c/attribute_handler.rb +13 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/handlers/c/base.rb +129 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/handlers/c/class_handler.rb +26 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/handlers/c/constant_handler.rb +12 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/handlers/c/handler_methods.rb +212 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/handlers/c/init_handler.rb +18 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/handlers/c/method_handler.rb +35 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/handlers/c/mixin_handler.rb +19 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/handlers/c/module_handler.rb +16 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/handlers/c/override_comment_handler.rb +30 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/handlers/c/path_handler.rb +10 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/handlers/c/struct_handler.rb +12 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/handlers/c/symbol_handler.rb +7 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/handlers/processor.rb +201 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/handlers/ruby/alias_handler.rb +42 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/handlers/ruby/attribute_handler.rb +82 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/handlers/ruby/base.rb +164 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/handlers/ruby/class_condition_handler.rb +86 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/handlers/ruby/class_handler.rb +121 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/handlers/ruby/class_variable_handler.rb +16 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/handlers/ruby/comment_handler.rb +9 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/handlers/ruby/constant_handler.rb +50 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/handlers/ruby/decorator_handler_methods.rb +132 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/handlers/ruby/dsl_handler.rb +14 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/handlers/ruby/dsl_handler_methods.rb +94 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/handlers/ruby/exception_handler.rb +26 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/handlers/ruby/extend_handler.rb +21 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/handlers/ruby/legacy/alias_handler.rb +35 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/handlers/ruby/legacy/attribute_handler.rb +60 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/handlers/ruby/legacy/base.rb +250 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/handlers/ruby/legacy/class_condition_handler.rb +83 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/handlers/ruby/legacy/class_handler.rb +111 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/handlers/ruby/legacy/class_variable_handler.rb +14 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/handlers/ruby/legacy/comment_handler.rb +9 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/handlers/ruby/legacy/constant_handler.rb +28 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/handlers/ruby/legacy/dsl_handler.rb +16 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/handlers/ruby/legacy/exception_handler.rb +12 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/handlers/ruby/legacy/extend_handler.rb +20 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/handlers/ruby/legacy/method_handler.rb +85 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/handlers/ruby/legacy/mixin_handler.rb +39 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/handlers/ruby/legacy/module_function_handler.rb +18 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/handlers/ruby/legacy/module_handler.rb +11 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/handlers/ruby/legacy/private_class_method_handler.rb +21 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/handlers/ruby/legacy/private_constant_handler.rb +21 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/handlers/ruby/legacy/visibility_handler.rb +16 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/handlers/ruby/legacy/yield_handler.rb +28 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/handlers/ruby/method_condition_handler.rb +8 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/handlers/ruby/method_handler.rb +120 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/handlers/ruby/mixin_handler.rb +36 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/handlers/ruby/module_function_handler.rb +26 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/handlers/ruby/module_handler.rb +11 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/handlers/ruby/private_class_method_handler.rb +13 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/handlers/ruby/private_constant_handler.rb +42 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/handlers/ruby/public_class_method_handler.rb +13 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/handlers/ruby/struct_handler_methods.rb +142 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/handlers/ruby/visibility_handler.rb +21 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/handlers/ruby/yield_handler.rb +30 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/i18n/locale.rb +66 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/i18n/message.rb +56 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/i18n/messages.rb +55 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/i18n/po_parser.rb +60 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/i18n/pot_generator.rb +290 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/i18n/text.rb +173 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/logging.rb +189 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/options.rb +216 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/parser/base.rb +56 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/parser/c/c_parser.rb +231 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/parser/c/comment_parser.rb +131 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/parser/c/statement.rb +63 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/parser/ruby/ast_node.rb +530 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/parser/ruby/legacy/ruby_lex.rb +1377 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/parser/ruby/legacy/ruby_parser.rb +31 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/parser/ruby/legacy/statement.rb +65 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/parser/ruby/legacy/statement_list.rb +384 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/parser/ruby/legacy/token_list.rb +71 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/parser/ruby/ruby_parser.rb +657 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/parser/source_parser.rb +518 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/rake/yardoc_task.rb +81 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/registry.rb +417 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/registry_resolver.rb +171 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/registry_store.rb +319 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/rubygems/backports.rb +8 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/rubygems/backports/LICENSE.txt +57 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/rubygems/backports/MIT.txt +20 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/rubygems/backports/gem.rb +9 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/rubygems/backports/source_index.rb +370 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/rubygems/doc_manager.rb +88 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/rubygems/hook.rb +164 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/rubygems/specification.rb +41 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/serializers/base.rb +80 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/serializers/file_system_serializer.rb +122 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/serializers/process_serializer.rb +24 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/serializers/stdout_serializer.rb +32 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/serializers/yardoc_serializer.rb +124 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/server.rb +12 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/server/adapter.rb +100 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/server/commands/base.rb +192 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/server/commands/display_file_command.rb +29 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/server/commands/display_object_command.rb +62 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/server/commands/frames_command.rb +15 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/server/commands/library_command.rb +151 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/server/commands/library_index_command.rb +24 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/server/commands/list_command.rb +24 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/server/commands/root_request_command.rb +27 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/server/commands/search_command.rb +78 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/server/commands/static_file_command.rb +44 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/server/doc_server_helper.rb +70 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/server/doc_server_serializer.rb +41 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/server/library_version.rb +227 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/server/rack_adapter.rb +88 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/server/router.rb +186 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/server/static_caching.rb +45 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/server/templates/default/fulldoc/html/css/custom.css +127 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/server/templates/default/fulldoc/html/images/processing.gif +0 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/server/templates/default/fulldoc/html/js/autocomplete.js +12 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/server/templates/default/layout/html/breadcrumb.erb +38 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/server/templates/default/layout/html/script_setup.erb +7 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/server/templates/default/layout/html/setup.rb +7 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/server/templates/default/method_details/html/permalink.erb +4 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/server/templates/default/method_details/html/setup.rb +4 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/server/templates/doc_server/library_list/html/contents.erb +13 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/server/templates/doc_server/library_list/html/headers.erb +26 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/server/templates/doc_server/library_list/html/library_list.erb +12 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/server/templates/doc_server/library_list/html/setup.rb +3 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/server/templates/doc_server/library_list/html/title.erb +2 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/server/templates/doc_server/processing/html/processing.erb +52 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/server/templates/doc_server/processing/html/setup.rb +3 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/server/templates/doc_server/search/html/search.erb +18 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/server/templates/doc_server/search/html/setup.rb +8 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/server/webrick_adapter.rb +43 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/tags/default_factory.rb +185 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/tags/default_tag.rb +12 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/tags/directives.rb +604 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/tags/library.rb +630 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/tags/option_tag.rb +12 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/tags/overload_tag.rb +69 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/tags/ref_tag.rb +7 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/tags/ref_tag_list.rb +27 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/tags/tag.rb +57 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/tags/tag_format_error.rb +6 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/templates/engine.rb +185 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/templates/erb_cache.rb +22 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/templates/helpers/base_helper.rb +212 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/templates/helpers/filter_helper.rb +26 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/templates/helpers/html_helper.rb +607 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/templates/helpers/html_syntax_highlight_helper.rb +60 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/templates/helpers/markup/rdoc_markdown.rb +22 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/templates/helpers/markup/rdoc_markup.rb +106 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/templates/helpers/markup_helper.rb +169 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/templates/helpers/method_helper.rb +74 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/templates/helpers/module_helper.rb +20 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/templates/helpers/text_helper.rb +107 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/templates/helpers/uml_helper.rb +46 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/templates/section.rb +106 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/templates/template.rb +407 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/templates/template_options.rb +91 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/verifier.rb +149 -0
- data/vendor/bundle/gems/yard-0.9.1/lib/yard/version.rb +3 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/cli/command_parser_spec.rb +43 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/cli/command_spec.rb +36 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/cli/config_spec.rb +92 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/cli/diff_spec.rb +256 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/cli/display_spec.rb +30 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/cli/gems_spec.rb +81 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/cli/graph_spec.rb +17 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/cli/help_spec.rb +22 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/cli/i18n_spec.rb +107 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/cli/list_spec.rb +8 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/cli/markup_types_spec.rb +22 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/cli/server_spec.rb +311 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/cli/stats_spec.rb +95 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/cli/yardoc_spec.rb +799 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/cli/yri_spec.rb +99 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/code_objects/base_spec.rb +447 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/code_objects/class_object_spec.rb +225 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/code_objects/code_object_list_spec.rb +35 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/code_objects/constants_spec.rb +92 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/code_objects/extra_file_object_spec.rb +159 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/code_objects/macro_object_spec.rb +148 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/code_objects/method_object_spec.rb +183 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/code_objects/module_object_spec.rb +141 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/code_objects/namespace_object_spec.rb +170 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/code_objects/proxy_spec.rb +140 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/code_objects/spec_helper.rb +3 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/config_spec.rb +176 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/core_ext/array_spec.rb +14 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/core_ext/file_spec.rb +68 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/core_ext/hash_spec.rb +14 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/core_ext/insertion_spec.rb +37 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/core_ext/module_spec.rb +15 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/core_ext/string_spec.rb +42 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/core_ext/symbol_hash_spec.rb +89 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/docstring_parser_spec.rb +263 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/docstring_spec.rb +337 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/handlers/alias_handler_spec.rb +81 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/handlers/attribute_handler_spec.rb +94 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/handlers/base_spec.rb +215 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/handlers/c/alias_handler_spec.rb +33 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/handlers/c/attribute_handler_spec.rb +40 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/handlers/c/class_handler_spec.rb +76 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/handlers/c/constant_handler_spec.rb +70 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/handlers/c/init_handler_spec.rb +47 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/handlers/c/method_handler_spec.rb +324 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/handlers/c/mixin_handler_spec.rb +43 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/handlers/c/module_handler_spec.rb +70 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/handlers/c/override_comment_handler_spec.rb +46 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/handlers/c/path_handler_spec.rb +35 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/handlers/c/spec_helper.rb +23 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/handlers/c/struct_handler_spec.rb +15 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/handlers/class_condition_handler_spec.rb +67 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/handlers/class_handler_spec.rb +246 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/handlers/class_method_handler_shared_examples.rb +132 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/handlers/class_variable_handler_spec.rb +11 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/handlers/constant_handler_spec.rb +76 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/handlers/decorator_handler_methods_spec.rb +405 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/handlers/dsl_handler_spec.rb +214 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/handlers/examples/alias_handler_001.rb.txt +46 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/handlers/examples/attribute_handler_001.rb.txt +32 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/handlers/examples/class_condition_handler_001.rb.txt +69 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/handlers/examples/class_handler_001.rb.txt +120 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/handlers/examples/class_variable_handler_001.rb.txt +10 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/handlers/examples/constant_handler_001.rb.txt +28 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/handlers/examples/dsl_handler_001.rb.txt +154 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/handlers/examples/exception_handler_001.rb.txt +59 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/handlers/examples/extend_handler_001.rb.txt +16 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/handlers/examples/method_condition_handler_001.rb.txt +10 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/handlers/examples/method_handler_001.rb.txt +126 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/handlers/examples/mixin_handler_001.rb.txt +37 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/handlers/examples/module_handler_001.rb.txt +29 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/handlers/examples/private_constant_handler_001.rb.txt +8 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/handlers/examples/process_handler_001.rb.txt +11 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/handlers/examples/visibility_handler_001.rb.txt +36 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/handlers/examples/yield_handler_001.rb.txt +54 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/handlers/exception_handler_spec.rb +48 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/handlers/extend_handler_spec.rb +23 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/handlers/legacy_base_spec.rb +128 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/handlers/method_condition_handler_spec.rb +14 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/handlers/method_handler_spec.rb +184 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/handlers/mixin_handler_spec.rb +55 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/handlers/module_function_handler_spec.rb +105 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/handlers/module_handler_spec.rb +34 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/handlers/private_class_method_handler_spec.rb +10 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/handlers/private_constant_handler_spec.rb +24 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/handlers/processor_spec.rb +34 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/handlers/public_class_method_handler_spec.rb +10 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/handlers/ruby/base_spec.rb +94 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/handlers/ruby/legacy/base_spec.rb +84 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/handlers/spec_helper.rb +33 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/handlers/visibility_handler_spec.rb +43 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/handlers/yield_handler_spec.rb +51 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/i18n/locale_spec.rb +81 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/i18n/message_spec.rb +52 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/i18n/messages_spec.rb +67 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/i18n/pot_generator_spec.rb +295 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/i18n/text_spec.rb +180 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/logging_spec.rb +35 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/options_spec.rb +171 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/parser/base_spec.rb +24 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/parser/c_parser_spec.rb +189 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/parser/examples/array.c.txt +3887 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/parser/examples/example1.rb.txt +8 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/parser/examples/extrafile.c.txt +8 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/parser/examples/multifile.c.txt +22 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/parser/examples/override.c.txt +424 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/parser/examples/parse_in_order_001.rb.txt +2 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/parser/examples/parse_in_order_002.rb.txt +2 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/parser/examples/tag_handler_001.rb.txt +8 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/parser/ruby/ast_node_spec.rb +33 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/parser/ruby/legacy/statement_list_spec.rb +299 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/parser/ruby/legacy/token_list_spec.rb +77 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/parser/ruby/ruby_parser_spec.rb +427 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/parser/source_parser_spec.rb +727 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/parser/tag_parsing_spec.rb +17 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/rake/yardoc_task_spec.rb +118 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/registry_spec.rb +436 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/registry_store_spec.rb +315 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/rubygems/doc_manager_spec.rb +112 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/serializers/data/serialized_yardoc/checksums +1 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/serializers/data/serialized_yardoc/objects/Foo.dat +0 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/serializers/data/serialized_yardoc/objects/Foo/bar_i.dat +0 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/serializers/data/serialized_yardoc/objects/Foo/baz_i.dat +0 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/serializers/data/serialized_yardoc/objects/root.dat +0 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/serializers/data/serialized_yardoc/proxy_types +2 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/serializers/file_system_serializer_spec.rb +144 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/serializers/spec_helper.rb +2 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/serializers/yardoc_serializer_spec.rb +46 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/server/adapter_spec.rb +38 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/server/commands/base_spec.rb +87 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/server/commands/library_command_spec.rb +39 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/server/doc_server_helper_spec.rb +53 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/server/doc_server_serializer_spec.rb +59 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/server/rack_adapter_spec.rb +20 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/server/router_spec.rb +122 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/server/spec_helper.rb +17 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/server/static_caching_spec.rb +39 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/server/webrick_servlet_spec.rb +19 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/server_spec.rb +19 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/spec_helper.rb +139 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/tags/default_factory_spec.rb +162 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/tags/default_tag_spec.rb +11 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/tags/directives_spec.rb +453 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/tags/library_spec.rb +34 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/tags/overload_tag_spec.rb +53 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/tags/ref_tag_list_spec.rb +53 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/templates/class_spec.rb +44 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/templates/constant_spec.rb +40 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/templates/engine_spec.rb +130 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/templates/examples/class001.html +308 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/templates/examples/class001.txt +36 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/templates/examples/class002.html +39 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/templates/examples/constant001.txt +25 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/templates/examples/constant002.txt +7 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/templates/examples/constant003.txt +11 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/templates/examples/method001.html +137 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/templates/examples/method001.txt +35 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/templates/examples/method002.html +91 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/templates/examples/method002.txt +20 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/templates/examples/method003.html +165 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/templates/examples/method003.txt +45 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/templates/examples/method004.html +48 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/templates/examples/method004.txt +10 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/templates/examples/method005.html +105 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/templates/examples/method005.txt +33 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/templates/examples/module001.dot +33 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/templates/examples/module001.html +829 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/templates/examples/module001.txt +33 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/templates/examples/module002.html +341 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/templates/examples/module003.html +198 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/templates/examples/module004.html +394 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/templates/examples/tag001.txt +82 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/templates/helpers/base_helper_spec.rb +171 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/templates/helpers/html_helper_spec.rb +648 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/templates/helpers/html_syntax_highlight_helper_spec.rb +54 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/templates/helpers/markup/rdoc_markup_spec.rb +86 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/templates/helpers/markup_helper_spec.rb +135 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/templates/helpers/method_helper_spec.rb +82 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/templates/helpers/module_helper_spec.rb +35 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/templates/helpers/shared_signature_examples.rb +125 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/templates/helpers/text_helper_spec.rb +64 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/templates/method_spec.rb +102 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/templates/module_spec.rb +181 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/templates/onefile_spec.rb +64 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/templates/section_spec.rb +143 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/templates/spec_helper.rb +73 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/templates/tag_spec.rb +51 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/templates/template_spec.rb +409 -0
- data/vendor/bundle/gems/yard-0.9.1/spec/verifier_spec.rb +106 -0
- data/vendor/bundle/gems/yard-0.9.1/templates/default/class/dot/setup.rb +6 -0
- data/vendor/bundle/gems/yard-0.9.1/templates/default/class/dot/superklass.erb +3 -0
- data/vendor/bundle/gems/yard-0.9.1/templates/default/class/html/constructor_details.erb +8 -0
- data/vendor/bundle/gems/yard-0.9.1/templates/default/class/html/setup.rb +1 -0
- data/vendor/bundle/gems/yard-0.9.1/templates/default/class/html/subclasses.erb +4 -0
- data/vendor/bundle/gems/yard-0.9.1/templates/default/class/setup.rb +36 -0
- data/vendor/bundle/gems/yard-0.9.1/templates/default/class/text/setup.rb +11 -0
- data/vendor/bundle/gems/yard-0.9.1/templates/default/class/text/subclasses.erb +5 -0
- data/vendor/bundle/gems/yard-0.9.1/templates/default/constant/text/header.erb +11 -0
- data/vendor/bundle/gems/yard-0.9.1/templates/default/constant/text/setup.rb +3 -0
- data/vendor/bundle/gems/yard-0.9.1/templates/default/docstring/html/abstract.erb +4 -0
- data/vendor/bundle/gems/yard-0.9.1/templates/default/docstring/html/deprecated.erb +1 -0
- data/vendor/bundle/gems/yard-0.9.1/templates/default/docstring/html/index.erb +5 -0
- data/vendor/bundle/gems/yard-0.9.1/templates/default/docstring/html/note.erb +6 -0
- data/vendor/bundle/gems/yard-0.9.1/templates/default/docstring/html/private.erb +4 -0
- data/vendor/bundle/gems/yard-0.9.1/templates/default/docstring/html/returns_void.erb +1 -0
- data/vendor/bundle/gems/yard-0.9.1/templates/default/docstring/html/text.erb +1 -0
- data/vendor/bundle/gems/yard-0.9.1/templates/default/docstring/html/todo.erb +6 -0
- data/vendor/bundle/gems/yard-0.9.1/templates/default/docstring/setup.rb +51 -0
- data/vendor/bundle/gems/yard-0.9.1/templates/default/docstring/text/abstract.erb +2 -0
- data/vendor/bundle/gems/yard-0.9.1/templates/default/docstring/text/deprecated.erb +2 -0
- data/vendor/bundle/gems/yard-0.9.1/templates/default/docstring/text/index.erb +2 -0
- data/vendor/bundle/gems/yard-0.9.1/templates/default/docstring/text/note.erb +4 -0
- data/vendor/bundle/gems/yard-0.9.1/templates/default/docstring/text/private.erb +2 -0
- data/vendor/bundle/gems/yard-0.9.1/templates/default/docstring/text/returns_void.erb +1 -0
- data/vendor/bundle/gems/yard-0.9.1/templates/default/docstring/text/text.erb +1 -0
- data/vendor/bundle/gems/yard-0.9.1/templates/default/docstring/text/todo.erb +4 -0
- data/vendor/bundle/gems/yard-0.9.1/templates/default/fulldoc/html/css/common.css +1 -0
- data/vendor/bundle/gems/yard-0.9.1/templates/default/fulldoc/html/css/full_list.css +58 -0
- data/vendor/bundle/gems/yard-0.9.1/templates/default/fulldoc/html/css/style.css +474 -0
- data/vendor/bundle/gems/yard-0.9.1/templates/default/fulldoc/html/frames.erb +17 -0
- data/vendor/bundle/gems/yard-0.9.1/templates/default/fulldoc/html/full_list.erb +37 -0
- data/vendor/bundle/gems/yard-0.9.1/templates/default/fulldoc/html/full_list_class.erb +2 -0
- data/vendor/bundle/gems/yard-0.9.1/templates/default/fulldoc/html/full_list_file.erb +7 -0
- data/vendor/bundle/gems/yard-0.9.1/templates/default/fulldoc/html/full_list_method.erb +10 -0
- data/vendor/bundle/gems/yard-0.9.1/templates/default/fulldoc/html/js/app.js +243 -0
- data/vendor/bundle/gems/yard-0.9.1/templates/default/fulldoc/html/js/full_list.js +216 -0
- data/vendor/bundle/gems/yard-0.9.1/templates/default/fulldoc/html/js/jquery.js +4 -0
- data/vendor/bundle/gems/yard-0.9.1/templates/default/fulldoc/html/setup.rb +242 -0
- data/vendor/bundle/gems/yard-0.9.1/templates/default/layout/dot/header.erb +6 -0
- data/vendor/bundle/gems/yard-0.9.1/templates/default/layout/dot/setup.rb +14 -0
- data/vendor/bundle/gems/yard-0.9.1/templates/default/layout/html/breadcrumb.erb +11 -0
- data/vendor/bundle/gems/yard-0.9.1/templates/default/layout/html/files.erb +11 -0
- data/vendor/bundle/gems/yard-0.9.1/templates/default/layout/html/footer.erb +5 -0
- data/vendor/bundle/gems/yard-0.9.1/templates/default/layout/html/headers.erb +15 -0
- data/vendor/bundle/gems/yard-0.9.1/templates/default/layout/html/index.erb +2 -0
- data/vendor/bundle/gems/yard-0.9.1/templates/default/layout/html/layout.erb +26 -0
- data/vendor/bundle/gems/yard-0.9.1/templates/default/layout/html/listing.erb +4 -0
- data/vendor/bundle/gems/yard-0.9.1/templates/default/layout/html/objects.erb +32 -0
- data/vendor/bundle/gems/yard-0.9.1/templates/default/layout/html/script_setup.erb +4 -0
- data/vendor/bundle/gems/yard-0.9.1/templates/default/layout/html/search.erb +13 -0
- data/vendor/bundle/gems/yard-0.9.1/templates/default/layout/html/setup.rb +87 -0
- data/vendor/bundle/gems/yard-0.9.1/templates/default/method/html/header.erb +17 -0
- data/vendor/bundle/gems/yard-0.9.1/templates/default/method/setup.rb +3 -0
- data/vendor/bundle/gems/yard-0.9.1/templates/default/method/text/header.erb +1 -0
- data/vendor/bundle/gems/yard-0.9.1/templates/default/method_details/html/header.erb +3 -0
- data/vendor/bundle/gems/yard-0.9.1/templates/default/method_details/html/method_signature.erb +25 -0
- data/vendor/bundle/gems/yard-0.9.1/templates/default/method_details/html/source.erb +10 -0
- data/vendor/bundle/gems/yard-0.9.1/templates/default/method_details/setup.rb +10 -0
- data/vendor/bundle/gems/yard-0.9.1/templates/default/method_details/text/header.erb +10 -0
- data/vendor/bundle/gems/yard-0.9.1/templates/default/method_details/text/method_signature.erb +12 -0
- data/vendor/bundle/gems/yard-0.9.1/templates/default/method_details/text/setup.rb +10 -0
- data/vendor/bundle/gems/yard-0.9.1/templates/default/module/dot/child.erb +1 -0
- data/vendor/bundle/gems/yard-0.9.1/templates/default/module/dot/dependencies.erb +3 -0
- data/vendor/bundle/gems/yard-0.9.1/templates/default/module/dot/header.erb +6 -0
- data/vendor/bundle/gems/yard-0.9.1/templates/default/module/dot/info.erb +14 -0
- data/vendor/bundle/gems/yard-0.9.1/templates/default/module/dot/setup.rb +14 -0
- data/vendor/bundle/gems/yard-0.9.1/templates/default/module/html/attribute_details.erb +10 -0
- data/vendor/bundle/gems/yard-0.9.1/templates/default/module/html/attribute_summary.erb +8 -0
- data/vendor/bundle/gems/yard-0.9.1/templates/default/module/html/box_info.erb +43 -0
- data/vendor/bundle/gems/yard-0.9.1/templates/default/module/html/children.erb +8 -0
- data/vendor/bundle/gems/yard-0.9.1/templates/default/module/html/constant_summary.erb +11 -0
- data/vendor/bundle/gems/yard-0.9.1/templates/default/module/html/defines.erb +3 -0
- data/vendor/bundle/gems/yard-0.9.1/templates/default/module/html/header.erb +5 -0
- data/vendor/bundle/gems/yard-0.9.1/templates/default/module/html/inherited_attributes.erb +14 -0
- data/vendor/bundle/gems/yard-0.9.1/templates/default/module/html/inherited_constants.erb +8 -0
- data/vendor/bundle/gems/yard-0.9.1/templates/default/module/html/inherited_methods.erb +19 -0
- data/vendor/bundle/gems/yard-0.9.1/templates/default/module/html/item_summary.erb +40 -0
- data/vendor/bundle/gems/yard-0.9.1/templates/default/module/html/method_details_list.erb +9 -0
- data/vendor/bundle/gems/yard-0.9.1/templates/default/module/html/method_summary.erb +14 -0
- data/vendor/bundle/gems/yard-0.9.1/templates/default/module/html/methodmissing.erb +12 -0
- data/vendor/bundle/gems/yard-0.9.1/templates/default/module/html/pre_docstring.erb +1 -0
- data/vendor/bundle/gems/yard-0.9.1/templates/default/module/setup.rb +164 -0
- data/vendor/bundle/gems/yard-0.9.1/templates/default/module/text/children.erb +10 -0
- data/vendor/bundle/gems/yard-0.9.1/templates/default/module/text/class_meths_list.erb +8 -0
- data/vendor/bundle/gems/yard-0.9.1/templates/default/module/text/extends.erb +8 -0
- data/vendor/bundle/gems/yard-0.9.1/templates/default/module/text/header.erb +7 -0
- data/vendor/bundle/gems/yard-0.9.1/templates/default/module/text/includes.erb +8 -0
- data/vendor/bundle/gems/yard-0.9.1/templates/default/module/text/instance_meths_list.erb +8 -0
- data/vendor/bundle/gems/yard-0.9.1/templates/default/module/text/setup.rb +12 -0
- data/vendor/bundle/gems/yard-0.9.1/templates/default/onefile/html/files.erb +5 -0
- data/vendor/bundle/gems/yard-0.9.1/templates/default/onefile/html/headers.erb +6 -0
- data/vendor/bundle/gems/yard-0.9.1/templates/default/onefile/html/layout.erb +17 -0
- data/vendor/bundle/gems/yard-0.9.1/templates/default/onefile/html/readme.erb +3 -0
- data/vendor/bundle/gems/yard-0.9.1/templates/default/onefile/html/setup.rb +61 -0
- data/vendor/bundle/gems/yard-0.9.1/templates/default/root/dot/child.erb +3 -0
- data/vendor/bundle/gems/yard-0.9.1/templates/default/root/dot/setup.rb +5 -0
- data/vendor/bundle/gems/yard-0.9.1/templates/default/root/html/setup.rb +1 -0
- data/vendor/bundle/gems/yard-0.9.1/templates/default/tags/html/example.erb +11 -0
- data/vendor/bundle/gems/yard-0.9.1/templates/default/tags/html/index.erb +3 -0
- data/vendor/bundle/gems/yard-0.9.1/templates/default/tags/html/option.erb +24 -0
- data/vendor/bundle/gems/yard-0.9.1/templates/default/tags/html/overload.erb +14 -0
- data/vendor/bundle/gems/yard-0.9.1/templates/default/tags/html/see.erb +8 -0
- data/vendor/bundle/gems/yard-0.9.1/templates/default/tags/html/tag.erb +20 -0
- data/vendor/bundle/gems/yard-0.9.1/templates/default/tags/setup.rb +55 -0
- data/vendor/bundle/gems/yard-0.9.1/templates/default/tags/text/example.erb +12 -0
- data/vendor/bundle/gems/yard-0.9.1/templates/default/tags/text/index.erb +1 -0
- data/vendor/bundle/gems/yard-0.9.1/templates/default/tags/text/option.erb +20 -0
- data/vendor/bundle/gems/yard-0.9.1/templates/default/tags/text/overload.erb +19 -0
- data/vendor/bundle/gems/yard-0.9.1/templates/default/tags/text/see.erb +11 -0
- data/vendor/bundle/gems/yard-0.9.1/templates/default/tags/text/tag.erb +13 -0
- data/vendor/bundle/gems/yard-0.9.1/templates/guide/class/html/setup.rb +1 -0
- data/vendor/bundle/gems/yard-0.9.1/templates/guide/docstring/html/setup.rb +1 -0
- data/vendor/bundle/gems/yard-0.9.1/templates/guide/fulldoc/html/css/style.css +108 -0
- data/vendor/bundle/gems/yard-0.9.1/templates/guide/fulldoc/html/js/app.js +33 -0
- data/vendor/bundle/gems/yard-0.9.1/templates/guide/fulldoc/html/setup.rb +73 -0
- data/vendor/bundle/gems/yard-0.9.1/templates/guide/layout/html/layout.erb +81 -0
- data/vendor/bundle/gems/yard-0.9.1/templates/guide/layout/html/setup.rb +28 -0
- data/vendor/bundle/gems/yard-0.9.1/templates/guide/method/html/header.erb +18 -0
- data/vendor/bundle/gems/yard-0.9.1/templates/guide/method/html/setup.rb +21 -0
- data/vendor/bundle/gems/yard-0.9.1/templates/guide/module/html/header.erb +7 -0
- data/vendor/bundle/gems/yard-0.9.1/templates/guide/module/html/method_list.erb +5 -0
- data/vendor/bundle/gems/yard-0.9.1/templates/guide/module/html/setup.rb +26 -0
- data/vendor/bundle/gems/yard-0.9.1/templates/guide/onefile/html/files.erb +4 -0
- data/vendor/bundle/gems/yard-0.9.1/templates/guide/onefile/html/setup.rb +5 -0
- data/vendor/bundle/gems/yard-0.9.1/templates/guide/onefile/html/toc.erb +3 -0
- data/vendor/bundle/gems/yard-0.9.1/templates/guide/tags/html/setup.rb +8 -0
- data/vendor/bundle/gems/yard-0.9.1/yard.gemspec +24 -0
- data/vendor/bundle/gems/yard-0.9.2/CHANGELOG.md +481 -0
- data/vendor/bundle/gems/yard-0.9.2/LEGAL +66 -0
- data/vendor/bundle/gems/yard-0.9.2/LICENSE +22 -0
- data/vendor/bundle/gems/yard-0.9.2/README.md +294 -0
- data/vendor/bundle/gems/yard-0.9.2/Rakefile +61 -0
- data/vendor/bundle/gems/yard-0.9.2/benchmarks/builtins_vs_eval.rb +23 -0
- data/vendor/bundle/gems/yard-0.9.2/benchmarks/concat_vs_join.rb +12 -0
- data/vendor/bundle/gems/yard-0.9.2/benchmarks/erb_vs_erubis.rb +53 -0
- data/vendor/bundle/gems/yard-0.9.2/benchmarks/format_args.rb +46 -0
- data/vendor/bundle/gems/yard-0.9.2/benchmarks/generation.rb +37 -0
- data/vendor/bundle/gems/yard-0.9.2/benchmarks/marshal_vs_dbm.rb +63 -0
- data/vendor/bundle/gems/yard-0.9.2/benchmarks/parsing.rb +46 -0
- data/vendor/bundle/gems/yard-0.9.2/benchmarks/pathname_vs_string.rb +50 -0
- data/vendor/bundle/gems/yard-0.9.2/benchmarks/rdoc_vs_yardoc.rb +10 -0
- data/vendor/bundle/gems/yard-0.9.2/benchmarks/registry_store_types.rb +48 -0
- data/vendor/bundle/gems/yard-0.9.2/benchmarks/ri_vs_yri.rb +18 -0
- data/vendor/bundle/gems/yard-0.9.2/benchmarks/ripper_parser.rb +12 -0
- data/vendor/bundle/gems/yard-0.9.2/benchmarks/splat_vs_flatten.rb +12 -0
- data/vendor/bundle/gems/yard-0.9.2/benchmarks/template_erb.rb +22 -0
- data/vendor/bundle/gems/yard-0.9.2/benchmarks/template_format.rb +6 -0
- data/vendor/bundle/gems/yard-0.9.2/benchmarks/template_profile.rb +17 -0
- data/vendor/bundle/gems/yard-0.9.2/benchmarks/yri_cache.rb +19 -0
- data/vendor/bundle/gems/yard-0.9.2/bin/yard +12 -0
- data/vendor/bundle/gems/yard-0.9.2/bin/yardoc +12 -0
- data/vendor/bundle/gems/yard-0.9.2/bin/yri +12 -0
- data/vendor/bundle/gems/yard-0.9.2/docs/CodeObjects.md +115 -0
- data/vendor/bundle/gems/yard-0.9.2/docs/GettingStarted.md +674 -0
- data/vendor/bundle/gems/yard-0.9.2/docs/Handlers.md +152 -0
- data/vendor/bundle/gems/yard-0.9.2/docs/Overview.md +61 -0
- data/vendor/bundle/gems/yard-0.9.2/docs/Parser.md +191 -0
- data/vendor/bundle/gems/yard-0.9.2/docs/Tags.md +283 -0
- data/vendor/bundle/gems/yard-0.9.2/docs/TagsArch.md +123 -0
- data/vendor/bundle/gems/yard-0.9.2/docs/Templates.md +496 -0
- data/vendor/bundle/gems/yard-0.9.2/docs/WhatsNew.md +1245 -0
- data/vendor/bundle/gems/yard-0.9.2/docs/images/code-objects-class-diagram.png +0 -0
- data/vendor/bundle/gems/yard-0.9.2/docs/images/handlers-class-diagram.png +0 -0
- data/vendor/bundle/gems/yard-0.9.2/docs/images/overview-class-diagram.png +0 -0
- data/vendor/bundle/gems/yard-0.9.2/docs/images/parser-class-diagram.png +0 -0
- data/vendor/bundle/gems/yard-0.9.2/docs/images/tags-class-diagram.png +0 -0
- data/vendor/bundle/gems/yard-0.9.2/docs/templates/default/fulldoc/html/full_list_tag.erb +9 -0
- data/vendor/bundle/gems/yard-0.9.2/docs/templates/default/fulldoc/html/setup.rb +6 -0
- data/vendor/bundle/gems/yard-0.9.2/docs/templates/default/layout/html/setup.rb +8 -0
- data/vendor/bundle/gems/yard-0.9.2/docs/templates/default/layout/html/tag_list.erb +11 -0
- data/vendor/bundle/gems/yard-0.9.2/docs/templates/default/yard_tags/html/list.erb +18 -0
- data/vendor/bundle/gems/yard-0.9.2/docs/templates/default/yard_tags/html/setup.rb +27 -0
- data/vendor/bundle/gems/yard-0.9.2/docs/templates/plugin.rb +65 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/rubygems_plugin.rb +8 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard.rb +70 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/autoload.rb +298 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/cli/command.rb +84 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/cli/command_parser.rb +92 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/cli/config.rb +197 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/cli/diff.rb +270 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/cli/display.rb +68 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/cli/gems.rb +82 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/cli/graph.rb +126 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/cli/help.rb +18 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/cli/i18n.rb +69 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/cli/list.rb +22 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/cli/markup_types.rb +33 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/cli/server.rb +253 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/cli/stats.rb +226 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/cli/yardoc.rb +760 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/cli/yardopts_command.rb +109 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/cli/yri.rb +214 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/code_objects/base.rb +598 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/code_objects/class_object.rb +145 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/code_objects/class_variable_object.rb +10 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/code_objects/constant_object.rb +15 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/code_objects/extended_method_object.rb +23 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/code_objects/extra_file_object.rb +130 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/code_objects/macro_object.rb +172 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/code_objects/method_object.rb +194 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/code_objects/module_object.rb +20 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/code_objects/namespace_mapper.rb +113 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/code_objects/namespace_object.rb +203 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/code_objects/proxy.rb +258 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/code_objects/root_object.rb +17 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/config.rb +271 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/core_ext/array.rb +15 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/core_ext/file.rb +65 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/core_ext/hash.rb +15 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/core_ext/insertion.rb +60 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/core_ext/module.rb +19 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/core_ext/string.rb +67 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/core_ext/symbol_hash.rb +73 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/docstring.rb +367 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/docstring_parser.rb +345 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/globals.rb +18 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/handlers/base.rb +596 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/handlers/c/alias_handler.rb +15 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/handlers/c/attribute_handler.rb +13 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/handlers/c/base.rb +129 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/handlers/c/class_handler.rb +26 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/handlers/c/constant_handler.rb +12 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/handlers/c/handler_methods.rb +212 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/handlers/c/init_handler.rb +18 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/handlers/c/method_handler.rb +35 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/handlers/c/mixin_handler.rb +19 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/handlers/c/module_handler.rb +16 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/handlers/c/override_comment_handler.rb +30 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/handlers/c/path_handler.rb +10 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/handlers/c/struct_handler.rb +12 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/handlers/c/symbol_handler.rb +7 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/handlers/processor.rb +201 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/handlers/ruby/alias_handler.rb +42 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/handlers/ruby/attribute_handler.rb +82 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/handlers/ruby/base.rb +164 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/handlers/ruby/class_condition_handler.rb +86 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/handlers/ruby/class_handler.rb +121 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/handlers/ruby/class_variable_handler.rb +16 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/handlers/ruby/comment_handler.rb +9 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/handlers/ruby/constant_handler.rb +50 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/handlers/ruby/decorator_handler_methods.rb +132 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/handlers/ruby/dsl_handler.rb +14 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/handlers/ruby/dsl_handler_methods.rb +94 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/handlers/ruby/exception_handler.rb +26 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/handlers/ruby/extend_handler.rb +21 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/handlers/ruby/legacy/alias_handler.rb +35 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/handlers/ruby/legacy/attribute_handler.rb +60 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/handlers/ruby/legacy/base.rb +250 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/handlers/ruby/legacy/class_condition_handler.rb +83 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/handlers/ruby/legacy/class_handler.rb +111 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/handlers/ruby/legacy/class_variable_handler.rb +14 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/handlers/ruby/legacy/comment_handler.rb +9 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/handlers/ruby/legacy/constant_handler.rb +28 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/handlers/ruby/legacy/dsl_handler.rb +16 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/handlers/ruby/legacy/exception_handler.rb +12 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/handlers/ruby/legacy/extend_handler.rb +20 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/handlers/ruby/legacy/method_handler.rb +85 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/handlers/ruby/legacy/mixin_handler.rb +39 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/handlers/ruby/legacy/module_function_handler.rb +18 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/handlers/ruby/legacy/module_handler.rb +11 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/handlers/ruby/legacy/private_class_method_handler.rb +21 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/handlers/ruby/legacy/private_constant_handler.rb +21 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/handlers/ruby/legacy/visibility_handler.rb +16 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/handlers/ruby/legacy/yield_handler.rb +28 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/handlers/ruby/method_condition_handler.rb +8 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/handlers/ruby/method_handler.rb +120 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/handlers/ruby/mixin_handler.rb +36 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/handlers/ruby/module_function_handler.rb +26 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/handlers/ruby/module_handler.rb +11 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/handlers/ruby/private_class_method_handler.rb +13 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/handlers/ruby/private_constant_handler.rb +43 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/handlers/ruby/public_class_method_handler.rb +13 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/handlers/ruby/struct_handler_methods.rb +142 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/handlers/ruby/visibility_handler.rb +21 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/handlers/ruby/yield_handler.rb +30 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/i18n/locale.rb +66 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/i18n/message.rb +56 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/i18n/messages.rb +55 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/i18n/po_parser.rb +60 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/i18n/pot_generator.rb +290 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/i18n/text.rb +173 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/logging.rb +189 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/options.rb +216 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/parser/base.rb +56 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/parser/c/c_parser.rb +231 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/parser/c/comment_parser.rb +131 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/parser/c/statement.rb +63 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/parser/ruby/ast_node.rb +530 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/parser/ruby/legacy/ruby_lex.rb +1377 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/parser/ruby/legacy/ruby_parser.rb +31 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/parser/ruby/legacy/statement.rb +65 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/parser/ruby/legacy/statement_list.rb +384 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/parser/ruby/legacy/token_list.rb +71 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/parser/ruby/ruby_parser.rb +657 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/parser/source_parser.rb +518 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/rake/yardoc_task.rb +81 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/registry.rb +424 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/registry_resolver.rb +172 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/registry_store.rb +319 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/rubygems/backports.rb +8 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/rubygems/backports/LICENSE.txt +57 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/rubygems/backports/MIT.txt +20 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/rubygems/backports/gem.rb +9 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/rubygems/backports/source_index.rb +370 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/rubygems/doc_manager.rb +88 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/rubygems/hook.rb +173 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/rubygems/specification.rb +41 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/serializers/base.rb +80 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/serializers/file_system_serializer.rb +122 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/serializers/process_serializer.rb +24 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/serializers/stdout_serializer.rb +32 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/serializers/yardoc_serializer.rb +124 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/server.rb +12 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/server/adapter.rb +100 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/server/commands/base.rb +192 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/server/commands/display_file_command.rb +29 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/server/commands/display_object_command.rb +62 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/server/commands/frames_command.rb +15 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/server/commands/library_command.rb +151 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/server/commands/library_index_command.rb +24 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/server/commands/list_command.rb +24 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/server/commands/root_request_command.rb +27 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/server/commands/search_command.rb +78 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/server/commands/static_file_command.rb +44 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/server/doc_server_helper.rb +70 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/server/doc_server_serializer.rb +41 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/server/library_version.rb +227 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/server/rack_adapter.rb +88 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/server/router.rb +186 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/server/static_caching.rb +45 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/server/templates/default/fulldoc/html/css/custom.css +127 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/server/templates/default/fulldoc/html/images/processing.gif +0 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/server/templates/default/fulldoc/html/js/autocomplete.js +12 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/server/templates/default/layout/html/breadcrumb.erb +38 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/server/templates/default/layout/html/script_setup.erb +7 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/server/templates/default/layout/html/setup.rb +7 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/server/templates/default/method_details/html/permalink.erb +4 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/server/templates/default/method_details/html/setup.rb +4 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/server/templates/doc_server/library_list/html/contents.erb +13 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/server/templates/doc_server/library_list/html/headers.erb +26 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/server/templates/doc_server/library_list/html/library_list.erb +12 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/server/templates/doc_server/library_list/html/setup.rb +3 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/server/templates/doc_server/library_list/html/title.erb +2 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/server/templates/doc_server/processing/html/processing.erb +52 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/server/templates/doc_server/processing/html/setup.rb +3 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/server/templates/doc_server/search/html/search.erb +18 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/server/templates/doc_server/search/html/setup.rb +8 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/server/webrick_adapter.rb +43 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/tags/default_factory.rb +185 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/tags/default_tag.rb +12 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/tags/directives.rb +604 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/tags/library.rb +630 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/tags/option_tag.rb +12 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/tags/overload_tag.rb +69 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/tags/ref_tag.rb +7 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/tags/ref_tag_list.rb +27 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/tags/tag.rb +57 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/tags/tag_format_error.rb +6 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/templates/engine.rb +185 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/templates/erb_cache.rb +22 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/templates/helpers/base_helper.rb +212 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/templates/helpers/filter_helper.rb +26 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/templates/helpers/html_helper.rb +607 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/templates/helpers/html_syntax_highlight_helper.rb +60 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/templates/helpers/markup/rdoc_markdown.rb +22 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/templates/helpers/markup/rdoc_markup.rb +106 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/templates/helpers/markup_helper.rb +169 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/templates/helpers/method_helper.rb +74 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/templates/helpers/module_helper.rb +20 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/templates/helpers/text_helper.rb +107 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/templates/helpers/uml_helper.rb +46 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/templates/section.rb +106 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/templates/template.rb +407 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/templates/template_options.rb +91 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/verifier.rb +149 -0
- data/vendor/bundle/gems/yard-0.9.2/lib/yard/version.rb +3 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/cli/command_parser_spec.rb +43 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/cli/command_spec.rb +36 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/cli/config_spec.rb +149 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/cli/diff_spec.rb +256 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/cli/display_spec.rb +30 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/cli/gems_spec.rb +81 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/cli/graph_spec.rb +17 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/cli/help_spec.rb +22 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/cli/i18n_spec.rb +107 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/cli/list_spec.rb +8 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/cli/markup_types_spec.rb +22 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/cli/server_spec.rb +311 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/cli/stats_spec.rb +95 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/cli/yardoc_spec.rb +807 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/cli/yri_spec.rb +99 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/code_objects/base_spec.rb +447 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/code_objects/class_object_spec.rb +225 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/code_objects/code_object_list_spec.rb +35 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/code_objects/constants_spec.rb +92 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/code_objects/extra_file_object_spec.rb +159 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/code_objects/macro_object_spec.rb +148 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/code_objects/method_object_spec.rb +183 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/code_objects/module_object_spec.rb +141 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/code_objects/namespace_object_spec.rb +170 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/code_objects/proxy_spec.rb +140 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/code_objects/spec_helper.rb +3 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/config_spec.rb +176 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/core_ext/array_spec.rb +14 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/core_ext/file_spec.rb +68 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/core_ext/hash_spec.rb +14 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/core_ext/insertion_spec.rb +37 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/core_ext/module_spec.rb +15 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/core_ext/string_spec.rb +42 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/core_ext/symbol_hash_spec.rb +89 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/docstring_parser_spec.rb +263 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/docstring_spec.rb +337 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/handlers/alias_handler_spec.rb +81 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/handlers/attribute_handler_spec.rb +94 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/handlers/base_spec.rb +215 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/handlers/c/alias_handler_spec.rb +33 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/handlers/c/attribute_handler_spec.rb +40 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/handlers/c/class_handler_spec.rb +76 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/handlers/c/constant_handler_spec.rb +70 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/handlers/c/init_handler_spec.rb +47 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/handlers/c/method_handler_spec.rb +324 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/handlers/c/mixin_handler_spec.rb +43 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/handlers/c/module_handler_spec.rb +70 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/handlers/c/override_comment_handler_spec.rb +46 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/handlers/c/path_handler_spec.rb +35 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/handlers/c/spec_helper.rb +23 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/handlers/c/struct_handler_spec.rb +15 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/handlers/class_condition_handler_spec.rb +67 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/handlers/class_handler_spec.rb +246 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/handlers/class_method_handler_shared_examples.rb +132 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/handlers/class_variable_handler_spec.rb +11 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/handlers/constant_handler_spec.rb +76 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/handlers/decorator_handler_methods_spec.rb +405 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/handlers/dsl_handler_spec.rb +214 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/handlers/examples/alias_handler_001.rb.txt +46 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/handlers/examples/attribute_handler_001.rb.txt +32 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/handlers/examples/class_condition_handler_001.rb.txt +69 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/handlers/examples/class_handler_001.rb.txt +120 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/handlers/examples/class_variable_handler_001.rb.txt +10 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/handlers/examples/constant_handler_001.rb.txt +28 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/handlers/examples/dsl_handler_001.rb.txt +154 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/handlers/examples/exception_handler_001.rb.txt +59 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/handlers/examples/extend_handler_001.rb.txt +16 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/handlers/examples/method_condition_handler_001.rb.txt +10 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/handlers/examples/method_handler_001.rb.txt +126 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/handlers/examples/mixin_handler_001.rb.txt +37 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/handlers/examples/module_handler_001.rb.txt +29 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/handlers/examples/private_constant_handler_001.rb.txt +8 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/handlers/examples/process_handler_001.rb.txt +11 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/handlers/examples/visibility_handler_001.rb.txt +36 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/handlers/examples/yield_handler_001.rb.txt +54 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/handlers/exception_handler_spec.rb +48 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/handlers/extend_handler_spec.rb +23 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/handlers/legacy_base_spec.rb +128 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/handlers/method_condition_handler_spec.rb +14 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/handlers/method_handler_spec.rb +184 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/handlers/mixin_handler_spec.rb +55 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/handlers/module_function_handler_spec.rb +105 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/handlers/module_handler_spec.rb +34 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/handlers/private_class_method_handler_spec.rb +10 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/handlers/private_constant_handler_spec.rb +24 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/handlers/processor_spec.rb +34 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/handlers/public_class_method_handler_spec.rb +10 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/handlers/ruby/base_spec.rb +94 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/handlers/ruby/legacy/base_spec.rb +84 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/handlers/spec_helper.rb +33 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/handlers/visibility_handler_spec.rb +43 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/handlers/yield_handler_spec.rb +51 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/i18n/locale_spec.rb +81 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/i18n/message_spec.rb +52 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/i18n/messages_spec.rb +67 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/i18n/pot_generator_spec.rb +295 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/i18n/text_spec.rb +180 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/logging_spec.rb +35 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/options_spec.rb +171 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/parser/base_spec.rb +24 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/parser/c_parser_spec.rb +189 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/parser/examples/array.c.txt +3887 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/parser/examples/example1.rb.txt +8 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/parser/examples/extrafile.c.txt +8 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/parser/examples/multifile.c.txt +22 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/parser/examples/override.c.txt +424 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/parser/examples/parse_in_order_001.rb.txt +2 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/parser/examples/parse_in_order_002.rb.txt +2 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/parser/examples/tag_handler_001.rb.txt +8 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/parser/ruby/ast_node_spec.rb +33 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/parser/ruby/legacy/statement_list_spec.rb +299 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/parser/ruby/legacy/token_list_spec.rb +77 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/parser/ruby/ruby_parser_spec.rb +427 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/parser/source_parser_spec.rb +727 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/parser/tag_parsing_spec.rb +17 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/rake/yardoc_task_spec.rb +118 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/registry_spec.rb +441 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/registry_store_spec.rb +315 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/rubygems/doc_manager_spec.rb +112 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/serializers/data/serialized_yardoc/checksums +1 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/serializers/data/serialized_yardoc/objects/Foo.dat +0 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/serializers/data/serialized_yardoc/objects/Foo/bar_i.dat +0 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/serializers/data/serialized_yardoc/objects/Foo/baz_i.dat +0 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/serializers/data/serialized_yardoc/objects/root.dat +0 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/serializers/data/serialized_yardoc/proxy_types +2 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/serializers/file_system_serializer_spec.rb +144 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/serializers/spec_helper.rb +2 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/serializers/yardoc_serializer_spec.rb +46 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/server/adapter_spec.rb +38 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/server/commands/base_spec.rb +87 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/server/commands/library_command_spec.rb +39 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/server/doc_server_helper_spec.rb +53 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/server/doc_server_serializer_spec.rb +59 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/server/rack_adapter_spec.rb +20 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/server/router_spec.rb +122 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/server/spec_helper.rb +17 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/server/static_caching_spec.rb +39 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/server/webrick_servlet_spec.rb +19 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/server_spec.rb +19 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/spec_helper.rb +139 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/tags/default_factory_spec.rb +162 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/tags/default_tag_spec.rb +11 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/tags/directives_spec.rb +453 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/tags/library_spec.rb +34 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/tags/overload_tag_spec.rb +53 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/tags/ref_tag_list_spec.rb +53 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/templates/class_spec.rb +44 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/templates/constant_spec.rb +40 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/templates/engine_spec.rb +130 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/templates/examples/class001.html +308 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/templates/examples/class001.txt +36 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/templates/examples/class002.html +39 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/templates/examples/constant001.txt +25 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/templates/examples/constant002.txt +7 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/templates/examples/constant003.txt +11 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/templates/examples/method001.html +137 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/templates/examples/method001.txt +35 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/templates/examples/method002.html +91 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/templates/examples/method002.txt +20 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/templates/examples/method003.html +165 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/templates/examples/method003.txt +45 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/templates/examples/method004.html +48 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/templates/examples/method004.txt +10 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/templates/examples/method005.html +105 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/templates/examples/method005.txt +33 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/templates/examples/module001.dot +33 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/templates/examples/module001.html +829 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/templates/examples/module001.txt +33 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/templates/examples/module002.html +341 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/templates/examples/module003.html +198 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/templates/examples/module004.html +394 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/templates/examples/tag001.txt +82 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/templates/helpers/base_helper_spec.rb +171 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/templates/helpers/html_helper_spec.rb +648 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/templates/helpers/html_syntax_highlight_helper_spec.rb +54 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/templates/helpers/markup/rdoc_markup_spec.rb +86 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/templates/helpers/markup_helper_spec.rb +135 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/templates/helpers/method_helper_spec.rb +82 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/templates/helpers/module_helper_spec.rb +35 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/templates/helpers/shared_signature_examples.rb +125 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/templates/helpers/text_helper_spec.rb +64 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/templates/method_spec.rb +102 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/templates/module_spec.rb +181 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/templates/onefile_spec.rb +64 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/templates/section_spec.rb +143 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/templates/spec_helper.rb +73 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/templates/tag_spec.rb +51 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/templates/template_spec.rb +409 -0
- data/vendor/bundle/gems/yard-0.9.2/spec/verifier_spec.rb +106 -0
- data/vendor/bundle/gems/yard-0.9.2/templates/default/class/dot/setup.rb +6 -0
- data/vendor/bundle/gems/yard-0.9.2/templates/default/class/dot/superklass.erb +3 -0
- data/vendor/bundle/gems/yard-0.9.2/templates/default/class/html/constructor_details.erb +8 -0
- data/vendor/bundle/gems/yard-0.9.2/templates/default/class/html/setup.rb +1 -0
- data/vendor/bundle/gems/yard-0.9.2/templates/default/class/html/subclasses.erb +4 -0
- data/vendor/bundle/gems/yard-0.9.2/templates/default/class/setup.rb +36 -0
- data/vendor/bundle/gems/yard-0.9.2/templates/default/class/text/setup.rb +11 -0
- data/vendor/bundle/gems/yard-0.9.2/templates/default/class/text/subclasses.erb +5 -0
- data/vendor/bundle/gems/yard-0.9.2/templates/default/constant/text/header.erb +11 -0
- data/vendor/bundle/gems/yard-0.9.2/templates/default/constant/text/setup.rb +3 -0
- data/vendor/bundle/gems/yard-0.9.2/templates/default/docstring/html/abstract.erb +4 -0
- data/vendor/bundle/gems/yard-0.9.2/templates/default/docstring/html/deprecated.erb +1 -0
- data/vendor/bundle/gems/yard-0.9.2/templates/default/docstring/html/index.erb +5 -0
- data/vendor/bundle/gems/yard-0.9.2/templates/default/docstring/html/note.erb +6 -0
- data/vendor/bundle/gems/yard-0.9.2/templates/default/docstring/html/private.erb +4 -0
- data/vendor/bundle/gems/yard-0.9.2/templates/default/docstring/html/returns_void.erb +1 -0
- data/vendor/bundle/gems/yard-0.9.2/templates/default/docstring/html/text.erb +1 -0
- data/vendor/bundle/gems/yard-0.9.2/templates/default/docstring/html/todo.erb +6 -0
- data/vendor/bundle/gems/yard-0.9.2/templates/default/docstring/setup.rb +51 -0
- data/vendor/bundle/gems/yard-0.9.2/templates/default/docstring/text/abstract.erb +2 -0
- data/vendor/bundle/gems/yard-0.9.2/templates/default/docstring/text/deprecated.erb +2 -0
- data/vendor/bundle/gems/yard-0.9.2/templates/default/docstring/text/index.erb +2 -0
- data/vendor/bundle/gems/yard-0.9.2/templates/default/docstring/text/note.erb +4 -0
- data/vendor/bundle/gems/yard-0.9.2/templates/default/docstring/text/private.erb +2 -0
- data/vendor/bundle/gems/yard-0.9.2/templates/default/docstring/text/returns_void.erb +1 -0
- data/vendor/bundle/gems/yard-0.9.2/templates/default/docstring/text/text.erb +1 -0
- data/vendor/bundle/gems/yard-0.9.2/templates/default/docstring/text/todo.erb +4 -0
- data/vendor/bundle/gems/yard-0.9.2/templates/default/fulldoc/html/css/common.css +1 -0
- data/vendor/bundle/gems/yard-0.9.2/templates/default/fulldoc/html/css/full_list.css +58 -0
- data/vendor/bundle/gems/yard-0.9.2/templates/default/fulldoc/html/css/style.css +474 -0
- data/vendor/bundle/gems/yard-0.9.2/templates/default/fulldoc/html/frames.erb +17 -0
- data/vendor/bundle/gems/yard-0.9.2/templates/default/fulldoc/html/full_list.erb +37 -0
- data/vendor/bundle/gems/yard-0.9.2/templates/default/fulldoc/html/full_list_class.erb +2 -0
- data/vendor/bundle/gems/yard-0.9.2/templates/default/fulldoc/html/full_list_file.erb +7 -0
- data/vendor/bundle/gems/yard-0.9.2/templates/default/fulldoc/html/full_list_method.erb +10 -0
- data/vendor/bundle/gems/yard-0.9.2/templates/default/fulldoc/html/js/app.js +243 -0
- data/vendor/bundle/gems/yard-0.9.2/templates/default/fulldoc/html/js/full_list.js +216 -0
- data/vendor/bundle/gems/yard-0.9.2/templates/default/fulldoc/html/js/jquery.js +4 -0
- data/vendor/bundle/gems/yard-0.9.2/templates/default/fulldoc/html/setup.rb +242 -0
- data/vendor/bundle/gems/yard-0.9.2/templates/default/layout/dot/header.erb +6 -0
- data/vendor/bundle/gems/yard-0.9.2/templates/default/layout/dot/setup.rb +14 -0
- data/vendor/bundle/gems/yard-0.9.2/templates/default/layout/html/breadcrumb.erb +11 -0
- data/vendor/bundle/gems/yard-0.9.2/templates/default/layout/html/files.erb +11 -0
- data/vendor/bundle/gems/yard-0.9.2/templates/default/layout/html/footer.erb +5 -0
- data/vendor/bundle/gems/yard-0.9.2/templates/default/layout/html/headers.erb +15 -0
- data/vendor/bundle/gems/yard-0.9.2/templates/default/layout/html/index.erb +2 -0
- data/vendor/bundle/gems/yard-0.9.2/templates/default/layout/html/layout.erb +26 -0
- data/vendor/bundle/gems/yard-0.9.2/templates/default/layout/html/listing.erb +4 -0
- data/vendor/bundle/gems/yard-0.9.2/templates/default/layout/html/objects.erb +32 -0
- data/vendor/bundle/gems/yard-0.9.2/templates/default/layout/html/script_setup.erb +4 -0
- data/vendor/bundle/gems/yard-0.9.2/templates/default/layout/html/search.erb +13 -0
- data/vendor/bundle/gems/yard-0.9.2/templates/default/layout/html/setup.rb +87 -0
- data/vendor/bundle/gems/yard-0.9.2/templates/default/method/html/header.erb +17 -0
- data/vendor/bundle/gems/yard-0.9.2/templates/default/method/setup.rb +3 -0
- data/vendor/bundle/gems/yard-0.9.2/templates/default/method/text/header.erb +1 -0
- data/vendor/bundle/gems/yard-0.9.2/templates/default/method_details/html/header.erb +3 -0
- data/vendor/bundle/gems/yard-0.9.2/templates/default/method_details/html/method_signature.erb +25 -0
- data/vendor/bundle/gems/yard-0.9.2/templates/default/method_details/html/source.erb +10 -0
- data/vendor/bundle/gems/yard-0.9.2/templates/default/method_details/setup.rb +10 -0
- data/vendor/bundle/gems/yard-0.9.2/templates/default/method_details/text/header.erb +10 -0
- data/vendor/bundle/gems/yard-0.9.2/templates/default/method_details/text/method_signature.erb +12 -0
- data/vendor/bundle/gems/yard-0.9.2/templates/default/method_details/text/setup.rb +10 -0
- data/vendor/bundle/gems/yard-0.9.2/templates/default/module/dot/child.erb +1 -0
- data/vendor/bundle/gems/yard-0.9.2/templates/default/module/dot/dependencies.erb +3 -0
- data/vendor/bundle/gems/yard-0.9.2/templates/default/module/dot/header.erb +6 -0
- data/vendor/bundle/gems/yard-0.9.2/templates/default/module/dot/info.erb +14 -0
- data/vendor/bundle/gems/yard-0.9.2/templates/default/module/dot/setup.rb +14 -0
- data/vendor/bundle/gems/yard-0.9.2/templates/default/module/html/attribute_details.erb +10 -0
- data/vendor/bundle/gems/yard-0.9.2/templates/default/module/html/attribute_summary.erb +8 -0
- data/vendor/bundle/gems/yard-0.9.2/templates/default/module/html/box_info.erb +43 -0
- data/vendor/bundle/gems/yard-0.9.2/templates/default/module/html/children.erb +8 -0
- data/vendor/bundle/gems/yard-0.9.2/templates/default/module/html/constant_summary.erb +11 -0
- data/vendor/bundle/gems/yard-0.9.2/templates/default/module/html/defines.erb +3 -0
- data/vendor/bundle/gems/yard-0.9.2/templates/default/module/html/header.erb +5 -0
- data/vendor/bundle/gems/yard-0.9.2/templates/default/module/html/inherited_attributes.erb +14 -0
- data/vendor/bundle/gems/yard-0.9.2/templates/default/module/html/inherited_constants.erb +8 -0
- data/vendor/bundle/gems/yard-0.9.2/templates/default/module/html/inherited_methods.erb +19 -0
- data/vendor/bundle/gems/yard-0.9.2/templates/default/module/html/item_summary.erb +40 -0
- data/vendor/bundle/gems/yard-0.9.2/templates/default/module/html/method_details_list.erb +9 -0
- data/vendor/bundle/gems/yard-0.9.2/templates/default/module/html/method_summary.erb +14 -0
- data/vendor/bundle/gems/yard-0.9.2/templates/default/module/html/methodmissing.erb +12 -0
- data/vendor/bundle/gems/yard-0.9.2/templates/default/module/html/pre_docstring.erb +1 -0
- data/vendor/bundle/gems/yard-0.9.2/templates/default/module/setup.rb +164 -0
- data/vendor/bundle/gems/yard-0.9.2/templates/default/module/text/children.erb +10 -0
- data/vendor/bundle/gems/yard-0.9.2/templates/default/module/text/class_meths_list.erb +8 -0
- data/vendor/bundle/gems/yard-0.9.2/templates/default/module/text/extends.erb +8 -0
- data/vendor/bundle/gems/yard-0.9.2/templates/default/module/text/header.erb +7 -0
- data/vendor/bundle/gems/yard-0.9.2/templates/default/module/text/includes.erb +8 -0
- data/vendor/bundle/gems/yard-0.9.2/templates/default/module/text/instance_meths_list.erb +8 -0
- data/vendor/bundle/gems/yard-0.9.2/templates/default/module/text/setup.rb +12 -0
- data/vendor/bundle/gems/yard-0.9.2/templates/default/onefile/html/files.erb +5 -0
- data/vendor/bundle/gems/yard-0.9.2/templates/default/onefile/html/headers.erb +6 -0
- data/vendor/bundle/gems/yard-0.9.2/templates/default/onefile/html/layout.erb +17 -0
- data/vendor/bundle/gems/yard-0.9.2/templates/default/onefile/html/readme.erb +3 -0
- data/vendor/bundle/gems/yard-0.9.2/templates/default/onefile/html/setup.rb +61 -0
- data/vendor/bundle/gems/yard-0.9.2/templates/default/root/dot/child.erb +3 -0
- data/vendor/bundle/gems/yard-0.9.2/templates/default/root/dot/setup.rb +5 -0
- data/vendor/bundle/gems/yard-0.9.2/templates/default/root/html/setup.rb +1 -0
- data/vendor/bundle/gems/yard-0.9.2/templates/default/tags/html/example.erb +11 -0
- data/vendor/bundle/gems/yard-0.9.2/templates/default/tags/html/index.erb +3 -0
- data/vendor/bundle/gems/yard-0.9.2/templates/default/tags/html/option.erb +24 -0
- data/vendor/bundle/gems/yard-0.9.2/templates/default/tags/html/overload.erb +14 -0
- data/vendor/bundle/gems/yard-0.9.2/templates/default/tags/html/see.erb +8 -0
- data/vendor/bundle/gems/yard-0.9.2/templates/default/tags/html/tag.erb +20 -0
- data/vendor/bundle/gems/yard-0.9.2/templates/default/tags/setup.rb +55 -0
- data/vendor/bundle/gems/yard-0.9.2/templates/default/tags/text/example.erb +12 -0
- data/vendor/bundle/gems/yard-0.9.2/templates/default/tags/text/index.erb +1 -0
- data/vendor/bundle/gems/yard-0.9.2/templates/default/tags/text/option.erb +20 -0
- data/vendor/bundle/gems/yard-0.9.2/templates/default/tags/text/overload.erb +19 -0
- data/vendor/bundle/gems/yard-0.9.2/templates/default/tags/text/see.erb +11 -0
- data/vendor/bundle/gems/yard-0.9.2/templates/default/tags/text/tag.erb +13 -0
- data/vendor/bundle/gems/yard-0.9.2/templates/guide/class/html/setup.rb +1 -0
- data/vendor/bundle/gems/yard-0.9.2/templates/guide/docstring/html/setup.rb +1 -0
- data/vendor/bundle/gems/yard-0.9.2/templates/guide/fulldoc/html/css/style.css +108 -0
- data/vendor/bundle/gems/yard-0.9.2/templates/guide/fulldoc/html/js/app.js +33 -0
- data/vendor/bundle/gems/yard-0.9.2/templates/guide/fulldoc/html/setup.rb +73 -0
- data/vendor/bundle/gems/yard-0.9.2/templates/guide/layout/html/layout.erb +81 -0
- data/vendor/bundle/gems/yard-0.9.2/templates/guide/layout/html/setup.rb +28 -0
- data/vendor/bundle/gems/yard-0.9.2/templates/guide/method/html/header.erb +18 -0
- data/vendor/bundle/gems/yard-0.9.2/templates/guide/method/html/setup.rb +21 -0
- data/vendor/bundle/gems/yard-0.9.2/templates/guide/module/html/header.erb +7 -0
- data/vendor/bundle/gems/yard-0.9.2/templates/guide/module/html/method_list.erb +5 -0
- data/vendor/bundle/gems/yard-0.9.2/templates/guide/module/html/setup.rb +26 -0
- data/vendor/bundle/gems/yard-0.9.2/templates/guide/onefile/html/files.erb +4 -0
- data/vendor/bundle/gems/yard-0.9.2/templates/guide/onefile/html/setup.rb +5 -0
- data/vendor/bundle/gems/yard-0.9.2/templates/guide/onefile/html/toc.erb +3 -0
- data/vendor/bundle/gems/yard-0.9.2/templates/guide/tags/html/setup.rb +8 -0
- data/vendor/bundle/gems/yard-0.9.2/yard.gemspec +42 -0
- data/vendor/bundle/gems/yard-0.9.7/CHANGELOG.md +529 -0
- data/vendor/bundle/gems/yard-0.9.7/LEGAL +66 -0
- data/vendor/bundle/gems/yard-0.9.7/LICENSE +22 -0
- data/vendor/bundle/gems/yard-0.9.7/README.md +329 -0
- data/vendor/bundle/gems/yard-0.9.7/Rakefile +47 -0
- data/vendor/bundle/gems/yard-0.9.7/benchmarks/builtins_vs_eval.rb +24 -0
- data/vendor/bundle/gems/yard-0.9.7/benchmarks/concat_vs_join.rb +13 -0
- data/vendor/bundle/gems/yard-0.9.7/benchmarks/erb_vs_erubis.rb +54 -0
- data/vendor/bundle/gems/yard-0.9.7/benchmarks/format_args.rb +47 -0
- data/vendor/bundle/gems/yard-0.9.7/benchmarks/generation.rb +38 -0
- data/vendor/bundle/gems/yard-0.9.7/benchmarks/marshal_vs_dbm.rb +64 -0
- data/vendor/bundle/gems/yard-0.9.7/benchmarks/parsing.rb +46 -0
- data/vendor/bundle/gems/yard-0.9.7/benchmarks/pathname_vs_string.rb +51 -0
- data/vendor/bundle/gems/yard-0.9.7/benchmarks/rdoc_vs_yardoc.rb +11 -0
- data/vendor/bundle/gems/yard-0.9.7/benchmarks/registry_store_types.rb +49 -0
- data/vendor/bundle/gems/yard-0.9.7/benchmarks/ri_vs_yri.rb +19 -0
- data/vendor/bundle/gems/yard-0.9.7/benchmarks/ripper_parser.rb +13 -0
- data/vendor/bundle/gems/yard-0.9.7/benchmarks/splat_vs_flatten.rb +13 -0
- data/vendor/bundle/gems/yard-0.9.7/benchmarks/template_erb.rb +23 -0
- data/vendor/bundle/gems/yard-0.9.7/benchmarks/template_format.rb +7 -0
- data/vendor/bundle/gems/yard-0.9.7/benchmarks/template_profile.rb +18 -0
- data/vendor/bundle/gems/yard-0.9.7/benchmarks/yri_cache.rb +20 -0
- data/vendor/bundle/gems/yard-0.9.7/bin/yard +13 -0
- data/vendor/bundle/gems/yard-0.9.7/bin/yardoc +13 -0
- data/vendor/bundle/gems/yard-0.9.7/bin/yri +13 -0
- data/vendor/bundle/gems/yard-0.9.7/docs/CodeObjects.md +115 -0
- data/vendor/bundle/gems/yard-0.9.7/docs/GettingStarted.md +674 -0
- data/vendor/bundle/gems/yard-0.9.7/docs/Handlers.md +152 -0
- data/vendor/bundle/gems/yard-0.9.7/docs/Overview.md +61 -0
- data/vendor/bundle/gems/yard-0.9.7/docs/Parser.md +191 -0
- data/vendor/bundle/gems/yard-0.9.7/docs/Tags.md +283 -0
- data/vendor/bundle/gems/yard-0.9.7/docs/TagsArch.md +123 -0
- data/vendor/bundle/gems/yard-0.9.7/docs/Templates.md +496 -0
- data/vendor/bundle/gems/yard-0.9.7/docs/WhatsNew.md +1245 -0
- data/vendor/bundle/gems/yard-0.9.7/docs/images/code-objects-class-diagram.png +0 -0
- data/vendor/bundle/gems/yard-0.9.7/docs/images/handlers-class-diagram.png +0 -0
- data/vendor/bundle/gems/yard-0.9.7/docs/images/overview-class-diagram.png +0 -0
- data/vendor/bundle/gems/yard-0.9.7/docs/images/parser-class-diagram.png +0 -0
- data/vendor/bundle/gems/yard-0.9.7/docs/images/tags-class-diagram.png +0 -0
- data/vendor/bundle/gems/yard-0.9.7/docs/templates/default/fulldoc/html/full_list_tag.erb +9 -0
- data/vendor/bundle/gems/yard-0.9.7/docs/templates/default/fulldoc/html/setup.rb +6 -0
- data/vendor/bundle/gems/yard-0.9.7/docs/templates/default/layout/html/setup.rb +9 -0
- data/vendor/bundle/gems/yard-0.9.7/docs/templates/default/layout/html/tag_list.erb +11 -0
- data/vendor/bundle/gems/yard-0.9.7/docs/templates/default/yard_tags/html/list.erb +18 -0
- data/vendor/bundle/gems/yard-0.9.7/docs/templates/default/yard_tags/html/setup.rb +26 -0
- data/vendor/bundle/gems/yard-0.9.7/docs/templates/plugin.rb +70 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/rubygems_plugin.rb +9 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard.rb +69 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/autoload.rb +303 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/cli/command.rb +85 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/cli/command_parser.rb +93 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/cli/config.rb +198 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/cli/diff.rb +270 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/cli/display.rb +69 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/cli/gems.rb +84 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/cli/graph.rb +125 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/cli/help.rb +20 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/cli/i18n.rb +70 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/cli/list.rb +23 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/cli/markup_types.rb +32 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/cli/server.rb +257 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/cli/stats.rb +230 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/cli/yardoc.rb +770 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/cli/yardopts_command.rb +110 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/cli/yri.rb +215 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/code_objects/base.rb +602 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/code_objects/class_object.rb +146 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/code_objects/class_variable_object.rb +11 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/code_objects/constant_object.rb +16 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/code_objects/extended_method_object.rb +24 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/code_objects/extra_file_object.rb +131 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/code_objects/macro_object.rb +172 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/code_objects/method_object.rb +196 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/code_objects/module_object.rb +21 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/code_objects/namespace_mapper.rb +114 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/code_objects/namespace_object.rb +200 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/code_objects/proxy.rb +240 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/code_objects/root_object.rb +19 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/config.rb +270 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/core_ext/array.rb +16 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/core_ext/file.rb +66 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/core_ext/hash.rb +16 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/core_ext/insertion.rb +63 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/core_ext/module.rb +20 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/core_ext/string.rb +68 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/core_ext/symbol_hash.rb +75 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/docstring.rb +378 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/docstring_parser.rb +345 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/gem_index.rb +17 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/globals.rb +22 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/handlers/base.rb +595 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/handlers/c/alias_handler.rb +16 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/handlers/c/attribute_handler.rb +13 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/handlers/c/base.rb +129 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/handlers/c/class_handler.rb +27 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/handlers/c/constant_handler.rb +13 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/handlers/c/handler_methods.rb +211 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/handlers/c/init_handler.rb +20 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/handlers/c/method_handler.rb +36 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/handlers/c/mixin_handler.rb +21 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/handlers/c/module_handler.rb +17 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/handlers/c/override_comment_handler.rb +31 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/handlers/c/path_handler.rb +11 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/handlers/c/struct_handler.rb +13 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/handlers/c/symbol_handler.rb +8 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/handlers/processor.rb +200 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/handlers/ruby/alias_handler.rb +44 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/handlers/ruby/attribute_handler.rb +87 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/handlers/ruby/base.rb +165 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/handlers/ruby/class_condition_handler.rb +87 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/handlers/ruby/class_handler.rb +119 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/handlers/ruby/class_variable_handler.rb +17 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/handlers/ruby/comment_handler.rb +10 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/handlers/ruby/constant_handler.rb +54 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/handlers/ruby/decorator_handler_methods.rb +123 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/handlers/ruby/dsl_handler.rb +15 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/handlers/ruby/dsl_handler_methods.rb +95 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/handlers/ruby/exception_handler.rb +27 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/handlers/ruby/extend_handler.rb +22 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/handlers/ruby/legacy/alias_handler.rb +37 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/handlers/ruby/legacy/attribute_handler.rb +65 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/handlers/ruby/legacy/base.rb +245 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/handlers/ruby/legacy/class_condition_handler.rb +83 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/handlers/ruby/legacy/class_handler.rb +113 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/handlers/ruby/legacy/class_variable_handler.rb +15 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/handlers/ruby/legacy/comment_handler.rb +10 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/handlers/ruby/legacy/constant_handler.rb +29 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/handlers/ruby/legacy/dsl_handler.rb +17 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/handlers/ruby/legacy/exception_handler.rb +13 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/handlers/ruby/legacy/extend_handler.rb +21 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/handlers/ruby/legacy/method_handler.rb +90 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/handlers/ruby/legacy/mixin_handler.rb +39 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/handlers/ruby/legacy/module_function_handler.rb +19 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/handlers/ruby/legacy/module_handler.rb +12 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/handlers/ruby/legacy/private_class_method_handler.rb +22 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/handlers/ruby/legacy/private_constant_handler.rb +22 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/handlers/ruby/legacy/visibility_handler.rb +17 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/handlers/ruby/legacy/yield_handler.rb +29 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/handlers/ruby/method_condition_handler.rb +9 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/handlers/ruby/method_handler.rb +118 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/handlers/ruby/mixin_handler.rb +37 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/handlers/ruby/module_function_handler.rb +27 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/handlers/ruby/module_handler.rb +12 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/handlers/ruby/private_class_method_handler.rb +14 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/handlers/ruby/private_constant_handler.rb +43 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/handlers/ruby/public_class_method_handler.rb +14 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/handlers/ruby/struct_handler_methods.rb +143 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/handlers/ruby/visibility_handler.rb +22 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/handlers/ruby/yield_handler.rb +31 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/i18n/locale.rb +67 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/i18n/message.rb +57 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/i18n/messages.rb +56 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/i18n/po_parser.rb +61 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/i18n/pot_generator.rb +290 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/i18n/text.rb +173 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/logging.rb +192 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/options.rb +217 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/parser/base.rb +57 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/parser/c/c_parser.rb +232 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/parser/c/comment_parser.rb +134 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/parser/c/statement.rb +64 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/parser/ruby/ast_node.rb +532 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/parser/ruby/legacy/ruby_lex.rb +1354 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/parser/ruby/legacy/ruby_parser.rb +32 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/parser/ruby/legacy/statement.rb +66 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/parser/ruby/legacy/statement_list.rb +394 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/parser/ruby/legacy/token_list.rb +74 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/parser/ruby/ruby_parser.rb +682 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/parser/ruby/token_resolver.rb +156 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/parser/source_parser.rb +526 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/rake/yardoc_task.rb +81 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/registry.rb +439 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/registry_resolver.rb +189 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/registry_store.rb +340 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/rubygems/backports.rb +10 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/rubygems/backports/LICENSE.txt +57 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/rubygems/backports/MIT.txt +20 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/rubygems/backports/gem.rb +10 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/rubygems/backports/source_index.rb +365 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/rubygems/doc_manager.rb +90 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/rubygems/hook.rb +166 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/rubygems/specification.rb +42 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/serializers/base.rb +83 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/serializers/file_system_serializer.rb +123 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/serializers/process_serializer.rb +24 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/serializers/stdout_serializer.rb +34 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/serializers/yardoc_serializer.rb +152 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/server.rb +13 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/server/adapter.rb +100 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/server/commands/base.rb +209 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/server/commands/display_file_command.rb +29 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/server/commands/display_object_command.rb +65 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/server/commands/frames_command.rb +16 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/server/commands/library_command.rb +187 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/server/commands/library_index_command.rb +28 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/server/commands/list_command.rb +25 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/server/commands/root_request_command.rb +15 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/server/commands/search_command.rb +79 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/server/commands/static_file_command.rb +23 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/server/commands/static_file_helpers.rb +62 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/server/doc_server_helper.rb +91 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/server/doc_server_serializer.rb +39 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/server/library_version.rb +277 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/server/rack_adapter.rb +89 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/server/router.rb +187 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/server/static_caching.rb +46 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/server/templates/default/fulldoc/html/css/custom.css +127 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/server/templates/default/fulldoc/html/images/processing.gif +0 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/server/templates/default/fulldoc/html/js/autocomplete.js +12 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/server/templates/default/layout/html/breadcrumb.erb +37 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/server/templates/default/layout/html/script_setup.erb +7 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/server/templates/default/layout/html/setup.rb +8 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/server/templates/default/method_details/html/permalink.erb +4 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/server/templates/default/method_details/html/setup.rb +5 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/server/templates/doc_server/library_list/html/headers.erb +8 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/server/templates/doc_server/library_list/html/library_list.erb +14 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/server/templates/doc_server/library_list/html/listing.erb +13 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/server/templates/doc_server/library_list/html/setup.rb +6 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/server/templates/doc_server/library_list/html/title.erb +2 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/server/templates/doc_server/processing/html/processing.erb +52 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/server/templates/doc_server/processing/html/setup.rb +4 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/server/templates/doc_server/search/html/search.erb +18 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/server/templates/doc_server/search/html/setup.rb +9 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/server/webrick_adapter.rb +45 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/tags/default_factory.rb +191 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/tags/default_tag.rb +13 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/tags/directives.rb +608 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/tags/library.rb +633 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/tags/option_tag.rb +13 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/tags/overload_tag.rb +71 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/tags/ref_tag.rb +8 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/tags/ref_tag_list.rb +28 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/tags/tag.rb +71 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/tags/tag_format_error.rb +7 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/tags/types_explainer.rb +160 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/templates/engine.rb +186 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/templates/erb_cache.rb +23 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/templates/helpers/base_helper.rb +215 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/templates/helpers/filter_helper.rb +27 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/templates/helpers/html_helper.rb +635 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/templates/helpers/html_syntax_highlight_helper.rb +78 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/templates/helpers/markup/rdoc_markdown.rb +23 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/templates/helpers/markup/rdoc_markup.rb +109 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/templates/helpers/markup_helper.rb +168 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/templates/helpers/method_helper.rb +75 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/templates/helpers/module_helper.rb +21 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/templates/helpers/text_helper.rb +112 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/templates/helpers/uml_helper.rb +47 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/templates/section.rb +105 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/templates/template.rb +414 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/templates/template_options.rb +92 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/verifier.rb +151 -0
- data/vendor/bundle/gems/yard-0.9.7/lib/yard/version.rb +4 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/cli/command_parser_spec.rb +43 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/cli/command_spec.rb +36 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/cli/config_spec.rb +148 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/cli/diff_spec.rb +254 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/cli/display_spec.rb +30 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/cli/gems_spec.rb +81 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/cli/graph_spec.rb +18 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/cli/help_spec.rb +22 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/cli/i18n_spec.rb +107 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/cli/list_spec.rb +8 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/cli/markup_types_spec.rb +22 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/cli/server_spec.rb +319 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/cli/stats_spec.rb +96 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/cli/yardoc_spec.rb +820 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/cli/yri_spec.rb +99 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/code_objects/base_spec.rb +449 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/code_objects/class_object_spec.rb +226 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/code_objects/code_object_list_spec.rb +36 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/code_objects/constants_spec.rb +103 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/code_objects/extra_file_object_spec.rb +160 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/code_objects/macro_object_spec.rb +150 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/code_objects/method_object_spec.rb +184 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/code_objects/module_object_spec.rb +142 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/code_objects/namespace_object_spec.rb +171 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/code_objects/proxy_spec.rb +141 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/code_objects/spec_helper.rb +3 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/config_spec.rb +171 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/core_ext/array_spec.rb +13 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/core_ext/file_spec.rb +68 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/core_ext/hash_spec.rb +14 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/core_ext/insertion_spec.rb +37 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/core_ext/module_spec.rb +15 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/core_ext/string_spec.rb +42 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/core_ext/symbol_hash_spec.rb +89 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/docstring_parser_spec.rb +262 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/docstring_spec.rb +364 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/examples.txt +1849 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/handlers/alias_handler_spec.rb +82 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/handlers/attribute_handler_spec.rb +96 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/handlers/base_spec.rb +216 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/handlers/c/alias_handler_spec.rb +34 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/handlers/c/attribute_handler_spec.rb +41 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/handlers/c/class_handler_spec.rb +77 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/handlers/c/constant_handler_spec.rb +71 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/handlers/c/init_handler_spec.rb +48 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/handlers/c/method_handler_spec.rb +325 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/handlers/c/mixin_handler_spec.rb +44 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/handlers/c/module_handler_spec.rb +71 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/handlers/c/override_comment_handler_spec.rb +47 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/handlers/c/path_handler_spec.rb +36 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/handlers/c/spec_helper.rb +23 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/handlers/c/struct_handler_spec.rb +16 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/handlers/class_condition_handler_spec.rb +68 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/handlers/class_handler_spec.rb +247 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/handlers/class_method_handler_shared_examples.rb +133 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/handlers/class_variable_handler_spec.rb +12 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/handlers/constant_handler_spec.rb +101 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/handlers/decorator_handler_methods_spec.rb +393 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/handlers/dsl_handler_spec.rb +219 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/handlers/examples/alias_handler_001.rb.txt +46 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/handlers/examples/attribute_handler_001.rb.txt +32 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/handlers/examples/class_condition_handler_001.rb.txt +69 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/handlers/examples/class_handler_001.rb.txt +120 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/handlers/examples/class_variable_handler_001.rb.txt +10 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/handlers/examples/constant_handler_001.rb.txt +28 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/handlers/examples/dsl_handler_001.rb.txt +154 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/handlers/examples/exception_handler_001.rb.txt +59 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/handlers/examples/extend_handler_001.rb.txt +16 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/handlers/examples/method_condition_handler_001.rb.txt +10 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/handlers/examples/method_handler_001.rb.txt +128 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/handlers/examples/mixin_handler_001.rb.txt +37 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/handlers/examples/module_handler_001.rb.txt +29 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/handlers/examples/private_constant_handler_001.rb.txt +8 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/handlers/examples/process_handler_001.rb.txt +11 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/handlers/examples/visibility_handler_001.rb.txt +36 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/handlers/examples/yield_handler_001.rb.txt +54 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/handlers/exception_handler_spec.rb +49 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/handlers/extend_handler_spec.rb +24 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/handlers/legacy_base_spec.rb +128 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/handlers/method_condition_handler_spec.rb +15 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/handlers/method_handler_spec.rb +190 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/handlers/mixin_handler_spec.rb +56 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/handlers/module_function_handler_spec.rb +106 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/handlers/module_handler_spec.rb +35 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/handlers/private_class_method_handler_spec.rb +11 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/handlers/private_constant_handler_spec.rb +25 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/handlers/processor_spec.rb +35 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/handlers/public_class_method_handler_spec.rb +11 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/handlers/ruby/base_spec.rb +95 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/handlers/ruby/legacy/base_spec.rb +84 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/handlers/spec_helper.rb +33 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/handlers/visibility_handler_spec.rb +44 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/handlers/yield_handler_spec.rb +52 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/i18n/locale_spec.rb +81 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/i18n/message_spec.rb +52 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/i18n/messages_spec.rb +67 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/i18n/pot_generator_spec.rb +295 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/i18n/text_spec.rb +184 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/logging_spec.rb +35 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/options_spec.rb +171 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/parser/base_spec.rb +24 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/parser/c_parser_spec.rb +190 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/parser/examples/array.c.txt +3887 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/parser/examples/example1.rb.txt +8 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/parser/examples/extrafile.c.txt +8 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/parser/examples/multifile.c.txt +22 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/parser/examples/override.c.txt +424 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/parser/examples/parse_in_order_001.rb.txt +2 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/parser/examples/parse_in_order_002.rb.txt +2 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/parser/examples/tag_handler_001.rb.txt +8 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/parser/ruby/ast_node_spec.rb +33 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/parser/ruby/legacy/statement_list_spec.rb +299 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/parser/ruby/legacy/token_list_spec.rb +77 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/parser/ruby/ruby_parser_spec.rb +476 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/parser/ruby/token_resolver_spec.rb +165 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/parser/source_parser_spec.rb +727 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/parser/tag_parsing_spec.rb +17 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/rake/yardoc_task_spec.rb +118 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/registry_spec.rb +463 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/registry_store_spec.rb +316 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/rubygems/doc_manager_spec.rb +112 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/serializers/data/serialized_yardoc/checksums +1 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/serializers/data/serialized_yardoc/objects/Foo.dat +0 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/serializers/data/serialized_yardoc/objects/Foo/bar_i.dat +0 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/serializers/data/serialized_yardoc/objects/Foo/baz_i.dat +0 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/serializers/data/serialized_yardoc/objects/root.dat +0 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/serializers/data/serialized_yardoc/proxy_types +2 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/serializers/file_system_serializer_spec.rb +145 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/serializers/spec_helper.rb +2 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/serializers/yardoc_serializer_spec.rb +78 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/server/adapter_spec.rb +39 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/server/commands/base_spec.rb +91 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/server/commands/library_command_spec.rb +39 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/server/doc_server_helper_spec.rb +72 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/server/doc_server_serializer_spec.rb +60 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/server/rack_adapter_spec.rb +21 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/server/router_spec.rb +123 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/server/spec_helper.rb +22 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/server/static_caching_spec.rb +47 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/server/webrick_servlet_spec.rb +20 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/server_spec.rb +19 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/spec_helper.rb +212 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/tags/default_factory_spec.rb +168 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/tags/default_tag_spec.rb +11 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/tags/directives_spec.rb +463 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/tags/library_spec.rb +48 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/tags/overload_tag_spec.rb +53 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/tags/ref_tag_list_spec.rb +53 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/tags/types_explainer_spec.rb +200 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/templates/class_spec.rb +45 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/templates/constant_spec.rb +41 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/templates/engine_spec.rb +131 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/templates/examples/class001.html +308 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/templates/examples/class001.txt +36 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/templates/examples/class002.html +39 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/templates/examples/constant001.txt +25 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/templates/examples/constant002.txt +7 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/templates/examples/constant003.txt +11 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/templates/examples/method001.html +137 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/templates/examples/method001.txt +35 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/templates/examples/method002.html +91 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/templates/examples/method002.txt +20 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/templates/examples/method003.html +165 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/templates/examples/method003.txt +45 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/templates/examples/method004.html +48 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/templates/examples/method004.txt +10 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/templates/examples/method005.html +105 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/templates/examples/method005.txt +33 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/templates/examples/method006.html +108 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/templates/examples/method006.txt +20 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/templates/examples/module001.dot +33 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/templates/examples/module001.html +829 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/templates/examples/module001.txt +33 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/templates/examples/module002.html +341 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/templates/examples/module003.html +198 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/templates/examples/module004.html +394 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/templates/examples/tag001.txt +82 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/templates/helpers/base_helper_spec.rb +171 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/templates/helpers/html_helper_spec.rb +652 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/templates/helpers/html_syntax_highlight_helper_spec.rb +65 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/templates/helpers/markup/rdoc_markup_spec.rb +84 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/templates/helpers/markup_helper_spec.rb +135 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/templates/helpers/method_helper_spec.rb +82 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/templates/helpers/module_helper_spec.rb +35 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/templates/helpers/shared_signature_examples.rb +126 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/templates/helpers/text_helper_spec.rb +65 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/templates/method_spec.rb +118 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/templates/module_spec.rb +182 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/templates/onefile_spec.rb +66 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/templates/section_spec.rb +144 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/templates/spec_helper.rb +76 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/templates/tag_spec.rb +52 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/templates/template_spec.rb +410 -0
- data/vendor/bundle/gems/yard-0.9.7/spec/verifier_spec.rb +106 -0
- data/vendor/bundle/gems/yard-0.9.7/templates/default/class/dot/setup.rb +7 -0
- data/vendor/bundle/gems/yard-0.9.7/templates/default/class/dot/superklass.erb +3 -0
- data/vendor/bundle/gems/yard-0.9.7/templates/default/class/html/constructor_details.erb +8 -0
- data/vendor/bundle/gems/yard-0.9.7/templates/default/class/html/setup.rb +2 -0
- data/vendor/bundle/gems/yard-0.9.7/templates/default/class/html/subclasses.erb +4 -0
- data/vendor/bundle/gems/yard-0.9.7/templates/default/class/setup.rb +36 -0
- data/vendor/bundle/gems/yard-0.9.7/templates/default/class/text/setup.rb +12 -0
- data/vendor/bundle/gems/yard-0.9.7/templates/default/class/text/subclasses.erb +5 -0
- data/vendor/bundle/gems/yard-0.9.7/templates/default/constant/text/header.erb +11 -0
- data/vendor/bundle/gems/yard-0.9.7/templates/default/constant/text/setup.rb +4 -0
- data/vendor/bundle/gems/yard-0.9.7/templates/default/docstring/html/abstract.erb +4 -0
- data/vendor/bundle/gems/yard-0.9.7/templates/default/docstring/html/deprecated.erb +1 -0
- data/vendor/bundle/gems/yard-0.9.7/templates/default/docstring/html/index.erb +5 -0
- data/vendor/bundle/gems/yard-0.9.7/templates/default/docstring/html/note.erb +6 -0
- data/vendor/bundle/gems/yard-0.9.7/templates/default/docstring/html/private.erb +4 -0
- data/vendor/bundle/gems/yard-0.9.7/templates/default/docstring/html/returns_void.erb +1 -0
- data/vendor/bundle/gems/yard-0.9.7/templates/default/docstring/html/text.erb +1 -0
- data/vendor/bundle/gems/yard-0.9.7/templates/default/docstring/html/todo.erb +6 -0
- data/vendor/bundle/gems/yard-0.9.7/templates/default/docstring/setup.rb +52 -0
- data/vendor/bundle/gems/yard-0.9.7/templates/default/docstring/text/abstract.erb +2 -0
- data/vendor/bundle/gems/yard-0.9.7/templates/default/docstring/text/deprecated.erb +2 -0
- data/vendor/bundle/gems/yard-0.9.7/templates/default/docstring/text/index.erb +2 -0
- data/vendor/bundle/gems/yard-0.9.7/templates/default/docstring/text/note.erb +4 -0
- data/vendor/bundle/gems/yard-0.9.7/templates/default/docstring/text/private.erb +2 -0
- data/vendor/bundle/gems/yard-0.9.7/templates/default/docstring/text/returns_void.erb +1 -0
- data/vendor/bundle/gems/yard-0.9.7/templates/default/docstring/text/text.erb +1 -0
- data/vendor/bundle/gems/yard-0.9.7/templates/default/docstring/text/todo.erb +4 -0
- data/vendor/bundle/gems/yard-0.9.7/templates/default/fulldoc/html/css/common.css +1 -0
- data/vendor/bundle/gems/yard-0.9.7/templates/default/fulldoc/html/css/full_list.css +58 -0
- data/vendor/bundle/gems/yard-0.9.7/templates/default/fulldoc/html/css/style.css +492 -0
- data/vendor/bundle/gems/yard-0.9.7/templates/default/fulldoc/html/frames.erb +17 -0
- data/vendor/bundle/gems/yard-0.9.7/templates/default/fulldoc/html/full_list.erb +37 -0
- data/vendor/bundle/gems/yard-0.9.7/templates/default/fulldoc/html/full_list_class.erb +2 -0
- data/vendor/bundle/gems/yard-0.9.7/templates/default/fulldoc/html/full_list_file.erb +7 -0
- data/vendor/bundle/gems/yard-0.9.7/templates/default/fulldoc/html/full_list_method.erb +10 -0
- data/vendor/bundle/gems/yard-0.9.7/templates/default/fulldoc/html/js/app.js +243 -0
- data/vendor/bundle/gems/yard-0.9.7/templates/default/fulldoc/html/js/full_list.js +216 -0
- data/vendor/bundle/gems/yard-0.9.7/templates/default/fulldoc/html/js/jquery.js +4 -0
- data/vendor/bundle/gems/yard-0.9.7/templates/default/fulldoc/html/setup.rb +241 -0
- data/vendor/bundle/gems/yard-0.9.7/templates/default/layout/dot/header.erb +6 -0
- data/vendor/bundle/gems/yard-0.9.7/templates/default/layout/dot/setup.rb +15 -0
- data/vendor/bundle/gems/yard-0.9.7/templates/default/layout/html/breadcrumb.erb +11 -0
- data/vendor/bundle/gems/yard-0.9.7/templates/default/layout/html/files.erb +11 -0
- data/vendor/bundle/gems/yard-0.9.7/templates/default/layout/html/footer.erb +5 -0
- data/vendor/bundle/gems/yard-0.9.7/templates/default/layout/html/headers.erb +15 -0
- data/vendor/bundle/gems/yard-0.9.7/templates/default/layout/html/index.erb +2 -0
- data/vendor/bundle/gems/yard-0.9.7/templates/default/layout/html/layout.erb +24 -0
- data/vendor/bundle/gems/yard-0.9.7/templates/default/layout/html/listing.erb +4 -0
- data/vendor/bundle/gems/yard-0.9.7/templates/default/layout/html/objects.erb +32 -0
- data/vendor/bundle/gems/yard-0.9.7/templates/default/layout/html/script_setup.erb +4 -0
- data/vendor/bundle/gems/yard-0.9.7/templates/default/layout/html/search.erb +13 -0
- data/vendor/bundle/gems/yard-0.9.7/templates/default/layout/html/setup.rb +89 -0
- data/vendor/bundle/gems/yard-0.9.7/templates/default/method/html/header.erb +17 -0
- data/vendor/bundle/gems/yard-0.9.7/templates/default/method/setup.rb +4 -0
- data/vendor/bundle/gems/yard-0.9.7/templates/default/method/text/header.erb +1 -0
- data/vendor/bundle/gems/yard-0.9.7/templates/default/method_details/html/header.erb +3 -0
- data/vendor/bundle/gems/yard-0.9.7/templates/default/method_details/html/method_signature.erb +25 -0
- data/vendor/bundle/gems/yard-0.9.7/templates/default/method_details/html/source.erb +10 -0
- data/vendor/bundle/gems/yard-0.9.7/templates/default/method_details/setup.rb +11 -0
- data/vendor/bundle/gems/yard-0.9.7/templates/default/method_details/text/header.erb +10 -0
- data/vendor/bundle/gems/yard-0.9.7/templates/default/method_details/text/method_signature.erb +12 -0
- data/vendor/bundle/gems/yard-0.9.7/templates/default/method_details/text/setup.rb +11 -0
- data/vendor/bundle/gems/yard-0.9.7/templates/default/module/dot/child.erb +1 -0
- data/vendor/bundle/gems/yard-0.9.7/templates/default/module/dot/dependencies.erb +3 -0
- data/vendor/bundle/gems/yard-0.9.7/templates/default/module/dot/header.erb +6 -0
- data/vendor/bundle/gems/yard-0.9.7/templates/default/module/dot/info.erb +14 -0
- data/vendor/bundle/gems/yard-0.9.7/templates/default/module/dot/setup.rb +15 -0
- data/vendor/bundle/gems/yard-0.9.7/templates/default/module/html/attribute_details.erb +10 -0
- data/vendor/bundle/gems/yard-0.9.7/templates/default/module/html/attribute_summary.erb +8 -0
- data/vendor/bundle/gems/yard-0.9.7/templates/default/module/html/box_info.erb +43 -0
- data/vendor/bundle/gems/yard-0.9.7/templates/default/module/html/children.erb +8 -0
- data/vendor/bundle/gems/yard-0.9.7/templates/default/module/html/constant_summary.erb +11 -0
- data/vendor/bundle/gems/yard-0.9.7/templates/default/module/html/defines.erb +3 -0
- data/vendor/bundle/gems/yard-0.9.7/templates/default/module/html/header.erb +5 -0
- data/vendor/bundle/gems/yard-0.9.7/templates/default/module/html/inherited_attributes.erb +14 -0
- data/vendor/bundle/gems/yard-0.9.7/templates/default/module/html/inherited_constants.erb +8 -0
- data/vendor/bundle/gems/yard-0.9.7/templates/default/module/html/inherited_methods.erb +19 -0
- data/vendor/bundle/gems/yard-0.9.7/templates/default/module/html/item_summary.erb +40 -0
- data/vendor/bundle/gems/yard-0.9.7/templates/default/module/html/method_details_list.erb +9 -0
- data/vendor/bundle/gems/yard-0.9.7/templates/default/module/html/method_summary.erb +14 -0
- data/vendor/bundle/gems/yard-0.9.7/templates/default/module/html/methodmissing.erb +12 -0
- data/vendor/bundle/gems/yard-0.9.7/templates/default/module/html/pre_docstring.erb +1 -0
- data/vendor/bundle/gems/yard-0.9.7/templates/default/module/setup.rb +162 -0
- data/vendor/bundle/gems/yard-0.9.7/templates/default/module/text/children.erb +10 -0
- data/vendor/bundle/gems/yard-0.9.7/templates/default/module/text/class_meths_list.erb +8 -0
- data/vendor/bundle/gems/yard-0.9.7/templates/default/module/text/extends.erb +8 -0
- data/vendor/bundle/gems/yard-0.9.7/templates/default/module/text/header.erb +7 -0
- data/vendor/bundle/gems/yard-0.9.7/templates/default/module/text/includes.erb +8 -0
- data/vendor/bundle/gems/yard-0.9.7/templates/default/module/text/instance_meths_list.erb +8 -0
- data/vendor/bundle/gems/yard-0.9.7/templates/default/module/text/setup.rb +13 -0
- data/vendor/bundle/gems/yard-0.9.7/templates/default/onefile/html/files.erb +5 -0
- data/vendor/bundle/gems/yard-0.9.7/templates/default/onefile/html/headers.erb +6 -0
- data/vendor/bundle/gems/yard-0.9.7/templates/default/onefile/html/layout.erb +17 -0
- data/vendor/bundle/gems/yard-0.9.7/templates/default/onefile/html/readme.erb +3 -0
- data/vendor/bundle/gems/yard-0.9.7/templates/default/onefile/html/setup.rb +62 -0
- data/vendor/bundle/gems/yard-0.9.7/templates/default/root/dot/child.erb +3 -0
- data/vendor/bundle/gems/yard-0.9.7/templates/default/root/dot/setup.rb +6 -0
- data/vendor/bundle/gems/yard-0.9.7/templates/default/root/html/setup.rb +2 -0
- data/vendor/bundle/gems/yard-0.9.7/templates/default/tags/html/example.erb +11 -0
- data/vendor/bundle/gems/yard-0.9.7/templates/default/tags/html/index.erb +3 -0
- data/vendor/bundle/gems/yard-0.9.7/templates/default/tags/html/option.erb +24 -0
- data/vendor/bundle/gems/yard-0.9.7/templates/default/tags/html/overload.erb +14 -0
- data/vendor/bundle/gems/yard-0.9.7/templates/default/tags/html/see.erb +8 -0
- data/vendor/bundle/gems/yard-0.9.7/templates/default/tags/html/tag.erb +20 -0
- data/vendor/bundle/gems/yard-0.9.7/templates/default/tags/setup.rb +57 -0
- data/vendor/bundle/gems/yard-0.9.7/templates/default/tags/text/example.erb +12 -0
- data/vendor/bundle/gems/yard-0.9.7/templates/default/tags/text/index.erb +1 -0
- data/vendor/bundle/gems/yard-0.9.7/templates/default/tags/text/option.erb +20 -0
- data/vendor/bundle/gems/yard-0.9.7/templates/default/tags/text/overload.erb +19 -0
- data/vendor/bundle/gems/yard-0.9.7/templates/default/tags/text/see.erb +11 -0
- data/vendor/bundle/gems/yard-0.9.7/templates/default/tags/text/tag.erb +13 -0
- data/vendor/bundle/gems/yard-0.9.7/templates/guide/class/html/setup.rb +2 -0
- data/vendor/bundle/gems/yard-0.9.7/templates/guide/docstring/html/setup.rb +2 -0
- data/vendor/bundle/gems/yard-0.9.7/templates/guide/fulldoc/html/css/style.css +108 -0
- data/vendor/bundle/gems/yard-0.9.7/templates/guide/fulldoc/html/js/app.js +33 -0
- data/vendor/bundle/gems/yard-0.9.7/templates/guide/fulldoc/html/setup.rb +74 -0
- data/vendor/bundle/gems/yard-0.9.7/templates/guide/layout/html/layout.erb +81 -0
- data/vendor/bundle/gems/yard-0.9.7/templates/guide/layout/html/setup.rb +25 -0
- data/vendor/bundle/gems/yard-0.9.7/templates/guide/method/html/header.erb +18 -0
- data/vendor/bundle/gems/yard-0.9.7/templates/guide/method/html/setup.rb +22 -0
- data/vendor/bundle/gems/yard-0.9.7/templates/guide/module/html/header.erb +7 -0
- data/vendor/bundle/gems/yard-0.9.7/templates/guide/module/html/method_list.erb +5 -0
- data/vendor/bundle/gems/yard-0.9.7/templates/guide/module/html/setup.rb +27 -0
- data/vendor/bundle/gems/yard-0.9.7/templates/guide/onefile/html/files.erb +4 -0
- data/vendor/bundle/gems/yard-0.9.7/templates/guide/onefile/html/setup.rb +6 -0
- data/vendor/bundle/gems/yard-0.9.7/templates/guide/onefile/html/toc.erb +3 -0
- data/vendor/bundle/gems/yard-0.9.7/templates/guide/tags/html/setup.rb +9 -0
- data/vendor/bundle/gems/yard-0.9.7/yard.gemspec +43 -0
- data/vendor/bundle/specifications/actioncable-5.0.0.gemspec +42 -0
- data/vendor/bundle/specifications/actionmailer-5.0.0.gemspec +46 -0
- data/vendor/bundle/specifications/actionpack-5.0.0.gemspec +52 -0
- data/vendor/bundle/specifications/actionview-5.0.0.gemspec +52 -0
- data/vendor/bundle/specifications/activejob-5.0.0.gemspec +36 -0
- data/vendor/bundle/specifications/activemodel-5.0.0.gemspec +33 -0
- data/vendor/bundle/specifications/activerecord-5.0.0.gemspec +42 -0
- data/vendor/bundle/specifications/activesupport-5.0.0.gemspec +43 -0
- data/vendor/bundle/specifications/activesupport-5.0.1.gemspec +43 -0
- data/vendor/bundle/specifications/arel-7.1.0.gemspec +41 -0
- data/vendor/bundle/specifications/builder-3.2.2.gemspec +23 -0
- data/vendor/bundle/specifications/coderay-1.1.1.gemspec +26 -0
- data/vendor/bundle/specifications/concurrent-ruby-1.0.2.gemspec +23 -0
- data/vendor/bundle/specifications/concurrent-ruby-1.0.4.gemspec +23 -0
- data/vendor/bundle/specifications/diff-lcs-1.2.5.gemspec +68 -0
- data/vendor/bundle/specifications/docile-1.1.5.gemspec +48 -0
- data/vendor/bundle/specifications/erubis-2.7.0.gemspec +22 -0
- data/vendor/bundle/specifications/globalid-0.3.6.gemspec +36 -0
- data/vendor/bundle/specifications/i18n-0.7.0.gemspec +22 -0
- data/vendor/bundle/specifications/json-2.0.1.gemspec +0 -0
- data/vendor/bundle/specifications/json-2.0.2.gemspec +0 -0
- data/vendor/bundle/specifications/loofah-2.0.3.gemspec +65 -0
- data/vendor/bundle/specifications/mail-2.6.4.gemspec +47 -0
- data/vendor/bundle/specifications/method_source-0.8.2.gemspec +34 -0
- data/vendor/bundle/specifications/mime-types-3.1.gemspec +84 -0
- data/vendor/bundle/specifications/mime-types-data-3.2016.0521.gemspec +60 -0
- data/vendor/bundle/specifications/mini_portile2-2.1.0.gemspec +45 -0
- data/vendor/bundle/specifications/minitest-5.10.1.gemspec +39 -0
- data/vendor/bundle/specifications/minitest-5.9.0.gemspec +39 -0
- data/vendor/bundle/specifications/nio4r-1.2.1.gemspec +38 -0
- data/vendor/bundle/specifications/nokogiri-1.6.8.gemspec +78 -0
- data/vendor/bundle/specifications/pkg-config-1.1.7.gemspec +39 -0
- data/vendor/bundle/specifications/pry-0.10.4.gemspec +43 -0
- data/vendor/bundle/specifications/rack-2.0.1.gemspec +45 -0
- data/vendor/bundle/specifications/rack-test-0.6.3.gemspec +34 -0
- data/vendor/bundle/specifications/rails-5.0.0.gemspec +63 -0
- data/vendor/bundle/specifications/rails-dom-testing-2.0.1.gemspec +44 -0
- data/vendor/bundle/specifications/rails-html-sanitizer-1.0.3.gemspec +44 -0
- data/vendor/bundle/specifications/railties-5.0.0.gemspec +52 -0
- data/vendor/bundle/specifications/rake-11.2.2.gemspec +43 -0
- data/vendor/bundle/specifications/redis-2.2.2.gemspec +21 -0
- data/vendor/bundle/specifications/redis-3.3.1.gemspec +35 -0
- data/vendor/bundle/specifications/redis-3.3.2.gemspec +35 -0
- data/vendor/bundle/specifications/rspec-3.5.0.gemspec +42 -0
- data/vendor/bundle/specifications/rspec-core-3.5.1.gemspec +62 -0
- data/vendor/bundle/specifications/rspec-core-3.5.4.gemspec +62 -0
- data/vendor/bundle/specifications/rspec-expectations-3.5.0.gemspec +50 -0
- data/vendor/bundle/specifications/rspec-mocks-3.5.0.gemspec +50 -0
- data/vendor/bundle/specifications/rspec-support-3.5.0.gemspec +41 -0
- data/vendor/bundle/specifications/simplecov-0.12.0.gemspec +42 -0
- data/vendor/bundle/specifications/simplecov-html-0.10.0.gemspec +33 -0
- data/vendor/bundle/specifications/slop-3.6.0.gemspec +36 -0
- data/vendor/bundle/specifications/sprockets-3.6.3.gemspec +78 -0
- data/vendor/bundle/specifications/sprockets-rails-3.1.1.gemspec +50 -0
- data/vendor/bundle/specifications/thor-0.19.1.gemspec +34 -0
- data/vendor/bundle/specifications/thread_safe-0.3.5.gemspec +38 -0
- data/vendor/bundle/specifications/tzinfo-1.2.2.gemspec +37 -0
- data/vendor/bundle/specifications/websocket-driver-0.6.4.gemspec +48 -0
- data/vendor/bundle/specifications/websocket-extensions-0.1.2.gemspec +34 -0
- data/vendor/bundle/specifications/yard-0.9.1.gemspec +22 -0
- data/vendor/bundle/specifications/yard-0.9.2.gemspec +24 -0
- data/vendor/bundle/specifications/yard-0.9.7.gemspec +24 -0
- metadata +6723 -25
- data/test/counter_test.rb +0 -199
- data/test/date_range_test.rb +0 -95
- data/test/helper.rb +0 -23
- data/test/store_test.rb +0 -81
@@ -0,0 +1,35 @@
|
|
1
|
+
#!/usr/bin/env ruby -wKU
|
2
|
+
|
3
|
+
require "benchmark"
|
4
|
+
require "thread_safe"
|
5
|
+
|
6
|
+
hash = {}
|
7
|
+
cache = ThreadSafe::Cache.new
|
8
|
+
|
9
|
+
ENTRIES = 10_000
|
10
|
+
|
11
|
+
ENTRIES.times do |i|
|
12
|
+
hash[i] = i
|
13
|
+
cache[i] = i
|
14
|
+
end
|
15
|
+
|
16
|
+
TESTS = 40_000_000
|
17
|
+
Benchmark.bmbm do |results|
|
18
|
+
key = rand(10_000)
|
19
|
+
|
20
|
+
results.report('Hash#[]') do
|
21
|
+
TESTS.times { hash[key] }
|
22
|
+
end
|
23
|
+
|
24
|
+
results.report('Cache#[]') do
|
25
|
+
TESTS.times { cache[key] }
|
26
|
+
end
|
27
|
+
|
28
|
+
results.report('Hash#each_pair') do
|
29
|
+
(TESTS / ENTRIES).times { hash.each_pair {|k,v| v} }
|
30
|
+
end
|
31
|
+
|
32
|
+
results.report('Cache#each_pair') do
|
33
|
+
(TESTS / ENTRIES).times { cache.each_pair {|k,v| v} }
|
34
|
+
end
|
35
|
+
end
|
@@ -0,0 +1,245 @@
|
|
1
|
+
package org.jruby.ext.thread_safe;
|
2
|
+
|
3
|
+
import org.jruby.*;
|
4
|
+
import org.jruby.anno.JRubyClass;
|
5
|
+
import org.jruby.anno.JRubyMethod;
|
6
|
+
import org.jruby.ext.thread_safe.jsr166e.ConcurrentHashMap;
|
7
|
+
import org.jruby.ext.thread_safe.jsr166e.ConcurrentHashMapV8;
|
8
|
+
import org.jruby.ext.thread_safe.jsr166e.nounsafe.*;
|
9
|
+
import org.jruby.runtime.Block;
|
10
|
+
import org.jruby.runtime.ObjectAllocator;
|
11
|
+
import org.jruby.runtime.ThreadContext;
|
12
|
+
import org.jruby.runtime.builtin.IRubyObject;
|
13
|
+
import org.jruby.runtime.load.Library;
|
14
|
+
|
15
|
+
import java.io.IOException;
|
16
|
+
import java.util.Map;
|
17
|
+
|
18
|
+
import static org.jruby.runtime.Visibility.PRIVATE;
|
19
|
+
|
20
|
+
/**
|
21
|
+
* Native Java implementation to avoid the JI overhead.
|
22
|
+
*
|
23
|
+
* @author thedarkone
|
24
|
+
*/
|
25
|
+
public class JRubyCacheBackendLibrary implements Library {
|
26
|
+
public void load(Ruby runtime, boolean wrap) throws IOException {
|
27
|
+
RubyClass jrubyRefClass = runtime.defineClassUnder("JRubyCacheBackend", runtime.getObject(), BACKEND_ALLOCATOR, runtime.getModule("ThreadSafe"));
|
28
|
+
jrubyRefClass.setAllocator(BACKEND_ALLOCATOR);
|
29
|
+
jrubyRefClass.defineAnnotatedMethods(JRubyCacheBackend.class);
|
30
|
+
}
|
31
|
+
|
32
|
+
private static final ObjectAllocator BACKEND_ALLOCATOR = new ObjectAllocator() {
|
33
|
+
public IRubyObject allocate(Ruby runtime, RubyClass klazz) {
|
34
|
+
return new JRubyCacheBackend(runtime, klazz);
|
35
|
+
}
|
36
|
+
};
|
37
|
+
|
38
|
+
@JRubyClass(name="JRubyCacheBackend", parent="Object")
|
39
|
+
public static class JRubyCacheBackend extends RubyObject {
|
40
|
+
// Defaults used by the CHM
|
41
|
+
static final int DEFAULT_INITIAL_CAPACITY = 16;
|
42
|
+
static final float DEFAULT_LOAD_FACTOR = 0.75f;
|
43
|
+
|
44
|
+
public static final boolean CAN_USE_UNSAFE_CHM = canUseUnsafeCHM();
|
45
|
+
|
46
|
+
private ConcurrentHashMap<IRubyObject, IRubyObject> map;
|
47
|
+
|
48
|
+
private static ConcurrentHashMap<IRubyObject, IRubyObject> newCHM(int initialCapacity, float loadFactor) {
|
49
|
+
if (CAN_USE_UNSAFE_CHM) {
|
50
|
+
return new ConcurrentHashMapV8<IRubyObject, IRubyObject>(initialCapacity, loadFactor);
|
51
|
+
} else {
|
52
|
+
return new org.jruby.ext.thread_safe.jsr166e.nounsafe.ConcurrentHashMapV8<IRubyObject, IRubyObject>(initialCapacity, loadFactor);
|
53
|
+
}
|
54
|
+
}
|
55
|
+
|
56
|
+
private static ConcurrentHashMap<IRubyObject, IRubyObject> newCHM() {
|
57
|
+
return newCHM(DEFAULT_INITIAL_CAPACITY, DEFAULT_LOAD_FACTOR);
|
58
|
+
}
|
59
|
+
|
60
|
+
private static boolean canUseUnsafeCHM() {
|
61
|
+
try {
|
62
|
+
new org.jruby.ext.thread_safe.jsr166e.ConcurrentHashMapV8(); // force class load and initialization
|
63
|
+
return true;
|
64
|
+
} catch (Throwable t) { // ensuring we really do catch everything
|
65
|
+
// Doug's Unsafe setup errors always have this "Could not ini.." message
|
66
|
+
if (isCausedBySecurityException(t)) {
|
67
|
+
return false;
|
68
|
+
}
|
69
|
+
throw (t instanceof RuntimeException ? (RuntimeException) t : new RuntimeException(t));
|
70
|
+
}
|
71
|
+
}
|
72
|
+
|
73
|
+
private static boolean isCausedBySecurityException(Throwable t) {
|
74
|
+
while (t != null) {
|
75
|
+
if ((t.getMessage() != null && t.getMessage().contains("Could not initialize intrinsics")) || t instanceof SecurityException) {
|
76
|
+
return true;
|
77
|
+
}
|
78
|
+
t = t.getCause();
|
79
|
+
}
|
80
|
+
return false;
|
81
|
+
}
|
82
|
+
|
83
|
+
public JRubyCacheBackend(Ruby runtime, RubyClass klass) {
|
84
|
+
super(runtime, klass);
|
85
|
+
}
|
86
|
+
|
87
|
+
@JRubyMethod
|
88
|
+
public IRubyObject initialize(ThreadContext context) {
|
89
|
+
map = newCHM();
|
90
|
+
return context.getRuntime().getNil();
|
91
|
+
}
|
92
|
+
|
93
|
+
@JRubyMethod
|
94
|
+
public IRubyObject initialize(ThreadContext context, IRubyObject options) {
|
95
|
+
map = toCHM(context, options);
|
96
|
+
return context.getRuntime().getNil();
|
97
|
+
}
|
98
|
+
|
99
|
+
private ConcurrentHashMap<IRubyObject, IRubyObject> toCHM(ThreadContext context, IRubyObject options) {
|
100
|
+
Ruby runtime = context.getRuntime();
|
101
|
+
if (!options.isNil() && options.respondsTo("[]")) {
|
102
|
+
IRubyObject rInitialCapacity = options.callMethod(context, "[]", runtime.newSymbol("initial_capacity"));
|
103
|
+
IRubyObject rLoadFactor = options.callMethod(context, "[]", runtime.newSymbol("load_factor"));
|
104
|
+
int initialCapacity = !rInitialCapacity.isNil() ? RubyNumeric.num2int(rInitialCapacity.convertToInteger()) : DEFAULT_INITIAL_CAPACITY;
|
105
|
+
float loadFactor = !rLoadFactor.isNil() ? (float)RubyNumeric.num2dbl(rLoadFactor.convertToFloat()) : DEFAULT_LOAD_FACTOR;
|
106
|
+
return newCHM(initialCapacity, loadFactor);
|
107
|
+
} else {
|
108
|
+
return newCHM();
|
109
|
+
}
|
110
|
+
}
|
111
|
+
|
112
|
+
@JRubyMethod(name = "[]", required = 1)
|
113
|
+
public IRubyObject op_aref(ThreadContext context, IRubyObject key) {
|
114
|
+
IRubyObject value;
|
115
|
+
return ((value = map.get(key)) == null) ? context.getRuntime().getNil() : value;
|
116
|
+
}
|
117
|
+
|
118
|
+
@JRubyMethod(name = {"[]="}, required = 2)
|
119
|
+
public IRubyObject op_aset(IRubyObject key, IRubyObject value) {
|
120
|
+
map.put(key, value);
|
121
|
+
return value;
|
122
|
+
}
|
123
|
+
|
124
|
+
@JRubyMethod
|
125
|
+
public IRubyObject put_if_absent(IRubyObject key, IRubyObject value) {
|
126
|
+
IRubyObject result = map.putIfAbsent(key, value);
|
127
|
+
return result == null ? getRuntime().getNil() : result;
|
128
|
+
}
|
129
|
+
|
130
|
+
@JRubyMethod
|
131
|
+
public IRubyObject compute_if_absent(final ThreadContext context, final IRubyObject key, final Block block) {
|
132
|
+
return map.computeIfAbsent(key, new ConcurrentHashMap.Fun<IRubyObject, IRubyObject>() {
|
133
|
+
@Override
|
134
|
+
public IRubyObject apply(IRubyObject key) {
|
135
|
+
return block.yieldSpecific(context);
|
136
|
+
}
|
137
|
+
});
|
138
|
+
}
|
139
|
+
|
140
|
+
@JRubyMethod
|
141
|
+
public IRubyObject compute_if_present(final ThreadContext context, final IRubyObject key, final Block block) {
|
142
|
+
IRubyObject result = map.computeIfPresent(key, new ConcurrentHashMap.BiFun<IRubyObject, IRubyObject, IRubyObject>() {
|
143
|
+
@Override
|
144
|
+
public IRubyObject apply(IRubyObject key, IRubyObject oldValue) {
|
145
|
+
IRubyObject result = block.yieldSpecific(context, oldValue == null ? context.getRuntime().getNil() : oldValue);
|
146
|
+
return result.isNil() ? null : result;
|
147
|
+
}
|
148
|
+
});
|
149
|
+
return result == null ? context.getRuntime().getNil() : result;
|
150
|
+
}
|
151
|
+
|
152
|
+
@JRubyMethod
|
153
|
+
public IRubyObject compute(final ThreadContext context, final IRubyObject key, final Block block) {
|
154
|
+
IRubyObject result = map.compute(key, new ConcurrentHashMap.BiFun<IRubyObject, IRubyObject, IRubyObject>() {
|
155
|
+
@Override
|
156
|
+
public IRubyObject apply(IRubyObject key, IRubyObject oldValue) {
|
157
|
+
IRubyObject result = block.yieldSpecific(context, oldValue == null ? context.getRuntime().getNil() : oldValue);
|
158
|
+
return result.isNil() ? null : result;
|
159
|
+
}
|
160
|
+
});
|
161
|
+
return result == null ? context.getRuntime().getNil() : result;
|
162
|
+
}
|
163
|
+
|
164
|
+
@JRubyMethod
|
165
|
+
public IRubyObject merge_pair(final ThreadContext context, final IRubyObject key, final IRubyObject value, final Block block) {
|
166
|
+
IRubyObject result = map.merge(key, value, new ConcurrentHashMap.BiFun<IRubyObject, IRubyObject, IRubyObject>() {
|
167
|
+
@Override
|
168
|
+
public IRubyObject apply(IRubyObject oldValue, IRubyObject newValue) {
|
169
|
+
IRubyObject result = block.yieldSpecific(context, oldValue == null ? context.getRuntime().getNil() : oldValue);
|
170
|
+
return result.isNil() ? null : result;
|
171
|
+
}
|
172
|
+
});
|
173
|
+
return result == null ? context.getRuntime().getNil() : result;
|
174
|
+
}
|
175
|
+
|
176
|
+
@JRubyMethod
|
177
|
+
public RubyBoolean replace_pair(IRubyObject key, IRubyObject oldValue, IRubyObject newValue) {
|
178
|
+
return getRuntime().newBoolean(map.replace(key, oldValue, newValue));
|
179
|
+
}
|
180
|
+
|
181
|
+
@JRubyMethod(name = "key?", required = 1)
|
182
|
+
public RubyBoolean has_key_p(IRubyObject key) {
|
183
|
+
return map.containsKey(key) ? getRuntime().getTrue() : getRuntime().getFalse();
|
184
|
+
}
|
185
|
+
|
186
|
+
@JRubyMethod
|
187
|
+
public IRubyObject key(IRubyObject value) {
|
188
|
+
final IRubyObject key = map.findKey(value);
|
189
|
+
return key == null ? getRuntime().getNil() : key;
|
190
|
+
}
|
191
|
+
|
192
|
+
@JRubyMethod
|
193
|
+
public IRubyObject replace_if_exists(IRubyObject key, IRubyObject value) {
|
194
|
+
IRubyObject result = map.replace(key, value);
|
195
|
+
return result == null ? getRuntime().getNil() : result;
|
196
|
+
}
|
197
|
+
|
198
|
+
@JRubyMethod
|
199
|
+
public IRubyObject get_and_set(IRubyObject key, IRubyObject value) {
|
200
|
+
IRubyObject result = map.put(key, value);
|
201
|
+
return result == null ? getRuntime().getNil() : result;
|
202
|
+
}
|
203
|
+
|
204
|
+
@JRubyMethod
|
205
|
+
public IRubyObject delete(IRubyObject key) {
|
206
|
+
IRubyObject result = map.remove(key);
|
207
|
+
return result == null ? getRuntime().getNil() : result;
|
208
|
+
}
|
209
|
+
|
210
|
+
@JRubyMethod
|
211
|
+
public RubyBoolean delete_pair(IRubyObject key, IRubyObject value) {
|
212
|
+
return getRuntime().newBoolean(map.remove(key, value));
|
213
|
+
}
|
214
|
+
|
215
|
+
@JRubyMethod
|
216
|
+
public IRubyObject clear() {
|
217
|
+
map.clear();
|
218
|
+
return this;
|
219
|
+
}
|
220
|
+
|
221
|
+
@JRubyMethod
|
222
|
+
public IRubyObject each_pair(ThreadContext context, Block block) {
|
223
|
+
for (Map.Entry<IRubyObject,IRubyObject> entry : map.entrySet()) {
|
224
|
+
block.yieldSpecific(context, entry.getKey(), entry.getValue());
|
225
|
+
}
|
226
|
+
return this;
|
227
|
+
}
|
228
|
+
|
229
|
+
@JRubyMethod
|
230
|
+
public RubyFixnum size(ThreadContext context) {
|
231
|
+
return context.getRuntime().newFixnum(map.size());
|
232
|
+
}
|
233
|
+
|
234
|
+
@JRubyMethod
|
235
|
+
public IRubyObject get_or_default(IRubyObject key, IRubyObject defaultValue) {
|
236
|
+
return map.getValueOrDefault(key, defaultValue);
|
237
|
+
}
|
238
|
+
|
239
|
+
@JRubyMethod(visibility = PRIVATE)
|
240
|
+
public JRubyCacheBackend initialize_copy(ThreadContext context, IRubyObject other) {
|
241
|
+
map = newCHM();
|
242
|
+
return this;
|
243
|
+
}
|
244
|
+
}
|
245
|
+
}
|
@@ -0,0 +1,31 @@
|
|
1
|
+
package org.jruby.ext.thread_safe.jsr166e;
|
2
|
+
|
3
|
+
import java.util.Map;
|
4
|
+
import java.util.Set;
|
5
|
+
|
6
|
+
public interface ConcurrentHashMap<K, V> {
|
7
|
+
/** Interface describing a function of one argument */
|
8
|
+
public interface Fun<A,T> { T apply(A a); }
|
9
|
+
/** Interface describing a function of two arguments */
|
10
|
+
public interface BiFun<A,B,T> { T apply(A a, B b); }
|
11
|
+
|
12
|
+
public V get(K key);
|
13
|
+
public V put(K key, V value);
|
14
|
+
public V putIfAbsent(K key, V value);
|
15
|
+
public V computeIfAbsent(K key, Fun<? super K, ? extends V> mf);
|
16
|
+
public V computeIfPresent(K key, BiFun<? super K, ? super V, ? extends V> mf);
|
17
|
+
public V compute(K key, BiFun<? super K, ? super V, ? extends V> mf);
|
18
|
+
public V merge(K key, V value, BiFun<? super V, ? super V, ? extends V> mf);
|
19
|
+
public boolean replace(K key, V oldVal, V newVal);
|
20
|
+
public V replace(K key, V value);
|
21
|
+
public boolean containsKey(K key);
|
22
|
+
public boolean remove(Object key, Object value);
|
23
|
+
public V remove(K key);
|
24
|
+
public void clear();
|
25
|
+
public Set<Map.Entry<K,V>> entrySet();
|
26
|
+
public int size();
|
27
|
+
public V getValueOrDefault(Object key, V defaultValue);
|
28
|
+
|
29
|
+
public boolean containsValue(V value);
|
30
|
+
public K findKey(V value);
|
31
|
+
}
|
@@ -0,0 +1,3863 @@
|
|
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;
|
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.jsr166y.ThreadLocalRandom;
|
16
|
+
import org.jruby.runtime.ThreadContext;
|
17
|
+
import org.jruby.runtime.builtin.IRubyObject;
|
18
|
+
|
19
|
+
import java.util.Arrays;
|
20
|
+
import java.util.Map;
|
21
|
+
import java.util.Set;
|
22
|
+
import java.util.Collection;
|
23
|
+
import java.util.Hashtable;
|
24
|
+
import java.util.HashMap;
|
25
|
+
import java.util.Iterator;
|
26
|
+
import java.util.Enumeration;
|
27
|
+
import java.util.ConcurrentModificationException;
|
28
|
+
import java.util.NoSuchElementException;
|
29
|
+
import java.util.concurrent.ConcurrentMap;
|
30
|
+
import java.util.concurrent.locks.AbstractQueuedSynchronizer;
|
31
|
+
|
32
|
+
import java.io.Serializable;
|
33
|
+
|
34
|
+
/**
|
35
|
+
* A hash table supporting full concurrency of retrievals and
|
36
|
+
* high expected concurrency for updates. This class obeys the
|
37
|
+
* same functional specification as {@link java.util.Hashtable}, and
|
38
|
+
* includes versions of methods corresponding to each method of
|
39
|
+
* {@code Hashtable}. However, even though all operations are
|
40
|
+
* thread-safe, retrieval operations do <em>not</em> entail locking,
|
41
|
+
* and there is <em>not</em> any support for locking the entire table
|
42
|
+
* in a way that prevents all access. This class is fully
|
43
|
+
* interoperable with {@code Hashtable} in programs that rely on its
|
44
|
+
* thread safety but not on its synchronization details.
|
45
|
+
*
|
46
|
+
* <p>Retrieval operations (including {@code get}) generally do not
|
47
|
+
* block, so may overlap with update operations (including {@code put}
|
48
|
+
* and {@code remove}). Retrievals reflect the results of the most
|
49
|
+
* recently <em>completed</em> update operations holding upon their
|
50
|
+
* onset. (More formally, an update operation for a given key bears a
|
51
|
+
* <em>happens-before</em> relation with any (non-null) retrieval for
|
52
|
+
* that key reporting the updated value.) For aggregate operations
|
53
|
+
* such as {@code putAll} and {@code clear}, concurrent retrievals may
|
54
|
+
* reflect insertion or removal of only some entries. Similarly,
|
55
|
+
* Iterators and Enumerations return elements reflecting the state of
|
56
|
+
* the hash table at some point at or since the creation of the
|
57
|
+
* iterator/enumeration. They do <em>not</em> throw {@link
|
58
|
+
* ConcurrentModificationException}. However, iterators are designed
|
59
|
+
* to be used by only one thread at a time. Bear in mind that the
|
60
|
+
* results of aggregate status methods including {@code size}, {@code
|
61
|
+
* isEmpty}, and {@code containsValue} are typically useful only when
|
62
|
+
* a map is not undergoing concurrent updates in other threads.
|
63
|
+
* Otherwise the results of these methods reflect transient states
|
64
|
+
* that may be adequate for monitoring or estimation purposes, but not
|
65
|
+
* for program control.
|
66
|
+
*
|
67
|
+
* <p>The table is dynamically expanded when there are too many
|
68
|
+
* collisions (i.e., keys that have distinct hash codes but fall into
|
69
|
+
* the same slot modulo the table size), with the expected average
|
70
|
+
* effect of maintaining roughly two bins per mapping (corresponding
|
71
|
+
* to a 0.75 load factor threshold for resizing). There may be much
|
72
|
+
* variance around this average as mappings are added and removed, but
|
73
|
+
* overall, this maintains a commonly accepted time/space tradeoff for
|
74
|
+
* hash tables. However, resizing this or any other kind of hash
|
75
|
+
* table may be a relatively slow operation. When possible, it is a
|
76
|
+
* good idea to provide a size estimate as an optional {@code
|
77
|
+
* initialCapacity} constructor argument. An additional optional
|
78
|
+
* {@code loadFactor} constructor argument provides a further means of
|
79
|
+
* customizing initial table capacity by specifying the table density
|
80
|
+
* to be used in calculating the amount of space to allocate for the
|
81
|
+
* given number of elements. Also, for compatibility with previous
|
82
|
+
* versions of this class, constructors may optionally specify an
|
83
|
+
* expected {@code concurrencyLevel} as an additional hint for
|
84
|
+
* internal sizing. Note that using many keys with exactly the same
|
85
|
+
* {@code hashCode()} is a sure way to slow down performance of any
|
86
|
+
* hash table.
|
87
|
+
*
|
88
|
+
* <p>A {@link Set} projection of a ConcurrentHashMapV8 may be created
|
89
|
+
* (using {@link #newKeySet()} or {@link #newKeySet(int)}), or viewed
|
90
|
+
* (using {@link #keySet(Object)} when only keys are of interest, and the
|
91
|
+
* mapped values are (perhaps transiently) not used or all take the
|
92
|
+
* same mapping value.
|
93
|
+
*
|
94
|
+
* <p>A ConcurrentHashMapV8 can be used as scalable frequency map (a
|
95
|
+
* form of histogram or multiset) by using {@link LongAdder} values
|
96
|
+
* and initializing via {@link #computeIfAbsent}. For example, to add
|
97
|
+
* a count to a {@code ConcurrentHashMapV8<String,LongAdder> freqs}, you
|
98
|
+
* can use {@code freqs.computeIfAbsent(k -> new
|
99
|
+
* LongAdder()).increment();}
|
100
|
+
*
|
101
|
+
* <p>This class and its views and iterators implement all of the
|
102
|
+
* <em>optional</em> methods of the {@link Map} and {@link Iterator}
|
103
|
+
* interfaces.
|
104
|
+
*
|
105
|
+
* <p>Like {@link Hashtable} but unlike {@link HashMap}, this class
|
106
|
+
* does <em>not</em> allow {@code null} to be used as a key or value.
|
107
|
+
*
|
108
|
+
* <p>ConcurrentHashMapV8s support parallel operations using the {@link
|
109
|
+
* ForkJoinPool#commonPool}. (Tasks that may be used in other contexts
|
110
|
+
* are available in class {@link ForkJoinTasks}). These operations are
|
111
|
+
* designed to be safely, and often sensibly, applied even with maps
|
112
|
+
* that are being concurrently updated by other threads; for example,
|
113
|
+
* when computing a snapshot summary of the values in a shared
|
114
|
+
* registry. There are three kinds of operation, each with four
|
115
|
+
* forms, accepting functions with Keys, Values, Entries, and (Key,
|
116
|
+
* Value) arguments and/or return values. (The first three forms are
|
117
|
+
* also available via the {@link #keySet()}, {@link #values()} and
|
118
|
+
* {@link #entrySet()} views). Because the elements of a
|
119
|
+
* ConcurrentHashMapV8 are not ordered in any particular way, and may be
|
120
|
+
* processed in different orders in different parallel executions, the
|
121
|
+
* correctness of supplied functions should not depend on any
|
122
|
+
* ordering, or on any other objects or values that may transiently
|
123
|
+
* change while computation is in progress; and except for forEach
|
124
|
+
* actions, should ideally be side-effect-free.
|
125
|
+
*
|
126
|
+
* <ul>
|
127
|
+
* <li> forEach: Perform a given action on each element.
|
128
|
+
* A variant form applies a given transformation on each element
|
129
|
+
* before performing the action.</li>
|
130
|
+
*
|
131
|
+
* <li> search: Return the first available non-null result of
|
132
|
+
* applying a given function on each element; skipping further
|
133
|
+
* search when a result is found.</li>
|
134
|
+
*
|
135
|
+
* <li> reduce: Accumulate each element. The supplied reduction
|
136
|
+
* function cannot rely on ordering (more formally, it should be
|
137
|
+
* both associative and commutative). There are five variants:
|
138
|
+
*
|
139
|
+
* <ul>
|
140
|
+
*
|
141
|
+
* <li> Plain reductions. (There is not a form of this method for
|
142
|
+
* (key, value) function arguments since there is no corresponding
|
143
|
+
* return type.)</li>
|
144
|
+
*
|
145
|
+
* <li> Mapped reductions that accumulate the results of a given
|
146
|
+
* function applied to each element.</li>
|
147
|
+
*
|
148
|
+
* <li> Reductions to scalar doubles, longs, and ints, using a
|
149
|
+
* given basis value.</li>
|
150
|
+
*
|
151
|
+
* </li>
|
152
|
+
* </ul>
|
153
|
+
* </ul>
|
154
|
+
*
|
155
|
+
* <p>The concurrency properties of bulk operations follow
|
156
|
+
* from those of ConcurrentHashMapV8: Any non-null result returned
|
157
|
+
* from {@code get(key)} and related access methods bears a
|
158
|
+
* happens-before relation with the associated insertion or
|
159
|
+
* update. The result of any bulk operation reflects the
|
160
|
+
* composition of these per-element relations (but is not
|
161
|
+
* necessarily atomic with respect to the map as a whole unless it
|
162
|
+
* is somehow known to be quiescent). Conversely, because keys
|
163
|
+
* and values in the map are never null, null serves as a reliable
|
164
|
+
* atomic indicator of the current lack of any result. To
|
165
|
+
* maintain this property, null serves as an implicit basis for
|
166
|
+
* all non-scalar reduction operations. For the double, long, and
|
167
|
+
* int versions, the basis should be one that, when combined with
|
168
|
+
* any other value, returns that other value (more formally, it
|
169
|
+
* should be the identity element for the reduction). Most common
|
170
|
+
* reductions have these properties; for example, computing a sum
|
171
|
+
* with basis 0 or a minimum with basis MAX_VALUE.
|
172
|
+
*
|
173
|
+
* <p>Search and transformation functions provided as arguments
|
174
|
+
* should similarly return null to indicate the lack of any result
|
175
|
+
* (in which case it is not used). In the case of mapped
|
176
|
+
* reductions, this also enables transformations to serve as
|
177
|
+
* filters, returning null (or, in the case of primitive
|
178
|
+
* specializations, the identity basis) if the element should not
|
179
|
+
* be combined. You can create compound transformations and
|
180
|
+
* filterings by composing them yourself under this "null means
|
181
|
+
* there is nothing there now" rule before using them in search or
|
182
|
+
* reduce operations.
|
183
|
+
*
|
184
|
+
* <p>Methods accepting and/or returning Entry arguments maintain
|
185
|
+
* key-value associations. They may be useful for example when
|
186
|
+
* finding the key for the greatest value. Note that "plain" Entry
|
187
|
+
* arguments can be supplied using {@code new
|
188
|
+
* AbstractMap.SimpleEntry(k,v)}.
|
189
|
+
*
|
190
|
+
* <p>Bulk operations may complete abruptly, throwing an
|
191
|
+
* exception encountered in the application of a supplied
|
192
|
+
* function. Bear in mind when handling such exceptions that other
|
193
|
+
* concurrently executing functions could also have thrown
|
194
|
+
* exceptions, or would have done so if the first exception had
|
195
|
+
* not occurred.
|
196
|
+
*
|
197
|
+
* <p>Parallel speedups for bulk operations compared to sequential
|
198
|
+
* processing are common but not guaranteed. Operations involving
|
199
|
+
* brief functions on small maps may execute more slowly than
|
200
|
+
* sequential loops if the underlying work to parallelize the
|
201
|
+
* computation is more expensive than the computation itself.
|
202
|
+
* Similarly, parallelization may not lead to much actual parallelism
|
203
|
+
* if all processors are busy performing unrelated tasks.
|
204
|
+
*
|
205
|
+
* <p>All arguments to all task methods must be non-null.
|
206
|
+
*
|
207
|
+
* <p><em>jsr166e note: During transition, this class
|
208
|
+
* uses nested functional interfaces with different names but the
|
209
|
+
* same forms as those expected for JDK8.</em>
|
210
|
+
*
|
211
|
+
* <p>This class is a member of the
|
212
|
+
* <a href="{@docRoot}/../technotes/guides/collections/index.html">
|
213
|
+
* Java Collections Framework</a>.
|
214
|
+
*
|
215
|
+
* @since 1.5
|
216
|
+
* @author Doug Lea
|
217
|
+
* @param <K> the type of keys maintained by this map
|
218
|
+
* @param <V> the type of mapped values
|
219
|
+
*/
|
220
|
+
public class ConcurrentHashMapV8<K, V>
|
221
|
+
implements ConcurrentMap<K, V>, Serializable, ConcurrentHashMap<K, V> {
|
222
|
+
private static final long serialVersionUID = 7249069246763182397L;
|
223
|
+
|
224
|
+
/**
|
225
|
+
* A partitionable iterator. A Spliterator can be traversed
|
226
|
+
* directly, but can also be partitioned (before traversal) by
|
227
|
+
* creating another Spliterator that covers a non-overlapping
|
228
|
+
* portion of the elements, and so may be amenable to parallel
|
229
|
+
* execution.
|
230
|
+
*
|
231
|
+
* <p>This interface exports a subset of expected JDK8
|
232
|
+
* functionality.
|
233
|
+
*
|
234
|
+
* <p>Sample usage: Here is one (of the several) ways to compute
|
235
|
+
* the sum of the values held in a map using the ForkJoin
|
236
|
+
* framework. As illustrated here, Spliterators are well suited to
|
237
|
+
* designs in which a task repeatedly splits off half its work
|
238
|
+
* into forked subtasks until small enough to process directly,
|
239
|
+
* and then joins these subtasks. Variants of this style can also
|
240
|
+
* be used in completion-based designs.
|
241
|
+
*
|
242
|
+
* <pre>
|
243
|
+
* {@code ConcurrentHashMapV8<String, Long> m = ...
|
244
|
+
* // split as if have 8 * parallelism, for load balance
|
245
|
+
* int n = m.size();
|
246
|
+
* int p = aForkJoinPool.getParallelism() * 8;
|
247
|
+
* int split = (n < p)? n : p;
|
248
|
+
* long sum = aForkJoinPool.invoke(new SumValues(m.valueSpliterator(), split, null));
|
249
|
+
* // ...
|
250
|
+
* static class SumValues extends RecursiveTask<Long> {
|
251
|
+
* final Spliterator<Long> s;
|
252
|
+
* final int split; // split while > 1
|
253
|
+
* final SumValues nextJoin; // records forked subtasks to join
|
254
|
+
* SumValues(Spliterator<Long> s, int depth, SumValues nextJoin) {
|
255
|
+
* this.s = s; this.depth = depth; this.nextJoin = nextJoin;
|
256
|
+
* }
|
257
|
+
* public Long compute() {
|
258
|
+
* long sum = 0;
|
259
|
+
* SumValues subtasks = null; // fork subtasks
|
260
|
+
* for (int s = split >>> 1; s > 0; s >>>= 1)
|
261
|
+
* (subtasks = new SumValues(s.split(), s, subtasks)).fork();
|
262
|
+
* while (s.hasNext()) // directly process remaining elements
|
263
|
+
* sum += s.next();
|
264
|
+
* for (SumValues t = subtasks; t != null; t = t.nextJoin)
|
265
|
+
* sum += t.join(); // collect subtask results
|
266
|
+
* return sum;
|
267
|
+
* }
|
268
|
+
* }
|
269
|
+
* }</pre>
|
270
|
+
*/
|
271
|
+
public static interface Spliterator<T> extends Iterator<T> {
|
272
|
+
/**
|
273
|
+
* Returns a Spliterator covering approximately half of the
|
274
|
+
* elements, guaranteed not to overlap with those subsequently
|
275
|
+
* returned by this Spliterator. After invoking this method,
|
276
|
+
* the current Spliterator will <em>not</em> produce any of
|
277
|
+
* the elements of the returned Spliterator, but the two
|
278
|
+
* Spliterators together will produce all of the elements that
|
279
|
+
* would have been produced by this Spliterator had this
|
280
|
+
* method not been called. The exact number of elements
|
281
|
+
* produced by the returned Spliterator is not guaranteed, and
|
282
|
+
* may be zero (i.e., with {@code hasNext()} reporting {@code
|
283
|
+
* false}) if this Spliterator cannot be further split.
|
284
|
+
*
|
285
|
+
* @return a Spliterator covering approximately half of the
|
286
|
+
* elements
|
287
|
+
* @throws IllegalStateException if this Spliterator has
|
288
|
+
* already commenced traversing elements
|
289
|
+
*/
|
290
|
+
Spliterator<T> split();
|
291
|
+
}
|
292
|
+
|
293
|
+
|
294
|
+
/*
|
295
|
+
* Overview:
|
296
|
+
*
|
297
|
+
* The primary design goal of this hash table is to maintain
|
298
|
+
* concurrent readability (typically method get(), but also
|
299
|
+
* iterators and related methods) while minimizing update
|
300
|
+
* contention. Secondary goals are to keep space consumption about
|
301
|
+
* the same or better than java.util.HashMap, and to support high
|
302
|
+
* initial insertion rates on an empty table by many threads.
|
303
|
+
*
|
304
|
+
* Each key-value mapping is held in a Node. Because Node fields
|
305
|
+
* can contain special values, they are defined using plain Object
|
306
|
+
* types. Similarly in turn, all internal methods that use them
|
307
|
+
* work off Object types. And similarly, so do the internal
|
308
|
+
* methods of auxiliary iterator and view classes. All public
|
309
|
+
* generic typed methods relay in/out of these internal methods,
|
310
|
+
* supplying null-checks and casts as needed. This also allows
|
311
|
+
* many of the public methods to be factored into a smaller number
|
312
|
+
* of internal methods (although sadly not so for the five
|
313
|
+
* variants of put-related operations). The validation-based
|
314
|
+
* approach explained below leads to a lot of code sprawl because
|
315
|
+
* retry-control precludes factoring into smaller methods.
|
316
|
+
*
|
317
|
+
* The table is lazily initialized to a power-of-two size upon the
|
318
|
+
* first insertion. Each bin in the table normally contains a
|
319
|
+
* list of Nodes (most often, the list has only zero or one Node).
|
320
|
+
* Table accesses require volatile/atomic reads, writes, and
|
321
|
+
* CASes. Because there is no other way to arrange this without
|
322
|
+
* adding further indirections, we use intrinsics
|
323
|
+
* (sun.misc.Unsafe) operations. The lists of nodes within bins
|
324
|
+
* are always accurately traversable under volatile reads, so long
|
325
|
+
* as lookups check hash code and non-nullness of value before
|
326
|
+
* checking key equality.
|
327
|
+
*
|
328
|
+
* We use the top two bits of Node hash fields for control
|
329
|
+
* purposes -- they are available anyway because of addressing
|
330
|
+
* constraints. As explained further below, these top bits are
|
331
|
+
* used as follows:
|
332
|
+
* 00 - Normal
|
333
|
+
* 01 - Locked
|
334
|
+
* 11 - Locked and may have a thread waiting for lock
|
335
|
+
* 10 - Node is a forwarding node
|
336
|
+
*
|
337
|
+
* The lower 30 bits of each Node's hash field contain a
|
338
|
+
* transformation of the key's hash code, except for forwarding
|
339
|
+
* nodes, for which the lower bits are zero (and so always have
|
340
|
+
* hash field == MOVED).
|
341
|
+
*
|
342
|
+
* Insertion (via put or its variants) of the first node in an
|
343
|
+
* empty bin is performed by just CASing it to the bin. This is
|
344
|
+
* by far the most common case for put operations under most
|
345
|
+
* key/hash distributions. Other update operations (insert,
|
346
|
+
* delete, and replace) require locks. We do not want to waste
|
347
|
+
* the space required to associate a distinct lock object with
|
348
|
+
* each bin, so instead use the first node of a bin list itself as
|
349
|
+
* a lock. Blocking support for these locks relies on the builtin
|
350
|
+
* "synchronized" monitors. However, we also need a tryLock
|
351
|
+
* construction, so we overlay these by using bits of the Node
|
352
|
+
* hash field for lock control (see above), and so normally use
|
353
|
+
* builtin monitors only for blocking and signalling using
|
354
|
+
* wait/notifyAll constructions. See Node.tryAwaitLock.
|
355
|
+
*
|
356
|
+
* Using the first node of a list as a lock does not by itself
|
357
|
+
* suffice though: When a node is locked, any update must first
|
358
|
+
* validate that it is still the first node after locking it, and
|
359
|
+
* retry if not. Because new nodes are always appended to lists,
|
360
|
+
* once a node is first in a bin, it remains first until deleted
|
361
|
+
* or the bin becomes invalidated (upon resizing). However,
|
362
|
+
* operations that only conditionally update may inspect nodes
|
363
|
+
* until the point of update. This is a converse of sorts to the
|
364
|
+
* lazy locking technique described by Herlihy & Shavit.
|
365
|
+
*
|
366
|
+
* The main disadvantage of per-bin locks is that other update
|
367
|
+
* operations on other nodes in a bin list protected by the same
|
368
|
+
* lock can stall, for example when user equals() or mapping
|
369
|
+
* functions take a long time. However, statistically, under
|
370
|
+
* random hash codes, this is not a common problem. Ideally, the
|
371
|
+
* frequency of nodes in bins follows a Poisson distribution
|
372
|
+
* (http://en.wikipedia.org/wiki/Poisson_distribution) with a
|
373
|
+
* parameter of about 0.5 on average, given the resizing threshold
|
374
|
+
* of 0.75, although with a large variance because of resizing
|
375
|
+
* granularity. Ignoring variance, the expected occurrences of
|
376
|
+
* list size k are (exp(-0.5) * pow(0.5, k) / factorial(k)). The
|
377
|
+
* first values are:
|
378
|
+
*
|
379
|
+
* 0: 0.60653066
|
380
|
+
* 1: 0.30326533
|
381
|
+
* 2: 0.07581633
|
382
|
+
* 3: 0.01263606
|
383
|
+
* 4: 0.00157952
|
384
|
+
* 5: 0.00015795
|
385
|
+
* 6: 0.00001316
|
386
|
+
* 7: 0.00000094
|
387
|
+
* 8: 0.00000006
|
388
|
+
* more: less than 1 in ten million
|
389
|
+
*
|
390
|
+
* Lock contention probability for two threads accessing distinct
|
391
|
+
* elements is roughly 1 / (8 * #elements) under random hashes.
|
392
|
+
*
|
393
|
+
* Actual hash code distributions encountered in practice
|
394
|
+
* sometimes deviate significantly from uniform randomness. This
|
395
|
+
* includes the case when N > (1<<30), so some keys MUST collide.
|
396
|
+
* Similarly for dumb or hostile usages in which multiple keys are
|
397
|
+
* designed to have identical hash codes. Also, although we guard
|
398
|
+
* against the worst effects of this (see method spread), sets of
|
399
|
+
* hashes may differ only in bits that do not impact their bin
|
400
|
+
* index for a given power-of-two mask. So we use a secondary
|
401
|
+
* strategy that applies when the number of nodes in a bin exceeds
|
402
|
+
* a threshold, and at least one of the keys implements
|
403
|
+
* Comparable. These TreeBins use a balanced tree to hold nodes
|
404
|
+
* (a specialized form of red-black trees), bounding search time
|
405
|
+
* to O(log N). Each search step in a TreeBin is around twice as
|
406
|
+
* slow as in a regular list, but given that N cannot exceed
|
407
|
+
* (1<<64) (before running out of addresses) this bounds search
|
408
|
+
* steps, lock hold times, etc, to reasonable constants (roughly
|
409
|
+
* 100 nodes inspected per operation worst case) so long as keys
|
410
|
+
* are Comparable (which is very common -- String, Long, etc).
|
411
|
+
* TreeBin nodes (TreeNodes) also maintain the same "next"
|
412
|
+
* traversal pointers as regular nodes, so can be traversed in
|
413
|
+
* iterators in the same way.
|
414
|
+
*
|
415
|
+
* The table is resized when occupancy exceeds a percentage
|
416
|
+
* threshold (nominally, 0.75, but see below). Only a single
|
417
|
+
* thread performs the resize (using field "sizeCtl", to arrange
|
418
|
+
* exclusion), but the table otherwise remains usable for reads
|
419
|
+
* and updates. Resizing proceeds by transferring bins, one by
|
420
|
+
* one, from the table to the next table. Because we are using
|
421
|
+
* power-of-two expansion, the elements from each bin must either
|
422
|
+
* stay at same index, or move with a power of two offset. We
|
423
|
+
* eliminate unnecessary node creation by catching cases where old
|
424
|
+
* nodes can be reused because their next fields won't change. On
|
425
|
+
* average, only about one-sixth of them need cloning when a table
|
426
|
+
* doubles. The nodes they replace will be garbage collectable as
|
427
|
+
* soon as they are no longer referenced by any reader thread that
|
428
|
+
* may be in the midst of concurrently traversing table. Upon
|
429
|
+
* transfer, the old table bin contains only a special forwarding
|
430
|
+
* node (with hash field "MOVED") that contains the next table as
|
431
|
+
* its key. On encountering a forwarding node, access and update
|
432
|
+
* operations restart, using the new table.
|
433
|
+
*
|
434
|
+
* Each bin transfer requires its bin lock. However, unlike other
|
435
|
+
* cases, a transfer can skip a bin if it fails to acquire its
|
436
|
+
* lock, and revisit it later (unless it is a TreeBin). Method
|
437
|
+
* rebuild maintains a buffer of TRANSFER_BUFFER_SIZE bins that
|
438
|
+
* have been skipped because of failure to acquire a lock, and
|
439
|
+
* blocks only if none are available (i.e., only very rarely).
|
440
|
+
* The transfer operation must also ensure that all accessible
|
441
|
+
* bins in both the old and new table are usable by any traversal.
|
442
|
+
* When there are no lock acquisition failures, this is arranged
|
443
|
+
* simply by proceeding from the last bin (table.length - 1) up
|
444
|
+
* towards the first. Upon seeing a forwarding node, traversals
|
445
|
+
* (see class Iter) arrange to move to the new table
|
446
|
+
* without revisiting nodes. However, when any node is skipped
|
447
|
+
* during a transfer, all earlier table bins may have become
|
448
|
+
* visible, so are initialized with a reverse-forwarding node back
|
449
|
+
* to the old table until the new ones are established. (This
|
450
|
+
* sometimes requires transiently locking a forwarding node, which
|
451
|
+
* is possible under the above encoding.) These more expensive
|
452
|
+
* mechanics trigger only when necessary.
|
453
|
+
*
|
454
|
+
* The traversal scheme also applies to partial traversals of
|
455
|
+
* ranges of bins (via an alternate Traverser constructor)
|
456
|
+
* to support partitioned aggregate operations. Also, read-only
|
457
|
+
* operations give up if ever forwarded to a null table, which
|
458
|
+
* provides support for shutdown-style clearing, which is also not
|
459
|
+
* currently implemented.
|
460
|
+
*
|
461
|
+
* Lazy table initialization minimizes footprint until first use,
|
462
|
+
* and also avoids resizings when the first operation is from a
|
463
|
+
* putAll, constructor with map argument, or deserialization.
|
464
|
+
* These cases attempt to override the initial capacity settings,
|
465
|
+
* but harmlessly fail to take effect in cases of races.
|
466
|
+
*
|
467
|
+
* The element count is maintained using a LongAdder, which avoids
|
468
|
+
* contention on updates but can encounter cache thrashing if read
|
469
|
+
* too frequently during concurrent access. To avoid reading so
|
470
|
+
* often, resizing is attempted either when a bin lock is
|
471
|
+
* contended, or upon adding to a bin already holding two or more
|
472
|
+
* nodes (checked before adding in the xIfAbsent methods, after
|
473
|
+
* adding in others). Under uniform hash distributions, the
|
474
|
+
* probability of this occurring at threshold is around 13%,
|
475
|
+
* meaning that only about 1 in 8 puts check threshold (and after
|
476
|
+
* resizing, many fewer do so). But this approximation has high
|
477
|
+
* variance for small table sizes, so we check on any collision
|
478
|
+
* for sizes <= 64. The bulk putAll operation further reduces
|
479
|
+
* contention by only committing count updates upon these size
|
480
|
+
* checks.
|
481
|
+
*
|
482
|
+
* Maintaining API and serialization compatibility with previous
|
483
|
+
* versions of this class introduces several oddities. Mainly: We
|
484
|
+
* leave untouched but unused constructor arguments refering to
|
485
|
+
* concurrencyLevel. We accept a loadFactor constructor argument,
|
486
|
+
* but apply it only to initial table capacity (which is the only
|
487
|
+
* time that we can guarantee to honor it.) We also declare an
|
488
|
+
* unused "Segment" class that is instantiated in minimal form
|
489
|
+
* only when serializing.
|
490
|
+
*/
|
491
|
+
|
492
|
+
/* ---------------- Constants -------------- */
|
493
|
+
|
494
|
+
/**
|
495
|
+
* The largest possible table capacity. This value must be
|
496
|
+
* exactly 1<<30 to stay within Java array allocation and indexing
|
497
|
+
* bounds for power of two table sizes, and is further required
|
498
|
+
* because the top two bits of 32bit hash fields are used for
|
499
|
+
* control purposes.
|
500
|
+
*/
|
501
|
+
private static final int MAXIMUM_CAPACITY = 1 << 30;
|
502
|
+
|
503
|
+
/**
|
504
|
+
* The default initial table capacity. Must be a power of 2
|
505
|
+
* (i.e., at least 1) and at most MAXIMUM_CAPACITY.
|
506
|
+
*/
|
507
|
+
private static final int DEFAULT_CAPACITY = 16;
|
508
|
+
|
509
|
+
/**
|
510
|
+
* The largest possible (non-power of two) array size.
|
511
|
+
* Needed by toArray and related methods.
|
512
|
+
*/
|
513
|
+
static final int MAX_ARRAY_SIZE = Integer.MAX_VALUE - 8;
|
514
|
+
|
515
|
+
/**
|
516
|
+
* The default concurrency level for this table. Unused but
|
517
|
+
* defined for compatibility with previous versions of this class.
|
518
|
+
*/
|
519
|
+
private static final int DEFAULT_CONCURRENCY_LEVEL = 16;
|
520
|
+
|
521
|
+
/**
|
522
|
+
* The load factor for this table. Overrides of this value in
|
523
|
+
* constructors affect only the initial table capacity. The
|
524
|
+
* actual floating point value isn't normally used -- it is
|
525
|
+
* simpler to use expressions such as {@code n - (n >>> 2)} for
|
526
|
+
* the associated resizing threshold.
|
527
|
+
*/
|
528
|
+
private static final float LOAD_FACTOR = 0.75f;
|
529
|
+
|
530
|
+
/**
|
531
|
+
* The buffer size for skipped bins during transfers. The
|
532
|
+
* value is arbitrary but should be large enough to avoid
|
533
|
+
* most locking stalls during resizes.
|
534
|
+
*/
|
535
|
+
private static final int TRANSFER_BUFFER_SIZE = 32;
|
536
|
+
|
537
|
+
/**
|
538
|
+
* The bin count threshold for using a tree rather than list for a
|
539
|
+
* bin. The value reflects the approximate break-even point for
|
540
|
+
* using tree-based operations.
|
541
|
+
* Note that Doug's version defaults to 8, but when dealing with
|
542
|
+
* Ruby objects it is actually beneficial to avoid TreeNodes
|
543
|
+
* as long as possible as it usually means going into Ruby land.
|
544
|
+
*/
|
545
|
+
private static final int TREE_THRESHOLD = 16;
|
546
|
+
|
547
|
+
/*
|
548
|
+
* Encodings for special uses of Node hash fields. See above for
|
549
|
+
* explanation.
|
550
|
+
*/
|
551
|
+
static final int MOVED = 0x80000000; // hash field for forwarding nodes
|
552
|
+
static final int LOCKED = 0x40000000; // set/tested only as a bit
|
553
|
+
static final int WAITING = 0xc0000000; // both bits set/tested together
|
554
|
+
static final int HASH_BITS = 0x3fffffff; // usable bits of normal node hash
|
555
|
+
|
556
|
+
/* ---------------- Fields -------------- */
|
557
|
+
|
558
|
+
/**
|
559
|
+
* The array of bins. Lazily initialized upon first insertion.
|
560
|
+
* Size is always a power of two. Accessed directly by iterators.
|
561
|
+
*/
|
562
|
+
transient volatile Node[] table;
|
563
|
+
|
564
|
+
/**
|
565
|
+
* The counter maintaining number of elements.
|
566
|
+
*/
|
567
|
+
private transient final LongAdder counter;
|
568
|
+
|
569
|
+
/**
|
570
|
+
* Table initialization and resizing control. When negative, the
|
571
|
+
* table is being initialized or resized. Otherwise, when table is
|
572
|
+
* null, holds the initial table size to use upon creation, or 0
|
573
|
+
* for default. After initialization, holds the next element count
|
574
|
+
* value upon which to resize the table.
|
575
|
+
*/
|
576
|
+
private transient volatile int sizeCtl;
|
577
|
+
|
578
|
+
// views
|
579
|
+
private transient KeySetView<K,V> keySet;
|
580
|
+
private transient ValuesView<K,V> values;
|
581
|
+
private transient EntrySetView<K,V> entrySet;
|
582
|
+
|
583
|
+
/** For serialization compatibility. Null unless serialized; see below */
|
584
|
+
private Segment<K,V>[] segments;
|
585
|
+
|
586
|
+
/* ---------------- Table element access -------------- */
|
587
|
+
|
588
|
+
/*
|
589
|
+
* Volatile access methods are used for table elements as well as
|
590
|
+
* elements of in-progress next table while resizing. Uses are
|
591
|
+
* null checked by callers, and implicitly bounds-checked, relying
|
592
|
+
* on the invariants that tab arrays have non-zero size, and all
|
593
|
+
* indices are masked with (tab.length - 1) which is never
|
594
|
+
* negative and always less than length. Note that, to be correct
|
595
|
+
* wrt arbitrary concurrency errors by users, bounds checks must
|
596
|
+
* operate on local variables, which accounts for some odd-looking
|
597
|
+
* inline assignments below.
|
598
|
+
*/
|
599
|
+
|
600
|
+
static final Node tabAt(Node[] tab, int i) { // used by Iter
|
601
|
+
return (Node)UNSAFE.getObjectVolatile(tab, ((long)i<<ASHIFT)+ABASE);
|
602
|
+
}
|
603
|
+
|
604
|
+
private static final boolean casTabAt(Node[] tab, int i, Node c, Node v) {
|
605
|
+
return UNSAFE.compareAndSwapObject(tab, ((long)i<<ASHIFT)+ABASE, c, v);
|
606
|
+
}
|
607
|
+
|
608
|
+
private static final void setTabAt(Node[] tab, int i, Node v) {
|
609
|
+
UNSAFE.putObjectVolatile(tab, ((long)i<<ASHIFT)+ABASE, v);
|
610
|
+
}
|
611
|
+
|
612
|
+
/* ---------------- Nodes -------------- */
|
613
|
+
|
614
|
+
/**
|
615
|
+
* Key-value entry. Note that this is never exported out as a
|
616
|
+
* user-visible Map.Entry (see MapEntry below). Nodes with a hash
|
617
|
+
* field of MOVED are special, and do not contain user keys or
|
618
|
+
* values. Otherwise, keys are never null, and null val fields
|
619
|
+
* indicate that a node is in the process of being deleted or
|
620
|
+
* created. For purposes of read-only access, a key may be read
|
621
|
+
* before a val, but can only be used after checking val to be
|
622
|
+
* non-null.
|
623
|
+
*/
|
624
|
+
static class Node {
|
625
|
+
volatile int hash;
|
626
|
+
final Object key;
|
627
|
+
volatile Object val;
|
628
|
+
volatile Node next;
|
629
|
+
|
630
|
+
Node(int hash, Object key, Object val, Node next) {
|
631
|
+
this.hash = hash;
|
632
|
+
this.key = key;
|
633
|
+
this.val = val;
|
634
|
+
this.next = next;
|
635
|
+
}
|
636
|
+
|
637
|
+
/** CompareAndSet the hash field */
|
638
|
+
final boolean casHash(int cmp, int val) {
|
639
|
+
return UNSAFE.compareAndSwapInt(this, hashOffset, cmp, val);
|
640
|
+
}
|
641
|
+
|
642
|
+
/** The number of spins before blocking for a lock */
|
643
|
+
static final int MAX_SPINS =
|
644
|
+
Runtime.getRuntime().availableProcessors() > 1 ? 64 : 1;
|
645
|
+
|
646
|
+
/**
|
647
|
+
* Spins a while if LOCKED bit set and this node is the first
|
648
|
+
* of its bin, and then sets WAITING bits on hash field and
|
649
|
+
* blocks (once) if they are still set. It is OK for this
|
650
|
+
* method to return even if lock is not available upon exit,
|
651
|
+
* which enables these simple single-wait mechanics.
|
652
|
+
*
|
653
|
+
* The corresponding signalling operation is performed within
|
654
|
+
* callers: Upon detecting that WAITING has been set when
|
655
|
+
* unlocking lock (via a failed CAS from non-waiting LOCKED
|
656
|
+
* state), unlockers acquire the sync lock and perform a
|
657
|
+
* notifyAll.
|
658
|
+
*
|
659
|
+
* The initial sanity check on tab and bounds is not currently
|
660
|
+
* necessary in the only usages of this method, but enables
|
661
|
+
* use in other future contexts.
|
662
|
+
*/
|
663
|
+
final void tryAwaitLock(Node[] tab, int i) {
|
664
|
+
if (tab != null && i >= 0 && i < tab.length) { // sanity check
|
665
|
+
int r = ThreadLocalRandom.current().nextInt(); // randomize spins
|
666
|
+
int spins = MAX_SPINS, h;
|
667
|
+
while (tabAt(tab, i) == this && ((h = hash) & LOCKED) != 0) {
|
668
|
+
if (spins >= 0) {
|
669
|
+
r ^= r << 1; r ^= r >>> 3; r ^= r << 10; // xorshift
|
670
|
+
if (r >= 0 && --spins == 0)
|
671
|
+
Thread.yield(); // yield before block
|
672
|
+
}
|
673
|
+
else if (casHash(h, h | WAITING)) {
|
674
|
+
synchronized (this) {
|
675
|
+
if (tabAt(tab, i) == this &&
|
676
|
+
(hash & WAITING) == WAITING) {
|
677
|
+
try {
|
678
|
+
wait();
|
679
|
+
} catch (InterruptedException ie) {
|
680
|
+
Thread.currentThread().interrupt();
|
681
|
+
}
|
682
|
+
}
|
683
|
+
else
|
684
|
+
notifyAll(); // possibly won race vs signaller
|
685
|
+
}
|
686
|
+
break;
|
687
|
+
}
|
688
|
+
}
|
689
|
+
}
|
690
|
+
}
|
691
|
+
|
692
|
+
// Unsafe mechanics for casHash
|
693
|
+
private static final sun.misc.Unsafe UNSAFE;
|
694
|
+
private static final long hashOffset;
|
695
|
+
|
696
|
+
static {
|
697
|
+
try {
|
698
|
+
UNSAFE = getUnsafe();
|
699
|
+
Class<?> k = Node.class;
|
700
|
+
hashOffset = UNSAFE.objectFieldOffset
|
701
|
+
(k.getDeclaredField("hash"));
|
702
|
+
} catch (Exception e) {
|
703
|
+
throw new Error(e);
|
704
|
+
}
|
705
|
+
}
|
706
|
+
}
|
707
|
+
|
708
|
+
/* ---------------- TreeBins -------------- */
|
709
|
+
|
710
|
+
/**
|
711
|
+
* Nodes for use in TreeBins
|
712
|
+
*/
|
713
|
+
static final class TreeNode extends Node {
|
714
|
+
TreeNode parent; // red-black tree links
|
715
|
+
TreeNode left;
|
716
|
+
TreeNode right;
|
717
|
+
TreeNode prev; // needed to unlink next upon deletion
|
718
|
+
boolean red;
|
719
|
+
|
720
|
+
TreeNode(int hash, Object key, Object val, Node next, TreeNode parent) {
|
721
|
+
super(hash, key, val, next);
|
722
|
+
this.parent = parent;
|
723
|
+
}
|
724
|
+
}
|
725
|
+
|
726
|
+
/**
|
727
|
+
* A specialized form of red-black tree for use in bins
|
728
|
+
* whose size exceeds a threshold.
|
729
|
+
*
|
730
|
+
* TreeBins use a special form of comparison for search and
|
731
|
+
* related operations (which is the main reason we cannot use
|
732
|
+
* existing collections such as TreeMaps). TreeBins contain
|
733
|
+
* Comparable elements, but may contain others, as well as
|
734
|
+
* elements that are Comparable but not necessarily Comparable<T>
|
735
|
+
* for the same T, so we cannot invoke compareTo among them. To
|
736
|
+
* handle this, the tree is ordered primarily by hash value, then
|
737
|
+
* by getClass().getName() order, and then by Comparator order
|
738
|
+
* among elements of the same class. On lookup at a node, if
|
739
|
+
* elements are not comparable or compare as 0, both left and
|
740
|
+
* right children may need to be searched in the case of tied hash
|
741
|
+
* values. (This corresponds to the full list search that would be
|
742
|
+
* necessary if all elements were non-Comparable and had tied
|
743
|
+
* hashes.) The red-black balancing code is updated from
|
744
|
+
* pre-jdk-collections
|
745
|
+
* (http://gee.cs.oswego.edu/dl/classes/collections/RBCell.java)
|
746
|
+
* based in turn on Cormen, Leiserson, and Rivest "Introduction to
|
747
|
+
* Algorithms" (CLR).
|
748
|
+
*
|
749
|
+
* TreeBins also maintain a separate locking discipline than
|
750
|
+
* regular bins. Because they are forwarded via special MOVED
|
751
|
+
* nodes at bin heads (which can never change once established),
|
752
|
+
* we cannot use those nodes as locks. Instead, TreeBin
|
753
|
+
* extends AbstractQueuedSynchronizer to support a simple form of
|
754
|
+
* read-write lock. For update operations and table validation,
|
755
|
+
* the exclusive form of lock behaves in the same way as bin-head
|
756
|
+
* locks. However, lookups use shared read-lock mechanics to allow
|
757
|
+
* multiple readers in the absence of writers. Additionally,
|
758
|
+
* these lookups do not ever block: While the lock is not
|
759
|
+
* available, they proceed along the slow traversal path (via
|
760
|
+
* next-pointers) until the lock becomes available or the list is
|
761
|
+
* exhausted, whichever comes first. (These cases are not fast,
|
762
|
+
* but maximize aggregate expected throughput.) The AQS mechanics
|
763
|
+
* for doing this are straightforward. The lock state is held as
|
764
|
+
* AQS getState(). Read counts are negative; the write count (1)
|
765
|
+
* is positive. There are no signalling preferences among readers
|
766
|
+
* and writers. Since we don't need to export full Lock API, we
|
767
|
+
* just override the minimal AQS methods and use them directly.
|
768
|
+
*/
|
769
|
+
static final class TreeBin extends AbstractQueuedSynchronizer {
|
770
|
+
private static final long serialVersionUID = 2249069246763182397L;
|
771
|
+
transient TreeNode root; // root of tree
|
772
|
+
transient TreeNode first; // head of next-pointer list
|
773
|
+
|
774
|
+
/* AQS overrides */
|
775
|
+
public final boolean isHeldExclusively() { return getState() > 0; }
|
776
|
+
public final boolean tryAcquire(int ignore) {
|
777
|
+
if (compareAndSetState(0, 1)) {
|
778
|
+
setExclusiveOwnerThread(Thread.currentThread());
|
779
|
+
return true;
|
780
|
+
}
|
781
|
+
return false;
|
782
|
+
}
|
783
|
+
public final boolean tryRelease(int ignore) {
|
784
|
+
setExclusiveOwnerThread(null);
|
785
|
+
setState(0);
|
786
|
+
return true;
|
787
|
+
}
|
788
|
+
public final int tryAcquireShared(int ignore) {
|
789
|
+
for (int c;;) {
|
790
|
+
if ((c = getState()) > 0)
|
791
|
+
return -1;
|
792
|
+
if (compareAndSetState(c, c -1))
|
793
|
+
return 1;
|
794
|
+
}
|
795
|
+
}
|
796
|
+
public final boolean tryReleaseShared(int ignore) {
|
797
|
+
int c;
|
798
|
+
do {} while (!compareAndSetState(c = getState(), c + 1));
|
799
|
+
return c == -1;
|
800
|
+
}
|
801
|
+
|
802
|
+
/** From CLR */
|
803
|
+
private void rotateLeft(TreeNode p) {
|
804
|
+
if (p != null) {
|
805
|
+
TreeNode r = p.right, pp, rl;
|
806
|
+
if ((rl = p.right = r.left) != null)
|
807
|
+
rl.parent = p;
|
808
|
+
if ((pp = r.parent = p.parent) == null)
|
809
|
+
root = r;
|
810
|
+
else if (pp.left == p)
|
811
|
+
pp.left = r;
|
812
|
+
else
|
813
|
+
pp.right = r;
|
814
|
+
r.left = p;
|
815
|
+
p.parent = r;
|
816
|
+
}
|
817
|
+
}
|
818
|
+
|
819
|
+
/** From CLR */
|
820
|
+
private void rotateRight(TreeNode p) {
|
821
|
+
if (p != null) {
|
822
|
+
TreeNode l = p.left, pp, lr;
|
823
|
+
if ((lr = p.left = l.right) != null)
|
824
|
+
lr.parent = p;
|
825
|
+
if ((pp = l.parent = p.parent) == null)
|
826
|
+
root = l;
|
827
|
+
else if (pp.right == p)
|
828
|
+
pp.right = l;
|
829
|
+
else
|
830
|
+
pp.left = l;
|
831
|
+
l.right = p;
|
832
|
+
p.parent = l;
|
833
|
+
}
|
834
|
+
}
|
835
|
+
|
836
|
+
@SuppressWarnings("unchecked") final TreeNode getTreeNode
|
837
|
+
(int h, Object k, TreeNode p) {
|
838
|
+
return getTreeNode(h, (RubyObject)k, p);
|
839
|
+
}
|
840
|
+
|
841
|
+
/**
|
842
|
+
* Returns the TreeNode (or null if not found) for the given key
|
843
|
+
* starting at given root.
|
844
|
+
*/
|
845
|
+
@SuppressWarnings("unchecked") final TreeNode getTreeNode
|
846
|
+
(int h, RubyObject k, TreeNode p) {
|
847
|
+
RubyClass c = k.getMetaClass(); boolean kNotComparable = !k.respondsTo("<=>");
|
848
|
+
while (p != null) {
|
849
|
+
int dir, ph; RubyObject pk; RubyClass pc;
|
850
|
+
if ((ph = p.hash) == h) {
|
851
|
+
if ((pk = (RubyObject)p.key) == k || k.equals(pk))
|
852
|
+
return p;
|
853
|
+
if (c != (pc = (RubyClass)pk.getMetaClass()) ||
|
854
|
+
kNotComparable ||
|
855
|
+
(dir = rubyCompare(k, pk)) == 0) {
|
856
|
+
dir = (c == pc) ? 0 : c.getName().compareTo(pc.getName());
|
857
|
+
if (dir == 0) { // if still stuck, need to check both sides
|
858
|
+
TreeNode r = null, pl, pr;
|
859
|
+
// try to recurse on the right
|
860
|
+
if ((pr = p.right) != null && h >= pr.hash && (r = getTreeNode(h, k, pr)) != null)
|
861
|
+
return r;
|
862
|
+
// try to continue iterating on the left side
|
863
|
+
else if ((pl = p.left) != null && h <= pl.hash)
|
864
|
+
dir = -1;
|
865
|
+
else // no matching node found
|
866
|
+
return null;
|
867
|
+
}
|
868
|
+
}
|
869
|
+
}
|
870
|
+
else
|
871
|
+
dir = (h < ph) ? -1 : 1;
|
872
|
+
p = (dir > 0) ? p.right : p.left;
|
873
|
+
}
|
874
|
+
return null;
|
875
|
+
}
|
876
|
+
|
877
|
+
int rubyCompare(RubyObject l, RubyObject r) {
|
878
|
+
ThreadContext context = l.getMetaClass().getRuntime().getCurrentContext();
|
879
|
+
IRubyObject result;
|
880
|
+
try {
|
881
|
+
result = l.callMethod(context, "<=>", r);
|
882
|
+
} catch (RaiseException e) {
|
883
|
+
// handle objects "lying" about responding to <=>, ie: an Array containing non-comparable keys
|
884
|
+
if (context.runtime.getNoMethodError().isInstance(e.getException())) {
|
885
|
+
return 0;
|
886
|
+
}
|
887
|
+
throw e;
|
888
|
+
}
|
889
|
+
|
890
|
+
return result.isNil() ? 0 : RubyNumeric.num2int(result.convertToInteger());
|
891
|
+
}
|
892
|
+
|
893
|
+
/**
|
894
|
+
* Wrapper for getTreeNode used by CHM.get. Tries to obtain
|
895
|
+
* read-lock to call getTreeNode, but during failure to get
|
896
|
+
* lock, searches along next links.
|
897
|
+
*/
|
898
|
+
final Object getValue(int h, Object k) {
|
899
|
+
Node r = null;
|
900
|
+
int c = getState(); // Must read lock state first
|
901
|
+
for (Node e = first; e != null; e = e.next) {
|
902
|
+
if (c <= 0 && compareAndSetState(c, c - 1)) {
|
903
|
+
try {
|
904
|
+
r = getTreeNode(h, k, root);
|
905
|
+
} finally {
|
906
|
+
releaseShared(0);
|
907
|
+
}
|
908
|
+
break;
|
909
|
+
}
|
910
|
+
else if ((e.hash & HASH_BITS) == h && k.equals(e.key)) {
|
911
|
+
r = e;
|
912
|
+
break;
|
913
|
+
}
|
914
|
+
else
|
915
|
+
c = getState();
|
916
|
+
}
|
917
|
+
return r == null ? null : r.val;
|
918
|
+
}
|
919
|
+
|
920
|
+
@SuppressWarnings("unchecked") final TreeNode putTreeNode
|
921
|
+
(int h, Object k, Object v) {
|
922
|
+
return putTreeNode(h, (RubyObject)k, v);
|
923
|
+
}
|
924
|
+
|
925
|
+
/**
|
926
|
+
* Finds or adds a node.
|
927
|
+
* @return null if added
|
928
|
+
*/
|
929
|
+
@SuppressWarnings("unchecked") final TreeNode putTreeNode
|
930
|
+
(int h, RubyObject k, Object v) {
|
931
|
+
RubyClass c = k.getMetaClass();
|
932
|
+
boolean kNotComparable = !k.respondsTo("<=>");
|
933
|
+
TreeNode pp = root, p = null;
|
934
|
+
int dir = 0;
|
935
|
+
while (pp != null) { // find existing node or leaf to insert at
|
936
|
+
int ph; RubyObject pk; RubyClass pc;
|
937
|
+
p = pp;
|
938
|
+
if ((ph = p.hash) == h) {
|
939
|
+
if ((pk = (RubyObject)p.key) == k || k.equals(pk))
|
940
|
+
return p;
|
941
|
+
if (c != (pc = pk.getMetaClass()) ||
|
942
|
+
kNotComparable ||
|
943
|
+
(dir = rubyCompare(k, pk)) == 0) {
|
944
|
+
dir = (c == pc) ? 0 : c.getName().compareTo(pc.getName());
|
945
|
+
if (dir == 0) { // if still stuck, need to check both sides
|
946
|
+
TreeNode r = null, pr;
|
947
|
+
// try to recurse on the right
|
948
|
+
if ((pr = p.right) != null && h >= pr.hash && (r = getTreeNode(h, k, pr)) != null)
|
949
|
+
return r;
|
950
|
+
else // continue descending down the left subtree
|
951
|
+
dir = -1;
|
952
|
+
}
|
953
|
+
}
|
954
|
+
}
|
955
|
+
else
|
956
|
+
dir = (h < ph) ? -1 : 1;
|
957
|
+
pp = (dir > 0) ? p.right : p.left;
|
958
|
+
}
|
959
|
+
|
960
|
+
TreeNode f = first;
|
961
|
+
TreeNode x = first = new TreeNode(h, (Object)k, v, f, p);
|
962
|
+
if (p == null)
|
963
|
+
root = x;
|
964
|
+
else { // attach and rebalance; adapted from CLR
|
965
|
+
TreeNode xp, xpp;
|
966
|
+
if (f != null)
|
967
|
+
f.prev = x;
|
968
|
+
if (dir <= 0)
|
969
|
+
p.left = x;
|
970
|
+
else
|
971
|
+
p.right = x;
|
972
|
+
x.red = true;
|
973
|
+
while (x != null && (xp = x.parent) != null && xp.red &&
|
974
|
+
(xpp = xp.parent) != null) {
|
975
|
+
TreeNode xppl = xpp.left;
|
976
|
+
if (xp == xppl) {
|
977
|
+
TreeNode y = xpp.right;
|
978
|
+
if (y != null && y.red) {
|
979
|
+
y.red = false;
|
980
|
+
xp.red = false;
|
981
|
+
xpp.red = true;
|
982
|
+
x = xpp;
|
983
|
+
}
|
984
|
+
else {
|
985
|
+
if (x == xp.right) {
|
986
|
+
rotateLeft(x = xp);
|
987
|
+
xpp = (xp = x.parent) == null ? null : xp.parent;
|
988
|
+
}
|
989
|
+
if (xp != null) {
|
990
|
+
xp.red = false;
|
991
|
+
if (xpp != null) {
|
992
|
+
xpp.red = true;
|
993
|
+
rotateRight(xpp);
|
994
|
+
}
|
995
|
+
}
|
996
|
+
}
|
997
|
+
}
|
998
|
+
else {
|
999
|
+
TreeNode y = xppl;
|
1000
|
+
if (y != null && y.red) {
|
1001
|
+
y.red = false;
|
1002
|
+
xp.red = false;
|
1003
|
+
xpp.red = true;
|
1004
|
+
x = xpp;
|
1005
|
+
}
|
1006
|
+
else {
|
1007
|
+
if (x == xp.left) {
|
1008
|
+
rotateRight(x = xp);
|
1009
|
+
xpp = (xp = x.parent) == null ? null : xp.parent;
|
1010
|
+
}
|
1011
|
+
if (xp != null) {
|
1012
|
+
xp.red = false;
|
1013
|
+
if (xpp != null) {
|
1014
|
+
xpp.red = true;
|
1015
|
+
rotateLeft(xpp);
|
1016
|
+
}
|
1017
|
+
}
|
1018
|
+
}
|
1019
|
+
}
|
1020
|
+
}
|
1021
|
+
TreeNode r = root;
|
1022
|
+
if (r != null && r.red)
|
1023
|
+
r.red = false;
|
1024
|
+
}
|
1025
|
+
return null;
|
1026
|
+
}
|
1027
|
+
|
1028
|
+
/**
|
1029
|
+
* Removes the given node, that must be present before this
|
1030
|
+
* call. This is messier than typical red-black deletion code
|
1031
|
+
* because we cannot swap the contents of an interior node
|
1032
|
+
* with a leaf successor that is pinned by "next" pointers
|
1033
|
+
* that are accessible independently of lock. So instead we
|
1034
|
+
* swap the tree linkages.
|
1035
|
+
*/
|
1036
|
+
final void deleteTreeNode(TreeNode p) {
|
1037
|
+
TreeNode next = (TreeNode)p.next; // unlink traversal pointers
|
1038
|
+
TreeNode pred = p.prev;
|
1039
|
+
if (pred == null)
|
1040
|
+
first = next;
|
1041
|
+
else
|
1042
|
+
pred.next = next;
|
1043
|
+
if (next != null)
|
1044
|
+
next.prev = pred;
|
1045
|
+
TreeNode replacement;
|
1046
|
+
TreeNode pl = p.left;
|
1047
|
+
TreeNode pr = p.right;
|
1048
|
+
if (pl != null && pr != null) {
|
1049
|
+
TreeNode s = pr, sl;
|
1050
|
+
while ((sl = s.left) != null) // find successor
|
1051
|
+
s = sl;
|
1052
|
+
boolean c = s.red; s.red = p.red; p.red = c; // swap colors
|
1053
|
+
TreeNode sr = s.right;
|
1054
|
+
TreeNode pp = p.parent;
|
1055
|
+
if (s == pr) { // p was s's direct parent
|
1056
|
+
p.parent = s;
|
1057
|
+
s.right = p;
|
1058
|
+
}
|
1059
|
+
else {
|
1060
|
+
TreeNode sp = s.parent;
|
1061
|
+
if ((p.parent = sp) != null) {
|
1062
|
+
if (s == sp.left)
|
1063
|
+
sp.left = p;
|
1064
|
+
else
|
1065
|
+
sp.right = p;
|
1066
|
+
}
|
1067
|
+
if ((s.right = pr) != null)
|
1068
|
+
pr.parent = s;
|
1069
|
+
}
|
1070
|
+
p.left = null;
|
1071
|
+
if ((p.right = sr) != null)
|
1072
|
+
sr.parent = p;
|
1073
|
+
if ((s.left = pl) != null)
|
1074
|
+
pl.parent = s;
|
1075
|
+
if ((s.parent = pp) == null)
|
1076
|
+
root = s;
|
1077
|
+
else if (p == pp.left)
|
1078
|
+
pp.left = s;
|
1079
|
+
else
|
1080
|
+
pp.right = s;
|
1081
|
+
replacement = sr;
|
1082
|
+
}
|
1083
|
+
else
|
1084
|
+
replacement = (pl != null) ? pl : pr;
|
1085
|
+
TreeNode pp = p.parent;
|
1086
|
+
if (replacement == null) {
|
1087
|
+
if (pp == null) {
|
1088
|
+
root = null;
|
1089
|
+
return;
|
1090
|
+
}
|
1091
|
+
replacement = p;
|
1092
|
+
}
|
1093
|
+
else {
|
1094
|
+
replacement.parent = pp;
|
1095
|
+
if (pp == null)
|
1096
|
+
root = replacement;
|
1097
|
+
else if (p == pp.left)
|
1098
|
+
pp.left = replacement;
|
1099
|
+
else
|
1100
|
+
pp.right = replacement;
|
1101
|
+
p.left = p.right = p.parent = null;
|
1102
|
+
}
|
1103
|
+
if (!p.red) { // rebalance, from CLR
|
1104
|
+
TreeNode x = replacement;
|
1105
|
+
while (x != null) {
|
1106
|
+
TreeNode xp, xpl;
|
1107
|
+
if (x.red || (xp = x.parent) == null) {
|
1108
|
+
x.red = false;
|
1109
|
+
break;
|
1110
|
+
}
|
1111
|
+
if (x == (xpl = xp.left)) {
|
1112
|
+
TreeNode sib = xp.right;
|
1113
|
+
if (sib != null && sib.red) {
|
1114
|
+
sib.red = false;
|
1115
|
+
xp.red = true;
|
1116
|
+
rotateLeft(xp);
|
1117
|
+
sib = (xp = x.parent) == null ? null : xp.right;
|
1118
|
+
}
|
1119
|
+
if (sib == null)
|
1120
|
+
x = xp;
|
1121
|
+
else {
|
1122
|
+
TreeNode sl = sib.left, sr = sib.right;
|
1123
|
+
if ((sr == null || !sr.red) &&
|
1124
|
+
(sl == null || !sl.red)) {
|
1125
|
+
sib.red = true;
|
1126
|
+
x = xp;
|
1127
|
+
}
|
1128
|
+
else {
|
1129
|
+
if (sr == null || !sr.red) {
|
1130
|
+
if (sl != null)
|
1131
|
+
sl.red = false;
|
1132
|
+
sib.red = true;
|
1133
|
+
rotateRight(sib);
|
1134
|
+
sib = (xp = x.parent) == null ? null : xp.right;
|
1135
|
+
}
|
1136
|
+
if (sib != null) {
|
1137
|
+
sib.red = (xp == null) ? false : xp.red;
|
1138
|
+
if ((sr = sib.right) != null)
|
1139
|
+
sr.red = false;
|
1140
|
+
}
|
1141
|
+
if (xp != null) {
|
1142
|
+
xp.red = false;
|
1143
|
+
rotateLeft(xp);
|
1144
|
+
}
|
1145
|
+
x = root;
|
1146
|
+
}
|
1147
|
+
}
|
1148
|
+
}
|
1149
|
+
else { // symmetric
|
1150
|
+
TreeNode sib = xpl;
|
1151
|
+
if (sib != null && sib.red) {
|
1152
|
+
sib.red = false;
|
1153
|
+
xp.red = true;
|
1154
|
+
rotateRight(xp);
|
1155
|
+
sib = (xp = x.parent) == null ? null : xp.left;
|
1156
|
+
}
|
1157
|
+
if (sib == null)
|
1158
|
+
x = xp;
|
1159
|
+
else {
|
1160
|
+
TreeNode sl = sib.left, sr = sib.right;
|
1161
|
+
if ((sl == null || !sl.red) &&
|
1162
|
+
(sr == null || !sr.red)) {
|
1163
|
+
sib.red = true;
|
1164
|
+
x = xp;
|
1165
|
+
}
|
1166
|
+
else {
|
1167
|
+
if (sl == null || !sl.red) {
|
1168
|
+
if (sr != null)
|
1169
|
+
sr.red = false;
|
1170
|
+
sib.red = true;
|
1171
|
+
rotateLeft(sib);
|
1172
|
+
sib = (xp = x.parent) == null ? null : xp.left;
|
1173
|
+
}
|
1174
|
+
if (sib != null) {
|
1175
|
+
sib.red = (xp == null) ? false : xp.red;
|
1176
|
+
if ((sl = sib.left) != null)
|
1177
|
+
sl.red = false;
|
1178
|
+
}
|
1179
|
+
if (xp != null) {
|
1180
|
+
xp.red = false;
|
1181
|
+
rotateRight(xp);
|
1182
|
+
}
|
1183
|
+
x = root;
|
1184
|
+
}
|
1185
|
+
}
|
1186
|
+
}
|
1187
|
+
}
|
1188
|
+
}
|
1189
|
+
if (p == replacement && (pp = p.parent) != null) {
|
1190
|
+
if (p == pp.left) // detach pointers
|
1191
|
+
pp.left = null;
|
1192
|
+
else if (p == pp.right)
|
1193
|
+
pp.right = null;
|
1194
|
+
p.parent = null;
|
1195
|
+
}
|
1196
|
+
}
|
1197
|
+
}
|
1198
|
+
|
1199
|
+
/* ---------------- Collision reduction methods -------------- */
|
1200
|
+
|
1201
|
+
/**
|
1202
|
+
* Spreads higher bits to lower, and also forces top 2 bits to 0.
|
1203
|
+
* Because the table uses power-of-two masking, sets of hashes
|
1204
|
+
* that vary only in bits above the current mask will always
|
1205
|
+
* collide. (Among known examples are sets of Float keys holding
|
1206
|
+
* consecutive whole numbers in small tables.) To counter this,
|
1207
|
+
* we apply a transform that spreads the impact of higher bits
|
1208
|
+
* downward. There is a tradeoff between speed, utility, and
|
1209
|
+
* quality of bit-spreading. Because many common sets of hashes
|
1210
|
+
* are already reasonably distributed across bits (so don't benefit
|
1211
|
+
* from spreading), and because we use trees to handle large sets
|
1212
|
+
* of collisions in bins, we don't need excessively high quality.
|
1213
|
+
*/
|
1214
|
+
private static final int spread(int h) {
|
1215
|
+
h ^= (h >>> 18) ^ (h >>> 12);
|
1216
|
+
return (h ^ (h >>> 10)) & HASH_BITS;
|
1217
|
+
}
|
1218
|
+
|
1219
|
+
/**
|
1220
|
+
* Replaces a list bin with a tree bin. Call only when locked.
|
1221
|
+
* Fails to replace if the given key is non-comparable or table
|
1222
|
+
* is, or needs, resizing.
|
1223
|
+
*/
|
1224
|
+
private final void replaceWithTreeBin(Node[] tab, int index, Object key) {
|
1225
|
+
if ((key instanceof Comparable) &&
|
1226
|
+
(tab.length >= MAXIMUM_CAPACITY || counter.sum() < (long)sizeCtl)) {
|
1227
|
+
TreeBin t = new TreeBin();
|
1228
|
+
for (Node e = tabAt(tab, index); e != null; e = e.next)
|
1229
|
+
t.putTreeNode(e.hash & HASH_BITS, e.key, e.val);
|
1230
|
+
setTabAt(tab, index, new Node(MOVED, t, null, null));
|
1231
|
+
}
|
1232
|
+
}
|
1233
|
+
|
1234
|
+
/* ---------------- Internal access and update methods -------------- */
|
1235
|
+
|
1236
|
+
/** Implementation for get and containsKey */
|
1237
|
+
private final Object internalGet(Object k) {
|
1238
|
+
int h = spread(k.hashCode());
|
1239
|
+
retry: for (Node[] tab = table; tab != null;) {
|
1240
|
+
Node e, p; Object ek, ev; int eh; // locals to read fields once
|
1241
|
+
for (e = tabAt(tab, (tab.length - 1) & h); e != null; e = e.next) {
|
1242
|
+
if ((eh = e.hash) == MOVED) {
|
1243
|
+
if ((ek = e.key) instanceof TreeBin) // search TreeBin
|
1244
|
+
return ((TreeBin)ek).getValue(h, k);
|
1245
|
+
else { // restart with new table
|
1246
|
+
tab = (Node[])ek;
|
1247
|
+
continue retry;
|
1248
|
+
}
|
1249
|
+
}
|
1250
|
+
else if ((eh & HASH_BITS) == h && (ev = e.val) != null &&
|
1251
|
+
((ek = e.key) == k || k.equals(ek)))
|
1252
|
+
return ev;
|
1253
|
+
}
|
1254
|
+
break;
|
1255
|
+
}
|
1256
|
+
return null;
|
1257
|
+
}
|
1258
|
+
|
1259
|
+
/**
|
1260
|
+
* Implementation for the four public remove/replace methods:
|
1261
|
+
* Replaces node value with v, conditional upon match of cv if
|
1262
|
+
* non-null. If resulting value is null, delete.
|
1263
|
+
*/
|
1264
|
+
private final Object internalReplace(Object k, Object v, Object cv) {
|
1265
|
+
int h = spread(k.hashCode());
|
1266
|
+
Object oldVal = null;
|
1267
|
+
for (Node[] tab = table;;) {
|
1268
|
+
Node f; int i, fh; Object fk;
|
1269
|
+
if (tab == null ||
|
1270
|
+
(f = tabAt(tab, i = (tab.length - 1) & h)) == null)
|
1271
|
+
break;
|
1272
|
+
else if ((fh = f.hash) == MOVED) {
|
1273
|
+
if ((fk = f.key) instanceof TreeBin) {
|
1274
|
+
TreeBin t = (TreeBin)fk;
|
1275
|
+
boolean validated = false;
|
1276
|
+
boolean deleted = false;
|
1277
|
+
t.acquire(0);
|
1278
|
+
try {
|
1279
|
+
if (tabAt(tab, i) == f) {
|
1280
|
+
validated = true;
|
1281
|
+
TreeNode p = t.getTreeNode(h, k, t.root);
|
1282
|
+
if (p != null) {
|
1283
|
+
Object pv = p.val;
|
1284
|
+
if (cv == null || cv == pv || cv.equals(pv)) {
|
1285
|
+
oldVal = pv;
|
1286
|
+
if ((p.val = v) == null) {
|
1287
|
+
deleted = true;
|
1288
|
+
t.deleteTreeNode(p);
|
1289
|
+
}
|
1290
|
+
}
|
1291
|
+
}
|
1292
|
+
}
|
1293
|
+
} finally {
|
1294
|
+
t.release(0);
|
1295
|
+
}
|
1296
|
+
if (validated) {
|
1297
|
+
if (deleted)
|
1298
|
+
counter.add(-1L);
|
1299
|
+
break;
|
1300
|
+
}
|
1301
|
+
}
|
1302
|
+
else
|
1303
|
+
tab = (Node[])fk;
|
1304
|
+
}
|
1305
|
+
else if ((fh & HASH_BITS) != h && f.next == null) // precheck
|
1306
|
+
break; // rules out possible existence
|
1307
|
+
else if ((fh & LOCKED) != 0) {
|
1308
|
+
checkForResize(); // try resizing if can't get lock
|
1309
|
+
f.tryAwaitLock(tab, i);
|
1310
|
+
}
|
1311
|
+
else if (f.casHash(fh, fh | LOCKED)) {
|
1312
|
+
boolean validated = false;
|
1313
|
+
boolean deleted = false;
|
1314
|
+
try {
|
1315
|
+
if (tabAt(tab, i) == f) {
|
1316
|
+
validated = true;
|
1317
|
+
for (Node e = f, pred = null;;) {
|
1318
|
+
Object ek, ev;
|
1319
|
+
if ((e.hash & HASH_BITS) == h &&
|
1320
|
+
((ev = e.val) != null) &&
|
1321
|
+
((ek = e.key) == k || k.equals(ek))) {
|
1322
|
+
if (cv == null || cv == ev || cv.equals(ev)) {
|
1323
|
+
oldVal = ev;
|
1324
|
+
if ((e.val = v) == null) {
|
1325
|
+
deleted = true;
|
1326
|
+
Node en = e.next;
|
1327
|
+
if (pred != null)
|
1328
|
+
pred.next = en;
|
1329
|
+
else
|
1330
|
+
setTabAt(tab, i, en);
|
1331
|
+
}
|
1332
|
+
}
|
1333
|
+
break;
|
1334
|
+
}
|
1335
|
+
pred = e;
|
1336
|
+
if ((e = e.next) == null)
|
1337
|
+
break;
|
1338
|
+
}
|
1339
|
+
}
|
1340
|
+
} finally {
|
1341
|
+
if (!f.casHash(fh | LOCKED, fh)) {
|
1342
|
+
f.hash = fh;
|
1343
|
+
synchronized (f) { f.notifyAll(); };
|
1344
|
+
}
|
1345
|
+
}
|
1346
|
+
if (validated) {
|
1347
|
+
if (deleted)
|
1348
|
+
counter.add(-1L);
|
1349
|
+
break;
|
1350
|
+
}
|
1351
|
+
}
|
1352
|
+
}
|
1353
|
+
return oldVal;
|
1354
|
+
}
|
1355
|
+
|
1356
|
+
/*
|
1357
|
+
* Internal versions of the six insertion methods, each a
|
1358
|
+
* little more complicated than the last. All have
|
1359
|
+
* the same basic structure as the first (internalPut):
|
1360
|
+
* 1. If table uninitialized, create
|
1361
|
+
* 2. If bin empty, try to CAS new node
|
1362
|
+
* 3. If bin stale, use new table
|
1363
|
+
* 4. if bin converted to TreeBin, validate and relay to TreeBin methods
|
1364
|
+
* 5. Lock and validate; if valid, scan and add or update
|
1365
|
+
*
|
1366
|
+
* The others interweave other checks and/or alternative actions:
|
1367
|
+
* * Plain put checks for and performs resize after insertion.
|
1368
|
+
* * putIfAbsent prescans for mapping without lock (and fails to add
|
1369
|
+
* if present), which also makes pre-emptive resize checks worthwhile.
|
1370
|
+
* * computeIfAbsent extends form used in putIfAbsent with additional
|
1371
|
+
* mechanics to deal with, calls, potential exceptions and null
|
1372
|
+
* returns from function call.
|
1373
|
+
* * compute uses the same function-call mechanics, but without
|
1374
|
+
* the prescans
|
1375
|
+
* * merge acts as putIfAbsent in the absent case, but invokes the
|
1376
|
+
* update function if present
|
1377
|
+
* * putAll attempts to pre-allocate enough table space
|
1378
|
+
* and more lazily performs count updates and checks.
|
1379
|
+
*
|
1380
|
+
* Someday when details settle down a bit more, it might be worth
|
1381
|
+
* some factoring to reduce sprawl.
|
1382
|
+
*/
|
1383
|
+
|
1384
|
+
/** Implementation for put */
|
1385
|
+
private final Object internalPut(Object k, Object v) {
|
1386
|
+
int h = spread(k.hashCode());
|
1387
|
+
int count = 0;
|
1388
|
+
for (Node[] tab = table;;) {
|
1389
|
+
int i; Node f; int fh; Object fk;
|
1390
|
+
if (tab == null)
|
1391
|
+
tab = initTable();
|
1392
|
+
else if ((f = tabAt(tab, i = (tab.length - 1) & h)) == null) {
|
1393
|
+
if (casTabAt(tab, i, null, new Node(h, k, v, null)))
|
1394
|
+
break; // no lock when adding to empty bin
|
1395
|
+
}
|
1396
|
+
else if ((fh = f.hash) == MOVED) {
|
1397
|
+
if ((fk = f.key) instanceof TreeBin) {
|
1398
|
+
TreeBin t = (TreeBin)fk;
|
1399
|
+
Object oldVal = null;
|
1400
|
+
t.acquire(0);
|
1401
|
+
try {
|
1402
|
+
if (tabAt(tab, i) == f) {
|
1403
|
+
count = 2;
|
1404
|
+
TreeNode p = t.putTreeNode(h, k, v);
|
1405
|
+
if (p != null) {
|
1406
|
+
oldVal = p.val;
|
1407
|
+
p.val = v;
|
1408
|
+
}
|
1409
|
+
}
|
1410
|
+
} finally {
|
1411
|
+
t.release(0);
|
1412
|
+
}
|
1413
|
+
if (count != 0) {
|
1414
|
+
if (oldVal != null)
|
1415
|
+
return oldVal;
|
1416
|
+
break;
|
1417
|
+
}
|
1418
|
+
}
|
1419
|
+
else
|
1420
|
+
tab = (Node[])fk;
|
1421
|
+
}
|
1422
|
+
else if ((fh & LOCKED) != 0) {
|
1423
|
+
checkForResize();
|
1424
|
+
f.tryAwaitLock(tab, i);
|
1425
|
+
}
|
1426
|
+
else if (f.casHash(fh, fh | LOCKED)) {
|
1427
|
+
Object oldVal = null;
|
1428
|
+
try { // needed in case equals() throws
|
1429
|
+
if (tabAt(tab, i) == f) {
|
1430
|
+
count = 1;
|
1431
|
+
for (Node e = f;; ++count) {
|
1432
|
+
Object ek, ev;
|
1433
|
+
if ((e.hash & HASH_BITS) == h &&
|
1434
|
+
(ev = e.val) != null &&
|
1435
|
+
((ek = e.key) == k || k.equals(ek))) {
|
1436
|
+
oldVal = ev;
|
1437
|
+
e.val = v;
|
1438
|
+
break;
|
1439
|
+
}
|
1440
|
+
Node last = e;
|
1441
|
+
if ((e = e.next) == null) {
|
1442
|
+
last.next = new Node(h, k, v, null);
|
1443
|
+
if (count >= TREE_THRESHOLD)
|
1444
|
+
replaceWithTreeBin(tab, i, k);
|
1445
|
+
break;
|
1446
|
+
}
|
1447
|
+
}
|
1448
|
+
}
|
1449
|
+
} finally { // unlock and signal if needed
|
1450
|
+
if (!f.casHash(fh | LOCKED, fh)) {
|
1451
|
+
f.hash = fh;
|
1452
|
+
synchronized (f) { f.notifyAll(); };
|
1453
|
+
}
|
1454
|
+
}
|
1455
|
+
if (count != 0) {
|
1456
|
+
if (oldVal != null)
|
1457
|
+
return oldVal;
|
1458
|
+
if (tab.length <= 64)
|
1459
|
+
count = 2;
|
1460
|
+
break;
|
1461
|
+
}
|
1462
|
+
}
|
1463
|
+
}
|
1464
|
+
counter.add(1L);
|
1465
|
+
if (count > 1)
|
1466
|
+
checkForResize();
|
1467
|
+
return null;
|
1468
|
+
}
|
1469
|
+
|
1470
|
+
/** Implementation for putIfAbsent */
|
1471
|
+
private final Object internalPutIfAbsent(Object k, Object v) {
|
1472
|
+
int h = spread(k.hashCode());
|
1473
|
+
int count = 0;
|
1474
|
+
for (Node[] tab = table;;) {
|
1475
|
+
int i; Node f; int fh; Object fk, fv;
|
1476
|
+
if (tab == null)
|
1477
|
+
tab = initTable();
|
1478
|
+
else if ((f = tabAt(tab, i = (tab.length - 1) & h)) == null) {
|
1479
|
+
if (casTabAt(tab, i, null, new Node(h, k, v, null)))
|
1480
|
+
break;
|
1481
|
+
}
|
1482
|
+
else if ((fh = f.hash) == MOVED) {
|
1483
|
+
if ((fk = f.key) instanceof TreeBin) {
|
1484
|
+
TreeBin t = (TreeBin)fk;
|
1485
|
+
Object oldVal = null;
|
1486
|
+
t.acquire(0);
|
1487
|
+
try {
|
1488
|
+
if (tabAt(tab, i) == f) {
|
1489
|
+
count = 2;
|
1490
|
+
TreeNode p = t.putTreeNode(h, k, v);
|
1491
|
+
if (p != null)
|
1492
|
+
oldVal = p.val;
|
1493
|
+
}
|
1494
|
+
} finally {
|
1495
|
+
t.release(0);
|
1496
|
+
}
|
1497
|
+
if (count != 0) {
|
1498
|
+
if (oldVal != null)
|
1499
|
+
return oldVal;
|
1500
|
+
break;
|
1501
|
+
}
|
1502
|
+
}
|
1503
|
+
else
|
1504
|
+
tab = (Node[])fk;
|
1505
|
+
}
|
1506
|
+
else if ((fh & HASH_BITS) == h && (fv = f.val) != null &&
|
1507
|
+
((fk = f.key) == k || k.equals(fk)))
|
1508
|
+
return fv;
|
1509
|
+
else {
|
1510
|
+
Node g = f.next;
|
1511
|
+
if (g != null) { // at least 2 nodes -- search and maybe resize
|
1512
|
+
for (Node e = g;;) {
|
1513
|
+
Object ek, ev;
|
1514
|
+
if ((e.hash & HASH_BITS) == h && (ev = e.val) != null &&
|
1515
|
+
((ek = e.key) == k || k.equals(ek)))
|
1516
|
+
return ev;
|
1517
|
+
if ((e = e.next) == null) {
|
1518
|
+
checkForResize();
|
1519
|
+
break;
|
1520
|
+
}
|
1521
|
+
}
|
1522
|
+
}
|
1523
|
+
if (((fh = f.hash) & LOCKED) != 0) {
|
1524
|
+
checkForResize();
|
1525
|
+
f.tryAwaitLock(tab, i);
|
1526
|
+
}
|
1527
|
+
else if (tabAt(tab, i) == f && f.casHash(fh, fh | LOCKED)) {
|
1528
|
+
Object oldVal = null;
|
1529
|
+
try {
|
1530
|
+
if (tabAt(tab, i) == f) {
|
1531
|
+
count = 1;
|
1532
|
+
for (Node e = f;; ++count) {
|
1533
|
+
Object ek, ev;
|
1534
|
+
if ((e.hash & HASH_BITS) == h &&
|
1535
|
+
(ev = e.val) != null &&
|
1536
|
+
((ek = e.key) == k || k.equals(ek))) {
|
1537
|
+
oldVal = ev;
|
1538
|
+
break;
|
1539
|
+
}
|
1540
|
+
Node last = e;
|
1541
|
+
if ((e = e.next) == null) {
|
1542
|
+
last.next = new Node(h, k, v, null);
|
1543
|
+
if (count >= TREE_THRESHOLD)
|
1544
|
+
replaceWithTreeBin(tab, i, k);
|
1545
|
+
break;
|
1546
|
+
}
|
1547
|
+
}
|
1548
|
+
}
|
1549
|
+
} finally {
|
1550
|
+
if (!f.casHash(fh | LOCKED, fh)) {
|
1551
|
+
f.hash = fh;
|
1552
|
+
synchronized (f) { f.notifyAll(); };
|
1553
|
+
}
|
1554
|
+
}
|
1555
|
+
if (count != 0) {
|
1556
|
+
if (oldVal != null)
|
1557
|
+
return oldVal;
|
1558
|
+
if (tab.length <= 64)
|
1559
|
+
count = 2;
|
1560
|
+
break;
|
1561
|
+
}
|
1562
|
+
}
|
1563
|
+
}
|
1564
|
+
}
|
1565
|
+
counter.add(1L);
|
1566
|
+
if (count > 1)
|
1567
|
+
checkForResize();
|
1568
|
+
return null;
|
1569
|
+
}
|
1570
|
+
|
1571
|
+
/** Implementation for computeIfAbsent */
|
1572
|
+
private final Object internalComputeIfAbsent(K k,
|
1573
|
+
Fun<? super K, ?> mf) {
|
1574
|
+
int h = spread(k.hashCode());
|
1575
|
+
Object val = null;
|
1576
|
+
int count = 0;
|
1577
|
+
for (Node[] tab = table;;) {
|
1578
|
+
Node f; int i, fh; Object fk, fv;
|
1579
|
+
if (tab == null)
|
1580
|
+
tab = initTable();
|
1581
|
+
else if ((f = tabAt(tab, i = (tab.length - 1) & h)) == null) {
|
1582
|
+
Node node = new Node(fh = h | LOCKED, k, null, null);
|
1583
|
+
if (casTabAt(tab, i, null, node)) {
|
1584
|
+
count = 1;
|
1585
|
+
try {
|
1586
|
+
if ((val = mf.apply(k)) != null)
|
1587
|
+
node.val = val;
|
1588
|
+
} finally {
|
1589
|
+
if (val == null)
|
1590
|
+
setTabAt(tab, i, null);
|
1591
|
+
if (!node.casHash(fh, h)) {
|
1592
|
+
node.hash = h;
|
1593
|
+
synchronized (node) { node.notifyAll(); };
|
1594
|
+
}
|
1595
|
+
}
|
1596
|
+
}
|
1597
|
+
if (count != 0)
|
1598
|
+
break;
|
1599
|
+
}
|
1600
|
+
else if ((fh = f.hash) == MOVED) {
|
1601
|
+
if ((fk = f.key) instanceof TreeBin) {
|
1602
|
+
TreeBin t = (TreeBin)fk;
|
1603
|
+
boolean added = false;
|
1604
|
+
t.acquire(0);
|
1605
|
+
try {
|
1606
|
+
if (tabAt(tab, i) == f) {
|
1607
|
+
count = 1;
|
1608
|
+
TreeNode p = t.getTreeNode(h, k, t.root);
|
1609
|
+
if (p != null)
|
1610
|
+
val = p.val;
|
1611
|
+
else if ((val = mf.apply(k)) != null) {
|
1612
|
+
added = true;
|
1613
|
+
count = 2;
|
1614
|
+
t.putTreeNode(h, k, val);
|
1615
|
+
}
|
1616
|
+
}
|
1617
|
+
} finally {
|
1618
|
+
t.release(0);
|
1619
|
+
}
|
1620
|
+
if (count != 0) {
|
1621
|
+
if (!added)
|
1622
|
+
return val;
|
1623
|
+
break;
|
1624
|
+
}
|
1625
|
+
}
|
1626
|
+
else
|
1627
|
+
tab = (Node[])fk;
|
1628
|
+
}
|
1629
|
+
else if ((fh & HASH_BITS) == h && (fv = f.val) != null &&
|
1630
|
+
((fk = f.key) == k || k.equals(fk)))
|
1631
|
+
return fv;
|
1632
|
+
else {
|
1633
|
+
Node g = f.next;
|
1634
|
+
if (g != null) {
|
1635
|
+
for (Node e = g;;) {
|
1636
|
+
Object ek, ev;
|
1637
|
+
if ((e.hash & HASH_BITS) == h && (ev = e.val) != null &&
|
1638
|
+
((ek = e.key) == k || k.equals(ek)))
|
1639
|
+
return ev;
|
1640
|
+
if ((e = e.next) == null) {
|
1641
|
+
checkForResize();
|
1642
|
+
break;
|
1643
|
+
}
|
1644
|
+
}
|
1645
|
+
}
|
1646
|
+
if (((fh = f.hash) & LOCKED) != 0) {
|
1647
|
+
checkForResize();
|
1648
|
+
f.tryAwaitLock(tab, i);
|
1649
|
+
}
|
1650
|
+
else if (tabAt(tab, i) == f && f.casHash(fh, fh | LOCKED)) {
|
1651
|
+
boolean added = false;
|
1652
|
+
try {
|
1653
|
+
if (tabAt(tab, i) == f) {
|
1654
|
+
count = 1;
|
1655
|
+
for (Node e = f;; ++count) {
|
1656
|
+
Object ek, ev;
|
1657
|
+
if ((e.hash & HASH_BITS) == h &&
|
1658
|
+
(ev = e.val) != null &&
|
1659
|
+
((ek = e.key) == k || k.equals(ek))) {
|
1660
|
+
val = ev;
|
1661
|
+
break;
|
1662
|
+
}
|
1663
|
+
Node last = e;
|
1664
|
+
if ((e = e.next) == null) {
|
1665
|
+
if ((val = mf.apply(k)) != null) {
|
1666
|
+
added = true;
|
1667
|
+
last.next = new Node(h, k, val, null);
|
1668
|
+
if (count >= TREE_THRESHOLD)
|
1669
|
+
replaceWithTreeBin(tab, i, k);
|
1670
|
+
}
|
1671
|
+
break;
|
1672
|
+
}
|
1673
|
+
}
|
1674
|
+
}
|
1675
|
+
} finally {
|
1676
|
+
if (!f.casHash(fh | LOCKED, fh)) {
|
1677
|
+
f.hash = fh;
|
1678
|
+
synchronized (f) { f.notifyAll(); };
|
1679
|
+
}
|
1680
|
+
}
|
1681
|
+
if (count != 0) {
|
1682
|
+
if (!added)
|
1683
|
+
return val;
|
1684
|
+
if (tab.length <= 64)
|
1685
|
+
count = 2;
|
1686
|
+
break;
|
1687
|
+
}
|
1688
|
+
}
|
1689
|
+
}
|
1690
|
+
}
|
1691
|
+
if (val != null) {
|
1692
|
+
counter.add(1L);
|
1693
|
+
if (count > 1)
|
1694
|
+
checkForResize();
|
1695
|
+
}
|
1696
|
+
return val;
|
1697
|
+
}
|
1698
|
+
|
1699
|
+
/** Implementation for compute */
|
1700
|
+
@SuppressWarnings("unchecked") private final Object internalCompute
|
1701
|
+
(K k, boolean onlyIfPresent, BiFun<? super K, ? super V, ? extends V> mf) {
|
1702
|
+
int h = spread(k.hashCode());
|
1703
|
+
Object val = null;
|
1704
|
+
int delta = 0;
|
1705
|
+
int count = 0;
|
1706
|
+
for (Node[] tab = table;;) {
|
1707
|
+
Node f; int i, fh; Object fk;
|
1708
|
+
if (tab == null)
|
1709
|
+
tab = initTable();
|
1710
|
+
else if ((f = tabAt(tab, i = (tab.length - 1) & h)) == null) {
|
1711
|
+
if (onlyIfPresent)
|
1712
|
+
break;
|
1713
|
+
Node node = new Node(fh = h | LOCKED, k, null, null);
|
1714
|
+
if (casTabAt(tab, i, null, node)) {
|
1715
|
+
try {
|
1716
|
+
count = 1;
|
1717
|
+
if ((val = mf.apply(k, null)) != null) {
|
1718
|
+
node.val = val;
|
1719
|
+
delta = 1;
|
1720
|
+
}
|
1721
|
+
} finally {
|
1722
|
+
if (delta == 0)
|
1723
|
+
setTabAt(tab, i, null);
|
1724
|
+
if (!node.casHash(fh, h)) {
|
1725
|
+
node.hash = h;
|
1726
|
+
synchronized (node) { node.notifyAll(); };
|
1727
|
+
}
|
1728
|
+
}
|
1729
|
+
}
|
1730
|
+
if (count != 0)
|
1731
|
+
break;
|
1732
|
+
}
|
1733
|
+
else if ((fh = f.hash) == MOVED) {
|
1734
|
+
if ((fk = f.key) instanceof TreeBin) {
|
1735
|
+
TreeBin t = (TreeBin)fk;
|
1736
|
+
t.acquire(0);
|
1737
|
+
try {
|
1738
|
+
if (tabAt(tab, i) == f) {
|
1739
|
+
count = 1;
|
1740
|
+
TreeNode p = t.getTreeNode(h, k, t.root);
|
1741
|
+
Object pv;
|
1742
|
+
if (p == null) {
|
1743
|
+
if (onlyIfPresent)
|
1744
|
+
break;
|
1745
|
+
pv = null;
|
1746
|
+
} else
|
1747
|
+
pv = p.val;
|
1748
|
+
if ((val = mf.apply(k, (V)pv)) != null) {
|
1749
|
+
if (p != null)
|
1750
|
+
p.val = val;
|
1751
|
+
else {
|
1752
|
+
count = 2;
|
1753
|
+
delta = 1;
|
1754
|
+
t.putTreeNode(h, k, val);
|
1755
|
+
}
|
1756
|
+
}
|
1757
|
+
else if (p != null) {
|
1758
|
+
delta = -1;
|
1759
|
+
t.deleteTreeNode(p);
|
1760
|
+
}
|
1761
|
+
}
|
1762
|
+
} finally {
|
1763
|
+
t.release(0);
|
1764
|
+
}
|
1765
|
+
if (count != 0)
|
1766
|
+
break;
|
1767
|
+
}
|
1768
|
+
else
|
1769
|
+
tab = (Node[])fk;
|
1770
|
+
}
|
1771
|
+
else if ((fh & LOCKED) != 0) {
|
1772
|
+
checkForResize();
|
1773
|
+
f.tryAwaitLock(tab, i);
|
1774
|
+
}
|
1775
|
+
else if (f.casHash(fh, fh | LOCKED)) {
|
1776
|
+
try {
|
1777
|
+
if (tabAt(tab, i) == f) {
|
1778
|
+
count = 1;
|
1779
|
+
for (Node e = f, pred = null;; ++count) {
|
1780
|
+
Object ek, ev;
|
1781
|
+
if ((e.hash & HASH_BITS) == h &&
|
1782
|
+
(ev = e.val) != null &&
|
1783
|
+
((ek = e.key) == k || k.equals(ek))) {
|
1784
|
+
val = mf.apply(k, (V)ev);
|
1785
|
+
if (val != null)
|
1786
|
+
e.val = val;
|
1787
|
+
else {
|
1788
|
+
delta = -1;
|
1789
|
+
Node en = e.next;
|
1790
|
+
if (pred != null)
|
1791
|
+
pred.next = en;
|
1792
|
+
else
|
1793
|
+
setTabAt(tab, i, en);
|
1794
|
+
}
|
1795
|
+
break;
|
1796
|
+
}
|
1797
|
+
pred = e;
|
1798
|
+
if ((e = e.next) == null) {
|
1799
|
+
if (!onlyIfPresent && (val = mf.apply(k, null)) != null) {
|
1800
|
+
pred.next = new Node(h, k, val, null);
|
1801
|
+
delta = 1;
|
1802
|
+
if (count >= TREE_THRESHOLD)
|
1803
|
+
replaceWithTreeBin(tab, i, k);
|
1804
|
+
}
|
1805
|
+
break;
|
1806
|
+
}
|
1807
|
+
}
|
1808
|
+
}
|
1809
|
+
} finally {
|
1810
|
+
if (!f.casHash(fh | LOCKED, fh)) {
|
1811
|
+
f.hash = fh;
|
1812
|
+
synchronized (f) { f.notifyAll(); };
|
1813
|
+
}
|
1814
|
+
}
|
1815
|
+
if (count != 0) {
|
1816
|
+
if (tab.length <= 64)
|
1817
|
+
count = 2;
|
1818
|
+
break;
|
1819
|
+
}
|
1820
|
+
}
|
1821
|
+
}
|
1822
|
+
if (delta != 0) {
|
1823
|
+
counter.add((long)delta);
|
1824
|
+
if (count > 1)
|
1825
|
+
checkForResize();
|
1826
|
+
}
|
1827
|
+
return val;
|
1828
|
+
}
|
1829
|
+
|
1830
|
+
/** Implementation for merge */
|
1831
|
+
@SuppressWarnings("unchecked") private final Object internalMerge
|
1832
|
+
(K k, V v, BiFun<? super V, ? super V, ? extends V> mf) {
|
1833
|
+
int h = spread(k.hashCode());
|
1834
|
+
Object val = null;
|
1835
|
+
int delta = 0;
|
1836
|
+
int count = 0;
|
1837
|
+
for (Node[] tab = table;;) {
|
1838
|
+
int i; Node f; int fh; Object fk, fv;
|
1839
|
+
if (tab == null)
|
1840
|
+
tab = initTable();
|
1841
|
+
else if ((f = tabAt(tab, i = (tab.length - 1) & h)) == null) {
|
1842
|
+
if (casTabAt(tab, i, null, new Node(h, k, v, null))) {
|
1843
|
+
delta = 1;
|
1844
|
+
val = v;
|
1845
|
+
break;
|
1846
|
+
}
|
1847
|
+
}
|
1848
|
+
else if ((fh = f.hash) == MOVED) {
|
1849
|
+
if ((fk = f.key) instanceof TreeBin) {
|
1850
|
+
TreeBin t = (TreeBin)fk;
|
1851
|
+
t.acquire(0);
|
1852
|
+
try {
|
1853
|
+
if (tabAt(tab, i) == f) {
|
1854
|
+
count = 1;
|
1855
|
+
TreeNode p = t.getTreeNode(h, k, t.root);
|
1856
|
+
val = (p == null) ? v : mf.apply((V)p.val, v);
|
1857
|
+
if (val != null) {
|
1858
|
+
if (p != null)
|
1859
|
+
p.val = val;
|
1860
|
+
else {
|
1861
|
+
count = 2;
|
1862
|
+
delta = 1;
|
1863
|
+
t.putTreeNode(h, k, val);
|
1864
|
+
}
|
1865
|
+
}
|
1866
|
+
else if (p != null) {
|
1867
|
+
delta = -1;
|
1868
|
+
t.deleteTreeNode(p);
|
1869
|
+
}
|
1870
|
+
}
|
1871
|
+
} finally {
|
1872
|
+
t.release(0);
|
1873
|
+
}
|
1874
|
+
if (count != 0)
|
1875
|
+
break;
|
1876
|
+
}
|
1877
|
+
else
|
1878
|
+
tab = (Node[])fk;
|
1879
|
+
}
|
1880
|
+
else if ((fh & LOCKED) != 0) {
|
1881
|
+
checkForResize();
|
1882
|
+
f.tryAwaitLock(tab, i);
|
1883
|
+
}
|
1884
|
+
else if (f.casHash(fh, fh | LOCKED)) {
|
1885
|
+
try {
|
1886
|
+
if (tabAt(tab, i) == f) {
|
1887
|
+
count = 1;
|
1888
|
+
for (Node e = f, pred = null;; ++count) {
|
1889
|
+
Object ek, ev;
|
1890
|
+
if ((e.hash & HASH_BITS) == h &&
|
1891
|
+
(ev = e.val) != null &&
|
1892
|
+
((ek = e.key) == k || k.equals(ek))) {
|
1893
|
+
val = mf.apply((V)ev, v);
|
1894
|
+
if (val != null)
|
1895
|
+
e.val = val;
|
1896
|
+
else {
|
1897
|
+
delta = -1;
|
1898
|
+
Node en = e.next;
|
1899
|
+
if (pred != null)
|
1900
|
+
pred.next = en;
|
1901
|
+
else
|
1902
|
+
setTabAt(tab, i, en);
|
1903
|
+
}
|
1904
|
+
break;
|
1905
|
+
}
|
1906
|
+
pred = e;
|
1907
|
+
if ((e = e.next) == null) {
|
1908
|
+
val = v;
|
1909
|
+
pred.next = new Node(h, k, val, null);
|
1910
|
+
delta = 1;
|
1911
|
+
if (count >= TREE_THRESHOLD)
|
1912
|
+
replaceWithTreeBin(tab, i, k);
|
1913
|
+
break;
|
1914
|
+
}
|
1915
|
+
}
|
1916
|
+
}
|
1917
|
+
} finally {
|
1918
|
+
if (!f.casHash(fh | LOCKED, fh)) {
|
1919
|
+
f.hash = fh;
|
1920
|
+
synchronized (f) { f.notifyAll(); };
|
1921
|
+
}
|
1922
|
+
}
|
1923
|
+
if (count != 0) {
|
1924
|
+
if (tab.length <= 64)
|
1925
|
+
count = 2;
|
1926
|
+
break;
|
1927
|
+
}
|
1928
|
+
}
|
1929
|
+
}
|
1930
|
+
if (delta != 0) {
|
1931
|
+
counter.add((long)delta);
|
1932
|
+
if (count > 1)
|
1933
|
+
checkForResize();
|
1934
|
+
}
|
1935
|
+
return val;
|
1936
|
+
}
|
1937
|
+
|
1938
|
+
/** Implementation for putAll */
|
1939
|
+
private final void internalPutAll(Map<?, ?> m) {
|
1940
|
+
tryPresize(m.size());
|
1941
|
+
long delta = 0L; // number of uncommitted additions
|
1942
|
+
boolean npe = false; // to throw exception on exit for nulls
|
1943
|
+
try { // to clean up counts on other exceptions
|
1944
|
+
for (Map.Entry<?, ?> entry : m.entrySet()) {
|
1945
|
+
Object k, v;
|
1946
|
+
if (entry == null || (k = entry.getKey()) == null ||
|
1947
|
+
(v = entry.getValue()) == null) {
|
1948
|
+
npe = true;
|
1949
|
+
break;
|
1950
|
+
}
|
1951
|
+
int h = spread(k.hashCode());
|
1952
|
+
for (Node[] tab = table;;) {
|
1953
|
+
int i; Node f; int fh; Object fk;
|
1954
|
+
if (tab == null)
|
1955
|
+
tab = initTable();
|
1956
|
+
else if ((f = tabAt(tab, i = (tab.length - 1) & h)) == null){
|
1957
|
+
if (casTabAt(tab, i, null, new Node(h, k, v, null))) {
|
1958
|
+
++delta;
|
1959
|
+
break;
|
1960
|
+
}
|
1961
|
+
}
|
1962
|
+
else if ((fh = f.hash) == MOVED) {
|
1963
|
+
if ((fk = f.key) instanceof TreeBin) {
|
1964
|
+
TreeBin t = (TreeBin)fk;
|
1965
|
+
boolean validated = false;
|
1966
|
+
t.acquire(0);
|
1967
|
+
try {
|
1968
|
+
if (tabAt(tab, i) == f) {
|
1969
|
+
validated = true;
|
1970
|
+
TreeNode p = t.getTreeNode(h, k, t.root);
|
1971
|
+
if (p != null)
|
1972
|
+
p.val = v;
|
1973
|
+
else {
|
1974
|
+
t.putTreeNode(h, k, v);
|
1975
|
+
++delta;
|
1976
|
+
}
|
1977
|
+
}
|
1978
|
+
} finally {
|
1979
|
+
t.release(0);
|
1980
|
+
}
|
1981
|
+
if (validated)
|
1982
|
+
break;
|
1983
|
+
}
|
1984
|
+
else
|
1985
|
+
tab = (Node[])fk;
|
1986
|
+
}
|
1987
|
+
else if ((fh & LOCKED) != 0) {
|
1988
|
+
counter.add(delta);
|
1989
|
+
delta = 0L;
|
1990
|
+
checkForResize();
|
1991
|
+
f.tryAwaitLock(tab, i);
|
1992
|
+
}
|
1993
|
+
else if (f.casHash(fh, fh | LOCKED)) {
|
1994
|
+
int count = 0;
|
1995
|
+
try {
|
1996
|
+
if (tabAt(tab, i) == f) {
|
1997
|
+
count = 1;
|
1998
|
+
for (Node e = f;; ++count) {
|
1999
|
+
Object ek, ev;
|
2000
|
+
if ((e.hash & HASH_BITS) == h &&
|
2001
|
+
(ev = e.val) != null &&
|
2002
|
+
((ek = e.key) == k || k.equals(ek))) {
|
2003
|
+
e.val = v;
|
2004
|
+
break;
|
2005
|
+
}
|
2006
|
+
Node last = e;
|
2007
|
+
if ((e = e.next) == null) {
|
2008
|
+
++delta;
|
2009
|
+
last.next = new Node(h, k, v, null);
|
2010
|
+
if (count >= TREE_THRESHOLD)
|
2011
|
+
replaceWithTreeBin(tab, i, k);
|
2012
|
+
break;
|
2013
|
+
}
|
2014
|
+
}
|
2015
|
+
}
|
2016
|
+
} finally {
|
2017
|
+
if (!f.casHash(fh | LOCKED, fh)) {
|
2018
|
+
f.hash = fh;
|
2019
|
+
synchronized (f) { f.notifyAll(); };
|
2020
|
+
}
|
2021
|
+
}
|
2022
|
+
if (count != 0) {
|
2023
|
+
if (count > 1) {
|
2024
|
+
counter.add(delta);
|
2025
|
+
delta = 0L;
|
2026
|
+
checkForResize();
|
2027
|
+
}
|
2028
|
+
break;
|
2029
|
+
}
|
2030
|
+
}
|
2031
|
+
}
|
2032
|
+
}
|
2033
|
+
} finally {
|
2034
|
+
if (delta != 0)
|
2035
|
+
counter.add(delta);
|
2036
|
+
}
|
2037
|
+
if (npe)
|
2038
|
+
throw new NullPointerException();
|
2039
|
+
}
|
2040
|
+
|
2041
|
+
/* ---------------- Table Initialization and Resizing -------------- */
|
2042
|
+
|
2043
|
+
/**
|
2044
|
+
* Returns a power of two table size for the given desired capacity.
|
2045
|
+
* See Hackers Delight, sec 3.2
|
2046
|
+
*/
|
2047
|
+
private static final int tableSizeFor(int c) {
|
2048
|
+
int n = c - 1;
|
2049
|
+
n |= n >>> 1;
|
2050
|
+
n |= n >>> 2;
|
2051
|
+
n |= n >>> 4;
|
2052
|
+
n |= n >>> 8;
|
2053
|
+
n |= n >>> 16;
|
2054
|
+
return (n < 0) ? 1 : (n >= MAXIMUM_CAPACITY) ? MAXIMUM_CAPACITY : n + 1;
|
2055
|
+
}
|
2056
|
+
|
2057
|
+
/**
|
2058
|
+
* Initializes table, using the size recorded in sizeCtl.
|
2059
|
+
*/
|
2060
|
+
private final Node[] initTable() {
|
2061
|
+
Node[] tab; int sc;
|
2062
|
+
while ((tab = table) == null) {
|
2063
|
+
if ((sc = sizeCtl) < 0)
|
2064
|
+
Thread.yield(); // lost initialization race; just spin
|
2065
|
+
else if (UNSAFE.compareAndSwapInt(this, sizeCtlOffset, sc, -1)) {
|
2066
|
+
try {
|
2067
|
+
if ((tab = table) == null) {
|
2068
|
+
int n = (sc > 0) ? sc : DEFAULT_CAPACITY;
|
2069
|
+
tab = table = new Node[n];
|
2070
|
+
sc = n - (n >>> 2);
|
2071
|
+
}
|
2072
|
+
} finally {
|
2073
|
+
sizeCtl = sc;
|
2074
|
+
}
|
2075
|
+
break;
|
2076
|
+
}
|
2077
|
+
}
|
2078
|
+
return tab;
|
2079
|
+
}
|
2080
|
+
|
2081
|
+
/**
|
2082
|
+
* If table is too small and not already resizing, creates next
|
2083
|
+
* table and transfers bins. Rechecks occupancy after a transfer
|
2084
|
+
* to see if another resize is already needed because resizings
|
2085
|
+
* are lagging additions.
|
2086
|
+
*/
|
2087
|
+
private final void checkForResize() {
|
2088
|
+
Node[] tab; int n, sc;
|
2089
|
+
while ((tab = table) != null &&
|
2090
|
+
(n = tab.length) < MAXIMUM_CAPACITY &&
|
2091
|
+
(sc = sizeCtl) >= 0 && counter.sum() >= (long)sc &&
|
2092
|
+
UNSAFE.compareAndSwapInt(this, sizeCtlOffset, sc, -1)) {
|
2093
|
+
try {
|
2094
|
+
if (tab == table) {
|
2095
|
+
table = rebuild(tab);
|
2096
|
+
sc = (n << 1) - (n >>> 1);
|
2097
|
+
}
|
2098
|
+
} finally {
|
2099
|
+
sizeCtl = sc;
|
2100
|
+
}
|
2101
|
+
}
|
2102
|
+
}
|
2103
|
+
|
2104
|
+
/**
|
2105
|
+
* Tries to presize table to accommodate the given number of elements.
|
2106
|
+
*
|
2107
|
+
* @param size number of elements (doesn't need to be perfectly accurate)
|
2108
|
+
*/
|
2109
|
+
private final void tryPresize(int size) {
|
2110
|
+
int c = (size >= (MAXIMUM_CAPACITY >>> 1)) ? MAXIMUM_CAPACITY :
|
2111
|
+
tableSizeFor(size + (size >>> 1) + 1);
|
2112
|
+
int sc;
|
2113
|
+
while ((sc = sizeCtl) >= 0) {
|
2114
|
+
Node[] tab = table; int n;
|
2115
|
+
if (tab == null || (n = tab.length) == 0) {
|
2116
|
+
n = (sc > c) ? sc : c;
|
2117
|
+
if (UNSAFE.compareAndSwapInt(this, sizeCtlOffset, sc, -1)) {
|
2118
|
+
try {
|
2119
|
+
if (table == tab) {
|
2120
|
+
table = new Node[n];
|
2121
|
+
sc = n - (n >>> 2);
|
2122
|
+
}
|
2123
|
+
} finally {
|
2124
|
+
sizeCtl = sc;
|
2125
|
+
}
|
2126
|
+
}
|
2127
|
+
}
|
2128
|
+
else if (c <= sc || n >= MAXIMUM_CAPACITY)
|
2129
|
+
break;
|
2130
|
+
else if (UNSAFE.compareAndSwapInt(this, sizeCtlOffset, sc, -1)) {
|
2131
|
+
try {
|
2132
|
+
if (table == tab) {
|
2133
|
+
table = rebuild(tab);
|
2134
|
+
sc = (n << 1) - (n >>> 1);
|
2135
|
+
}
|
2136
|
+
} finally {
|
2137
|
+
sizeCtl = sc;
|
2138
|
+
}
|
2139
|
+
}
|
2140
|
+
}
|
2141
|
+
}
|
2142
|
+
|
2143
|
+
/*
|
2144
|
+
* Moves and/or copies the nodes in each bin to new table. See
|
2145
|
+
* above for explanation.
|
2146
|
+
*
|
2147
|
+
* @return the new table
|
2148
|
+
*/
|
2149
|
+
private static final Node[] rebuild(Node[] tab) {
|
2150
|
+
int n = tab.length;
|
2151
|
+
Node[] nextTab = new Node[n << 1];
|
2152
|
+
Node fwd = new Node(MOVED, nextTab, null, null);
|
2153
|
+
int[] buffer = null; // holds bins to revisit; null until needed
|
2154
|
+
Node rev = null; // reverse forwarder; null until needed
|
2155
|
+
int nbuffered = 0; // the number of bins in buffer list
|
2156
|
+
int bufferIndex = 0; // buffer index of current buffered bin
|
2157
|
+
int bin = n - 1; // current non-buffered bin or -1 if none
|
2158
|
+
|
2159
|
+
for (int i = bin;;) { // start upwards sweep
|
2160
|
+
int fh; Node f;
|
2161
|
+
if ((f = tabAt(tab, i)) == null) {
|
2162
|
+
if (bin >= 0) { // Unbuffered; no lock needed (or available)
|
2163
|
+
if (!casTabAt(tab, i, f, fwd))
|
2164
|
+
continue;
|
2165
|
+
}
|
2166
|
+
else { // transiently use a locked forwarding node
|
2167
|
+
Node g = new Node(MOVED|LOCKED, nextTab, null, null);
|
2168
|
+
if (!casTabAt(tab, i, f, g))
|
2169
|
+
continue;
|
2170
|
+
setTabAt(nextTab, i, null);
|
2171
|
+
setTabAt(nextTab, i + n, null);
|
2172
|
+
setTabAt(tab, i, fwd);
|
2173
|
+
if (!g.casHash(MOVED|LOCKED, MOVED)) {
|
2174
|
+
g.hash = MOVED;
|
2175
|
+
synchronized (g) { g.notifyAll(); }
|
2176
|
+
}
|
2177
|
+
}
|
2178
|
+
}
|
2179
|
+
else if ((fh = f.hash) == MOVED) {
|
2180
|
+
Object fk = f.key;
|
2181
|
+
if (fk instanceof TreeBin) {
|
2182
|
+
TreeBin t = (TreeBin)fk;
|
2183
|
+
boolean validated = false;
|
2184
|
+
t.acquire(0);
|
2185
|
+
try {
|
2186
|
+
if (tabAt(tab, i) == f) {
|
2187
|
+
validated = true;
|
2188
|
+
splitTreeBin(nextTab, i, t);
|
2189
|
+
setTabAt(tab, i, fwd);
|
2190
|
+
}
|
2191
|
+
} finally {
|
2192
|
+
t.release(0);
|
2193
|
+
}
|
2194
|
+
if (!validated)
|
2195
|
+
continue;
|
2196
|
+
}
|
2197
|
+
}
|
2198
|
+
else if ((fh & LOCKED) == 0 && f.casHash(fh, fh|LOCKED)) {
|
2199
|
+
boolean validated = false;
|
2200
|
+
try { // split to lo and hi lists; copying as needed
|
2201
|
+
if (tabAt(tab, i) == f) {
|
2202
|
+
validated = true;
|
2203
|
+
splitBin(nextTab, i, f);
|
2204
|
+
setTabAt(tab, i, fwd);
|
2205
|
+
}
|
2206
|
+
} finally {
|
2207
|
+
if (!f.casHash(fh | LOCKED, fh)) {
|
2208
|
+
f.hash = fh;
|
2209
|
+
synchronized (f) { f.notifyAll(); };
|
2210
|
+
}
|
2211
|
+
}
|
2212
|
+
if (!validated)
|
2213
|
+
continue;
|
2214
|
+
}
|
2215
|
+
else {
|
2216
|
+
if (buffer == null) // initialize buffer for revisits
|
2217
|
+
buffer = new int[TRANSFER_BUFFER_SIZE];
|
2218
|
+
if (bin < 0 && bufferIndex > 0) {
|
2219
|
+
int j = buffer[--bufferIndex];
|
2220
|
+
buffer[bufferIndex] = i;
|
2221
|
+
i = j; // swap with another bin
|
2222
|
+
continue;
|
2223
|
+
}
|
2224
|
+
if (bin < 0 || nbuffered >= TRANSFER_BUFFER_SIZE) {
|
2225
|
+
f.tryAwaitLock(tab, i);
|
2226
|
+
continue; // no other options -- block
|
2227
|
+
}
|
2228
|
+
if (rev == null) // initialize reverse-forwarder
|
2229
|
+
rev = new Node(MOVED, tab, null, null);
|
2230
|
+
if (tabAt(tab, i) != f || (f.hash & LOCKED) == 0)
|
2231
|
+
continue; // recheck before adding to list
|
2232
|
+
buffer[nbuffered++] = i;
|
2233
|
+
setTabAt(nextTab, i, rev); // install place-holders
|
2234
|
+
setTabAt(nextTab, i + n, rev);
|
2235
|
+
}
|
2236
|
+
|
2237
|
+
if (bin > 0)
|
2238
|
+
i = --bin;
|
2239
|
+
else if (buffer != null && nbuffered > 0) {
|
2240
|
+
bin = -1;
|
2241
|
+
i = buffer[bufferIndex = --nbuffered];
|
2242
|
+
}
|
2243
|
+
else
|
2244
|
+
return nextTab;
|
2245
|
+
}
|
2246
|
+
}
|
2247
|
+
|
2248
|
+
/**
|
2249
|
+
* Splits a normal bin with list headed by e into lo and hi parts;
|
2250
|
+
* installs in given table.
|
2251
|
+
*/
|
2252
|
+
private static void splitBin(Node[] nextTab, int i, Node e) {
|
2253
|
+
int bit = nextTab.length >>> 1; // bit to split on
|
2254
|
+
int runBit = e.hash & bit;
|
2255
|
+
Node lastRun = e, lo = null, hi = null;
|
2256
|
+
for (Node p = e.next; p != null; p = p.next) {
|
2257
|
+
int b = p.hash & bit;
|
2258
|
+
if (b != runBit) {
|
2259
|
+
runBit = b;
|
2260
|
+
lastRun = p;
|
2261
|
+
}
|
2262
|
+
}
|
2263
|
+
if (runBit == 0)
|
2264
|
+
lo = lastRun;
|
2265
|
+
else
|
2266
|
+
hi = lastRun;
|
2267
|
+
for (Node p = e; p != lastRun; p = p.next) {
|
2268
|
+
int ph = p.hash & HASH_BITS;
|
2269
|
+
Object pk = p.key, pv = p.val;
|
2270
|
+
if ((ph & bit) == 0)
|
2271
|
+
lo = new Node(ph, pk, pv, lo);
|
2272
|
+
else
|
2273
|
+
hi = new Node(ph, pk, pv, hi);
|
2274
|
+
}
|
2275
|
+
setTabAt(nextTab, i, lo);
|
2276
|
+
setTabAt(nextTab, i + bit, hi);
|
2277
|
+
}
|
2278
|
+
|
2279
|
+
/**
|
2280
|
+
* Splits a tree bin into lo and hi parts; installs in given table.
|
2281
|
+
*/
|
2282
|
+
private static void splitTreeBin(Node[] nextTab, int i, TreeBin t) {
|
2283
|
+
int bit = nextTab.length >>> 1;
|
2284
|
+
TreeBin lt = new TreeBin();
|
2285
|
+
TreeBin ht = new TreeBin();
|
2286
|
+
int lc = 0, hc = 0;
|
2287
|
+
for (Node e = t.first; e != null; e = e.next) {
|
2288
|
+
int h = e.hash & HASH_BITS;
|
2289
|
+
Object k = e.key, v = e.val;
|
2290
|
+
if ((h & bit) == 0) {
|
2291
|
+
++lc;
|
2292
|
+
lt.putTreeNode(h, k, v);
|
2293
|
+
}
|
2294
|
+
else {
|
2295
|
+
++hc;
|
2296
|
+
ht.putTreeNode(h, k, v);
|
2297
|
+
}
|
2298
|
+
}
|
2299
|
+
Node ln, hn; // throw away trees if too small
|
2300
|
+
if (lc <= (TREE_THRESHOLD >>> 1)) {
|
2301
|
+
ln = null;
|
2302
|
+
for (Node p = lt.first; p != null; p = p.next)
|
2303
|
+
ln = new Node(p.hash, p.key, p.val, ln);
|
2304
|
+
}
|
2305
|
+
else
|
2306
|
+
ln = new Node(MOVED, lt, null, null);
|
2307
|
+
setTabAt(nextTab, i, ln);
|
2308
|
+
if (hc <= (TREE_THRESHOLD >>> 1)) {
|
2309
|
+
hn = null;
|
2310
|
+
for (Node p = ht.first; p != null; p = p.next)
|
2311
|
+
hn = new Node(p.hash, p.key, p.val, hn);
|
2312
|
+
}
|
2313
|
+
else
|
2314
|
+
hn = new Node(MOVED, ht, null, null);
|
2315
|
+
setTabAt(nextTab, i + bit, hn);
|
2316
|
+
}
|
2317
|
+
|
2318
|
+
/**
|
2319
|
+
* Implementation for clear. Steps through each bin, removing all
|
2320
|
+
* nodes.
|
2321
|
+
*/
|
2322
|
+
private final void internalClear() {
|
2323
|
+
long delta = 0L; // negative number of deletions
|
2324
|
+
int i = 0;
|
2325
|
+
Node[] tab = table;
|
2326
|
+
while (tab != null && i < tab.length) {
|
2327
|
+
int fh; Object fk;
|
2328
|
+
Node f = tabAt(tab, i);
|
2329
|
+
if (f == null)
|
2330
|
+
++i;
|
2331
|
+
else if ((fh = f.hash) == MOVED) {
|
2332
|
+
if ((fk = f.key) instanceof TreeBin) {
|
2333
|
+
TreeBin t = (TreeBin)fk;
|
2334
|
+
t.acquire(0);
|
2335
|
+
try {
|
2336
|
+
if (tabAt(tab, i) == f) {
|
2337
|
+
for (Node p = t.first; p != null; p = p.next) {
|
2338
|
+
if (p.val != null) { // (currently always true)
|
2339
|
+
p.val = null;
|
2340
|
+
--delta;
|
2341
|
+
}
|
2342
|
+
}
|
2343
|
+
t.first = null;
|
2344
|
+
t.root = null;
|
2345
|
+
++i;
|
2346
|
+
}
|
2347
|
+
} finally {
|
2348
|
+
t.release(0);
|
2349
|
+
}
|
2350
|
+
}
|
2351
|
+
else
|
2352
|
+
tab = (Node[])fk;
|
2353
|
+
}
|
2354
|
+
else if ((fh & LOCKED) != 0) {
|
2355
|
+
counter.add(delta); // opportunistically update count
|
2356
|
+
delta = 0L;
|
2357
|
+
f.tryAwaitLock(tab, i);
|
2358
|
+
}
|
2359
|
+
else if (f.casHash(fh, fh | LOCKED)) {
|
2360
|
+
try {
|
2361
|
+
if (tabAt(tab, i) == f) {
|
2362
|
+
for (Node e = f; e != null; e = e.next) {
|
2363
|
+
if (e.val != null) { // (currently always true)
|
2364
|
+
e.val = null;
|
2365
|
+
--delta;
|
2366
|
+
}
|
2367
|
+
}
|
2368
|
+
setTabAt(tab, i, null);
|
2369
|
+
++i;
|
2370
|
+
}
|
2371
|
+
} finally {
|
2372
|
+
if (!f.casHash(fh | LOCKED, fh)) {
|
2373
|
+
f.hash = fh;
|
2374
|
+
synchronized (f) { f.notifyAll(); };
|
2375
|
+
}
|
2376
|
+
}
|
2377
|
+
}
|
2378
|
+
}
|
2379
|
+
if (delta != 0)
|
2380
|
+
counter.add(delta);
|
2381
|
+
}
|
2382
|
+
|
2383
|
+
/* ----------------Table Traversal -------------- */
|
2384
|
+
|
2385
|
+
/**
|
2386
|
+
* Encapsulates traversal for methods such as containsValue; also
|
2387
|
+
* serves as a base class for other iterators and bulk tasks.
|
2388
|
+
*
|
2389
|
+
* At each step, the iterator snapshots the key ("nextKey") and
|
2390
|
+
* value ("nextVal") of a valid node (i.e., one that, at point of
|
2391
|
+
* snapshot, has a non-null user value). Because val fields can
|
2392
|
+
* change (including to null, indicating deletion), field nextVal
|
2393
|
+
* might not be accurate at point of use, but still maintains the
|
2394
|
+
* weak consistency property of holding a value that was once
|
2395
|
+
* valid. To support iterator.remove, the nextKey field is not
|
2396
|
+
* updated (nulled out) when the iterator cannot advance.
|
2397
|
+
*
|
2398
|
+
* Internal traversals directly access these fields, as in:
|
2399
|
+
* {@code while (it.advance() != null) { process(it.nextKey); }}
|
2400
|
+
*
|
2401
|
+
* Exported iterators must track whether the iterator has advanced
|
2402
|
+
* (in hasNext vs next) (by setting/checking/nulling field
|
2403
|
+
* nextVal), and then extract key, value, or key-value pairs as
|
2404
|
+
* return values of next().
|
2405
|
+
*
|
2406
|
+
* The iterator visits once each still-valid node that was
|
2407
|
+
* reachable upon iterator construction. It might miss some that
|
2408
|
+
* were added to a bin after the bin was visited, which is OK wrt
|
2409
|
+
* consistency guarantees. Maintaining this property in the face
|
2410
|
+
* of possible ongoing resizes requires a fair amount of
|
2411
|
+
* bookkeeping state that is difficult to optimize away amidst
|
2412
|
+
* volatile accesses. Even so, traversal maintains reasonable
|
2413
|
+
* throughput.
|
2414
|
+
*
|
2415
|
+
* Normally, iteration proceeds bin-by-bin traversing lists.
|
2416
|
+
* However, if the table has been resized, then all future steps
|
2417
|
+
* must traverse both the bin at the current index as well as at
|
2418
|
+
* (index + baseSize); and so on for further resizings. To
|
2419
|
+
* paranoically cope with potential sharing by users of iterators
|
2420
|
+
* across threads, iteration terminates if a bounds checks fails
|
2421
|
+
* for a table read.
|
2422
|
+
*
|
2423
|
+
* This class extends ForkJoinTask to streamline parallel
|
2424
|
+
* iteration in bulk operations (see BulkTask). This adds only an
|
2425
|
+
* int of space overhead, which is close enough to negligible in
|
2426
|
+
* cases where it is not needed to not worry about it. Because
|
2427
|
+
* ForkJoinTask is Serializable, but iterators need not be, we
|
2428
|
+
* need to add warning suppressions.
|
2429
|
+
*/
|
2430
|
+
@SuppressWarnings("serial") static class Traverser<K,V,R> {
|
2431
|
+
final ConcurrentHashMapV8<K, V> map;
|
2432
|
+
Node next; // the next entry to use
|
2433
|
+
K nextKey; // cached key field of next
|
2434
|
+
V nextVal; // cached val field of next
|
2435
|
+
Node[] tab; // current table; updated if resized
|
2436
|
+
int index; // index of bin to use next
|
2437
|
+
int baseIndex; // current index of initial table
|
2438
|
+
int baseLimit; // index bound for initial table
|
2439
|
+
int baseSize; // initial table size
|
2440
|
+
|
2441
|
+
/** Creates iterator for all entries in the table. */
|
2442
|
+
Traverser(ConcurrentHashMapV8<K, V> map) {
|
2443
|
+
this.map = map;
|
2444
|
+
}
|
2445
|
+
|
2446
|
+
/** Creates iterator for split() methods */
|
2447
|
+
Traverser(Traverser<K,V,?> it) {
|
2448
|
+
ConcurrentHashMapV8<K, V> m; Node[] t;
|
2449
|
+
if ((m = this.map = it.map) == null)
|
2450
|
+
t = null;
|
2451
|
+
else if ((t = it.tab) == null && // force parent tab initialization
|
2452
|
+
(t = it.tab = m.table) != null)
|
2453
|
+
it.baseLimit = it.baseSize = t.length;
|
2454
|
+
this.tab = t;
|
2455
|
+
this.baseSize = it.baseSize;
|
2456
|
+
it.baseLimit = this.index = this.baseIndex =
|
2457
|
+
((this.baseLimit = it.baseLimit) + it.baseIndex + 1) >>> 1;
|
2458
|
+
}
|
2459
|
+
|
2460
|
+
/**
|
2461
|
+
* Advances next; returns nextVal or null if terminated.
|
2462
|
+
* See above for explanation.
|
2463
|
+
*/
|
2464
|
+
final V advance() {
|
2465
|
+
Node e = next;
|
2466
|
+
V ev = null;
|
2467
|
+
outer: do {
|
2468
|
+
if (e != null) // advance past used/skipped node
|
2469
|
+
e = e.next;
|
2470
|
+
while (e == null) { // get to next non-null bin
|
2471
|
+
ConcurrentHashMapV8<K, V> m;
|
2472
|
+
Node[] t; int b, i, n; Object ek; // checks must use locals
|
2473
|
+
if ((t = tab) != null)
|
2474
|
+
n = t.length;
|
2475
|
+
else if ((m = map) != null && (t = tab = m.table) != null)
|
2476
|
+
n = baseLimit = baseSize = t.length;
|
2477
|
+
else
|
2478
|
+
break outer;
|
2479
|
+
if ((b = baseIndex) >= baseLimit ||
|
2480
|
+
(i = index) < 0 || i >= n)
|
2481
|
+
break outer;
|
2482
|
+
if ((e = tabAt(t, i)) != null && e.hash == MOVED) {
|
2483
|
+
if ((ek = e.key) instanceof TreeBin)
|
2484
|
+
e = ((TreeBin)ek).first;
|
2485
|
+
else {
|
2486
|
+
tab = (Node[])ek;
|
2487
|
+
continue; // restarts due to null val
|
2488
|
+
}
|
2489
|
+
} // visit upper slots if present
|
2490
|
+
index = (i += baseSize) < n ? i : (baseIndex = b + 1);
|
2491
|
+
}
|
2492
|
+
nextKey = (K) e.key;
|
2493
|
+
} while ((ev = (V) e.val) == null); // skip deleted or special nodes
|
2494
|
+
next = e;
|
2495
|
+
return nextVal = ev;
|
2496
|
+
}
|
2497
|
+
|
2498
|
+
public final void remove() {
|
2499
|
+
Object k = nextKey;
|
2500
|
+
if (k == null && (advance() == null || (k = nextKey) == null))
|
2501
|
+
throw new IllegalStateException();
|
2502
|
+
map.internalReplace(k, null, null);
|
2503
|
+
}
|
2504
|
+
|
2505
|
+
public final boolean hasNext() {
|
2506
|
+
return nextVal != null || advance() != null;
|
2507
|
+
}
|
2508
|
+
|
2509
|
+
public final boolean hasMoreElements() { return hasNext(); }
|
2510
|
+
public final void setRawResult(Object x) { }
|
2511
|
+
public R getRawResult() { return null; }
|
2512
|
+
public boolean exec() { return true; }
|
2513
|
+
}
|
2514
|
+
|
2515
|
+
/* ---------------- Public operations -------------- */
|
2516
|
+
|
2517
|
+
/**
|
2518
|
+
* Creates a new, empty map with the default initial table size (16).
|
2519
|
+
*/
|
2520
|
+
public ConcurrentHashMapV8() {
|
2521
|
+
this.counter = new LongAdder();
|
2522
|
+
}
|
2523
|
+
|
2524
|
+
/**
|
2525
|
+
* Creates a new, empty map with an initial table size
|
2526
|
+
* accommodating the specified number of elements without the need
|
2527
|
+
* to dynamically resize.
|
2528
|
+
*
|
2529
|
+
* @param initialCapacity The implementation performs internal
|
2530
|
+
* sizing to accommodate this many elements.
|
2531
|
+
* @throws IllegalArgumentException if the initial capacity of
|
2532
|
+
* elements is negative
|
2533
|
+
*/
|
2534
|
+
public ConcurrentHashMapV8(int initialCapacity) {
|
2535
|
+
if (initialCapacity < 0)
|
2536
|
+
throw new IllegalArgumentException();
|
2537
|
+
int cap = ((initialCapacity >= (MAXIMUM_CAPACITY >>> 1)) ?
|
2538
|
+
MAXIMUM_CAPACITY :
|
2539
|
+
tableSizeFor(initialCapacity + (initialCapacity >>> 1) + 1));
|
2540
|
+
this.counter = new LongAdder();
|
2541
|
+
this.sizeCtl = cap;
|
2542
|
+
}
|
2543
|
+
|
2544
|
+
/**
|
2545
|
+
* Creates a new map with the same mappings as the given map.
|
2546
|
+
*
|
2547
|
+
* @param m the map
|
2548
|
+
*/
|
2549
|
+
public ConcurrentHashMapV8(Map<? extends K, ? extends V> m) {
|
2550
|
+
this.counter = new LongAdder();
|
2551
|
+
this.sizeCtl = DEFAULT_CAPACITY;
|
2552
|
+
internalPutAll(m);
|
2553
|
+
}
|
2554
|
+
|
2555
|
+
/**
|
2556
|
+
* Creates a new, empty map with an initial table size based on
|
2557
|
+
* the given number of elements ({@code initialCapacity}) and
|
2558
|
+
* initial table density ({@code loadFactor}).
|
2559
|
+
*
|
2560
|
+
* @param initialCapacity the initial capacity. The implementation
|
2561
|
+
* performs internal sizing to accommodate this many elements,
|
2562
|
+
* given the specified load factor.
|
2563
|
+
* @param loadFactor the load factor (table density) for
|
2564
|
+
* establishing the initial table size
|
2565
|
+
* @throws IllegalArgumentException if the initial capacity of
|
2566
|
+
* elements is negative or the load factor is nonpositive
|
2567
|
+
*
|
2568
|
+
* @since 1.6
|
2569
|
+
*/
|
2570
|
+
public ConcurrentHashMapV8(int initialCapacity, float loadFactor) {
|
2571
|
+
this(initialCapacity, loadFactor, 1);
|
2572
|
+
}
|
2573
|
+
|
2574
|
+
/**
|
2575
|
+
* Creates a new, empty map with an initial table size based on
|
2576
|
+
* the given number of elements ({@code initialCapacity}), table
|
2577
|
+
* density ({@code loadFactor}), and number of concurrently
|
2578
|
+
* updating threads ({@code concurrencyLevel}).
|
2579
|
+
*
|
2580
|
+
* @param initialCapacity the initial capacity. The implementation
|
2581
|
+
* performs internal sizing to accommodate this many elements,
|
2582
|
+
* given the specified load factor.
|
2583
|
+
* @param loadFactor the load factor (table density) for
|
2584
|
+
* establishing the initial table size
|
2585
|
+
* @param concurrencyLevel the estimated number of concurrently
|
2586
|
+
* updating threads. The implementation may use this value as
|
2587
|
+
* a sizing hint.
|
2588
|
+
* @throws IllegalArgumentException if the initial capacity is
|
2589
|
+
* negative or the load factor or concurrencyLevel are
|
2590
|
+
* nonpositive
|
2591
|
+
*/
|
2592
|
+
public ConcurrentHashMapV8(int initialCapacity,
|
2593
|
+
float loadFactor, int concurrencyLevel) {
|
2594
|
+
if (!(loadFactor > 0.0f) || initialCapacity < 0 || concurrencyLevel <= 0)
|
2595
|
+
throw new IllegalArgumentException();
|
2596
|
+
if (initialCapacity < concurrencyLevel) // Use at least as many bins
|
2597
|
+
initialCapacity = concurrencyLevel; // as estimated threads
|
2598
|
+
long size = (long)(1.0 + (long)initialCapacity / loadFactor);
|
2599
|
+
int cap = (size >= (long)MAXIMUM_CAPACITY) ?
|
2600
|
+
MAXIMUM_CAPACITY : tableSizeFor((int)size);
|
2601
|
+
this.counter = new LongAdder();
|
2602
|
+
this.sizeCtl = cap;
|
2603
|
+
}
|
2604
|
+
|
2605
|
+
/**
|
2606
|
+
* Creates a new {@link Set} backed by a ConcurrentHashMapV8
|
2607
|
+
* from the given type to {@code Boolean.TRUE}.
|
2608
|
+
*
|
2609
|
+
* @return the new set
|
2610
|
+
*/
|
2611
|
+
public static <K> KeySetView<K,Boolean> newKeySet() {
|
2612
|
+
return new KeySetView<K,Boolean>(new ConcurrentHashMapV8<K,Boolean>(),
|
2613
|
+
Boolean.TRUE);
|
2614
|
+
}
|
2615
|
+
|
2616
|
+
/**
|
2617
|
+
* Creates a new {@link Set} backed by a ConcurrentHashMapV8
|
2618
|
+
* from the given type to {@code Boolean.TRUE}.
|
2619
|
+
*
|
2620
|
+
* @param initialCapacity The implementation performs internal
|
2621
|
+
* sizing to accommodate this many elements.
|
2622
|
+
* @throws IllegalArgumentException if the initial capacity of
|
2623
|
+
* elements is negative
|
2624
|
+
* @return the new set
|
2625
|
+
*/
|
2626
|
+
public static <K> KeySetView<K,Boolean> newKeySet(int initialCapacity) {
|
2627
|
+
return new KeySetView<K,Boolean>(new ConcurrentHashMapV8<K,Boolean>(initialCapacity),
|
2628
|
+
Boolean.TRUE);
|
2629
|
+
}
|
2630
|
+
|
2631
|
+
/**
|
2632
|
+
* {@inheritDoc}
|
2633
|
+
*/
|
2634
|
+
public boolean isEmpty() {
|
2635
|
+
return counter.sum() <= 0L; // ignore transient negative values
|
2636
|
+
}
|
2637
|
+
|
2638
|
+
/**
|
2639
|
+
* {@inheritDoc}
|
2640
|
+
*/
|
2641
|
+
public int size() {
|
2642
|
+
long n = counter.sum();
|
2643
|
+
return ((n < 0L) ? 0 :
|
2644
|
+
(n > (long)Integer.MAX_VALUE) ? Integer.MAX_VALUE :
|
2645
|
+
(int)n);
|
2646
|
+
}
|
2647
|
+
|
2648
|
+
/**
|
2649
|
+
* Returns the number of mappings. This method should be used
|
2650
|
+
* instead of {@link #size} because a ConcurrentHashMapV8 may
|
2651
|
+
* contain more mappings than can be represented as an int. The
|
2652
|
+
* value returned is a snapshot; the actual count may differ if
|
2653
|
+
* there are ongoing concurrent insertions or removals.
|
2654
|
+
*
|
2655
|
+
* @return the number of mappings
|
2656
|
+
*/
|
2657
|
+
public long mappingCount() {
|
2658
|
+
long n = counter.sum();
|
2659
|
+
return (n < 0L) ? 0L : n; // ignore transient negative values
|
2660
|
+
}
|
2661
|
+
|
2662
|
+
/**
|
2663
|
+
* Returns the value to which the specified key is mapped,
|
2664
|
+
* or {@code null} if this map contains no mapping for the key.
|
2665
|
+
*
|
2666
|
+
* <p>More formally, if this map contains a mapping from a key
|
2667
|
+
* {@code k} to a value {@code v} such that {@code key.equals(k)},
|
2668
|
+
* then this method returns {@code v}; otherwise it returns
|
2669
|
+
* {@code null}. (There can be at most one such mapping.)
|
2670
|
+
*
|
2671
|
+
* @throws NullPointerException if the specified key is null
|
2672
|
+
*/
|
2673
|
+
@SuppressWarnings("unchecked") public V get(Object key) {
|
2674
|
+
if (key == null)
|
2675
|
+
throw new NullPointerException();
|
2676
|
+
return (V)internalGet(key);
|
2677
|
+
}
|
2678
|
+
|
2679
|
+
/**
|
2680
|
+
* Returns the value to which the specified key is mapped,
|
2681
|
+
* or the given defaultValue if this map contains no mapping for the key.
|
2682
|
+
*
|
2683
|
+
* @param key the key
|
2684
|
+
* @param defaultValue the value to return if this map contains
|
2685
|
+
* no mapping for the given key
|
2686
|
+
* @return the mapping for the key, if present; else the defaultValue
|
2687
|
+
* @throws NullPointerException if the specified key is null
|
2688
|
+
*/
|
2689
|
+
@SuppressWarnings("unchecked") public V getValueOrDefault(Object key, V defaultValue) {
|
2690
|
+
if (key == null)
|
2691
|
+
throw new NullPointerException();
|
2692
|
+
V v = (V) internalGet(key);
|
2693
|
+
return v == null ? defaultValue : v;
|
2694
|
+
}
|
2695
|
+
|
2696
|
+
/**
|
2697
|
+
* Tests if the specified object is a key in this table.
|
2698
|
+
*
|
2699
|
+
* @param key possible key
|
2700
|
+
* @return {@code true} if and only if the specified object
|
2701
|
+
* is a key in this table, as determined by the
|
2702
|
+
* {@code equals} method; {@code false} otherwise
|
2703
|
+
* @throws NullPointerException if the specified key is null
|
2704
|
+
*/
|
2705
|
+
public boolean containsKey(Object key) {
|
2706
|
+
if (key == null)
|
2707
|
+
throw new NullPointerException();
|
2708
|
+
return internalGet(key) != null;
|
2709
|
+
}
|
2710
|
+
|
2711
|
+
/**
|
2712
|
+
* Returns {@code true} if this map maps one or more keys to the
|
2713
|
+
* specified value. Note: This method may require a full traversal
|
2714
|
+
* of the map, and is much slower than method {@code containsKey}.
|
2715
|
+
*
|
2716
|
+
* @param value value whose presence in this map is to be tested
|
2717
|
+
* @return {@code true} if this map maps one or more keys to the
|
2718
|
+
* specified value
|
2719
|
+
* @throws NullPointerException if the specified value is null
|
2720
|
+
*/
|
2721
|
+
public boolean containsValue(Object value) {
|
2722
|
+
if (value == null)
|
2723
|
+
throw new NullPointerException();
|
2724
|
+
Object v;
|
2725
|
+
Traverser<K,V,Object> it = new Traverser<K,V,Object>(this);
|
2726
|
+
while ((v = it.advance()) != null) {
|
2727
|
+
if (v == value || value.equals(v))
|
2728
|
+
return true;
|
2729
|
+
}
|
2730
|
+
return false;
|
2731
|
+
}
|
2732
|
+
|
2733
|
+
public K findKey(Object value) {
|
2734
|
+
if (value == null)
|
2735
|
+
throw new NullPointerException();
|
2736
|
+
Object v;
|
2737
|
+
Traverser<K,V,Object> it = new Traverser<K,V,Object>(this);
|
2738
|
+
while ((v = it.advance()) != null) {
|
2739
|
+
if (v == value || value.equals(v))
|
2740
|
+
return it.nextKey;
|
2741
|
+
}
|
2742
|
+
return null;
|
2743
|
+
}
|
2744
|
+
|
2745
|
+
/**
|
2746
|
+
* Legacy method testing if some key maps into the specified value
|
2747
|
+
* in this table. This method is identical in functionality to
|
2748
|
+
* {@link #containsValue}, and exists solely to ensure
|
2749
|
+
* full compatibility with class {@link java.util.Hashtable},
|
2750
|
+
* which supported this method prior to introduction of the
|
2751
|
+
* Java Collections framework.
|
2752
|
+
*
|
2753
|
+
* @param value a value to search for
|
2754
|
+
* @return {@code true} if and only if some key maps to the
|
2755
|
+
* {@code value} argument in this table as
|
2756
|
+
* determined by the {@code equals} method;
|
2757
|
+
* {@code false} otherwise
|
2758
|
+
* @throws NullPointerException if the specified value is null
|
2759
|
+
*/
|
2760
|
+
public boolean contains(Object value) {
|
2761
|
+
return containsValue(value);
|
2762
|
+
}
|
2763
|
+
|
2764
|
+
/**
|
2765
|
+
* Maps the specified key to the specified value in this table.
|
2766
|
+
* Neither the key nor the value can be null.
|
2767
|
+
*
|
2768
|
+
* <p>The value can be retrieved by calling the {@code get} method
|
2769
|
+
* with a key that is equal to the original key.
|
2770
|
+
*
|
2771
|
+
* @param key key with which the specified value is to be associated
|
2772
|
+
* @param value value to be associated with the specified key
|
2773
|
+
* @return the previous value associated with {@code key}, or
|
2774
|
+
* {@code null} if there was no mapping for {@code key}
|
2775
|
+
* @throws NullPointerException if the specified key or value is null
|
2776
|
+
*/
|
2777
|
+
@SuppressWarnings("unchecked") public V put(K key, V value) {
|
2778
|
+
if (key == null || value == null)
|
2779
|
+
throw new NullPointerException();
|
2780
|
+
return (V)internalPut(key, value);
|
2781
|
+
}
|
2782
|
+
|
2783
|
+
/**
|
2784
|
+
* {@inheritDoc}
|
2785
|
+
*
|
2786
|
+
* @return the previous value associated with the specified key,
|
2787
|
+
* or {@code null} if there was no mapping for the key
|
2788
|
+
* @throws NullPointerException if the specified key or value is null
|
2789
|
+
*/
|
2790
|
+
@SuppressWarnings("unchecked") public V putIfAbsent(K key, V value) {
|
2791
|
+
if (key == null || value == null)
|
2792
|
+
throw new NullPointerException();
|
2793
|
+
return (V)internalPutIfAbsent(key, value);
|
2794
|
+
}
|
2795
|
+
|
2796
|
+
/**
|
2797
|
+
* Copies all of the mappings from the specified map to this one.
|
2798
|
+
* These mappings replace any mappings that this map had for any of the
|
2799
|
+
* keys currently in the specified map.
|
2800
|
+
*
|
2801
|
+
* @param m mappings to be stored in this map
|
2802
|
+
*/
|
2803
|
+
public void putAll(Map<? extends K, ? extends V> m) {
|
2804
|
+
internalPutAll(m);
|
2805
|
+
}
|
2806
|
+
|
2807
|
+
/**
|
2808
|
+
* If the specified key is not already associated with a value,
|
2809
|
+
* computes its value using the given mappingFunction and enters
|
2810
|
+
* it into the map unless null. This is equivalent to
|
2811
|
+
* <pre> {@code
|
2812
|
+
* if (map.containsKey(key))
|
2813
|
+
* return map.get(key);
|
2814
|
+
* value = mappingFunction.apply(key);
|
2815
|
+
* if (value != null)
|
2816
|
+
* map.put(key, value);
|
2817
|
+
* return value;}</pre>
|
2818
|
+
*
|
2819
|
+
* except that the action is performed atomically. If the
|
2820
|
+
* function returns {@code null} no mapping is recorded. If the
|
2821
|
+
* function itself throws an (unchecked) exception, the exception
|
2822
|
+
* is rethrown to its caller, and no mapping is recorded. Some
|
2823
|
+
* attempted update operations on this map by other threads may be
|
2824
|
+
* blocked while computation is in progress, so the computation
|
2825
|
+
* should be short and simple, and must not attempt to update any
|
2826
|
+
* other mappings of this Map. The most appropriate usage is to
|
2827
|
+
* construct a new object serving as an initial mapped value, or
|
2828
|
+
* memoized result, as in:
|
2829
|
+
*
|
2830
|
+
* <pre> {@code
|
2831
|
+
* map.computeIfAbsent(key, new Fun<K, V>() {
|
2832
|
+
* public V map(K k) { return new Value(f(k)); }});}</pre>
|
2833
|
+
*
|
2834
|
+
* @param key key with which the specified value is to be associated
|
2835
|
+
* @param mappingFunction the function to compute a value
|
2836
|
+
* @return the current (existing or computed) value associated with
|
2837
|
+
* the specified key, or null if the computed value is null
|
2838
|
+
* @throws NullPointerException if the specified key or mappingFunction
|
2839
|
+
* is null
|
2840
|
+
* @throws IllegalStateException if the computation detectably
|
2841
|
+
* attempts a recursive update to this map that would
|
2842
|
+
* otherwise never complete
|
2843
|
+
* @throws RuntimeException or Error if the mappingFunction does so,
|
2844
|
+
* in which case the mapping is left unestablished
|
2845
|
+
*/
|
2846
|
+
@SuppressWarnings("unchecked") public V computeIfAbsent
|
2847
|
+
(K key, Fun<? super K, ? extends V> mappingFunction) {
|
2848
|
+
if (key == null || mappingFunction == null)
|
2849
|
+
throw new NullPointerException();
|
2850
|
+
return (V)internalComputeIfAbsent(key, mappingFunction);
|
2851
|
+
}
|
2852
|
+
|
2853
|
+
/**
|
2854
|
+
* If the given key is present, computes a new mapping value given a key and
|
2855
|
+
* its current mapped value. This is equivalent to
|
2856
|
+
* <pre> {@code
|
2857
|
+
* if (map.containsKey(key)) {
|
2858
|
+
* value = remappingFunction.apply(key, map.get(key));
|
2859
|
+
* if (value != null)
|
2860
|
+
* map.put(key, value);
|
2861
|
+
* else
|
2862
|
+
* map.remove(key);
|
2863
|
+
* }
|
2864
|
+
* }</pre>
|
2865
|
+
*
|
2866
|
+
* except that the action is performed atomically. If the
|
2867
|
+
* function returns {@code null}, the mapping is removed. If the
|
2868
|
+
* function itself throws an (unchecked) exception, the exception
|
2869
|
+
* is rethrown to its caller, and the current mapping is left
|
2870
|
+
* unchanged. Some attempted update operations on this map by
|
2871
|
+
* other threads may be blocked while computation is in progress,
|
2872
|
+
* so the computation should be short and simple, and must not
|
2873
|
+
* attempt to update any other mappings of this Map. For example,
|
2874
|
+
* to either create or append new messages to a value mapping:
|
2875
|
+
*
|
2876
|
+
* @param key key with which the specified value is to be associated
|
2877
|
+
* @param remappingFunction the function to compute a value
|
2878
|
+
* @return the new value associated with the specified key, or null if none
|
2879
|
+
* @throws NullPointerException if the specified key or remappingFunction
|
2880
|
+
* is null
|
2881
|
+
* @throws IllegalStateException if the computation detectably
|
2882
|
+
* attempts a recursive update to this map that would
|
2883
|
+
* otherwise never complete
|
2884
|
+
* @throws RuntimeException or Error if the remappingFunction does so,
|
2885
|
+
* in which case the mapping is unchanged
|
2886
|
+
*/
|
2887
|
+
@SuppressWarnings("unchecked") public V computeIfPresent
|
2888
|
+
(K key, BiFun<? super K, ? super V, ? extends V> remappingFunction) {
|
2889
|
+
if (key == null || remappingFunction == null)
|
2890
|
+
throw new NullPointerException();
|
2891
|
+
return (V)internalCompute(key, true, remappingFunction);
|
2892
|
+
}
|
2893
|
+
|
2894
|
+
/**
|
2895
|
+
* Computes a new mapping value given a key and
|
2896
|
+
* its current mapped value (or {@code null} if there is no current
|
2897
|
+
* mapping). This is equivalent to
|
2898
|
+
* <pre> {@code
|
2899
|
+
* value = remappingFunction.apply(key, map.get(key));
|
2900
|
+
* if (value != null)
|
2901
|
+
* map.put(key, value);
|
2902
|
+
* else
|
2903
|
+
* map.remove(key);
|
2904
|
+
* }</pre>
|
2905
|
+
*
|
2906
|
+
* except that the action is performed atomically. If the
|
2907
|
+
* function returns {@code null}, the mapping is removed. If the
|
2908
|
+
* function itself throws an (unchecked) exception, the exception
|
2909
|
+
* is rethrown to its caller, and the current mapping is left
|
2910
|
+
* unchanged. Some attempted update operations on this map by
|
2911
|
+
* other threads may be blocked while computation is in progress,
|
2912
|
+
* so the computation should be short and simple, and must not
|
2913
|
+
* attempt to update any other mappings of this Map. For example,
|
2914
|
+
* to either create or append new messages to a value mapping:
|
2915
|
+
*
|
2916
|
+
* <pre> {@code
|
2917
|
+
* Map<Key, String> map = ...;
|
2918
|
+
* final String msg = ...;
|
2919
|
+
* map.compute(key, new BiFun<Key, String, String>() {
|
2920
|
+
* public String apply(Key k, String v) {
|
2921
|
+
* return (v == null) ? msg : v + msg;});}}</pre>
|
2922
|
+
*
|
2923
|
+
* @param key key with which the specified value is to be associated
|
2924
|
+
* @param remappingFunction the function to compute a value
|
2925
|
+
* @return the new value associated with the specified key, or null if none
|
2926
|
+
* @throws NullPointerException if the specified key or remappingFunction
|
2927
|
+
* is null
|
2928
|
+
* @throws IllegalStateException if the computation detectably
|
2929
|
+
* attempts a recursive update to this map that would
|
2930
|
+
* otherwise never complete
|
2931
|
+
* @throws RuntimeException or Error if the remappingFunction does so,
|
2932
|
+
* in which case the mapping is unchanged
|
2933
|
+
*/
|
2934
|
+
@SuppressWarnings("unchecked") public V compute
|
2935
|
+
(K key, BiFun<? super K, ? super V, ? extends V> remappingFunction) {
|
2936
|
+
if (key == null || remappingFunction == null)
|
2937
|
+
throw new NullPointerException();
|
2938
|
+
return (V)internalCompute(key, false, remappingFunction);
|
2939
|
+
}
|
2940
|
+
|
2941
|
+
/**
|
2942
|
+
* If the specified key is not already associated
|
2943
|
+
* with a value, associate it with the given value.
|
2944
|
+
* Otherwise, replace the value with the results of
|
2945
|
+
* the given remapping function. This is equivalent to:
|
2946
|
+
* <pre> {@code
|
2947
|
+
* if (!map.containsKey(key))
|
2948
|
+
* map.put(value);
|
2949
|
+
* else {
|
2950
|
+
* newValue = remappingFunction.apply(map.get(key), value);
|
2951
|
+
* if (value != null)
|
2952
|
+
* map.put(key, value);
|
2953
|
+
* else
|
2954
|
+
* map.remove(key);
|
2955
|
+
* }
|
2956
|
+
* }</pre>
|
2957
|
+
* except that the action is performed atomically. If the
|
2958
|
+
* function returns {@code null}, the mapping is removed. If the
|
2959
|
+
* function itself throws an (unchecked) exception, the exception
|
2960
|
+
* is rethrown to its caller, and the current mapping is left
|
2961
|
+
* unchanged. Some attempted update operations on this map by
|
2962
|
+
* other threads may be blocked while computation is in progress,
|
2963
|
+
* so the computation should be short and simple, and must not
|
2964
|
+
* attempt to update any other mappings of this Map.
|
2965
|
+
*/
|
2966
|
+
@SuppressWarnings("unchecked") public V merge
|
2967
|
+
(K key, V value, BiFun<? super V, ? super V, ? extends V> remappingFunction) {
|
2968
|
+
if (key == null || value == null || remappingFunction == null)
|
2969
|
+
throw new NullPointerException();
|
2970
|
+
return (V)internalMerge(key, value, remappingFunction);
|
2971
|
+
}
|
2972
|
+
|
2973
|
+
/**
|
2974
|
+
* Removes the key (and its corresponding value) from this map.
|
2975
|
+
* This method does nothing if the key is not in the map.
|
2976
|
+
*
|
2977
|
+
* @param key the key that needs to be removed
|
2978
|
+
* @return the previous value associated with {@code key}, or
|
2979
|
+
* {@code null} if there was no mapping for {@code key}
|
2980
|
+
* @throws NullPointerException if the specified key is null
|
2981
|
+
*/
|
2982
|
+
@SuppressWarnings("unchecked") public V remove(Object key) {
|
2983
|
+
if (key == null)
|
2984
|
+
throw new NullPointerException();
|
2985
|
+
return (V)internalReplace(key, null, null);
|
2986
|
+
}
|
2987
|
+
|
2988
|
+
/**
|
2989
|
+
* {@inheritDoc}
|
2990
|
+
*
|
2991
|
+
* @throws NullPointerException if the specified key is null
|
2992
|
+
*/
|
2993
|
+
public boolean remove(Object key, Object value) {
|
2994
|
+
if (key == null)
|
2995
|
+
throw new NullPointerException();
|
2996
|
+
if (value == null)
|
2997
|
+
return false;
|
2998
|
+
return internalReplace(key, null, value) != null;
|
2999
|
+
}
|
3000
|
+
|
3001
|
+
/**
|
3002
|
+
* {@inheritDoc}
|
3003
|
+
*
|
3004
|
+
* @throws NullPointerException if any of the arguments are null
|
3005
|
+
*/
|
3006
|
+
public boolean replace(K key, V oldValue, V newValue) {
|
3007
|
+
if (key == null || oldValue == null || newValue == null)
|
3008
|
+
throw new NullPointerException();
|
3009
|
+
return internalReplace(key, newValue, oldValue) != null;
|
3010
|
+
}
|
3011
|
+
|
3012
|
+
/**
|
3013
|
+
* {@inheritDoc}
|
3014
|
+
*
|
3015
|
+
* @return the previous value associated with the specified key,
|
3016
|
+
* or {@code null} if there was no mapping for the key
|
3017
|
+
* @throws NullPointerException if the specified key or value is null
|
3018
|
+
*/
|
3019
|
+
@SuppressWarnings("unchecked") public V replace(K key, V value) {
|
3020
|
+
if (key == null || value == null)
|
3021
|
+
throw new NullPointerException();
|
3022
|
+
return (V)internalReplace(key, value, null);
|
3023
|
+
}
|
3024
|
+
|
3025
|
+
/**
|
3026
|
+
* Removes all of the mappings from this map.
|
3027
|
+
*/
|
3028
|
+
public void clear() {
|
3029
|
+
internalClear();
|
3030
|
+
}
|
3031
|
+
|
3032
|
+
/**
|
3033
|
+
* Returns a {@link Set} view of the keys contained in this map.
|
3034
|
+
* The set is backed by the map, so changes to the map are
|
3035
|
+
* reflected in the set, and vice-versa.
|
3036
|
+
*
|
3037
|
+
* @return the set view
|
3038
|
+
*/
|
3039
|
+
public KeySetView<K,V> keySet() {
|
3040
|
+
KeySetView<K,V> ks = keySet;
|
3041
|
+
return (ks != null) ? ks : (keySet = new KeySetView<K,V>(this, null));
|
3042
|
+
}
|
3043
|
+
|
3044
|
+
/**
|
3045
|
+
* Returns a {@link Set} view of the keys in this map, using the
|
3046
|
+
* given common mapped value for any additions (i.e., {@link
|
3047
|
+
* Collection#add} and {@link Collection#addAll}). This is of
|
3048
|
+
* course only appropriate if it is acceptable to use the same
|
3049
|
+
* value for all additions from this view.
|
3050
|
+
*
|
3051
|
+
* @param mappedValue the mapped value to use for any
|
3052
|
+
* additions.
|
3053
|
+
* @return the set view
|
3054
|
+
* @throws NullPointerException if the mappedValue is null
|
3055
|
+
*/
|
3056
|
+
public KeySetView<K,V> keySet(V mappedValue) {
|
3057
|
+
if (mappedValue == null)
|
3058
|
+
throw new NullPointerException();
|
3059
|
+
return new KeySetView<K,V>(this, mappedValue);
|
3060
|
+
}
|
3061
|
+
|
3062
|
+
/**
|
3063
|
+
* Returns a {@link Collection} view of the values contained in this map.
|
3064
|
+
* The collection is backed by the map, so changes to the map are
|
3065
|
+
* reflected in the collection, and vice-versa.
|
3066
|
+
*/
|
3067
|
+
public ValuesView<K,V> values() {
|
3068
|
+
ValuesView<K,V> vs = values;
|
3069
|
+
return (vs != null) ? vs : (values = new ValuesView<K,V>(this));
|
3070
|
+
}
|
3071
|
+
|
3072
|
+
/**
|
3073
|
+
* Returns a {@link Set} view of the mappings contained in this map.
|
3074
|
+
* The set is backed by the map, so changes to the map are
|
3075
|
+
* reflected in the set, and vice-versa. The set supports element
|
3076
|
+
* removal, which removes the corresponding mapping from the map,
|
3077
|
+
* via the {@code Iterator.remove}, {@code Set.remove},
|
3078
|
+
* {@code removeAll}, {@code retainAll}, and {@code clear}
|
3079
|
+
* operations. It does not support the {@code add} or
|
3080
|
+
* {@code addAll} operations.
|
3081
|
+
*
|
3082
|
+
* <p>The view's {@code iterator} is a "weakly consistent" iterator
|
3083
|
+
* that will never throw {@link ConcurrentModificationException},
|
3084
|
+
* and guarantees to traverse elements as they existed upon
|
3085
|
+
* construction of the iterator, and may (but is not guaranteed to)
|
3086
|
+
* reflect any modifications subsequent to construction.
|
3087
|
+
*/
|
3088
|
+
public Set<Map.Entry<K,V>> entrySet() {
|
3089
|
+
EntrySetView<K,V> es = entrySet;
|
3090
|
+
return (es != null) ? es : (entrySet = new EntrySetView<K,V>(this));
|
3091
|
+
}
|
3092
|
+
|
3093
|
+
/**
|
3094
|
+
* Returns an enumeration of the keys in this table.
|
3095
|
+
*
|
3096
|
+
* @return an enumeration of the keys in this table
|
3097
|
+
* @see #keySet()
|
3098
|
+
*/
|
3099
|
+
public Enumeration<K> keys() {
|
3100
|
+
return new KeyIterator<K,V>(this);
|
3101
|
+
}
|
3102
|
+
|
3103
|
+
/**
|
3104
|
+
* Returns an enumeration of the values in this table.
|
3105
|
+
*
|
3106
|
+
* @return an enumeration of the values in this table
|
3107
|
+
* @see #values()
|
3108
|
+
*/
|
3109
|
+
public Enumeration<V> elements() {
|
3110
|
+
return new ValueIterator<K,V>(this);
|
3111
|
+
}
|
3112
|
+
|
3113
|
+
/**
|
3114
|
+
* Returns a partitionable iterator of the keys in this map.
|
3115
|
+
*
|
3116
|
+
* @return a partitionable iterator of the keys in this map
|
3117
|
+
*/
|
3118
|
+
public Spliterator<K> keySpliterator() {
|
3119
|
+
return new KeyIterator<K,V>(this);
|
3120
|
+
}
|
3121
|
+
|
3122
|
+
/**
|
3123
|
+
* Returns a partitionable iterator of the values in this map.
|
3124
|
+
*
|
3125
|
+
* @return a partitionable iterator of the values in this map
|
3126
|
+
*/
|
3127
|
+
public Spliterator<V> valueSpliterator() {
|
3128
|
+
return new ValueIterator<K,V>(this);
|
3129
|
+
}
|
3130
|
+
|
3131
|
+
/**
|
3132
|
+
* Returns a partitionable iterator of the entries in this map.
|
3133
|
+
*
|
3134
|
+
* @return a partitionable iterator of the entries in this map
|
3135
|
+
*/
|
3136
|
+
public Spliterator<Map.Entry<K,V>> entrySpliterator() {
|
3137
|
+
return new EntryIterator<K,V>(this);
|
3138
|
+
}
|
3139
|
+
|
3140
|
+
/**
|
3141
|
+
* Returns the hash code value for this {@link Map}, i.e.,
|
3142
|
+
* the sum of, for each key-value pair in the map,
|
3143
|
+
* {@code key.hashCode() ^ value.hashCode()}.
|
3144
|
+
*
|
3145
|
+
* @return the hash code value for this map
|
3146
|
+
*/
|
3147
|
+
public int hashCode() {
|
3148
|
+
int h = 0;
|
3149
|
+
Traverser<K,V,Object> it = new Traverser<K,V,Object>(this);
|
3150
|
+
Object v;
|
3151
|
+
while ((v = it.advance()) != null) {
|
3152
|
+
h += it.nextKey.hashCode() ^ v.hashCode();
|
3153
|
+
}
|
3154
|
+
return h;
|
3155
|
+
}
|
3156
|
+
|
3157
|
+
/**
|
3158
|
+
* Returns a string representation of this map. The string
|
3159
|
+
* representation consists of a list of key-value mappings (in no
|
3160
|
+
* particular order) enclosed in braces ("{@code {}}"). Adjacent
|
3161
|
+
* mappings are separated by the characters {@code ", "} (comma
|
3162
|
+
* and space). Each key-value mapping is rendered as the key
|
3163
|
+
* followed by an equals sign ("{@code =}") followed by the
|
3164
|
+
* associated value.
|
3165
|
+
*
|
3166
|
+
* @return a string representation of this map
|
3167
|
+
*/
|
3168
|
+
public String toString() {
|
3169
|
+
Traverser<K,V,Object> it = new Traverser<K,V,Object>(this);
|
3170
|
+
StringBuilder sb = new StringBuilder();
|
3171
|
+
sb.append('{');
|
3172
|
+
Object v;
|
3173
|
+
if ((v = it.advance()) != null) {
|
3174
|
+
for (;;) {
|
3175
|
+
Object k = it.nextKey;
|
3176
|
+
sb.append(k == this ? "(this Map)" : k);
|
3177
|
+
sb.append('=');
|
3178
|
+
sb.append(v == this ? "(this Map)" : v);
|
3179
|
+
if ((v = it.advance()) == null)
|
3180
|
+
break;
|
3181
|
+
sb.append(',').append(' ');
|
3182
|
+
}
|
3183
|
+
}
|
3184
|
+
return sb.append('}').toString();
|
3185
|
+
}
|
3186
|
+
|
3187
|
+
/**
|
3188
|
+
* Compares the specified object with this map for equality.
|
3189
|
+
* Returns {@code true} if the given object is a map with the same
|
3190
|
+
* mappings as this map. This operation may return misleading
|
3191
|
+
* results if either map is concurrently modified during execution
|
3192
|
+
* of this method.
|
3193
|
+
*
|
3194
|
+
* @param o object to be compared for equality with this map
|
3195
|
+
* @return {@code true} if the specified object is equal to this map
|
3196
|
+
*/
|
3197
|
+
public boolean equals(Object o) {
|
3198
|
+
if (o != this) {
|
3199
|
+
if (!(o instanceof Map))
|
3200
|
+
return false;
|
3201
|
+
Map<?,?> m = (Map<?,?>) o;
|
3202
|
+
Traverser<K,V,Object> it = new Traverser<K,V,Object>(this);
|
3203
|
+
Object val;
|
3204
|
+
while ((val = it.advance()) != null) {
|
3205
|
+
Object v = m.get(it.nextKey);
|
3206
|
+
if (v == null || (v != val && !v.equals(val)))
|
3207
|
+
return false;
|
3208
|
+
}
|
3209
|
+
for (Map.Entry<?,?> e : m.entrySet()) {
|
3210
|
+
Object mk, mv, v;
|
3211
|
+
if ((mk = e.getKey()) == null ||
|
3212
|
+
(mv = e.getValue()) == null ||
|
3213
|
+
(v = internalGet(mk)) == null ||
|
3214
|
+
(mv != v && !mv.equals(v)))
|
3215
|
+
return false;
|
3216
|
+
}
|
3217
|
+
}
|
3218
|
+
return true;
|
3219
|
+
}
|
3220
|
+
|
3221
|
+
/* ----------------Iterators -------------- */
|
3222
|
+
|
3223
|
+
@SuppressWarnings("serial") static final class KeyIterator<K,V> extends Traverser<K,V,Object>
|
3224
|
+
implements Spliterator<K>, Enumeration<K> {
|
3225
|
+
KeyIterator(ConcurrentHashMapV8<K, V> map) { super(map); }
|
3226
|
+
KeyIterator(Traverser<K,V,Object> it) {
|
3227
|
+
super(it);
|
3228
|
+
}
|
3229
|
+
public KeyIterator<K,V> split() {
|
3230
|
+
if (nextKey != null)
|
3231
|
+
throw new IllegalStateException();
|
3232
|
+
return new KeyIterator<K,V>(this);
|
3233
|
+
}
|
3234
|
+
@SuppressWarnings("unchecked") public final K next() {
|
3235
|
+
if (nextVal == null && advance() == null)
|
3236
|
+
throw new NoSuchElementException();
|
3237
|
+
Object k = nextKey;
|
3238
|
+
nextVal = null;
|
3239
|
+
return (K) k;
|
3240
|
+
}
|
3241
|
+
|
3242
|
+
public final K nextElement() { return next(); }
|
3243
|
+
}
|
3244
|
+
|
3245
|
+
@SuppressWarnings("serial") static final class ValueIterator<K,V> extends Traverser<K,V,Object>
|
3246
|
+
implements Spliterator<V>, Enumeration<V> {
|
3247
|
+
ValueIterator(ConcurrentHashMapV8<K, V> map) { super(map); }
|
3248
|
+
ValueIterator(Traverser<K,V,Object> it) {
|
3249
|
+
super(it);
|
3250
|
+
}
|
3251
|
+
public ValueIterator<K,V> split() {
|
3252
|
+
if (nextKey != null)
|
3253
|
+
throw new IllegalStateException();
|
3254
|
+
return new ValueIterator<K,V>(this);
|
3255
|
+
}
|
3256
|
+
|
3257
|
+
@SuppressWarnings("unchecked") public final V next() {
|
3258
|
+
Object v;
|
3259
|
+
if ((v = nextVal) == null && (v = advance()) == null)
|
3260
|
+
throw new NoSuchElementException();
|
3261
|
+
nextVal = null;
|
3262
|
+
return (V) v;
|
3263
|
+
}
|
3264
|
+
|
3265
|
+
public final V nextElement() { return next(); }
|
3266
|
+
}
|
3267
|
+
|
3268
|
+
@SuppressWarnings("serial") static final class EntryIterator<K,V> extends Traverser<K,V,Object>
|
3269
|
+
implements Spliterator<Map.Entry<K,V>> {
|
3270
|
+
EntryIterator(ConcurrentHashMapV8<K, V> map) { super(map); }
|
3271
|
+
EntryIterator(Traverser<K,V,Object> it) {
|
3272
|
+
super(it);
|
3273
|
+
}
|
3274
|
+
public EntryIterator<K,V> split() {
|
3275
|
+
if (nextKey != null)
|
3276
|
+
throw new IllegalStateException();
|
3277
|
+
return new EntryIterator<K,V>(this);
|
3278
|
+
}
|
3279
|
+
|
3280
|
+
@SuppressWarnings("unchecked") public final Map.Entry<K,V> next() {
|
3281
|
+
Object v;
|
3282
|
+
if ((v = nextVal) == null && (v = advance()) == null)
|
3283
|
+
throw new NoSuchElementException();
|
3284
|
+
Object k = nextKey;
|
3285
|
+
nextVal = null;
|
3286
|
+
return new MapEntry<K,V>((K)k, (V)v, map);
|
3287
|
+
}
|
3288
|
+
}
|
3289
|
+
|
3290
|
+
/**
|
3291
|
+
* Exported Entry for iterators
|
3292
|
+
*/
|
3293
|
+
static final class MapEntry<K,V> implements Map.Entry<K, V> {
|
3294
|
+
final K key; // non-null
|
3295
|
+
V val; // non-null
|
3296
|
+
final ConcurrentHashMapV8<K, V> map;
|
3297
|
+
MapEntry(K key, V val, ConcurrentHashMapV8<K, V> map) {
|
3298
|
+
this.key = key;
|
3299
|
+
this.val = val;
|
3300
|
+
this.map = map;
|
3301
|
+
}
|
3302
|
+
public final K getKey() { return key; }
|
3303
|
+
public final V getValue() { return val; }
|
3304
|
+
public final int hashCode() { return key.hashCode() ^ val.hashCode(); }
|
3305
|
+
public final String toString(){ return key + "=" + val; }
|
3306
|
+
|
3307
|
+
public final boolean equals(Object o) {
|
3308
|
+
Object k, v; Map.Entry<?,?> e;
|
3309
|
+
return ((o instanceof Map.Entry) &&
|
3310
|
+
(k = (e = (Map.Entry<?,?>)o).getKey()) != null &&
|
3311
|
+
(v = e.getValue()) != null &&
|
3312
|
+
(k == key || k.equals(key)) &&
|
3313
|
+
(v == val || v.equals(val)));
|
3314
|
+
}
|
3315
|
+
|
3316
|
+
/**
|
3317
|
+
* Sets our entry's value and writes through to the map. The
|
3318
|
+
* value to return is somewhat arbitrary here. Since we do not
|
3319
|
+
* necessarily track asynchronous changes, the most recent
|
3320
|
+
* "previous" value could be different from what we return (or
|
3321
|
+
* could even have been removed in which case the put will
|
3322
|
+
* re-establish). We do not and cannot guarantee more.
|
3323
|
+
*/
|
3324
|
+
public final V setValue(V value) {
|
3325
|
+
if (value == null) throw new NullPointerException();
|
3326
|
+
V v = val;
|
3327
|
+
val = value;
|
3328
|
+
map.put(key, value);
|
3329
|
+
return v;
|
3330
|
+
}
|
3331
|
+
}
|
3332
|
+
|
3333
|
+
/* ---------------- Serialization Support -------------- */
|
3334
|
+
|
3335
|
+
/**
|
3336
|
+
* Stripped-down version of helper class used in previous version,
|
3337
|
+
* declared for the sake of serialization compatibility
|
3338
|
+
*/
|
3339
|
+
static class Segment<K,V> implements Serializable {
|
3340
|
+
private static final long serialVersionUID = 2249069246763182397L;
|
3341
|
+
final float loadFactor;
|
3342
|
+
Segment(float lf) { this.loadFactor = lf; }
|
3343
|
+
}
|
3344
|
+
|
3345
|
+
/**
|
3346
|
+
* Saves the state of the {@code ConcurrentHashMapV8} instance to a
|
3347
|
+
* stream (i.e., serializes it).
|
3348
|
+
* @param s the stream
|
3349
|
+
* @serialData
|
3350
|
+
* the key (Object) and value (Object)
|
3351
|
+
* for each key-value mapping, followed by a null pair.
|
3352
|
+
* The key-value mappings are emitted in no particular order.
|
3353
|
+
*/
|
3354
|
+
@SuppressWarnings("unchecked") private void writeObject(java.io.ObjectOutputStream s)
|
3355
|
+
throws java.io.IOException {
|
3356
|
+
if (segments == null) { // for serialization compatibility
|
3357
|
+
segments = (Segment<K,V>[])
|
3358
|
+
new Segment<?,?>[DEFAULT_CONCURRENCY_LEVEL];
|
3359
|
+
for (int i = 0; i < segments.length; ++i)
|
3360
|
+
segments[i] = new Segment<K,V>(LOAD_FACTOR);
|
3361
|
+
}
|
3362
|
+
s.defaultWriteObject();
|
3363
|
+
Traverser<K,V,Object> it = new Traverser<K,V,Object>(this);
|
3364
|
+
Object v;
|
3365
|
+
while ((v = it.advance()) != null) {
|
3366
|
+
s.writeObject(it.nextKey);
|
3367
|
+
s.writeObject(v);
|
3368
|
+
}
|
3369
|
+
s.writeObject(null);
|
3370
|
+
s.writeObject(null);
|
3371
|
+
segments = null; // throw away
|
3372
|
+
}
|
3373
|
+
|
3374
|
+
/**
|
3375
|
+
* Reconstitutes the instance from a stream (that is, deserializes it).
|
3376
|
+
* @param s the stream
|
3377
|
+
*/
|
3378
|
+
@SuppressWarnings("unchecked") private void readObject(java.io.ObjectInputStream s)
|
3379
|
+
throws java.io.IOException, ClassNotFoundException {
|
3380
|
+
s.defaultReadObject();
|
3381
|
+
this.segments = null; // unneeded
|
3382
|
+
// initialize transient final field
|
3383
|
+
UNSAFE.putObjectVolatile(this, counterOffset, new LongAdder());
|
3384
|
+
|
3385
|
+
// Create all nodes, then place in table once size is known
|
3386
|
+
long size = 0L;
|
3387
|
+
Node p = null;
|
3388
|
+
for (;;) {
|
3389
|
+
K k = (K) s.readObject();
|
3390
|
+
V v = (V) s.readObject();
|
3391
|
+
if (k != null && v != null) {
|
3392
|
+
int h = spread(k.hashCode());
|
3393
|
+
p = new Node(h, k, v, p);
|
3394
|
+
++size;
|
3395
|
+
}
|
3396
|
+
else
|
3397
|
+
break;
|
3398
|
+
}
|
3399
|
+
if (p != null) {
|
3400
|
+
boolean init = false;
|
3401
|
+
int n;
|
3402
|
+
if (size >= (long)(MAXIMUM_CAPACITY >>> 1))
|
3403
|
+
n = MAXIMUM_CAPACITY;
|
3404
|
+
else {
|
3405
|
+
int sz = (int)size;
|
3406
|
+
n = tableSizeFor(sz + (sz >>> 1) + 1);
|
3407
|
+
}
|
3408
|
+
int sc = sizeCtl;
|
3409
|
+
boolean collide = false;
|
3410
|
+
if (n > sc &&
|
3411
|
+
UNSAFE.compareAndSwapInt(this, sizeCtlOffset, sc, -1)) {
|
3412
|
+
try {
|
3413
|
+
if (table == null) {
|
3414
|
+
init = true;
|
3415
|
+
Node[] tab = new Node[n];
|
3416
|
+
int mask = n - 1;
|
3417
|
+
while (p != null) {
|
3418
|
+
int j = p.hash & mask;
|
3419
|
+
Node next = p.next;
|
3420
|
+
Node q = p.next = tabAt(tab, j);
|
3421
|
+
setTabAt(tab, j, p);
|
3422
|
+
if (!collide && q != null && q.hash == p.hash)
|
3423
|
+
collide = true;
|
3424
|
+
p = next;
|
3425
|
+
}
|
3426
|
+
table = tab;
|
3427
|
+
counter.add(size);
|
3428
|
+
sc = n - (n >>> 2);
|
3429
|
+
}
|
3430
|
+
} finally {
|
3431
|
+
sizeCtl = sc;
|
3432
|
+
}
|
3433
|
+
if (collide) { // rescan and convert to TreeBins
|
3434
|
+
Node[] tab = table;
|
3435
|
+
for (int i = 0; i < tab.length; ++i) {
|
3436
|
+
int c = 0;
|
3437
|
+
for (Node e = tabAt(tab, i); e != null; e = e.next) {
|
3438
|
+
if (++c > TREE_THRESHOLD &&
|
3439
|
+
(e.key instanceof Comparable)) {
|
3440
|
+
replaceWithTreeBin(tab, i, e.key);
|
3441
|
+
break;
|
3442
|
+
}
|
3443
|
+
}
|
3444
|
+
}
|
3445
|
+
}
|
3446
|
+
}
|
3447
|
+
if (!init) { // Can only happen if unsafely published.
|
3448
|
+
while (p != null) {
|
3449
|
+
internalPut(p.key, p.val);
|
3450
|
+
p = p.next;
|
3451
|
+
}
|
3452
|
+
}
|
3453
|
+
}
|
3454
|
+
}
|
3455
|
+
|
3456
|
+
|
3457
|
+
// -------------------------------------------------------
|
3458
|
+
|
3459
|
+
// Sams
|
3460
|
+
/** Interface describing a void action of one argument */
|
3461
|
+
public interface Action<A> { void apply(A a); }
|
3462
|
+
/** Interface describing a void action of two arguments */
|
3463
|
+
public interface BiAction<A,B> { void apply(A a, B b); }
|
3464
|
+
/** Interface describing a function of one argument */
|
3465
|
+
public interface Generator<T> { T apply(); }
|
3466
|
+
/** Interface describing a function mapping its argument to a double */
|
3467
|
+
public interface ObjectToDouble<A> { double apply(A a); }
|
3468
|
+
/** Interface describing a function mapping its argument to a long */
|
3469
|
+
public interface ObjectToLong<A> { long apply(A a); }
|
3470
|
+
/** Interface describing a function mapping its argument to an int */
|
3471
|
+
public interface ObjectToInt<A> {int apply(A a); }
|
3472
|
+
/** Interface describing a function mapping two arguments to a double */
|
3473
|
+
public interface ObjectByObjectToDouble<A,B> { double apply(A a, B b); }
|
3474
|
+
/** Interface describing a function mapping two arguments to a long */
|
3475
|
+
public interface ObjectByObjectToLong<A,B> { long apply(A a, B b); }
|
3476
|
+
/** Interface describing a function mapping two arguments to an int */
|
3477
|
+
public interface ObjectByObjectToInt<A,B> {int apply(A a, B b); }
|
3478
|
+
/** Interface describing a function mapping a double to a double */
|
3479
|
+
public interface DoubleToDouble { double apply(double a); }
|
3480
|
+
/** Interface describing a function mapping a long to a long */
|
3481
|
+
public interface LongToLong { long apply(long a); }
|
3482
|
+
/** Interface describing a function mapping an int to an int */
|
3483
|
+
public interface IntToInt { int apply(int a); }
|
3484
|
+
/** Interface describing a function mapping two doubles to a double */
|
3485
|
+
public interface DoubleByDoubleToDouble { double apply(double a, double b); }
|
3486
|
+
/** Interface describing a function mapping two longs to a long */
|
3487
|
+
public interface LongByLongToLong { long apply(long a, long b); }
|
3488
|
+
/** Interface describing a function mapping two ints to an int */
|
3489
|
+
public interface IntByIntToInt { int apply(int a, int b); }
|
3490
|
+
|
3491
|
+
|
3492
|
+
/* ----------------Views -------------- */
|
3493
|
+
|
3494
|
+
/**
|
3495
|
+
* Base class for views.
|
3496
|
+
*/
|
3497
|
+
static abstract class CHMView<K, V> {
|
3498
|
+
final ConcurrentHashMapV8<K, V> map;
|
3499
|
+
CHMView(ConcurrentHashMapV8<K, V> map) { this.map = map; }
|
3500
|
+
|
3501
|
+
/**
|
3502
|
+
* Returns the map backing this view.
|
3503
|
+
*
|
3504
|
+
* @return the map backing this view
|
3505
|
+
*/
|
3506
|
+
public ConcurrentHashMapV8<K,V> getMap() { return map; }
|
3507
|
+
|
3508
|
+
public final int size() { return map.size(); }
|
3509
|
+
public final boolean isEmpty() { return map.isEmpty(); }
|
3510
|
+
public final void clear() { map.clear(); }
|
3511
|
+
|
3512
|
+
// implementations below rely on concrete classes supplying these
|
3513
|
+
abstract public Iterator<?> iterator();
|
3514
|
+
abstract public boolean contains(Object o);
|
3515
|
+
abstract public boolean remove(Object o);
|
3516
|
+
|
3517
|
+
private static final String oomeMsg = "Required array size too large";
|
3518
|
+
|
3519
|
+
public final Object[] toArray() {
|
3520
|
+
long sz = map.mappingCount();
|
3521
|
+
if (sz > (long)(MAX_ARRAY_SIZE))
|
3522
|
+
throw new OutOfMemoryError(oomeMsg);
|
3523
|
+
int n = (int)sz;
|
3524
|
+
Object[] r = new Object[n];
|
3525
|
+
int i = 0;
|
3526
|
+
Iterator<?> it = iterator();
|
3527
|
+
while (it.hasNext()) {
|
3528
|
+
if (i == n) {
|
3529
|
+
if (n >= MAX_ARRAY_SIZE)
|
3530
|
+
throw new OutOfMemoryError(oomeMsg);
|
3531
|
+
if (n >= MAX_ARRAY_SIZE - (MAX_ARRAY_SIZE >>> 1) - 1)
|
3532
|
+
n = MAX_ARRAY_SIZE;
|
3533
|
+
else
|
3534
|
+
n += (n >>> 1) + 1;
|
3535
|
+
r = Arrays.copyOf(r, n);
|
3536
|
+
}
|
3537
|
+
r[i++] = it.next();
|
3538
|
+
}
|
3539
|
+
return (i == n) ? r : Arrays.copyOf(r, i);
|
3540
|
+
}
|
3541
|
+
|
3542
|
+
@SuppressWarnings("unchecked") public final <T> T[] toArray(T[] a) {
|
3543
|
+
long sz = map.mappingCount();
|
3544
|
+
if (sz > (long)(MAX_ARRAY_SIZE))
|
3545
|
+
throw new OutOfMemoryError(oomeMsg);
|
3546
|
+
int m = (int)sz;
|
3547
|
+
T[] r = (a.length >= m) ? a :
|
3548
|
+
(T[])java.lang.reflect.Array
|
3549
|
+
.newInstance(a.getClass().getComponentType(), m);
|
3550
|
+
int n = r.length;
|
3551
|
+
int i = 0;
|
3552
|
+
Iterator<?> it = iterator();
|
3553
|
+
while (it.hasNext()) {
|
3554
|
+
if (i == n) {
|
3555
|
+
if (n >= MAX_ARRAY_SIZE)
|
3556
|
+
throw new OutOfMemoryError(oomeMsg);
|
3557
|
+
if (n >= MAX_ARRAY_SIZE - (MAX_ARRAY_SIZE >>> 1) - 1)
|
3558
|
+
n = MAX_ARRAY_SIZE;
|
3559
|
+
else
|
3560
|
+
n += (n >>> 1) + 1;
|
3561
|
+
r = Arrays.copyOf(r, n);
|
3562
|
+
}
|
3563
|
+
r[i++] = (T)it.next();
|
3564
|
+
}
|
3565
|
+
if (a == r && i < n) {
|
3566
|
+
r[i] = null; // null-terminate
|
3567
|
+
return r;
|
3568
|
+
}
|
3569
|
+
return (i == n) ? r : Arrays.copyOf(r, i);
|
3570
|
+
}
|
3571
|
+
|
3572
|
+
public final int hashCode() {
|
3573
|
+
int h = 0;
|
3574
|
+
for (Iterator<?> it = iterator(); it.hasNext();)
|
3575
|
+
h += it.next().hashCode();
|
3576
|
+
return h;
|
3577
|
+
}
|
3578
|
+
|
3579
|
+
public final String toString() {
|
3580
|
+
StringBuilder sb = new StringBuilder();
|
3581
|
+
sb.append('[');
|
3582
|
+
Iterator<?> it = iterator();
|
3583
|
+
if (it.hasNext()) {
|
3584
|
+
for (;;) {
|
3585
|
+
Object e = it.next();
|
3586
|
+
sb.append(e == this ? "(this Collection)" : e);
|
3587
|
+
if (!it.hasNext())
|
3588
|
+
break;
|
3589
|
+
sb.append(',').append(' ');
|
3590
|
+
}
|
3591
|
+
}
|
3592
|
+
return sb.append(']').toString();
|
3593
|
+
}
|
3594
|
+
|
3595
|
+
public final boolean containsAll(Collection<?> c) {
|
3596
|
+
if (c != this) {
|
3597
|
+
for (Iterator<?> it = c.iterator(); it.hasNext();) {
|
3598
|
+
Object e = it.next();
|
3599
|
+
if (e == null || !contains(e))
|
3600
|
+
return false;
|
3601
|
+
}
|
3602
|
+
}
|
3603
|
+
return true;
|
3604
|
+
}
|
3605
|
+
|
3606
|
+
public final boolean removeAll(Collection<?> c) {
|
3607
|
+
boolean modified = false;
|
3608
|
+
for (Iterator<?> it = iterator(); it.hasNext();) {
|
3609
|
+
if (c.contains(it.next())) {
|
3610
|
+
it.remove();
|
3611
|
+
modified = true;
|
3612
|
+
}
|
3613
|
+
}
|
3614
|
+
return modified;
|
3615
|
+
}
|
3616
|
+
|
3617
|
+
public final boolean retainAll(Collection<?> c) {
|
3618
|
+
boolean modified = false;
|
3619
|
+
for (Iterator<?> it = iterator(); it.hasNext();) {
|
3620
|
+
if (!c.contains(it.next())) {
|
3621
|
+
it.remove();
|
3622
|
+
modified = true;
|
3623
|
+
}
|
3624
|
+
}
|
3625
|
+
return modified;
|
3626
|
+
}
|
3627
|
+
|
3628
|
+
}
|
3629
|
+
|
3630
|
+
/**
|
3631
|
+
* A view of a ConcurrentHashMapV8 as a {@link Set} of keys, in
|
3632
|
+
* which additions may optionally be enabled by mapping to a
|
3633
|
+
* common value. This class cannot be directly instantiated. See
|
3634
|
+
* {@link #keySet}, {@link #keySet(Object)}, {@link #newKeySet()},
|
3635
|
+
* {@link #newKeySet(int)}.
|
3636
|
+
*/
|
3637
|
+
public static class KeySetView<K,V> extends CHMView<K,V> implements Set<K>, java.io.Serializable {
|
3638
|
+
private static final long serialVersionUID = 7249069246763182397L;
|
3639
|
+
private final V value;
|
3640
|
+
KeySetView(ConcurrentHashMapV8<K, V> map, V value) { // non-public
|
3641
|
+
super(map);
|
3642
|
+
this.value = value;
|
3643
|
+
}
|
3644
|
+
|
3645
|
+
/**
|
3646
|
+
* Returns the default mapped value for additions,
|
3647
|
+
* or {@code null} if additions are not supported.
|
3648
|
+
*
|
3649
|
+
* @return the default mapped value for additions, or {@code null}
|
3650
|
+
* if not supported.
|
3651
|
+
*/
|
3652
|
+
public V getMappedValue() { return value; }
|
3653
|
+
|
3654
|
+
// implement Set API
|
3655
|
+
|
3656
|
+
public boolean contains(Object o) { return map.containsKey(o); }
|
3657
|
+
public boolean remove(Object o) { return map.remove(o) != null; }
|
3658
|
+
|
3659
|
+
/**
|
3660
|
+
* Returns a "weakly consistent" iterator that will never
|
3661
|
+
* throw {@link ConcurrentModificationException}, and
|
3662
|
+
* guarantees to traverse elements as they existed upon
|
3663
|
+
* construction of the iterator, and may (but is not
|
3664
|
+
* guaranteed to) reflect any modifications subsequent to
|
3665
|
+
* construction.
|
3666
|
+
*
|
3667
|
+
* @return an iterator over the keys of this map
|
3668
|
+
*/
|
3669
|
+
public Iterator<K> iterator() { return new KeyIterator<K,V>(map); }
|
3670
|
+
public boolean add(K e) {
|
3671
|
+
V v;
|
3672
|
+
if ((v = value) == null)
|
3673
|
+
throw new UnsupportedOperationException();
|
3674
|
+
if (e == null)
|
3675
|
+
throw new NullPointerException();
|
3676
|
+
return map.internalPutIfAbsent(e, v) == null;
|
3677
|
+
}
|
3678
|
+
public boolean addAll(Collection<? extends K> c) {
|
3679
|
+
boolean added = false;
|
3680
|
+
V v;
|
3681
|
+
if ((v = value) == null)
|
3682
|
+
throw new UnsupportedOperationException();
|
3683
|
+
for (K e : c) {
|
3684
|
+
if (e == null)
|
3685
|
+
throw new NullPointerException();
|
3686
|
+
if (map.internalPutIfAbsent(e, v) == null)
|
3687
|
+
added = true;
|
3688
|
+
}
|
3689
|
+
return added;
|
3690
|
+
}
|
3691
|
+
public boolean equals(Object o) {
|
3692
|
+
Set<?> c;
|
3693
|
+
return ((o instanceof Set) &&
|
3694
|
+
((c = (Set<?>)o) == this ||
|
3695
|
+
(containsAll(c) && c.containsAll(this))));
|
3696
|
+
}
|
3697
|
+
}
|
3698
|
+
|
3699
|
+
/**
|
3700
|
+
* A view of a ConcurrentHashMapV8 as a {@link Collection} of
|
3701
|
+
* values, in which additions are disabled. This class cannot be
|
3702
|
+
* directly instantiated. See {@link #values},
|
3703
|
+
*
|
3704
|
+
* <p>The view's {@code iterator} is a "weakly consistent" iterator
|
3705
|
+
* that will never throw {@link ConcurrentModificationException},
|
3706
|
+
* and guarantees to traverse elements as they existed upon
|
3707
|
+
* construction of the iterator, and may (but is not guaranteed to)
|
3708
|
+
* reflect any modifications subsequent to construction.
|
3709
|
+
*/
|
3710
|
+
public static final class ValuesView<K,V> extends CHMView<K,V>
|
3711
|
+
implements Collection<V> {
|
3712
|
+
ValuesView(ConcurrentHashMapV8<K, V> map) { super(map); }
|
3713
|
+
public final boolean contains(Object o) { return map.containsValue(o); }
|
3714
|
+
public final boolean remove(Object o) {
|
3715
|
+
if (o != null) {
|
3716
|
+
Iterator<V> it = new ValueIterator<K,V>(map);
|
3717
|
+
while (it.hasNext()) {
|
3718
|
+
if (o.equals(it.next())) {
|
3719
|
+
it.remove();
|
3720
|
+
return true;
|
3721
|
+
}
|
3722
|
+
}
|
3723
|
+
}
|
3724
|
+
return false;
|
3725
|
+
}
|
3726
|
+
|
3727
|
+
/**
|
3728
|
+
* Returns a "weakly consistent" iterator that will never
|
3729
|
+
* throw {@link ConcurrentModificationException}, and
|
3730
|
+
* guarantees to traverse elements as they existed upon
|
3731
|
+
* construction of the iterator, and may (but is not
|
3732
|
+
* guaranteed to) reflect any modifications subsequent to
|
3733
|
+
* construction.
|
3734
|
+
*
|
3735
|
+
* @return an iterator over the values of this map
|
3736
|
+
*/
|
3737
|
+
public final Iterator<V> iterator() {
|
3738
|
+
return new ValueIterator<K,V>(map);
|
3739
|
+
}
|
3740
|
+
public final boolean add(V e) {
|
3741
|
+
throw new UnsupportedOperationException();
|
3742
|
+
}
|
3743
|
+
public final boolean addAll(Collection<? extends V> c) {
|
3744
|
+
throw new UnsupportedOperationException();
|
3745
|
+
}
|
3746
|
+
}
|
3747
|
+
|
3748
|
+
/**
|
3749
|
+
* A view of a ConcurrentHashMapV8 as a {@link Set} of (key, value)
|
3750
|
+
* entries. This class cannot be directly instantiated. See
|
3751
|
+
* {@link #entrySet}.
|
3752
|
+
*/
|
3753
|
+
public static final class EntrySetView<K,V> extends CHMView<K,V>
|
3754
|
+
implements Set<Map.Entry<K,V>> {
|
3755
|
+
EntrySetView(ConcurrentHashMapV8<K, V> map) { super(map); }
|
3756
|
+
public final boolean contains(Object o) {
|
3757
|
+
Object k, v, r; Map.Entry<?,?> e;
|
3758
|
+
return ((o instanceof Map.Entry) &&
|
3759
|
+
(k = (e = (Map.Entry<?,?>)o).getKey()) != null &&
|
3760
|
+
(r = map.get(k)) != null &&
|
3761
|
+
(v = e.getValue()) != null &&
|
3762
|
+
(v == r || v.equals(r)));
|
3763
|
+
}
|
3764
|
+
public final boolean remove(Object o) {
|
3765
|
+
Object k, v; Map.Entry<?,?> e;
|
3766
|
+
return ((o instanceof Map.Entry) &&
|
3767
|
+
(k = (e = (Map.Entry<?,?>)o).getKey()) != null &&
|
3768
|
+
(v = e.getValue()) != null &&
|
3769
|
+
map.remove(k, v));
|
3770
|
+
}
|
3771
|
+
|
3772
|
+
/**
|
3773
|
+
* Returns a "weakly consistent" iterator that will never
|
3774
|
+
* throw {@link ConcurrentModificationException}, and
|
3775
|
+
* guarantees to traverse elements as they existed upon
|
3776
|
+
* construction of the iterator, and may (but is not
|
3777
|
+
* guaranteed to) reflect any modifications subsequent to
|
3778
|
+
* construction.
|
3779
|
+
*
|
3780
|
+
* @return an iterator over the entries of this map
|
3781
|
+
*/
|
3782
|
+
public final Iterator<Map.Entry<K,V>> iterator() {
|
3783
|
+
return new EntryIterator<K,V>(map);
|
3784
|
+
}
|
3785
|
+
|
3786
|
+
public final boolean add(Entry<K,V> e) {
|
3787
|
+
K key = e.getKey();
|
3788
|
+
V value = e.getValue();
|
3789
|
+
if (key == null || value == null)
|
3790
|
+
throw new NullPointerException();
|
3791
|
+
return map.internalPut(key, value) == null;
|
3792
|
+
}
|
3793
|
+
public final boolean addAll(Collection<? extends Entry<K,V>> c) {
|
3794
|
+
boolean added = false;
|
3795
|
+
for (Entry<K,V> e : c) {
|
3796
|
+
if (add(e))
|
3797
|
+
added = true;
|
3798
|
+
}
|
3799
|
+
return added;
|
3800
|
+
}
|
3801
|
+
public boolean equals(Object o) {
|
3802
|
+
Set<?> c;
|
3803
|
+
return ((o instanceof Set) &&
|
3804
|
+
((c = (Set<?>)o) == this ||
|
3805
|
+
(containsAll(c) && c.containsAll(this))));
|
3806
|
+
}
|
3807
|
+
}
|
3808
|
+
|
3809
|
+
// Unsafe mechanics
|
3810
|
+
private static final sun.misc.Unsafe UNSAFE;
|
3811
|
+
private static final long counterOffset;
|
3812
|
+
private static final long sizeCtlOffset;
|
3813
|
+
private static final long ABASE;
|
3814
|
+
private static final int ASHIFT;
|
3815
|
+
|
3816
|
+
static {
|
3817
|
+
int ss;
|
3818
|
+
try {
|
3819
|
+
UNSAFE = getUnsafe();
|
3820
|
+
Class<?> k = ConcurrentHashMapV8.class;
|
3821
|
+
counterOffset = UNSAFE.objectFieldOffset
|
3822
|
+
(k.getDeclaredField("counter"));
|
3823
|
+
sizeCtlOffset = UNSAFE.objectFieldOffset
|
3824
|
+
(k.getDeclaredField("sizeCtl"));
|
3825
|
+
Class<?> sc = Node[].class;
|
3826
|
+
ABASE = UNSAFE.arrayBaseOffset(sc);
|
3827
|
+
ss = UNSAFE.arrayIndexScale(sc);
|
3828
|
+
} catch (Exception e) {
|
3829
|
+
throw new Error(e);
|
3830
|
+
}
|
3831
|
+
if ((ss & (ss-1)) != 0)
|
3832
|
+
throw new Error("data type scale not a power of two");
|
3833
|
+
ASHIFT = 31 - Integer.numberOfLeadingZeros(ss);
|
3834
|
+
}
|
3835
|
+
|
3836
|
+
/**
|
3837
|
+
* Returns a sun.misc.Unsafe. Suitable for use in a 3rd party package.
|
3838
|
+
* Replace with a simple call to Unsafe.getUnsafe when integrating
|
3839
|
+
* into a jdk.
|
3840
|
+
*
|
3841
|
+
* @return a sun.misc.Unsafe
|
3842
|
+
*/
|
3843
|
+
private static sun.misc.Unsafe getUnsafe() {
|
3844
|
+
try {
|
3845
|
+
return sun.misc.Unsafe.getUnsafe();
|
3846
|
+
} catch (SecurityException se) {
|
3847
|
+
try {
|
3848
|
+
return java.security.AccessController.doPrivileged
|
3849
|
+
(new java.security
|
3850
|
+
.PrivilegedExceptionAction<sun.misc.Unsafe>() {
|
3851
|
+
public sun.misc.Unsafe run() throws Exception {
|
3852
|
+
java.lang.reflect.Field f = sun.misc
|
3853
|
+
.Unsafe.class.getDeclaredField("theUnsafe");
|
3854
|
+
f.setAccessible(true);
|
3855
|
+
return (sun.misc.Unsafe) f.get(null);
|
3856
|
+
}});
|
3857
|
+
} catch (java.security.PrivilegedActionException e) {
|
3858
|
+
throw new RuntimeException("Could not initialize intrinsics",
|
3859
|
+
e.getCause());
|
3860
|
+
}
|
3861
|
+
}
|
3862
|
+
}
|
3863
|
+
}
|