mercadopago-custom-checkout 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +23 -0
- data/.gs/bin/rake +23 -0
- data/.gs/cache/faraday-0.9.2.gem +0 -0
- data/.gs/cache/minitest-5.9.0.gem +0 -0
- data/.gs/cache/multi_json-1.12.1.gem +0 -0
- data/.gs/cache/multipart-post-2.0.0.gem +0 -0
- data/.gs/cache/rake-10.5.0.gem +0 -0
- data/.gs/gems/faraday-0.9.2/LICENSE.md +20 -0
- data/.gs/gems/faraday-0.9.2/README.md +245 -0
- data/.gs/gems/faraday-0.9.2/lib/faraday.rb +268 -0
- data/.gs/gems/faraday-0.9.2/lib/faraday/adapter.rb +46 -0
- data/.gs/gems/faraday-0.9.2/lib/faraday/adapter/em_http.rb +237 -0
- data/.gs/gems/faraday-0.9.2/lib/faraday/adapter/em_http_ssl_patch.rb +56 -0
- data/.gs/gems/faraday-0.9.2/lib/faraday/adapter/em_synchrony.rb +100 -0
- data/.gs/gems/faraday-0.9.2/lib/faraday/adapter/em_synchrony/parallel_manager.rb +66 -0
- data/.gs/gems/faraday-0.9.2/lib/faraday/adapter/excon.rb +81 -0
- data/.gs/gems/faraday-0.9.2/lib/faraday/adapter/httpclient.rb +117 -0
- data/.gs/gems/faraday-0.9.2/lib/faraday/adapter/net_http.rb +130 -0
- data/.gs/gems/faraday-0.9.2/lib/faraday/adapter/net_http_persistent.rb +49 -0
- data/.gs/gems/faraday-0.9.2/lib/faraday/adapter/patron.rb +78 -0
- data/.gs/gems/faraday-0.9.2/lib/faraday/adapter/rack.rb +58 -0
- data/.gs/gems/faraday-0.9.2/lib/faraday/adapter/test.rb +162 -0
- data/.gs/gems/faraday-0.9.2/lib/faraday/adapter/typhoeus.rb +123 -0
- data/.gs/gems/faraday-0.9.2/lib/faraday/autoload.rb +84 -0
- data/.gs/gems/faraday-0.9.2/lib/faraday/connection.rb +437 -0
- data/.gs/gems/faraday-0.9.2/lib/faraday/error.rb +53 -0
- data/.gs/gems/faraday-0.9.2/lib/faraday/middleware.rb +37 -0
- data/.gs/gems/faraday-0.9.2/lib/faraday/options.rb +359 -0
- data/.gs/gems/faraday-0.9.2/lib/faraday/parameters.rb +197 -0
- data/.gs/gems/faraday-0.9.2/lib/faraday/rack_builder.rb +213 -0
- data/.gs/gems/faraday-0.9.2/lib/faraday/request.rb +92 -0
- data/.gs/gems/faraday-0.9.2/lib/faraday/request/authorization.rb +42 -0
- data/.gs/gems/faraday-0.9.2/lib/faraday/request/basic_authentication.rb +13 -0
- data/.gs/gems/faraday-0.9.2/lib/faraday/request/instrumentation.rb +36 -0
- data/.gs/gems/faraday-0.9.2/lib/faraday/request/multipart.rb +63 -0
- data/.gs/gems/faraday-0.9.2/lib/faraday/request/retry.rb +154 -0
- data/.gs/gems/faraday-0.9.2/lib/faraday/request/token_authentication.rb +15 -0
- data/.gs/gems/faraday-0.9.2/lib/faraday/request/url_encoded.rb +36 -0
- data/.gs/gems/faraday-0.9.2/lib/faraday/response.rb +93 -0
- data/.gs/gems/faraday-0.9.2/lib/faraday/response/logger.rb +59 -0
- data/.gs/gems/faraday-0.9.2/lib/faraday/response/raise_error.rb +21 -0
- data/.gs/gems/faraday-0.9.2/lib/faraday/upload_io.rb +67 -0
- data/.gs/gems/faraday-0.9.2/lib/faraday/utils.rb +309 -0
- data/.gs/gems/minitest-5.9.0/.autotest +34 -0
- data/.gs/gems/minitest-5.9.0/History.rdoc +1176 -0
- data/.gs/gems/minitest-5.9.0/Manifest.txt +26 -0
- data/.gs/gems/minitest-5.9.0/README.rdoc +656 -0
- data/.gs/gems/minitest-5.9.0/Rakefile +72 -0
- data/.gs/gems/minitest-5.9.0/design_rationale.rb +52 -0
- data/.gs/gems/minitest-5.9.0/lib/hoe/minitest.rb +26 -0
- data/.gs/gems/minitest-5.9.0/lib/minitest.rb +815 -0
- data/.gs/gems/minitest-5.9.0/lib/minitest/assertions.rb +674 -0
- data/.gs/gems/minitest-5.9.0/lib/minitest/autorun.rb +13 -0
- data/.gs/gems/minitest-5.9.0/lib/minitest/benchmark.rb +424 -0
- data/.gs/gems/minitest-5.9.0/lib/minitest/expectations.rb +284 -0
- data/.gs/gems/minitest-5.9.0/lib/minitest/hell.rb +17 -0
- data/.gs/gems/minitest-5.9.0/lib/minitest/mock.rb +232 -0
- data/.gs/gems/minitest-5.9.0/lib/minitest/parallel.rb +69 -0
- data/.gs/gems/minitest-5.9.0/lib/minitest/pride.rb +4 -0
- data/.gs/gems/minitest-5.9.0/lib/minitest/pride_plugin.rb +142 -0
- data/.gs/gems/minitest-5.9.0/lib/minitest/spec.rb +331 -0
- data/.gs/gems/minitest-5.9.0/lib/minitest/test.rb +284 -0
- data/.gs/gems/minitest-5.9.0/lib/minitest/unit.rb +45 -0
- data/.gs/gems/minitest-5.9.0/test/minitest/metametameta.rb +90 -0
- data/.gs/gems/minitest-5.9.0/test/minitest/test_minitest_benchmark.rb +137 -0
- data/.gs/gems/minitest-5.9.0/test/minitest/test_minitest_mock.rb +512 -0
- data/.gs/gems/minitest-5.9.0/test/minitest/test_minitest_reporter.rb +281 -0
- data/.gs/gems/minitest-5.9.0/test/minitest/test_minitest_spec.rb +967 -0
- data/.gs/gems/minitest-5.9.0/test/minitest/test_minitest_test.rb +1983 -0
- data/.gs/gems/multi_json-1.12.1/CHANGELOG.md +245 -0
- data/.gs/gems/multi_json-1.12.1/CONTRIBUTING.md +46 -0
- data/.gs/gems/multi_json-1.12.1/LICENSE.md +20 -0
- data/.gs/gems/multi_json-1.12.1/README.md +121 -0
- data/.gs/gems/multi_json-1.12.1/lib/multi_json.rb +161 -0
- data/.gs/gems/multi_json-1.12.1/lib/multi_json/adapter.rb +49 -0
- data/.gs/gems/multi_json-1.12.1/lib/multi_json/adapter_error.rb +15 -0
- data/.gs/gems/multi_json-1.12.1/lib/multi_json/adapters/gson.rb +20 -0
- data/.gs/gems/multi_json-1.12.1/lib/multi_json/adapters/jr_jackson.rb +25 -0
- data/.gs/gems/multi_json-1.12.1/lib/multi_json/adapters/json_common.rb +23 -0
- data/.gs/gems/multi_json-1.12.1/lib/multi_json/adapters/json_gem.rb +11 -0
- data/.gs/gems/multi_json-1.12.1/lib/multi_json/adapters/json_pure.rb +11 -0
- data/.gs/gems/multi_json-1.12.1/lib/multi_json/adapters/nsjsonserialization.rb +32 -0
- data/.gs/gems/multi_json-1.12.1/lib/multi_json/adapters/oj.rb +25 -0
- data/.gs/gems/multi_json-1.12.1/lib/multi_json/adapters/ok_json.rb +23 -0
- data/.gs/gems/multi_json-1.12.1/lib/multi_json/adapters/yajl.rb +19 -0
- data/.gs/gems/multi_json-1.12.1/lib/multi_json/convertible_hash_keys.rb +43 -0
- data/.gs/gems/multi_json-1.12.1/lib/multi_json/options.rb +39 -0
- data/.gs/gems/multi_json-1.12.1/lib/multi_json/options_cache.rb +29 -0
- data/.gs/gems/multi_json-1.12.1/lib/multi_json/parse_error.rb +17 -0
- data/.gs/gems/multi_json-1.12.1/lib/multi_json/vendor/okjson.rb +606 -0
- data/.gs/gems/multi_json-1.12.1/lib/multi_json/version.rb +17 -0
- data/.gs/gems/multi_json-1.12.1/multi_json.gemspec +20 -0
- data/.gs/gems/multipart-post-2.0.0/.gitignore +6 -0
- data/.gs/gems/multipart-post-2.0.0/.travis.yml +7 -0
- data/.gs/gems/multipart-post-2.0.0/Gemfile +14 -0
- data/.gs/gems/multipart-post-2.0.0/History.txt +60 -0
- data/.gs/gems/multipart-post-2.0.0/Manifest.txt +9 -0
- data/.gs/gems/multipart-post-2.0.0/README.md +77 -0
- data/.gs/gems/multipart-post-2.0.0/Rakefile +9 -0
- data/.gs/gems/multipart-post-2.0.0/lib/composite_io.rb +108 -0
- data/.gs/gems/multipart-post-2.0.0/lib/multipart_post.rb +9 -0
- data/.gs/gems/multipart-post-2.0.0/lib/multipartable.rb +29 -0
- data/.gs/gems/multipart-post-2.0.0/lib/net/http/post/multipart.rb +27 -0
- data/.gs/gems/multipart-post-2.0.0/lib/parts.rb +96 -0
- data/.gs/gems/multipart-post-2.0.0/multipart-post.gemspec +22 -0
- data/.gs/gems/multipart-post-2.0.0/test/multibyte.txt +1 -0
- data/.gs/gems/multipart-post-2.0.0/test/net/http/post/test_multipart.rb +110 -0
- data/.gs/gems/multipart-post-2.0.0/test/test_composite_io.rb +115 -0
- data/.gs/gems/multipart-post-2.0.0/test/test_parts.rb +86 -0
- data/.gs/gems/rake-10.5.0/.autotest +7 -0
- data/.gs/gems/rake-10.5.0/.rubocop.yml +27 -0
- data/.gs/gems/rake-10.5.0/.togglerc +7 -0
- data/.gs/gems/rake-10.5.0/CONTRIBUTING.rdoc +38 -0
- data/.gs/gems/rake-10.5.0/History.rdoc +659 -0
- data/.gs/gems/rake-10.5.0/MIT-LICENSE +21 -0
- data/.gs/gems/rake-10.5.0/Manifest.txt +166 -0
- data/.gs/gems/rake-10.5.0/README.rdoc +139 -0
- data/.gs/gems/rake-10.5.0/Rakefile +81 -0
- data/.gs/gems/rake-10.5.0/bin/rake +33 -0
- data/.gs/gems/rake-10.5.0/doc/command_line_usage.rdoc +158 -0
- data/.gs/gems/rake-10.5.0/doc/example/Rakefile1 +38 -0
- data/.gs/gems/rake-10.5.0/doc/example/Rakefile2 +35 -0
- data/.gs/gems/rake-10.5.0/doc/example/a.c +6 -0
- data/.gs/gems/rake-10.5.0/doc/example/b.c +6 -0
- data/.gs/gems/rake-10.5.0/doc/example/main.c +11 -0
- data/.gs/gems/rake-10.5.0/doc/glossary.rdoc +42 -0
- data/.gs/gems/rake-10.5.0/doc/jamis.rb +591 -0
- data/.gs/gems/rake-10.5.0/doc/proto_rake.rdoc +127 -0
- data/.gs/gems/rake-10.5.0/doc/rake.1 +141 -0
- data/.gs/gems/rake-10.5.0/doc/rakefile.rdoc +624 -0
- data/.gs/gems/rake-10.5.0/doc/rational.rdoc +151 -0
- data/.gs/gems/rake-10.5.0/doc/release_notes/rake-0.4.14.rdoc +23 -0
- data/.gs/gems/rake-10.5.0/doc/release_notes/rake-0.4.15.rdoc +35 -0
- data/.gs/gems/rake-10.5.0/doc/release_notes/rake-0.5.0.rdoc +53 -0
- data/.gs/gems/rake-10.5.0/doc/release_notes/rake-0.5.3.rdoc +78 -0
- data/.gs/gems/rake-10.5.0/doc/release_notes/rake-0.5.4.rdoc +46 -0
- data/.gs/gems/rake-10.5.0/doc/release_notes/rake-0.6.0.rdoc +141 -0
- data/.gs/gems/rake-10.5.0/doc/release_notes/rake-0.7.0.rdoc +119 -0
- data/.gs/gems/rake-10.5.0/doc/release_notes/rake-0.7.1.rdoc +59 -0
- data/.gs/gems/rake-10.5.0/doc/release_notes/rake-0.7.2.rdoc +121 -0
- data/.gs/gems/rake-10.5.0/doc/release_notes/rake-0.7.3.rdoc +47 -0
- data/.gs/gems/rake-10.5.0/doc/release_notes/rake-0.8.0.rdoc +114 -0
- data/.gs/gems/rake-10.5.0/doc/release_notes/rake-0.8.2.rdoc +165 -0
- data/.gs/gems/rake-10.5.0/doc/release_notes/rake-0.8.3.rdoc +112 -0
- data/.gs/gems/rake-10.5.0/doc/release_notes/rake-0.8.4.rdoc +147 -0
- data/.gs/gems/rake-10.5.0/doc/release_notes/rake-0.8.5.rdoc +53 -0
- data/.gs/gems/rake-10.5.0/doc/release_notes/rake-0.8.6.rdoc +37 -0
- data/.gs/gems/rake-10.5.0/doc/release_notes/rake-0.8.7.rdoc +55 -0
- data/.gs/gems/rake-10.5.0/doc/release_notes/rake-0.9.0.rdoc +112 -0
- data/.gs/gems/rake-10.5.0/doc/release_notes/rake-0.9.1.rdoc +52 -0
- data/.gs/gems/rake-10.5.0/doc/release_notes/rake-0.9.2.2.rdoc +55 -0
- data/.gs/gems/rake-10.5.0/doc/release_notes/rake-0.9.2.rdoc +49 -0
- data/.gs/gems/rake-10.5.0/doc/release_notes/rake-0.9.3.rdoc +102 -0
- data/.gs/gems/rake-10.5.0/doc/release_notes/rake-0.9.4.rdoc +60 -0
- data/.gs/gems/rake-10.5.0/doc/release_notes/rake-0.9.5.rdoc +55 -0
- data/.gs/gems/rake-10.5.0/doc/release_notes/rake-0.9.6.rdoc +64 -0
- data/.gs/gems/rake-10.5.0/doc/release_notes/rake-10.0.0.rdoc +178 -0
- data/.gs/gems/rake-10.5.0/doc/release_notes/rake-10.0.1.rdoc +58 -0
- data/.gs/gems/rake-10.5.0/doc/release_notes/rake-10.0.2.rdoc +53 -0
- data/.gs/gems/rake-10.5.0/doc/release_notes/rake-10.0.3.rdoc +191 -0
- data/.gs/gems/rake-10.5.0/doc/release_notes/rake-10.1.0.rdoc +61 -0
- data/.gs/gems/rake-10.5.0/lib/rake.rb +79 -0
- data/.gs/gems/rake-10.5.0/lib/rake/alt_system.rb +110 -0
- data/.gs/gems/rake-10.5.0/lib/rake/application.rb +790 -0
- data/.gs/gems/rake-10.5.0/lib/rake/backtrace.rb +23 -0
- data/.gs/gems/rake-10.5.0/lib/rake/clean.rb +76 -0
- data/.gs/gems/rake-10.5.0/lib/rake/cloneable.rb +16 -0
- data/.gs/gems/rake-10.5.0/lib/rake/contrib/.document +1 -0
- data/.gs/gems/rake-10.5.0/lib/rake/contrib/compositepublisher.rb +21 -0
- data/.gs/gems/rake-10.5.0/lib/rake/contrib/ftptools.rb +137 -0
- data/.gs/gems/rake-10.5.0/lib/rake/contrib/publisher.rb +81 -0
- data/.gs/gems/rake-10.5.0/lib/rake/contrib/rubyforgepublisher.rb +18 -0
- data/.gs/gems/rake-10.5.0/lib/rake/contrib/sshpublisher.rb +61 -0
- data/.gs/gems/rake-10.5.0/lib/rake/contrib/sys.rb +4 -0
- data/.gs/gems/rake-10.5.0/lib/rake/cpu_counter.rb +125 -0
- data/.gs/gems/rake-10.5.0/lib/rake/default_loader.rb +14 -0
- data/.gs/gems/rake-10.5.0/lib/rake/dsl_definition.rb +201 -0
- data/.gs/gems/rake-10.5.0/lib/rake/early_time.rb +21 -0
- data/.gs/gems/rake-10.5.0/lib/rake/ext/core.rb +25 -0
- data/.gs/gems/rake-10.5.0/lib/rake/ext/module.rb +2 -0
- data/.gs/gems/rake-10.5.0/lib/rake/ext/pathname.rb +25 -0
- data/.gs/gems/rake-10.5.0/lib/rake/ext/string.rb +175 -0
- data/.gs/gems/rake-10.5.0/lib/rake/ext/time.rb +18 -0
- data/.gs/gems/rake-10.5.0/lib/rake/file_creation_task.rb +24 -0
- data/.gs/gems/rake-10.5.0/lib/rake/file_list.rb +428 -0
- data/.gs/gems/rake-10.5.0/lib/rake/file_task.rb +46 -0
- data/.gs/gems/rake-10.5.0/lib/rake/file_utils.rb +128 -0
- data/.gs/gems/rake-10.5.0/lib/rake/file_utils_ext.rb +144 -0
- data/.gs/gems/rake-10.5.0/lib/rake/gempackagetask.rb +4 -0
- data/.gs/gems/rake-10.5.0/lib/rake/invocation_chain.rb +56 -0
- data/.gs/gems/rake-10.5.0/lib/rake/invocation_exception_mixin.rb +16 -0
- data/.gs/gems/rake-10.5.0/lib/rake/late_time.rb +17 -0
- data/.gs/gems/rake-10.5.0/lib/rake/linked_list.rb +103 -0
- data/.gs/gems/rake-10.5.0/lib/rake/loaders/makefile.rb +53 -0
- data/.gs/gems/rake-10.5.0/lib/rake/multi_task.rb +13 -0
- data/.gs/gems/rake-10.5.0/lib/rake/name_space.rb +38 -0
- data/.gs/gems/rake-10.5.0/lib/rake/packagetask.rb +199 -0
- data/.gs/gems/rake-10.5.0/lib/rake/pathmap.rb +3 -0
- data/.gs/gems/rake-10.5.0/lib/rake/phony.rb +15 -0
- data/.gs/gems/rake-10.5.0/lib/rake/private_reader.rb +20 -0
- data/.gs/gems/rake-10.5.0/lib/rake/promise.rb +99 -0
- data/.gs/gems/rake-10.5.0/lib/rake/pseudo_status.rb +29 -0
- data/.gs/gems/rake-10.5.0/lib/rake/rake_module.rb +38 -0
- data/.gs/gems/rake-10.5.0/lib/rake/rake_test_loader.rb +22 -0
- data/.gs/gems/rake-10.5.0/lib/rake/rdoctask.rb +4 -0
- data/.gs/gems/rake-10.5.0/lib/rake/ruby182_test_unit_fix.rb +29 -0
- data/.gs/gems/rake-10.5.0/lib/rake/rule_recursion_overflow_error.rb +20 -0
- data/.gs/gems/rake-10.5.0/lib/rake/runtest.rb +27 -0
- data/.gs/gems/rake-10.5.0/lib/rake/scope.rb +42 -0
- data/.gs/gems/rake-10.5.0/lib/rake/task.rb +383 -0
- data/.gs/gems/rake-10.5.0/lib/rake/task_argument_error.rb +7 -0
- data/.gs/gems/rake-10.5.0/lib/rake/task_arguments.rb +98 -0
- data/.gs/gems/rake-10.5.0/lib/rake/task_manager.rb +307 -0
- data/.gs/gems/rake-10.5.0/lib/rake/tasklib.rb +24 -0
- data/.gs/gems/rake-10.5.0/lib/rake/testtask.rb +213 -0
- data/.gs/gems/rake-10.5.0/lib/rake/thread_history_display.rb +48 -0
- data/.gs/gems/rake-10.5.0/lib/rake/thread_pool.rb +164 -0
- data/.gs/gems/rake-10.5.0/lib/rake/trace_output.rb +22 -0
- data/.gs/gems/rake-10.5.0/lib/rake/version.rb +7 -0
- data/.gs/gems/rake-10.5.0/lib/rake/win32.rb +56 -0
- data/.gs/gems/rake-10.5.0/rakelib/publish.rake +20 -0
- data/.gs/gems/rake-10.5.0/rakelib/test_times.rake +25 -0
- data/.gs/gems/rake-10.5.0/test/file_creation.rb +34 -0
- data/.gs/gems/rake-10.5.0/test/helper.rb +129 -0
- data/.gs/gems/rake-10.5.0/test/support/rakefile_definitions.rb +478 -0
- data/.gs/gems/rake-10.5.0/test/support/ruby_runner.rb +34 -0
- data/.gs/gems/rake-10.5.0/test/test_private_reader.rb +42 -0
- data/.gs/gems/rake-10.5.0/test/test_rake.rb +40 -0
- data/.gs/gems/rake-10.5.0/test/test_rake_application.rb +643 -0
- data/.gs/gems/rake-10.5.0/test/test_rake_application_options.rb +468 -0
- data/.gs/gems/rake-10.5.0/test/test_rake_backtrace.rb +119 -0
- data/.gs/gems/rake-10.5.0/test/test_rake_clean.rb +61 -0
- data/.gs/gems/rake-10.5.0/test/test_rake_cpu_counter.rb +68 -0
- data/.gs/gems/rake-10.5.0/test/test_rake_definitions.rb +84 -0
- data/.gs/gems/rake-10.5.0/test/test_rake_directory_task.rb +76 -0
- data/.gs/gems/rake-10.5.0/test/test_rake_dsl.rb +40 -0
- data/.gs/gems/rake-10.5.0/test/test_rake_early_time.rb +31 -0
- data/.gs/gems/rake-10.5.0/test/test_rake_extension.rb +59 -0
- data/.gs/gems/rake-10.5.0/test/test_rake_file_creation_task.rb +56 -0
- data/.gs/gems/rake-10.5.0/test/test_rake_file_list.rb +670 -0
- data/.gs/gems/rake-10.5.0/test/test_rake_file_list_path_map.rb +8 -0
- data/.gs/gems/rake-10.5.0/test/test_rake_file_task.rb +197 -0
- data/.gs/gems/rake-10.5.0/test/test_rake_file_utils.rb +314 -0
- data/.gs/gems/rake-10.5.0/test/test_rake_ftp_file.rb +74 -0
- data/.gs/gems/rake-10.5.0/test/test_rake_functional.rb +482 -0
- data/.gs/gems/rake-10.5.0/test/test_rake_invocation_chain.rb +64 -0
- data/.gs/gems/rake-10.5.0/test/test_rake_late_time.rb +18 -0
- data/.gs/gems/rake-10.5.0/test/test_rake_linked_list.rb +84 -0
- data/.gs/gems/rake-10.5.0/test/test_rake_makefile_loader.rb +46 -0
- data/.gs/gems/rake-10.5.0/test/test_rake_multi_task.rb +64 -0
- data/.gs/gems/rake-10.5.0/test/test_rake_name_space.rb +57 -0
- data/.gs/gems/rake-10.5.0/test/test_rake_package_task.rb +79 -0
- data/.gs/gems/rake-10.5.0/test/test_rake_path_map.rb +168 -0
- data/.gs/gems/rake-10.5.0/test/test_rake_path_map_explode.rb +34 -0
- data/.gs/gems/rake-10.5.0/test/test_rake_path_map_partial.rb +18 -0
- data/.gs/gems/rake-10.5.0/test/test_rake_pathname_extensions.rb +15 -0
- data/.gs/gems/rake-10.5.0/test/test_rake_pseudo_status.rb +21 -0
- data/.gs/gems/rake-10.5.0/test/test_rake_rake_test_loader.rb +20 -0
- data/.gs/gems/rake-10.5.0/test/test_rake_reduce_compat.rb +26 -0
- data/.gs/gems/rake-10.5.0/test/test_rake_require.rb +40 -0
- data/.gs/gems/rake-10.5.0/test/test_rake_rules.rb +388 -0
- data/.gs/gems/rake-10.5.0/test/test_rake_scope.rb +44 -0
- data/.gs/gems/rake-10.5.0/test/test_rake_task.rb +393 -0
- data/.gs/gems/rake-10.5.0/test/test_rake_task_argument_parsing.rb +119 -0
- data/.gs/gems/rake-10.5.0/test/test_rake_task_arguments.rb +127 -0
- data/.gs/gems/rake-10.5.0/test/test_rake_task_lib.rb +9 -0
- data/.gs/gems/rake-10.5.0/test/test_rake_task_manager.rb +178 -0
- data/.gs/gems/rake-10.5.0/test/test_rake_task_manager_argument_resolution.rb +19 -0
- data/.gs/gems/rake-10.5.0/test/test_rake_task_with_arguments.rb +172 -0
- data/.gs/gems/rake-10.5.0/test/test_rake_test_task.rb +146 -0
- data/.gs/gems/rake-10.5.0/test/test_rake_thread_pool.rb +145 -0
- data/.gs/gems/rake-10.5.0/test/test_rake_top_level_functions.rb +71 -0
- data/.gs/gems/rake-10.5.0/test/test_rake_win32.rb +72 -0
- data/.gs/gems/rake-10.5.0/test/test_thread_history_display.rb +101 -0
- data/.gs/gems/rake-10.5.0/test/test_trace_output.rb +52 -0
- data/.gs/specifications/faraday-0.9.2.gemspec +31 -0
- data/.gs/specifications/minitest-5.9.0.gemspec +39 -0
- data/.gs/specifications/multi_json-1.12.1.gemspec +33 -0
- data/.gs/specifications/multipart-post-2.0.0.gemspec +22 -0
- data/.gs/specifications/rake-10.5.0.gemspec +43 -0
- data/.rubocop.yml +36 -0
- data/.ruby-version +1 -0
- data/.travis.yml +7 -0
- data/CODE_OF_CONDUCT.md +49 -0
- data/Gemfile +10 -0
- data/LICENSE.txt +21 -0
- data/README.md +35 -0
- data/Rakefile +38 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/lib/mercadopago/core/client.rb +70 -0
- data/lib/mercadopago/core/endpoints.rb +134 -0
- data/lib/mercadopago/core/errors.rb +6 -0
- data/lib/mercadopago/core/gateway.rb +84 -0
- data/lib/mercadopago/custom_checkout.rb +29 -0
- data/lib/mercadopago/custom_checkout/account.rb +162 -0
- data/lib/mercadopago/custom_checkout/card_issuer.rb +20 -0
- data/lib/mercadopago/custom_checkout/card_token.rb +57 -0
- data/lib/mercadopago/custom_checkout/customer.rb +84 -0
- data/lib/mercadopago/custom_checkout/errors.rb +6 -0
- data/lib/mercadopago/custom_checkout/identification_type.rb +19 -0
- data/lib/mercadopago/custom_checkout/payment_method.rb +42 -0
- data/lib/mercadopago/custom_checkout/payments.rb +24 -0
- data/lib/mercadopago/custom_checkout/resource.rb +14 -0
- data/lib/mercadopago/custom_checkout/version.rb +5 -0
- data/mercadopago-custom-checkout.gemspec +30 -0
- metadata +455 -0
@@ -0,0 +1,197 @@
|
|
1
|
+
require File.expand_path('../helper', __FILE__)
|
2
|
+
require 'fileutils'
|
3
|
+
require 'pathname'
|
4
|
+
|
5
|
+
class TestRakeFileTask < Rake::TestCase
|
6
|
+
include Rake
|
7
|
+
|
8
|
+
def setup
|
9
|
+
super
|
10
|
+
|
11
|
+
Task.clear
|
12
|
+
@runs = Array.new
|
13
|
+
FileUtils.rm_f NEWFILE
|
14
|
+
FileUtils.rm_f OLDFILE
|
15
|
+
end
|
16
|
+
|
17
|
+
def test_file_need
|
18
|
+
name = "dummy"
|
19
|
+
file name
|
20
|
+
|
21
|
+
ftask = Task[name]
|
22
|
+
|
23
|
+
assert_equal name.to_s, ftask.name
|
24
|
+
File.delete(ftask.name) rescue nil
|
25
|
+
|
26
|
+
assert ftask.needed?, "file should be needed"
|
27
|
+
assert_equal Rake::LATE, ftask.timestamp
|
28
|
+
|
29
|
+
open(ftask.name, "w") { |f| f.puts "HI" }
|
30
|
+
|
31
|
+
assert_equal nil, ftask.prerequisites.map { |n| Task[n].timestamp }.max
|
32
|
+
assert ! ftask.needed?, "file should not be needed"
|
33
|
+
ensure
|
34
|
+
File.delete(ftask.name) rescue nil
|
35
|
+
end
|
36
|
+
|
37
|
+
def test_file_times_new_depends_on_old
|
38
|
+
create_timed_files(OLDFILE, NEWFILE)
|
39
|
+
|
40
|
+
t1 = Rake.application.intern(FileTask, NEWFILE).enhance([OLDFILE])
|
41
|
+
t2 = Rake.application.intern(FileTask, OLDFILE)
|
42
|
+
assert ! t2.needed?, "Should not need to build old file"
|
43
|
+
assert ! t1.needed?, "Should not need to rebuild new file because of old"
|
44
|
+
end
|
45
|
+
|
46
|
+
def test_file_times_new_depend_on_regular_task_timestamps
|
47
|
+
load_phony
|
48
|
+
|
49
|
+
name = "dummy"
|
50
|
+
task name
|
51
|
+
|
52
|
+
create_timed_files(NEWFILE)
|
53
|
+
|
54
|
+
t1 = Rake.application.intern(FileTask, NEWFILE).enhance([name])
|
55
|
+
|
56
|
+
assert t1.needed?, "depending on non-file task uses Time.now"
|
57
|
+
|
58
|
+
task(name => :phony)
|
59
|
+
|
60
|
+
assert t1.needed?, "unless the non-file task has a timestamp"
|
61
|
+
end
|
62
|
+
|
63
|
+
def test_file_times_old_depends_on_new
|
64
|
+
create_timed_files(OLDFILE, NEWFILE)
|
65
|
+
|
66
|
+
t1 = Rake.application.intern(FileTask, OLDFILE).enhance([NEWFILE])
|
67
|
+
t2 = Rake.application.intern(FileTask, NEWFILE)
|
68
|
+
assert ! t2.needed?, "Should not need to build new file"
|
69
|
+
preq_stamp = t1.prerequisites.map { |t| Task[t].timestamp }.max
|
70
|
+
assert_equal t2.timestamp, preq_stamp
|
71
|
+
assert t1.timestamp < preq_stamp, "T1 should be older"
|
72
|
+
assert t1.needed?, "Should need to rebuild old file because of new"
|
73
|
+
end
|
74
|
+
|
75
|
+
def test_file_depends_on_task_depend_on_file
|
76
|
+
create_timed_files(OLDFILE, NEWFILE)
|
77
|
+
|
78
|
+
file NEWFILE => [:obj] do |t| @runs << t.name end
|
79
|
+
task :obj => [OLDFILE] do |t| @runs << t.name end
|
80
|
+
file OLDFILE do |t| @runs << t.name end
|
81
|
+
|
82
|
+
Task[:obj].invoke
|
83
|
+
Task[NEWFILE].invoke
|
84
|
+
assert @runs.include?(NEWFILE)
|
85
|
+
end
|
86
|
+
|
87
|
+
def test_existing_file_depends_on_non_existing_file
|
88
|
+
create_file(OLDFILE)
|
89
|
+
delete_file(NEWFILE)
|
90
|
+
file NEWFILE do |t| @runs << t.name end
|
91
|
+
file OLDFILE => NEWFILE do |t| @runs << t.name end
|
92
|
+
|
93
|
+
Task[OLDFILE].invoke
|
94
|
+
|
95
|
+
assert_equal [NEWFILE, OLDFILE], @runs
|
96
|
+
end
|
97
|
+
|
98
|
+
def test_needed_eh_build_all
|
99
|
+
create_file 'a'
|
100
|
+
|
101
|
+
file 'a'
|
102
|
+
|
103
|
+
a_task = Task['a']
|
104
|
+
|
105
|
+
refute a_task.needed?
|
106
|
+
|
107
|
+
Rake.application.options.build_all = true
|
108
|
+
|
109
|
+
assert a_task.needed?
|
110
|
+
ensure
|
111
|
+
delete_file 'a'
|
112
|
+
end
|
113
|
+
|
114
|
+
def test_needed_eh_dependency
|
115
|
+
create_file 'a', Time.now
|
116
|
+
create_file 'b', Time.now - 60
|
117
|
+
|
118
|
+
create_file 'c', Time.now
|
119
|
+
create_file 'd', Time.now - 60
|
120
|
+
|
121
|
+
file 'b' => 'a'
|
122
|
+
|
123
|
+
b_task = Task['b']
|
124
|
+
|
125
|
+
assert b_task.needed?
|
126
|
+
|
127
|
+
file 'c' => 'd'
|
128
|
+
|
129
|
+
c_task = Task['c']
|
130
|
+
|
131
|
+
refute c_task.needed?
|
132
|
+
ensure
|
133
|
+
delete_file 'old'
|
134
|
+
delete_file 'new'
|
135
|
+
end
|
136
|
+
|
137
|
+
def test_needed_eh_exists
|
138
|
+
name = "dummy"
|
139
|
+
file name
|
140
|
+
|
141
|
+
ftask = Task[name]
|
142
|
+
|
143
|
+
assert ftask.needed?
|
144
|
+
|
145
|
+
create_file name
|
146
|
+
|
147
|
+
refute ftask.needed?
|
148
|
+
ensure
|
149
|
+
delete_file name
|
150
|
+
end
|
151
|
+
|
152
|
+
def test_source_is_first_prerequisite
|
153
|
+
t = file :f => ["preqA", "preqB"]
|
154
|
+
assert_equal "preqA", t.source
|
155
|
+
end
|
156
|
+
|
157
|
+
def test_sources_is_all_prerequisites
|
158
|
+
t = file :f => ["preqA", "preqB"]
|
159
|
+
assert_equal ["preqA", "preqB"], t.sources
|
160
|
+
end
|
161
|
+
|
162
|
+
def test_task_can_be_pathname
|
163
|
+
name = "dummy"
|
164
|
+
file Pathname.new name
|
165
|
+
|
166
|
+
ftask = Task[name]
|
167
|
+
|
168
|
+
assert_equal name.to_s, ftask.name
|
169
|
+
end
|
170
|
+
|
171
|
+
def test_prerequisite_can_be_pathname
|
172
|
+
t = file :f => Pathname.new("preq")
|
173
|
+
assert_equal "preq", t.source
|
174
|
+
end
|
175
|
+
|
176
|
+
# I have currently disabled this test. I'm not convinced that
|
177
|
+
# deleting the file target on failure is always the proper thing to
|
178
|
+
# do. I'm willing to hear input on this topic.
|
179
|
+
def ztest_file_deletes_on_failure
|
180
|
+
task :obj
|
181
|
+
file NEWFILE => [:obj] do |t|
|
182
|
+
FileUtils.touch NEWFILE
|
183
|
+
fail "Ooops"
|
184
|
+
end
|
185
|
+
assert Task[NEWFILE]
|
186
|
+
begin
|
187
|
+
Task[NEWFILE].invoke
|
188
|
+
rescue Exception
|
189
|
+
end
|
190
|
+
assert(! File.exist?(NEWFILE), "NEWFILE should be deleted")
|
191
|
+
end
|
192
|
+
|
193
|
+
def load_phony
|
194
|
+
load File.join(@rake_lib, "rake/phony.rb")
|
195
|
+
end
|
196
|
+
|
197
|
+
end
|
@@ -0,0 +1,314 @@
|
|
1
|
+
require File.expand_path('../helper', __FILE__)
|
2
|
+
require 'fileutils'
|
3
|
+
require 'stringio'
|
4
|
+
|
5
|
+
class TestRakeFileUtils < Rake::TestCase
|
6
|
+
def setup
|
7
|
+
super
|
8
|
+
@rake_test_sh = ENV['RAKE_TEST_SH']
|
9
|
+
end
|
10
|
+
|
11
|
+
def teardown
|
12
|
+
FileUtils::LN_SUPPORTED[0] = true
|
13
|
+
RakeFileUtils.verbose_flag = Rake::FileUtilsExt::DEFAULT
|
14
|
+
ENV['RAKE_TEST_SH'] = @rake_test_sh
|
15
|
+
|
16
|
+
super
|
17
|
+
end
|
18
|
+
|
19
|
+
def test_rm_one_file
|
20
|
+
create_file("a")
|
21
|
+
FileUtils.rm_rf "a"
|
22
|
+
refute File.exist?("a")
|
23
|
+
end
|
24
|
+
|
25
|
+
def test_rm_two_files
|
26
|
+
create_file("a")
|
27
|
+
create_file("b")
|
28
|
+
FileUtils.rm_rf ["a", "b"]
|
29
|
+
refute File.exist?("a")
|
30
|
+
refute File.exist?("b")
|
31
|
+
end
|
32
|
+
|
33
|
+
def test_rm_filelist
|
34
|
+
list = Rake::FileList.new << "a" << "b"
|
35
|
+
list.each { |fn| create_file(fn) }
|
36
|
+
FileUtils.rm_r list
|
37
|
+
refute File.exist?("a")
|
38
|
+
refute File.exist?("b")
|
39
|
+
end
|
40
|
+
|
41
|
+
def test_ln
|
42
|
+
open("a", "w") { |f| f.puts "TEST_LN" }
|
43
|
+
|
44
|
+
Rake::FileUtilsExt.safe_ln("a", "b", :verbose => false)
|
45
|
+
|
46
|
+
assert_equal "TEST_LN\n", File.read('b')
|
47
|
+
end
|
48
|
+
|
49
|
+
class BadLink
|
50
|
+
include Rake::FileUtilsExt
|
51
|
+
attr_reader :cp_args
|
52
|
+
|
53
|
+
def initialize(klass)
|
54
|
+
@failure_class = klass
|
55
|
+
end
|
56
|
+
|
57
|
+
def cp(*args)
|
58
|
+
@cp_args = args
|
59
|
+
end
|
60
|
+
|
61
|
+
def ln(*args)
|
62
|
+
fail @failure_class, "ln not supported"
|
63
|
+
end
|
64
|
+
|
65
|
+
public :safe_ln
|
66
|
+
end
|
67
|
+
|
68
|
+
def test_safe_ln_failover_to_cp_on_standard_error
|
69
|
+
FileUtils::LN_SUPPORTED[0] = true
|
70
|
+
c = BadLink.new(StandardError)
|
71
|
+
c.safe_ln "a", "b"
|
72
|
+
assert_equal ['a', 'b'], c.cp_args
|
73
|
+
c.safe_ln "x", "y"
|
74
|
+
assert_equal ['x', 'y'], c.cp_args
|
75
|
+
end
|
76
|
+
|
77
|
+
def test_safe_ln_failover_to_cp_on_not_implemented_error
|
78
|
+
FileUtils::LN_SUPPORTED[0] = true
|
79
|
+
c = BadLink.new(NotImplementedError)
|
80
|
+
c.safe_ln "a", "b"
|
81
|
+
assert_equal ['a', 'b'], c.cp_args
|
82
|
+
end
|
83
|
+
|
84
|
+
def test_safe_ln_fails_on_script_error
|
85
|
+
FileUtils::LN_SUPPORTED[0] = true
|
86
|
+
c = BadLink.new(ScriptError)
|
87
|
+
assert_raises(ScriptError) do c.safe_ln "a", "b" end
|
88
|
+
end
|
89
|
+
|
90
|
+
def test_verbose
|
91
|
+
verbose true
|
92
|
+
assert_equal true, verbose
|
93
|
+
verbose false
|
94
|
+
assert_equal false, verbose
|
95
|
+
verbose(true) {
|
96
|
+
assert_equal true, verbose
|
97
|
+
}
|
98
|
+
assert_equal false, verbose
|
99
|
+
end
|
100
|
+
|
101
|
+
def test_nowrite
|
102
|
+
nowrite true
|
103
|
+
assert_equal true, nowrite
|
104
|
+
nowrite false
|
105
|
+
assert_equal false, nowrite
|
106
|
+
nowrite(true) {
|
107
|
+
assert_equal true, nowrite
|
108
|
+
}
|
109
|
+
assert_equal false, nowrite
|
110
|
+
end
|
111
|
+
|
112
|
+
def test_file_utils_methods_are_available_at_top_level
|
113
|
+
create_file("a")
|
114
|
+
|
115
|
+
capture_io do
|
116
|
+
rm_rf "a"
|
117
|
+
end
|
118
|
+
|
119
|
+
refute File.exist?("a")
|
120
|
+
end
|
121
|
+
|
122
|
+
def test_fileutils_methods_dont_leak
|
123
|
+
obj = Object.new
|
124
|
+
assert_raises(NoMethodError) { obj.copy } # from FileUtils
|
125
|
+
assert_raises(NoMethodError) { obj.ruby "-v" } # from RubyFileUtils
|
126
|
+
end
|
127
|
+
|
128
|
+
def test_sh
|
129
|
+
shellcommand
|
130
|
+
|
131
|
+
verbose(false) { sh %{#{Rake::TestCase::RUBY} shellcommand.rb} }
|
132
|
+
assert true, "should not fail"
|
133
|
+
end
|
134
|
+
|
135
|
+
def test_sh_with_a_single_string_argument
|
136
|
+
check_expansion
|
137
|
+
|
138
|
+
ENV['RAKE_TEST_SH'] = 'someval'
|
139
|
+
verbose(false) {
|
140
|
+
sh %{#{RUBY} check_expansion.rb #{env_var} someval}
|
141
|
+
}
|
142
|
+
end
|
143
|
+
|
144
|
+
def test_sh_with_multiple_arguments
|
145
|
+
check_no_expansion
|
146
|
+
ENV['RAKE_TEST_SH'] = 'someval'
|
147
|
+
|
148
|
+
verbose(false) {
|
149
|
+
sh RUBY, 'check_no_expansion.rb', env_var, 'someval'
|
150
|
+
}
|
151
|
+
end
|
152
|
+
|
153
|
+
def test_sh_failure
|
154
|
+
shellcommand
|
155
|
+
|
156
|
+
assert_raises(RuntimeError) {
|
157
|
+
verbose(false) { sh %{#{RUBY} shellcommand.rb 1} }
|
158
|
+
}
|
159
|
+
end
|
160
|
+
|
161
|
+
def test_sh_special_handling
|
162
|
+
shellcommand
|
163
|
+
|
164
|
+
count = 0
|
165
|
+
verbose(false) {
|
166
|
+
sh(%{#{RUBY} shellcommand.rb}) do |ok, res|
|
167
|
+
assert(ok)
|
168
|
+
assert_equal 0, res.exitstatus
|
169
|
+
count += 1
|
170
|
+
end
|
171
|
+
sh(%{#{RUBY} shellcommand.rb 1}) do |ok, res|
|
172
|
+
assert(!ok)
|
173
|
+
assert_equal 1, res.exitstatus
|
174
|
+
count += 1
|
175
|
+
end
|
176
|
+
}
|
177
|
+
assert_equal 2, count, "Block count should be 2"
|
178
|
+
end
|
179
|
+
|
180
|
+
def test_sh_noop
|
181
|
+
shellcommand
|
182
|
+
|
183
|
+
verbose(false) { sh %{shellcommand.rb 1}, :noop=>true }
|
184
|
+
assert true, "should not fail"
|
185
|
+
end
|
186
|
+
|
187
|
+
def test_sh_bad_option
|
188
|
+
shellcommand
|
189
|
+
|
190
|
+
ex = assert_raises(ArgumentError) {
|
191
|
+
verbose(false) { sh %{shellcommand.rb}, :bad_option=>true }
|
192
|
+
}
|
193
|
+
assert_match(/bad_option/, ex.message)
|
194
|
+
end
|
195
|
+
|
196
|
+
def test_sh_verbose
|
197
|
+
shellcommand
|
198
|
+
|
199
|
+
_, err = capture_io do
|
200
|
+
verbose(true) {
|
201
|
+
sh %{shellcommand.rb}, :noop=>true
|
202
|
+
}
|
203
|
+
end
|
204
|
+
|
205
|
+
assert_equal "shellcommand.rb\n", err
|
206
|
+
end
|
207
|
+
|
208
|
+
def test_sh_verbose_false
|
209
|
+
shellcommand
|
210
|
+
|
211
|
+
_, err = capture_io do
|
212
|
+
verbose(false) {
|
213
|
+
sh %{shellcommand.rb}, :noop=>true
|
214
|
+
}
|
215
|
+
end
|
216
|
+
|
217
|
+
assert_equal '', err
|
218
|
+
end
|
219
|
+
|
220
|
+
def test_sh_verbose_flag_nil
|
221
|
+
shellcommand
|
222
|
+
|
223
|
+
RakeFileUtils.verbose_flag = nil
|
224
|
+
|
225
|
+
assert_silent do
|
226
|
+
sh %{shellcommand.rb}, :noop=>true
|
227
|
+
end
|
228
|
+
end
|
229
|
+
|
230
|
+
def test_ruby_with_a_single_string_argument
|
231
|
+
check_expansion
|
232
|
+
|
233
|
+
ENV['RAKE_TEST_SH'] = 'someval'
|
234
|
+
|
235
|
+
verbose(false) {
|
236
|
+
replace_ruby {
|
237
|
+
ruby %{check_expansion.rb #{env_var} someval}
|
238
|
+
}
|
239
|
+
}
|
240
|
+
end
|
241
|
+
|
242
|
+
def test_ruby_with_multiple_arguments
|
243
|
+
check_no_expansion
|
244
|
+
|
245
|
+
ENV['RAKE_TEST_SH'] = 'someval'
|
246
|
+
verbose(false) {
|
247
|
+
replace_ruby {
|
248
|
+
ruby 'check_no_expansion.rb', env_var, 'someval'
|
249
|
+
}
|
250
|
+
}
|
251
|
+
end
|
252
|
+
|
253
|
+
def test_split_all
|
254
|
+
assert_equal ['a'], Rake::FileUtilsExt.split_all('a')
|
255
|
+
assert_equal ['..'], Rake::FileUtilsExt.split_all('..')
|
256
|
+
assert_equal ['/'], Rake::FileUtilsExt.split_all('/')
|
257
|
+
assert_equal ['a', 'b'], Rake::FileUtilsExt.split_all('a/b')
|
258
|
+
assert_equal ['/', 'a', 'b'], Rake::FileUtilsExt.split_all('/a/b')
|
259
|
+
assert_equal ['..', 'a', 'b'], Rake::FileUtilsExt.split_all('../a/b')
|
260
|
+
end
|
261
|
+
|
262
|
+
def command(name, text)
|
263
|
+
open name, 'w', 0750 do |io|
|
264
|
+
io << text
|
265
|
+
end
|
266
|
+
end
|
267
|
+
|
268
|
+
def check_no_expansion
|
269
|
+
command 'check_no_expansion.rb', <<-CHECK_EXPANSION
|
270
|
+
if ARGV[0] != ARGV[1]
|
271
|
+
exit 0
|
272
|
+
else
|
273
|
+
exit 1
|
274
|
+
end
|
275
|
+
CHECK_EXPANSION
|
276
|
+
end
|
277
|
+
|
278
|
+
def check_expansion
|
279
|
+
command 'check_expansion.rb', <<-CHECK_EXPANSION
|
280
|
+
if ARGV[0] != ARGV[1]
|
281
|
+
exit 1
|
282
|
+
else
|
283
|
+
exit 0
|
284
|
+
end
|
285
|
+
CHECK_EXPANSION
|
286
|
+
end
|
287
|
+
|
288
|
+
def replace_ruby
|
289
|
+
ruby = FileUtils::RUBY
|
290
|
+
FileUtils.send :remove_const, :RUBY
|
291
|
+
FileUtils.const_set :RUBY, RUBY
|
292
|
+
yield
|
293
|
+
ensure
|
294
|
+
FileUtils.send :remove_const, :RUBY
|
295
|
+
FileUtils.const_set:RUBY, ruby
|
296
|
+
end
|
297
|
+
|
298
|
+
def shellcommand
|
299
|
+
command 'shellcommand.rb', <<-SHELLCOMMAND
|
300
|
+
#!/usr/bin/env ruby
|
301
|
+
|
302
|
+
exit((ARGV[0] || "0").to_i)
|
303
|
+
SHELLCOMMAND
|
304
|
+
end
|
305
|
+
|
306
|
+
def env_var
|
307
|
+
windows? ? '%RAKE_TEST_SH%' : '$RAKE_TEST_SH'
|
308
|
+
end
|
309
|
+
|
310
|
+
def windows?
|
311
|
+
! File::ALT_SEPARATOR.nil?
|
312
|
+
end
|
313
|
+
|
314
|
+
end
|