dadapush_client 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +19 -1
- data/README.md +3 -7
- data/dadapush_client.gemspec +2 -2
- data/lib/dadapush_client.rb +1 -1
- data/lib/dadapush_client/api/{da_da_push_message_api.rb → dadapush_message_api.rb} +0 -0
- data/lib/dadapush_client/version.rb +1 -1
- data/spec/api/{da_da_push_message_api_spec.rb → dadapush_message_api_spec.rb} +36 -1
- data/vendor/bundle/ruby/2.3.0/bin/autotest +22 -0
- data/vendor/bundle/ruby/2.3.0/bin/byebug +22 -0
- data/vendor/bundle/ruby/2.3.0/bin/coderay +22 -0
- data/vendor/bundle/ruby/2.3.0/bin/htmldiff +24 -0
- data/vendor/bundle/ruby/2.3.0/bin/ldiff +24 -0
- data/vendor/bundle/ruby/2.3.0/bin/multigem +24 -0
- data/vendor/bundle/ruby/2.3.0/bin/multiruby +24 -0
- data/vendor/bundle/ruby/2.3.0/bin/multiruby_setup +24 -0
- data/vendor/bundle/ruby/2.3.0/bin/pry +22 -0
- data/vendor/bundle/ruby/2.3.0/bin/rake +22 -0
- data/vendor/bundle/ruby/2.3.0/bin/rspec +22 -0
- data/vendor/bundle/ruby/2.3.0/bin/rubocop +22 -0
- data/vendor/bundle/ruby/2.3.0/bin/ruby-parse +22 -0
- data/vendor/bundle/ruby/2.3.0/bin/ruby-rewrite +22 -0
- data/vendor/bundle/ruby/2.3.0/bin/safe_yaml +22 -0
- data/vendor/bundle/ruby/2.3.0/bin/unit_diff +24 -0
- data/vendor/bundle/ruby/2.3.0/bin/zentest +24 -0
- data/vendor/bundle/ruby/2.3.0/cache/ZenTest-4.11.2.gem +0 -0
- data/vendor/bundle/ruby/2.3.0/cache/addressable-2.5.2.gem +0 -0
- data/vendor/bundle/ruby/2.3.0/cache/ast-2.4.0.gem +0 -0
- data/vendor/bundle/ruby/2.3.0/cache/autotest-4.4.6.gem +0 -0
- data/vendor/bundle/ruby/2.3.0/cache/autotest-fsevent-0.2.14.gem +0 -0
- data/vendor/bundle/ruby/2.3.0/cache/autotest-growl-0.2.16.gem +0 -0
- data/vendor/bundle/ruby/2.3.0/cache/autotest-rails-pure-4.1.2.gem +0 -0
- data/vendor/bundle/ruby/2.3.0/cache/byebug-10.0.2.gem +0 -0
- data/vendor/bundle/ruby/2.3.0/cache/coderay-1.1.2.gem +0 -0
- data/vendor/bundle/ruby/2.3.0/cache/crack-0.4.3.gem +0 -0
- data/vendor/bundle/ruby/2.3.0/cache/diff-lcs-1.3.gem +0 -0
- data/vendor/bundle/ruby/2.3.0/cache/ethon-0.11.0.gem +0 -0
- data/vendor/bundle/ruby/2.3.0/cache/ffi-1.9.25.gem +0 -0
- data/vendor/bundle/ruby/2.3.0/cache/hashdiff-0.3.7.gem +0 -0
- data/vendor/bundle/ruby/2.3.0/cache/jaro_winkler-1.5.3.gem +0 -0
- data/vendor/bundle/ruby/2.3.0/cache/json-2.1.0.gem +0 -0
- data/vendor/bundle/ruby/2.3.0/cache/method_source-0.9.0.gem +0 -0
- data/vendor/bundle/ruby/2.3.0/cache/parallel-1.17.0.gem +0 -0
- data/vendor/bundle/ruby/2.3.0/cache/parser-2.6.3.0.gem +0 -0
- data/vendor/bundle/ruby/2.3.0/cache/pry-0.11.3.gem +0 -0
- data/vendor/bundle/ruby/2.3.0/cache/pry-byebug-3.6.0.gem +0 -0
- data/vendor/bundle/ruby/2.3.0/cache/psych-3.1.0.gem +0 -0
- data/vendor/bundle/ruby/2.3.0/cache/public_suffix-3.0.3.gem +0 -0
- data/vendor/bundle/ruby/2.3.0/cache/rainbow-3.0.0.gem +0 -0
- data/vendor/bundle/ruby/2.3.0/cache/rake-12.0.0.gem +0 -0
- data/vendor/bundle/ruby/2.3.0/cache/rspec-3.8.0.gem +0 -0
- data/vendor/bundle/ruby/2.3.0/cache/rspec-core-3.8.0.gem +0 -0
- data/vendor/bundle/ruby/2.3.0/cache/rspec-expectations-3.8.1.gem +0 -0
- data/vendor/bundle/ruby/2.3.0/cache/rspec-mocks-3.8.0.gem +0 -0
- data/vendor/bundle/ruby/2.3.0/cache/rspec-support-3.8.0.gem +0 -0
- data/vendor/bundle/ruby/2.3.0/cache/rubocop-0.66.0.gem +0 -0
- data/vendor/bundle/ruby/2.3.0/cache/ruby-progressbar-1.10.1.gem +0 -0
- data/vendor/bundle/ruby/2.3.0/cache/safe_yaml-1.0.4.gem +0 -0
- data/vendor/bundle/ruby/2.3.0/cache/sys-uname-1.0.3.gem +0 -0
- data/vendor/bundle/ruby/2.3.0/cache/typhoeus-1.3.0.gem +0 -0
- data/vendor/bundle/ruby/2.3.0/cache/unicode-display_width-1.5.0.gem +0 -0
- data/vendor/bundle/ruby/2.3.0/cache/vcr-3.0.3.gem +0 -0
- data/vendor/bundle/ruby/2.3.0/cache/webmock-1.24.6.gem +0 -0
- data/vendor/bundle/ruby/2.3.0/extensions/universal-darwin-18/2.3.0/autotest-fsevent-0.2.14/gem.build_complete +0 -0
- data/vendor/bundle/ruby/2.3.0/extensions/universal-darwin-18/2.3.0/autotest-fsevent-0.2.14/gem_make.out +14 -0
- data/vendor/bundle/ruby/2.3.0/extensions/universal-darwin-18/2.3.0/byebug-10.0.2/byebug/byebug.bundle +0 -0
- data/vendor/bundle/ruby/2.3.0/extensions/universal-darwin-18/2.3.0/byebug-10.0.2/gem.build_complete +0 -0
- data/vendor/bundle/ruby/2.3.0/extensions/universal-darwin-18/2.3.0/byebug-10.0.2/gem_make.out +19 -0
- data/vendor/bundle/ruby/2.3.0/extensions/universal-darwin-18/2.3.0/ffi-1.9.25/ffi_c.bundle +0 -0
- data/vendor/bundle/ruby/2.3.0/extensions/universal-darwin-18/2.3.0/ffi-1.9.25/gem.build_complete +0 -0
- data/vendor/bundle/ruby/2.3.0/extensions/universal-darwin-18/2.3.0/ffi-1.9.25/gem_make.out +140 -0
- data/vendor/bundle/ruby/2.3.0/extensions/universal-darwin-18/2.3.0/ffi-1.9.25/mkmf.log +250 -0
- data/vendor/bundle/ruby/2.3.0/extensions/universal-darwin-18/2.3.0/jaro_winkler-1.5.3/gem.build_complete +0 -0
- data/vendor/bundle/ruby/2.3.0/extensions/universal-darwin-18/2.3.0/jaro_winkler-1.5.3/gem_make.out +18 -0
- data/vendor/bundle/ruby/2.3.0/extensions/universal-darwin-18/2.3.0/jaro_winkler-1.5.3/jaro_winkler/jaro_winkler_ext.bundle +0 -0
- data/vendor/bundle/ruby/2.3.0/extensions/universal-darwin-18/2.3.0/json-2.1.0/gem.build_complete +0 -0
- data/vendor/bundle/ruby/2.3.0/extensions/universal-darwin-18/2.3.0/json-2.1.0/gem_make.out +13 -0
- data/vendor/bundle/ruby/2.3.0/extensions/universal-darwin-18/2.3.0/json-2.1.0/json/ext/generator.bundle +0 -0
- data/vendor/bundle/ruby/2.3.0/extensions/universal-darwin-18/2.3.0/json-2.1.0/json/ext/parser.bundle +0 -0
- data/vendor/bundle/ruby/2.3.0/extensions/universal-darwin-18/2.3.0/json-2.1.0/mkmf.log +60 -0
- data/vendor/bundle/ruby/2.3.0/extensions/universal-darwin-18/2.3.0/psych-3.1.0/gem.build_complete +0 -0
- data/vendor/bundle/ruby/2.3.0/extensions/universal-darwin-18/2.3.0/psych-3.1.0/gem_make.out +25 -0
- data/vendor/bundle/ruby/2.3.0/extensions/universal-darwin-18/2.3.0/psych-3.1.0/mkmf.log +68 -0
- data/vendor/bundle/ruby/2.3.0/extensions/universal-darwin-18/2.3.0/psych-3.1.0/psych.bundle +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/ZenTest-4.11.2/.autotest +20 -0
- data/vendor/bundle/ruby/2.3.0/gems/ZenTest-4.11.2/History.txt +939 -0
- data/vendor/bundle/ruby/2.3.0/gems/ZenTest-4.11.2/Manifest.txt +38 -0
- data/vendor/bundle/ruby/2.3.0/gems/ZenTest-4.11.2/README.txt +164 -0
- data/vendor/bundle/ruby/2.3.0/gems/ZenTest-4.11.2/Rakefile +54 -0
- data/vendor/bundle/ruby/2.3.0/gems/ZenTest-4.11.2/articles/Article.css +721 -0
- data/vendor/bundle/ruby/2.3.0/gems/ZenTest-4.11.2/articles/getting_started_with_autotest.html +533 -0
- data/vendor/bundle/ruby/2.3.0/gems/ZenTest-4.11.2/articles/how_to_use_zentest.txt +393 -0
- data/vendor/bundle/ruby/2.3.0/gems/ZenTest-4.11.2/bin/autotest +6 -0
- data/vendor/bundle/ruby/2.3.0/gems/ZenTest-4.11.2/bin/multigem +4 -0
- data/vendor/bundle/ruby/2.3.0/gems/ZenTest-4.11.2/bin/multiruby +76 -0
- data/vendor/bundle/ruby/2.3.0/gems/ZenTest-4.11.2/bin/multiruby_setup +74 -0
- data/vendor/bundle/ruby/2.3.0/gems/ZenTest-4.11.2/bin/unit_diff +38 -0
- data/vendor/bundle/ruby/2.3.0/gems/ZenTest-4.11.2/bin/zentest +23 -0
- data/vendor/bundle/ruby/2.3.0/gems/ZenTest-4.11.2/example.txt +42 -0
- data/vendor/bundle/ruby/2.3.0/gems/ZenTest-4.11.2/example1.rb +7 -0
- data/vendor/bundle/ruby/2.3.0/gems/ZenTest-4.11.2/example2.rb +15 -0
- data/vendor/bundle/ruby/2.3.0/gems/ZenTest-4.11.2/example_dot_autotest.rb +16 -0
- data/vendor/bundle/ruby/2.3.0/gems/ZenTest-4.11.2/lib/autotest.rb +901 -0
- data/vendor/bundle/ruby/2.3.0/gems/ZenTest-4.11.2/lib/autotest/autoupdate.rb +26 -0
- data/vendor/bundle/ruby/2.3.0/gems/ZenTest-4.11.2/lib/autotest/bundler.rb +10 -0
- data/vendor/bundle/ruby/2.3.0/gems/ZenTest-4.11.2/lib/autotest/isolate.rb +19 -0
- data/vendor/bundle/ruby/2.3.0/gems/ZenTest-4.11.2/lib/autotest/once.rb +9 -0
- data/vendor/bundle/ruby/2.3.0/gems/ZenTest-4.11.2/lib/autotest/preload.rb +56 -0
- data/vendor/bundle/ruby/2.3.0/gems/ZenTest-4.11.2/lib/autotest/rcov.rb +27 -0
- data/vendor/bundle/ruby/2.3.0/gems/ZenTest-4.11.2/lib/autotest/restart.rb +16 -0
- data/vendor/bundle/ruby/2.3.0/gems/ZenTest-4.11.2/lib/autotest/timestamp.rb +9 -0
- data/vendor/bundle/ruby/2.3.0/gems/ZenTest-4.11.2/lib/focus.rb +26 -0
- data/vendor/bundle/ruby/2.3.0/gems/ZenTest-4.11.2/lib/functional_test_matrix.rb +92 -0
- data/vendor/bundle/ruby/2.3.0/gems/ZenTest-4.11.2/lib/multiruby.rb +413 -0
- data/vendor/bundle/ruby/2.3.0/gems/ZenTest-4.11.2/lib/unit_diff.rb +274 -0
- data/vendor/bundle/ruby/2.3.0/gems/ZenTest-4.11.2/lib/zentest.rb +601 -0
- data/vendor/bundle/ruby/2.3.0/gems/ZenTest-4.11.2/lib/zentest_mapping.rb +117 -0
- data/vendor/bundle/ruby/2.3.0/gems/ZenTest-4.11.2/test/test_autotest.rb +560 -0
- data/vendor/bundle/ruby/2.3.0/gems/ZenTest-4.11.2/test/test_focus.rb +35 -0
- data/vendor/bundle/ruby/2.3.0/gems/ZenTest-4.11.2/test/test_unit_diff.rb +372 -0
- data/vendor/bundle/ruby/2.3.0/gems/ZenTest-4.11.2/test/test_zentest.rb +581 -0
- data/vendor/bundle/ruby/2.3.0/gems/ZenTest-4.11.2/test/test_zentest_mapping.rb +242 -0
- data/vendor/bundle/ruby/2.3.0/gems/addressable-2.5.2/CHANGELOG.md +216 -0
- data/vendor/bundle/ruby/2.3.0/gems/addressable-2.5.2/Gemfile +32 -0
- data/vendor/bundle/ruby/2.3.0/gems/addressable-2.5.2/LICENSE.txt +202 -0
- data/vendor/bundle/ruby/2.3.0/gems/addressable-2.5.2/README.md +121 -0
- data/vendor/bundle/ruby/2.3.0/gems/addressable-2.5.2/Rakefile +32 -0
- data/vendor/bundle/ruby/2.3.0/gems/addressable-2.5.2/data/unicode.data +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/addressable-2.5.2/lib/addressable.rb +2 -0
- data/vendor/bundle/ruby/2.3.0/gems/addressable-2.5.2/lib/addressable/idna.rb +25 -0
- data/vendor/bundle/ruby/2.3.0/gems/addressable-2.5.2/lib/addressable/idna/native.rb +59 -0
- data/vendor/bundle/ruby/2.3.0/gems/addressable-2.5.2/lib/addressable/idna/pure.rb +677 -0
- data/vendor/bundle/ruby/2.3.0/gems/addressable-2.5.2/lib/addressable/template.rb +1065 -0
- data/vendor/bundle/ruby/2.3.0/gems/addressable-2.5.2/lib/addressable/uri.rb +2492 -0
- data/vendor/bundle/ruby/2.3.0/gems/addressable-2.5.2/lib/addressable/version.rb +30 -0
- data/vendor/bundle/ruby/2.3.0/gems/addressable-2.5.2/spec/addressable/idna_spec.rb +298 -0
- data/vendor/bundle/ruby/2.3.0/gems/addressable-2.5.2/spec/addressable/net_http_compat_spec.rb +28 -0
- data/vendor/bundle/ruby/2.3.0/gems/addressable-2.5.2/spec/addressable/rack_mount_compat_spec.rb +104 -0
- data/vendor/bundle/ruby/2.3.0/gems/addressable-2.5.2/spec/addressable/security_spec.rb +57 -0
- data/vendor/bundle/ruby/2.3.0/gems/addressable-2.5.2/spec/addressable/template_spec.rb +1419 -0
- data/vendor/bundle/ruby/2.3.0/gems/addressable-2.5.2/spec/addressable/uri_spec.rb +6468 -0
- data/vendor/bundle/ruby/2.3.0/gems/addressable-2.5.2/spec/spec_helper.rb +21 -0
- data/vendor/bundle/ruby/2.3.0/gems/addressable-2.5.2/tasks/clobber.rake +2 -0
- data/vendor/bundle/ruby/2.3.0/gems/addressable-2.5.2/tasks/gem.rake +91 -0
- data/vendor/bundle/ruby/2.3.0/gems/addressable-2.5.2/tasks/git.rake +45 -0
- data/vendor/bundle/ruby/2.3.0/gems/addressable-2.5.2/tasks/metrics.rake +22 -0
- data/vendor/bundle/ruby/2.3.0/gems/addressable-2.5.2/tasks/rspec.rake +21 -0
- data/vendor/bundle/ruby/2.3.0/gems/addressable-2.5.2/tasks/yard.rake +27 -0
- data/vendor/bundle/ruby/2.3.0/gems/ast-2.4.0/.gitignore +8 -0
- data/vendor/bundle/ruby/2.3.0/gems/ast-2.4.0/.travis.yml +14 -0
- data/vendor/bundle/ruby/2.3.0/gems/ast-2.4.0/.yardopts +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/ast-2.4.0/CHANGELOG.md +9 -0
- data/vendor/bundle/ruby/2.3.0/gems/ast-2.4.0/Gemfile +4 -0
- data/vendor/bundle/ruby/2.3.0/gems/ast-2.4.0/LICENSE.MIT +20 -0
- data/vendor/bundle/ruby/2.3.0/gems/ast-2.4.0/README.YARD.md +12 -0
- data/vendor/bundle/ruby/2.3.0/gems/ast-2.4.0/README.md +23 -0
- data/vendor/bundle/ruby/2.3.0/gems/ast-2.4.0/Rakefile +19 -0
- data/vendor/bundle/ruby/2.3.0/gems/ast-2.4.0/ast.gemspec +29 -0
- data/vendor/bundle/ruby/2.3.0/gems/ast-2.4.0/lib/ast.rb +17 -0
- data/vendor/bundle/ruby/2.3.0/gems/ast-2.4.0/lib/ast/node.rb +258 -0
- data/vendor/bundle/ruby/2.3.0/gems/ast-2.4.0/lib/ast/processor.rb +12 -0
- data/vendor/bundle/ruby/2.3.0/gems/ast-2.4.0/lib/ast/processor/mixin.rb +288 -0
- data/vendor/bundle/ruby/2.3.0/gems/ast-2.4.0/lib/ast/sexp.rb +30 -0
- data/vendor/bundle/ruby/2.3.0/gems/ast-2.4.0/test/helper.rb +17 -0
- data/vendor/bundle/ruby/2.3.0/gems/ast-2.4.0/test/test_ast.rb +271 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-4.4.6/History.txt +4 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-4.4.6/Manifest.txt +4 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-4.4.6/README.txt +43 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-4.4.6/Rakefile +17 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-fsevent-0.2.14/.gitignore +5 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-fsevent-0.2.14/.ruby-version +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-fsevent-0.2.14/CHANGELOG.txt +106 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-fsevent-0.2.14/Gemfile +4 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-fsevent-0.2.14/Gemfile.lock +40 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-fsevent-0.2.14/LICENSE +20 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-fsevent-0.2.14/PostInstall.txt +14 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-fsevent-0.2.14/README.rdoc +152 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-fsevent-0.2.14/Rakefile +7 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-fsevent-0.2.14/autotest-fsevent.gemspec +28 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-fsevent-0.2.14/bin/fsevent_sleep +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-fsevent-0.2.14/ext/fsevent/Makefile +4 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-fsevent-0.2.14/ext/fsevent/extconf.rb +40 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-fsevent-0.2.14/ext/fsevent/fsevent.dll +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-fsevent-0.2.14/ext/fsevent/fsevent.so +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-fsevent-0.2.14/ext/fsevent/fsevent_sleep.c +43 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-fsevent-0.2.14/ext/fsevent/make +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-fsevent-0.2.14/ext/fsevent/nmake.bat +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-fsevent-0.2.14/lib/autotest-fsevent.rb +4 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-fsevent-0.2.14/lib/autotest-fsevent/version.rb +5 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-fsevent-0.2.14/lib/autotest/fsevent.rb +38 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-fsevent-0.2.14/prebuilt/10.7/fsevent_sleep +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-fsevent-0.2.14/spec/autotest-fsevent_spec.rb +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-fsevent-0.2.14/spec/spec_helper.rb +8 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-growl-0.2.16/.gitignore +5 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-growl-0.2.16/.rvmrc +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-growl-0.2.16/CHANGELOG.txt +140 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-growl-0.2.16/Gemfile +4 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-growl-0.2.16/Gemfile.lock +28 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-growl-0.2.16/LICENSE +20 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-growl-0.2.16/PostInstall.txt +26 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-growl-0.2.16/README.rdoc +268 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-growl-0.2.16/Rakefile +7 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-growl-0.2.16/autotest-growl.gemspec +26 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-growl-0.2.16/growl/growlnotify +19 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-growl-0.2.16/growl/growlnotify-1.1.5 +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-growl-0.2.16/growl/growlnotify-1.3 +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-growl-0.2.16/growl/growlnotify.com +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-growl-0.2.16/img/ampelmaennchen/error.png +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-growl-0.2.16/img/ampelmaennchen/failed.png +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-growl-0.2.16/img/ampelmaennchen/info.png +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-growl-0.2.16/img/ampelmaennchen/passed.png +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-growl-0.2.16/img/ampelmaennchen/pending.png +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-growl-0.2.16/img/ruby/error.png +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-growl-0.2.16/img/ruby/failed.png +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-growl-0.2.16/img/ruby/info.png +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-growl-0.2.16/img/ruby/passed.png +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-growl-0.2.16/img/ruby/pending.png +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-growl-0.2.16/lib/autotest-growl.rb +4 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-growl-0.2.16/lib/autotest-growl/version.rb +5 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-growl-0.2.16/lib/autotest/growl.rb +199 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-growl-0.2.16/lib/autotest/result.rb +64 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-growl-0.2.16/spec/autotest-growl_spec.rb +79 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-growl-0.2.16/spec/spec_helper.rb +14 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-rails-pure-4.1.2/.autotest +23 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-rails-pure-4.1.2/History.txt +2 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-rails-pure-4.1.2/Rakefile +21 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-rails-pure-4.1.2/Readme.md +48 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-rails-pure-4.1.2/VERSION +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-rails-pure-4.1.2/autotest-rails-pure.gemspec +45 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-rails-pure-4.1.2/lib/autotest/discover.rb +5 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-rails-pure-4.1.2/lib/autotest/fixtures.rb +12 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-rails-pure-4.1.2/lib/autotest/migrate.rb +7 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-rails-pure-4.1.2/lib/autotest/rails.rb +100 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-rails-pure-4.1.2/test/rails_test.rb +30 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/CHANGELOG.md +856 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/CONTRIBUTING.md +86 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/GUIDE.md +1805 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/LICENSE +23 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/README.md +195 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/exe/byebug +6 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/ext/byebug/.RUBYARCHDIR.-.byebug.time +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/ext/byebug/Makefile +261 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/ext/byebug/breakpoint.c +517 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/ext/byebug/breakpoint.o +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/ext/byebug/byebug.bundle +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/ext/byebug/byebug.c +905 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/ext/byebug/byebug.h +143 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/ext/byebug/byebug.o +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/ext/byebug/context.c +673 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/ext/byebug/context.o +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/ext/byebug/extconf.rb +12 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/ext/byebug/locker.c +96 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/ext/byebug/locker.o +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/ext/byebug/threads.c +230 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/ext/byebug/threads.o +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/lib/byebug.rb +3 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/lib/byebug/attacher.rb +48 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/lib/byebug/breakpoint.rb +111 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/lib/byebug/byebug.bundle +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/lib/byebug/command.rb +111 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/lib/byebug/command_list.rb +34 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/lib/byebug/commands.rb +39 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/lib/byebug/commands/break.rb +116 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/lib/byebug/commands/catch.rb +82 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/lib/byebug/commands/condition.rb +57 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/lib/byebug/commands/continue.rb +50 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/lib/byebug/commands/debug.rb +38 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/lib/byebug/commands/delete.rb +57 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/lib/byebug/commands/disable.rb +33 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/lib/byebug/commands/disable/breakpoints.rb +42 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/lib/byebug/commands/disable/display.rb +43 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/lib/byebug/commands/display.rb +66 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/lib/byebug/commands/down.rb +45 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/lib/byebug/commands/edit.rb +68 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/lib/byebug/commands/enable.rb +33 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/lib/byebug/commands/enable/breakpoints.rb +42 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/lib/byebug/commands/enable/display.rb +43 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/lib/byebug/commands/finish.rb +57 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/lib/byebug/commands/frame.rb +57 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/lib/byebug/commands/help.rb +64 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/lib/byebug/commands/history.rb +39 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/lib/byebug/commands/info.rb +37 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/lib/byebug/commands/info/breakpoints.rb +67 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/lib/byebug/commands/info/display.rb +51 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/lib/byebug/commands/info/file.rb +82 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/lib/byebug/commands/info/line.rb +35 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/lib/byebug/commands/info/program.rb +49 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/lib/byebug/commands/interrupt.rb +34 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/lib/byebug/commands/irb.rb +52 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/lib/byebug/commands/kill.rb +47 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/lib/byebug/commands/list.rb +159 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/lib/byebug/commands/method.rb +53 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/lib/byebug/commands/next.rb +40 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/lib/byebug/commands/pry.rb +43 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/lib/byebug/commands/quit.rb +42 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/lib/byebug/commands/restart.rb +64 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/lib/byebug/commands/save.rb +72 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/lib/byebug/commands/set.rb +79 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/lib/byebug/commands/show.rb +45 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/lib/byebug/commands/source.rb +42 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/lib/byebug/commands/step.rb +40 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/lib/byebug/commands/thread.rb +34 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/lib/byebug/commands/thread/current.rb +37 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/lib/byebug/commands/thread/list.rb +43 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/lib/byebug/commands/thread/resume.rb +47 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/lib/byebug/commands/thread/stop.rb +43 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/lib/byebug/commands/thread/switch.rb +46 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/lib/byebug/commands/tracevar.rb +57 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/lib/byebug/commands/undisplay.rb +52 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/lib/byebug/commands/untracevar.rb +36 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/lib/byebug/commands/up.rb +45 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/lib/byebug/commands/var.rb +37 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/lib/byebug/commands/var/all.rb +41 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/lib/byebug/commands/var/args.rb +39 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/lib/byebug/commands/var/const.rb +51 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/lib/byebug/commands/var/global.rb +37 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/lib/byebug/commands/var/instance.rb +39 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/lib/byebug/commands/var/local.rb +39 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/lib/byebug/commands/where.rb +53 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/lib/byebug/context.rb +157 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/lib/byebug/core.rb +114 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/lib/byebug/errors.rb +29 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/lib/byebug/frame.rb +185 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/lib/byebug/helpers/bin.rb +47 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/lib/byebug/helpers/eval.rb +126 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/lib/byebug/helpers/file.rb +63 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/lib/byebug/helpers/frame.rb +75 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/lib/byebug/helpers/parse.rb +77 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/lib/byebug/helpers/path.rb +40 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/lib/byebug/helpers/reflection.rb +19 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/lib/byebug/helpers/string.rb +36 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/lib/byebug/helpers/thread.rb +67 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/lib/byebug/helpers/toggle.rb +64 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/lib/byebug/helpers/var.rb +54 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/lib/byebug/history.rb +130 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/lib/byebug/interface.rb +146 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/lib/byebug/interfaces/local_interface.rb +44 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/lib/byebug/interfaces/remote_interface.rb +50 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/lib/byebug/interfaces/script_interface.rb +32 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/lib/byebug/interfaces/test_interface.rb +67 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/lib/byebug/option_setter.rb +95 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/lib/byebug/printers/base.rb +69 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/lib/byebug/printers/plain.rb +44 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/lib/byebug/printers/texts/base.yml +115 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/lib/byebug/printers/texts/plain.yml +33 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/lib/byebug/processors/command_processor.rb +173 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/lib/byebug/processors/control_processor.rb +24 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/lib/byebug/processors/post_mortem_processor.rb +18 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/lib/byebug/processors/script_processor.rb +49 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/lib/byebug/remote.rb +85 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/lib/byebug/remote/client.rb +55 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/lib/byebug/remote/server.rb +47 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/lib/byebug/runner.rb +198 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/lib/byebug/setting.rb +79 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/lib/byebug/settings/autoirb.rb +29 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/lib/byebug/settings/autolist.rb +29 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/lib/byebug/settings/autopry.rb +29 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/lib/byebug/settings/autosave.rb +17 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/lib/byebug/settings/basename.rb +16 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/lib/byebug/settings/callstyle.rb +20 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/lib/byebug/settings/fullpath.rb +16 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/lib/byebug/settings/histfile.rb +20 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/lib/byebug/settings/histsize.rb +20 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/lib/byebug/settings/linetrace.rb +22 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/lib/byebug/settings/listsize.rb +21 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/lib/byebug/settings/post_mortem.rb +27 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/lib/byebug/settings/savefile.rb +20 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/lib/byebug/settings/stack_on_error.rb +15 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/lib/byebug/settings/width.rb +20 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/lib/byebug/source_file_formatter.rb +71 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/lib/byebug/subcommands.rb +54 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-10.0.2/lib/byebug/version.rb +8 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/MIT-LICENSE +22 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/README_INDEX.rdoc +123 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/bin/coderay +215 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay.rb +284 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/duo.rb +81 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/encoders.rb +18 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/encoders/_map.rb +17 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/encoders/comment_filter.rb +25 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/encoders/count.rb +39 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/encoders/debug.rb +49 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/encoders/debug_lint.rb +63 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/encoders/div.rb +23 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/encoders/encoder.rb +190 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/encoders/filter.rb +58 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/encoders/html.rb +333 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/encoders/html/css.rb +65 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/encoders/html/numbering.rb +108 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/encoders/html/output.rb +166 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/encoders/json.rb +83 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/encoders/lines_of_code.rb +45 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/encoders/lint.rb +59 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/encoders/null.rb +18 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/encoders/page.rb +24 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/encoders/span.rb +23 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/encoders/statistic.rb +95 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/encoders/terminal.rb +195 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/encoders/text.rb +46 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/encoders/token_kind_filter.rb +111 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/encoders/xml.rb +72 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/encoders/yaml.rb +50 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/for_redcloth.rb +95 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/helpers/file_type.rb +151 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/helpers/plugin.rb +55 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/helpers/plugin_host.rb +221 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/helpers/word_list.rb +72 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/scanners.rb +27 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/scanners/_map.rb +24 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/scanners/c.rb +189 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/scanners/clojure.rb +217 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/scanners/cpp.rb +217 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/scanners/css.rb +196 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/scanners/debug.rb +75 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/scanners/delphi.rb +144 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/scanners/diff.rb +221 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/scanners/erb.rb +81 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/scanners/go.rb +208 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/scanners/groovy.rb +268 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/scanners/haml.rb +168 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/scanners/html.rb +275 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/scanners/java.rb +174 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/scanners/java/builtin_types.rb +421 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/scanners/java_script.rb +237 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/scanners/json.rb +98 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/scanners/lua.rb +280 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/scanners/php.rb +527 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/scanners/python.rb +287 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/scanners/raydebug.rb +75 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/scanners/ruby.rb +477 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/scanners/ruby/patterns.rb +178 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/scanners/ruby/string_state.rb +79 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/scanners/sass.rb +232 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/scanners/scanner.rb +337 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/scanners/sql.rb +169 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/scanners/taskpaper.rb +36 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/scanners/text.rb +26 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/scanners/xml.rb +17 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/scanners/yaml.rb +140 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/styles.rb +15 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/styles/_map.rb +7 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/styles/alpha.rb +153 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/styles/style.rb +18 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/token_kinds.rb +85 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/tokens.rb +161 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/tokens_proxy.rb +55 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/version.rb +3 -0
- data/vendor/bundle/ruby/2.3.0/gems/crack-0.4.3/.gitignore +8 -0
- data/vendor/bundle/ruby/2.3.0/gems/crack-0.4.3/.travis.yml +14 -0
- data/vendor/bundle/ruby/2.3.0/gems/crack-0.4.3/Gemfile +5 -0
- data/vendor/bundle/ruby/2.3.0/gems/crack-0.4.3/History +25 -0
- data/vendor/bundle/ruby/2.3.0/gems/crack-0.4.3/LICENSE +20 -0
- data/vendor/bundle/ruby/2.3.0/gems/crack-0.4.3/README.md +46 -0
- data/vendor/bundle/ruby/2.3.0/gems/crack-0.4.3/crack.gemspec +20 -0
- data/vendor/bundle/ruby/2.3.0/gems/crack-0.4.3/lib/crack.rb +7 -0
- data/vendor/bundle/ruby/2.3.0/gems/crack-0.4.3/lib/crack/json.rb +111 -0
- data/vendor/bundle/ruby/2.3.0/gems/crack-0.4.3/lib/crack/util.rb +17 -0
- data/vendor/bundle/ruby/2.3.0/gems/crack-0.4.3/lib/crack/version.rb +3 -0
- data/vendor/bundle/ruby/2.3.0/gems/crack-0.4.3/lib/crack/xml.rb +238 -0
- data/vendor/bundle/ruby/2.3.0/gems/crack-0.4.3/script/bootstrap +21 -0
- data/vendor/bundle/ruby/2.3.0/gems/crack-0.4.3/script/release +42 -0
- data/vendor/bundle/ruby/2.3.0/gems/crack-0.4.3/script/test +25 -0
- data/vendor/bundle/ruby/2.3.0/gems/crack-0.4.3/test/data/large_dataset.json +139988 -0
- data/vendor/bundle/ruby/2.3.0/gems/crack-0.4.3/test/data/twittersearch-firefox.json +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/crack-0.4.3/test/data/twittersearch-ie.json +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/crack-0.4.3/test/hash_test.rb +26 -0
- data/vendor/bundle/ruby/2.3.0/gems/crack-0.4.3/test/json_test.rb +91 -0
- data/vendor/bundle/ruby/2.3.0/gems/crack-0.4.3/test/parser_test.rb +27 -0
- data/vendor/bundle/ruby/2.3.0/gems/crack-0.4.3/test/string_test.rb +31 -0
- data/vendor/bundle/ruby/2.3.0/gems/crack-0.4.3/test/test_helper.rb +3 -0
- data/vendor/bundle/ruby/2.3.0/gems/crack-0.4.3/test/xml_test.rb +514 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/.rspec +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/Code-of-Conduct.md +74 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/Contributing.md +83 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/History.md +220 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/License.md +39 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/Manifest.txt +37 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/README.rdoc +84 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/Rakefile +57 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/autotest/discover.rb +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/bin/htmldiff +32 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/bin/ldiff +6 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/docs/COPYING.txt +339 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/docs/artistic.txt +127 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/lib/diff-lcs.rb +3 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/lib/diff/lcs.rb +725 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/lib/diff/lcs/array.rb +7 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/lib/diff/lcs/block.rb +37 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/lib/diff/lcs/callbacks.rb +322 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/lib/diff/lcs/change.rb +181 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/lib/diff/lcs/htmldiff.rb +149 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/lib/diff/lcs/hunk.rb +276 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/lib/diff/lcs/internals.rb +307 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/lib/diff/lcs/ldiff.rb +167 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/lib/diff/lcs/string.rb +5 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/spec/change_spec.rb +65 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/spec/diff_spec.rb +47 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/spec/fixtures/ds1.csv +50 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/spec/fixtures/ds2.csv +51 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/spec/hunk_spec.rb +72 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/spec/issues_spec.rb +49 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/spec/lcs_spec.rb +56 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/spec/ldiff_spec.rb +47 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/spec/patch_spec.rb +422 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/spec/sdiff_spec.rb +214 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/spec/spec_helper.rb +321 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/spec/traverse_balanced_spec.rb +310 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/spec/traverse_sequences_spec.rb +139 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/.gitignore +7 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/.rspec +3 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/.travis.yml +28 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/CHANGELOG.md +357 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/Gemfile +38 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/Guardfile +9 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/LICENSE +20 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/README.md +95 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/Rakefile +39 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/ethon.gemspec +25 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/lib/ethon.rb +35 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/lib/ethon/curl.rb +89 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/lib/ethon/curls/classes.rb +54 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/lib/ethon/curls/codes.rb +122 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/lib/ethon/curls/constants.rb +62 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/lib/ethon/curls/form_options.rb +36 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/lib/ethon/curls/functions.rb +66 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/lib/ethon/curls/infos.rb +150 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/lib/ethon/curls/messages.rb +18 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/lib/ethon/curls/options.rb +465 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/lib/ethon/curls/settings.rb +9 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/lib/ethon/easy.rb +315 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/lib/ethon/easy/callbacks.rb +147 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/lib/ethon/easy/debug_info.rb +46 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/lib/ethon/easy/features.rb +30 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/lib/ethon/easy/form.rb +106 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/lib/ethon/easy/header.rb +60 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/lib/ethon/easy/http.rb +67 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/lib/ethon/easy/http/actionable.rb +156 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/lib/ethon/easy/http/custom.rb +28 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/lib/ethon/easy/http/delete.rb +24 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/lib/ethon/easy/http/get.rb +23 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/lib/ethon/easy/http/head.rb +23 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/lib/ethon/easy/http/options.rb +23 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/lib/ethon/easy/http/patch.rb +23 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/lib/ethon/easy/http/post.rb +25 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/lib/ethon/easy/http/postable.rb +31 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/lib/ethon/easy/http/put.rb +26 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/lib/ethon/easy/http/putable.rb +24 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/lib/ethon/easy/informations.rb +94 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/lib/ethon/easy/mirror.rb +35 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/lib/ethon/easy/operations.rb +63 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/lib/ethon/easy/options.rb +49 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/lib/ethon/easy/params.rb +28 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/lib/ethon/easy/queryable.rb +151 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/lib/ethon/easy/response_callbacks.rb +130 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/lib/ethon/easy/util.rb +27 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/lib/ethon/errors.rb +16 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/lib/ethon/errors/ethon_error.rb +8 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/lib/ethon/errors/global_init.rb +12 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/lib/ethon/errors/invalid_option.rb +12 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/lib/ethon/errors/invalid_value.rb +12 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/lib/ethon/errors/multi_add.rb +11 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/lib/ethon/errors/multi_fdset.rb +11 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/lib/ethon/errors/multi_remove.rb +11 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/lib/ethon/errors/multi_timeout.rb +12 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/lib/ethon/errors/select.rb +12 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/lib/ethon/libc.rb +20 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/lib/ethon/loggable.rb +58 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/lib/ethon/multi.rb +103 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/lib/ethon/multi/operations.rb +190 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/lib/ethon/multi/options.rb +116 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/lib/ethon/multi/stack.rb +48 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/lib/ethon/version.rb +5 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/profile/benchmarks.rb +103 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/profile/memory_leaks.rb +113 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/profile/perf_spec_helper.rb +36 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/profile/support/memory_test_helpers.rb +75 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/profile/support/os_memory_leak_tracker.rb +47 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/profile/support/ruby_object_leak_tracker.rb +48 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/spec/ethon/curl_spec.rb +37 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/spec/ethon/easy/callbacks_spec.rb +58 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/spec/ethon/easy/debug_info_spec.rb +53 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/spec/ethon/easy/features_spec.rb +23 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/spec/ethon/easy/form_spec.rb +103 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/spec/ethon/easy/header_spec.rb +78 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/spec/ethon/easy/http/custom_spec.rb +176 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/spec/ethon/easy/http/delete_spec.rb +20 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/spec/ethon/easy/http/get_spec.rb +125 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/spec/ethon/easy/http/head_spec.rb +79 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/spec/ethon/easy/http/options_spec.rb +50 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/spec/ethon/easy/http/patch_spec.rb +50 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/spec/ethon/easy/http/post_spec.rb +316 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/spec/ethon/easy/http/put_spec.rb +167 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/spec/ethon/easy/http_spec.rb +63 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/spec/ethon/easy/informations_spec.rb +97 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/spec/ethon/easy/mirror_spec.rb +45 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/spec/ethon/easy/operations_spec.rb +267 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/spec/ethon/easy/options_spec.rb +192 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/spec/ethon/easy/queryable_spec.rb +226 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/spec/ethon/easy/response_callbacks_spec.rb +151 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/spec/ethon/easy/util_spec.rb +27 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/spec/ethon/easy_spec.rb +202 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/spec/ethon/libc_spec.rb +13 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/spec/ethon/loggable_spec.rb +21 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/spec/ethon/multi/operations_spec.rb +297 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/spec/ethon/multi/options_spec.rb +68 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/spec/ethon/multi/stack_spec.rb +79 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/spec/ethon/multi_spec.rb +21 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/spec/spec_helper.rb +27 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/spec/support/localhost_server.rb +94 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/spec/support/server.rb +114 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/.gitignore +22 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/.gitmodules +3 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/.travis.yml +52 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/.yardopts +5 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/CHANGELOG.md +74 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/COPYING +49 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/Gemfile +15 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/LICENSE +24 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/LICENSE.SPECS +22 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/README.md +112 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/Rakefile +268 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/appveyor.yml +22 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/.RUBYARCHDIR.time +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/AbstractMemory.c +1109 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/AbstractMemory.h +175 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/ArrayType.c +162 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/ArrayType.h +59 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/Buffer.c +365 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/Call.c +520 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/Call.h +110 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/ClosurePool.c +283 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/ClosurePool.h +57 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/DataConverter.c +91 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/DynamicLibrary.c +339 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/DynamicLibrary.h +98 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/Function.c +1001 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/Function.h +87 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/FunctionInfo.c +271 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/LastError.c +184 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/LastError.h +47 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/LongDouble.c +63 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/LongDouble.h +51 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/Makefile +263 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/MappedType.c +168 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/MappedType.h +59 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/MemoryPointer.c +197 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/MemoryPointer.h +53 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/MethodHandle.c +358 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/MethodHandle.h +55 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/Platform.c +129 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/Platform.h +45 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/Pointer.c +508 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/Pointer.h +63 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/Struct.c +829 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/Struct.h +106 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/StructByReference.c +190 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/StructByReference.h +50 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/StructByValue.c +150 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/StructByValue.h +55 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/StructLayout.c +698 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/Thread.c +353 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/Thread.h +95 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/Type.c +397 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/Type.h +62 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/Types.c +139 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/Types.h +89 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/Variadic.c +304 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/compat.h +78 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/extconf.h +9 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/extconf.rb +72 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/ffi.c +98 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/ffi_c.bundle +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi-universal-darwin18/.libs/libffi.7.dylib +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi-universal-darwin18/.libs/libffi.dylib +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi-universal-darwin18/.libs/libffi.la +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi-universal-darwin18/.libs/libffi.lai +41 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi-universal-darwin18/.libs/libffi_convenience.la +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi-universal-darwin18/Makefile +1809 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi-universal-darwin18/config.log +1316 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi-universal-darwin18/config.status +2436 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi-universal-darwin18/fficonfig.h +211 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi-universal-darwin18/include/Makefile +604 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi-universal-darwin18/include/ffi.h +511 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi-universal-darwin18/include/ffitarget.h +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi-universal-darwin18/libffi.la +41 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi-universal-darwin18/libffi.pc +11 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi-universal-darwin18/libffi_convenience.la +41 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi-universal-darwin18/libtool +11813 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi-universal-darwin18/local.exp +2 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi-universal-darwin18/man/Makefile +558 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi-universal-darwin18/src/.deps/.dirstamp +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi-universal-darwin18/src/.dirstamp +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi-universal-darwin18/src/closures.lo +12 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi-universal-darwin18/src/java_raw_api.lo +12 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi-universal-darwin18/src/prep_cif.lo +12 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi-universal-darwin18/src/raw_api.lo +12 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi-universal-darwin18/src/types.lo +12 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi-universal-darwin18/src/x86/.deps/.dirstamp +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi-universal-darwin18/src/x86/.dirstamp +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi-universal-darwin18/src/x86/ffi64.lo +12 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi-universal-darwin18/src/x86/ffiw64.lo +12 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi-universal-darwin18/src/x86/unix64.lo +12 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi-universal-darwin18/src/x86/win64.lo +12 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi-universal-darwin18/stamp-h1 +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi-universal-darwin18/testsuite/Makefile +608 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi.bsd.mk +40 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi.darwin.mk +105 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi.gnu.mk +32 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi.mk +18 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi.vc.mk +26 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi.vc64.mk +26 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/.appveyor.yml +50 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/.github/issue_template.md +10 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/.gitignore +38 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/.travis.yml +34 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/.travis/ar-lib +270 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/.travis/build.sh +34 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/.travis/compile +351 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/.travis/install.sh +22 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/.travis/moxie-sim.exp +60 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/.travis/site.exp +18 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/ChangeLog.libffi +584 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/ChangeLog.libffi-3.1 +6000 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/ChangeLog.libgcj +40 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/ChangeLog.v1 +764 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/LICENSE +21 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/LICENSE-BUILDTOOLS +352 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/Makefile.am +166 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/README.md +461 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/acinclude.m4 +479 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/autogen.sh +2 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/config.guess +1466 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/config.sub +1836 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/configure.ac +390 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/configure.host +289 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/generate-darwin-source-and-headers.py +203 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/include/Makefile.am +9 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/include/ffi.h.in +511 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/include/ffi_cfi.h +55 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/include/ffi_common.h +149 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/libffi.map.in +80 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/libffi.pc.in +11 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/libffi.xcodeproj/project.pbxproj +1043 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/libtool-version +29 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/m4/asmcfi.m4 +13 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/m4/ax_append_flag.m4 +71 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/m4/ax_cc_maxopt.m4 +194 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/m4/ax_cflags_warn_all.m4 +122 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/m4/ax_check_compile_flag.m4 +74 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/m4/ax_compiler_vendor.m4 +87 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/m4/ax_configure_args.m4 +70 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/m4/ax_enable_builddir.m4 +302 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/m4/ax_gcc_archflag.m4 +263 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/m4/ax_gcc_x86_cpuid.m4 +89 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/m4/ax_require_defined.m4 +37 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/man/Makefile.am +8 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/man/ffi.3 +41 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/man/ffi_call.3 +103 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/man/ffi_prep_cif.3 +68 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/man/ffi_prep_cif_var.3 +73 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/msvcc.sh +328 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/aarch64/ffi.c +941 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/aarch64/ffitarget.h +81 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/aarch64/internal.h +67 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/aarch64/sysv.S +438 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/alpha/ffi.c +521 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/alpha/ffitarget.h +57 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/alpha/internal.h +23 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/alpha/osf.S +282 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/arc/arcompact.S +135 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/arc/ffi.c +266 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/arc/ffitarget.h +53 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/arm/ffi.c +819 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/arm/ffitarget.h +82 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/arm/internal.h +7 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/arm/sysv.S +383 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/avr32/ffi.c +423 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/avr32/ffitarget.h +55 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/avr32/sysv.S +208 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/bfin/ffi.c +196 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/bfin/ffitarget.h +43 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/bfin/sysv.S +179 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/closures.c +966 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/cris/ffi.c +386 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/cris/ffitarget.h +56 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/cris/sysv.S +215 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/debug.c +64 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/dlmalloc.c +5166 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/frv/eabi.S +128 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/frv/ffi.c +292 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/frv/ffitarget.h +62 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/ia64/ffi.c +604 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/ia64/ffitarget.h +56 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/ia64/ia64_flags.h +40 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/ia64/unix.S +567 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/java_raw_api.c +374 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/m32r/ffi.c +232 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/m32r/ffitarget.h +53 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/m32r/sysv.S +121 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/m68k/ffi.c +362 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/m68k/ffitarget.h +54 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/m68k/sysv.S +357 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/m88k/ffi.c +400 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/m88k/ffitarget.h +49 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/m88k/obsd.S +209 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/metag/ffi.c +330 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/metag/ffitarget.h +53 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/metag/sysv.S +311 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/microblaze/ffi.c +321 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/microblaze/ffitarget.h +53 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/microblaze/sysv.S +302 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/mips/ffi.c +1130 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/mips/ffitarget.h +244 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/mips/n32.S +663 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/mips/o32.S +502 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/moxie/eabi.S +101 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/moxie/ffi.c +285 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/moxie/ffitarget.h +52 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/nios2/ffi.c +304 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/nios2/ffitarget.h +52 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/nios2/sysv.S +136 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/or1k/ffi.c +328 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/or1k/ffitarget.h +58 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/or1k/sysv.S +107 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/pa/ffi.c +719 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/pa/ffitarget.h +85 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/pa/hpux32.S +368 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/pa/linux.S +357 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/powerpc/aix.S +566 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/powerpc/aix_closure.S +694 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/powerpc/asm.h +125 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/powerpc/darwin.S +378 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/powerpc/darwin_closure.S +571 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/powerpc/ffi.c +173 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/powerpc/ffi_darwin.c +1440 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/powerpc/ffi_linux64.c +974 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/powerpc/ffi_powerpc.h +94 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/powerpc/ffi_sysv.c +923 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/powerpc/ffitarget.h +198 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/powerpc/linux64.S +228 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/powerpc/linux64_closure.S +488 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/powerpc/ppc_closure.S +397 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/powerpc/sysv.S +175 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/prep_cif.c +261 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/raw_api.c +267 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/riscv/ffi.c +445 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/riscv/ffitarget.h +68 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/riscv/sysv.S +214 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/s390/ffi.c +756 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/s390/ffitarget.h +70 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/s390/internal.h +11 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/s390/sysv.S +325 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/sh/ffi.c +717 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/sh/ffitarget.h +54 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/sh/sysv.S +850 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/sh64/ffi.c +469 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/sh64/ffitarget.h +58 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/sh64/sysv.S +539 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/sparc/ffi.c +468 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/sparc/ffi64.c +608 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/sparc/ffitarget.h +81 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/sparc/internal.h +26 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/sparc/v8.S +443 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/sparc/v9.S +440 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/tile/ffi.c +355 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/tile/ffitarget.h +65 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/tile/tile.S +360 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/types.c +108 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/vax/elfbsd.S +195 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/vax/ffi.c +276 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/vax/ffitarget.h +49 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/x86/asmnames.h +30 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/x86/ffi.c +753 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/x86/ffi64.c +884 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/x86/ffitarget.h +147 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/x86/ffiw64.c +308 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/x86/internal.h +29 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/x86/internal64.h +22 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/x86/sysv.S +1043 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/x86/unix64.S +525 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/x86/win64.S +232 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/x86/win64_intel.S +237 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/xtensa/ffi.c +298 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/xtensa/ffitarget.h +53 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/xtensa/sysv.S +258 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/stamp-h.in +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/Makefile.am +117 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/config/default.exp +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/lib/libffi.exp +636 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/lib/target-libpath.exp +283 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/lib/wrapper.exp +45 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.bhaible/Makefile +28 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.bhaible/README +78 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.bhaible/alignof.h +50 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.bhaible/bhaible.exp +58 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.bhaible/test-call.c +1745 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.bhaible/test-callback.c +2885 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.bhaible/testcases.c +743 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/align_mixed.c +46 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/align_stdcall.c +46 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/call.exp +43 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/closure_fn0.c +89 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/closure_fn1.c +81 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/closure_fn2.c +81 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/closure_fn3.c +82 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/closure_fn4.c +89 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/closure_fn5.c +92 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/closure_fn6.c +90 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/closure_loc_fn0.c +95 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/closure_simple.c +55 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/cls_12byte.c +94 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/cls_16byte.c +95 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/cls_18byte.c +96 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/cls_19byte.c +102 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/cls_1_1byte.c +89 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/cls_20byte.c +91 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/cls_20byte1.c +93 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/cls_24byte.c +113 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/cls_2byte.c +90 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/cls_3_1byte.c +95 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/cls_3byte1.c +90 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/cls_3byte2.c +90 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/cls_3float.c +95 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/cls_4_1byte.c +98 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/cls_4byte.c +90 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/cls_5_1_byte.c +109 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/cls_5byte.c +98 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/cls_64byte.c +124 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/cls_6_1_byte.c +113 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/cls_6byte.c +99 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/cls_7_1_byte.c +117 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/cls_7byte.c +97 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/cls_8byte.c +88 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/cls_9byte1.c +90 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/cls_9byte2.c +91 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_double.c +93 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_float.c +91 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_longdouble.c +92 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_longdouble_split.c +132 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_longdouble_split2.c +115 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_pointer.c +95 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_sint16.c +91 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_sint32.c +91 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_sint64.c +92 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_uint16.c +91 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_uint32.c +91 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_uint64.c +93 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/cls_dbls_struct.c +66 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/cls_double.c +43 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/cls_double_va.c +61 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/cls_float.c +42 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/cls_longdouble.c +105 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/cls_longdouble_va.c +61 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/cls_many_mixed_args.c +70 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/cls_many_mixed_float_double.c +55 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/cls_multi_schar.c +74 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/cls_multi_sshort.c +74 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/cls_multi_sshortchar.c +86 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/cls_multi_uchar.c +91 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/cls_multi_ushort.c +74 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/cls_multi_ushortchar.c +86 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/cls_pointer.c +74 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/cls_pointer_stack.c +142 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/cls_schar.c +44 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/cls_sint.c +42 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/cls_sshort.c +42 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/cls_struct_va1.c +114 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/cls_uchar.c +42 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/cls_uchar_va.c +44 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/cls_uint.c +43 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/cls_uint_va.c +45 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/cls_ulong_va.c +45 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/cls_ulonglong.c +47 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/cls_ushort.c +43 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/cls_ushort_va.c +44 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/err_bad_abi.c +36 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/err_bad_typedef.c +26 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/ffitest.h +138 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/float.c +59 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/float1.c +60 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/float2.c +60 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/float3.c +74 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/float4.c +62 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/float_va.c +107 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/huge_struct.c +341 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/many.c +59 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/many2.c +57 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/many_double.c +70 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/many_mixed.c +78 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/negint.c +52 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct.c +152 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct1.c +161 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct10.c +134 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct11.c +121 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct2.c +110 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct3.c +111 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct4.c +111 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct5.c +112 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct6.c +131 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct7.c +111 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct8.c +131 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct9.c +131 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/offsets.c +46 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/pr1172638.c +127 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/problem1.c +90 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/promotion.c +59 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/pyobjc-tc.c +114 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/return_dbl.c +36 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/return_dbl1.c +43 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/return_dbl2.c +42 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/return_fl.c +35 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/return_fl1.c +36 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/return_fl2.c +49 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/return_fl3.c +42 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/return_ldl.c +34 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/return_ll.c +41 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/return_ll1.c +43 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/return_sc.c +36 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/return_sl.c +38 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/return_uc.c +38 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/return_ul.c +38 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/stret_large.c +145 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/stret_large2.c +148 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/stret_medium.c +124 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/stret_medium2.c +125 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/strlen.c +44 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/strlen2.c +49 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/strlen3.c +49 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/strlen4.c +55 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/struct1.c +67 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/struct10.c +57 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/struct2.c +67 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/struct3.c +60 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/struct4.c +64 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/struct5.c +66 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/struct6.c +64 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/struct7.c +74 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/struct8.c +81 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/struct9.c +68 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/testclosure.c +70 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/uninitialized.c +61 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/unwindtest.cc +117 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/unwindtest_ffi_call.cc +54 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/va_1.c +196 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/va_struct1.c +121 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/va_struct2.c +123 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/va_struct3.c +125 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.complex/cls_align_complex.inc +91 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.complex/cls_align_complex_double.c +10 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.complex/cls_align_complex_float.c +10 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.complex/cls_align_complex_longdouble.c +10 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex.inc +42 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_double.c +10 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_float.c +10 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_longdouble.c +10 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_struct.inc +71 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_struct_double.c +10 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_struct_float.c +10 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_struct_longdouble.c +10 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_va.inc +80 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_va_double.c +10 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_va_float.c +16 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_va_longdouble.c +10 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.complex/complex.exp +36 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.complex/complex.inc +51 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.complex/complex_defs_double.inc +7 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.complex/complex_defs_float.inc +7 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.complex/complex_defs_longdouble.inc +7 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.complex/complex_double.c +10 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.complex/complex_float.c +10 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.complex/complex_int.c +86 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.complex/complex_longdouble.c +10 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.complex/ffitest.h +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.complex/many_complex.inc +78 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.complex/many_complex_double.c +10 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.complex/many_complex_float.c +10 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.complex/many_complex_longdouble.c +10 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex.inc +37 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex1.inc +41 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex1_double.c +10 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex1_float.c +10 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex1_longdouble.c +10 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex2.inc +44 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex2_double.c +10 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex2_float.c +10 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex2_longdouble.c +10 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex_double.c +10 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex_float.c +10 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex_longdouble.c +10 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.go/aa-direct.c +34 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.go/closure1.c +28 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.go/ffitest.h +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.go/go.exp +36 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.go/static-chain.h +19 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/rbffi.h +57 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/rbffi_endian.h +59 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/win32/stdbool.h +8 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/win32/stdint.h +201 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ffi.gemspec +36 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/lib/ffi.rb +20 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/lib/ffi/autopointer.rb +203 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/lib/ffi/buffer.rb +4 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/lib/ffi/callback.rb +4 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/lib/ffi/enum.rb +296 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/lib/ffi/errno.rb +43 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/lib/ffi/ffi.rb +44 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/lib/ffi/io.rb +62 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/lib/ffi/library.rb +588 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/lib/ffi/managedstruct.rb +84 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/lib/ffi/memorypointer.rb +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/lib/ffi/platform.rb +164 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/lib/ffi/platform/aarch64-linux/types.conf +104 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/lib/ffi/platform/arm-linux/types.conf +104 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/lib/ffi/platform/i386-cygwin/types.conf +3 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/lib/ffi/platform/i386-darwin/types.conf +100 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/lib/ffi/platform/i386-freebsd/types.conf +152 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/lib/ffi/platform/i386-gnu/types.conf +107 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/lib/ffi/platform/i386-linux/types.conf +103 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/lib/ffi/platform/i386-netbsd/types.conf +126 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/lib/ffi/platform/i386-openbsd/types.conf +128 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/lib/ffi/platform/i386-solaris/types.conf +122 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/lib/ffi/platform/i386-windows/types.conf +105 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/lib/ffi/platform/ia64-linux/types.conf +104 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/lib/ffi/platform/mips-linux/types.conf +102 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/lib/ffi/platform/mips64-linux/types.conf +104 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/lib/ffi/platform/mips64el-linux/types.conf +104 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/lib/ffi/platform/mipsel-linux/types.conf +102 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/lib/ffi/platform/mipsisa32r6-linux/types.conf +102 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/lib/ffi/platform/mipsisa32r6el-linux/types.conf +102 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/lib/ffi/platform/mipsisa64r6-linux/types.conf +104 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/lib/ffi/platform/mipsisa64r6el-linux/types.conf +104 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/lib/ffi/platform/powerpc-aix/types.conf +180 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/lib/ffi/platform/powerpc-darwin/types.conf +100 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/lib/ffi/platform/powerpc-linux/types.conf +100 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/lib/ffi/platform/powerpc64-linux/types.conf +104 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/lib/ffi/platform/s390-linux/types.conf +102 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/lib/ffi/platform/s390x-linux/types.conf +102 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/lib/ffi/platform/sparc-linux/types.conf +102 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/lib/ffi/platform/sparc-solaris/types.conf +128 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/lib/ffi/platform/sparc64-linux/types.conf +102 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/lib/ffi/platform/sparcv9-solaris/types.conf +128 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/lib/ffi/platform/x86_64-cygwin/types.conf +3 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/lib/ffi/platform/x86_64-darwin/types.conf +126 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/lib/ffi/platform/x86_64-freebsd/types.conf +128 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/lib/ffi/platform/x86_64-linux/types.conf +102 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/lib/ffi/platform/x86_64-netbsd/types.conf +128 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/lib/ffi/platform/x86_64-openbsd/types.conf +134 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/lib/ffi/platform/x86_64-solaris/types.conf +122 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/lib/ffi/platform/x86_64-windows/types.conf +120 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/lib/ffi/pointer.rb +161 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/lib/ffi/struct.rb +371 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/lib/ffi/struct_layout_builder.rb +227 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/lib/ffi/tools/const_generator.rb +229 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/lib/ffi/tools/generator.rb +60 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/lib/ffi/tools/generator_task.rb +36 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/lib/ffi/tools/struct_generator.rb +194 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/lib/ffi/tools/types_generator.rb +134 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/lib/ffi/types.rb +194 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/lib/ffi/union.rb +43 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/lib/ffi/variadic.rb +78 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/lib/ffi/version.rb +3 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/samples/getlogin.rb +8 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/samples/getpid.rb +8 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/samples/gettimeofday.rb +18 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/samples/hello.rb +7 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/samples/inotify.rb +60 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/samples/pty.rb +76 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/samples/qsort.rb +21 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/samples/sample_helper.rb +6 -0
- data/vendor/bundle/ruby/2.3.0/gems/hashdiff-0.3.7/.gitignore +15 -0
- data/vendor/bundle/ruby/2.3.0/gems/hashdiff-0.3.7/.rspec +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/hashdiff-0.3.7/.travis.yml +13 -0
- data/vendor/bundle/ruby/2.3.0/gems/hashdiff-0.3.7/.yardopts +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/hashdiff-0.3.7/Gemfile +6 -0
- data/vendor/bundle/ruby/2.3.0/gems/hashdiff-0.3.7/LICENSE +19 -0
- data/vendor/bundle/ruby/2.3.0/gems/hashdiff-0.3.7/README.md +265 -0
- data/vendor/bundle/ruby/2.3.0/gems/hashdiff-0.3.7/Rakefile +13 -0
- data/vendor/bundle/ruby/2.3.0/gems/hashdiff-0.3.7/changelog.md +72 -0
- data/vendor/bundle/ruby/2.3.0/gems/hashdiff-0.3.7/hashdiff.gemspec +25 -0
- data/vendor/bundle/ruby/2.3.0/gems/hashdiff-0.3.7/lib/hashdiff.rb +6 -0
- data/vendor/bundle/ruby/2.3.0/gems/hashdiff-0.3.7/lib/hashdiff/diff.rb +232 -0
- data/vendor/bundle/ruby/2.3.0/gems/hashdiff-0.3.7/lib/hashdiff/lcs.rb +69 -0
- data/vendor/bundle/ruby/2.3.0/gems/hashdiff-0.3.7/lib/hashdiff/linear_compare_array.rb +155 -0
- data/vendor/bundle/ruby/2.3.0/gems/hashdiff-0.3.7/lib/hashdiff/patch.rb +88 -0
- data/vendor/bundle/ruby/2.3.0/gems/hashdiff-0.3.7/lib/hashdiff/util.rb +146 -0
- data/vendor/bundle/ruby/2.3.0/gems/hashdiff-0.3.7/lib/hashdiff/version.rb +3 -0
- data/vendor/bundle/ruby/2.3.0/gems/hashdiff-0.3.7/spec/hashdiff/best_diff_spec.rb +74 -0
- data/vendor/bundle/ruby/2.3.0/gems/hashdiff-0.3.7/spec/hashdiff/diff_array_spec.rb +60 -0
- data/vendor/bundle/ruby/2.3.0/gems/hashdiff-0.3.7/spec/hashdiff/diff_spec.rb +339 -0
- data/vendor/bundle/ruby/2.3.0/gems/hashdiff-0.3.7/spec/hashdiff/lcs_spec.rb +75 -0
- data/vendor/bundle/ruby/2.3.0/gems/hashdiff-0.3.7/spec/hashdiff/linear_compare_array_spec.rb +48 -0
- data/vendor/bundle/ruby/2.3.0/gems/hashdiff-0.3.7/spec/hashdiff/patch_spec.rb +183 -0
- data/vendor/bundle/ruby/2.3.0/gems/hashdiff-0.3.7/spec/hashdiff/util_spec.rb +78 -0
- data/vendor/bundle/ruby/2.3.0/gems/hashdiff-0.3.7/spec/spec_helper.rb +13 -0
- data/vendor/bundle/ruby/2.3.0/gems/jaro_winkler-1.5.3/ext/jaro_winkler/.RUBYARCHDIR.-.jaro_winkler.time +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/jaro_winkler-1.5.3/ext/jaro_winkler/Makefile +261 -0
- data/vendor/bundle/ruby/2.3.0/gems/jaro_winkler-1.5.3/ext/jaro_winkler/adj_matrix.c +97 -0
- data/vendor/bundle/ruby/2.3.0/gems/jaro_winkler-1.5.3/ext/jaro_winkler/adj_matrix.h +22 -0
- data/vendor/bundle/ruby/2.3.0/gems/jaro_winkler-1.5.3/ext/jaro_winkler/adj_matrix.o +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/jaro_winkler-1.5.3/ext/jaro_winkler/codepoints.c +61 -0
- data/vendor/bundle/ruby/2.3.0/gems/jaro_winkler-1.5.3/ext/jaro_winkler/codepoints.h +13 -0
- data/vendor/bundle/ruby/2.3.0/gems/jaro_winkler-1.5.3/ext/jaro_winkler/codepoints.o +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/jaro_winkler-1.5.3/ext/jaro_winkler/extconf.rb +5 -0
- data/vendor/bundle/ruby/2.3.0/gems/jaro_winkler-1.5.3/ext/jaro_winkler/jaro.c +121 -0
- data/vendor/bundle/ruby/2.3.0/gems/jaro_winkler-1.5.3/ext/jaro_winkler/jaro.h +17 -0
- data/vendor/bundle/ruby/2.3.0/gems/jaro_winkler-1.5.3/ext/jaro_winkler/jaro.o +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/jaro_winkler-1.5.3/ext/jaro_winkler/jaro_winkler.c +72 -0
- data/vendor/bundle/ruby/2.3.0/gems/jaro_winkler-1.5.3/ext/jaro_winkler/jaro_winkler.o +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/jaro_winkler-1.5.3/ext/jaro_winkler/jaro_winkler_ext.bundle +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/jaro_winkler-1.5.3/lib/jaro_winkler.rb +15 -0
- data/vendor/bundle/ruby/2.3.0/gems/jaro_winkler-1.5.3/lib/jaro_winkler/adjusting_table.rb +14 -0
- data/vendor/bundle/ruby/2.3.0/gems/jaro_winkler-1.5.3/lib/jaro_winkler/jaro_winkler_ext.bundle +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/jaro_winkler-1.5.3/lib/jaro_winkler/jaro_winkler_pure.rb +135 -0
- data/vendor/bundle/ruby/2.3.0/gems/jaro_winkler-1.5.3/lib/jaro_winkler/version.rb +5 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/.gitignore +17 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/.travis.yml +19 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/CHANGES.md +388 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/Gemfile +16 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/README-json-jruby.md +33 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/README.md +392 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/Rakefile +408 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/VERSION +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/data/example.json +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/data/index.html +38 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/data/prototype.js +4184 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/diagrams/.keep +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/ext/json/ext/fbuffer/fbuffer.h +187 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/ext/json/ext/generator/.RUBYARCHDIR.-.json.-.ext.time +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/ext/json/ext/generator/depend +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/ext/json/ext/generator/extconf.rb +4 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/ext/json/ext/generator/generator.c +1443 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/ext/json/ext/generator/generator.h +171 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/ext/json/ext/parser/.RUBYARCHDIR.-.json.-.ext.time +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/ext/json/ext/parser/depend +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/ext/json/ext/parser/extconf.rb +6 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/ext/json/ext/parser/parser.c +2109 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/ext/json/ext/parser/parser.h +91 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/ext/json/ext/parser/parser.rl +869 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/ext/json/extconf.rb +2 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/install.rb +23 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/java/src/json/ext/ByteListTranscoder.java +166 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/java/src/json/ext/Generator.java +443 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/java/src/json/ext/GeneratorMethods.java +231 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/java/src/json/ext/GeneratorService.java +42 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/java/src/json/ext/GeneratorState.java +490 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/java/src/json/ext/OptionsReader.java +113 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/java/src/json/ext/Parser.java +2362 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/java/src/json/ext/Parser.rl +893 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/java/src/json/ext/ParserService.java +34 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/java/src/json/ext/RuntimeInfo.java +116 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/java/src/json/ext/StringDecoder.java +166 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/java/src/json/ext/StringEncoder.java +111 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/java/src/json/ext/Utils.java +88 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/json-java.gemspec +38 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/json.gemspec +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/json_pure.gemspec +38 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/lib/json.rb +63 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/lib/json/add/bigdecimal.rb +29 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/lib/json/add/complex.rb +29 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/lib/json/add/core.rb +12 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/lib/json/add/date.rb +34 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/lib/json/add/date_time.rb +50 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/lib/json/add/exception.rb +31 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/lib/json/add/ostruct.rb +31 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/lib/json/add/range.rb +29 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/lib/json/add/rational.rb +28 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/lib/json/add/regexp.rb +30 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/lib/json/add/struct.rb +30 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/lib/json/add/symbol.rb +25 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/lib/json/add/time.rb +38 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/lib/json/common.rb +456 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/lib/json/ext.rb +15 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/lib/json/ext/.keep +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/lib/json/generic_object.rb +71 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/lib/json/pure.rb +15 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/lib/json/pure/generator.rb +458 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/lib/json/pure/parser.rb +311 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/lib/json/version.rb +9 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/references/rfc7159.txt +899 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/fail10.json +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/fail11.json +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/fail12.json +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/fail13.json +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/fail14.json +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/fail18.json +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/fail19.json +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/fail2.json +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/fail20.json +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/fail21.json +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/fail22.json +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/fail23.json +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/fail24.json +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/fail25.json +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/fail27.json +2 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/fail28.json +2 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/fail3.json +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/fail4.json +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/fail5.json +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/fail6.json +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/fail7.json +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/fail8.json +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/fail9.json +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/obsolete_fail1.json +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/pass1.json +56 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/pass15.json +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/pass16.json +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/pass17.json +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/pass2.json +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/pass26.json +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/pass3.json +6 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/json_addition_test.rb +193 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/json_common_interface_test.rb +126 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/json_encoding_test.rb +107 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/json_ext_parser_test.rb +15 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/json_fixtures_test.rb +32 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/json_generator_test.rb +377 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/json_generic_object_test.rb +82 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/json_parser_test.rb +471 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/json_string_matching_test.rb +38 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/test_helper.rb +21 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tools/diff.sh +18 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tools/fuzz.rb +131 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tools/server.rb +62 -0
- data/vendor/bundle/ruby/2.3.0/gems/method_source-0.9.0/.gemtest +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/method_source-0.9.0/.travis.yml +30 -0
- data/vendor/bundle/ruby/2.3.0/gems/method_source-0.9.0/.yardopts +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/method_source-0.9.0/Gemfile +2 -0
- data/vendor/bundle/ruby/2.3.0/gems/method_source-0.9.0/LICENSE +25 -0
- data/vendor/bundle/ruby/2.3.0/gems/method_source-0.9.0/README.markdown +91 -0
- data/vendor/bundle/ruby/2.3.0/gems/method_source-0.9.0/Rakefile +80 -0
- data/vendor/bundle/ruby/2.3.0/gems/method_source-0.9.0/lib/method_source.rb +141 -0
- data/vendor/bundle/ruby/2.3.0/gems/method_source-0.9.0/lib/method_source/code_helpers.rb +154 -0
- data/vendor/bundle/ruby/2.3.0/gems/method_source-0.9.0/lib/method_source/source_location.rb +138 -0
- data/vendor/bundle/ruby/2.3.0/gems/method_source-0.9.0/lib/method_source/version.rb +3 -0
- data/vendor/bundle/ruby/2.3.0/gems/method_source-0.9.0/method_source.gemspec +34 -0
- data/vendor/bundle/ruby/2.3.0/gems/method_source-0.9.0/spec/method_source/code_helpers_spec.rb +43 -0
- data/vendor/bundle/ruby/2.3.0/gems/method_source-0.9.0/spec/method_source_spec.rb +143 -0
- data/vendor/bundle/ruby/2.3.0/gems/method_source-0.9.0/spec/spec_helper.rb +101 -0
- data/vendor/bundle/ruby/2.3.0/gems/parallel-1.17.0/MIT-LICENSE.txt +20 -0
- data/vendor/bundle/ruby/2.3.0/gems/parallel-1.17.0/lib/parallel.rb +520 -0
- data/vendor/bundle/ruby/2.3.0/gems/parallel-1.17.0/lib/parallel/processor_count.rb +44 -0
- data/vendor/bundle/ruby/2.3.0/gems/parallel-1.17.0/lib/parallel/version.rb +3 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.6.3.0/.gitignore +33 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.6.3.0/.travis.yml +45 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.6.3.0/.yardopts +21 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.6.3.0/CHANGELOG.md +969 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.6.3.0/CONTRIBUTING.md +17 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.6.3.0/Gemfile +10 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.6.3.0/LICENSE.txt +25 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.6.3.0/README.md +301 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.6.3.0/Rakefile +166 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.6.3.0/bin/ruby-parse +7 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.6.3.0/bin/ruby-rewrite +7 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.6.3.0/ci/run_rubocop_specs +14 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.6.3.0/doc/AST_FORMAT.md +1763 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.6.3.0/doc/CUSTOMIZATION.md +37 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.6.3.0/doc/INTERNALS.md +21 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.6.3.0/doc/css/.gitkeep +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.6.3.0/doc/css/common.css +68 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.6.3.0/lib/gauntlet_parser.rb +123 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.6.3.0/lib/parser.rb +81 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.6.3.0/lib/parser/all.rb +12 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.6.3.0/lib/parser/ast/node.rb +40 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.6.3.0/lib/parser/ast/processor.rb +241 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.6.3.0/lib/parser/base.rb +270 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.6.3.0/lib/parser/builders/default.rb +1684 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.6.3.0/lib/parser/clobbering_error.rb +13 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.6.3.0/lib/parser/color.rb +32 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.6.3.0/lib/parser/context.rb +51 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.6.3.0/lib/parser/current.rb +92 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.6.3.0/lib/parser/deprecation.rb +13 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.6.3.0/lib/parser/diagnostic.rb +163 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.6.3.0/lib/parser/diagnostic/engine.rb +105 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.6.3.0/lib/parser/lexer.rl +2410 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.6.3.0/lib/parser/lexer/dedenter.rb +79 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.6.3.0/lib/parser/lexer/explanation.rb +55 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.6.3.0/lib/parser/lexer/literal.rb +269 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.6.3.0/lib/parser/lexer/stack_state.rb +49 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.6.3.0/lib/parser/macruby.y +2198 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.6.3.0/lib/parser/messages.rb +84 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.6.3.0/lib/parser/meta.rb +32 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.6.3.0/lib/parser/rewriter.rb +105 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.6.3.0/lib/parser/ruby18.y +1934 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.6.3.0/lib/parser/ruby19.y +2175 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.6.3.0/lib/parser/ruby20.y +2353 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.6.3.0/lib/parser/ruby21.y +2357 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.6.3.0/lib/parser/ruby22.y +2364 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.6.3.0/lib/parser/ruby23.y +2370 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.6.3.0/lib/parser/ruby24.y +2408 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.6.3.0/lib/parser/ruby25.y +2405 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.6.3.0/lib/parser/ruby26.y +2413 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.6.3.0/lib/parser/ruby27.y +2423 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.6.3.0/lib/parser/rubymotion.y +2182 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.6.3.0/lib/parser/runner.rb +253 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.6.3.0/lib/parser/runner/ruby_parse.rb +157 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.6.3.0/lib/parser/runner/ruby_rewrite.rb +101 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.6.3.0/lib/parser/source/buffer.rb +330 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.6.3.0/lib/parser/source/comment.rb +121 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.6.3.0/lib/parser/source/comment/associator.rb +210 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.6.3.0/lib/parser/source/map.rb +186 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.6.3.0/lib/parser/source/map/collection.rb +18 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.6.3.0/lib/parser/source/map/condition.rb +21 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.6.3.0/lib/parser/source/map/constant.rb +32 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.6.3.0/lib/parser/source/map/definition.rb +23 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.6.3.0/lib/parser/source/map/for.rb +19 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.6.3.0/lib/parser/source/map/heredoc.rb +19 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.6.3.0/lib/parser/source/map/index.rb +33 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.6.3.0/lib/parser/source/map/keyword.rb +20 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.6.3.0/lib/parser/source/map/objc_kwarg.rb +19 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.6.3.0/lib/parser/source/map/operator.rb +17 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.6.3.0/lib/parser/source/map/rescue_body.rb +21 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.6.3.0/lib/parser/source/map/send.rb +36 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.6.3.0/lib/parser/source/map/ternary.rb +18 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.6.3.0/lib/parser/source/map/variable.rb +31 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.6.3.0/lib/parser/source/range.rb +310 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.6.3.0/lib/parser/source/rewriter.rb +513 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.6.3.0/lib/parser/source/rewriter/action.rb +44 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.6.3.0/lib/parser/source/tree_rewriter.rb +301 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.6.3.0/lib/parser/source/tree_rewriter/action.rb +133 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.6.3.0/lib/parser/static_environment.rb +46 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.6.3.0/lib/parser/syntax_error.rb +21 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.6.3.0/lib/parser/tree_rewriter.rb +134 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.6.3.0/lib/parser/version.rb +5 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.6.3.0/parser.gemspec +51 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.6.3.0/test/bug_163/fixtures/input.rb +5 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.6.3.0/test/bug_163/fixtures/output.rb +5 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.6.3.0/test/bug_163/rewriter.rb +20 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.6.3.0/test/helper.rb +59 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.6.3.0/test/parse_helper.rb +316 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.6.3.0/test/racc_coverage_helper.rb +133 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.6.3.0/test/test_base.rb +31 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.6.3.0/test/test_current.rb +29 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.6.3.0/test/test_diagnostic.rb +96 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.6.3.0/test/test_diagnostic_engine.rb +62 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.6.3.0/test/test_encoding.rb +99 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.6.3.0/test/test_lexer.rb +3584 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.6.3.0/test/test_lexer_stack_state.rb +78 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.6.3.0/test/test_parse_helper.rb +80 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.6.3.0/test/test_parser.rb +7156 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.6.3.0/test/test_runner_rewrite.rb +47 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.6.3.0/test/test_source_buffer.rb +162 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.6.3.0/test/test_source_comment.rb +36 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.6.3.0/test/test_source_comment_associator.rb +367 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.6.3.0/test/test_source_map.rb +15 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.6.3.0/test/test_source_range.rb +172 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.6.3.0/test/test_source_rewriter.rb +541 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.6.3.0/test/test_source_rewriter_action.rb +46 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.6.3.0/test/test_source_tree_rewriter.rb +173 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.6.3.0/test/test_static_environment.rb +45 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.6.3.0/test/using_tree_rewriter/fixtures/input.rb +3 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.6.3.0/test/using_tree_rewriter/fixtures/output.rb +3 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.6.3.0/test/using_tree_rewriter/using_tree_rewriter.rb +9 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/CHANGELOG.md +797 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/LICENSE +25 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/README.md +407 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/bin/pry +12 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry.rb +162 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/basic_object.rb +6 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/cli.rb +225 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/code.rb +353 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/code/code_file.rb +109 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/code/code_range.rb +71 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/code/loc.rb +92 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/code_object.rb +195 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/color_printer.rb +64 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/command.rb +716 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/command_set.rb +450 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands.rb +6 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/amend_line.rb +99 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/bang.rb +20 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/bang_pry.rb +17 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/cat.rb +62 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/cat/abstract_formatter.rb +27 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/cat/exception_formatter.rb +78 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/cat/file_formatter.rb +71 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/cat/input_expression_formatter.rb +43 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/cd.rb +41 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/change_inspector.rb +27 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/change_prompt.rb +26 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/code_collector.rb +167 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/disable_pry.rb +27 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/disabled_commands.rb +2 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/easter_eggs.rb +112 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/edit.rb +199 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/edit/exception_patcher.rb +25 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/edit/file_and_line_locator.rb +36 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/exit.rb +42 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/exit_all.rb +29 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/exit_program.rb +23 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/find_method.rb +193 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/fix_indent.rb +19 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/gem_cd.rb +26 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/gem_install.rb +32 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/gem_list.rb +33 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/gem_open.rb +29 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/gem_readme.rb +25 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/gem_search.rb +40 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/gist.rb +101 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/help.rb +164 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/hist.rb +180 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/import_set.rb +22 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/install_command.rb +53 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/jump_to.rb +29 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/list_inspectors.rb +35 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/list_prompts.rb +35 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/ls.rb +116 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/ls/constants.rb +58 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/ls/formatter.rb +50 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/ls/globals.rb +48 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/ls/grep.rb +21 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/ls/instance_vars.rb +39 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/ls/interrogatable.rb +18 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/ls/jruby_hacks.rb +49 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/ls/local_names.rb +35 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/ls/local_vars.rb +39 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/ls/ls_entity.rb +70 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/ls/methods.rb +57 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/ls/methods_helper.rb +46 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/ls/self_methods.rb +34 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/nesting.rb +25 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/play.rb +103 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/pry_backtrace.rb +25 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/pry_version.rb +17 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/raise_up.rb +32 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/reload_code.rb +62 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/reset.rb +18 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/ri.rb +64 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/save_file.rb +61 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/shell_command.rb +74 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/shell_mode.rb +25 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/show_doc.rb +83 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/show_info.rb +209 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/show_input.rb +17 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/show_source.rb +50 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/simple_prompt.rb +22 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/stat.rb +40 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/switch_to.rb +23 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/toggle_color.rb +24 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/watch_expression.rb +105 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/watch_expression/expression.rb +38 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/whereami.rb +197 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/wtf.rb +57 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/config.rb +11 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/config/behavior.rb +231 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/config/convenience.rb +25 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/config/default.rb +149 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/config/memoization.rb +44 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/core_extensions.rb +141 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/editor.rb +135 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/exceptions.rb +78 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/forwardable.rb +23 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/helpers.rb +5 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/helpers/base_helpers.rb +71 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/helpers/command_helpers.rb +156 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/helpers/documentation_helpers.rb +76 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/helpers/options_helpers.rb +27 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/helpers/table.rb +109 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/helpers/text.rb +116 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/history.rb +148 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/history_array.rb +121 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/hooks.rb +171 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/indent.rb +410 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/input_completer.rb +260 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/input_lock.rb +132 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/inspector.rb +27 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/last_exception.rb +61 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/method.rb +546 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/method/disowned.rb +54 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/method/patcher.rb +122 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/method/weird_method_locator.rb +199 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/object_path.rb +82 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/output.rb +49 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/pager.rb +242 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/platform.rb +93 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/plugins.rb +118 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/prompt.rb +26 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/pry_class.rb +401 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/pry_instance.rb +666 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/rbx_path.rb +22 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/repl.rb +232 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/repl_file_loader.rb +74 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/rubygem.rb +84 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/slop.rb +661 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/slop/LICENSE +20 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/slop/commands.rb +196 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/slop/option.rb +208 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/terminal.rb +90 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/testable.rb +70 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/testable/evalable.rb +15 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/testable/mockable.rb +14 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/testable/pry_tester.rb +73 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/testable/utility.rb +26 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/testable/variables.rb +46 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/version.rb +3 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/wrapped_module.rb +378 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/wrapped_module/candidate.rb +131 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-byebug-3.6.0/CHANGELOG.md +185 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-byebug-3.6.0/LICENSE +20 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-byebug-3.6.0/README.md +183 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-byebug-3.6.0/lib/byebug/processors/pry_processor.rb +164 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-byebug-3.6.0/lib/pry-byebug.rb +2 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-byebug-3.6.0/lib/pry-byebug/base.rb +25 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-byebug-3.6.0/lib/pry-byebug/cli.rb +4 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-byebug-3.6.0/lib/pry-byebug/commands.rb +10 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-byebug-3.6.0/lib/pry-byebug/commands/backtrace.rb +29 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-byebug-3.6.0/lib/pry-byebug/commands/breakpoint.rb +133 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-byebug-3.6.0/lib/pry-byebug/commands/continue.rb +39 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-byebug-3.6.0/lib/pry-byebug/commands/down.rb +33 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-byebug-3.6.0/lib/pry-byebug/commands/exit_all.rb +14 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-byebug-3.6.0/lib/pry-byebug/commands/finish.rb +26 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-byebug-3.6.0/lib/pry-byebug/commands/frame.rb +33 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-byebug-3.6.0/lib/pry-byebug/commands/next.rb +37 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-byebug-3.6.0/lib/pry-byebug/commands/step.rb +32 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-byebug-3.6.0/lib/pry-byebug/commands/up.rb +33 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-byebug-3.6.0/lib/pry-byebug/control_d_handler.rb +7 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-byebug-3.6.0/lib/pry-byebug/helpers/breakpoints.rb +84 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-byebug-3.6.0/lib/pry-byebug/helpers/multiline.rb +21 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-byebug-3.6.0/lib/pry-byebug/helpers/navigation.rb +17 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-byebug-3.6.0/lib/pry-byebug/pry_ext.rb +16 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-byebug-3.6.0/lib/pry-byebug/pry_remote_ext.rb +42 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-byebug-3.6.0/lib/pry-byebug/version.rb +6 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-byebug-3.6.0/lib/pry/byebug/breakpoints.rb +164 -0
- data/vendor/bundle/ruby/2.3.0/gems/psych-3.1.0/.gitignore +16 -0
- data/vendor/bundle/ruby/2.3.0/gems/psych-3.1.0/.travis.yml +22 -0
- data/vendor/bundle/ruby/2.3.0/gems/psych-3.1.0/CHANGELOG.rdoc +583 -0
- data/vendor/bundle/ruby/2.3.0/gems/psych-3.1.0/Gemfile +3 -0
- data/vendor/bundle/ruby/2.3.0/gems/psych-3.1.0/Mavenfile +7 -0
- data/vendor/bundle/ruby/2.3.0/gems/psych-3.1.0/README.md +75 -0
- data/vendor/bundle/ruby/2.3.0/gems/psych-3.1.0/Rakefile +48 -0
- data/vendor/bundle/ruby/2.3.0/gems/psych-3.1.0/bin/console +7 -0
- data/vendor/bundle/ruby/2.3.0/gems/psych-3.1.0/bin/setup +6 -0
- data/vendor/bundle/ruby/2.3.0/gems/psych-3.1.0/ext/psych/.RUBYARCHDIR.time +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/psych-3.1.0/ext/psych/Makefile +264 -0
- data/vendor/bundle/ruby/2.3.0/gems/psych-3.1.0/ext/psych/depend +3 -0
- data/vendor/bundle/ruby/2.3.0/gems/psych-3.1.0/ext/psych/extconf.rb +39 -0
- data/vendor/bundle/ruby/2.3.0/gems/psych-3.1.0/ext/psych/psych.c +34 -0
- data/vendor/bundle/ruby/2.3.0/gems/psych-3.1.0/ext/psych/psych.h +17 -0
- data/vendor/bundle/ruby/2.3.0/gems/psych-3.1.0/ext/psych/psych.o +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/psych-3.1.0/ext/psych/psych_emitter.c +555 -0
- data/vendor/bundle/ruby/2.3.0/gems/psych-3.1.0/ext/psych/psych_emitter.h +8 -0
- data/vendor/bundle/ruby/2.3.0/gems/psych-3.1.0/ext/psych/psych_emitter.o +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/psych-3.1.0/ext/psych/psych_parser.c +592 -0
- data/vendor/bundle/ruby/2.3.0/gems/psych-3.1.0/ext/psych/psych_parser.h +6 -0
- data/vendor/bundle/ruby/2.3.0/gems/psych-3.1.0/ext/psych/psych_parser.o +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/psych-3.1.0/ext/psych/psych_to_ruby.c +39 -0
- data/vendor/bundle/ruby/2.3.0/gems/psych-3.1.0/ext/psych/psych_to_ruby.h +8 -0
- data/vendor/bundle/ruby/2.3.0/gems/psych-3.1.0/ext/psych/psych_to_ruby.o +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/psych-3.1.0/ext/psych/psych_yaml_tree.c +24 -0
- data/vendor/bundle/ruby/2.3.0/gems/psych-3.1.0/ext/psych/psych_yaml_tree.h +8 -0
- data/vendor/bundle/ruby/2.3.0/gems/psych-3.1.0/ext/psych/psych_yaml_tree.o +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/psych-3.1.0/ext/psych/yaml/LICENSE +19 -0
- data/vendor/bundle/ruby/2.3.0/gems/psych-3.1.0/ext/psych/yaml/api.c +1393 -0
- data/vendor/bundle/ruby/2.3.0/gems/psych-3.1.0/ext/psych/yaml/config.h +10 -0
- data/vendor/bundle/ruby/2.3.0/gems/psych-3.1.0/ext/psych/yaml/dumper.c +394 -0
- data/vendor/bundle/ruby/2.3.0/gems/psych-3.1.0/ext/psych/yaml/emitter.c +2324 -0
- data/vendor/bundle/ruby/2.3.0/gems/psych-3.1.0/ext/psych/yaml/loader.c +444 -0
- data/vendor/bundle/ruby/2.3.0/gems/psych-3.1.0/ext/psych/yaml/parser.c +1370 -0
- data/vendor/bundle/ruby/2.3.0/gems/psych-3.1.0/ext/psych/yaml/reader.c +469 -0
- data/vendor/bundle/ruby/2.3.0/gems/psych-3.1.0/ext/psych/yaml/scanner.c +3578 -0
- data/vendor/bundle/ruby/2.3.0/gems/psych-3.1.0/ext/psych/yaml/writer.c +141 -0
- data/vendor/bundle/ruby/2.3.0/gems/psych-3.1.0/ext/psych/yaml/yaml.h +1971 -0
- data/vendor/bundle/ruby/2.3.0/gems/psych-3.1.0/ext/psych/yaml/yaml_private.h +688 -0
- data/vendor/bundle/ruby/2.3.0/gems/psych-3.1.0/lib/psych.rb +641 -0
- data/vendor/bundle/ruby/2.3.0/gems/psych-3.1.0/lib/psych/class_loader.rb +102 -0
- data/vendor/bundle/ruby/2.3.0/gems/psych-3.1.0/lib/psych/coder.rb +95 -0
- data/vendor/bundle/ruby/2.3.0/gems/psych-3.1.0/lib/psych/core_ext.rb +19 -0
- data/vendor/bundle/ruby/2.3.0/gems/psych-3.1.0/lib/psych/exception.rb +14 -0
- data/vendor/bundle/ruby/2.3.0/gems/psych-3.1.0/lib/psych/handler.rb +255 -0
- data/vendor/bundle/ruby/2.3.0/gems/psych-3.1.0/lib/psych/handlers/document_stream.rb +23 -0
- data/vendor/bundle/ruby/2.3.0/gems/psych-3.1.0/lib/psych/handlers/recorder.rb +40 -0
- data/vendor/bundle/ruby/2.3.0/gems/psych-3.1.0/lib/psych/json/ruby_events.rb +20 -0
- data/vendor/bundle/ruby/2.3.0/gems/psych-3.1.0/lib/psych/json/stream.rb +17 -0
- data/vendor/bundle/ruby/2.3.0/gems/psych-3.1.0/lib/psych/json/tree_builder.rb +13 -0
- data/vendor/bundle/ruby/2.3.0/gems/psych-3.1.0/lib/psych/json/yaml_events.rb +30 -0
- data/vendor/bundle/ruby/2.3.0/gems/psych-3.1.0/lib/psych/nodes.rb +78 -0
- data/vendor/bundle/ruby/2.3.0/gems/psych-3.1.0/lib/psych/nodes/alias.rb +21 -0
- data/vendor/bundle/ruby/2.3.0/gems/psych-3.1.0/lib/psych/nodes/document.rb +63 -0
- data/vendor/bundle/ruby/2.3.0/gems/psych-3.1.0/lib/psych/nodes/mapping.rb +59 -0
- data/vendor/bundle/ruby/2.3.0/gems/psych-3.1.0/lib/psych/nodes/node.rb +75 -0
- data/vendor/bundle/ruby/2.3.0/gems/psych-3.1.0/lib/psych/nodes/scalar.rb +70 -0
- data/vendor/bundle/ruby/2.3.0/gems/psych-3.1.0/lib/psych/nodes/sequence.rb +84 -0
- data/vendor/bundle/ruby/2.3.0/gems/psych-3.1.0/lib/psych/nodes/stream.rb +40 -0
- data/vendor/bundle/ruby/2.3.0/gems/psych-3.1.0/lib/psych/omap.rb +5 -0
- data/vendor/bundle/ruby/2.3.0/gems/psych-3.1.0/lib/psych/parser.rb +52 -0
- data/vendor/bundle/ruby/2.3.0/gems/psych-3.1.0/lib/psych/scalar_scanner.rb +149 -0
- data/vendor/bundle/ruby/2.3.0/gems/psych-3.1.0/lib/psych/set.rb +5 -0
- data/vendor/bundle/ruby/2.3.0/gems/psych-3.1.0/lib/psych/stream.rb +38 -0
- data/vendor/bundle/ruby/2.3.0/gems/psych-3.1.0/lib/psych/streaming.rb +28 -0
- data/vendor/bundle/ruby/2.3.0/gems/psych-3.1.0/lib/psych/syntax_error.rb +22 -0
- data/vendor/bundle/ruby/2.3.0/gems/psych-3.1.0/lib/psych/tree_builder.rb +137 -0
- data/vendor/bundle/ruby/2.3.0/gems/psych-3.1.0/lib/psych/versions.rb +10 -0
- data/vendor/bundle/ruby/2.3.0/gems/psych-3.1.0/lib/psych/visitors.rb +7 -0
- data/vendor/bundle/ruby/2.3.0/gems/psych-3.1.0/lib/psych/visitors/depth_first.rb +27 -0
- data/vendor/bundle/ruby/2.3.0/gems/psych-3.1.0/lib/psych/visitors/emitter.rb +52 -0
- data/vendor/bundle/ruby/2.3.0/gems/psych-3.1.0/lib/psych/visitors/json_tree.rb +25 -0
- data/vendor/bundle/ruby/2.3.0/gems/psych-3.1.0/lib/psych/visitors/to_ruby.rb +401 -0
- data/vendor/bundle/ruby/2.3.0/gems/psych-3.1.0/lib/psych/visitors/visitor.rb +20 -0
- data/vendor/bundle/ruby/2.3.0/gems/psych-3.1.0/lib/psych/visitors/yaml_tree.rb +551 -0
- data/vendor/bundle/ruby/2.3.0/gems/psych-3.1.0/lib/psych/y.rb +10 -0
- data/vendor/bundle/ruby/2.3.0/gems/psych-3.1.0/psych.gemspec +75 -0
- data/vendor/bundle/ruby/2.3.0/gems/public_suffix-3.0.3/.gitignore +11 -0
- data/vendor/bundle/ruby/2.3.0/gems/public_suffix-3.0.3/.rubocop.yml +36 -0
- data/vendor/bundle/ruby/2.3.0/gems/public_suffix-3.0.3/.rubocop_defaults.yml +184 -0
- data/vendor/bundle/ruby/2.3.0/gems/public_suffix-3.0.3/.ruby-gemset +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/public_suffix-3.0.3/.travis.yml +25 -0
- data/vendor/bundle/ruby/2.3.0/gems/public_suffix-3.0.3/.yardopts +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/public_suffix-3.0.3/2.0-Upgrade.md +52 -0
- data/vendor/bundle/ruby/2.3.0/gems/public_suffix-3.0.3/CHANGELOG.md +340 -0
- data/vendor/bundle/ruby/2.3.0/gems/public_suffix-3.0.3/Gemfile +10 -0
- data/vendor/bundle/ruby/2.3.0/gems/public_suffix-3.0.3/LICENSE.txt +22 -0
- data/vendor/bundle/ruby/2.3.0/gems/public_suffix-3.0.3/README.md +202 -0
- data/vendor/bundle/ruby/2.3.0/gems/public_suffix-3.0.3/Rakefile +49 -0
- data/vendor/bundle/ruby/2.3.0/gems/public_suffix-3.0.3/bin/console +14 -0
- data/vendor/bundle/ruby/2.3.0/gems/public_suffix-3.0.3/data/list.txt +12659 -0
- data/vendor/bundle/ruby/2.3.0/gems/public_suffix-3.0.3/lib/public_suffix.rb +175 -0
- data/vendor/bundle/ruby/2.3.0/gems/public_suffix-3.0.3/lib/public_suffix/domain.rb +233 -0
- data/vendor/bundle/ruby/2.3.0/gems/public_suffix-3.0.3/lib/public_suffix/errors.rb +39 -0
- data/vendor/bundle/ruby/2.3.0/gems/public_suffix-3.0.3/lib/public_suffix/list.rb +243 -0
- data/vendor/bundle/ruby/2.3.0/gems/public_suffix-3.0.3/lib/public_suffix/rule.rb +348 -0
- data/vendor/bundle/ruby/2.3.0/gems/public_suffix-3.0.3/lib/public_suffix/version.rb +10 -0
- data/vendor/bundle/ruby/2.3.0/gems/public_suffix-3.0.3/public_suffix.gemspec +25 -0
- data/vendor/bundle/ruby/2.3.0/gems/public_suffix-3.0.3/test/.empty +2 -0
- data/vendor/bundle/ruby/2.3.0/gems/public_suffix-3.0.3/test/acceptance_test.rb +127 -0
- data/vendor/bundle/ruby/2.3.0/gems/public_suffix-3.0.3/test/benchmarks/bm_find.rb +66 -0
- data/vendor/bundle/ruby/2.3.0/gems/public_suffix-3.0.3/test/benchmarks/bm_find_all.rb +102 -0
- data/vendor/bundle/ruby/2.3.0/gems/public_suffix-3.0.3/test/benchmarks/bm_names.rb +91 -0
- data/vendor/bundle/ruby/2.3.0/gems/public_suffix-3.0.3/test/benchmarks/bm_select.rb +26 -0
- data/vendor/bundle/ruby/2.3.0/gems/public_suffix-3.0.3/test/benchmarks/bm_select_incremental.rb +25 -0
- data/vendor/bundle/ruby/2.3.0/gems/public_suffix-3.0.3/test/benchmarks/bm_valid.rb +101 -0
- data/vendor/bundle/ruby/2.3.0/gems/public_suffix-3.0.3/test/profilers/domain_profiler.rb +12 -0
- data/vendor/bundle/ruby/2.3.0/gems/public_suffix-3.0.3/test/profilers/find_profiler.rb +12 -0
- data/vendor/bundle/ruby/2.3.0/gems/public_suffix-3.0.3/test/profilers/find_profiler_jp.rb +12 -0
- data/vendor/bundle/ruby/2.3.0/gems/public_suffix-3.0.3/test/profilers/initialization_profiler.rb +11 -0
- data/vendor/bundle/ruby/2.3.0/gems/public_suffix-3.0.3/test/profilers/list_profsize.rb +11 -0
- data/vendor/bundle/ruby/2.3.0/gems/public_suffix-3.0.3/test/profilers/object_binsize.rb +57 -0
- data/vendor/bundle/ruby/2.3.0/gems/public_suffix-3.0.3/test/psl_test.rb +49 -0
- data/vendor/bundle/ruby/2.3.0/gems/public_suffix-3.0.3/test/test_helper.rb +13 -0
- data/vendor/bundle/ruby/2.3.0/gems/public_suffix-3.0.3/test/tests.txt +98 -0
- data/vendor/bundle/ruby/2.3.0/gems/public_suffix-3.0.3/test/unit/domain_test.rb +104 -0
- data/vendor/bundle/ruby/2.3.0/gems/public_suffix-3.0.3/test/unit/errors_test.rb +23 -0
- data/vendor/bundle/ruby/2.3.0/gems/public_suffix-3.0.3/test/unit/list_test.rb +239 -0
- data/vendor/bundle/ruby/2.3.0/gems/public_suffix-3.0.3/test/unit/public_suffix_test.rb +186 -0
- data/vendor/bundle/ruby/2.3.0/gems/public_suffix-3.0.3/test/unit/rule_test.rb +220 -0
- data/vendor/bundle/ruby/2.3.0/gems/rainbow-3.0.0/.gitignore +17 -0
- data/vendor/bundle/ruby/2.3.0/gems/rainbow-3.0.0/.rubocop.yml +20 -0
- data/vendor/bundle/ruby/2.3.0/gems/rainbow-3.0.0/.rubocop_todo.yml +29 -0
- data/vendor/bundle/ruby/2.3.0/gems/rainbow-3.0.0/.travis.yml +24 -0
- data/vendor/bundle/ruby/2.3.0/gems/rainbow-3.0.0/Changelog.md +93 -0
- data/vendor/bundle/ruby/2.3.0/gems/rainbow-3.0.0/Gemfile +28 -0
- data/vendor/bundle/ruby/2.3.0/gems/rainbow-3.0.0/Guardfile +8 -0
- data/vendor/bundle/ruby/2.3.0/gems/rainbow-3.0.0/LICENSE +20 -0
- data/vendor/bundle/ruby/2.3.0/gems/rainbow-3.0.0/README.markdown +224 -0
- data/vendor/bundle/ruby/2.3.0/gems/rainbow-3.0.0/Rakefile +9 -0
- data/vendor/bundle/ruby/2.3.0/gems/rainbow-3.0.0/appveyor.yml +40 -0
- data/vendor/bundle/ruby/2.3.0/gems/rainbow-3.0.0/lib/rainbow.rb +11 -0
- data/vendor/bundle/ruby/2.3.0/gems/rainbow-3.0.0/lib/rainbow/color.rb +143 -0
- data/vendor/bundle/ruby/2.3.0/gems/rainbow-3.0.0/lib/rainbow/ext/string.rb +54 -0
- data/vendor/bundle/ruby/2.3.0/gems/rainbow-3.0.0/lib/rainbow/global.rb +23 -0
- data/vendor/bundle/ruby/2.3.0/gems/rainbow-3.0.0/lib/rainbow/null_presenter.rb +93 -0
- data/vendor/bundle/ruby/2.3.0/gems/rainbow-3.0.0/lib/rainbow/presenter.rb +135 -0
- data/vendor/bundle/ruby/2.3.0/gems/rainbow-3.0.0/lib/rainbow/refinement.rb +12 -0
- data/vendor/bundle/ruby/2.3.0/gems/rainbow-3.0.0/lib/rainbow/string_utils.rb +21 -0
- data/vendor/bundle/ruby/2.3.0/gems/rainbow-3.0.0/lib/rainbow/version.rb +3 -0
- data/vendor/bundle/ruby/2.3.0/gems/rainbow-3.0.0/lib/rainbow/wrapper.rb +20 -0
- data/vendor/bundle/ruby/2.3.0/gems/rainbow-3.0.0/lib/rainbow/x11_color_names.rb +151 -0
- data/vendor/bundle/ruby/2.3.0/gems/rainbow-3.0.0/rainbow.gemspec +22 -0
- data/vendor/bundle/ruby/2.3.0/gems/rainbow-3.0.0/spec/integration/instance_spec.rb +33 -0
- data/vendor/bundle/ruby/2.3.0/gems/rainbow-3.0.0/spec/integration/rainbow_spec.rb +157 -0
- data/vendor/bundle/ruby/2.3.0/gems/rainbow-3.0.0/spec/integration/refinement_spec.rb +36 -0
- data/vendor/bundle/ruby/2.3.0/gems/rainbow-3.0.0/spec/integration/string_spec.rb +81 -0
- data/vendor/bundle/ruby/2.3.0/gems/rainbow-3.0.0/spec/integration/uncolor_spec.rb +14 -0
- data/vendor/bundle/ruby/2.3.0/gems/rainbow-3.0.0/spec/spec_helper.rb +10 -0
- data/vendor/bundle/ruby/2.3.0/gems/rainbow-3.0.0/spec/support/presenter_shared_examples.rb +9 -0
- data/vendor/bundle/ruby/2.3.0/gems/rainbow-3.0.0/spec/unit/color_spec.rb +296 -0
- data/vendor/bundle/ruby/2.3.0/gems/rainbow-3.0.0/spec/unit/null_presenter_spec.rb +110 -0
- data/vendor/bundle/ruby/2.3.0/gems/rainbow-3.0.0/spec/unit/presenter_spec.rb +199 -0
- data/vendor/bundle/ruby/2.3.0/gems/rainbow-3.0.0/spec/unit/string_utils_spec.rb +94 -0
- data/vendor/bundle/ruby/2.3.0/gems/rainbow-3.0.0/spec/unit/wrapper_spec.rb +32 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/.gitignore +14 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/.rubocop.yml +57 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/.travis.yml +21 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/CONTRIBUTING.rdoc +36 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/Gemfile +3 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/History.rdoc +2247 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/MIT-LICENSE +21 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/README.rdoc +156 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/Rakefile +38 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/appveyor.yml +21 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/bin/console +7 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/bin/setup +6 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/doc/command_line_usage.rdoc +158 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/doc/example/Rakefile1 +38 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/doc/example/Rakefile2 +35 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/doc/example/a.c +6 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/doc/example/b.c +6 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/doc/example/main.c +11 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/doc/glossary.rdoc +42 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/doc/jamis.rb +591 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/doc/proto_rake.rdoc +127 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/doc/rake.1 +156 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/doc/rakefile.rdoc +622 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/doc/rational.rdoc +151 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/exe/rake +27 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/lib/rake.rb +70 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/lib/rake/application.rb +785 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/lib/rake/backtrace.rb +23 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/lib/rake/clean.rb +77 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/lib/rake/cloneable.rb +16 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/lib/rake/cpu_counter.rb +106 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/lib/rake/default_loader.rb +14 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/lib/rake/dsl_definition.rb +194 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/lib/rake/early_time.rb +21 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/lib/rake/ext/core.rb +25 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/lib/rake/ext/string.rb +175 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/lib/rake/file_creation_task.rb +24 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/lib/rake/file_list.rb +434 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/lib/rake/file_task.rb +46 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/lib/rake/file_utils.rb +136 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/lib/rake/file_utils_ext.rb +144 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/lib/rake/invocation_chain.rb +56 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/lib/rake/invocation_exception_mixin.rb +16 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/lib/rake/late_time.rb +17 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/lib/rake/linked_list.rb +111 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/lib/rake/loaders/makefile.rb +53 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/lib/rake/multi_task.rb +49 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/lib/rake/name_space.rb +37 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/lib/rake/packagetask.rb +210 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/lib/rake/phony.rb +15 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/lib/rake/private_reader.rb +20 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/lib/rake/promise.rb +99 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/lib/rake/pseudo_status.rb +29 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/lib/rake/rake_module.rb +38 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/lib/rake/rake_test_loader.rb +21 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/lib/rake/rule_recursion_overflow_error.rb +19 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/lib/rake/scope.rb +42 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/lib/rake/task.rb +390 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/lib/rake/task_argument_error.rb +7 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/lib/rake/task_arguments.rb +108 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/lib/rake/task_manager.rb +303 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/lib/rake/tasklib.rb +11 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/lib/rake/testtask.rb +222 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/lib/rake/thread_history_display.rb +48 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/lib/rake/thread_pool.rb +162 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/lib/rake/trace_output.rb +22 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/lib/rake/version.rb +9 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/lib/rake/win32.rb +50 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/rake.gemspec +39 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-3.8.0/LICENSE.md +27 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-3.8.0/README.md +43 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-3.8.0/lib/rspec.rb +3 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-3.8.0/lib/rspec/version.rb +5 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.8.0/.document +5 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.8.0/.yardopts +8 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.8.0/Changelog.md +2221 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.8.0/LICENSE.md +26 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.8.0/README.md +384 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.8.0/exe/rspec +4 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.8.0/lib/rspec/autorun.rb +3 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.8.0/lib/rspec/core.rb +185 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.8.0/lib/rspec/core/backtrace_formatter.rb +65 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.8.0/lib/rspec/core/bisect/coordinator.rb +62 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.8.0/lib/rspec/core/bisect/example_minimizer.rb +173 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.8.0/lib/rspec/core/bisect/fork_runner.rb +134 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.8.0/lib/rspec/core/bisect/server.rb +61 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.8.0/lib/rspec/core/bisect/shell_command.rb +126 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.8.0/lib/rspec/core/bisect/shell_runner.rb +73 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.8.0/lib/rspec/core/bisect/utilities.rb +58 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.8.0/lib/rspec/core/configuration.rb +2289 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.8.0/lib/rspec/core/configuration_options.rb +233 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.8.0/lib/rspec/core/drb.rb +113 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.8.0/lib/rspec/core/dsl.rb +98 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb +653 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb +885 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.8.0/lib/rspec/core/example_status_persister.rb +235 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.8.0/lib/rspec/core/filter_manager.rb +231 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.8.0/lib/rspec/core/flat_map.rb +20 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.8.0/lib/rspec/core/formatters.rb +269 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.8.0/lib/rspec/core/formatters/base_bisect_formatter.rb +45 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.8.0/lib/rspec/core/formatters/base_formatter.rb +70 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.8.0/lib/rspec/core/formatters/base_text_formatter.rb +75 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.8.0/lib/rspec/core/formatters/bisect_drb_formatter.rb +29 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.8.0/lib/rspec/core/formatters/bisect_progress_formatter.rb +157 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.8.0/lib/rspec/core/formatters/console_codes.rb +68 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.8.0/lib/rspec/core/formatters/deprecation_formatter.rb +223 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.8.0/lib/rspec/core/formatters/documentation_formatter.rb +70 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.8.0/lib/rspec/core/formatters/exception_presenter.rb +497 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.8.0/lib/rspec/core/formatters/fallback_message_formatter.rb +28 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.8.0/lib/rspec/core/formatters/helpers.rb +110 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.8.0/lib/rspec/core/formatters/html_formatter.rb +153 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.8.0/lib/rspec/core/formatters/html_printer.rb +414 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.8.0/lib/rspec/core/formatters/html_snippet_extractor.rb +120 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.8.0/lib/rspec/core/formatters/json_formatter.rb +102 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.8.0/lib/rspec/core/formatters/profile_formatter.rb +68 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.8.0/lib/rspec/core/formatters/progress_formatter.rb +29 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.8.0/lib/rspec/core/formatters/protocol.rb +182 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.8.0/lib/rspec/core/formatters/snippet_extractor.rb +134 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.8.0/lib/rspec/core/formatters/syntax_highlighter.rb +91 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb +624 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.8.0/lib/rspec/core/invocations.rb +87 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.8.0/lib/rspec/core/memoized_helpers.rb +535 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.8.0/lib/rspec/core/metadata.rb +499 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.8.0/lib/rspec/core/metadata_filter.rb +255 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.8.0/lib/rspec/core/minitest_assertions_adapter.rb +31 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.8.0/lib/rspec/core/mocking_adapters/flexmock.rb +31 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.8.0/lib/rspec/core/mocking_adapters/mocha.rb +57 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.8.0/lib/rspec/core/mocking_adapters/null.rb +14 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.8.0/lib/rspec/core/mocking_adapters/rr.rb +31 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.8.0/lib/rspec/core/mocking_adapters/rspec.rb +32 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.8.0/lib/rspec/core/notifications.rb +521 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.8.0/lib/rspec/core/option_parser.rb +309 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.8.0/lib/rspec/core/ordering.rb +158 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.8.0/lib/rspec/core/output_wrapper.rb +29 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.8.0/lib/rspec/core/pending.rb +165 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.8.0/lib/rspec/core/profiler.rb +34 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.8.0/lib/rspec/core/project_initializer.rb +48 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.8.0/lib/rspec/core/project_initializer/.rspec +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.8.0/lib/rspec/core/project_initializer/spec/spec_helper.rb +100 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.8.0/lib/rspec/core/rake_task.rb +168 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.8.0/lib/rspec/core/reporter.rb +257 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.8.0/lib/rspec/core/ruby_project.rb +53 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb +199 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.8.0/lib/rspec/core/sandbox.rb +37 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.8.0/lib/rspec/core/set.rb +54 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.8.0/lib/rspec/core/shared_context.rb +55 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.8.0/lib/rspec/core/shared_example_group.rb +269 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.8.0/lib/rspec/core/shell_escape.rb +49 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.8.0/lib/rspec/core/test_unit_assertions_adapter.rb +30 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.8.0/lib/rspec/core/version.rb +9 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.8.0/lib/rspec/core/warnings.rb +40 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.8.0/lib/rspec/core/world.rb +275 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.8.1/.document +5 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.8.1/.yardopts +6 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.8.1/Changelog.md +1110 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.8.1/LICENSE.md +25 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.8.1/README.md +305 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.8.1/lib/rspec/expectations.rb +82 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.8.1/lib/rspec/expectations/block_snippet_extractor.rb +253 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.8.1/lib/rspec/expectations/configuration.rb +215 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.8.1/lib/rspec/expectations/expectation_target.rb +127 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.8.1/lib/rspec/expectations/fail_with.rb +39 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.8.1/lib/rspec/expectations/failure_aggregator.rb +194 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.8.1/lib/rspec/expectations/handler.rb +170 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.8.1/lib/rspec/expectations/minitest_integration.rb +58 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.8.1/lib/rspec/expectations/syntax.rb +132 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.8.1/lib/rspec/expectations/version.rb +8 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.8.1/lib/rspec/matchers.rb +1034 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.8.1/lib/rspec/matchers/aliased_matcher.rb +116 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.8.1/lib/rspec/matchers/built_in.rb +52 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.8.1/lib/rspec/matchers/built_in/all.rb +85 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.8.1/lib/rspec/matchers/built_in/base_matcher.rb +193 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.8.1/lib/rspec/matchers/built_in/be.rb +288 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.8.1/lib/rspec/matchers/built_in/be_between.rb +77 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.8.1/lib/rspec/matchers/built_in/be_instance_of.rb +22 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.8.1/lib/rspec/matchers/built_in/be_kind_of.rb +16 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.8.1/lib/rspec/matchers/built_in/be_within.rb +72 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.8.1/lib/rspec/matchers/built_in/change.rb +426 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.8.1/lib/rspec/matchers/built_in/compound.rb +271 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.8.1/lib/rspec/matchers/built_in/contain_exactly.rb +302 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.8.1/lib/rspec/matchers/built_in/cover.rb +24 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.8.1/lib/rspec/matchers/built_in/eq.rb +40 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.8.1/lib/rspec/matchers/built_in/eql.rb +34 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.8.1/lib/rspec/matchers/built_in/equal.rb +81 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.8.1/lib/rspec/matchers/built_in/exist.rb +90 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.8.1/lib/rspec/matchers/built_in/has.rb +103 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.8.1/lib/rspec/matchers/built_in/have_attributes.rb +114 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.8.1/lib/rspec/matchers/built_in/include.rb +149 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.8.1/lib/rspec/matchers/built_in/match.rb +106 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.8.1/lib/rspec/matchers/built_in/operators.rb +128 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.8.1/lib/rspec/matchers/built_in/output.rb +200 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.8.1/lib/rspec/matchers/built_in/raise_error.rb +230 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.8.1/lib/rspec/matchers/built_in/respond_to.rb +165 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.8.1/lib/rspec/matchers/built_in/satisfy.rb +60 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.8.1/lib/rspec/matchers/built_in/start_or_end_with.rb +94 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.8.1/lib/rspec/matchers/built_in/throw_symbol.rb +132 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.8.1/lib/rspec/matchers/built_in/yield.rb +432 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.8.1/lib/rspec/matchers/composable.rb +171 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.8.1/lib/rspec/matchers/dsl.rb +527 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.8.1/lib/rspec/matchers/english_phrasing.rb +58 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.8.1/lib/rspec/matchers/expecteds_for_multiple_diffs.rb +73 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.8.1/lib/rspec/matchers/fail_matchers.rb +42 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.8.1/lib/rspec/matchers/generated_descriptions.rb +41 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.8.1/lib/rspec/matchers/matcher_delegator.rb +35 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.8.1/lib/rspec/matchers/matcher_protocol.rb +99 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.8.0/.document +5 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.8.0/.yardopts +6 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.8.0/Changelog.md +1100 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.8.0/LICENSE.md +25 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.8.0/README.md +460 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.8.0/lib/rspec/mocks.rb +130 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.8.0/lib/rspec/mocks/any_instance.rb +11 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.8.0/lib/rspec/mocks/any_instance/chain.rb +110 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.8.0/lib/rspec/mocks/any_instance/error_generator.rb +31 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.8.0/lib/rspec/mocks/any_instance/expect_chain_chain.rb +31 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.8.0/lib/rspec/mocks/any_instance/expectation_chain.rb +50 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.8.0/lib/rspec/mocks/any_instance/message_chains.rb +83 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.8.0/lib/rspec/mocks/any_instance/proxy.rb +116 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.8.0/lib/rspec/mocks/any_instance/recorder.rb +289 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.8.0/lib/rspec/mocks/any_instance/stub_chain.rb +51 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.8.0/lib/rspec/mocks/any_instance/stub_chain_chain.rb +23 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.8.0/lib/rspec/mocks/argument_list_matcher.rb +100 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.8.0/lib/rspec/mocks/argument_matchers.rb +320 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.8.0/lib/rspec/mocks/configuration.rb +212 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.8.0/lib/rspec/mocks/error_generator.rb +369 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.8.0/lib/rspec/mocks/example_methods.rb +434 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.8.0/lib/rspec/mocks/instance_method_stasher.rb +146 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.8.0/lib/rspec/mocks/marshal_extension.rb +41 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.8.0/lib/rspec/mocks/matchers/expectation_customization.rb +20 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.8.0/lib/rspec/mocks/matchers/have_received.rb +134 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.8.0/lib/rspec/mocks/matchers/receive.rb +132 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.8.0/lib/rspec/mocks/matchers/receive_message_chain.rb +82 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.8.0/lib/rspec/mocks/matchers/receive_messages.rb +77 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.8.0/lib/rspec/mocks/message_chain.rb +87 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.8.0/lib/rspec/mocks/message_expectation.rb +741 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.8.0/lib/rspec/mocks/method_double.rb +287 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.8.0/lib/rspec/mocks/method_reference.rb +202 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.8.0/lib/rspec/mocks/minitest_integration.rb +68 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.8.0/lib/rspec/mocks/mutate_const.rb +339 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.8.0/lib/rspec/mocks/object_reference.rb +149 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.8.0/lib/rspec/mocks/order_group.rb +81 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.8.0/lib/rspec/mocks/proxy.rb +485 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.8.0/lib/rspec/mocks/space.rb +238 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.8.0/lib/rspec/mocks/standalone.rb +3 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.8.0/lib/rspec/mocks/syntax.rb +325 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.8.0/lib/rspec/mocks/targets.rb +124 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.8.0/lib/rspec/mocks/test_double.rb +171 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.8.0/lib/rspec/mocks/verifying_double.rb +129 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.8.0/lib/rspec/mocks/verifying_message_expectation.rb +54 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.8.0/lib/rspec/mocks/verifying_proxy.rb +220 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.8.0/lib/rspec/mocks/version.rb +9 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.8.0/Changelog.md +242 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.8.0/LICENSE.md +23 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.8.0/README.md +40 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.8.0/lib/rspec/support.rb +149 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.8.0/lib/rspec/support/caller_filter.rb +83 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.8.0/lib/rspec/support/comparable_version.rb +46 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.8.0/lib/rspec/support/differ.rb +215 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.8.0/lib/rspec/support/directory_maker.rb +63 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.8.0/lib/rspec/support/encoded_string.rb +165 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.8.0/lib/rspec/support/fuzzy_matcher.rb +48 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.8.0/lib/rspec/support/hunk_generator.rb +47 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.8.0/lib/rspec/support/matcher_definition.rb +42 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.8.0/lib/rspec/support/method_signature_verifier.rb +426 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.8.0/lib/rspec/support/mutex.rb +73 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.8.0/lib/rspec/support/object_formatter.rb +275 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.8.0/lib/rspec/support/recursive_const_methods.rb +76 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.8.0/lib/rspec/support/reentrant_mutex.rb +53 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.8.0/lib/rspec/support/ruby_features.rb +176 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.8.0/lib/rspec/support/source.rb +75 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.8.0/lib/rspec/support/source/location.rb +21 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.8.0/lib/rspec/support/source/node.rb +110 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.8.0/lib/rspec/support/source/token.rb +87 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.8.0/lib/rspec/support/spec.rb +81 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.8.0/lib/rspec/support/spec/deprecation_helpers.rb +64 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.8.0/lib/rspec/support/spec/formatting_support.rb +9 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.8.0/lib/rspec/support/spec/in_sub_process.rb +69 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.8.0/lib/rspec/support/spec/library_wide_checks.rb +150 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.8.0/lib/rspec/support/spec/shell_out.rb +84 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.8.0/lib/rspec/support/spec/stderr_splitter.rb +63 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.8.0/lib/rspec/support/spec/string_matcher.rb +46 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.8.0/lib/rspec/support/spec/with_isolated_directory.rb +13 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.8.0/lib/rspec/support/spec/with_isolated_stderr.rb +13 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.8.0/lib/rspec/support/version.rb +7 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.8.0/lib/rspec/support/warnings.rb +39 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/LICENSE.txt +20 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/README.md +221 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/assets/logo.png +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/assets/output.html.erb +261 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/bin/console +9 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/bin/setup +7 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/config/default.yml +4408 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/exe/rubocop +17 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop.rb +654 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/ast/builder.rb +75 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/ast/node.rb +642 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/and_node.rb +29 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/args_node.rb +29 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/array_node.rb +57 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/block_node.rb +115 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/break_node.rb +17 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/case_node.rb +56 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/def_node.rb +71 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/defined_node.rb +17 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/ensure_node.rb +17 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/for_node.rb +53 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/hash_node.rb +109 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/if_node.rb +175 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/keyword_splat_node.rb +45 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/mixin/basic_literal_node.rb +16 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/mixin/binary_operator_node.rb +43 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/mixin/collection_node.rb +15 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/mixin/conditional_node.rb +45 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/mixin/hash_element_node.rb +125 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/mixin/method_dispatch_node.rb +251 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/mixin/method_identifier_predicates.rb +114 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/mixin/modifier_node.rb +17 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/mixin/parameterized_node.rb +61 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/mixin/predicate_operator_node.rb +35 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/or_node.rb +29 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/pair_node.rb +63 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/range_node.rb +11 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/regexp_node.rb +35 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/resbody_node.rb +17 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/retry_node.rb +17 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/send_node.rb +13 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/str_node.rb +16 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/super_node.rb +21 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/symbol_node.rb +12 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/until_node.rb +35 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/when_node.rb +53 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/while_node.rb +35 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/yield_node.rb +21 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/ast/sexp.rb +16 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/ast/traversal.rb +183 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cached_data.rb +58 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cli.rb +307 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/comment_config.rb +200 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/config.rb +716 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/config_loader.rb +214 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/config_loader_resolver.rb +198 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/config_store.rb +48 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/autocorrect_logic.rb +33 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/badge.rb +73 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/bundler/duplicated_gem.rb +73 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/bundler/gem_comment.rb +64 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/bundler/insecure_protocol_source.rb +69 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/bundler/ordered_gems.rb +73 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/commissioner.rb +119 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/cop.rb +244 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/corrector.rb +172 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/correctors/alignment_corrector.rb +120 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/correctors/condition_corrector.rb +28 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/correctors/each_to_for_corrector.rb +53 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/correctors/empty_line_corrector.rb +26 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/correctors/for_to_each_corrector.rb +73 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/correctors/lambda_literal_to_method_corrector.rb +136 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/correctors/line_break_corrector.rb +61 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/correctors/multiline_literal_brace_corrector.rb +68 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/correctors/ordered_gem_corrector.rb +44 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/correctors/parentheses_corrector.rb +31 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/correctors/percent_literal_corrector.rb +117 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/correctors/punctuation_corrector.rb +29 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/correctors/space_corrector.rb +49 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/correctors/string_literal_corrector.rb +25 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/correctors/unused_arg_corrector.rb +31 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/force.rb +42 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/gemspec/duplicated_assignment.rb +104 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/gemspec/ordered_dependencies.rb +107 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/gemspec/required_ruby_version.rb +85 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/generator.rb +217 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/generator/configuration_injector.rb +61 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/generator/require_file_injector.rb +78 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/ignored_node.rb +38 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/internal_affairs.rb +8 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/internal_affairs/node_destructuring.rb +46 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/internal_affairs/node_type_predicate.rb +44 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/internal_affairs/offense_location_keyword.rb +54 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/internal_affairs/redundant_location_argument.rb +61 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/internal_affairs/redundant_message_argument.rb +73 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/internal_affairs/useless_message_assertion.rb +52 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/access_modifier_indentation.rb +109 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/align_array.rb +39 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/align_hash.rb +315 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/align_parameters.rb +94 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/block_alignment.rb +244 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/block_end_newline.rb +63 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/case_indentation.rb +161 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/class_structure.rb +340 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/closing_heredoc_indentation.rb +126 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/closing_parenthesis_indentation.rb +203 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/comment_indentation.rb +144 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/condition_position.rb +56 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/def_end_alignment.rb +74 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/dot_position.rb +105 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/else_alignment.rb +134 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/empty_comment.rb +160 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/empty_line_after_guard_clause.rb +142 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/empty_line_after_magic_comment.rb +64 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/empty_line_between_defs.rb +151 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/empty_lines.rb +76 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb +146 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/empty_lines_around_arguments.rb +99 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/empty_lines_around_begin_body.rb +45 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/empty_lines_around_block_body.rb +39 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/empty_lines_around_class_body.rb +91 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/empty_lines_around_exception_handling_keywords.rb +136 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/empty_lines_around_method_body.rb +45 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/empty_lines_around_module_body.rb +63 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/end_alignment.rb +189 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/end_of_line.rb +87 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/extra_spacing.rb +246 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/first_array_element_line_break.rb +45 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/first_hash_element_line_break.rb +37 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/first_method_argument_line_break.rb +54 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/first_method_parameter_line_break.rb +46 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/first_parameter_indentation.rb +244 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/indent_array.rb +167 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/indent_assignment.rb +46 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/indent_hash.rb +184 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/indent_heredoc.rb +294 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/indentation_consistency.rb +201 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/indentation_width.rb +364 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/initial_indentation.rb +59 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/leading_blank_lines.rb +53 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/leading_comment_space.rb +60 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/multiline_array_brace_layout.rb +118 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/multiline_assignment_layout.rb +95 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/multiline_block_layout.rb +124 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/multiline_hash_brace_layout.rb +122 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/multiline_method_call_brace_layout.rb +134 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/multiline_method_call_indentation.rb +222 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/multiline_method_definition_brace_layout.rb +131 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/multiline_operation_indentation.rb +114 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/rescue_ensure_alignment.rb +175 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_after_colon.rb +47 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_after_comma.rb +35 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_after_method_name.rb +42 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_after_not.rb +40 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_after_semicolon.rb +32 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_around_block_parameters.rb +165 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_around_equals_in_parameter_default.rb +92 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_around_keyword.rb +232 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_around_operators.rb +163 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_before_block_braces.rb +119 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_before_comma.rb +31 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_before_comment.rb +35 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_before_first_arg.rb +67 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_before_semicolon.rb +27 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_in_lambda_literal.rb +94 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_inside_array_literal_brackets.rb +228 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_inside_array_percent_literal.rb +53 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_inside_block_braces.rb +229 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_inside_hash_literal_braces.rb +207 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_inside_parens.rb +113 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_inside_percent_literal_delimiters.rb +65 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_inside_range_literal.rb +63 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_inside_reference_brackets.rb +151 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_inside_string_interpolation.rb +81 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/tab.rb +87 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/trailing_blank_lines.rb +113 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/trailing_whitespace.rb +61 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/ambiguous_block_association.rb +62 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/ambiguous_operator.rb +55 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/ambiguous_regexp_literal.rb +43 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/assignment_in_condition.rb +84 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/big_decimal_new.rb +44 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/boolean_symbol.rb +38 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/circular_argument_reference.rb +72 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/debugger.rb +79 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/deprecated_class_methods.rb +111 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/disjunctive_assignment_in_constructor.rb +81 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/duplicate_case_condition.rb +53 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/duplicate_methods.rb +241 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/duplicated_key.rb +38 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/each_with_object_argument.rb +42 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/else_layout.rb +66 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/empty_ensure.rb +60 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/empty_expression.rb +42 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/empty_interpolation.rb +36 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/empty_when.rb +38 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/end_in_method.rb +40 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/ensure_return.rb +46 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/erb_new_arguments.rb +107 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/flip_flop.rb +32 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/float_out_of_range.rb +35 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/format_parameter_mismatch.rb +190 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/handle_exceptions.rb +56 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/implicit_string_concatenation.rb +101 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/ineffective_access_modifier.rb +127 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/inherit_exception.rb +80 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/interpolation_check.rb +40 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/literal_as_condition.rb +138 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/literal_in_interpolation.rb +82 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/loop.rb +63 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/missing_cop_enable_directive.rb +84 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/multiple_compare.rb +48 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/nested_method_definition.rb +104 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/nested_percent_literal.rb +51 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/next_without_accumulator.rb +50 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/non_local_exit_from_iterator.rb +85 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/number_conversion.rb +59 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/ordered_magic_comments.rb +86 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/parentheses_as_grouped_expression.rb +64 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/percent_string_array.rb +73 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/percent_symbol_array.rb +69 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/rand_one.rb +45 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/redundant_with_index.rb +82 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/redundant_with_object.rb +83 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/regexp_as_condition.rb +29 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/require_parentheses.rb +66 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/rescue_exception.rb +46 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/rescue_type.rb +94 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/return_in_void_context.rb +74 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/safe_navigation_chain.rb +69 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/safe_navigation_consistency.rb +94 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/safe_navigation_with_empty.rb +38 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/script_permission.rb +70 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/shadowed_argument.rb +182 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/shadowed_exception.rb +178 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/shadowing_outer_local_variable.rb +53 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/string_conversion_in_interpolation.rb +59 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/syntax.rb +59 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/to_json.rb +38 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/underscore_prefixed_variable_name.rb +62 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/unified_integer.rb +43 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/unneeded_cop_disable_directive.rb +263 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/unneeded_cop_enable_directive.rb +116 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/unneeded_require_statement.rb +50 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/unneeded_splat_expansion.rb +167 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/unreachable_code.rb +99 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/unused_block_argument.rb +149 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/unused_method_argument.rb +68 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/uri_escape_unescape.rb +76 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/uri_regexp.rb +73 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/useless_access_modifier.rb +240 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/useless_assignment.rb +133 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/useless_comparison.rb +28 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/useless_else_without_rescue.rb +46 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/useless_setter_call.rb +165 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/void.rb +170 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/message_annotator.rb +119 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/metrics/abc_size.rb +24 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/metrics/block_length.rb +50 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/metrics/block_nesting.rb +65 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/metrics/class_length.rb +36 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/metrics/cyclomatic_complexity.rb +32 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/metrics/line_length.rb +204 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/metrics/method_length.rb +36 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/metrics/module_length.rb +36 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/metrics/parameter_lists.rb +54 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/metrics/perceived_complexity.rb +62 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/metrics/utils/abc_size_calculator.rb +67 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/alignment.rb +74 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/annotation_comment.rb +37 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/array_hash_indentation.rb +85 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/array_min_size.rb +59 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/array_syntax.rb +17 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/check_assignment.rb +44 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/classish_length.rb +37 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/code_length.rb +38 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/configurable_enforced_style.rb +98 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/configurable_formatting.rb +47 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/configurable_max.rb +23 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/configurable_naming.rb +16 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/configurable_numbering.rb +17 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/def_node.rb +33 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/documentation_comment.rb +54 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/duplication.rb +46 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/empty_lines_around_body.rb +172 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/empty_parameter.rb +24 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/end_keyword_alignment.rb +67 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/enforce_superclass.rb +30 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/first_element_line_break.rb +46 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/frozen_string_literal.rb +54 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/hash_alignment.rb +143 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/heredoc.rb +32 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/ignored_methods.rb +19 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/ignored_pattern.rb +29 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/integer_node.rb +14 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/match_range.rb +26 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/method_complexity.rb +56 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/method_preference.rb +31 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/min_body_length.rb +21 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/multiline_expression_indentation.rb +255 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/multiline_literal_brace_layout.rb +141 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/negative_conditional.rb +32 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/nil_methods.rb +25 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/on_normal_if_unless.rb +14 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/ordered_gem_node.rb +56 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/parentheses.rb +17 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/parser_diagnostic.rb +37 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/percent_array.rb +52 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/percent_literal.rb +38 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/preceding_following_alignment.rb +94 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/preferred_delimiters.rb +53 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/range_help.rb +117 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/rescue_node.rb +23 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/safe_assignment.rb +23 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/safe_mode.rb +22 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/space_after_punctuation.rb +55 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/space_before_punctuation.rb +49 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/statement_modifier.rb +68 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/string_help.rb +35 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/string_literals_help.rb +23 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/surrounding_space.rb +144 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/target_rails_version.rb +16 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/target_ruby_version.rb +16 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/too_many_lines.rb +39 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/trailing_body.rb +26 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/trailing_comma.rb +216 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/uncommunicative_name.rb +106 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/unused_argument.rb +33 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/naming/accessor_method_name.rb +55 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/naming/ascii_identifiers.rb +72 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/naming/binary_operator_parameter_name.rb +43 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/naming/class_and_module_camel_case.rb +33 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/naming/constant_name.rb +81 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/naming/file_name.rb +205 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/naming/heredoc_delimiter_case.rb +62 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/naming/heredoc_delimiter_naming.rb +55 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/naming/memoized_instance_variable_name.rb +171 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/naming/method_name.rb +42 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/naming/predicate_name.rb +108 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/naming/uncommunicative_block_param_name.rb +49 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/naming/uncommunicative_method_param_name.rb +58 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/naming/variable_name.rb +51 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/naming/variable_number.rb +61 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/offense.rb +194 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/caller.rb +69 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/case_when_splat.rb +177 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/casecmp.rb +108 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/chain_array_allocation.rb +78 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/compare_with_block.rb +122 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/count.rb +102 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/detect.rb +110 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/double_start_end_with.rb +94 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/end_with.rb +56 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/fixed_size.rb +97 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/flat_map.rb +78 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/inefficient_hash_search.rb +99 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/lstrip_rstrip.rb +46 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/open_struct.rb +46 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/range_include.rb +50 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/redundant_block_call.rb +93 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/redundant_match.rb +56 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/redundant_merge.rb +183 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/redundant_sort_by.rb +50 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/regexp_match.rb +265 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/reverse_each.rb +42 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/sample.rb +145 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/size.rb +77 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/start_with.rb +59 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/string_replacement.rb +173 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/times_map.rb +71 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/unfreeze_string.rb +50 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/unneeded_sort.rb +165 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/uri_default_parser.rb +47 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/action_filter.rb +117 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/active_record_aliases.rb +48 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/active_support_aliases.rb +69 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/application_job.rb +40 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/application_record.rb +40 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/assert_not.rb +44 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/belongs_to.rb +120 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/blank.rb +158 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/bulk_change_table.rb +289 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/create_table_with_timestamps.rb +91 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/date.rb +156 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/delegate.rb +135 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/delegate_allow_blank.rb +51 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/dynamic_find_by.rb +91 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/enum_uniqueness.rb +45 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/environment_comparison.rb +66 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/exit.rb +67 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/file_path.rb +108 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/find_by.rb +55 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/find_each.rb +52 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/has_and_belongs_to_many.rb +25 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/has_many_or_has_one_dependent.rb +106 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/http_positional_arguments.rb +117 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/http_status.rb +186 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/ignored_skip_action_filter_option.rb +94 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/inverse_of.rb +246 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/lexically_scoped_action_filter.rb +149 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/link_to_blank.rb +90 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/not_null_column.rb +67 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/output.rb +49 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/output_safety.rb +99 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/pluralization_grammar.rb +107 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/presence.rb +124 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/present.rb +149 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/read_write_attribute.rb +74 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/redundant_receiver_in_with_options.rb +135 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/reflection_class_name.rb +38 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/refute_methods.rb +76 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/relative_date_constant.rb +93 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/request_referer.rb +56 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/reversible_migration.rb +286 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/safe_navigation.rb +91 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/save_bang.rb +316 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/scope_args.rb +29 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/skips_model_validations.rb +88 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/time_zone.rb +231 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/uniq_before_pluck.rb +105 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/unknown_env.rb +63 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/validation.rb +106 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/registry.rb +190 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/security/eval.rb +31 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/security/json_load.rb +46 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/security/marshal_load.rb +39 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/security/open.rb +71 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/security/yaml_load.rb +37 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/severity.rb +77 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/access_modifier_declarations.rb +111 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/alias.rb +141 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/and_or.rb +146 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/array_join.rb +39 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/ascii_comments.rb +61 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/attr.rb +62 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/auto_resource_cleanup.rb +51 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/bare_percent_literals.rb +78 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/begin_block.rb +22 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/block_comments.rb +62 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/block_delimiters.rb +315 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/braces_around_hash_parameters.rb +190 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/case_equality.rb +30 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/character_literal.rb +53 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/class_and_module_children.rb +153 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/class_check.rb +59 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/class_methods.rb +68 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/class_vars.rb +48 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/collection_methods.rb +77 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/colon_method_call.rb +48 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/colon_method_definition.rb +37 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/command_literal.rb +187 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/comment_annotation.rb +97 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/commented_keyword.rb +87 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/conditional_assignment.rb +698 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/constant_visibility.rb +66 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/copyright.rb +95 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/date_time.rb +77 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/def_with_parentheses.rb +57 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/dir.rb +48 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/documentation.rb +101 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/documentation_method.rb +81 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/double_negation.rb +35 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/each_for_simple_loop.rb +58 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/each_with_object.rb +110 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/empty_block_parameter.rb +48 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/empty_case_condition.rb +107 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/empty_else.rb +175 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/empty_lambda_parameter.rb +45 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/empty_literal.rb +123 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/empty_method.rb +115 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/encoding.rb +56 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/end_block.rb +25 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/eval_with_location.rb +148 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/even_odd.rb +58 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/expand_path_arguments.rb +194 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/for.rb +88 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/format_string.rb +123 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/format_string_token.rb +170 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/frozen_string_literal_comment.rb +180 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/global_vars.rb +80 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/guard_clause.rb +92 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/hash_syntax.rb +214 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/identical_conditional_branches.rb +130 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/if_inside_else.rb +45 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/if_unless_modifier.rb +91 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/if_unless_modifier_of_if_unless.rb +39 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/if_with_semicolon.rb +30 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/implicit_runtime_error.rb +32 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/infinite_loop.rb +127 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/inline_comment.rb +34 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/inverse_methods.rb +167 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/ip_addresses.rb +76 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/lambda.rb +129 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/lambda_call.rb +93 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/line_end_concatenation.rb +121 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/method_call_with_args_parentheses.rb +368 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/method_call_without_args_parentheses.rb +77 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/method_called_on_do_end_block.rb +46 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/method_def_parentheses.rb +158 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/method_missing_super.rb +34 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/min_max.rb +68 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/missing_else.rb +180 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/missing_respond_to_missing.rb +46 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/mixin_grouping.rb +150 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/mixin_usage.rb +80 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/module_function.rb +105 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/multiline_block_chain.rb +40 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/multiline_if_modifier.rb +67 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/multiline_if_then.rb +50 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/multiline_memoization.rb +94 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/multiline_method_signature.rb +61 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/multiline_ternary_operator.rb +38 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/multiple_comparison.rb +92 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/mutable_constant.rb +174 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/negated_if.rb +99 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/negated_while.rb +48 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/nested_modifier.rb +89 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/nested_parenthesized_calls.rb +67 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/nested_ternary_operator.rb +32 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/next.rb +244 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/nil_comparison.rb +75 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/non_nil_check.rb +124 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/not.rb +82 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/numeric_literal_prefix.rb +124 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/numeric_literals.rb +110 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/numeric_predicate.rb +145 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/one_line_conditional.rb +99 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/option_hash.rb +55 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/optional_arguments.rb +61 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/or_assignment.rb +90 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/parallel_assignment.rb +287 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/parentheses_around_condition.rb +103 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/percent_literal_delimiters.rb +127 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/percent_q_literals.rb +73 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/perl_backrefs.rb +38 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/preferred_hash_methods.rb +75 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/proc.rb +34 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/raise_args.rb +145 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/random_with_offset.rb +161 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/redundant_begin.rb +91 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/redundant_conditional.rb +97 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/redundant_exception.rb +60 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/redundant_freeze.rb +67 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/redundant_parentheses.rb +222 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/redundant_return.rb +169 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/redundant_self.rb +154 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/regexp_literal.rb +228 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/rescue_modifier.rb +49 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/rescue_standard_error.rb +124 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/return_nil.rb +89 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/safe_navigation.rb +253 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/self_assignment.rb +97 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/semicolon.rb +90 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/send.rb +31 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/signal_exception.rb +211 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/single_line_block_params.rb +95 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/single_line_methods.rb +76 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/special_global_vars.rb +213 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/stabby_lambda_parentheses.rb +86 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/stderr_puts.rb +56 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/string_hash_keys.rb +49 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/string_literals.rb +129 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/string_literals_in_interpolation.rb +49 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/string_methods.rb +46 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/struct_inheritance.rb +32 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/symbol_array.rb +119 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/symbol_literal.rb +32 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/symbol_proc.rb +130 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/ternary_parentheses.rb +194 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/trailing_body_on_class.rb +43 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/trailing_body_on_method_definition.rb +54 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/trailing_body_on_module.rb +43 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/trailing_comma_in_arguments.rb +92 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/trailing_comma_in_array_literal.rb +58 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/trailing_comma_in_hash_literal.rb +56 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/trailing_method_end_statement.rb +93 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/trailing_underscore_variable.rb +161 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/trivial_accessors.rb +191 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/unless_else.rb +56 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/unneeded_capital_w.rb +51 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/unneeded_condition.rb +112 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/unneeded_interpolation.rb +98 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/unneeded_percent_q.rb +112 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/unpack_first.rb +65 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/variable_interpolation.rb +58 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/when_then.rb +37 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/while_until_do.rb +59 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/while_until_modifier.rb +61 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/word_array.rb +102 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/yoda_condition.rb +140 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/zero_length_predicate.rb +117 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/team.rb +190 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/util.rb +129 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/variable_force.rb +464 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/variable_force/assignment.rb +96 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/variable_force/branch.rb +322 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/variable_force/branchable.rb +23 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/variable_force/reference.rb +49 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/variable_force/scope.rb +109 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/variable_force/variable.rb +104 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/cop/variable_force/variable_table.rb +129 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/core_ext/string.rb +47 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/error.rb +11 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/file_finder.rb +47 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/formatter/auto_gen_config_formatter.rb +16 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/formatter/base_formatter.rb +123 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/formatter/clang_style_formatter.rb +54 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/formatter/colorizable.rb +41 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/formatter/disabled_config_formatter.rb +219 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/formatter/disabled_lines_formatter.rb +57 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/formatter/emacs_style_formatter.rb +24 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/formatter/file_list_formatter.rb +20 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/formatter/formatter_set.rb +105 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/formatter/fuubar_style_formatter.rb +80 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/formatter/html_formatter.rb +141 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/formatter/json_formatter.rb +80 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/formatter/offense_count_formatter.rb +74 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/formatter/progress_formatter.rb +63 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/formatter/quiet_formatter.rb +13 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/formatter/simple_text_formatter.rb +126 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/formatter/tap_formatter.rb +71 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/formatter/text_util.rb +20 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/formatter/worst_offenders_formatter.rb +62 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/magic_comment.rb +210 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/name_similarity.rb +21 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/node_pattern.rb +584 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/options.rb +441 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/path_util.rb +85 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/platform.rb +11 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/processed_source.rb +210 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/rake_task.rb +79 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/remote_config.rb +104 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/result_cache.rb +191 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/rspec/cop_helper.rb +95 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/rspec/expect_offense.rb +237 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/rspec/host_environment_simulation_helper.rb +28 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/rspec/shared_contexts.rb +96 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/rspec/shared_examples.rb +59 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/rspec/support.rb +14 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/runner.rb +353 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/string_interpreter.rb +57 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/string_util.rb +14 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/target_finder.rb +187 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/token.rb +114 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/version.rb +21 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/warning.rb +11 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.66.0/lib/rubocop/yaml_duplication_checker.rb +33 -0
- data/vendor/bundle/ruby/2.3.0/gems/ruby-progressbar-1.10.1/LICENSE.txt +19 -0
- data/vendor/bundle/ruby/2.3.0/gems/ruby-progressbar-1.10.1/README.md +38 -0
- data/vendor/bundle/ruby/2.3.0/gems/ruby-progressbar-1.10.1/Rakefile +2 -0
- data/vendor/bundle/ruby/2.3.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar.rb +22 -0
- data/vendor/bundle/ruby/2.3.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/base.rb +183 -0
- data/vendor/bundle/ruby/2.3.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/calculators/length.rb +100 -0
- data/vendor/bundle/ruby/2.3.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/calculators/running_average.rb +9 -0
- data/vendor/bundle/ruby/2.3.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/components.rb +5 -0
- data/vendor/bundle/ruby/2.3.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/components/bar.rb +102 -0
- data/vendor/bundle/ruby/2.3.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/components/percentage.rb +29 -0
- data/vendor/bundle/ruby/2.3.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/components/rate.rb +43 -0
- data/vendor/bundle/ruby/2.3.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/components/time.rb +107 -0
- data/vendor/bundle/ruby/2.3.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/components/title.rb +13 -0
- data/vendor/bundle/ruby/2.3.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/errors/invalid_progress_error.rb +4 -0
- data/vendor/bundle/ruby/2.3.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/format.rb +3 -0
- data/vendor/bundle/ruby/2.3.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/format/formatter.rb +27 -0
- data/vendor/bundle/ruby/2.3.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/format/molecule.rb +60 -0
- data/vendor/bundle/ruby/2.3.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/format/string.rb +36 -0
- data/vendor/bundle/ruby/2.3.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/output.rb +68 -0
- data/vendor/bundle/ruby/2.3.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/outputs/non_tty.rb +47 -0
- data/vendor/bundle/ruby/2.3.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/outputs/null.rb +33 -0
- data/vendor/bundle/ruby/2.3.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/outputs/tty.rb +32 -0
- data/vendor/bundle/ruby/2.3.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/progress.rb +118 -0
- data/vendor/bundle/ruby/2.3.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/refinements.rb +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/refinements/enumerator.rb +23 -0
- data/vendor/bundle/ruby/2.3.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/throttle.rb +25 -0
- data/vendor/bundle/ruby/2.3.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/time.rb +32 -0
- data/vendor/bundle/ruby/2.3.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/timer.rb +72 -0
- data/vendor/bundle/ruby/2.3.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/version.rb +3 -0
- data/vendor/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/.gitignore +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/.travis.yml +48 -0
- data/vendor/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/CHANGES.md +149 -0
- data/vendor/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/Gemfile +11 -0
- data/vendor/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/LICENSE.txt +22 -0
- data/vendor/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/README.md +191 -0
- data/vendor/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/Rakefile +26 -0
- data/vendor/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/bin/safe_yaml +75 -0
- data/vendor/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/bundle_install_all_ruby_versions.sh +11 -0
- data/vendor/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/lib/safe_yaml.rb +94 -0
- data/vendor/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/lib/safe_yaml/deep.rb +34 -0
- data/vendor/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/lib/safe_yaml/libyaml_checker.rb +36 -0
- data/vendor/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/lib/safe_yaml/load.rb +181 -0
- data/vendor/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/lib/safe_yaml/parse/date.rb +35 -0
- data/vendor/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/lib/safe_yaml/parse/hexadecimal.rb +12 -0
- data/vendor/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/lib/safe_yaml/parse/sexagesimal.rb +26 -0
- data/vendor/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/lib/safe_yaml/psych_handler.rb +99 -0
- data/vendor/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/lib/safe_yaml/psych_resolver.rb +52 -0
- data/vendor/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/lib/safe_yaml/resolver.rb +94 -0
- data/vendor/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/lib/safe_yaml/safe_to_ruby_visitor.rb +29 -0
- data/vendor/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/lib/safe_yaml/syck_hack.rb +36 -0
- data/vendor/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/lib/safe_yaml/syck_node_monkeypatch.rb +43 -0
- data/vendor/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/lib/safe_yaml/syck_resolver.rb +38 -0
- data/vendor/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/lib/safe_yaml/transform.rb +41 -0
- data/vendor/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/lib/safe_yaml/transform/to_boolean.rb +21 -0
- data/vendor/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/lib/safe_yaml/transform/to_date.rb +13 -0
- data/vendor/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/lib/safe_yaml/transform/to_float.rb +33 -0
- data/vendor/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/lib/safe_yaml/transform/to_integer.rb +26 -0
- data/vendor/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/lib/safe_yaml/transform/to_nil.rb +18 -0
- data/vendor/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/lib/safe_yaml/transform/to_symbol.rb +17 -0
- data/vendor/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/lib/safe_yaml/transform/transformation_map.rb +47 -0
- data/vendor/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/lib/safe_yaml/version.rb +3 -0
- data/vendor/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/run_specs_all_ruby_versions.sh +38 -0
- data/vendor/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/safe_yaml.gemspec +19 -0
- data/vendor/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/spec/exploit.1.9.2.yaml +2 -0
- data/vendor/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/spec/exploit.1.9.3.yaml +2 -0
- data/vendor/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/spec/issue48.txt +20 -0
- data/vendor/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/spec/issue49.yml +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/spec/libyaml_checker_spec.rb +69 -0
- data/vendor/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/spec/psych_resolver_spec.rb +10 -0
- data/vendor/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/spec/resolver_specs.rb +278 -0
- data/vendor/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/spec/safe_yaml_spec.rb +731 -0
- data/vendor/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/spec/spec_helper.rb +42 -0
- data/vendor/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/spec/support/exploitable_back_door.rb +29 -0
- data/vendor/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/spec/syck_resolver_spec.rb +10 -0
- data/vendor/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/spec/transform/base64_spec.rb +11 -0
- data/vendor/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/spec/transform/to_date_spec.rb +60 -0
- data/vendor/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/spec/transform/to_float_spec.rb +42 -0
- data/vendor/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/spec/transform/to_integer_spec.rb +64 -0
- data/vendor/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/spec/transform/to_symbol_spec.rb +51 -0
- data/vendor/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/spec/yaml_spec.rb +15 -0
- data/vendor/bundle/ruby/2.3.0/gems/sys-uname-1.0.3/CHANGES +202 -0
- data/vendor/bundle/ruby/2.3.0/gems/sys-uname-1.0.3/MANIFEST +12 -0
- data/vendor/bundle/ruby/2.3.0/gems/sys-uname-1.0.3/README +51 -0
- data/vendor/bundle/ruby/2.3.0/gems/sys-uname-1.0.3/Rakefile +39 -0
- data/vendor/bundle/ruby/2.3.0/gems/sys-uname-1.0.3/certs/djberg96_pub.pem +21 -0
- data/vendor/bundle/ruby/2.3.0/gems/sys-uname-1.0.3/doc/uname.txt +127 -0
- data/vendor/bundle/ruby/2.3.0/gems/sys-uname-1.0.3/examples/uname_test.rb +42 -0
- data/vendor/bundle/ruby/2.3.0/gems/sys-uname-1.0.3/lib/sys-uname.rb +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/sys-uname-1.0.3/lib/sys/platform.rb +54 -0
- data/vendor/bundle/ruby/2.3.0/gems/sys-uname-1.0.3/lib/sys/uname.rb +19 -0
- data/vendor/bundle/ruby/2.3.0/gems/sys-uname-1.0.3/lib/sys/unix/uname.rb +327 -0
- data/vendor/bundle/ruby/2.3.0/gems/sys-uname-1.0.3/lib/sys/windows/uname.rb +507 -0
- data/vendor/bundle/ruby/2.3.0/gems/sys-uname-1.0.3/sys-uname.gemspec +26 -0
- data/vendor/bundle/ruby/2.3.0/gems/sys-uname-1.0.3/test/test_sys_platform.rb +79 -0
- data/vendor/bundle/ruby/2.3.0/gems/sys-uname-1.0.3/test/test_sys_uname.rb +463 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/.gitignore +8 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/.rspec +4 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/.travis.yml +22 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/CHANGELOG.md +394 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/CONTRIBUTING.md +16 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/Gemfile +32 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/Guardfile +9 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/LICENSE +22 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/README.md +533 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/Rakefile +38 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/UPGRADE.md +55 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/lib/rack/typhoeus.rb +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/lib/rack/typhoeus/middleware/params_decoder.rb +57 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/lib/rack/typhoeus/middleware/params_decoder/helper.rb +76 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/lib/typhoeus.rb +142 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/lib/typhoeus/adapters/faraday.rb +180 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/lib/typhoeus/cache/dalli.rb +26 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/lib/typhoeus/cache/rails.rb +26 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/lib/typhoeus/cache/redis.rb +33 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/lib/typhoeus/config.rb +69 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/lib/typhoeus/easy_factory.rb +175 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/lib/typhoeus/errors.rb +9 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/lib/typhoeus/errors/no_stub.rb +12 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/lib/typhoeus/errors/typhoeus_error.rb +8 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/lib/typhoeus/expectation.rb +217 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/lib/typhoeus/hydra.rb +95 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/lib/typhoeus/hydra/addable.rb +23 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/lib/typhoeus/hydra/before.rb +31 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/lib/typhoeus/hydra/block_connection.rb +35 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/lib/typhoeus/hydra/cacheable.rb +15 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/lib/typhoeus/hydra/memoizable.rb +56 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/lib/typhoeus/hydra/queueable.rb +83 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/lib/typhoeus/hydra/runnable.rb +19 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/lib/typhoeus/hydra/stubbable.rb +28 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/lib/typhoeus/pool.rb +70 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/lib/typhoeus/railtie.rb +12 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/lib/typhoeus/request.rb +221 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/lib/typhoeus/request/actions.rb +125 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/lib/typhoeus/request/before.rb +30 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/lib/typhoeus/request/block_connection.rb +52 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/lib/typhoeus/request/cacheable.rb +27 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/lib/typhoeus/request/callbacks.rb +133 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/lib/typhoeus/request/marshal.rb +22 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/lib/typhoeus/request/memoizable.rb +38 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/lib/typhoeus/request/operations.rb +40 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/lib/typhoeus/request/responseable.rb +29 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/lib/typhoeus/request/streamable.rb +34 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/lib/typhoeus/request/stubbable.rb +30 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/lib/typhoeus/response.rb +68 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/lib/typhoeus/response/cacheable.rb +14 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/lib/typhoeus/response/header.rb +103 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/lib/typhoeus/response/informations.rb +248 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/lib/typhoeus/response/status.rb +107 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/lib/typhoeus/version.rb +5 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/perf/profile.rb +14 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/perf/vs_nethttp.rb +64 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/spec/rack/typhoeus/middleware/params_decoder/helper_spec.rb +156 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/spec/rack/typhoeus/middleware/params_decoder_spec.rb +31 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/spec/spec_helper.rb +29 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/spec/support/localhost_server.rb +94 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/spec/support/memory_cache.rb +15 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/spec/support/server.rb +116 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/spec/typhoeus/adapters/faraday_spec.rb +339 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/spec/typhoeus/cache/dalli_spec.rb +41 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/spec/typhoeus/cache/redis_spec.rb +41 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/spec/typhoeus/config_spec.rb +15 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/spec/typhoeus/easy_factory_spec.rb +137 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/spec/typhoeus/errors/no_stub_spec.rb +13 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/spec/typhoeus/expectation_spec.rb +280 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/spec/typhoeus/hydra/addable_spec.rb +22 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/spec/typhoeus/hydra/before_spec.rb +98 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/spec/typhoeus/hydra/block_connection_spec.rb +18 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/spec/typhoeus/hydra/cacheable_spec.rb +58 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/spec/typhoeus/hydra/memoizable_spec.rb +53 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/spec/typhoeus/hydra/queueable_spec.rb +98 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/spec/typhoeus/hydra/runnable_spec.rb +137 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/spec/typhoeus/hydra/stubbable_spec.rb +48 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/spec/typhoeus/hydra_spec.rb +22 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/spec/typhoeus/pool_spec.rb +135 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/spec/typhoeus/request/actions_spec.rb +19 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/spec/typhoeus/request/before_spec.rb +93 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/spec/typhoeus/request/block_connection_spec.rb +75 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/spec/typhoeus/request/cacheable_spec.rb +70 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/spec/typhoeus/request/callbacks_spec.rb +91 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/spec/typhoeus/request/marshal_spec.rb +60 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/spec/typhoeus/request/memoizable_spec.rb +34 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/spec/typhoeus/request/operations_spec.rb +101 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/spec/typhoeus/request/responseable_spec.rb +13 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/spec/typhoeus/request/stubbable_spec.rb +45 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/spec/typhoeus/request_spec.rb +232 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/spec/typhoeus/response/header_spec.rb +147 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/spec/typhoeus/response/informations_spec.rb +283 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/spec/typhoeus/response/status_spec.rb +256 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/spec/typhoeus/response_spec.rb +100 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/spec/typhoeus_spec.rb +105 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/typhoeus.gemspec +25 -0
- data/vendor/bundle/ruby/2.3.0/gems/unicode-display_width-1.5.0/CHANGELOG.md +121 -0
- data/vendor/bundle/ruby/2.3.0/gems/unicode-display_width-1.5.0/MIT-LICENSE.txt +22 -0
- data/vendor/bundle/ruby/2.3.0/gems/unicode-display_width-1.5.0/README.md +124 -0
- data/vendor/bundle/ruby/2.3.0/gems/unicode-display_width-1.5.0/data/display_width.marshal.gz +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/unicode-display_width-1.5.0/lib/unicode/display_width.rb +51 -0
- data/vendor/bundle/ruby/2.3.0/gems/unicode-display_width-1.5.0/lib/unicode/display_width/constants.rb +8 -0
- data/vendor/bundle/ruby/2.3.0/gems/unicode-display_width-1.5.0/lib/unicode/display_width/index.rb +12 -0
- data/vendor/bundle/ruby/2.3.0/gems/unicode-display_width-1.5.0/lib/unicode/display_width/no_string_ext.rb +7 -0
- data/vendor/bundle/ruby/2.3.0/gems/unicode-display_width-1.5.0/lib/unicode/display_width/string_ext.rb +17 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/features/CHANGELOG.md +710 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/features/CONTRIBUTING.md +26 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/features/LICENSE.md +20 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/features/README.md +339 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/features/Upgrade.md +289 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/features/about_these_examples.md +18 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/features/cassettes/allow_unused_http_interactions.feature +100 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/features/cassettes/automatic_re_recording.feature +72 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/features/cassettes/decompress.feature +74 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/features/cassettes/dynamic_erb.feature +100 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/features/cassettes/exclusive.feature +126 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/features/cassettes/format.feature +411 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/features/cassettes/freezing_time.feature +68 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/features/cassettes/naming.feature +28 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/features/cassettes/no_cassette.feature +152 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/features/cassettes/update_content_length_header.feature +112 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/features/configuration/allow_http_connections_when_no_cassette.feature +55 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/features/configuration/cassette_library_dir.feature +31 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/features/configuration/debug_logging.feature +58 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/features/configuration/default_cassette_options.feature +100 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/features/configuration/filter_sensitive_data.feature +153 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/features/configuration/hook_into.feature +172 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/features/configuration/ignore_request.feature +192 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/features/configuration/preserve_exact_body_bytes.feature +108 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/features/configuration/query_parser.feature +84 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/features/configuration/uri_parser.feature +93 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/features/getting_started.md +82 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/features/hooks/after_http_request.feature +58 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/features/hooks/around_http_request.feature +57 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/features/hooks/before_http_request.feature +63 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/features/hooks/before_playback.feature +184 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/features/hooks/before_record.feature +172 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/features/http_libraries/em_http_request.feature +250 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/features/http_libraries/net_http.feature +179 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/features/middleware/faraday.feature +56 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/features/middleware/rack.feature +92 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/features/record_modes/all.feature +82 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/features/record_modes/new_episodes.feature +79 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/features/record_modes/none.feature +72 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/features/record_modes/once.feature +95 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/features/request_matching/README.md +30 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/features/request_matching/body.feature +91 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/features/request_matching/body_as_json.feature +90 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/features/request_matching/custom_matcher.feature +135 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/features/request_matching/headers.feature +85 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/features/request_matching/host.feature +95 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/features/request_matching/identical_request_sequence.feature +89 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/features/request_matching/method.feature +96 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/features/request_matching/path.feature +96 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/features/request_matching/playback_repeats.feature +98 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/features/request_matching/query.feature +97 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/features/request_matching/uri.feature +94 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/features/request_matching/uri_without_param.feature +101 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/features/step_definitions/cli_steps.rb +199 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/features/support/env.rb +46 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/features/support/http_lib_filters.rb +46 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/features/test_frameworks/cucumber.feature +211 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/features/test_frameworks/rspec_macro.feature +81 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/features/test_frameworks/rspec_metadata.feature +150 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/features/test_frameworks/test_unit.feature +49 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/lib/vcr.rb +430 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/lib/vcr/cassette.rb +298 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/lib/vcr/cassette/erb_renderer.rb +55 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/lib/vcr/cassette/http_interaction_list.rb +108 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/lib/vcr/cassette/migrator.rb +118 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/lib/vcr/cassette/persisters.rb +42 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/lib/vcr/cassette/persisters/file_system.rb +63 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/lib/vcr/cassette/serializers.rb +59 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/lib/vcr/cassette/serializers/compressed.rb +45 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/lib/vcr/cassette/serializers/json.rb +48 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/lib/vcr/cassette/serializers/psych.rb +48 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/lib/vcr/cassette/serializers/syck.rb +61 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/lib/vcr/cassette/serializers/yaml.rb +50 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/lib/vcr/configuration.rb +576 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/lib/vcr/deprecations.rb +109 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/lib/vcr/errors.rb +315 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/lib/vcr/extensions/net_http_response.rb +36 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/lib/vcr/library_hooks.rb +18 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/lib/vcr/library_hooks/excon.rb +27 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/lib/vcr/library_hooks/fakeweb.rb +197 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/lib/vcr/library_hooks/faraday.rb +51 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/lib/vcr/library_hooks/typhoeus.rb +120 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/lib/vcr/library_hooks/typhoeus_0.4.rb +103 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/lib/vcr/library_hooks/webmock.rb +181 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/lib/vcr/linked_cassette.rb +72 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/lib/vcr/middleware/excon.rb +221 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/lib/vcr/middleware/excon/legacy_methods.rb +33 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/lib/vcr/middleware/faraday.rb +118 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/lib/vcr/middleware/rack.rb +79 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/lib/vcr/request_handler.rb +114 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/lib/vcr/request_ignorer.rb +43 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/lib/vcr/request_matcher_registry.rb +149 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/lib/vcr/structs.rb +578 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/lib/vcr/tasks/vcr.rake +9 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/lib/vcr/test_frameworks/cucumber.rb +98 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/lib/vcr/test_frameworks/rspec.rb +52 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/lib/vcr/util/hooks.rb +61 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/lib/vcr/util/internet_connection.rb +43 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/lib/vcr/util/logger.rb +59 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/lib/vcr/util/variable_args_block_caller.rb +13 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/lib/vcr/util/version_checker.rb +48 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/lib/vcr/version.rb +34 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/spec/acceptance/concurrency_spec.rb +51 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/spec/acceptance/threading_spec.rb +34 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/spec/fixtures/cassette_spec/1_x_cassette.yml +110 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/spec/fixtures/cassette_spec/empty.yml +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/spec/fixtures/cassette_spec/example.yml +111 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/spec/fixtures/cassette_spec/with_localhost_requests.yml +111 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/spec/fixtures/fake_example_responses.yml +110 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/spec/fixtures/match_requests_on.yml +187 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/spec/lib/vcr/cassette/erb_renderer_spec.rb +53 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/spec/lib/vcr/cassette/http_interaction_list_spec.rb +295 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/spec/lib/vcr/cassette/migrator_spec.rb +196 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/spec/lib/vcr/cassette/persisters/file_system_spec.rb +75 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/spec/lib/vcr/cassette/persisters_spec.rb +39 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/spec/lib/vcr/cassette/serializers_spec.rb +182 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/spec/lib/vcr/cassette_spec.rb +618 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/spec/lib/vcr/configuration_spec.rb +326 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/spec/lib/vcr/deprecations_spec.rb +85 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/spec/lib/vcr/errors_spec.rb +178 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/spec/lib/vcr/extensions/net_http_response_spec.rb +86 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/spec/lib/vcr/library_hooks/excon_spec.rb +104 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/spec/lib/vcr/library_hooks/fakeweb_spec.rb +169 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/spec/lib/vcr/library_hooks/faraday_spec.rb +68 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/spec/lib/vcr/library_hooks/typhoeus_0.4_spec.rb +36 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/spec/lib/vcr/library_hooks/typhoeus_spec.rb +162 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/spec/lib/vcr/library_hooks/webmock_spec.rb +117 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/spec/lib/vcr/library_hooks_spec.rb +51 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/spec/lib/vcr/middleware/faraday_spec.rb +181 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/spec/lib/vcr/middleware/rack_spec.rb +115 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/spec/lib/vcr/request_ignorer_spec.rb +70 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/spec/lib/vcr/request_matcher_registry_spec.rb +345 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/spec/lib/vcr/structs_spec.rb +732 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/spec/lib/vcr/test_frameworks/cucumber_spec.rb +107 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/spec/lib/vcr/test_frameworks/rspec_spec.rb +94 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/spec/lib/vcr/util/hooks_spec.rb +158 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/spec/lib/vcr/util/internet_connection_spec.rb +37 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/spec/lib/vcr/util/version_checker_spec.rb +31 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/spec/lib/vcr/version_spec.rb +27 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/spec/lib/vcr_spec.rb +354 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/spec/monkey_patches.rb +186 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/spec/spec_helper.rb +63 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/spec/support/configuration_stubbing.rb +8 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/spec/support/cucumber_helpers.rb +39 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/spec/support/fixnum_extension.rb +10 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/spec/support/http_library_adapters.rb +289 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/spec/support/limited_uri.rb +21 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/spec/support/ruby_interpreter.rb +7 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/spec/support/shared_example_groups/excon.rb +63 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/spec/support/shared_example_groups/hook_into_http_library.rb +594 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/spec/support/shared_example_groups/request_hooks.rb +59 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/spec/support/sinatra_app.rb +86 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/spec/support/vcr_localhost_server.rb +76 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/spec/support/vcr_stub_helpers.rb +17 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/.gemtest +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/.gitignore +34 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/.rspec-tm +2 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/.travis.yml +32 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/Appraisals +3 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/CHANGELOG.md +1349 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/Gemfile +19 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/LICENSE +20 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/README.md +1060 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/Rakefile +53 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/gemfiles/ruby_1_8.gemfile +21 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/lib/webmock.rb +66 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/lib/webmock/api.rb +96 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/lib/webmock/assertion_failure.rb +11 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/lib/webmock/callback_registry.rb +35 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/lib/webmock/config.rb +18 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/lib/webmock/cucumber.rb +8 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/lib/webmock/deprecation.rb +9 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/lib/webmock/errors.rb +17 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/lib/webmock/http_lib_adapters/curb_adapter.rb +272 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/lib/webmock/http_lib_adapters/em_http_request/em_http_request_0_x.rb +147 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/lib/webmock/http_lib_adapters/em_http_request/em_http_request_1_x.rb +228 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/lib/webmock/http_lib_adapters/em_http_request_adapter.rb +11 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/lib/webmock/http_lib_adapters/excon_adapter.rb +154 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/lib/webmock/http_lib_adapters/http_lib_adapter.rb +7 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/lib/webmock/http_lib_adapters/http_lib_adapter_registry.rb +19 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/lib/webmock/http_lib_adapters/http_rb/client.rb +14 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/lib/webmock/http_lib_adapters/http_rb/request.rb +10 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/lib/webmock/http_lib_adapters/http_rb/response.rb +43 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/lib/webmock/http_lib_adapters/http_rb/streamer.rb +25 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/lib/webmock/http_lib_adapters/http_rb/webmock.rb +68 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/lib/webmock/http_lib_adapters/http_rb_adapter.rb +37 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/lib/webmock/http_lib_adapters/httpclient_adapter.rb +277 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/lib/webmock/http_lib_adapters/manticore_adapter.rb +123 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/lib/webmock/http_lib_adapters/net_http.rb +338 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/lib/webmock/http_lib_adapters/net_http_response.rb +34 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/lib/webmock/http_lib_adapters/patron_adapter.rb +126 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/lib/webmock/http_lib_adapters/typhoeus_hydra_adapter.rb +170 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/lib/webmock/matchers/hash_including_matcher.rb +36 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/lib/webmock/minitest.rb +39 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/lib/webmock/rack_response.rb +69 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/lib/webmock/request_body_diff.rb +63 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/lib/webmock/request_execution_verifier.rb +78 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/lib/webmock/request_pattern.rb +328 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/lib/webmock/request_registry.rb +35 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/lib/webmock/request_signature.rb +54 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/lib/webmock/request_signature_snippet.rb +61 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/lib/webmock/request_stub.rb +100 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/lib/webmock/response.rb +160 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/lib/webmock/responses_sequence.rb +40 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/lib/webmock/rspec.rb +33 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/lib/webmock/rspec/matchers.rb +27 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/lib/webmock/rspec/matchers/request_pattern_matcher.rb +78 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/lib/webmock/rspec/matchers/webmock_matcher.rb +52 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/lib/webmock/stub_registry.rb +67 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/lib/webmock/stub_request_snippet.rb +34 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/lib/webmock/test_unit.rb +20 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/lib/webmock/util/hash_counter.rb +32 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/lib/webmock/util/hash_keys_stringifier.rb +25 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/lib/webmock/util/hash_validator.rb +17 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/lib/webmock/util/headers.rb +43 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/lib/webmock/util/json.rb +78 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/lib/webmock/util/query_mapper.rb +279 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/lib/webmock/util/uri.rb +111 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/lib/webmock/util/version_checker.rb +107 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/lib/webmock/version.rb +3 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/lib/webmock/webmock.rb +158 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/minitest/test_helper.rb +34 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/minitest/test_webmock.rb +9 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/minitest/webmock_spec.rb +60 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/spec/acceptance/curb/curb_spec.rb +416 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/spec/acceptance/curb/curb_spec_helper.rb +144 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/spec/acceptance/em_http_request/em_http_request_spec.rb +406 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/spec/acceptance/em_http_request/em_http_request_spec_helper.rb +73 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/spec/acceptance/excon/excon_spec.rb +75 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/spec/acceptance/excon/excon_spec_helper.rb +43 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/spec/acceptance/http_rb/http_rb_spec.rb +73 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/spec/acceptance/http_rb/http_rb_spec_helper.rb +45 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/spec/acceptance/httpclient/httpclient_spec.rb +205 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/spec/acceptance/httpclient/httpclient_spec_helper.rb +48 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/spec/acceptance/manticore/manticore_spec.rb +56 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/spec/acceptance/manticore/manticore_spec_helper.rb +31 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/spec/acceptance/net_http/net_http_shared.rb +142 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/spec/acceptance/net_http/net_http_spec.rb +316 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/spec/acceptance/net_http/net_http_spec_helper.rb +55 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/spec/acceptance/net_http/real_net_http_spec.rb +20 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/spec/acceptance/patron/patron_spec.rb +134 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/spec/acceptance/patron/patron_spec_helper.rb +51 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/spec/acceptance/shared/allowing_and_disabling_net_connect.rb +313 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/spec/acceptance/shared/callbacks.rb +147 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/spec/acceptance/shared/complex_cross_concern_behaviors.rb +36 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/spec/acceptance/shared/enabling_and_disabling_webmock.rb +95 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/spec/acceptance/shared/precedence_of_stubs.rb +15 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/spec/acceptance/shared/request_expectations.rb +859 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/spec/acceptance/shared/returning_declared_responses.rb +388 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/spec/acceptance/shared/stubbing_requests.rb +528 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/spec/acceptance/typhoeus/typhoeus_hydra_spec.rb +135 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/spec/acceptance/typhoeus/typhoeus_hydra_spec_helper.rb +57 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/spec/acceptance/webmock_shared.rb +41 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/spec/fixtures/test.txt +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/spec/quality_spec.rb +84 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/spec/spec_helper.rb +52 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/spec/support/example_curl_output.txt +22 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/spec/support/failures.rb +9 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/spec/support/my_rack_app.rb +53 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/spec/support/network_connection.rb +19 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/spec/support/webmock_server.rb +69 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/spec/unit/api_spec.rb +75 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/spec/unit/errors_spec.rb +129 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/spec/unit/http_lib_adapters/http_lib_adapter_registry_spec.rb +17 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/spec/unit/http_lib_adapters/http_lib_adapter_spec.rb +12 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/spec/unit/matchers/hash_including_matcher_spec.rb +87 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/spec/unit/rack_response_spec.rb +102 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/spec/unit/request_body_diff_spec.rb +90 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/spec/unit/request_execution_verifier_spec.rb +208 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/spec/unit/request_pattern_spec.rb +590 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/spec/unit/request_registry_spec.rb +76 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/spec/unit/request_signature_snippet_spec.rb +89 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/spec/unit/request_signature_spec.rb +155 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/spec/unit/request_stub_spec.rb +199 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/spec/unit/response_spec.rb +282 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/spec/unit/stub_registry_spec.rb +103 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/spec/unit/stub_request_snippet_spec.rb +95 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/spec/unit/util/hash_counter_spec.rb +39 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/spec/unit/util/hash_keys_stringifier_spec.rb +27 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/spec/unit/util/headers_spec.rb +28 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/spec/unit/util/json_spec.rb +33 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/spec/unit/util/query_mapper_spec.rb +138 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/spec/unit/util/uri_spec.rb +299 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/spec/unit/util/version_checker_spec.rb +65 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/spec/unit/webmock_spec.rb +11 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/test/http_request.rb +24 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/test/shared_test.rb +88 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/test/test_helper.rb +23 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/test/test_webmock.rb +6 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/webmock.gemspec +44 -0
- data/vendor/bundle/ruby/2.3.0/specifications/ZenTest-4.11.2.gemspec +40 -0
- data/vendor/bundle/ruby/2.3.0/specifications/addressable-2.5.2.gemspec +39 -0
- data/vendor/bundle/ruby/2.3.0/specifications/ast-2.4.0.gemspec +59 -0
- data/vendor/bundle/ruby/2.3.0/specifications/autotest-4.4.6.gemspec +44 -0
- data/vendor/bundle/ruby/2.3.0/specifications/autotest-fsevent-0.2.14.gemspec +45 -0
- data/vendor/bundle/ruby/2.3.0/specifications/autotest-growl-0.2.16.gemspec +39 -0
- data/vendor/bundle/ruby/2.3.0/specifications/autotest-rails-pure-4.1.2.gemspec +18 -0
- data/vendor/bundle/ruby/2.3.0/specifications/byebug-10.0.2.gemspec +39 -0
- data/vendor/bundle/ruby/2.3.0/specifications/coderay-1.1.2.gemspec +26 -0
- data/vendor/bundle/ruby/2.3.0/specifications/crack-0.4.3.gemspec +32 -0
- data/vendor/bundle/ruby/2.3.0/specifications/diff-lcs-1.3.gemspec +61 -0
- data/vendor/bundle/ruby/2.3.0/specifications/ethon-0.11.0.gemspec +32 -0
- data/vendor/bundle/ruby/2.3.0/specifications/ffi-1.9.25.gemspec +49 -0
- data/vendor/bundle/ruby/2.3.0/specifications/hashdiff-0.3.7.gemspec +39 -0
- data/vendor/bundle/ruby/2.3.0/specifications/jaro_winkler-1.5.3.gemspec +44 -0
- data/vendor/bundle/ruby/2.3.0/specifications/json-2.1.0.gemspec +0 -0
- data/vendor/bundle/ruby/2.3.0/specifications/method_source-0.9.0.gemspec +34 -0
- data/vendor/bundle/ruby/2.3.0/specifications/parallel-1.17.0.gemspec +20 -0
- data/vendor/bundle/ruby/2.3.0/specifications/parser-2.6.3.0.gemspec +62 -0
- data/vendor/bundle/ruby/2.3.0/specifications/pry-0.11.3.gemspec +41 -0
- data/vendor/bundle/ruby/2.3.0/specifications/pry-byebug-3.6.0.gemspec +38 -0
- data/vendor/bundle/ruby/2.3.0/specifications/psych-3.1.0.gemspec +44 -0
- data/vendor/bundle/ruby/2.3.0/specifications/public_suffix-3.0.3.gemspec +41 -0
- data/vendor/bundle/ruby/2.3.0/specifications/rainbow-3.0.0.gemspec +33 -0
- data/vendor/bundle/ruby/2.3.0/specifications/rake-12.0.0.gemspec +43 -0
- data/vendor/bundle/ruby/2.3.0/specifications/rspec-3.8.0.gemspec +42 -0
- data/vendor/bundle/ruby/2.3.0/specifications/rspec-core-3.8.0.gemspec +62 -0
- data/vendor/bundle/ruby/2.3.0/specifications/rspec-expectations-3.8.1.gemspec +50 -0
- data/vendor/bundle/ruby/2.3.0/specifications/rspec-mocks-3.8.0.gemspec +50 -0
- data/vendor/bundle/ruby/2.3.0/specifications/rspec-support-3.8.0.gemspec +41 -0
- data/vendor/bundle/ruby/2.3.0/specifications/rubocop-0.66.0.gemspec +62 -0
- data/vendor/bundle/ruby/2.3.0/specifications/ruby-progressbar-1.10.1.gemspec +46 -0
- data/vendor/bundle/ruby/2.3.0/specifications/safe_yaml-1.0.4.gemspec +23 -0
- data/vendor/bundle/ruby/2.3.0/specifications/sys-uname-1.0.3.gemspec +35 -0
- data/vendor/bundle/ruby/2.3.0/specifications/typhoeus-1.3.0.gemspec +32 -0
- data/vendor/bundle/ruby/2.3.0/specifications/unicode-display_width-1.5.0.gemspec +39 -0
- data/vendor/bundle/ruby/2.3.0/specifications/vcr-3.0.3.gemspec +96 -0
- data/vendor/bundle/ruby/2.3.0/specifications/webmock-1.24.6.gemspec +75 -0
- metadata +3314 -26
- data/spec/models/action_spec.rb +0 -57
- data/spec/models/message_object_spec.rb +0 -71
- data/spec/models/message_push_request_spec.rb +0 -59
- data/spec/models/message_push_response_spec.rb +0 -41
- data/spec/models/page_response_of_message_object_spec.rb +0 -53
- data/spec/models/result_of_message_object_spec.rb +0 -53
- data/spec/models/result_of_message_push_response_spec.rb +0 -53
- data/spec/models/result_of_page_response_of_message_object_spec.rb +0 -53
- data/spec/models/result_spec.rb +0 -53
@@ -0,0 +1 @@
|
|
1
|
+
2.1.0
|
@@ -0,0 +1 @@
|
|
1
|
+
{"a":2,"b":3.141,"TIME":"2007-03-14T11:52:40","c":"c","d":[1,"b",3.14],"COUNT":666,"e":{"foo":"bar"},"foo":"B\u00e4r","g":"\u677e\u672c\u884c\u5f18","h":1000.0,"bar":"\u00a9 \u2260 \u20ac!","i":0.001,"j":"\ud840\udc01"}
|
@@ -0,0 +1,38 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
2
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
3
|
+
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
4
|
+
<head>
|
5
|
+
<title>Javascript Example</title>
|
6
|
+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
|
7
|
+
<script src="prototype.js" type="text/javascript"></script>
|
8
|
+
</head>
|
9
|
+
|
10
|
+
<body>
|
11
|
+
<h1>Fetching object from server</h1>
|
12
|
+
<div id="list">
|
13
|
+
Wait...<br/>
|
14
|
+
<noscript><p>Switch on Javascript!</p></noscript>
|
15
|
+
</div>
|
16
|
+
<script type="text/javascript">
|
17
|
+
<!--
|
18
|
+
function pollJSON() {
|
19
|
+
new Ajax.Request('/json',
|
20
|
+
{
|
21
|
+
method: 'get',
|
22
|
+
onSuccess: function(transport) {
|
23
|
+
var response = transport.responseText || "no response text";
|
24
|
+
response = eval("(" + response + ")");
|
25
|
+
var text = "";
|
26
|
+
for (var k in response) {
|
27
|
+
text = text + "<b>" + k + "</b>: " + response[k] + "<br/>"
|
28
|
+
}
|
29
|
+
$("list").update(text);
|
30
|
+
},
|
31
|
+
onFailure: function() { alert('Something went wrong...') }
|
32
|
+
});
|
33
|
+
}
|
34
|
+
new PeriodicalExecuter(pollJSON, 1);
|
35
|
+
-->
|
36
|
+
</script>
|
37
|
+
</body>
|
38
|
+
</html>
|
@@ -0,0 +1,4184 @@
|
|
1
|
+
/* Prototype JavaScript framework, version 1.6.0
|
2
|
+
* (c) 2005-2007 Sam Stephenson
|
3
|
+
*
|
4
|
+
* Prototype is freely distributable under the terms of an MIT-style license.
|
5
|
+
* For details, see the Prototype web site: http://www.prototypejs.org/
|
6
|
+
*
|
7
|
+
*--------------------------------------------------------------------------*/
|
8
|
+
|
9
|
+
var Prototype = {
|
10
|
+
Version: '1.6.0',
|
11
|
+
|
12
|
+
Browser: {
|
13
|
+
IE: !!(window.attachEvent && !window.opera),
|
14
|
+
Opera: !!window.opera,
|
15
|
+
WebKit: navigator.userAgent.indexOf('AppleWebKit/') > -1,
|
16
|
+
Gecko: navigator.userAgent.indexOf('Gecko') > -1 && navigator.userAgent.indexOf('KHTML') == -1,
|
17
|
+
MobileSafari: !!navigator.userAgent.match(/Apple.*Mobile.*Safari/)
|
18
|
+
},
|
19
|
+
|
20
|
+
BrowserFeatures: {
|
21
|
+
XPath: !!document.evaluate,
|
22
|
+
ElementExtensions: !!window.HTMLElement,
|
23
|
+
SpecificElementExtensions:
|
24
|
+
document.createElement('div').__proto__ &&
|
25
|
+
document.createElement('div').__proto__ !==
|
26
|
+
document.createElement('form').__proto__
|
27
|
+
},
|
28
|
+
|
29
|
+
ScriptFragment: '<script[^>]*>([\\S\\s]*?)<\/script>',
|
30
|
+
JSONFilter: /^\/\*-secure-([\s\S]*)\*\/\s*$/,
|
31
|
+
|
32
|
+
emptyFunction: function() { },
|
33
|
+
K: function(x) { return x }
|
34
|
+
};
|
35
|
+
|
36
|
+
if (Prototype.Browser.MobileSafari)
|
37
|
+
Prototype.BrowserFeatures.SpecificElementExtensions = false;
|
38
|
+
|
39
|
+
if (Prototype.Browser.WebKit)
|
40
|
+
Prototype.BrowserFeatures.XPath = false;
|
41
|
+
|
42
|
+
/* Based on Alex Arnell's inheritance implementation. */
|
43
|
+
var Class = {
|
44
|
+
create: function() {
|
45
|
+
var parent = null, properties = $A(arguments);
|
46
|
+
if (Object.isFunction(properties[0]))
|
47
|
+
parent = properties.shift();
|
48
|
+
|
49
|
+
function klass() {
|
50
|
+
this.initialize.apply(this, arguments);
|
51
|
+
}
|
52
|
+
|
53
|
+
Object.extend(klass, Class.Methods);
|
54
|
+
klass.superclass = parent;
|
55
|
+
klass.subclasses = [];
|
56
|
+
|
57
|
+
if (parent) {
|
58
|
+
var subclass = function() { };
|
59
|
+
subclass.prototype = parent.prototype;
|
60
|
+
klass.prototype = new subclass;
|
61
|
+
parent.subclasses.push(klass);
|
62
|
+
}
|
63
|
+
|
64
|
+
for (var i = 0; i < properties.length; i++)
|
65
|
+
klass.addMethods(properties[i]);
|
66
|
+
|
67
|
+
if (!klass.prototype.initialize)
|
68
|
+
klass.prototype.initialize = Prototype.emptyFunction;
|
69
|
+
|
70
|
+
klass.prototype.constructor = klass;
|
71
|
+
|
72
|
+
return klass;
|
73
|
+
}
|
74
|
+
};
|
75
|
+
|
76
|
+
Class.Methods = {
|
77
|
+
addMethods: function(source) {
|
78
|
+
var ancestor = this.superclass && this.superclass.prototype;
|
79
|
+
var properties = Object.keys(source);
|
80
|
+
|
81
|
+
if (!Object.keys({ toString: true }).length)
|
82
|
+
properties.push("toString", "valueOf");
|
83
|
+
|
84
|
+
for (var i = 0, length = properties.length; i < length; i++) {
|
85
|
+
var property = properties[i], value = source[property];
|
86
|
+
if (ancestor && Object.isFunction(value) &&
|
87
|
+
value.argumentNames().first() == "$super") {
|
88
|
+
var method = value, value = Object.extend((function(m) {
|
89
|
+
return function() { return ancestor[m].apply(this, arguments) };
|
90
|
+
})(property).wrap(method), {
|
91
|
+
valueOf: function() { return method },
|
92
|
+
toString: function() { return method.toString() }
|
93
|
+
});
|
94
|
+
}
|
95
|
+
this.prototype[property] = value;
|
96
|
+
}
|
97
|
+
|
98
|
+
return this;
|
99
|
+
}
|
100
|
+
};
|
101
|
+
|
102
|
+
var Abstract = { };
|
103
|
+
|
104
|
+
Object.extend = function(destination, source) {
|
105
|
+
for (var property in source)
|
106
|
+
destination[property] = source[property];
|
107
|
+
return destination;
|
108
|
+
};
|
109
|
+
|
110
|
+
Object.extend(Object, {
|
111
|
+
inspect: function(object) {
|
112
|
+
try {
|
113
|
+
if (object === undefined) return 'undefined';
|
114
|
+
if (object === null) return 'null';
|
115
|
+
return object.inspect ? object.inspect() : object.toString();
|
116
|
+
} catch (e) {
|
117
|
+
if (e instanceof RangeError) return '...';
|
118
|
+
throw e;
|
119
|
+
}
|
120
|
+
},
|
121
|
+
|
122
|
+
toJSON: function(object) {
|
123
|
+
var type = typeof object;
|
124
|
+
switch (type) {
|
125
|
+
case 'undefined':
|
126
|
+
case 'function':
|
127
|
+
case 'unknown': return;
|
128
|
+
case 'boolean': return object.toString();
|
129
|
+
}
|
130
|
+
|
131
|
+
if (object === null) return 'null';
|
132
|
+
if (object.toJSON) return object.toJSON();
|
133
|
+
if (Object.isElement(object)) return;
|
134
|
+
|
135
|
+
var results = [];
|
136
|
+
for (var property in object) {
|
137
|
+
var value = Object.toJSON(object[property]);
|
138
|
+
if (value !== undefined)
|
139
|
+
results.push(property.toJSON() + ': ' + value);
|
140
|
+
}
|
141
|
+
|
142
|
+
return '{' + results.join(', ') + '}';
|
143
|
+
},
|
144
|
+
|
145
|
+
toQueryString: function(object) {
|
146
|
+
return $H(object).toQueryString();
|
147
|
+
},
|
148
|
+
|
149
|
+
toHTML: function(object) {
|
150
|
+
return object && object.toHTML ? object.toHTML() : String.interpret(object);
|
151
|
+
},
|
152
|
+
|
153
|
+
keys: function(object) {
|
154
|
+
var keys = [];
|
155
|
+
for (var property in object)
|
156
|
+
keys.push(property);
|
157
|
+
return keys;
|
158
|
+
},
|
159
|
+
|
160
|
+
values: function(object) {
|
161
|
+
var values = [];
|
162
|
+
for (var property in object)
|
163
|
+
values.push(object[property]);
|
164
|
+
return values;
|
165
|
+
},
|
166
|
+
|
167
|
+
clone: function(object) {
|
168
|
+
return Object.extend({ }, object);
|
169
|
+
},
|
170
|
+
|
171
|
+
isElement: function(object) {
|
172
|
+
return object && object.nodeType == 1;
|
173
|
+
},
|
174
|
+
|
175
|
+
isArray: function(object) {
|
176
|
+
return object && object.constructor === Array;
|
177
|
+
},
|
178
|
+
|
179
|
+
isHash: function(object) {
|
180
|
+
return object instanceof Hash;
|
181
|
+
},
|
182
|
+
|
183
|
+
isFunction: function(object) {
|
184
|
+
return typeof object == "function";
|
185
|
+
},
|
186
|
+
|
187
|
+
isString: function(object) {
|
188
|
+
return typeof object == "string";
|
189
|
+
},
|
190
|
+
|
191
|
+
isNumber: function(object) {
|
192
|
+
return typeof object == "number";
|
193
|
+
},
|
194
|
+
|
195
|
+
isUndefined: function(object) {
|
196
|
+
return typeof object == "undefined";
|
197
|
+
}
|
198
|
+
});
|
199
|
+
|
200
|
+
Object.extend(Function.prototype, {
|
201
|
+
argumentNames: function() {
|
202
|
+
var names = this.toString().match(/^[\s\(]*function[^(]*\((.*?)\)/)[1].split(",").invoke("strip");
|
203
|
+
return names.length == 1 && !names[0] ? [] : names;
|
204
|
+
},
|
205
|
+
|
206
|
+
bind: function() {
|
207
|
+
if (arguments.length < 2 && arguments[0] === undefined) return this;
|
208
|
+
var __method = this, args = $A(arguments), object = args.shift();
|
209
|
+
return function() {
|
210
|
+
return __method.apply(object, args.concat($A(arguments)));
|
211
|
+
}
|
212
|
+
},
|
213
|
+
|
214
|
+
bindAsEventListener: function() {
|
215
|
+
var __method = this, args = $A(arguments), object = args.shift();
|
216
|
+
return function(event) {
|
217
|
+
return __method.apply(object, [event || window.event].concat(args));
|
218
|
+
}
|
219
|
+
},
|
220
|
+
|
221
|
+
curry: function() {
|
222
|
+
if (!arguments.length) return this;
|
223
|
+
var __method = this, args = $A(arguments);
|
224
|
+
return function() {
|
225
|
+
return __method.apply(this, args.concat($A(arguments)));
|
226
|
+
}
|
227
|
+
},
|
228
|
+
|
229
|
+
delay: function() {
|
230
|
+
var __method = this, args = $A(arguments), timeout = args.shift() * 1000;
|
231
|
+
return window.setTimeout(function() {
|
232
|
+
return __method.apply(__method, args);
|
233
|
+
}, timeout);
|
234
|
+
},
|
235
|
+
|
236
|
+
wrap: function(wrapper) {
|
237
|
+
var __method = this;
|
238
|
+
return function() {
|
239
|
+
return wrapper.apply(this, [__method.bind(this)].concat($A(arguments)));
|
240
|
+
}
|
241
|
+
},
|
242
|
+
|
243
|
+
methodize: function() {
|
244
|
+
if (this._methodized) return this._methodized;
|
245
|
+
var __method = this;
|
246
|
+
return this._methodized = function() {
|
247
|
+
return __method.apply(null, [this].concat($A(arguments)));
|
248
|
+
};
|
249
|
+
}
|
250
|
+
});
|
251
|
+
|
252
|
+
Function.prototype.defer = Function.prototype.delay.curry(0.01);
|
253
|
+
|
254
|
+
Date.prototype.toJSON = function() {
|
255
|
+
return '"' + this.getUTCFullYear() + '-' +
|
256
|
+
(this.getUTCMonth() + 1).toPaddedString(2) + '-' +
|
257
|
+
this.getUTCDate().toPaddedString(2) + 'T' +
|
258
|
+
this.getUTCHours().toPaddedString(2) + ':' +
|
259
|
+
this.getUTCMinutes().toPaddedString(2) + ':' +
|
260
|
+
this.getUTCSeconds().toPaddedString(2) + 'Z"';
|
261
|
+
};
|
262
|
+
|
263
|
+
var Try = {
|
264
|
+
these: function() {
|
265
|
+
var returnValue;
|
266
|
+
|
267
|
+
for (var i = 0, length = arguments.length; i < length; i++) {
|
268
|
+
var lambda = arguments[i];
|
269
|
+
try {
|
270
|
+
returnValue = lambda();
|
271
|
+
break;
|
272
|
+
} catch (e) { }
|
273
|
+
}
|
274
|
+
|
275
|
+
return returnValue;
|
276
|
+
}
|
277
|
+
};
|
278
|
+
|
279
|
+
RegExp.prototype.match = RegExp.prototype.test;
|
280
|
+
|
281
|
+
RegExp.escape = function(str) {
|
282
|
+
return String(str).replace(/([.*+?^=!:${}()|[\]\/\\])/g, '\\$1');
|
283
|
+
};
|
284
|
+
|
285
|
+
/*--------------------------------------------------------------------------*/
|
286
|
+
|
287
|
+
var PeriodicalExecuter = Class.create({
|
288
|
+
initialize: function(callback, frequency) {
|
289
|
+
this.callback = callback;
|
290
|
+
this.frequency = frequency;
|
291
|
+
this.currentlyExecuting = false;
|
292
|
+
|
293
|
+
this.registerCallback();
|
294
|
+
},
|
295
|
+
|
296
|
+
registerCallback: function() {
|
297
|
+
this.timer = setInterval(this.onTimerEvent.bind(this), this.frequency * 1000);
|
298
|
+
},
|
299
|
+
|
300
|
+
execute: function() {
|
301
|
+
this.callback(this);
|
302
|
+
},
|
303
|
+
|
304
|
+
stop: function() {
|
305
|
+
if (!this.timer) return;
|
306
|
+
clearInterval(this.timer);
|
307
|
+
this.timer = null;
|
308
|
+
},
|
309
|
+
|
310
|
+
onTimerEvent: function() {
|
311
|
+
if (!this.currentlyExecuting) {
|
312
|
+
try {
|
313
|
+
this.currentlyExecuting = true;
|
314
|
+
this.execute();
|
315
|
+
} finally {
|
316
|
+
this.currentlyExecuting = false;
|
317
|
+
}
|
318
|
+
}
|
319
|
+
}
|
320
|
+
});
|
321
|
+
Object.extend(String, {
|
322
|
+
interpret: function(value) {
|
323
|
+
return value == null ? '' : String(value);
|
324
|
+
},
|
325
|
+
specialChar: {
|
326
|
+
'\b': '\\b',
|
327
|
+
'\t': '\\t',
|
328
|
+
'\n': '\\n',
|
329
|
+
'\f': '\\f',
|
330
|
+
'\r': '\\r',
|
331
|
+
'\\': '\\\\'
|
332
|
+
}
|
333
|
+
});
|
334
|
+
|
335
|
+
Object.extend(String.prototype, {
|
336
|
+
gsub: function(pattern, replacement) {
|
337
|
+
var result = '', source = this, match;
|
338
|
+
replacement = arguments.callee.prepareReplacement(replacement);
|
339
|
+
|
340
|
+
while (source.length > 0) {
|
341
|
+
if (match = source.match(pattern)) {
|
342
|
+
result += source.slice(0, match.index);
|
343
|
+
result += String.interpret(replacement(match));
|
344
|
+
source = source.slice(match.index + match[0].length);
|
345
|
+
} else {
|
346
|
+
result += source, source = '';
|
347
|
+
}
|
348
|
+
}
|
349
|
+
return result;
|
350
|
+
},
|
351
|
+
|
352
|
+
sub: function(pattern, replacement, count) {
|
353
|
+
replacement = this.gsub.prepareReplacement(replacement);
|
354
|
+
count = count === undefined ? 1 : count;
|
355
|
+
|
356
|
+
return this.gsub(pattern, function(match) {
|
357
|
+
if (--count < 0) return match[0];
|
358
|
+
return replacement(match);
|
359
|
+
});
|
360
|
+
},
|
361
|
+
|
362
|
+
scan: function(pattern, iterator) {
|
363
|
+
this.gsub(pattern, iterator);
|
364
|
+
return String(this);
|
365
|
+
},
|
366
|
+
|
367
|
+
truncate: function(length, truncation) {
|
368
|
+
length = length || 30;
|
369
|
+
truncation = truncation === undefined ? '...' : truncation;
|
370
|
+
return this.length > length ?
|
371
|
+
this.slice(0, length - truncation.length) + truncation : String(this);
|
372
|
+
},
|
373
|
+
|
374
|
+
strip: function() {
|
375
|
+
return this.replace(/^\s+/, '').replace(/\s+$/, '');
|
376
|
+
},
|
377
|
+
|
378
|
+
stripTags: function() {
|
379
|
+
return this.replace(/<\/?[^>]+>/gi, '');
|
380
|
+
},
|
381
|
+
|
382
|
+
stripScripts: function() {
|
383
|
+
return this.replace(new RegExp(Prototype.ScriptFragment, 'img'), '');
|
384
|
+
},
|
385
|
+
|
386
|
+
extractScripts: function() {
|
387
|
+
var matchAll = new RegExp(Prototype.ScriptFragment, 'img');
|
388
|
+
var matchOne = new RegExp(Prototype.ScriptFragment, 'im');
|
389
|
+
return (this.match(matchAll) || []).map(function(scriptTag) {
|
390
|
+
return (scriptTag.match(matchOne) || ['', ''])[1];
|
391
|
+
});
|
392
|
+
},
|
393
|
+
|
394
|
+
evalScripts: function() {
|
395
|
+
return this.extractScripts().map(function(script) { return eval(script) });
|
396
|
+
},
|
397
|
+
|
398
|
+
escapeHTML: function() {
|
399
|
+
var self = arguments.callee;
|
400
|
+
self.text.data = this;
|
401
|
+
return self.div.innerHTML;
|
402
|
+
},
|
403
|
+
|
404
|
+
unescapeHTML: function() {
|
405
|
+
var div = new Element('div');
|
406
|
+
div.innerHTML = this.stripTags();
|
407
|
+
return div.childNodes[0] ? (div.childNodes.length > 1 ?
|
408
|
+
$A(div.childNodes).inject('', function(memo, node) { return memo+node.nodeValue }) :
|
409
|
+
div.childNodes[0].nodeValue) : '';
|
410
|
+
},
|
411
|
+
|
412
|
+
toQueryParams: function(separator) {
|
413
|
+
var match = this.strip().match(/([^?#]*)(#.*)?$/);
|
414
|
+
if (!match) return { };
|
415
|
+
|
416
|
+
return match[1].split(separator || '&').inject({ }, function(hash, pair) {
|
417
|
+
if ((pair = pair.split('='))[0]) {
|
418
|
+
var key = decodeURIComponent(pair.shift());
|
419
|
+
var value = pair.length > 1 ? pair.join('=') : pair[0];
|
420
|
+
if (value != undefined) value = decodeURIComponent(value);
|
421
|
+
|
422
|
+
if (key in hash) {
|
423
|
+
if (!Object.isArray(hash[key])) hash[key] = [hash[key]];
|
424
|
+
hash[key].push(value);
|
425
|
+
}
|
426
|
+
else hash[key] = value;
|
427
|
+
}
|
428
|
+
return hash;
|
429
|
+
});
|
430
|
+
},
|
431
|
+
|
432
|
+
toArray: function() {
|
433
|
+
return this.split('');
|
434
|
+
},
|
435
|
+
|
436
|
+
succ: function() {
|
437
|
+
return this.slice(0, this.length - 1) +
|
438
|
+
String.fromCharCode(this.charCodeAt(this.length - 1) + 1);
|
439
|
+
},
|
440
|
+
|
441
|
+
times: function(count) {
|
442
|
+
return count < 1 ? '' : new Array(count + 1).join(this);
|
443
|
+
},
|
444
|
+
|
445
|
+
camelize: function() {
|
446
|
+
var parts = this.split('-'), len = parts.length;
|
447
|
+
if (len == 1) return parts[0];
|
448
|
+
|
449
|
+
var camelized = this.charAt(0) == '-'
|
450
|
+
? parts[0].charAt(0).toUpperCase() + parts[0].substring(1)
|
451
|
+
: parts[0];
|
452
|
+
|
453
|
+
for (var i = 1; i < len; i++)
|
454
|
+
camelized += parts[i].charAt(0).toUpperCase() + parts[i].substring(1);
|
455
|
+
|
456
|
+
return camelized;
|
457
|
+
},
|
458
|
+
|
459
|
+
capitalize: function() {
|
460
|
+
return this.charAt(0).toUpperCase() + this.substring(1).toLowerCase();
|
461
|
+
},
|
462
|
+
|
463
|
+
underscore: function() {
|
464
|
+
return this.gsub(/::/, '/').gsub(/([A-Z]+)([A-Z][a-z])/,'#{1}_#{2}').gsub(/([a-z\d])([A-Z])/,'#{1}_#{2}').gsub(/-/,'_').toLowerCase();
|
465
|
+
},
|
466
|
+
|
467
|
+
dasherize: function() {
|
468
|
+
return this.gsub(/_/,'-');
|
469
|
+
},
|
470
|
+
|
471
|
+
inspect: function(useDoubleQuotes) {
|
472
|
+
var escapedString = this.gsub(/[\x00-\x1f\\]/, function(match) {
|
473
|
+
var character = String.specialChar[match[0]];
|
474
|
+
return character ? character : '\\u00' + match[0].charCodeAt().toPaddedString(2, 16);
|
475
|
+
});
|
476
|
+
if (useDoubleQuotes) return '"' + escapedString.replace(/"/g, '\\"') + '"';
|
477
|
+
return "'" + escapedString.replace(/'/g, '\\\'') + "'";
|
478
|
+
},
|
479
|
+
|
480
|
+
toJSON: function() {
|
481
|
+
return this.inspect(true);
|
482
|
+
},
|
483
|
+
|
484
|
+
unfilterJSON: function(filter) {
|
485
|
+
return this.sub(filter || Prototype.JSONFilter, '#{1}');
|
486
|
+
},
|
487
|
+
|
488
|
+
isJSON: function() {
|
489
|
+
var str = this.replace(/\\./g, '@').replace(/"[^"\\\n\r]*"/g, '');
|
490
|
+
return (/^[,:{}\[\]0-9.\-+Eaeflnr-u \n\r\t]*$/).test(str);
|
491
|
+
},
|
492
|
+
|
493
|
+
evalJSON: function(sanitize) {
|
494
|
+
var json = this.unfilterJSON();
|
495
|
+
try {
|
496
|
+
if (!sanitize || json.isJSON()) return eval('(' + json + ')');
|
497
|
+
} catch (e) { }
|
498
|
+
throw new SyntaxError('Badly formed JSON string: ' + this.inspect());
|
499
|
+
},
|
500
|
+
|
501
|
+
include: function(pattern) {
|
502
|
+
return this.indexOf(pattern) > -1;
|
503
|
+
},
|
504
|
+
|
505
|
+
startsWith: function(pattern) {
|
506
|
+
return this.indexOf(pattern) === 0;
|
507
|
+
},
|
508
|
+
|
509
|
+
endsWith: function(pattern) {
|
510
|
+
var d = this.length - pattern.length;
|
511
|
+
return d >= 0 && this.lastIndexOf(pattern) === d;
|
512
|
+
},
|
513
|
+
|
514
|
+
empty: function() {
|
515
|
+
return this == '';
|
516
|
+
},
|
517
|
+
|
518
|
+
blank: function() {
|
519
|
+
return /^\s*$/.test(this);
|
520
|
+
},
|
521
|
+
|
522
|
+
interpolate: function(object, pattern) {
|
523
|
+
return new Template(this, pattern).evaluate(object);
|
524
|
+
}
|
525
|
+
});
|
526
|
+
|
527
|
+
if (Prototype.Browser.WebKit || Prototype.Browser.IE) Object.extend(String.prototype, {
|
528
|
+
escapeHTML: function() {
|
529
|
+
return this.replace(/&/g,'&').replace(/</g,'<').replace(/>/g,'>');
|
530
|
+
},
|
531
|
+
unescapeHTML: function() {
|
532
|
+
return this.replace(/&/g,'&').replace(/</g,'<').replace(/>/g,'>');
|
533
|
+
}
|
534
|
+
});
|
535
|
+
|
536
|
+
String.prototype.gsub.prepareReplacement = function(replacement) {
|
537
|
+
if (Object.isFunction(replacement)) return replacement;
|
538
|
+
var template = new Template(replacement);
|
539
|
+
return function(match) { return template.evaluate(match) };
|
540
|
+
};
|
541
|
+
|
542
|
+
String.prototype.parseQuery = String.prototype.toQueryParams;
|
543
|
+
|
544
|
+
Object.extend(String.prototype.escapeHTML, {
|
545
|
+
div: document.createElement('div'),
|
546
|
+
text: document.createTextNode('')
|
547
|
+
});
|
548
|
+
|
549
|
+
with (String.prototype.escapeHTML) div.appendChild(text);
|
550
|
+
|
551
|
+
var Template = Class.create({
|
552
|
+
initialize: function(template, pattern) {
|
553
|
+
this.template = template.toString();
|
554
|
+
this.pattern = pattern || Template.Pattern;
|
555
|
+
},
|
556
|
+
|
557
|
+
evaluate: function(object) {
|
558
|
+
if (Object.isFunction(object.toTemplateReplacements))
|
559
|
+
object = object.toTemplateReplacements();
|
560
|
+
|
561
|
+
return this.template.gsub(this.pattern, function(match) {
|
562
|
+
if (object == null) return '';
|
563
|
+
|
564
|
+
var before = match[1] || '';
|
565
|
+
if (before == '\\') return match[2];
|
566
|
+
|
567
|
+
var ctx = object, expr = match[3];
|
568
|
+
var pattern = /^([^.[]+|\[((?:.*?[^\\])?)\])(\.|\[|$)/, match = pattern.exec(expr);
|
569
|
+
if (match == null) return before;
|
570
|
+
|
571
|
+
while (match != null) {
|
572
|
+
var comp = match[1].startsWith('[') ? match[2].gsub('\\\\]', ']') : match[1];
|
573
|
+
ctx = ctx[comp];
|
574
|
+
if (null == ctx || '' == match[3]) break;
|
575
|
+
expr = expr.substring('[' == match[3] ? match[1].length : match[0].length);
|
576
|
+
match = pattern.exec(expr);
|
577
|
+
}
|
578
|
+
|
579
|
+
return before + String.interpret(ctx);
|
580
|
+
}.bind(this));
|
581
|
+
}
|
582
|
+
});
|
583
|
+
Template.Pattern = /(^|.|\r|\n)(#\{(.*?)\})/;
|
584
|
+
|
585
|
+
var $break = { };
|
586
|
+
|
587
|
+
var Enumerable = {
|
588
|
+
each: function(iterator, context) {
|
589
|
+
var index = 0;
|
590
|
+
iterator = iterator.bind(context);
|
591
|
+
try {
|
592
|
+
this._each(function(value) {
|
593
|
+
iterator(value, index++);
|
594
|
+
});
|
595
|
+
} catch (e) {
|
596
|
+
if (e != $break) throw e;
|
597
|
+
}
|
598
|
+
return this;
|
599
|
+
},
|
600
|
+
|
601
|
+
eachSlice: function(number, iterator, context) {
|
602
|
+
iterator = iterator ? iterator.bind(context) : Prototype.K;
|
603
|
+
var index = -number, slices = [], array = this.toArray();
|
604
|
+
while ((index += number) < array.length)
|
605
|
+
slices.push(array.slice(index, index+number));
|
606
|
+
return slices.collect(iterator, context);
|
607
|
+
},
|
608
|
+
|
609
|
+
all: function(iterator, context) {
|
610
|
+
iterator = iterator ? iterator.bind(context) : Prototype.K;
|
611
|
+
var result = true;
|
612
|
+
this.each(function(value, index) {
|
613
|
+
result = result && !!iterator(value, index);
|
614
|
+
if (!result) throw $break;
|
615
|
+
});
|
616
|
+
return result;
|
617
|
+
},
|
618
|
+
|
619
|
+
any: function(iterator, context) {
|
620
|
+
iterator = iterator ? iterator.bind(context) : Prototype.K;
|
621
|
+
var result = false;
|
622
|
+
this.each(function(value, index) {
|
623
|
+
if (result = !!iterator(value, index))
|
624
|
+
throw $break;
|
625
|
+
});
|
626
|
+
return result;
|
627
|
+
},
|
628
|
+
|
629
|
+
collect: function(iterator, context) {
|
630
|
+
iterator = iterator ? iterator.bind(context) : Prototype.K;
|
631
|
+
var results = [];
|
632
|
+
this.each(function(value, index) {
|
633
|
+
results.push(iterator(value, index));
|
634
|
+
});
|
635
|
+
return results;
|
636
|
+
},
|
637
|
+
|
638
|
+
detect: function(iterator, context) {
|
639
|
+
iterator = iterator.bind(context);
|
640
|
+
var result;
|
641
|
+
this.each(function(value, index) {
|
642
|
+
if (iterator(value, index)) {
|
643
|
+
result = value;
|
644
|
+
throw $break;
|
645
|
+
}
|
646
|
+
});
|
647
|
+
return result;
|
648
|
+
},
|
649
|
+
|
650
|
+
findAll: function(iterator, context) {
|
651
|
+
iterator = iterator.bind(context);
|
652
|
+
var results = [];
|
653
|
+
this.each(function(value, index) {
|
654
|
+
if (iterator(value, index))
|
655
|
+
results.push(value);
|
656
|
+
});
|
657
|
+
return results;
|
658
|
+
},
|
659
|
+
|
660
|
+
grep: function(filter, iterator, context) {
|
661
|
+
iterator = iterator ? iterator.bind(context) : Prototype.K;
|
662
|
+
var results = [];
|
663
|
+
|
664
|
+
if (Object.isString(filter))
|
665
|
+
filter = new RegExp(filter);
|
666
|
+
|
667
|
+
this.each(function(value, index) {
|
668
|
+
if (filter.match(value))
|
669
|
+
results.push(iterator(value, index));
|
670
|
+
});
|
671
|
+
return results;
|
672
|
+
},
|
673
|
+
|
674
|
+
include: function(object) {
|
675
|
+
if (Object.isFunction(this.indexOf))
|
676
|
+
if (this.indexOf(object) != -1) return true;
|
677
|
+
|
678
|
+
var found = false;
|
679
|
+
this.each(function(value) {
|
680
|
+
if (value == object) {
|
681
|
+
found = true;
|
682
|
+
throw $break;
|
683
|
+
}
|
684
|
+
});
|
685
|
+
return found;
|
686
|
+
},
|
687
|
+
|
688
|
+
inGroupsOf: function(number, fillWith) {
|
689
|
+
fillWith = fillWith === undefined ? null : fillWith;
|
690
|
+
return this.eachSlice(number, function(slice) {
|
691
|
+
while(slice.length < number) slice.push(fillWith);
|
692
|
+
return slice;
|
693
|
+
});
|
694
|
+
},
|
695
|
+
|
696
|
+
inject: function(memo, iterator, context) {
|
697
|
+
iterator = iterator.bind(context);
|
698
|
+
this.each(function(value, index) {
|
699
|
+
memo = iterator(memo, value, index);
|
700
|
+
});
|
701
|
+
return memo;
|
702
|
+
},
|
703
|
+
|
704
|
+
invoke: function(method) {
|
705
|
+
var args = $A(arguments).slice(1);
|
706
|
+
return this.map(function(value) {
|
707
|
+
return value[method].apply(value, args);
|
708
|
+
});
|
709
|
+
},
|
710
|
+
|
711
|
+
max: function(iterator, context) {
|
712
|
+
iterator = iterator ? iterator.bind(context) : Prototype.K;
|
713
|
+
var result;
|
714
|
+
this.each(function(value, index) {
|
715
|
+
value = iterator(value, index);
|
716
|
+
if (result == undefined || value >= result)
|
717
|
+
result = value;
|
718
|
+
});
|
719
|
+
return result;
|
720
|
+
},
|
721
|
+
|
722
|
+
min: function(iterator, context) {
|
723
|
+
iterator = iterator ? iterator.bind(context) : Prototype.K;
|
724
|
+
var result;
|
725
|
+
this.each(function(value, index) {
|
726
|
+
value = iterator(value, index);
|
727
|
+
if (result == undefined || value < result)
|
728
|
+
result = value;
|
729
|
+
});
|
730
|
+
return result;
|
731
|
+
},
|
732
|
+
|
733
|
+
partition: function(iterator, context) {
|
734
|
+
iterator = iterator ? iterator.bind(context) : Prototype.K;
|
735
|
+
var trues = [], falses = [];
|
736
|
+
this.each(function(value, index) {
|
737
|
+
(iterator(value, index) ?
|
738
|
+
trues : falses).push(value);
|
739
|
+
});
|
740
|
+
return [trues, falses];
|
741
|
+
},
|
742
|
+
|
743
|
+
pluck: function(property) {
|
744
|
+
var results = [];
|
745
|
+
this.each(function(value) {
|
746
|
+
results.push(value[property]);
|
747
|
+
});
|
748
|
+
return results;
|
749
|
+
},
|
750
|
+
|
751
|
+
reject: function(iterator, context) {
|
752
|
+
iterator = iterator.bind(context);
|
753
|
+
var results = [];
|
754
|
+
this.each(function(value, index) {
|
755
|
+
if (!iterator(value, index))
|
756
|
+
results.push(value);
|
757
|
+
});
|
758
|
+
return results;
|
759
|
+
},
|
760
|
+
|
761
|
+
sortBy: function(iterator, context) {
|
762
|
+
iterator = iterator.bind(context);
|
763
|
+
return this.map(function(value, index) {
|
764
|
+
return {value: value, criteria: iterator(value, index)};
|
765
|
+
}).sort(function(left, right) {
|
766
|
+
var a = left.criteria, b = right.criteria;
|
767
|
+
return a < b ? -1 : a > b ? 1 : 0;
|
768
|
+
}).pluck('value');
|
769
|
+
},
|
770
|
+
|
771
|
+
toArray: function() {
|
772
|
+
return this.map();
|
773
|
+
},
|
774
|
+
|
775
|
+
zip: function() {
|
776
|
+
var iterator = Prototype.K, args = $A(arguments);
|
777
|
+
if (Object.isFunction(args.last()))
|
778
|
+
iterator = args.pop();
|
779
|
+
|
780
|
+
var collections = [this].concat(args).map($A);
|
781
|
+
return this.map(function(value, index) {
|
782
|
+
return iterator(collections.pluck(index));
|
783
|
+
});
|
784
|
+
},
|
785
|
+
|
786
|
+
size: function() {
|
787
|
+
return this.toArray().length;
|
788
|
+
},
|
789
|
+
|
790
|
+
inspect: function() {
|
791
|
+
return '#<Enumerable:' + this.toArray().inspect() + '>';
|
792
|
+
}
|
793
|
+
};
|
794
|
+
|
795
|
+
Object.extend(Enumerable, {
|
796
|
+
map: Enumerable.collect,
|
797
|
+
find: Enumerable.detect,
|
798
|
+
select: Enumerable.findAll,
|
799
|
+
filter: Enumerable.findAll,
|
800
|
+
member: Enumerable.include,
|
801
|
+
entries: Enumerable.toArray,
|
802
|
+
every: Enumerable.all,
|
803
|
+
some: Enumerable.any
|
804
|
+
});
|
805
|
+
function $A(iterable) {
|
806
|
+
if (!iterable) return [];
|
807
|
+
if (iterable.toArray) return iterable.toArray();
|
808
|
+
var length = iterable.length, results = new Array(length);
|
809
|
+
while (length--) results[length] = iterable[length];
|
810
|
+
return results;
|
811
|
+
}
|
812
|
+
|
813
|
+
if (Prototype.Browser.WebKit) {
|
814
|
+
function $A(iterable) {
|
815
|
+
if (!iterable) return [];
|
816
|
+
if (!(Object.isFunction(iterable) && iterable == '[object NodeList]') &&
|
817
|
+
iterable.toArray) return iterable.toArray();
|
818
|
+
var length = iterable.length, results = new Array(length);
|
819
|
+
while (length--) results[length] = iterable[length];
|
820
|
+
return results;
|
821
|
+
}
|
822
|
+
}
|
823
|
+
|
824
|
+
Array.from = $A;
|
825
|
+
|
826
|
+
Object.extend(Array.prototype, Enumerable);
|
827
|
+
|
828
|
+
if (!Array.prototype._reverse) Array.prototype._reverse = Array.prototype.reverse;
|
829
|
+
|
830
|
+
Object.extend(Array.prototype, {
|
831
|
+
_each: function(iterator) {
|
832
|
+
for (var i = 0, length = this.length; i < length; i++)
|
833
|
+
iterator(this[i]);
|
834
|
+
},
|
835
|
+
|
836
|
+
clear: function() {
|
837
|
+
this.length = 0;
|
838
|
+
return this;
|
839
|
+
},
|
840
|
+
|
841
|
+
first: function() {
|
842
|
+
return this[0];
|
843
|
+
},
|
844
|
+
|
845
|
+
last: function() {
|
846
|
+
return this[this.length - 1];
|
847
|
+
},
|
848
|
+
|
849
|
+
compact: function() {
|
850
|
+
return this.select(function(value) {
|
851
|
+
return value != null;
|
852
|
+
});
|
853
|
+
},
|
854
|
+
|
855
|
+
flatten: function() {
|
856
|
+
return this.inject([], function(array, value) {
|
857
|
+
return array.concat(Object.isArray(value) ?
|
858
|
+
value.flatten() : [value]);
|
859
|
+
});
|
860
|
+
},
|
861
|
+
|
862
|
+
without: function() {
|
863
|
+
var values = $A(arguments);
|
864
|
+
return this.select(function(value) {
|
865
|
+
return !values.include(value);
|
866
|
+
});
|
867
|
+
},
|
868
|
+
|
869
|
+
reverse: function(inline) {
|
870
|
+
return (inline !== false ? this : this.toArray())._reverse();
|
871
|
+
},
|
872
|
+
|
873
|
+
reduce: function() {
|
874
|
+
return this.length > 1 ? this : this[0];
|
875
|
+
},
|
876
|
+
|
877
|
+
uniq: function(sorted) {
|
878
|
+
return this.inject([], function(array, value, index) {
|
879
|
+
if (0 == index || (sorted ? array.last() != value : !array.include(value)))
|
880
|
+
array.push(value);
|
881
|
+
return array;
|
882
|
+
});
|
883
|
+
},
|
884
|
+
|
885
|
+
intersect: function(array) {
|
886
|
+
return this.uniq().findAll(function(item) {
|
887
|
+
return array.detect(function(value) { return item === value });
|
888
|
+
});
|
889
|
+
},
|
890
|
+
|
891
|
+
clone: function() {
|
892
|
+
return [].concat(this);
|
893
|
+
},
|
894
|
+
|
895
|
+
size: function() {
|
896
|
+
return this.length;
|
897
|
+
},
|
898
|
+
|
899
|
+
inspect: function() {
|
900
|
+
return '[' + this.map(Object.inspect).join(', ') + ']';
|
901
|
+
},
|
902
|
+
|
903
|
+
toJSON: function() {
|
904
|
+
var results = [];
|
905
|
+
this.each(function(object) {
|
906
|
+
var value = Object.toJSON(object);
|
907
|
+
if (value !== undefined) results.push(value);
|
908
|
+
});
|
909
|
+
return '[' + results.join(', ') + ']';
|
910
|
+
}
|
911
|
+
});
|
912
|
+
|
913
|
+
// use native browser JS 1.6 implementation if available
|
914
|
+
if (Object.isFunction(Array.prototype.forEach))
|
915
|
+
Array.prototype._each = Array.prototype.forEach;
|
916
|
+
|
917
|
+
if (!Array.prototype.indexOf) Array.prototype.indexOf = function(item, i) {
|
918
|
+
i || (i = 0);
|
919
|
+
var length = this.length;
|
920
|
+
if (i < 0) i = length + i;
|
921
|
+
for (; i < length; i++)
|
922
|
+
if (this[i] === item) return i;
|
923
|
+
return -1;
|
924
|
+
};
|
925
|
+
|
926
|
+
if (!Array.prototype.lastIndexOf) Array.prototype.lastIndexOf = function(item, i) {
|
927
|
+
i = isNaN(i) ? this.length : (i < 0 ? this.length + i : i) + 1;
|
928
|
+
var n = this.slice(0, i).reverse().indexOf(item);
|
929
|
+
return (n < 0) ? n : i - n - 1;
|
930
|
+
};
|
931
|
+
|
932
|
+
Array.prototype.toArray = Array.prototype.clone;
|
933
|
+
|
934
|
+
function $w(string) {
|
935
|
+
if (!Object.isString(string)) return [];
|
936
|
+
string = string.strip();
|
937
|
+
return string ? string.split(/\s+/) : [];
|
938
|
+
}
|
939
|
+
|
940
|
+
if (Prototype.Browser.Opera){
|
941
|
+
Array.prototype.concat = function() {
|
942
|
+
var array = [];
|
943
|
+
for (var i = 0, length = this.length; i < length; i++) array.push(this[i]);
|
944
|
+
for (var i = 0, length = arguments.length; i < length; i++) {
|
945
|
+
if (Object.isArray(arguments[i])) {
|
946
|
+
for (var j = 0, arrayLength = arguments[i].length; j < arrayLength; j++)
|
947
|
+
array.push(arguments[i][j]);
|
948
|
+
} else {
|
949
|
+
array.push(arguments[i]);
|
950
|
+
}
|
951
|
+
}
|
952
|
+
return array;
|
953
|
+
};
|
954
|
+
}
|
955
|
+
Object.extend(Number.prototype, {
|
956
|
+
toColorPart: function() {
|
957
|
+
return this.toPaddedString(2, 16);
|
958
|
+
},
|
959
|
+
|
960
|
+
succ: function() {
|
961
|
+
return this + 1;
|
962
|
+
},
|
963
|
+
|
964
|
+
times: function(iterator) {
|
965
|
+
$R(0, this, true).each(iterator);
|
966
|
+
return this;
|
967
|
+
},
|
968
|
+
|
969
|
+
toPaddedString: function(length, radix) {
|
970
|
+
var string = this.toString(radix || 10);
|
971
|
+
return '0'.times(length - string.length) + string;
|
972
|
+
},
|
973
|
+
|
974
|
+
toJSON: function() {
|
975
|
+
return isFinite(this) ? this.toString() : 'null';
|
976
|
+
}
|
977
|
+
});
|
978
|
+
|
979
|
+
$w('abs round ceil floor').each(function(method){
|
980
|
+
Number.prototype[method] = Math[method].methodize();
|
981
|
+
});
|
982
|
+
function $H(object) {
|
983
|
+
return new Hash(object);
|
984
|
+
};
|
985
|
+
|
986
|
+
var Hash = Class.create(Enumerable, (function() {
|
987
|
+
if (function() {
|
988
|
+
var i = 0, Test = function(value) { this.key = value };
|
989
|
+
Test.prototype.key = 'foo';
|
990
|
+
for (var property in new Test('bar')) i++;
|
991
|
+
return i > 1;
|
992
|
+
}()) {
|
993
|
+
function each(iterator) {
|
994
|
+
var cache = [];
|
995
|
+
for (var key in this._object) {
|
996
|
+
var value = this._object[key];
|
997
|
+
if (cache.include(key)) continue;
|
998
|
+
cache.push(key);
|
999
|
+
var pair = [key, value];
|
1000
|
+
pair.key = key;
|
1001
|
+
pair.value = value;
|
1002
|
+
iterator(pair);
|
1003
|
+
}
|
1004
|
+
}
|
1005
|
+
} else {
|
1006
|
+
function each(iterator) {
|
1007
|
+
for (var key in this._object) {
|
1008
|
+
var value = this._object[key], pair = [key, value];
|
1009
|
+
pair.key = key;
|
1010
|
+
pair.value = value;
|
1011
|
+
iterator(pair);
|
1012
|
+
}
|
1013
|
+
}
|
1014
|
+
}
|
1015
|
+
|
1016
|
+
function toQueryPair(key, value) {
|
1017
|
+
if (Object.isUndefined(value)) return key;
|
1018
|
+
return key + '=' + encodeURIComponent(String.interpret(value));
|
1019
|
+
}
|
1020
|
+
|
1021
|
+
return {
|
1022
|
+
initialize: function(object) {
|
1023
|
+
this._object = Object.isHash(object) ? object.toObject() : Object.clone(object);
|
1024
|
+
},
|
1025
|
+
|
1026
|
+
_each: each,
|
1027
|
+
|
1028
|
+
set: function(key, value) {
|
1029
|
+
return this._object[key] = value;
|
1030
|
+
},
|
1031
|
+
|
1032
|
+
get: function(key) {
|
1033
|
+
return this._object[key];
|
1034
|
+
},
|
1035
|
+
|
1036
|
+
unset: function(key) {
|
1037
|
+
var value = this._object[key];
|
1038
|
+
delete this._object[key];
|
1039
|
+
return value;
|
1040
|
+
},
|
1041
|
+
|
1042
|
+
toObject: function() {
|
1043
|
+
return Object.clone(this._object);
|
1044
|
+
},
|
1045
|
+
|
1046
|
+
keys: function() {
|
1047
|
+
return this.pluck('key');
|
1048
|
+
},
|
1049
|
+
|
1050
|
+
values: function() {
|
1051
|
+
return this.pluck('value');
|
1052
|
+
},
|
1053
|
+
|
1054
|
+
index: function(value) {
|
1055
|
+
var match = this.detect(function(pair) {
|
1056
|
+
return pair.value === value;
|
1057
|
+
});
|
1058
|
+
return match && match.key;
|
1059
|
+
},
|
1060
|
+
|
1061
|
+
merge: function(object) {
|
1062
|
+
return this.clone().update(object);
|
1063
|
+
},
|
1064
|
+
|
1065
|
+
update: function(object) {
|
1066
|
+
return new Hash(object).inject(this, function(result, pair) {
|
1067
|
+
result.set(pair.key, pair.value);
|
1068
|
+
return result;
|
1069
|
+
});
|
1070
|
+
},
|
1071
|
+
|
1072
|
+
toQueryString: function() {
|
1073
|
+
return this.map(function(pair) {
|
1074
|
+
var key = encodeURIComponent(pair.key), values = pair.value;
|
1075
|
+
|
1076
|
+
if (values && typeof values == 'object') {
|
1077
|
+
if (Object.isArray(values))
|
1078
|
+
return values.map(toQueryPair.curry(key)).join('&');
|
1079
|
+
}
|
1080
|
+
return toQueryPair(key, values);
|
1081
|
+
}).join('&');
|
1082
|
+
},
|
1083
|
+
|
1084
|
+
inspect: function() {
|
1085
|
+
return '#<Hash:{' + this.map(function(pair) {
|
1086
|
+
return pair.map(Object.inspect).join(': ');
|
1087
|
+
}).join(', ') + '}>';
|
1088
|
+
},
|
1089
|
+
|
1090
|
+
toJSON: function() {
|
1091
|
+
return Object.toJSON(this.toObject());
|
1092
|
+
},
|
1093
|
+
|
1094
|
+
clone: function() {
|
1095
|
+
return new Hash(this);
|
1096
|
+
}
|
1097
|
+
}
|
1098
|
+
})());
|
1099
|
+
|
1100
|
+
Hash.prototype.toTemplateReplacements = Hash.prototype.toObject;
|
1101
|
+
Hash.from = $H;
|
1102
|
+
var ObjectRange = Class.create(Enumerable, {
|
1103
|
+
initialize: function(start, end, exclusive) {
|
1104
|
+
this.start = start;
|
1105
|
+
this.end = end;
|
1106
|
+
this.exclusive = exclusive;
|
1107
|
+
},
|
1108
|
+
|
1109
|
+
_each: function(iterator) {
|
1110
|
+
var value = this.start;
|
1111
|
+
while (this.include(value)) {
|
1112
|
+
iterator(value);
|
1113
|
+
value = value.succ();
|
1114
|
+
}
|
1115
|
+
},
|
1116
|
+
|
1117
|
+
include: function(value) {
|
1118
|
+
if (value < this.start)
|
1119
|
+
return false;
|
1120
|
+
if (this.exclusive)
|
1121
|
+
return value < this.end;
|
1122
|
+
return value <= this.end;
|
1123
|
+
}
|
1124
|
+
});
|
1125
|
+
|
1126
|
+
var $R = function(start, end, exclusive) {
|
1127
|
+
return new ObjectRange(start, end, exclusive);
|
1128
|
+
};
|
1129
|
+
|
1130
|
+
var Ajax = {
|
1131
|
+
getTransport: function() {
|
1132
|
+
return Try.these(
|
1133
|
+
function() {return new XMLHttpRequest()},
|
1134
|
+
function() {return new ActiveXObject('Msxml2.XMLHTTP')},
|
1135
|
+
function() {return new ActiveXObject('Microsoft.XMLHTTP')}
|
1136
|
+
) || false;
|
1137
|
+
},
|
1138
|
+
|
1139
|
+
activeRequestCount: 0
|
1140
|
+
};
|
1141
|
+
|
1142
|
+
Ajax.Responders = {
|
1143
|
+
responders: [],
|
1144
|
+
|
1145
|
+
_each: function(iterator) {
|
1146
|
+
this.responders._each(iterator);
|
1147
|
+
},
|
1148
|
+
|
1149
|
+
register: function(responder) {
|
1150
|
+
if (!this.include(responder))
|
1151
|
+
this.responders.push(responder);
|
1152
|
+
},
|
1153
|
+
|
1154
|
+
unregister: function(responder) {
|
1155
|
+
this.responders = this.responders.without(responder);
|
1156
|
+
},
|
1157
|
+
|
1158
|
+
dispatch: function(callback, request, transport, json) {
|
1159
|
+
this.each(function(responder) {
|
1160
|
+
if (Object.isFunction(responder[callback])) {
|
1161
|
+
try {
|
1162
|
+
responder[callback].apply(responder, [request, transport, json]);
|
1163
|
+
} catch (e) { }
|
1164
|
+
}
|
1165
|
+
});
|
1166
|
+
}
|
1167
|
+
};
|
1168
|
+
|
1169
|
+
Object.extend(Ajax.Responders, Enumerable);
|
1170
|
+
|
1171
|
+
Ajax.Responders.register({
|
1172
|
+
onCreate: function() { Ajax.activeRequestCount++ },
|
1173
|
+
onComplete: function() { Ajax.activeRequestCount-- }
|
1174
|
+
});
|
1175
|
+
|
1176
|
+
Ajax.Base = Class.create({
|
1177
|
+
initialize: function(options) {
|
1178
|
+
this.options = {
|
1179
|
+
method: 'post',
|
1180
|
+
asynchronous: true,
|
1181
|
+
contentType: 'application/x-www-form-urlencoded',
|
1182
|
+
encoding: 'UTF-8',
|
1183
|
+
parameters: '',
|
1184
|
+
evalJSON: true,
|
1185
|
+
evalJS: true
|
1186
|
+
};
|
1187
|
+
Object.extend(this.options, options || { });
|
1188
|
+
|
1189
|
+
this.options.method = this.options.method.toLowerCase();
|
1190
|
+
if (Object.isString(this.options.parameters))
|
1191
|
+
this.options.parameters = this.options.parameters.toQueryParams();
|
1192
|
+
}
|
1193
|
+
});
|
1194
|
+
|
1195
|
+
Ajax.Request = Class.create(Ajax.Base, {
|
1196
|
+
_complete: false,
|
1197
|
+
|
1198
|
+
initialize: function($super, url, options) {
|
1199
|
+
$super(options);
|
1200
|
+
this.transport = Ajax.getTransport();
|
1201
|
+
this.request(url);
|
1202
|
+
},
|
1203
|
+
|
1204
|
+
request: function(url) {
|
1205
|
+
this.url = url;
|
1206
|
+
this.method = this.options.method;
|
1207
|
+
var params = Object.clone(this.options.parameters);
|
1208
|
+
|
1209
|
+
if (!['get', 'post'].include(this.method)) {
|
1210
|
+
// simulate other verbs over post
|
1211
|
+
params['_method'] = this.method;
|
1212
|
+
this.method = 'post';
|
1213
|
+
}
|
1214
|
+
|
1215
|
+
this.parameters = params;
|
1216
|
+
|
1217
|
+
if (params = Object.toQueryString(params)) {
|
1218
|
+
// when GET, append parameters to URL
|
1219
|
+
if (this.method == 'get')
|
1220
|
+
this.url += (this.url.include('?') ? '&' : '?') + params;
|
1221
|
+
else if (/Konqueror|Safari|KHTML/.test(navigator.userAgent))
|
1222
|
+
params += '&_=';
|
1223
|
+
}
|
1224
|
+
|
1225
|
+
try {
|
1226
|
+
var response = new Ajax.Response(this);
|
1227
|
+
if (this.options.onCreate) this.options.onCreate(response);
|
1228
|
+
Ajax.Responders.dispatch('onCreate', this, response);
|
1229
|
+
|
1230
|
+
this.transport.open(this.method.toUpperCase(), this.url,
|
1231
|
+
this.options.asynchronous);
|
1232
|
+
|
1233
|
+
if (this.options.asynchronous) this.respondToReadyState.bind(this).defer(1);
|
1234
|
+
|
1235
|
+
this.transport.onreadystatechange = this.onStateChange.bind(this);
|
1236
|
+
this.setRequestHeaders();
|
1237
|
+
|
1238
|
+
this.body = this.method == 'post' ? (this.options.postBody || params) : null;
|
1239
|
+
this.transport.send(this.body);
|
1240
|
+
|
1241
|
+
/* Force Firefox to handle ready state 4 for synchronous requests */
|
1242
|
+
if (!this.options.asynchronous && this.transport.overrideMimeType)
|
1243
|
+
this.onStateChange();
|
1244
|
+
|
1245
|
+
}
|
1246
|
+
catch (e) {
|
1247
|
+
this.dispatchException(e);
|
1248
|
+
}
|
1249
|
+
},
|
1250
|
+
|
1251
|
+
onStateChange: function() {
|
1252
|
+
var readyState = this.transport.readyState;
|
1253
|
+
if (readyState > 1 && !((readyState == 4) && this._complete))
|
1254
|
+
this.respondToReadyState(this.transport.readyState);
|
1255
|
+
},
|
1256
|
+
|
1257
|
+
setRequestHeaders: function() {
|
1258
|
+
var headers = {
|
1259
|
+
'X-Requested-With': 'XMLHttpRequest',
|
1260
|
+
'X-Prototype-Version': Prototype.Version,
|
1261
|
+
'Accept': 'text/javascript, text/html, application/xml, text/xml, */*'
|
1262
|
+
};
|
1263
|
+
|
1264
|
+
if (this.method == 'post') {
|
1265
|
+
headers['Content-type'] = this.options.contentType +
|
1266
|
+
(this.options.encoding ? '; charset=' + this.options.encoding : '');
|
1267
|
+
|
1268
|
+
/* Force "Connection: close" for older Mozilla browsers to work
|
1269
|
+
* around a bug where XMLHttpRequest sends an incorrect
|
1270
|
+
* Content-length header. See Mozilla Bugzilla #246651.
|
1271
|
+
*/
|
1272
|
+
if (this.transport.overrideMimeType &&
|
1273
|
+
(navigator.userAgent.match(/Gecko\/(\d{4})/) || [0,2005])[1] < 2005)
|
1274
|
+
headers['Connection'] = 'close';
|
1275
|
+
}
|
1276
|
+
|
1277
|
+
// user-defined headers
|
1278
|
+
if (typeof this.options.requestHeaders == 'object') {
|
1279
|
+
var extras = this.options.requestHeaders;
|
1280
|
+
|
1281
|
+
if (Object.isFunction(extras.push))
|
1282
|
+
for (var i = 0, length = extras.length; i < length; i += 2)
|
1283
|
+
headers[extras[i]] = extras[i+1];
|
1284
|
+
else
|
1285
|
+
$H(extras).each(function(pair) { headers[pair.key] = pair.value });
|
1286
|
+
}
|
1287
|
+
|
1288
|
+
for (var name in headers)
|
1289
|
+
this.transport.setRequestHeader(name, headers[name]);
|
1290
|
+
},
|
1291
|
+
|
1292
|
+
success: function() {
|
1293
|
+
var status = this.getStatus();
|
1294
|
+
return !status || (status >= 200 && status < 300);
|
1295
|
+
},
|
1296
|
+
|
1297
|
+
getStatus: function() {
|
1298
|
+
try {
|
1299
|
+
return this.transport.status || 0;
|
1300
|
+
} catch (e) { return 0 }
|
1301
|
+
},
|
1302
|
+
|
1303
|
+
respondToReadyState: function(readyState) {
|
1304
|
+
var state = Ajax.Request.Events[readyState], response = new Ajax.Response(this);
|
1305
|
+
|
1306
|
+
if (state == 'Complete') {
|
1307
|
+
try {
|
1308
|
+
this._complete = true;
|
1309
|
+
(this.options['on' + response.status]
|
1310
|
+
|| this.options['on' + (this.success() ? 'Success' : 'Failure')]
|
1311
|
+
|| Prototype.emptyFunction)(response, response.headerJSON);
|
1312
|
+
} catch (e) {
|
1313
|
+
this.dispatchException(e);
|
1314
|
+
}
|
1315
|
+
|
1316
|
+
var contentType = response.getHeader('Content-type');
|
1317
|
+
if (this.options.evalJS == 'force'
|
1318
|
+
|| (this.options.evalJS && contentType
|
1319
|
+
&& contentType.match(/^\s*(text|application)\/(x-)?(java|ecma)script(;.*)?\s*$/i)))
|
1320
|
+
this.evalResponse();
|
1321
|
+
}
|
1322
|
+
|
1323
|
+
try {
|
1324
|
+
(this.options['on' + state] || Prototype.emptyFunction)(response, response.headerJSON);
|
1325
|
+
Ajax.Responders.dispatch('on' + state, this, response, response.headerJSON);
|
1326
|
+
} catch (e) {
|
1327
|
+
this.dispatchException(e);
|
1328
|
+
}
|
1329
|
+
|
1330
|
+
if (state == 'Complete') {
|
1331
|
+
// avoid memory leak in MSIE: clean up
|
1332
|
+
this.transport.onreadystatechange = Prototype.emptyFunction;
|
1333
|
+
}
|
1334
|
+
},
|
1335
|
+
|
1336
|
+
getHeader: function(name) {
|
1337
|
+
try {
|
1338
|
+
return this.transport.getResponseHeader(name);
|
1339
|
+
} catch (e) { return null }
|
1340
|
+
},
|
1341
|
+
|
1342
|
+
evalResponse: function() {
|
1343
|
+
try {
|
1344
|
+
return eval((this.transport.responseText || '').unfilterJSON());
|
1345
|
+
} catch (e) {
|
1346
|
+
this.dispatchException(e);
|
1347
|
+
}
|
1348
|
+
},
|
1349
|
+
|
1350
|
+
dispatchException: function(exception) {
|
1351
|
+
(this.options.onException || Prototype.emptyFunction)(this, exception);
|
1352
|
+
Ajax.Responders.dispatch('onException', this, exception);
|
1353
|
+
}
|
1354
|
+
});
|
1355
|
+
|
1356
|
+
Ajax.Request.Events =
|
1357
|
+
['Uninitialized', 'Loading', 'Loaded', 'Interactive', 'Complete'];
|
1358
|
+
|
1359
|
+
Ajax.Response = Class.create({
|
1360
|
+
initialize: function(request){
|
1361
|
+
this.request = request;
|
1362
|
+
var transport = this.transport = request.transport,
|
1363
|
+
readyState = this.readyState = transport.readyState;
|
1364
|
+
|
1365
|
+
if((readyState > 2 && !Prototype.Browser.IE) || readyState == 4) {
|
1366
|
+
this.status = this.getStatus();
|
1367
|
+
this.statusText = this.getStatusText();
|
1368
|
+
this.responseText = String.interpret(transport.responseText);
|
1369
|
+
this.headerJSON = this._getHeaderJSON();
|
1370
|
+
}
|
1371
|
+
|
1372
|
+
if(readyState == 4) {
|
1373
|
+
var xml = transport.responseXML;
|
1374
|
+
this.responseXML = xml === undefined ? null : xml;
|
1375
|
+
this.responseJSON = this._getResponseJSON();
|
1376
|
+
}
|
1377
|
+
},
|
1378
|
+
|
1379
|
+
status: 0,
|
1380
|
+
statusText: '',
|
1381
|
+
|
1382
|
+
getStatus: Ajax.Request.prototype.getStatus,
|
1383
|
+
|
1384
|
+
getStatusText: function() {
|
1385
|
+
try {
|
1386
|
+
return this.transport.statusText || '';
|
1387
|
+
} catch (e) { return '' }
|
1388
|
+
},
|
1389
|
+
|
1390
|
+
getHeader: Ajax.Request.prototype.getHeader,
|
1391
|
+
|
1392
|
+
getAllHeaders: function() {
|
1393
|
+
try {
|
1394
|
+
return this.getAllResponseHeaders();
|
1395
|
+
} catch (e) { return null }
|
1396
|
+
},
|
1397
|
+
|
1398
|
+
getResponseHeader: function(name) {
|
1399
|
+
return this.transport.getResponseHeader(name);
|
1400
|
+
},
|
1401
|
+
|
1402
|
+
getAllResponseHeaders: function() {
|
1403
|
+
return this.transport.getAllResponseHeaders();
|
1404
|
+
},
|
1405
|
+
|
1406
|
+
_getHeaderJSON: function() {
|
1407
|
+
var json = this.getHeader('X-JSON');
|
1408
|
+
if (!json) return null;
|
1409
|
+
json = decodeURIComponent(escape(json));
|
1410
|
+
try {
|
1411
|
+
return json.evalJSON(this.request.options.sanitizeJSON);
|
1412
|
+
} catch (e) {
|
1413
|
+
this.request.dispatchException(e);
|
1414
|
+
}
|
1415
|
+
},
|
1416
|
+
|
1417
|
+
_getResponseJSON: function() {
|
1418
|
+
var options = this.request.options;
|
1419
|
+
if (!options.evalJSON || (options.evalJSON != 'force' &&
|
1420
|
+
!(this.getHeader('Content-type') || '').include('application/json')))
|
1421
|
+
return null;
|
1422
|
+
try {
|
1423
|
+
return this.transport.responseText.evalJSON(options.sanitizeJSON);
|
1424
|
+
} catch (e) {
|
1425
|
+
this.request.dispatchException(e);
|
1426
|
+
}
|
1427
|
+
}
|
1428
|
+
});
|
1429
|
+
|
1430
|
+
Ajax.Updater = Class.create(Ajax.Request, {
|
1431
|
+
initialize: function($super, container, url, options) {
|
1432
|
+
this.container = {
|
1433
|
+
success: (container.success || container),
|
1434
|
+
failure: (container.failure || (container.success ? null : container))
|
1435
|
+
};
|
1436
|
+
|
1437
|
+
options = options || { };
|
1438
|
+
var onComplete = options.onComplete;
|
1439
|
+
options.onComplete = (function(response, param) {
|
1440
|
+
this.updateContent(response.responseText);
|
1441
|
+
if (Object.isFunction(onComplete)) onComplete(response, param);
|
1442
|
+
}).bind(this);
|
1443
|
+
|
1444
|
+
$super(url, options);
|
1445
|
+
},
|
1446
|
+
|
1447
|
+
updateContent: function(responseText) {
|
1448
|
+
var receiver = this.container[this.success() ? 'success' : 'failure'],
|
1449
|
+
options = this.options;
|
1450
|
+
|
1451
|
+
if (!options.evalScripts) responseText = responseText.stripScripts();
|
1452
|
+
|
1453
|
+
if (receiver = $(receiver)) {
|
1454
|
+
if (options.insertion) {
|
1455
|
+
if (Object.isString(options.insertion)) {
|
1456
|
+
var insertion = { }; insertion[options.insertion] = responseText;
|
1457
|
+
receiver.insert(insertion);
|
1458
|
+
}
|
1459
|
+
else options.insertion(receiver, responseText);
|
1460
|
+
}
|
1461
|
+
else receiver.update(responseText);
|
1462
|
+
}
|
1463
|
+
|
1464
|
+
if (this.success()) {
|
1465
|
+
if (this.onComplete) this.onComplete.bind(this).defer();
|
1466
|
+
}
|
1467
|
+
}
|
1468
|
+
});
|
1469
|
+
|
1470
|
+
Ajax.PeriodicalUpdater = Class.create(Ajax.Base, {
|
1471
|
+
initialize: function($super, container, url, options) {
|
1472
|
+
$super(options);
|
1473
|
+
this.onComplete = this.options.onComplete;
|
1474
|
+
|
1475
|
+
this.frequency = (this.options.frequency || 2);
|
1476
|
+
this.decay = (this.options.decay || 1);
|
1477
|
+
|
1478
|
+
this.updater = { };
|
1479
|
+
this.container = container;
|
1480
|
+
this.url = url;
|
1481
|
+
|
1482
|
+
this.start();
|
1483
|
+
},
|
1484
|
+
|
1485
|
+
start: function() {
|
1486
|
+
this.options.onComplete = this.updateComplete.bind(this);
|
1487
|
+
this.onTimerEvent();
|
1488
|
+
},
|
1489
|
+
|
1490
|
+
stop: function() {
|
1491
|
+
this.updater.options.onComplete = undefined;
|
1492
|
+
clearTimeout(this.timer);
|
1493
|
+
(this.onComplete || Prototype.emptyFunction).apply(this, arguments);
|
1494
|
+
},
|
1495
|
+
|
1496
|
+
updateComplete: function(response) {
|
1497
|
+
if (this.options.decay) {
|
1498
|
+
this.decay = (response.responseText == this.lastText ?
|
1499
|
+
this.decay * this.options.decay : 1);
|
1500
|
+
|
1501
|
+
this.lastText = response.responseText;
|
1502
|
+
}
|
1503
|
+
this.timer = this.onTimerEvent.bind(this).delay(this.decay * this.frequency);
|
1504
|
+
},
|
1505
|
+
|
1506
|
+
onTimerEvent: function() {
|
1507
|
+
this.updater = new Ajax.Updater(this.container, this.url, this.options);
|
1508
|
+
}
|
1509
|
+
});
|
1510
|
+
function $(element) {
|
1511
|
+
if (arguments.length > 1) {
|
1512
|
+
for (var i = 0, elements = [], length = arguments.length; i < length; i++)
|
1513
|
+
elements.push($(arguments[i]));
|
1514
|
+
return elements;
|
1515
|
+
}
|
1516
|
+
if (Object.isString(element))
|
1517
|
+
element = document.getElementById(element);
|
1518
|
+
return Element.extend(element);
|
1519
|
+
}
|
1520
|
+
|
1521
|
+
if (Prototype.BrowserFeatures.XPath) {
|
1522
|
+
document._getElementsByXPath = function(expression, parentElement) {
|
1523
|
+
var results = [];
|
1524
|
+
var query = document.evaluate(expression, $(parentElement) || document,
|
1525
|
+
null, XPathResult.ORDERED_NODE_SNAPSHOT_TYPE, null);
|
1526
|
+
for (var i = 0, length = query.snapshotLength; i < length; i++)
|
1527
|
+
results.push(Element.extend(query.snapshotItem(i)));
|
1528
|
+
return results;
|
1529
|
+
};
|
1530
|
+
}
|
1531
|
+
|
1532
|
+
/*--------------------------------------------------------------------------*/
|
1533
|
+
|
1534
|
+
if (!window.Node) var Node = { };
|
1535
|
+
|
1536
|
+
if (!Node.ELEMENT_NODE) {
|
1537
|
+
// DOM level 2 ECMAScript Language Binding
|
1538
|
+
Object.extend(Node, {
|
1539
|
+
ELEMENT_NODE: 1,
|
1540
|
+
ATTRIBUTE_NODE: 2,
|
1541
|
+
TEXT_NODE: 3,
|
1542
|
+
CDATA_SECTION_NODE: 4,
|
1543
|
+
ENTITY_REFERENCE_NODE: 5,
|
1544
|
+
ENTITY_NODE: 6,
|
1545
|
+
PROCESSING_INSTRUCTION_NODE: 7,
|
1546
|
+
COMMENT_NODE: 8,
|
1547
|
+
DOCUMENT_NODE: 9,
|
1548
|
+
DOCUMENT_TYPE_NODE: 10,
|
1549
|
+
DOCUMENT_FRAGMENT_NODE: 11,
|
1550
|
+
NOTATION_NODE: 12
|
1551
|
+
});
|
1552
|
+
}
|
1553
|
+
|
1554
|
+
(function() {
|
1555
|
+
var element = this.Element;
|
1556
|
+
this.Element = function(tagName, attributes) {
|
1557
|
+
attributes = attributes || { };
|
1558
|
+
tagName = tagName.toLowerCase();
|
1559
|
+
var cache = Element.cache;
|
1560
|
+
if (Prototype.Browser.IE && attributes.name) {
|
1561
|
+
tagName = '<' + tagName + ' name="' + attributes.name + '">';
|
1562
|
+
delete attributes.name;
|
1563
|
+
return Element.writeAttribute(document.createElement(tagName), attributes);
|
1564
|
+
}
|
1565
|
+
if (!cache[tagName]) cache[tagName] = Element.extend(document.createElement(tagName));
|
1566
|
+
return Element.writeAttribute(cache[tagName].cloneNode(false), attributes);
|
1567
|
+
};
|
1568
|
+
Object.extend(this.Element, element || { });
|
1569
|
+
}).call(window);
|
1570
|
+
|
1571
|
+
Element.cache = { };
|
1572
|
+
|
1573
|
+
Element.Methods = {
|
1574
|
+
visible: function(element) {
|
1575
|
+
return $(element).style.display != 'none';
|
1576
|
+
},
|
1577
|
+
|
1578
|
+
toggle: function(element) {
|
1579
|
+
element = $(element);
|
1580
|
+
Element[Element.visible(element) ? 'hide' : 'show'](element);
|
1581
|
+
return element;
|
1582
|
+
},
|
1583
|
+
|
1584
|
+
hide: function(element) {
|
1585
|
+
$(element).style.display = 'none';
|
1586
|
+
return element;
|
1587
|
+
},
|
1588
|
+
|
1589
|
+
show: function(element) {
|
1590
|
+
$(element).style.display = '';
|
1591
|
+
return element;
|
1592
|
+
},
|
1593
|
+
|
1594
|
+
remove: function(element) {
|
1595
|
+
element = $(element);
|
1596
|
+
element.parentNode.removeChild(element);
|
1597
|
+
return element;
|
1598
|
+
},
|
1599
|
+
|
1600
|
+
update: function(element, content) {
|
1601
|
+
element = $(element);
|
1602
|
+
if (content && content.toElement) content = content.toElement();
|
1603
|
+
if (Object.isElement(content)) return element.update().insert(content);
|
1604
|
+
content = Object.toHTML(content);
|
1605
|
+
element.innerHTML = content.stripScripts();
|
1606
|
+
content.evalScripts.bind(content).defer();
|
1607
|
+
return element;
|
1608
|
+
},
|
1609
|
+
|
1610
|
+
replace: function(element, content) {
|
1611
|
+
element = $(element);
|
1612
|
+
if (content && content.toElement) content = content.toElement();
|
1613
|
+
else if (!Object.isElement(content)) {
|
1614
|
+
content = Object.toHTML(content);
|
1615
|
+
var range = element.ownerDocument.createRange();
|
1616
|
+
range.selectNode(element);
|
1617
|
+
content.evalScripts.bind(content).defer();
|
1618
|
+
content = range.createContextualFragment(content.stripScripts());
|
1619
|
+
}
|
1620
|
+
element.parentNode.replaceChild(content, element);
|
1621
|
+
return element;
|
1622
|
+
},
|
1623
|
+
|
1624
|
+
insert: function(element, insertions) {
|
1625
|
+
element = $(element);
|
1626
|
+
|
1627
|
+
if (Object.isString(insertions) || Object.isNumber(insertions) ||
|
1628
|
+
Object.isElement(insertions) || (insertions && (insertions.toElement || insertions.toHTML)))
|
1629
|
+
insertions = {bottom:insertions};
|
1630
|
+
|
1631
|
+
var content, t, range;
|
1632
|
+
|
1633
|
+
for (position in insertions) {
|
1634
|
+
content = insertions[position];
|
1635
|
+
position = position.toLowerCase();
|
1636
|
+
t = Element._insertionTranslations[position];
|
1637
|
+
|
1638
|
+
if (content && content.toElement) content = content.toElement();
|
1639
|
+
if (Object.isElement(content)) {
|
1640
|
+
t.insert(element, content);
|
1641
|
+
continue;
|
1642
|
+
}
|
1643
|
+
|
1644
|
+
content = Object.toHTML(content);
|
1645
|
+
|
1646
|
+
range = element.ownerDocument.createRange();
|
1647
|
+
t.initializeRange(element, range);
|
1648
|
+
t.insert(element, range.createContextualFragment(content.stripScripts()));
|
1649
|
+
|
1650
|
+
content.evalScripts.bind(content).defer();
|
1651
|
+
}
|
1652
|
+
|
1653
|
+
return element;
|
1654
|
+
},
|
1655
|
+
|
1656
|
+
wrap: function(element, wrapper, attributes) {
|
1657
|
+
element = $(element);
|
1658
|
+
if (Object.isElement(wrapper))
|
1659
|
+
$(wrapper).writeAttribute(attributes || { });
|
1660
|
+
else if (Object.isString(wrapper)) wrapper = new Element(wrapper, attributes);
|
1661
|
+
else wrapper = new Element('div', wrapper);
|
1662
|
+
if (element.parentNode)
|
1663
|
+
element.parentNode.replaceChild(wrapper, element);
|
1664
|
+
wrapper.appendChild(element);
|
1665
|
+
return wrapper;
|
1666
|
+
},
|
1667
|
+
|
1668
|
+
inspect: function(element) {
|
1669
|
+
element = $(element);
|
1670
|
+
var result = '<' + element.tagName.toLowerCase();
|
1671
|
+
$H({'id': 'id', 'className': 'class'}).each(function(pair) {
|
1672
|
+
var property = pair.first(), attribute = pair.last();
|
1673
|
+
var value = (element[property] || '').toString();
|
1674
|
+
if (value) result += ' ' + attribute + '=' + value.inspect(true);
|
1675
|
+
});
|
1676
|
+
return result + '>';
|
1677
|
+
},
|
1678
|
+
|
1679
|
+
recursivelyCollect: function(element, property) {
|
1680
|
+
element = $(element);
|
1681
|
+
var elements = [];
|
1682
|
+
while (element = element[property])
|
1683
|
+
if (element.nodeType == 1)
|
1684
|
+
elements.push(Element.extend(element));
|
1685
|
+
return elements;
|
1686
|
+
},
|
1687
|
+
|
1688
|
+
ancestors: function(element) {
|
1689
|
+
return $(element).recursivelyCollect('parentNode');
|
1690
|
+
},
|
1691
|
+
|
1692
|
+
descendants: function(element) {
|
1693
|
+
return $A($(element).getElementsByTagName('*')).each(Element.extend);
|
1694
|
+
},
|
1695
|
+
|
1696
|
+
firstDescendant: function(element) {
|
1697
|
+
element = $(element).firstChild;
|
1698
|
+
while (element && element.nodeType != 1) element = element.nextSibling;
|
1699
|
+
return $(element);
|
1700
|
+
},
|
1701
|
+
|
1702
|
+
immediateDescendants: function(element) {
|
1703
|
+
if (!(element = $(element).firstChild)) return [];
|
1704
|
+
while (element && element.nodeType != 1) element = element.nextSibling;
|
1705
|
+
if (element) return [element].concat($(element).nextSiblings());
|
1706
|
+
return [];
|
1707
|
+
},
|
1708
|
+
|
1709
|
+
previousSiblings: function(element) {
|
1710
|
+
return $(element).recursivelyCollect('previousSibling');
|
1711
|
+
},
|
1712
|
+
|
1713
|
+
nextSiblings: function(element) {
|
1714
|
+
return $(element).recursivelyCollect('nextSibling');
|
1715
|
+
},
|
1716
|
+
|
1717
|
+
siblings: function(element) {
|
1718
|
+
element = $(element);
|
1719
|
+
return element.previousSiblings().reverse().concat(element.nextSiblings());
|
1720
|
+
},
|
1721
|
+
|
1722
|
+
match: function(element, selector) {
|
1723
|
+
if (Object.isString(selector))
|
1724
|
+
selector = new Selector(selector);
|
1725
|
+
return selector.match($(element));
|
1726
|
+
},
|
1727
|
+
|
1728
|
+
up: function(element, expression, index) {
|
1729
|
+
element = $(element);
|
1730
|
+
if (arguments.length == 1) return $(element.parentNode);
|
1731
|
+
var ancestors = element.ancestors();
|
1732
|
+
return expression ? Selector.findElement(ancestors, expression, index) :
|
1733
|
+
ancestors[index || 0];
|
1734
|
+
},
|
1735
|
+
|
1736
|
+
down: function(element, expression, index) {
|
1737
|
+
element = $(element);
|
1738
|
+
if (arguments.length == 1) return element.firstDescendant();
|
1739
|
+
var descendants = element.descendants();
|
1740
|
+
return expression ? Selector.findElement(descendants, expression, index) :
|
1741
|
+
descendants[index || 0];
|
1742
|
+
},
|
1743
|
+
|
1744
|
+
previous: function(element, expression, index) {
|
1745
|
+
element = $(element);
|
1746
|
+
if (arguments.length == 1) return $(Selector.handlers.previousElementSibling(element));
|
1747
|
+
var previousSiblings = element.previousSiblings();
|
1748
|
+
return expression ? Selector.findElement(previousSiblings, expression, index) :
|
1749
|
+
previousSiblings[index || 0];
|
1750
|
+
},
|
1751
|
+
|
1752
|
+
next: function(element, expression, index) {
|
1753
|
+
element = $(element);
|
1754
|
+
if (arguments.length == 1) return $(Selector.handlers.nextElementSibling(element));
|
1755
|
+
var nextSiblings = element.nextSiblings();
|
1756
|
+
return expression ? Selector.findElement(nextSiblings, expression, index) :
|
1757
|
+
nextSiblings[index || 0];
|
1758
|
+
},
|
1759
|
+
|
1760
|
+
select: function() {
|
1761
|
+
var args = $A(arguments), element = $(args.shift());
|
1762
|
+
return Selector.findChildElements(element, args);
|
1763
|
+
},
|
1764
|
+
|
1765
|
+
adjacent: function() {
|
1766
|
+
var args = $A(arguments), element = $(args.shift());
|
1767
|
+
return Selector.findChildElements(element.parentNode, args).without(element);
|
1768
|
+
},
|
1769
|
+
|
1770
|
+
identify: function(element) {
|
1771
|
+
element = $(element);
|
1772
|
+
var id = element.readAttribute('id'), self = arguments.callee;
|
1773
|
+
if (id) return id;
|
1774
|
+
do { id = 'anonymous_element_' + self.counter++ } while ($(id));
|
1775
|
+
element.writeAttribute('id', id);
|
1776
|
+
return id;
|
1777
|
+
},
|
1778
|
+
|
1779
|
+
readAttribute: function(element, name) {
|
1780
|
+
element = $(element);
|
1781
|
+
if (Prototype.Browser.IE) {
|
1782
|
+
var t = Element._attributeTranslations.read;
|
1783
|
+
if (t.values[name]) return t.values[name](element, name);
|
1784
|
+
if (t.names[name]) name = t.names[name];
|
1785
|
+
if (name.include(':')) {
|
1786
|
+
return (!element.attributes || !element.attributes[name]) ? null :
|
1787
|
+
element.attributes[name].value;
|
1788
|
+
}
|
1789
|
+
}
|
1790
|
+
return element.getAttribute(name);
|
1791
|
+
},
|
1792
|
+
|
1793
|
+
writeAttribute: function(element, name, value) {
|
1794
|
+
element = $(element);
|
1795
|
+
var attributes = { }, t = Element._attributeTranslations.write;
|
1796
|
+
|
1797
|
+
if (typeof name == 'object') attributes = name;
|
1798
|
+
else attributes[name] = value === undefined ? true : value;
|
1799
|
+
|
1800
|
+
for (var attr in attributes) {
|
1801
|
+
var name = t.names[attr] || attr, value = attributes[attr];
|
1802
|
+
if (t.values[attr]) name = t.values[attr](element, value);
|
1803
|
+
if (value === false || value === null)
|
1804
|
+
element.removeAttribute(name);
|
1805
|
+
else if (value === true)
|
1806
|
+
element.setAttribute(name, name);
|
1807
|
+
else element.setAttribute(name, value);
|
1808
|
+
}
|
1809
|
+
return element;
|
1810
|
+
},
|
1811
|
+
|
1812
|
+
getHeight: function(element) {
|
1813
|
+
return $(element).getDimensions().height;
|
1814
|
+
},
|
1815
|
+
|
1816
|
+
getWidth: function(element) {
|
1817
|
+
return $(element).getDimensions().width;
|
1818
|
+
},
|
1819
|
+
|
1820
|
+
classNames: function(element) {
|
1821
|
+
return new Element.ClassNames(element);
|
1822
|
+
},
|
1823
|
+
|
1824
|
+
hasClassName: function(element, className) {
|
1825
|
+
if (!(element = $(element))) return;
|
1826
|
+
var elementClassName = element.className;
|
1827
|
+
return (elementClassName.length > 0 && (elementClassName == className ||
|
1828
|
+
new RegExp("(^|\\s)" + className + "(\\s|$)").test(elementClassName)));
|
1829
|
+
},
|
1830
|
+
|
1831
|
+
addClassName: function(element, className) {
|
1832
|
+
if (!(element = $(element))) return;
|
1833
|
+
if (!element.hasClassName(className))
|
1834
|
+
element.className += (element.className ? ' ' : '') + className;
|
1835
|
+
return element;
|
1836
|
+
},
|
1837
|
+
|
1838
|
+
removeClassName: function(element, className) {
|
1839
|
+
if (!(element = $(element))) return;
|
1840
|
+
element.className = element.className.replace(
|
1841
|
+
new RegExp("(^|\\s+)" + className + "(\\s+|$)"), ' ').strip();
|
1842
|
+
return element;
|
1843
|
+
},
|
1844
|
+
|
1845
|
+
toggleClassName: function(element, className) {
|
1846
|
+
if (!(element = $(element))) return;
|
1847
|
+
return element[element.hasClassName(className) ?
|
1848
|
+
'removeClassName' : 'addClassName'](className);
|
1849
|
+
},
|
1850
|
+
|
1851
|
+
// removes whitespace-only text node children
|
1852
|
+
cleanWhitespace: function(element) {
|
1853
|
+
element = $(element);
|
1854
|
+
var node = element.firstChild;
|
1855
|
+
while (node) {
|
1856
|
+
var nextNode = node.nextSibling;
|
1857
|
+
if (node.nodeType == 3 && !/\S/.test(node.nodeValue))
|
1858
|
+
element.removeChild(node);
|
1859
|
+
node = nextNode;
|
1860
|
+
}
|
1861
|
+
return element;
|
1862
|
+
},
|
1863
|
+
|
1864
|
+
empty: function(element) {
|
1865
|
+
return $(element).innerHTML.blank();
|
1866
|
+
},
|
1867
|
+
|
1868
|
+
descendantOf: function(element, ancestor) {
|
1869
|
+
element = $(element), ancestor = $(ancestor);
|
1870
|
+
|
1871
|
+
if (element.compareDocumentPosition)
|
1872
|
+
return (element.compareDocumentPosition(ancestor) & 8) === 8;
|
1873
|
+
|
1874
|
+
if (element.sourceIndex && !Prototype.Browser.Opera) {
|
1875
|
+
var e = element.sourceIndex, a = ancestor.sourceIndex,
|
1876
|
+
nextAncestor = ancestor.nextSibling;
|
1877
|
+
if (!nextAncestor) {
|
1878
|
+
do { ancestor = ancestor.parentNode; }
|
1879
|
+
while (!(nextAncestor = ancestor.nextSibling) && ancestor.parentNode);
|
1880
|
+
}
|
1881
|
+
if (nextAncestor) return (e > a && e < nextAncestor.sourceIndex);
|
1882
|
+
}
|
1883
|
+
|
1884
|
+
while (element = element.parentNode)
|
1885
|
+
if (element == ancestor) return true;
|
1886
|
+
return false;
|
1887
|
+
},
|
1888
|
+
|
1889
|
+
scrollTo: function(element) {
|
1890
|
+
element = $(element);
|
1891
|
+
var pos = element.cumulativeOffset();
|
1892
|
+
window.scrollTo(pos[0], pos[1]);
|
1893
|
+
return element;
|
1894
|
+
},
|
1895
|
+
|
1896
|
+
getStyle: function(element, style) {
|
1897
|
+
element = $(element);
|
1898
|
+
style = style == 'float' ? 'cssFloat' : style.camelize();
|
1899
|
+
var value = element.style[style];
|
1900
|
+
if (!value) {
|
1901
|
+
var css = document.defaultView.getComputedStyle(element, null);
|
1902
|
+
value = css ? css[style] : null;
|
1903
|
+
}
|
1904
|
+
if (style == 'opacity') return value ? parseFloat(value) : 1.0;
|
1905
|
+
return value == 'auto' ? null : value;
|
1906
|
+
},
|
1907
|
+
|
1908
|
+
getOpacity: function(element) {
|
1909
|
+
return $(element).getStyle('opacity');
|
1910
|
+
},
|
1911
|
+
|
1912
|
+
setStyle: function(element, styles) {
|
1913
|
+
element = $(element);
|
1914
|
+
var elementStyle = element.style, match;
|
1915
|
+
if (Object.isString(styles)) {
|
1916
|
+
element.style.cssText += ';' + styles;
|
1917
|
+
return styles.include('opacity') ?
|
1918
|
+
element.setOpacity(styles.match(/opacity:\s*(\d?\.?\d*)/)[1]) : element;
|
1919
|
+
}
|
1920
|
+
for (var property in styles)
|
1921
|
+
if (property == 'opacity') element.setOpacity(styles[property]);
|
1922
|
+
else
|
1923
|
+
elementStyle[(property == 'float' || property == 'cssFloat') ?
|
1924
|
+
(elementStyle.styleFloat === undefined ? 'cssFloat' : 'styleFloat') :
|
1925
|
+
property] = styles[property];
|
1926
|
+
|
1927
|
+
return element;
|
1928
|
+
},
|
1929
|
+
|
1930
|
+
setOpacity: function(element, value) {
|
1931
|
+
element = $(element);
|
1932
|
+
element.style.opacity = (value == 1 || value === '') ? '' :
|
1933
|
+
(value < 0.00001) ? 0 : value;
|
1934
|
+
return element;
|
1935
|
+
},
|
1936
|
+
|
1937
|
+
getDimensions: function(element) {
|
1938
|
+
element = $(element);
|
1939
|
+
var display = $(element).getStyle('display');
|
1940
|
+
if (display != 'none' && display != null) // Safari bug
|
1941
|
+
return {width: element.offsetWidth, height: element.offsetHeight};
|
1942
|
+
|
1943
|
+
// All *Width and *Height properties give 0 on elements with display none,
|
1944
|
+
// so enable the element temporarily
|
1945
|
+
var els = element.style;
|
1946
|
+
var originalVisibility = els.visibility;
|
1947
|
+
var originalPosition = els.position;
|
1948
|
+
var originalDisplay = els.display;
|
1949
|
+
els.visibility = 'hidden';
|
1950
|
+
els.position = 'absolute';
|
1951
|
+
els.display = 'block';
|
1952
|
+
var originalWidth = element.clientWidth;
|
1953
|
+
var originalHeight = element.clientHeight;
|
1954
|
+
els.display = originalDisplay;
|
1955
|
+
els.position = originalPosition;
|
1956
|
+
els.visibility = originalVisibility;
|
1957
|
+
return {width: originalWidth, height: originalHeight};
|
1958
|
+
},
|
1959
|
+
|
1960
|
+
makePositioned: function(element) {
|
1961
|
+
element = $(element);
|
1962
|
+
var pos = Element.getStyle(element, 'position');
|
1963
|
+
if (pos == 'static' || !pos) {
|
1964
|
+
element._madePositioned = true;
|
1965
|
+
element.style.position = 'relative';
|
1966
|
+
// Opera returns the offset relative to the positioning context, when an
|
1967
|
+
// element is position relative but top and left have not been defined
|
1968
|
+
if (window.opera) {
|
1969
|
+
element.style.top = 0;
|
1970
|
+
element.style.left = 0;
|
1971
|
+
}
|
1972
|
+
}
|
1973
|
+
return element;
|
1974
|
+
},
|
1975
|
+
|
1976
|
+
undoPositioned: function(element) {
|
1977
|
+
element = $(element);
|
1978
|
+
if (element._madePositioned) {
|
1979
|
+
element._madePositioned = undefined;
|
1980
|
+
element.style.position =
|
1981
|
+
element.style.top =
|
1982
|
+
element.style.left =
|
1983
|
+
element.style.bottom =
|
1984
|
+
element.style.right = '';
|
1985
|
+
}
|
1986
|
+
return element;
|
1987
|
+
},
|
1988
|
+
|
1989
|
+
makeClipping: function(element) {
|
1990
|
+
element = $(element);
|
1991
|
+
if (element._overflow) return element;
|
1992
|
+
element._overflow = Element.getStyle(element, 'overflow') || 'auto';
|
1993
|
+
if (element._overflow !== 'hidden')
|
1994
|
+
element.style.overflow = 'hidden';
|
1995
|
+
return element;
|
1996
|
+
},
|
1997
|
+
|
1998
|
+
undoClipping: function(element) {
|
1999
|
+
element = $(element);
|
2000
|
+
if (!element._overflow) return element;
|
2001
|
+
element.style.overflow = element._overflow == 'auto' ? '' : element._overflow;
|
2002
|
+
element._overflow = null;
|
2003
|
+
return element;
|
2004
|
+
},
|
2005
|
+
|
2006
|
+
cumulativeOffset: function(element) {
|
2007
|
+
var valueT = 0, valueL = 0;
|
2008
|
+
do {
|
2009
|
+
valueT += element.offsetTop || 0;
|
2010
|
+
valueL += element.offsetLeft || 0;
|
2011
|
+
element = element.offsetParent;
|
2012
|
+
} while (element);
|
2013
|
+
return Element._returnOffset(valueL, valueT);
|
2014
|
+
},
|
2015
|
+
|
2016
|
+
positionedOffset: function(element) {
|
2017
|
+
var valueT = 0, valueL = 0;
|
2018
|
+
do {
|
2019
|
+
valueT += element.offsetTop || 0;
|
2020
|
+
valueL += element.offsetLeft || 0;
|
2021
|
+
element = element.offsetParent;
|
2022
|
+
if (element) {
|
2023
|
+
if (element.tagName == 'BODY') break;
|
2024
|
+
var p = Element.getStyle(element, 'position');
|
2025
|
+
if (p == 'relative' || p == 'absolute') break;
|
2026
|
+
}
|
2027
|
+
} while (element);
|
2028
|
+
return Element._returnOffset(valueL, valueT);
|
2029
|
+
},
|
2030
|
+
|
2031
|
+
absolutize: function(element) {
|
2032
|
+
element = $(element);
|
2033
|
+
if (element.getStyle('position') == 'absolute') return;
|
2034
|
+
// Position.prepare(); // To be done manually by Scripty when it needs it.
|
2035
|
+
|
2036
|
+
var offsets = element.positionedOffset();
|
2037
|
+
var top = offsets[1];
|
2038
|
+
var left = offsets[0];
|
2039
|
+
var width = element.clientWidth;
|
2040
|
+
var height = element.clientHeight;
|
2041
|
+
|
2042
|
+
element._originalLeft = left - parseFloat(element.style.left || 0);
|
2043
|
+
element._originalTop = top - parseFloat(element.style.top || 0);
|
2044
|
+
element._originalWidth = element.style.width;
|
2045
|
+
element._originalHeight = element.style.height;
|
2046
|
+
|
2047
|
+
element.style.position = 'absolute';
|
2048
|
+
element.style.top = top + 'px';
|
2049
|
+
element.style.left = left + 'px';
|
2050
|
+
element.style.width = width + 'px';
|
2051
|
+
element.style.height = height + 'px';
|
2052
|
+
return element;
|
2053
|
+
},
|
2054
|
+
|
2055
|
+
relativize: function(element) {
|
2056
|
+
element = $(element);
|
2057
|
+
if (element.getStyle('position') == 'relative') return;
|
2058
|
+
// Position.prepare(); // To be done manually by Scripty when it needs it.
|
2059
|
+
|
2060
|
+
element.style.position = 'relative';
|
2061
|
+
var top = parseFloat(element.style.top || 0) - (element._originalTop || 0);
|
2062
|
+
var left = parseFloat(element.style.left || 0) - (element._originalLeft || 0);
|
2063
|
+
|
2064
|
+
element.style.top = top + 'px';
|
2065
|
+
element.style.left = left + 'px';
|
2066
|
+
element.style.height = element._originalHeight;
|
2067
|
+
element.style.width = element._originalWidth;
|
2068
|
+
return element;
|
2069
|
+
},
|
2070
|
+
|
2071
|
+
cumulativeScrollOffset: function(element) {
|
2072
|
+
var valueT = 0, valueL = 0;
|
2073
|
+
do {
|
2074
|
+
valueT += element.scrollTop || 0;
|
2075
|
+
valueL += element.scrollLeft || 0;
|
2076
|
+
element = element.parentNode;
|
2077
|
+
} while (element);
|
2078
|
+
return Element._returnOffset(valueL, valueT);
|
2079
|
+
},
|
2080
|
+
|
2081
|
+
getOffsetParent: function(element) {
|
2082
|
+
if (element.offsetParent) return $(element.offsetParent);
|
2083
|
+
if (element == document.body) return $(element);
|
2084
|
+
|
2085
|
+
while ((element = element.parentNode) && element != document.body)
|
2086
|
+
if (Element.getStyle(element, 'position') != 'static')
|
2087
|
+
return $(element);
|
2088
|
+
|
2089
|
+
return $(document.body);
|
2090
|
+
},
|
2091
|
+
|
2092
|
+
viewportOffset: function(forElement) {
|
2093
|
+
var valueT = 0, valueL = 0;
|
2094
|
+
|
2095
|
+
var element = forElement;
|
2096
|
+
do {
|
2097
|
+
valueT += element.offsetTop || 0;
|
2098
|
+
valueL += element.offsetLeft || 0;
|
2099
|
+
|
2100
|
+
// Safari fix
|
2101
|
+
if (element.offsetParent == document.body &&
|
2102
|
+
Element.getStyle(element, 'position') == 'absolute') break;
|
2103
|
+
|
2104
|
+
} while (element = element.offsetParent);
|
2105
|
+
|
2106
|
+
element = forElement;
|
2107
|
+
do {
|
2108
|
+
if (!Prototype.Browser.Opera || element.tagName == 'BODY') {
|
2109
|
+
valueT -= element.scrollTop || 0;
|
2110
|
+
valueL -= element.scrollLeft || 0;
|
2111
|
+
}
|
2112
|
+
} while (element = element.parentNode);
|
2113
|
+
|
2114
|
+
return Element._returnOffset(valueL, valueT);
|
2115
|
+
},
|
2116
|
+
|
2117
|
+
clonePosition: function(element, source) {
|
2118
|
+
var options = Object.extend({
|
2119
|
+
setLeft: true,
|
2120
|
+
setTop: true,
|
2121
|
+
setWidth: true,
|
2122
|
+
setHeight: true,
|
2123
|
+
offsetTop: 0,
|
2124
|
+
offsetLeft: 0
|
2125
|
+
}, arguments[2] || { });
|
2126
|
+
|
2127
|
+
// find page position of source
|
2128
|
+
source = $(source);
|
2129
|
+
var p = source.viewportOffset();
|
2130
|
+
|
2131
|
+
// find coordinate system to use
|
2132
|
+
element = $(element);
|
2133
|
+
var delta = [0, 0];
|
2134
|
+
var parent = null;
|
2135
|
+
// delta [0,0] will do fine with position: fixed elements,
|
2136
|
+
// position:absolute needs offsetParent deltas
|
2137
|
+
if (Element.getStyle(element, 'position') == 'absolute') {
|
2138
|
+
parent = element.getOffsetParent();
|
2139
|
+
delta = parent.viewportOffset();
|
2140
|
+
}
|
2141
|
+
|
2142
|
+
// correct by body offsets (fixes Safari)
|
2143
|
+
if (parent == document.body) {
|
2144
|
+
delta[0] -= document.body.offsetLeft;
|
2145
|
+
delta[1] -= document.body.offsetTop;
|
2146
|
+
}
|
2147
|
+
|
2148
|
+
// set position
|
2149
|
+
if (options.setLeft) element.style.left = (p[0] - delta[0] + options.offsetLeft) + 'px';
|
2150
|
+
if (options.setTop) element.style.top = (p[1] - delta[1] + options.offsetTop) + 'px';
|
2151
|
+
if (options.setWidth) element.style.width = source.offsetWidth + 'px';
|
2152
|
+
if (options.setHeight) element.style.height = source.offsetHeight + 'px';
|
2153
|
+
return element;
|
2154
|
+
}
|
2155
|
+
};
|
2156
|
+
|
2157
|
+
Element.Methods.identify.counter = 1;
|
2158
|
+
|
2159
|
+
Object.extend(Element.Methods, {
|
2160
|
+
getElementsBySelector: Element.Methods.select,
|
2161
|
+
childElements: Element.Methods.immediateDescendants
|
2162
|
+
});
|
2163
|
+
|
2164
|
+
Element._attributeTranslations = {
|
2165
|
+
write: {
|
2166
|
+
names: {
|
2167
|
+
className: 'class',
|
2168
|
+
htmlFor: 'for'
|
2169
|
+
},
|
2170
|
+
values: { }
|
2171
|
+
}
|
2172
|
+
};
|
2173
|
+
|
2174
|
+
|
2175
|
+
if (!document.createRange || Prototype.Browser.Opera) {
|
2176
|
+
Element.Methods.insert = function(element, insertions) {
|
2177
|
+
element = $(element);
|
2178
|
+
|
2179
|
+
if (Object.isString(insertions) || Object.isNumber(insertions) ||
|
2180
|
+
Object.isElement(insertions) || (insertions && (insertions.toElement || insertions.toHTML)))
|
2181
|
+
insertions = { bottom: insertions };
|
2182
|
+
|
2183
|
+
var t = Element._insertionTranslations, content, position, pos, tagName;
|
2184
|
+
|
2185
|
+
for (position in insertions) {
|
2186
|
+
content = insertions[position];
|
2187
|
+
position = position.toLowerCase();
|
2188
|
+
pos = t[position];
|
2189
|
+
|
2190
|
+
if (content && content.toElement) content = content.toElement();
|
2191
|
+
if (Object.isElement(content)) {
|
2192
|
+
pos.insert(element, content);
|
2193
|
+
continue;
|
2194
|
+
}
|
2195
|
+
|
2196
|
+
content = Object.toHTML(content);
|
2197
|
+
tagName = ((position == 'before' || position == 'after')
|
2198
|
+
? element.parentNode : element).tagName.toUpperCase();
|
2199
|
+
|
2200
|
+
if (t.tags[tagName]) {
|
2201
|
+
var fragments = Element._getContentFromAnonymousElement(tagName, content.stripScripts());
|
2202
|
+
if (position == 'top' || position == 'after') fragments.reverse();
|
2203
|
+
fragments.each(pos.insert.curry(element));
|
2204
|
+
}
|
2205
|
+
else element.insertAdjacentHTML(pos.adjacency, content.stripScripts());
|
2206
|
+
|
2207
|
+
content.evalScripts.bind(content).defer();
|
2208
|
+
}
|
2209
|
+
|
2210
|
+
return element;
|
2211
|
+
};
|
2212
|
+
}
|
2213
|
+
|
2214
|
+
if (Prototype.Browser.Opera) {
|
2215
|
+
Element.Methods._getStyle = Element.Methods.getStyle;
|
2216
|
+
Element.Methods.getStyle = function(element, style) {
|
2217
|
+
switch(style) {
|
2218
|
+
case 'left':
|
2219
|
+
case 'top':
|
2220
|
+
case 'right':
|
2221
|
+
case 'bottom':
|
2222
|
+
if (Element._getStyle(element, 'position') == 'static') return null;
|
2223
|
+
default: return Element._getStyle(element, style);
|
2224
|
+
}
|
2225
|
+
};
|
2226
|
+
Element.Methods._readAttribute = Element.Methods.readAttribute;
|
2227
|
+
Element.Methods.readAttribute = function(element, attribute) {
|
2228
|
+
if (attribute == 'title') return element.title;
|
2229
|
+
return Element._readAttribute(element, attribute);
|
2230
|
+
};
|
2231
|
+
}
|
2232
|
+
|
2233
|
+
else if (Prototype.Browser.IE) {
|
2234
|
+
$w('positionedOffset getOffsetParent viewportOffset').each(function(method) {
|
2235
|
+
Element.Methods[method] = Element.Methods[method].wrap(
|
2236
|
+
function(proceed, element) {
|
2237
|
+
element = $(element);
|
2238
|
+
var position = element.getStyle('position');
|
2239
|
+
if (position != 'static') return proceed(element);
|
2240
|
+
element.setStyle({ position: 'relative' });
|
2241
|
+
var value = proceed(element);
|
2242
|
+
element.setStyle({ position: position });
|
2243
|
+
return value;
|
2244
|
+
}
|
2245
|
+
);
|
2246
|
+
});
|
2247
|
+
|
2248
|
+
Element.Methods.getStyle = function(element, style) {
|
2249
|
+
element = $(element);
|
2250
|
+
style = (style == 'float' || style == 'cssFloat') ? 'styleFloat' : style.camelize();
|
2251
|
+
var value = element.style[style];
|
2252
|
+
if (!value && element.currentStyle) value = element.currentStyle[style];
|
2253
|
+
|
2254
|
+
if (style == 'opacity') {
|
2255
|
+
if (value = (element.getStyle('filter') || '').match(/alpha\(opacity=(.*)\)/))
|
2256
|
+
if (value[1]) return parseFloat(value[1]) / 100;
|
2257
|
+
return 1.0;
|
2258
|
+
}
|
2259
|
+
|
2260
|
+
if (value == 'auto') {
|
2261
|
+
if ((style == 'width' || style == 'height') && (element.getStyle('display') != 'none'))
|
2262
|
+
return element['offset' + style.capitalize()] + 'px';
|
2263
|
+
return null;
|
2264
|
+
}
|
2265
|
+
return value;
|
2266
|
+
};
|
2267
|
+
|
2268
|
+
Element.Methods.setOpacity = function(element, value) {
|
2269
|
+
function stripAlpha(filter){
|
2270
|
+
return filter.replace(/alpha\([^\)]*\)/gi,'');
|
2271
|
+
}
|
2272
|
+
element = $(element);
|
2273
|
+
var currentStyle = element.currentStyle;
|
2274
|
+
if ((currentStyle && !currentStyle.hasLayout) ||
|
2275
|
+
(!currentStyle && element.style.zoom == 'normal'))
|
2276
|
+
element.style.zoom = 1;
|
2277
|
+
|
2278
|
+
var filter = element.getStyle('filter'), style = element.style;
|
2279
|
+
if (value == 1 || value === '') {
|
2280
|
+
(filter = stripAlpha(filter)) ?
|
2281
|
+
style.filter = filter : style.removeAttribute('filter');
|
2282
|
+
return element;
|
2283
|
+
} else if (value < 0.00001) value = 0;
|
2284
|
+
style.filter = stripAlpha(filter) +
|
2285
|
+
'alpha(opacity=' + (value * 100) + ')';
|
2286
|
+
return element;
|
2287
|
+
};
|
2288
|
+
|
2289
|
+
Element._attributeTranslations = {
|
2290
|
+
read: {
|
2291
|
+
names: {
|
2292
|
+
'class': 'className',
|
2293
|
+
'for': 'htmlFor'
|
2294
|
+
},
|
2295
|
+
values: {
|
2296
|
+
_getAttr: function(element, attribute) {
|
2297
|
+
return element.getAttribute(attribute, 2);
|
2298
|
+
},
|
2299
|
+
_getAttrNode: function(element, attribute) {
|
2300
|
+
var node = element.getAttributeNode(attribute);
|
2301
|
+
return node ? node.value : "";
|
2302
|
+
},
|
2303
|
+
_getEv: function(element, attribute) {
|
2304
|
+
var attribute = element.getAttribute(attribute);
|
2305
|
+
return attribute ? attribute.toString().slice(23, -2) : null;
|
2306
|
+
},
|
2307
|
+
_flag: function(element, attribute) {
|
2308
|
+
return $(element).hasAttribute(attribute) ? attribute : null;
|
2309
|
+
},
|
2310
|
+
style: function(element) {
|
2311
|
+
return element.style.cssText.toLowerCase();
|
2312
|
+
},
|
2313
|
+
title: function(element) {
|
2314
|
+
return element.title;
|
2315
|
+
}
|
2316
|
+
}
|
2317
|
+
}
|
2318
|
+
};
|
2319
|
+
|
2320
|
+
Element._attributeTranslations.write = {
|
2321
|
+
names: Object.clone(Element._attributeTranslations.read.names),
|
2322
|
+
values: {
|
2323
|
+
checked: function(element, value) {
|
2324
|
+
element.checked = !!value;
|
2325
|
+
},
|
2326
|
+
|
2327
|
+
style: function(element, value) {
|
2328
|
+
element.style.cssText = value ? value : '';
|
2329
|
+
}
|
2330
|
+
}
|
2331
|
+
};
|
2332
|
+
|
2333
|
+
Element._attributeTranslations.has = {};
|
2334
|
+
|
2335
|
+
$w('colSpan rowSpan vAlign dateTime accessKey tabIndex ' +
|
2336
|
+
'encType maxLength readOnly longDesc').each(function(attr) {
|
2337
|
+
Element._attributeTranslations.write.names[attr.toLowerCase()] = attr;
|
2338
|
+
Element._attributeTranslations.has[attr.toLowerCase()] = attr;
|
2339
|
+
});
|
2340
|
+
|
2341
|
+
(function(v) {
|
2342
|
+
Object.extend(v, {
|
2343
|
+
href: v._getAttr,
|
2344
|
+
src: v._getAttr,
|
2345
|
+
type: v._getAttr,
|
2346
|
+
action: v._getAttrNode,
|
2347
|
+
disabled: v._flag,
|
2348
|
+
checked: v._flag,
|
2349
|
+
readonly: v._flag,
|
2350
|
+
multiple: v._flag,
|
2351
|
+
onload: v._getEv,
|
2352
|
+
onunload: v._getEv,
|
2353
|
+
onclick: v._getEv,
|
2354
|
+
ondblclick: v._getEv,
|
2355
|
+
onmousedown: v._getEv,
|
2356
|
+
onmouseup: v._getEv,
|
2357
|
+
onmouseover: v._getEv,
|
2358
|
+
onmousemove: v._getEv,
|
2359
|
+
onmouseout: v._getEv,
|
2360
|
+
onfocus: v._getEv,
|
2361
|
+
onblur: v._getEv,
|
2362
|
+
onkeypress: v._getEv,
|
2363
|
+
onkeydown: v._getEv,
|
2364
|
+
onkeyup: v._getEv,
|
2365
|
+
onsubmit: v._getEv,
|
2366
|
+
onreset: v._getEv,
|
2367
|
+
onselect: v._getEv,
|
2368
|
+
onchange: v._getEv
|
2369
|
+
});
|
2370
|
+
})(Element._attributeTranslations.read.values);
|
2371
|
+
}
|
2372
|
+
|
2373
|
+
else if (Prototype.Browser.Gecko && /rv:1\.8\.0/.test(navigator.userAgent)) {
|
2374
|
+
Element.Methods.setOpacity = function(element, value) {
|
2375
|
+
element = $(element);
|
2376
|
+
element.style.opacity = (value == 1) ? 0.999999 :
|
2377
|
+
(value === '') ? '' : (value < 0.00001) ? 0 : value;
|
2378
|
+
return element;
|
2379
|
+
};
|
2380
|
+
}
|
2381
|
+
|
2382
|
+
else if (Prototype.Browser.WebKit) {
|
2383
|
+
Element.Methods.setOpacity = function(element, value) {
|
2384
|
+
element = $(element);
|
2385
|
+
element.style.opacity = (value == 1 || value === '') ? '' :
|
2386
|
+
(value < 0.00001) ? 0 : value;
|
2387
|
+
|
2388
|
+
if (value == 1)
|
2389
|
+
if(element.tagName == 'IMG' && element.width) {
|
2390
|
+
element.width++; element.width--;
|
2391
|
+
} else try {
|
2392
|
+
var n = document.createTextNode(' ');
|
2393
|
+
element.appendChild(n);
|
2394
|
+
element.removeChild(n);
|
2395
|
+
} catch (e) { }
|
2396
|
+
|
2397
|
+
return element;
|
2398
|
+
};
|
2399
|
+
|
2400
|
+
// Safari returns margins on body which is incorrect if the child is absolutely
|
2401
|
+
// positioned. For performance reasons, redefine Position.cumulativeOffset for
|
2402
|
+
// KHTML/WebKit only.
|
2403
|
+
Element.Methods.cumulativeOffset = function(element) {
|
2404
|
+
var valueT = 0, valueL = 0;
|
2405
|
+
do {
|
2406
|
+
valueT += element.offsetTop || 0;
|
2407
|
+
valueL += element.offsetLeft || 0;
|
2408
|
+
if (element.offsetParent == document.body)
|
2409
|
+
if (Element.getStyle(element, 'position') == 'absolute') break;
|
2410
|
+
|
2411
|
+
element = element.offsetParent;
|
2412
|
+
} while (element);
|
2413
|
+
|
2414
|
+
return Element._returnOffset(valueL, valueT);
|
2415
|
+
};
|
2416
|
+
}
|
2417
|
+
|
2418
|
+
if (Prototype.Browser.IE || Prototype.Browser.Opera) {
|
2419
|
+
// IE and Opera are missing .innerHTML support for TABLE-related and SELECT elements
|
2420
|
+
Element.Methods.update = function(element, content) {
|
2421
|
+
element = $(element);
|
2422
|
+
|
2423
|
+
if (content && content.toElement) content = content.toElement();
|
2424
|
+
if (Object.isElement(content)) return element.update().insert(content);
|
2425
|
+
|
2426
|
+
content = Object.toHTML(content);
|
2427
|
+
var tagName = element.tagName.toUpperCase();
|
2428
|
+
|
2429
|
+
if (tagName in Element._insertionTranslations.tags) {
|
2430
|
+
$A(element.childNodes).each(function(node) { element.removeChild(node) });
|
2431
|
+
Element._getContentFromAnonymousElement(tagName, content.stripScripts())
|
2432
|
+
.each(function(node) { element.appendChild(node) });
|
2433
|
+
}
|
2434
|
+
else element.innerHTML = content.stripScripts();
|
2435
|
+
|
2436
|
+
content.evalScripts.bind(content).defer();
|
2437
|
+
return element;
|
2438
|
+
};
|
2439
|
+
}
|
2440
|
+
|
2441
|
+
if (document.createElement('div').outerHTML) {
|
2442
|
+
Element.Methods.replace = function(element, content) {
|
2443
|
+
element = $(element);
|
2444
|
+
|
2445
|
+
if (content && content.toElement) content = content.toElement();
|
2446
|
+
if (Object.isElement(content)) {
|
2447
|
+
element.parentNode.replaceChild(content, element);
|
2448
|
+
return element;
|
2449
|
+
}
|
2450
|
+
|
2451
|
+
content = Object.toHTML(content);
|
2452
|
+
var parent = element.parentNode, tagName = parent.tagName.toUpperCase();
|
2453
|
+
|
2454
|
+
if (Element._insertionTranslations.tags[tagName]) {
|
2455
|
+
var nextSibling = element.next();
|
2456
|
+
var fragments = Element._getContentFromAnonymousElement(tagName, content.stripScripts());
|
2457
|
+
parent.removeChild(element);
|
2458
|
+
if (nextSibling)
|
2459
|
+
fragments.each(function(node) { parent.insertBefore(node, nextSibling) });
|
2460
|
+
else
|
2461
|
+
fragments.each(function(node) { parent.appendChild(node) });
|
2462
|
+
}
|
2463
|
+
else element.outerHTML = content.stripScripts();
|
2464
|
+
|
2465
|
+
content.evalScripts.bind(content).defer();
|
2466
|
+
return element;
|
2467
|
+
};
|
2468
|
+
}
|
2469
|
+
|
2470
|
+
Element._returnOffset = function(l, t) {
|
2471
|
+
var result = [l, t];
|
2472
|
+
result.left = l;
|
2473
|
+
result.top = t;
|
2474
|
+
return result;
|
2475
|
+
};
|
2476
|
+
|
2477
|
+
Element._getContentFromAnonymousElement = function(tagName, html) {
|
2478
|
+
var div = new Element('div'), t = Element._insertionTranslations.tags[tagName];
|
2479
|
+
div.innerHTML = t[0] + html + t[1];
|
2480
|
+
t[2].times(function() { div = div.firstChild });
|
2481
|
+
return $A(div.childNodes);
|
2482
|
+
};
|
2483
|
+
|
2484
|
+
Element._insertionTranslations = {
|
2485
|
+
before: {
|
2486
|
+
adjacency: 'beforeBegin',
|
2487
|
+
insert: function(element, node) {
|
2488
|
+
element.parentNode.insertBefore(node, element);
|
2489
|
+
},
|
2490
|
+
initializeRange: function(element, range) {
|
2491
|
+
range.setStartBefore(element);
|
2492
|
+
}
|
2493
|
+
},
|
2494
|
+
top: {
|
2495
|
+
adjacency: 'afterBegin',
|
2496
|
+
insert: function(element, node) {
|
2497
|
+
element.insertBefore(node, element.firstChild);
|
2498
|
+
},
|
2499
|
+
initializeRange: function(element, range) {
|
2500
|
+
range.selectNodeContents(element);
|
2501
|
+
range.collapse(true);
|
2502
|
+
}
|
2503
|
+
},
|
2504
|
+
bottom: {
|
2505
|
+
adjacency: 'beforeEnd',
|
2506
|
+
insert: function(element, node) {
|
2507
|
+
element.appendChild(node);
|
2508
|
+
}
|
2509
|
+
},
|
2510
|
+
after: {
|
2511
|
+
adjacency: 'afterEnd',
|
2512
|
+
insert: function(element, node) {
|
2513
|
+
element.parentNode.insertBefore(node, element.nextSibling);
|
2514
|
+
},
|
2515
|
+
initializeRange: function(element, range) {
|
2516
|
+
range.setStartAfter(element);
|
2517
|
+
}
|
2518
|
+
},
|
2519
|
+
tags: {
|
2520
|
+
TABLE: ['<table>', '</table>', 1],
|
2521
|
+
TBODY: ['<table><tbody>', '</tbody></table>', 2],
|
2522
|
+
TR: ['<table><tbody><tr>', '</tr></tbody></table>', 3],
|
2523
|
+
TD: ['<table><tbody><tr><td>', '</td></tr></tbody></table>', 4],
|
2524
|
+
SELECT: ['<select>', '</select>', 1]
|
2525
|
+
}
|
2526
|
+
};
|
2527
|
+
|
2528
|
+
(function() {
|
2529
|
+
this.bottom.initializeRange = this.top.initializeRange;
|
2530
|
+
Object.extend(this.tags, {
|
2531
|
+
THEAD: this.tags.TBODY,
|
2532
|
+
TFOOT: this.tags.TBODY,
|
2533
|
+
TH: this.tags.TD
|
2534
|
+
});
|
2535
|
+
}).call(Element._insertionTranslations);
|
2536
|
+
|
2537
|
+
Element.Methods.Simulated = {
|
2538
|
+
hasAttribute: function(element, attribute) {
|
2539
|
+
attribute = Element._attributeTranslations.has[attribute] || attribute;
|
2540
|
+
var node = $(element).getAttributeNode(attribute);
|
2541
|
+
return node && node.specified;
|
2542
|
+
}
|
2543
|
+
};
|
2544
|
+
|
2545
|
+
Element.Methods.ByTag = { };
|
2546
|
+
|
2547
|
+
Object.extend(Element, Element.Methods);
|
2548
|
+
|
2549
|
+
if (!Prototype.BrowserFeatures.ElementExtensions &&
|
2550
|
+
document.createElement('div').__proto__) {
|
2551
|
+
window.HTMLElement = { };
|
2552
|
+
window.HTMLElement.prototype = document.createElement('div').__proto__;
|
2553
|
+
Prototype.BrowserFeatures.ElementExtensions = true;
|
2554
|
+
}
|
2555
|
+
|
2556
|
+
Element.extend = (function() {
|
2557
|
+
if (Prototype.BrowserFeatures.SpecificElementExtensions)
|
2558
|
+
return Prototype.K;
|
2559
|
+
|
2560
|
+
var Methods = { }, ByTag = Element.Methods.ByTag;
|
2561
|
+
|
2562
|
+
var extend = Object.extend(function(element) {
|
2563
|
+
if (!element || element._extendedByPrototype ||
|
2564
|
+
element.nodeType != 1 || element == window) return element;
|
2565
|
+
|
2566
|
+
var methods = Object.clone(Methods),
|
2567
|
+
tagName = element.tagName, property, value;
|
2568
|
+
|
2569
|
+
// extend methods for specific tags
|
2570
|
+
if (ByTag[tagName]) Object.extend(methods, ByTag[tagName]);
|
2571
|
+
|
2572
|
+
for (property in methods) {
|
2573
|
+
value = methods[property];
|
2574
|
+
if (Object.isFunction(value) && !(property in element))
|
2575
|
+
element[property] = value.methodize();
|
2576
|
+
}
|
2577
|
+
|
2578
|
+
element._extendedByPrototype = Prototype.emptyFunction;
|
2579
|
+
return element;
|
2580
|
+
|
2581
|
+
}, {
|
2582
|
+
refresh: function() {
|
2583
|
+
// extend methods for all tags (Safari doesn't need this)
|
2584
|
+
if (!Prototype.BrowserFeatures.ElementExtensions) {
|
2585
|
+
Object.extend(Methods, Element.Methods);
|
2586
|
+
Object.extend(Methods, Element.Methods.Simulated);
|
2587
|
+
}
|
2588
|
+
}
|
2589
|
+
});
|
2590
|
+
|
2591
|
+
extend.refresh();
|
2592
|
+
return extend;
|
2593
|
+
})();
|
2594
|
+
|
2595
|
+
Element.hasAttribute = function(element, attribute) {
|
2596
|
+
if (element.hasAttribute) return element.hasAttribute(attribute);
|
2597
|
+
return Element.Methods.Simulated.hasAttribute(element, attribute);
|
2598
|
+
};
|
2599
|
+
|
2600
|
+
Element.addMethods = function(methods) {
|
2601
|
+
var F = Prototype.BrowserFeatures, T = Element.Methods.ByTag;
|
2602
|
+
|
2603
|
+
if (!methods) {
|
2604
|
+
Object.extend(Form, Form.Methods);
|
2605
|
+
Object.extend(Form.Element, Form.Element.Methods);
|
2606
|
+
Object.extend(Element.Methods.ByTag, {
|
2607
|
+
"FORM": Object.clone(Form.Methods),
|
2608
|
+
"INPUT": Object.clone(Form.Element.Methods),
|
2609
|
+
"SELECT": Object.clone(Form.Element.Methods),
|
2610
|
+
"TEXTAREA": Object.clone(Form.Element.Methods)
|
2611
|
+
});
|
2612
|
+
}
|
2613
|
+
|
2614
|
+
if (arguments.length == 2) {
|
2615
|
+
var tagName = methods;
|
2616
|
+
methods = arguments[1];
|
2617
|
+
}
|
2618
|
+
|
2619
|
+
if (!tagName) Object.extend(Element.Methods, methods || { });
|
2620
|
+
else {
|
2621
|
+
if (Object.isArray(tagName)) tagName.each(extend);
|
2622
|
+
else extend(tagName);
|
2623
|
+
}
|
2624
|
+
|
2625
|
+
function extend(tagName) {
|
2626
|
+
tagName = tagName.toUpperCase();
|
2627
|
+
if (!Element.Methods.ByTag[tagName])
|
2628
|
+
Element.Methods.ByTag[tagName] = { };
|
2629
|
+
Object.extend(Element.Methods.ByTag[tagName], methods);
|
2630
|
+
}
|
2631
|
+
|
2632
|
+
function copy(methods, destination, onlyIfAbsent) {
|
2633
|
+
onlyIfAbsent = onlyIfAbsent || false;
|
2634
|
+
for (var property in methods) {
|
2635
|
+
var value = methods[property];
|
2636
|
+
if (!Object.isFunction(value)) continue;
|
2637
|
+
if (!onlyIfAbsent || !(property in destination))
|
2638
|
+
destination[property] = value.methodize();
|
2639
|
+
}
|
2640
|
+
}
|
2641
|
+
|
2642
|
+
function findDOMClass(tagName) {
|
2643
|
+
var klass;
|
2644
|
+
var trans = {
|
2645
|
+
"OPTGROUP": "OptGroup", "TEXTAREA": "TextArea", "P": "Paragraph",
|
2646
|
+
"FIELDSET": "FieldSet", "UL": "UList", "OL": "OList", "DL": "DList",
|
2647
|
+
"DIR": "Directory", "H1": "Heading", "H2": "Heading", "H3": "Heading",
|
2648
|
+
"H4": "Heading", "H5": "Heading", "H6": "Heading", "Q": "Quote",
|
2649
|
+
"INS": "Mod", "DEL": "Mod", "A": "Anchor", "IMG": "Image", "CAPTION":
|
2650
|
+
"TableCaption", "COL": "TableCol", "COLGROUP": "TableCol", "THEAD":
|
2651
|
+
"TableSection", "TFOOT": "TableSection", "TBODY": "TableSection", "TR":
|
2652
|
+
"TableRow", "TH": "TableCell", "TD": "TableCell", "FRAMESET":
|
2653
|
+
"FrameSet", "IFRAME": "IFrame"
|
2654
|
+
};
|
2655
|
+
if (trans[tagName]) klass = 'HTML' + trans[tagName] + 'Element';
|
2656
|
+
if (window[klass]) return window[klass];
|
2657
|
+
klass = 'HTML' + tagName + 'Element';
|
2658
|
+
if (window[klass]) return window[klass];
|
2659
|
+
klass = 'HTML' + tagName.capitalize() + 'Element';
|
2660
|
+
if (window[klass]) return window[klass];
|
2661
|
+
|
2662
|
+
window[klass] = { };
|
2663
|
+
window[klass].prototype = document.createElement(tagName).__proto__;
|
2664
|
+
return window[klass];
|
2665
|
+
}
|
2666
|
+
|
2667
|
+
if (F.ElementExtensions) {
|
2668
|
+
copy(Element.Methods, HTMLElement.prototype);
|
2669
|
+
copy(Element.Methods.Simulated, HTMLElement.prototype, true);
|
2670
|
+
}
|
2671
|
+
|
2672
|
+
if (F.SpecificElementExtensions) {
|
2673
|
+
for (var tag in Element.Methods.ByTag) {
|
2674
|
+
var klass = findDOMClass(tag);
|
2675
|
+
if (Object.isUndefined(klass)) continue;
|
2676
|
+
copy(T[tag], klass.prototype);
|
2677
|
+
}
|
2678
|
+
}
|
2679
|
+
|
2680
|
+
Object.extend(Element, Element.Methods);
|
2681
|
+
delete Element.ByTag;
|
2682
|
+
|
2683
|
+
if (Element.extend.refresh) Element.extend.refresh();
|
2684
|
+
Element.cache = { };
|
2685
|
+
};
|
2686
|
+
|
2687
|
+
document.viewport = {
|
2688
|
+
getDimensions: function() {
|
2689
|
+
var dimensions = { };
|
2690
|
+
$w('width height').each(function(d) {
|
2691
|
+
var D = d.capitalize();
|
2692
|
+
dimensions[d] = self['inner' + D] ||
|
2693
|
+
(document.documentElement['client' + D] || document.body['client' + D]);
|
2694
|
+
});
|
2695
|
+
return dimensions;
|
2696
|
+
},
|
2697
|
+
|
2698
|
+
getWidth: function() {
|
2699
|
+
return this.getDimensions().width;
|
2700
|
+
},
|
2701
|
+
|
2702
|
+
getHeight: function() {
|
2703
|
+
return this.getDimensions().height;
|
2704
|
+
},
|
2705
|
+
|
2706
|
+
getScrollOffsets: function() {
|
2707
|
+
return Element._returnOffset(
|
2708
|
+
window.pageXOffset || document.documentElement.scrollLeft || document.body.scrollLeft,
|
2709
|
+
window.pageYOffset || document.documentElement.scrollTop || document.body.scrollTop);
|
2710
|
+
}
|
2711
|
+
};
|
2712
|
+
/* Portions of the Selector class are derived from Jack Slocum’s DomQuery,
|
2713
|
+
* part of YUI-Ext version 0.40, distributed under the terms of an MIT-style
|
2714
|
+
* license. Please see http://www.yui-ext.com/ for more information. */
|
2715
|
+
|
2716
|
+
var Selector = Class.create({
|
2717
|
+
initialize: function(expression) {
|
2718
|
+
this.expression = expression.strip();
|
2719
|
+
this.compileMatcher();
|
2720
|
+
},
|
2721
|
+
|
2722
|
+
compileMatcher: function() {
|
2723
|
+
// Selectors with namespaced attributes can't use the XPath version
|
2724
|
+
if (Prototype.BrowserFeatures.XPath && !(/(\[[\w-]*?:|:checked)/).test(this.expression))
|
2725
|
+
return this.compileXPathMatcher();
|
2726
|
+
|
2727
|
+
var e = this.expression, ps = Selector.patterns, h = Selector.handlers,
|
2728
|
+
c = Selector.criteria, le, p, m;
|
2729
|
+
|
2730
|
+
if (Selector._cache[e]) {
|
2731
|
+
this.matcher = Selector._cache[e];
|
2732
|
+
return;
|
2733
|
+
}
|
2734
|
+
|
2735
|
+
this.matcher = ["this.matcher = function(root) {",
|
2736
|
+
"var r = root, h = Selector.handlers, c = false, n;"];
|
2737
|
+
|
2738
|
+
while (e && le != e && (/\S/).test(e)) {
|
2739
|
+
le = e;
|
2740
|
+
for (var i in ps) {
|
2741
|
+
p = ps[i];
|
2742
|
+
if (m = e.match(p)) {
|
2743
|
+
this.matcher.push(Object.isFunction(c[i]) ? c[i](m) :
|
2744
|
+
new Template(c[i]).evaluate(m));
|
2745
|
+
e = e.replace(m[0], '');
|
2746
|
+
break;
|
2747
|
+
}
|
2748
|
+
}
|
2749
|
+
}
|
2750
|
+
|
2751
|
+
this.matcher.push("return h.unique(n);\n}");
|
2752
|
+
eval(this.matcher.join('\n'));
|
2753
|
+
Selector._cache[this.expression] = this.matcher;
|
2754
|
+
},
|
2755
|
+
|
2756
|
+
compileXPathMatcher: function() {
|
2757
|
+
var e = this.expression, ps = Selector.patterns,
|
2758
|
+
x = Selector.xpath, le, m;
|
2759
|
+
|
2760
|
+
if (Selector._cache[e]) {
|
2761
|
+
this.xpath = Selector._cache[e]; return;
|
2762
|
+
}
|
2763
|
+
|
2764
|
+
this.matcher = ['.//*'];
|
2765
|
+
while (e && le != e && (/\S/).test(e)) {
|
2766
|
+
le = e;
|
2767
|
+
for (var i in ps) {
|
2768
|
+
if (m = e.match(ps[i])) {
|
2769
|
+
this.matcher.push(Object.isFunction(x[i]) ? x[i](m) :
|
2770
|
+
new Template(x[i]).evaluate(m));
|
2771
|
+
e = e.replace(m[0], '');
|
2772
|
+
break;
|
2773
|
+
}
|
2774
|
+
}
|
2775
|
+
}
|
2776
|
+
|
2777
|
+
this.xpath = this.matcher.join('');
|
2778
|
+
Selector._cache[this.expression] = this.xpath;
|
2779
|
+
},
|
2780
|
+
|
2781
|
+
findElements: function(root) {
|
2782
|
+
root = root || document;
|
2783
|
+
if (this.xpath) return document._getElementsByXPath(this.xpath, root);
|
2784
|
+
return this.matcher(root);
|
2785
|
+
},
|
2786
|
+
|
2787
|
+
match: function(element) {
|
2788
|
+
this.tokens = [];
|
2789
|
+
|
2790
|
+
var e = this.expression, ps = Selector.patterns, as = Selector.assertions;
|
2791
|
+
var le, p, m;
|
2792
|
+
|
2793
|
+
while (e && le !== e && (/\S/).test(e)) {
|
2794
|
+
le = e;
|
2795
|
+
for (var i in ps) {
|
2796
|
+
p = ps[i];
|
2797
|
+
if (m = e.match(p)) {
|
2798
|
+
// use the Selector.assertions methods unless the selector
|
2799
|
+
// is too complex.
|
2800
|
+
if (as[i]) {
|
2801
|
+
this.tokens.push([i, Object.clone(m)]);
|
2802
|
+
e = e.replace(m[0], '');
|
2803
|
+
} else {
|
2804
|
+
// reluctantly do a document-wide search
|
2805
|
+
// and look for a match in the array
|
2806
|
+
return this.findElements(document).include(element);
|
2807
|
+
}
|
2808
|
+
}
|
2809
|
+
}
|
2810
|
+
}
|
2811
|
+
|
2812
|
+
var match = true, name, matches;
|
2813
|
+
for (var i = 0, token; token = this.tokens[i]; i++) {
|
2814
|
+
name = token[0], matches = token[1];
|
2815
|
+
if (!Selector.assertions[name](element, matches)) {
|
2816
|
+
match = false; break;
|
2817
|
+
}
|
2818
|
+
}
|
2819
|
+
|
2820
|
+
return match;
|
2821
|
+
},
|
2822
|
+
|
2823
|
+
toString: function() {
|
2824
|
+
return this.expression;
|
2825
|
+
},
|
2826
|
+
|
2827
|
+
inspect: function() {
|
2828
|
+
return "#<Selector:" + this.expression.inspect() + ">";
|
2829
|
+
}
|
2830
|
+
});
|
2831
|
+
|
2832
|
+
Object.extend(Selector, {
|
2833
|
+
_cache: { },
|
2834
|
+
|
2835
|
+
xpath: {
|
2836
|
+
descendant: "//*",
|
2837
|
+
child: "/*",
|
2838
|
+
adjacent: "/following-sibling::*[1]",
|
2839
|
+
laterSibling: '/following-sibling::*',
|
2840
|
+
tagName: function(m) {
|
2841
|
+
if (m[1] == '*') return '';
|
2842
|
+
return "[local-name()='" + m[1].toLowerCase() +
|
2843
|
+
"' or local-name()='" + m[1].toUpperCase() + "']";
|
2844
|
+
},
|
2845
|
+
className: "[contains(concat(' ', @class, ' '), ' #{1} ')]",
|
2846
|
+
id: "[@id='#{1}']",
|
2847
|
+
attrPresence: "[@#{1}]",
|
2848
|
+
attr: function(m) {
|
2849
|
+
m[3] = m[5] || m[6];
|
2850
|
+
return new Template(Selector.xpath.operators[m[2]]).evaluate(m);
|
2851
|
+
},
|
2852
|
+
pseudo: function(m) {
|
2853
|
+
var h = Selector.xpath.pseudos[m[1]];
|
2854
|
+
if (!h) return '';
|
2855
|
+
if (Object.isFunction(h)) return h(m);
|
2856
|
+
return new Template(Selector.xpath.pseudos[m[1]]).evaluate(m);
|
2857
|
+
},
|
2858
|
+
operators: {
|
2859
|
+
'=': "[@#{1}='#{3}']",
|
2860
|
+
'!=': "[@#{1}!='#{3}']",
|
2861
|
+
'^=': "[starts-with(@#{1}, '#{3}')]",
|
2862
|
+
'$=': "[substring(@#{1}, (string-length(@#{1}) - string-length('#{3}') + 1))='#{3}']",
|
2863
|
+
'*=': "[contains(@#{1}, '#{3}')]",
|
2864
|
+
'~=': "[contains(concat(' ', @#{1}, ' '), ' #{3} ')]",
|
2865
|
+
'|=': "[contains(concat('-', @#{1}, '-'), '-#{3}-')]"
|
2866
|
+
},
|
2867
|
+
pseudos: {
|
2868
|
+
'first-child': '[not(preceding-sibling::*)]',
|
2869
|
+
'last-child': '[not(following-sibling::*)]',
|
2870
|
+
'only-child': '[not(preceding-sibling::* or following-sibling::*)]',
|
2871
|
+
'empty': "[count(*) = 0 and (count(text()) = 0 or translate(text(), ' \t\r\n', '') = '')]",
|
2872
|
+
'checked': "[@checked]",
|
2873
|
+
'disabled': "[@disabled]",
|
2874
|
+
'enabled': "[not(@disabled)]",
|
2875
|
+
'not': function(m) {
|
2876
|
+
var e = m[6], p = Selector.patterns,
|
2877
|
+
x = Selector.xpath, le, m, v;
|
2878
|
+
|
2879
|
+
var exclusion = [];
|
2880
|
+
while (e && le != e && (/\S/).test(e)) {
|
2881
|
+
le = e;
|
2882
|
+
for (var i in p) {
|
2883
|
+
if (m = e.match(p[i])) {
|
2884
|
+
v = Object.isFunction(x[i]) ? x[i](m) : new Template(x[i]).evaluate(m);
|
2885
|
+
exclusion.push("(" + v.substring(1, v.length - 1) + ")");
|
2886
|
+
e = e.replace(m[0], '');
|
2887
|
+
break;
|
2888
|
+
}
|
2889
|
+
}
|
2890
|
+
}
|
2891
|
+
return "[not(" + exclusion.join(" and ") + ")]";
|
2892
|
+
},
|
2893
|
+
'nth-child': function(m) {
|
2894
|
+
return Selector.xpath.pseudos.nth("(count(./preceding-sibling::*) + 1) ", m);
|
2895
|
+
},
|
2896
|
+
'nth-last-child': function(m) {
|
2897
|
+
return Selector.xpath.pseudos.nth("(count(./following-sibling::*) + 1) ", m);
|
2898
|
+
},
|
2899
|
+
'nth-of-type': function(m) {
|
2900
|
+
return Selector.xpath.pseudos.nth("position() ", m);
|
2901
|
+
},
|
2902
|
+
'nth-last-of-type': function(m) {
|
2903
|
+
return Selector.xpath.pseudos.nth("(last() + 1 - position()) ", m);
|
2904
|
+
},
|
2905
|
+
'first-of-type': function(m) {
|
2906
|
+
m[6] = "1"; return Selector.xpath.pseudos['nth-of-type'](m);
|
2907
|
+
},
|
2908
|
+
'last-of-type': function(m) {
|
2909
|
+
m[6] = "1"; return Selector.xpath.pseudos['nth-last-of-type'](m);
|
2910
|
+
},
|
2911
|
+
'only-of-type': function(m) {
|
2912
|
+
var p = Selector.xpath.pseudos; return p['first-of-type'](m) + p['last-of-type'](m);
|
2913
|
+
},
|
2914
|
+
nth: function(fragment, m) {
|
2915
|
+
var mm, formula = m[6], predicate;
|
2916
|
+
if (formula == 'even') formula = '2n+0';
|
2917
|
+
if (formula == 'odd') formula = '2n+1';
|
2918
|
+
if (mm = formula.match(/^(\d+)$/)) // digit only
|
2919
|
+
return '[' + fragment + "= " + mm[1] + ']';
|
2920
|
+
if (mm = formula.match(/^(-?\d*)?n(([+-])(\d+))?/)) { // an+b
|
2921
|
+
if (mm[1] == "-") mm[1] = -1;
|
2922
|
+
var a = mm[1] ? Number(mm[1]) : 1;
|
2923
|
+
var b = mm[2] ? Number(mm[2]) : 0;
|
2924
|
+
predicate = "[((#{fragment} - #{b}) mod #{a} = 0) and " +
|
2925
|
+
"((#{fragment} - #{b}) div #{a} >= 0)]";
|
2926
|
+
return new Template(predicate).evaluate({
|
2927
|
+
fragment: fragment, a: a, b: b });
|
2928
|
+
}
|
2929
|
+
}
|
2930
|
+
}
|
2931
|
+
},
|
2932
|
+
|
2933
|
+
criteria: {
|
2934
|
+
tagName: 'n = h.tagName(n, r, "#{1}", c); c = false;',
|
2935
|
+
className: 'n = h.className(n, r, "#{1}", c); c = false;',
|
2936
|
+
id: 'n = h.id(n, r, "#{1}", c); c = false;',
|
2937
|
+
attrPresence: 'n = h.attrPresence(n, r, "#{1}"); c = false;',
|
2938
|
+
attr: function(m) {
|
2939
|
+
m[3] = (m[5] || m[6]);
|
2940
|
+
return new Template('n = h.attr(n, r, "#{1}", "#{3}", "#{2}"); c = false;').evaluate(m);
|
2941
|
+
},
|
2942
|
+
pseudo: function(m) {
|
2943
|
+
if (m[6]) m[6] = m[6].replace(/"/g, '\\"');
|
2944
|
+
return new Template('n = h.pseudo(n, "#{1}", "#{6}", r, c); c = false;').evaluate(m);
|
2945
|
+
},
|
2946
|
+
descendant: 'c = "descendant";',
|
2947
|
+
child: 'c = "child";',
|
2948
|
+
adjacent: 'c = "adjacent";',
|
2949
|
+
laterSibling: 'c = "laterSibling";'
|
2950
|
+
},
|
2951
|
+
|
2952
|
+
patterns: {
|
2953
|
+
// combinators must be listed first
|
2954
|
+
// (and descendant needs to be last combinator)
|
2955
|
+
laterSibling: /^\s*~\s*/,
|
2956
|
+
child: /^\s*>\s*/,
|
2957
|
+
adjacent: /^\s*\+\s*/,
|
2958
|
+
descendant: /^\s/,
|
2959
|
+
|
2960
|
+
// selectors follow
|
2961
|
+
tagName: /^\s*(\*|[\w\-]+)(\b|$)?/,
|
2962
|
+
id: /^#([\w\-\*]+)(\b|$)/,
|
2963
|
+
className: /^\.([\w\-\*]+)(\b|$)/,
|
2964
|
+
pseudo: /^:((first|last|nth|nth-last|only)(-child|-of-type)|empty|checked|(en|dis)abled|not)(\((.*?)\))?(\b|$|(?=\s)|(?=:))/,
|
2965
|
+
attrPresence: /^\[([\w]+)\]/,
|
2966
|
+
attr: /\[((?:[\w-]*:)?[\w-]+)\s*(?:([!^$*~|]?=)\s*((['"])([^\4]*?)\4|([^'"][^\]]*?)))?\]/
|
2967
|
+
},
|
2968
|
+
|
2969
|
+
// for Selector.match and Element#match
|
2970
|
+
assertions: {
|
2971
|
+
tagName: function(element, matches) {
|
2972
|
+
return matches[1].toUpperCase() == element.tagName.toUpperCase();
|
2973
|
+
},
|
2974
|
+
|
2975
|
+
className: function(element, matches) {
|
2976
|
+
return Element.hasClassName(element, matches[1]);
|
2977
|
+
},
|
2978
|
+
|
2979
|
+
id: function(element, matches) {
|
2980
|
+
return element.id === matches[1];
|
2981
|
+
},
|
2982
|
+
|
2983
|
+
attrPresence: function(element, matches) {
|
2984
|
+
return Element.hasAttribute(element, matches[1]);
|
2985
|
+
},
|
2986
|
+
|
2987
|
+
attr: function(element, matches) {
|
2988
|
+
var nodeValue = Element.readAttribute(element, matches[1]);
|
2989
|
+
return Selector.operators[matches[2]](nodeValue, matches[3]);
|
2990
|
+
}
|
2991
|
+
},
|
2992
|
+
|
2993
|
+
handlers: {
|
2994
|
+
// UTILITY FUNCTIONS
|
2995
|
+
// joins two collections
|
2996
|
+
concat: function(a, b) {
|
2997
|
+
for (var i = 0, node; node = b[i]; i++)
|
2998
|
+
a.push(node);
|
2999
|
+
return a;
|
3000
|
+
},
|
3001
|
+
|
3002
|
+
// marks an array of nodes for counting
|
3003
|
+
mark: function(nodes) {
|
3004
|
+
for (var i = 0, node; node = nodes[i]; i++)
|
3005
|
+
node._counted = true;
|
3006
|
+
return nodes;
|
3007
|
+
},
|
3008
|
+
|
3009
|
+
unmark: function(nodes) {
|
3010
|
+
for (var i = 0, node; node = nodes[i]; i++)
|
3011
|
+
node._counted = undefined;
|
3012
|
+
return nodes;
|
3013
|
+
},
|
3014
|
+
|
3015
|
+
// mark each child node with its position (for nth calls)
|
3016
|
+
// "ofType" flag indicates whether we're indexing for nth-of-type
|
3017
|
+
// rather than nth-child
|
3018
|
+
index: function(parentNode, reverse, ofType) {
|
3019
|
+
parentNode._counted = true;
|
3020
|
+
if (reverse) {
|
3021
|
+
for (var nodes = parentNode.childNodes, i = nodes.length - 1, j = 1; i >= 0; i--) {
|
3022
|
+
var node = nodes[i];
|
3023
|
+
if (node.nodeType == 1 && (!ofType || node._counted)) node.nodeIndex = j++;
|
3024
|
+
}
|
3025
|
+
} else {
|
3026
|
+
for (var i = 0, j = 1, nodes = parentNode.childNodes; node = nodes[i]; i++)
|
3027
|
+
if (node.nodeType == 1 && (!ofType || node._counted)) node.nodeIndex = j++;
|
3028
|
+
}
|
3029
|
+
},
|
3030
|
+
|
3031
|
+
// filters out duplicates and extends all nodes
|
3032
|
+
unique: function(nodes) {
|
3033
|
+
if (nodes.length == 0) return nodes;
|
3034
|
+
var results = [], n;
|
3035
|
+
for (var i = 0, l = nodes.length; i < l; i++)
|
3036
|
+
if (!(n = nodes[i])._counted) {
|
3037
|
+
n._counted = true;
|
3038
|
+
results.push(Element.extend(n));
|
3039
|
+
}
|
3040
|
+
return Selector.handlers.unmark(results);
|
3041
|
+
},
|
3042
|
+
|
3043
|
+
// COMBINATOR FUNCTIONS
|
3044
|
+
descendant: function(nodes) {
|
3045
|
+
var h = Selector.handlers;
|
3046
|
+
for (var i = 0, results = [], node; node = nodes[i]; i++)
|
3047
|
+
h.concat(results, node.getElementsByTagName('*'));
|
3048
|
+
return results;
|
3049
|
+
},
|
3050
|
+
|
3051
|
+
child: function(nodes) {
|
3052
|
+
var h = Selector.handlers;
|
3053
|
+
for (var i = 0, results = [], node; node = nodes[i]; i++) {
|
3054
|
+
for (var j = 0, children = [], child; child = node.childNodes[j]; j++)
|
3055
|
+
if (child.nodeType == 1 && child.tagName != '!') results.push(child);
|
3056
|
+
}
|
3057
|
+
return results;
|
3058
|
+
},
|
3059
|
+
|
3060
|
+
adjacent: function(nodes) {
|
3061
|
+
for (var i = 0, results = [], node; node = nodes[i]; i++) {
|
3062
|
+
var next = this.nextElementSibling(node);
|
3063
|
+
if (next) results.push(next);
|
3064
|
+
}
|
3065
|
+
return results;
|
3066
|
+
},
|
3067
|
+
|
3068
|
+
laterSibling: function(nodes) {
|
3069
|
+
var h = Selector.handlers;
|
3070
|
+
for (var i = 0, results = [], node; node = nodes[i]; i++)
|
3071
|
+
h.concat(results, Element.nextSiblings(node));
|
3072
|
+
return results;
|
3073
|
+
},
|
3074
|
+
|
3075
|
+
nextElementSibling: function(node) {
|
3076
|
+
while (node = node.nextSibling)
|
3077
|
+
if (node.nodeType == 1) return node;
|
3078
|
+
return null;
|
3079
|
+
},
|
3080
|
+
|
3081
|
+
previousElementSibling: function(node) {
|
3082
|
+
while (node = node.previousSibling)
|
3083
|
+
if (node.nodeType == 1) return node;
|
3084
|
+
return null;
|
3085
|
+
},
|
3086
|
+
|
3087
|
+
// TOKEN FUNCTIONS
|
3088
|
+
tagName: function(nodes, root, tagName, combinator) {
|
3089
|
+
tagName = tagName.toUpperCase();
|
3090
|
+
var results = [], h = Selector.handlers;
|
3091
|
+
if (nodes) {
|
3092
|
+
if (combinator) {
|
3093
|
+
// fastlane for ordinary descendant combinators
|
3094
|
+
if (combinator == "descendant") {
|
3095
|
+
for (var i = 0, node; node = nodes[i]; i++)
|
3096
|
+
h.concat(results, node.getElementsByTagName(tagName));
|
3097
|
+
return results;
|
3098
|
+
} else nodes = this[combinator](nodes);
|
3099
|
+
if (tagName == "*") return nodes;
|
3100
|
+
}
|
3101
|
+
for (var i = 0, node; node = nodes[i]; i++)
|
3102
|
+
if (node.tagName.toUpperCase() == tagName) results.push(node);
|
3103
|
+
return results;
|
3104
|
+
} else return root.getElementsByTagName(tagName);
|
3105
|
+
},
|
3106
|
+
|
3107
|
+
id: function(nodes, root, id, combinator) {
|
3108
|
+
var targetNode = $(id), h = Selector.handlers;
|
3109
|
+
if (!targetNode) return [];
|
3110
|
+
if (!nodes && root == document) return [targetNode];
|
3111
|
+
if (nodes) {
|
3112
|
+
if (combinator) {
|
3113
|
+
if (combinator == 'child') {
|
3114
|
+
for (var i = 0, node; node = nodes[i]; i++)
|
3115
|
+
if (targetNode.parentNode == node) return [targetNode];
|
3116
|
+
} else if (combinator == 'descendant') {
|
3117
|
+
for (var i = 0, node; node = nodes[i]; i++)
|
3118
|
+
if (Element.descendantOf(targetNode, node)) return [targetNode];
|
3119
|
+
} else if (combinator == 'adjacent') {
|
3120
|
+
for (var i = 0, node; node = nodes[i]; i++)
|
3121
|
+
if (Selector.handlers.previousElementSibling(targetNode) == node)
|
3122
|
+
return [targetNode];
|
3123
|
+
} else nodes = h[combinator](nodes);
|
3124
|
+
}
|
3125
|
+
for (var i = 0, node; node = nodes[i]; i++)
|
3126
|
+
if (node == targetNode) return [targetNode];
|
3127
|
+
return [];
|
3128
|
+
}
|
3129
|
+
return (targetNode && Element.descendantOf(targetNode, root)) ? [targetNode] : [];
|
3130
|
+
},
|
3131
|
+
|
3132
|
+
className: function(nodes, root, className, combinator) {
|
3133
|
+
if (nodes && combinator) nodes = this[combinator](nodes);
|
3134
|
+
return Selector.handlers.byClassName(nodes, root, className);
|
3135
|
+
},
|
3136
|
+
|
3137
|
+
byClassName: function(nodes, root, className) {
|
3138
|
+
if (!nodes) nodes = Selector.handlers.descendant([root]);
|
3139
|
+
var needle = ' ' + className + ' ';
|
3140
|
+
for (var i = 0, results = [], node, nodeClassName; node = nodes[i]; i++) {
|
3141
|
+
nodeClassName = node.className;
|
3142
|
+
if (nodeClassName.length == 0) continue;
|
3143
|
+
if (nodeClassName == className || (' ' + nodeClassName + ' ').include(needle))
|
3144
|
+
results.push(node);
|
3145
|
+
}
|
3146
|
+
return results;
|
3147
|
+
},
|
3148
|
+
|
3149
|
+
attrPresence: function(nodes, root, attr) {
|
3150
|
+
if (!nodes) nodes = root.getElementsByTagName("*");
|
3151
|
+
var results = [];
|
3152
|
+
for (var i = 0, node; node = nodes[i]; i++)
|
3153
|
+
if (Element.hasAttribute(node, attr)) results.push(node);
|
3154
|
+
return results;
|
3155
|
+
},
|
3156
|
+
|
3157
|
+
attr: function(nodes, root, attr, value, operator) {
|
3158
|
+
if (!nodes) nodes = root.getElementsByTagName("*");
|
3159
|
+
var handler = Selector.operators[operator], results = [];
|
3160
|
+
for (var i = 0, node; node = nodes[i]; i++) {
|
3161
|
+
var nodeValue = Element.readAttribute(node, attr);
|
3162
|
+
if (nodeValue === null) continue;
|
3163
|
+
if (handler(nodeValue, value)) results.push(node);
|
3164
|
+
}
|
3165
|
+
return results;
|
3166
|
+
},
|
3167
|
+
|
3168
|
+
pseudo: function(nodes, name, value, root, combinator) {
|
3169
|
+
if (nodes && combinator) nodes = this[combinator](nodes);
|
3170
|
+
if (!nodes) nodes = root.getElementsByTagName("*");
|
3171
|
+
return Selector.pseudos[name](nodes, value, root);
|
3172
|
+
}
|
3173
|
+
},
|
3174
|
+
|
3175
|
+
pseudos: {
|
3176
|
+
'first-child': function(nodes, value, root) {
|
3177
|
+
for (var i = 0, results = [], node; node = nodes[i]; i++) {
|
3178
|
+
if (Selector.handlers.previousElementSibling(node)) continue;
|
3179
|
+
results.push(node);
|
3180
|
+
}
|
3181
|
+
return results;
|
3182
|
+
},
|
3183
|
+
'last-child': function(nodes, value, root) {
|
3184
|
+
for (var i = 0, results = [], node; node = nodes[i]; i++) {
|
3185
|
+
if (Selector.handlers.nextElementSibling(node)) continue;
|
3186
|
+
results.push(node);
|
3187
|
+
}
|
3188
|
+
return results;
|
3189
|
+
},
|
3190
|
+
'only-child': function(nodes, value, root) {
|
3191
|
+
var h = Selector.handlers;
|
3192
|
+
for (var i = 0, results = [], node; node = nodes[i]; i++)
|
3193
|
+
if (!h.previousElementSibling(node) && !h.nextElementSibling(node))
|
3194
|
+
results.push(node);
|
3195
|
+
return results;
|
3196
|
+
},
|
3197
|
+
'nth-child': function(nodes, formula, root) {
|
3198
|
+
return Selector.pseudos.nth(nodes, formula, root);
|
3199
|
+
},
|
3200
|
+
'nth-last-child': function(nodes, formula, root) {
|
3201
|
+
return Selector.pseudos.nth(nodes, formula, root, true);
|
3202
|
+
},
|
3203
|
+
'nth-of-type': function(nodes, formula, root) {
|
3204
|
+
return Selector.pseudos.nth(nodes, formula, root, false, true);
|
3205
|
+
},
|
3206
|
+
'nth-last-of-type': function(nodes, formula, root) {
|
3207
|
+
return Selector.pseudos.nth(nodes, formula, root, true, true);
|
3208
|
+
},
|
3209
|
+
'first-of-type': function(nodes, formula, root) {
|
3210
|
+
return Selector.pseudos.nth(nodes, "1", root, false, true);
|
3211
|
+
},
|
3212
|
+
'last-of-type': function(nodes, formula, root) {
|
3213
|
+
return Selector.pseudos.nth(nodes, "1", root, true, true);
|
3214
|
+
},
|
3215
|
+
'only-of-type': function(nodes, formula, root) {
|
3216
|
+
var p = Selector.pseudos;
|
3217
|
+
return p['last-of-type'](p['first-of-type'](nodes, formula, root), formula, root);
|
3218
|
+
},
|
3219
|
+
|
3220
|
+
// handles the an+b logic
|
3221
|
+
getIndices: function(a, b, total) {
|
3222
|
+
if (a == 0) return b > 0 ? [b] : [];
|
3223
|
+
return $R(1, total).inject([], function(memo, i) {
|
3224
|
+
if (0 == (i - b) % a && (i - b) / a >= 0) memo.push(i);
|
3225
|
+
return memo;
|
3226
|
+
});
|
3227
|
+
},
|
3228
|
+
|
3229
|
+
// handles nth(-last)-child, nth(-last)-of-type, and (first|last)-of-type
|
3230
|
+
nth: function(nodes, formula, root, reverse, ofType) {
|
3231
|
+
if (nodes.length == 0) return [];
|
3232
|
+
if (formula == 'even') formula = '2n+0';
|
3233
|
+
if (formula == 'odd') formula = '2n+1';
|
3234
|
+
var h = Selector.handlers, results = [], indexed = [], m;
|
3235
|
+
h.mark(nodes);
|
3236
|
+
for (var i = 0, node; node = nodes[i]; i++) {
|
3237
|
+
if (!node.parentNode._counted) {
|
3238
|
+
h.index(node.parentNode, reverse, ofType);
|
3239
|
+
indexed.push(node.parentNode);
|
3240
|
+
}
|
3241
|
+
}
|
3242
|
+
if (formula.match(/^\d+$/)) { // just a number
|
3243
|
+
formula = Number(formula);
|
3244
|
+
for (var i = 0, node; node = nodes[i]; i++)
|
3245
|
+
if (node.nodeIndex == formula) results.push(node);
|
3246
|
+
} else if (m = formula.match(/^(-?\d*)?n(([+-])(\d+))?/)) { // an+b
|
3247
|
+
if (m[1] == "-") m[1] = -1;
|
3248
|
+
var a = m[1] ? Number(m[1]) : 1;
|
3249
|
+
var b = m[2] ? Number(m[2]) : 0;
|
3250
|
+
var indices = Selector.pseudos.getIndices(a, b, nodes.length);
|
3251
|
+
for (var i = 0, node, l = indices.length; node = nodes[i]; i++) {
|
3252
|
+
for (var j = 0; j < l; j++)
|
3253
|
+
if (node.nodeIndex == indices[j]) results.push(node);
|
3254
|
+
}
|
3255
|
+
}
|
3256
|
+
h.unmark(nodes);
|
3257
|
+
h.unmark(indexed);
|
3258
|
+
return results;
|
3259
|
+
},
|
3260
|
+
|
3261
|
+
'empty': function(nodes, value, root) {
|
3262
|
+
for (var i = 0, results = [], node; node = nodes[i]; i++) {
|
3263
|
+
// IE treats comments as element nodes
|
3264
|
+
if (node.tagName == '!' || (node.firstChild && !node.innerHTML.match(/^\s*$/))) continue;
|
3265
|
+
results.push(node);
|
3266
|
+
}
|
3267
|
+
return results;
|
3268
|
+
},
|
3269
|
+
|
3270
|
+
'not': function(nodes, selector, root) {
|
3271
|
+
var h = Selector.handlers, selectorType, m;
|
3272
|
+
var exclusions = new Selector(selector).findElements(root);
|
3273
|
+
h.mark(exclusions);
|
3274
|
+
for (var i = 0, results = [], node; node = nodes[i]; i++)
|
3275
|
+
if (!node._counted) results.push(node);
|
3276
|
+
h.unmark(exclusions);
|
3277
|
+
return results;
|
3278
|
+
},
|
3279
|
+
|
3280
|
+
'enabled': function(nodes, value, root) {
|
3281
|
+
for (var i = 0, results = [], node; node = nodes[i]; i++)
|
3282
|
+
if (!node.disabled) results.push(node);
|
3283
|
+
return results;
|
3284
|
+
},
|
3285
|
+
|
3286
|
+
'disabled': function(nodes, value, root) {
|
3287
|
+
for (var i = 0, results = [], node; node = nodes[i]; i++)
|
3288
|
+
if (node.disabled) results.push(node);
|
3289
|
+
return results;
|
3290
|
+
},
|
3291
|
+
|
3292
|
+
'checked': function(nodes, value, root) {
|
3293
|
+
for (var i = 0, results = [], node; node = nodes[i]; i++)
|
3294
|
+
if (node.checked) results.push(node);
|
3295
|
+
return results;
|
3296
|
+
}
|
3297
|
+
},
|
3298
|
+
|
3299
|
+
operators: {
|
3300
|
+
'=': function(nv, v) { return nv == v; },
|
3301
|
+
'!=': function(nv, v) { return nv != v; },
|
3302
|
+
'^=': function(nv, v) { return nv.startsWith(v); },
|
3303
|
+
'$=': function(nv, v) { return nv.endsWith(v); },
|
3304
|
+
'*=': function(nv, v) { return nv.include(v); },
|
3305
|
+
'~=': function(nv, v) { return (' ' + nv + ' ').include(' ' + v + ' '); },
|
3306
|
+
'|=': function(nv, v) { return ('-' + nv.toUpperCase() + '-').include('-' + v.toUpperCase() + '-'); }
|
3307
|
+
},
|
3308
|
+
|
3309
|
+
matchElements: function(elements, expression) {
|
3310
|
+
var matches = new Selector(expression).findElements(), h = Selector.handlers;
|
3311
|
+
h.mark(matches);
|
3312
|
+
for (var i = 0, results = [], element; element = elements[i]; i++)
|
3313
|
+
if (element._counted) results.push(element);
|
3314
|
+
h.unmark(matches);
|
3315
|
+
return results;
|
3316
|
+
},
|
3317
|
+
|
3318
|
+
findElement: function(elements, expression, index) {
|
3319
|
+
if (Object.isNumber(expression)) {
|
3320
|
+
index = expression; expression = false;
|
3321
|
+
}
|
3322
|
+
return Selector.matchElements(elements, expression || '*')[index || 0];
|
3323
|
+
},
|
3324
|
+
|
3325
|
+
findChildElements: function(element, expressions) {
|
3326
|
+
var exprs = expressions.join(','), expressions = [];
|
3327
|
+
exprs.scan(/(([\w#:.~>+()\s-]+|\*|\[.*?\])+)\s*(,|$)/, function(m) {
|
3328
|
+
expressions.push(m[1].strip());
|
3329
|
+
});
|
3330
|
+
var results = [], h = Selector.handlers;
|
3331
|
+
for (var i = 0, l = expressions.length, selector; i < l; i++) {
|
3332
|
+
selector = new Selector(expressions[i].strip());
|
3333
|
+
h.concat(results, selector.findElements(element));
|
3334
|
+
}
|
3335
|
+
return (l > 1) ? h.unique(results) : results;
|
3336
|
+
}
|
3337
|
+
});
|
3338
|
+
|
3339
|
+
function $$() {
|
3340
|
+
return Selector.findChildElements(document, $A(arguments));
|
3341
|
+
}
|
3342
|
+
var Form = {
|
3343
|
+
reset: function(form) {
|
3344
|
+
$(form).reset();
|
3345
|
+
return form;
|
3346
|
+
},
|
3347
|
+
|
3348
|
+
serializeElements: function(elements, options) {
|
3349
|
+
if (typeof options != 'object') options = { hash: !!options };
|
3350
|
+
else if (options.hash === undefined) options.hash = true;
|
3351
|
+
var key, value, submitted = false, submit = options.submit;
|
3352
|
+
|
3353
|
+
var data = elements.inject({ }, function(result, element) {
|
3354
|
+
if (!element.disabled && element.name) {
|
3355
|
+
key = element.name; value = $(element).getValue();
|
3356
|
+
if (value != null && (element.type != 'submit' || (!submitted &&
|
3357
|
+
submit !== false && (!submit || key == submit) && (submitted = true)))) {
|
3358
|
+
if (key in result) {
|
3359
|
+
// a key is already present; construct an array of values
|
3360
|
+
if (!Object.isArray(result[key])) result[key] = [result[key]];
|
3361
|
+
result[key].push(value);
|
3362
|
+
}
|
3363
|
+
else result[key] = value;
|
3364
|
+
}
|
3365
|
+
}
|
3366
|
+
return result;
|
3367
|
+
});
|
3368
|
+
|
3369
|
+
return options.hash ? data : Object.toQueryString(data);
|
3370
|
+
}
|
3371
|
+
};
|
3372
|
+
|
3373
|
+
Form.Methods = {
|
3374
|
+
serialize: function(form, options) {
|
3375
|
+
return Form.serializeElements(Form.getElements(form), options);
|
3376
|
+
},
|
3377
|
+
|
3378
|
+
getElements: function(form) {
|
3379
|
+
return $A($(form).getElementsByTagName('*')).inject([],
|
3380
|
+
function(elements, child) {
|
3381
|
+
if (Form.Element.Serializers[child.tagName.toLowerCase()])
|
3382
|
+
elements.push(Element.extend(child));
|
3383
|
+
return elements;
|
3384
|
+
}
|
3385
|
+
);
|
3386
|
+
},
|
3387
|
+
|
3388
|
+
getInputs: function(form, typeName, name) {
|
3389
|
+
form = $(form);
|
3390
|
+
var inputs = form.getElementsByTagName('input');
|
3391
|
+
|
3392
|
+
if (!typeName && !name) return $A(inputs).map(Element.extend);
|
3393
|
+
|
3394
|
+
for (var i = 0, matchingInputs = [], length = inputs.length; i < length; i++) {
|
3395
|
+
var input = inputs[i];
|
3396
|
+
if ((typeName && input.type != typeName) || (name && input.name != name))
|
3397
|
+
continue;
|
3398
|
+
matchingInputs.push(Element.extend(input));
|
3399
|
+
}
|
3400
|
+
|
3401
|
+
return matchingInputs;
|
3402
|
+
},
|
3403
|
+
|
3404
|
+
disable: function(form) {
|
3405
|
+
form = $(form);
|
3406
|
+
Form.getElements(form).invoke('disable');
|
3407
|
+
return form;
|
3408
|
+
},
|
3409
|
+
|
3410
|
+
enable: function(form) {
|
3411
|
+
form = $(form);
|
3412
|
+
Form.getElements(form).invoke('enable');
|
3413
|
+
return form;
|
3414
|
+
},
|
3415
|
+
|
3416
|
+
findFirstElement: function(form) {
|
3417
|
+
var elements = $(form).getElements().findAll(function(element) {
|
3418
|
+
return 'hidden' != element.type && !element.disabled;
|
3419
|
+
});
|
3420
|
+
var firstByIndex = elements.findAll(function(element) {
|
3421
|
+
return element.hasAttribute('tabIndex') && element.tabIndex >= 0;
|
3422
|
+
}).sortBy(function(element) { return element.tabIndex }).first();
|
3423
|
+
|
3424
|
+
return firstByIndex ? firstByIndex : elements.find(function(element) {
|
3425
|
+
return ['input', 'select', 'textarea'].include(element.tagName.toLowerCase());
|
3426
|
+
});
|
3427
|
+
},
|
3428
|
+
|
3429
|
+
focusFirstElement: function(form) {
|
3430
|
+
form = $(form);
|
3431
|
+
form.findFirstElement().activate();
|
3432
|
+
return form;
|
3433
|
+
},
|
3434
|
+
|
3435
|
+
request: function(form, options) {
|
3436
|
+
form = $(form), options = Object.clone(options || { });
|
3437
|
+
|
3438
|
+
var params = options.parameters, action = form.readAttribute('action') || '';
|
3439
|
+
if (action.blank()) action = window.location.href;
|
3440
|
+
options.parameters = form.serialize(true);
|
3441
|
+
|
3442
|
+
if (params) {
|
3443
|
+
if (Object.isString(params)) params = params.toQueryParams();
|
3444
|
+
Object.extend(options.parameters, params);
|
3445
|
+
}
|
3446
|
+
|
3447
|
+
if (form.hasAttribute('method') && !options.method)
|
3448
|
+
options.method = form.method;
|
3449
|
+
|
3450
|
+
return new Ajax.Request(action, options);
|
3451
|
+
}
|
3452
|
+
};
|
3453
|
+
|
3454
|
+
/*--------------------------------------------------------------------------*/
|
3455
|
+
|
3456
|
+
Form.Element = {
|
3457
|
+
focus: function(element) {
|
3458
|
+
$(element).focus();
|
3459
|
+
return element;
|
3460
|
+
},
|
3461
|
+
|
3462
|
+
select: function(element) {
|
3463
|
+
$(element).select();
|
3464
|
+
return element;
|
3465
|
+
}
|
3466
|
+
};
|
3467
|
+
|
3468
|
+
Form.Element.Methods = {
|
3469
|
+
serialize: function(element) {
|
3470
|
+
element = $(element);
|
3471
|
+
if (!element.disabled && element.name) {
|
3472
|
+
var value = element.getValue();
|
3473
|
+
if (value != undefined) {
|
3474
|
+
var pair = { };
|
3475
|
+
pair[element.name] = value;
|
3476
|
+
return Object.toQueryString(pair);
|
3477
|
+
}
|
3478
|
+
}
|
3479
|
+
return '';
|
3480
|
+
},
|
3481
|
+
|
3482
|
+
getValue: function(element) {
|
3483
|
+
element = $(element);
|
3484
|
+
var method = element.tagName.toLowerCase();
|
3485
|
+
return Form.Element.Serializers[method](element);
|
3486
|
+
},
|
3487
|
+
|
3488
|
+
setValue: function(element, value) {
|
3489
|
+
element = $(element);
|
3490
|
+
var method = element.tagName.toLowerCase();
|
3491
|
+
Form.Element.Serializers[method](element, value);
|
3492
|
+
return element;
|
3493
|
+
},
|
3494
|
+
|
3495
|
+
clear: function(element) {
|
3496
|
+
$(element).value = '';
|
3497
|
+
return element;
|
3498
|
+
},
|
3499
|
+
|
3500
|
+
present: function(element) {
|
3501
|
+
return $(element).value != '';
|
3502
|
+
},
|
3503
|
+
|
3504
|
+
activate: function(element) {
|
3505
|
+
element = $(element);
|
3506
|
+
try {
|
3507
|
+
element.focus();
|
3508
|
+
if (element.select && (element.tagName.toLowerCase() != 'input' ||
|
3509
|
+
!['button', 'reset', 'submit'].include(element.type)))
|
3510
|
+
element.select();
|
3511
|
+
} catch (e) { }
|
3512
|
+
return element;
|
3513
|
+
},
|
3514
|
+
|
3515
|
+
disable: function(element) {
|
3516
|
+
element = $(element);
|
3517
|
+
element.blur();
|
3518
|
+
element.disabled = true;
|
3519
|
+
return element;
|
3520
|
+
},
|
3521
|
+
|
3522
|
+
enable: function(element) {
|
3523
|
+
element = $(element);
|
3524
|
+
element.disabled = false;
|
3525
|
+
return element;
|
3526
|
+
}
|
3527
|
+
};
|
3528
|
+
|
3529
|
+
/*--------------------------------------------------------------------------*/
|
3530
|
+
|
3531
|
+
var Field = Form.Element;
|
3532
|
+
var $F = Form.Element.Methods.getValue;
|
3533
|
+
|
3534
|
+
/*--------------------------------------------------------------------------*/
|
3535
|
+
|
3536
|
+
Form.Element.Serializers = {
|
3537
|
+
input: function(element, value) {
|
3538
|
+
switch (element.type.toLowerCase()) {
|
3539
|
+
case 'checkbox':
|
3540
|
+
case 'radio':
|
3541
|
+
return Form.Element.Serializers.inputSelector(element, value);
|
3542
|
+
default:
|
3543
|
+
return Form.Element.Serializers.textarea(element, value);
|
3544
|
+
}
|
3545
|
+
},
|
3546
|
+
|
3547
|
+
inputSelector: function(element, value) {
|
3548
|
+
if (value === undefined) return element.checked ? element.value : null;
|
3549
|
+
else element.checked = !!value;
|
3550
|
+
},
|
3551
|
+
|
3552
|
+
textarea: function(element, value) {
|
3553
|
+
if (value === undefined) return element.value;
|
3554
|
+
else element.value = value;
|
3555
|
+
},
|
3556
|
+
|
3557
|
+
select: function(element, index) {
|
3558
|
+
if (index === undefined)
|
3559
|
+
return this[element.type == 'select-one' ?
|
3560
|
+
'selectOne' : 'selectMany'](element);
|
3561
|
+
else {
|
3562
|
+
var opt, value, single = !Object.isArray(index);
|
3563
|
+
for (var i = 0, length = element.length; i < length; i++) {
|
3564
|
+
opt = element.options[i];
|
3565
|
+
value = this.optionValue(opt);
|
3566
|
+
if (single) {
|
3567
|
+
if (value == index) {
|
3568
|
+
opt.selected = true;
|
3569
|
+
return;
|
3570
|
+
}
|
3571
|
+
}
|
3572
|
+
else opt.selected = index.include(value);
|
3573
|
+
}
|
3574
|
+
}
|
3575
|
+
},
|
3576
|
+
|
3577
|
+
selectOne: function(element) {
|
3578
|
+
var index = element.selectedIndex;
|
3579
|
+
return index >= 0 ? this.optionValue(element.options[index]) : null;
|
3580
|
+
},
|
3581
|
+
|
3582
|
+
selectMany: function(element) {
|
3583
|
+
var values, length = element.length;
|
3584
|
+
if (!length) return null;
|
3585
|
+
|
3586
|
+
for (var i = 0, values = []; i < length; i++) {
|
3587
|
+
var opt = element.options[i];
|
3588
|
+
if (opt.selected) values.push(this.optionValue(opt));
|
3589
|
+
}
|
3590
|
+
return values;
|
3591
|
+
},
|
3592
|
+
|
3593
|
+
optionValue: function(opt) {
|
3594
|
+
// extend element because hasAttribute may not be native
|
3595
|
+
return Element.extend(opt).hasAttribute('value') ? opt.value : opt.text;
|
3596
|
+
}
|
3597
|
+
};
|
3598
|
+
|
3599
|
+
/*--------------------------------------------------------------------------*/
|
3600
|
+
|
3601
|
+
Abstract.TimedObserver = Class.create(PeriodicalExecuter, {
|
3602
|
+
initialize: function($super, element, frequency, callback) {
|
3603
|
+
$super(callback, frequency);
|
3604
|
+
this.element = $(element);
|
3605
|
+
this.lastValue = this.getValue();
|
3606
|
+
},
|
3607
|
+
|
3608
|
+
execute: function() {
|
3609
|
+
var value = this.getValue();
|
3610
|
+
if (Object.isString(this.lastValue) && Object.isString(value) ?
|
3611
|
+
this.lastValue != value : String(this.lastValue) != String(value)) {
|
3612
|
+
this.callback(this.element, value);
|
3613
|
+
this.lastValue = value;
|
3614
|
+
}
|
3615
|
+
}
|
3616
|
+
});
|
3617
|
+
|
3618
|
+
Form.Element.Observer = Class.create(Abstract.TimedObserver, {
|
3619
|
+
getValue: function() {
|
3620
|
+
return Form.Element.getValue(this.element);
|
3621
|
+
}
|
3622
|
+
});
|
3623
|
+
|
3624
|
+
Form.Observer = Class.create(Abstract.TimedObserver, {
|
3625
|
+
getValue: function() {
|
3626
|
+
return Form.serialize(this.element);
|
3627
|
+
}
|
3628
|
+
});
|
3629
|
+
|
3630
|
+
/*--------------------------------------------------------------------------*/
|
3631
|
+
|
3632
|
+
Abstract.EventObserver = Class.create({
|
3633
|
+
initialize: function(element, callback) {
|
3634
|
+
this.element = $(element);
|
3635
|
+
this.callback = callback;
|
3636
|
+
|
3637
|
+
this.lastValue = this.getValue();
|
3638
|
+
if (this.element.tagName.toLowerCase() == 'form')
|
3639
|
+
this.registerFormCallbacks();
|
3640
|
+
else
|
3641
|
+
this.registerCallback(this.element);
|
3642
|
+
},
|
3643
|
+
|
3644
|
+
onElementEvent: function() {
|
3645
|
+
var value = this.getValue();
|
3646
|
+
if (this.lastValue != value) {
|
3647
|
+
this.callback(this.element, value);
|
3648
|
+
this.lastValue = value;
|
3649
|
+
}
|
3650
|
+
},
|
3651
|
+
|
3652
|
+
registerFormCallbacks: function() {
|
3653
|
+
Form.getElements(this.element).each(this.registerCallback, this);
|
3654
|
+
},
|
3655
|
+
|
3656
|
+
registerCallback: function(element) {
|
3657
|
+
if (element.type) {
|
3658
|
+
switch (element.type.toLowerCase()) {
|
3659
|
+
case 'checkbox':
|
3660
|
+
case 'radio':
|
3661
|
+
Event.observe(element, 'click', this.onElementEvent.bind(this));
|
3662
|
+
break;
|
3663
|
+
default:
|
3664
|
+
Event.observe(element, 'change', this.onElementEvent.bind(this));
|
3665
|
+
break;
|
3666
|
+
}
|
3667
|
+
}
|
3668
|
+
}
|
3669
|
+
});
|
3670
|
+
|
3671
|
+
Form.Element.EventObserver = Class.create(Abstract.EventObserver, {
|
3672
|
+
getValue: function() {
|
3673
|
+
return Form.Element.getValue(this.element);
|
3674
|
+
}
|
3675
|
+
});
|
3676
|
+
|
3677
|
+
Form.EventObserver = Class.create(Abstract.EventObserver, {
|
3678
|
+
getValue: function() {
|
3679
|
+
return Form.serialize(this.element);
|
3680
|
+
}
|
3681
|
+
});
|
3682
|
+
if (!window.Event) var Event = { };
|
3683
|
+
|
3684
|
+
Object.extend(Event, {
|
3685
|
+
KEY_BACKSPACE: 8,
|
3686
|
+
KEY_TAB: 9,
|
3687
|
+
KEY_RETURN: 13,
|
3688
|
+
KEY_ESC: 27,
|
3689
|
+
KEY_LEFT: 37,
|
3690
|
+
KEY_UP: 38,
|
3691
|
+
KEY_RIGHT: 39,
|
3692
|
+
KEY_DOWN: 40,
|
3693
|
+
KEY_DELETE: 46,
|
3694
|
+
KEY_HOME: 36,
|
3695
|
+
KEY_END: 35,
|
3696
|
+
KEY_PAGEUP: 33,
|
3697
|
+
KEY_PAGEDOWN: 34,
|
3698
|
+
KEY_INSERT: 45,
|
3699
|
+
|
3700
|
+
cache: { },
|
3701
|
+
|
3702
|
+
relatedTarget: function(event) {
|
3703
|
+
var element;
|
3704
|
+
switch(event.type) {
|
3705
|
+
case 'mouseover': element = event.fromElement; break;
|
3706
|
+
case 'mouseout': element = event.toElement; break;
|
3707
|
+
default: return null;
|
3708
|
+
}
|
3709
|
+
return Element.extend(element);
|
3710
|
+
}
|
3711
|
+
});
|
3712
|
+
|
3713
|
+
Event.Methods = (function() {
|
3714
|
+
var isButton;
|
3715
|
+
|
3716
|
+
if (Prototype.Browser.IE) {
|
3717
|
+
var buttonMap = { 0: 1, 1: 4, 2: 2 };
|
3718
|
+
isButton = function(event, code) {
|
3719
|
+
return event.button == buttonMap[code];
|
3720
|
+
};
|
3721
|
+
|
3722
|
+
} else if (Prototype.Browser.WebKit) {
|
3723
|
+
isButton = function(event, code) {
|
3724
|
+
switch (code) {
|
3725
|
+
case 0: return event.which == 1 && !event.metaKey;
|
3726
|
+
case 1: return event.which == 1 && event.metaKey;
|
3727
|
+
default: return false;
|
3728
|
+
}
|
3729
|
+
};
|
3730
|
+
|
3731
|
+
} else {
|
3732
|
+
isButton = function(event, code) {
|
3733
|
+
return event.which ? (event.which === code + 1) : (event.button === code);
|
3734
|
+
};
|
3735
|
+
}
|
3736
|
+
|
3737
|
+
return {
|
3738
|
+
isLeftClick: function(event) { return isButton(event, 0) },
|
3739
|
+
isMiddleClick: function(event) { return isButton(event, 1) },
|
3740
|
+
isRightClick: function(event) { return isButton(event, 2) },
|
3741
|
+
|
3742
|
+
element: function(event) {
|
3743
|
+
var node = Event.extend(event).target;
|
3744
|
+
return Element.extend(node.nodeType == Node.TEXT_NODE ? node.parentNode : node);
|
3745
|
+
},
|
3746
|
+
|
3747
|
+
findElement: function(event, expression) {
|
3748
|
+
var element = Event.element(event);
|
3749
|
+
return element.match(expression) ? element : element.up(expression);
|
3750
|
+
},
|
3751
|
+
|
3752
|
+
pointer: function(event) {
|
3753
|
+
return {
|
3754
|
+
x: event.pageX || (event.clientX +
|
3755
|
+
(document.documentElement.scrollLeft || document.body.scrollLeft)),
|
3756
|
+
y: event.pageY || (event.clientY +
|
3757
|
+
(document.documentElement.scrollTop || document.body.scrollTop))
|
3758
|
+
};
|
3759
|
+
},
|
3760
|
+
|
3761
|
+
pointerX: function(event) { return Event.pointer(event).x },
|
3762
|
+
pointerY: function(event) { return Event.pointer(event).y },
|
3763
|
+
|
3764
|
+
stop: function(event) {
|
3765
|
+
Event.extend(event);
|
3766
|
+
event.preventDefault();
|
3767
|
+
event.stopPropagation();
|
3768
|
+
event.stopped = true;
|
3769
|
+
}
|
3770
|
+
};
|
3771
|
+
})();
|
3772
|
+
|
3773
|
+
Event.extend = (function() {
|
3774
|
+
var methods = Object.keys(Event.Methods).inject({ }, function(m, name) {
|
3775
|
+
m[name] = Event.Methods[name].methodize();
|
3776
|
+
return m;
|
3777
|
+
});
|
3778
|
+
|
3779
|
+
if (Prototype.Browser.IE) {
|
3780
|
+
Object.extend(methods, {
|
3781
|
+
stopPropagation: function() { this.cancelBubble = true },
|
3782
|
+
preventDefault: function() { this.returnValue = false },
|
3783
|
+
inspect: function() { return "[object Event]" }
|
3784
|
+
});
|
3785
|
+
|
3786
|
+
return function(event) {
|
3787
|
+
if (!event) return false;
|
3788
|
+
if (event._extendedByPrototype) return event;
|
3789
|
+
|
3790
|
+
event._extendedByPrototype = Prototype.emptyFunction;
|
3791
|
+
var pointer = Event.pointer(event);
|
3792
|
+
Object.extend(event, {
|
3793
|
+
target: event.srcElement,
|
3794
|
+
relatedTarget: Event.relatedTarget(event),
|
3795
|
+
pageX: pointer.x,
|
3796
|
+
pageY: pointer.y
|
3797
|
+
});
|
3798
|
+
return Object.extend(event, methods);
|
3799
|
+
};
|
3800
|
+
|
3801
|
+
} else {
|
3802
|
+
Event.prototype = Event.prototype || document.createEvent("HTMLEvents").__proto__;
|
3803
|
+
Object.extend(Event.prototype, methods);
|
3804
|
+
return Prototype.K;
|
3805
|
+
}
|
3806
|
+
})();
|
3807
|
+
|
3808
|
+
Object.extend(Event, (function() {
|
3809
|
+
var cache = Event.cache;
|
3810
|
+
|
3811
|
+
function getEventID(element) {
|
3812
|
+
if (element._eventID) return element._eventID;
|
3813
|
+
arguments.callee.id = arguments.callee.id || 1;
|
3814
|
+
return element._eventID = ++arguments.callee.id;
|
3815
|
+
}
|
3816
|
+
|
3817
|
+
function getDOMEventName(eventName) {
|
3818
|
+
if (eventName && eventName.include(':')) return "dataavailable";
|
3819
|
+
return eventName;
|
3820
|
+
}
|
3821
|
+
|
3822
|
+
function getCacheForID(id) {
|
3823
|
+
return cache[id] = cache[id] || { };
|
3824
|
+
}
|
3825
|
+
|
3826
|
+
function getWrappersForEventName(id, eventName) {
|
3827
|
+
var c = getCacheForID(id);
|
3828
|
+
return c[eventName] = c[eventName] || [];
|
3829
|
+
}
|
3830
|
+
|
3831
|
+
function createWrapper(element, eventName, handler) {
|
3832
|
+
var id = getEventID(element);
|
3833
|
+
var c = getWrappersForEventName(id, eventName);
|
3834
|
+
if (c.pluck("handler").include(handler)) return false;
|
3835
|
+
|
3836
|
+
var wrapper = function(event) {
|
3837
|
+
if (!Event || !Event.extend ||
|
3838
|
+
(event.eventName && event.eventName != eventName))
|
3839
|
+
return false;
|
3840
|
+
|
3841
|
+
Event.extend(event);
|
3842
|
+
handler.call(element, event)
|
3843
|
+
};
|
3844
|
+
|
3845
|
+
wrapper.handler = handler;
|
3846
|
+
c.push(wrapper);
|
3847
|
+
return wrapper;
|
3848
|
+
}
|
3849
|
+
|
3850
|
+
function findWrapper(id, eventName, handler) {
|
3851
|
+
var c = getWrappersForEventName(id, eventName);
|
3852
|
+
return c.find(function(wrapper) { return wrapper.handler == handler });
|
3853
|
+
}
|
3854
|
+
|
3855
|
+
function destroyWrapper(id, eventName, handler) {
|
3856
|
+
var c = getCacheForID(id);
|
3857
|
+
if (!c[eventName]) return false;
|
3858
|
+
c[eventName] = c[eventName].without(findWrapper(id, eventName, handler));
|
3859
|
+
}
|
3860
|
+
|
3861
|
+
function destroyCache() {
|
3862
|
+
for (var id in cache)
|
3863
|
+
for (var eventName in cache[id])
|
3864
|
+
cache[id][eventName] = null;
|
3865
|
+
}
|
3866
|
+
|
3867
|
+
if (window.attachEvent) {
|
3868
|
+
window.attachEvent("onunload", destroyCache);
|
3869
|
+
}
|
3870
|
+
|
3871
|
+
return {
|
3872
|
+
observe: function(element, eventName, handler) {
|
3873
|
+
element = $(element);
|
3874
|
+
var name = getDOMEventName(eventName);
|
3875
|
+
|
3876
|
+
var wrapper = createWrapper(element, eventName, handler);
|
3877
|
+
if (!wrapper) return element;
|
3878
|
+
|
3879
|
+
if (element.addEventListener) {
|
3880
|
+
element.addEventListener(name, wrapper, false);
|
3881
|
+
} else {
|
3882
|
+
element.attachEvent("on" + name, wrapper);
|
3883
|
+
}
|
3884
|
+
|
3885
|
+
return element;
|
3886
|
+
},
|
3887
|
+
|
3888
|
+
stopObserving: function(element, eventName, handler) {
|
3889
|
+
element = $(element);
|
3890
|
+
var id = getEventID(element), name = getDOMEventName(eventName);
|
3891
|
+
|
3892
|
+
if (!handler && eventName) {
|
3893
|
+
getWrappersForEventName(id, eventName).each(function(wrapper) {
|
3894
|
+
element.stopObserving(eventName, wrapper.handler);
|
3895
|
+
});
|
3896
|
+
return element;
|
3897
|
+
|
3898
|
+
} else if (!eventName) {
|
3899
|
+
Object.keys(getCacheForID(id)).each(function(eventName) {
|
3900
|
+
element.stopObserving(eventName);
|
3901
|
+
});
|
3902
|
+
return element;
|
3903
|
+
}
|
3904
|
+
|
3905
|
+
var wrapper = findWrapper(id, eventName, handler);
|
3906
|
+
if (!wrapper) return element;
|
3907
|
+
|
3908
|
+
if (element.removeEventListener) {
|
3909
|
+
element.removeEventListener(name, wrapper, false);
|
3910
|
+
} else {
|
3911
|
+
element.detachEvent("on" + name, wrapper);
|
3912
|
+
}
|
3913
|
+
|
3914
|
+
destroyWrapper(id, eventName, handler);
|
3915
|
+
|
3916
|
+
return element;
|
3917
|
+
},
|
3918
|
+
|
3919
|
+
fire: function(element, eventName, memo) {
|
3920
|
+
element = $(element);
|
3921
|
+
if (element == document && document.createEvent && !element.dispatchEvent)
|
3922
|
+
element = document.documentElement;
|
3923
|
+
|
3924
|
+
if (document.createEvent) {
|
3925
|
+
var event = document.createEvent("HTMLEvents");
|
3926
|
+
event.initEvent("dataavailable", true, true);
|
3927
|
+
} else {
|
3928
|
+
var event = document.createEventObject();
|
3929
|
+
event.eventType = "ondataavailable";
|
3930
|
+
}
|
3931
|
+
|
3932
|
+
event.eventName = eventName;
|
3933
|
+
event.memo = memo || { };
|
3934
|
+
|
3935
|
+
if (document.createEvent) {
|
3936
|
+
element.dispatchEvent(event);
|
3937
|
+
} else {
|
3938
|
+
element.fireEvent(event.eventType, event);
|
3939
|
+
}
|
3940
|
+
|
3941
|
+
return event;
|
3942
|
+
}
|
3943
|
+
};
|
3944
|
+
})());
|
3945
|
+
|
3946
|
+
Object.extend(Event, Event.Methods);
|
3947
|
+
|
3948
|
+
Element.addMethods({
|
3949
|
+
fire: Event.fire,
|
3950
|
+
observe: Event.observe,
|
3951
|
+
stopObserving: Event.stopObserving
|
3952
|
+
});
|
3953
|
+
|
3954
|
+
Object.extend(document, {
|
3955
|
+
fire: Element.Methods.fire.methodize(),
|
3956
|
+
observe: Element.Methods.observe.methodize(),
|
3957
|
+
stopObserving: Element.Methods.stopObserving.methodize()
|
3958
|
+
});
|
3959
|
+
|
3960
|
+
(function() {
|
3961
|
+
/* Support for the DOMContentLoaded event is based on work by Dan Webb,
|
3962
|
+
Matthias Miller, Dean Edwards and John Resig. */
|
3963
|
+
|
3964
|
+
var timer, fired = false;
|
3965
|
+
|
3966
|
+
function fireContentLoadedEvent() {
|
3967
|
+
if (fired) return;
|
3968
|
+
if (timer) window.clearInterval(timer);
|
3969
|
+
document.fire("dom:loaded");
|
3970
|
+
fired = true;
|
3971
|
+
}
|
3972
|
+
|
3973
|
+
if (document.addEventListener) {
|
3974
|
+
if (Prototype.Browser.WebKit) {
|
3975
|
+
timer = window.setInterval(function() {
|
3976
|
+
if (/loaded|complete/.test(document.readyState))
|
3977
|
+
fireContentLoadedEvent();
|
3978
|
+
}, 0);
|
3979
|
+
|
3980
|
+
Event.observe(window, "load", fireContentLoadedEvent);
|
3981
|
+
|
3982
|
+
} else {
|
3983
|
+
document.addEventListener("DOMContentLoaded",
|
3984
|
+
fireContentLoadedEvent, false);
|
3985
|
+
}
|
3986
|
+
|
3987
|
+
} else {
|
3988
|
+
document.write("<script id=__onDOMContentLoaded defer src=//:><\/script>");
|
3989
|
+
$("__onDOMContentLoaded").onreadystatechange = function() {
|
3990
|
+
if (this.readyState == "complete") {
|
3991
|
+
this.onreadystatechange = null;
|
3992
|
+
fireContentLoadedEvent();
|
3993
|
+
}
|
3994
|
+
};
|
3995
|
+
}
|
3996
|
+
})();
|
3997
|
+
/*------------------------------- DEPRECATED -------------------------------*/
|
3998
|
+
|
3999
|
+
Hash.toQueryString = Object.toQueryString;
|
4000
|
+
|
4001
|
+
var Toggle = { display: Element.toggle };
|
4002
|
+
|
4003
|
+
Element.Methods.childOf = Element.Methods.descendantOf;
|
4004
|
+
|
4005
|
+
var Insertion = {
|
4006
|
+
Before: function(element, content) {
|
4007
|
+
return Element.insert(element, {before:content});
|
4008
|
+
},
|
4009
|
+
|
4010
|
+
Top: function(element, content) {
|
4011
|
+
return Element.insert(element, {top:content});
|
4012
|
+
},
|
4013
|
+
|
4014
|
+
Bottom: function(element, content) {
|
4015
|
+
return Element.insert(element, {bottom:content});
|
4016
|
+
},
|
4017
|
+
|
4018
|
+
After: function(element, content) {
|
4019
|
+
return Element.insert(element, {after:content});
|
4020
|
+
}
|
4021
|
+
};
|
4022
|
+
|
4023
|
+
var $continue = new Error('"throw $continue" is deprecated, use "return" instead');
|
4024
|
+
|
4025
|
+
// This should be moved to script.aculo.us; notice the deprecated methods
|
4026
|
+
// further below, that map to the newer Element methods.
|
4027
|
+
var Position = {
|
4028
|
+
// set to true if needed, warning: firefox performance problems
|
4029
|
+
// NOT neeeded for page scrolling, only if draggable contained in
|
4030
|
+
// scrollable elements
|
4031
|
+
includeScrollOffsets: false,
|
4032
|
+
|
4033
|
+
// must be called before calling withinIncludingScrolloffset, every time the
|
4034
|
+
// page is scrolled
|
4035
|
+
prepare: function() {
|
4036
|
+
this.deltaX = window.pageXOffset
|
4037
|
+
|| document.documentElement.scrollLeft
|
4038
|
+
|| document.body.scrollLeft
|
4039
|
+
|| 0;
|
4040
|
+
this.deltaY = window.pageYOffset
|
4041
|
+
|| document.documentElement.scrollTop
|
4042
|
+
|| document.body.scrollTop
|
4043
|
+
|| 0;
|
4044
|
+
},
|
4045
|
+
|
4046
|
+
// caches x/y coordinate pair to use with overlap
|
4047
|
+
within: function(element, x, y) {
|
4048
|
+
if (this.includeScrollOffsets)
|
4049
|
+
return this.withinIncludingScrolloffsets(element, x, y);
|
4050
|
+
this.xcomp = x;
|
4051
|
+
this.ycomp = y;
|
4052
|
+
this.offset = Element.cumulativeOffset(element);
|
4053
|
+
|
4054
|
+
return (y >= this.offset[1] &&
|
4055
|
+
y < this.offset[1] + element.offsetHeight &&
|
4056
|
+
x >= this.offset[0] &&
|
4057
|
+
x < this.offset[0] + element.offsetWidth);
|
4058
|
+
},
|
4059
|
+
|
4060
|
+
withinIncludingScrolloffsets: function(element, x, y) {
|
4061
|
+
var offsetcache = Element.cumulativeScrollOffset(element);
|
4062
|
+
|
4063
|
+
this.xcomp = x + offsetcache[0] - this.deltaX;
|
4064
|
+
this.ycomp = y + offsetcache[1] - this.deltaY;
|
4065
|
+
this.offset = Element.cumulativeOffset(element);
|
4066
|
+
|
4067
|
+
return (this.ycomp >= this.offset[1] &&
|
4068
|
+
this.ycomp < this.offset[1] + element.offsetHeight &&
|
4069
|
+
this.xcomp >= this.offset[0] &&
|
4070
|
+
this.xcomp < this.offset[0] + element.offsetWidth);
|
4071
|
+
},
|
4072
|
+
|
4073
|
+
// within must be called directly before
|
4074
|
+
overlap: function(mode, element) {
|
4075
|
+
if (!mode) return 0;
|
4076
|
+
if (mode == 'vertical')
|
4077
|
+
return ((this.offset[1] + element.offsetHeight) - this.ycomp) /
|
4078
|
+
element.offsetHeight;
|
4079
|
+
if (mode == 'horizontal')
|
4080
|
+
return ((this.offset[0] + element.offsetWidth) - this.xcomp) /
|
4081
|
+
element.offsetWidth;
|
4082
|
+
},
|
4083
|
+
|
4084
|
+
// Deprecation layer -- use newer Element methods now (1.5.2).
|
4085
|
+
|
4086
|
+
cumulativeOffset: Element.Methods.cumulativeOffset,
|
4087
|
+
|
4088
|
+
positionedOffset: Element.Methods.positionedOffset,
|
4089
|
+
|
4090
|
+
absolutize: function(element) {
|
4091
|
+
Position.prepare();
|
4092
|
+
return Element.absolutize(element);
|
4093
|
+
},
|
4094
|
+
|
4095
|
+
relativize: function(element) {
|
4096
|
+
Position.prepare();
|
4097
|
+
return Element.relativize(element);
|
4098
|
+
},
|
4099
|
+
|
4100
|
+
realOffset: Element.Methods.cumulativeScrollOffset,
|
4101
|
+
|
4102
|
+
offsetParent: Element.Methods.getOffsetParent,
|
4103
|
+
|
4104
|
+
page: Element.Methods.viewportOffset,
|
4105
|
+
|
4106
|
+
clone: function(source, target, options) {
|
4107
|
+
options = options || { };
|
4108
|
+
return Element.clonePosition(target, source, options);
|
4109
|
+
}
|
4110
|
+
};
|
4111
|
+
|
4112
|
+
/*--------------------------------------------------------------------------*/
|
4113
|
+
|
4114
|
+
if (!document.getElementsByClassName) document.getElementsByClassName = function(instanceMethods){
|
4115
|
+
function iter(name) {
|
4116
|
+
return name.blank() ? null : "[contains(concat(' ', @class, ' '), ' " + name + " ')]";
|
4117
|
+
}
|
4118
|
+
|
4119
|
+
instanceMethods.getElementsByClassName = Prototype.BrowserFeatures.XPath ?
|
4120
|
+
function(element, className) {
|
4121
|
+
className = className.toString().strip();
|
4122
|
+
var cond = /\s/.test(className) ? $w(className).map(iter).join('') : iter(className);
|
4123
|
+
return cond ? document._getElementsByXPath('.//*' + cond, element) : [];
|
4124
|
+
} : function(element, className) {
|
4125
|
+
className = className.toString().strip();
|
4126
|
+
var elements = [], classNames = (/\s/.test(className) ? $w(className) : null);
|
4127
|
+
if (!classNames && !className) return elements;
|
4128
|
+
|
4129
|
+
var nodes = $(element).getElementsByTagName('*');
|
4130
|
+
className = ' ' + className + ' ';
|
4131
|
+
|
4132
|
+
for (var i = 0, child, cn; child = nodes[i]; i++) {
|
4133
|
+
if (child.className && (cn = ' ' + child.className + ' ') && (cn.include(className) ||
|
4134
|
+
(classNames && classNames.all(function(name) {
|
4135
|
+
return !name.toString().blank() && cn.include(' ' + name + ' ');
|
4136
|
+
}))))
|
4137
|
+
elements.push(Element.extend(child));
|
4138
|
+
}
|
4139
|
+
return elements;
|
4140
|
+
};
|
4141
|
+
|
4142
|
+
return function(className, parentElement) {
|
4143
|
+
return $(parentElement || document.body).getElementsByClassName(className);
|
4144
|
+
};
|
4145
|
+
}(Element.Methods);
|
4146
|
+
|
4147
|
+
/*--------------------------------------------------------------------------*/
|
4148
|
+
|
4149
|
+
Element.ClassNames = Class.create();
|
4150
|
+
Element.ClassNames.prototype = {
|
4151
|
+
initialize: function(element) {
|
4152
|
+
this.element = $(element);
|
4153
|
+
},
|
4154
|
+
|
4155
|
+
_each: function(iterator) {
|
4156
|
+
this.element.className.split(/\s+/).select(function(name) {
|
4157
|
+
return name.length > 0;
|
4158
|
+
})._each(iterator);
|
4159
|
+
},
|
4160
|
+
|
4161
|
+
set: function(className) {
|
4162
|
+
this.element.className = className;
|
4163
|
+
},
|
4164
|
+
|
4165
|
+
add: function(classNameToAdd) {
|
4166
|
+
if (this.include(classNameToAdd)) return;
|
4167
|
+
this.set($A(this).concat(classNameToAdd).join(' '));
|
4168
|
+
},
|
4169
|
+
|
4170
|
+
remove: function(classNameToRemove) {
|
4171
|
+
if (!this.include(classNameToRemove)) return;
|
4172
|
+
this.set($A(this).without(classNameToRemove).join(' '));
|
4173
|
+
},
|
4174
|
+
|
4175
|
+
toString: function() {
|
4176
|
+
return $A(this).join(' ');
|
4177
|
+
}
|
4178
|
+
};
|
4179
|
+
|
4180
|
+
Object.extend(Element.ClassNames.prototype, Enumerable);
|
4181
|
+
|
4182
|
+
/*--------------------------------------------------------------------------*/
|
4183
|
+
|
4184
|
+
Element.addMethods();
|