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,48 @@
|
|
1
|
+
require 'rake/private_reader'
|
2
|
+
|
3
|
+
module Rake
|
4
|
+
|
5
|
+
class ThreadHistoryDisplay # :nodoc: all
|
6
|
+
include Rake::PrivateReader
|
7
|
+
|
8
|
+
private_reader :stats, :items, :threads
|
9
|
+
|
10
|
+
def initialize(stats)
|
11
|
+
@stats = stats
|
12
|
+
@items = { :_seq_ => 1 }
|
13
|
+
@threads = { :_seq_ => "A" }
|
14
|
+
end
|
15
|
+
|
16
|
+
def show
|
17
|
+
puts "Job History:"
|
18
|
+
stats.each do |stat|
|
19
|
+
stat[:data] ||= {}
|
20
|
+
rename(stat, :thread, threads)
|
21
|
+
rename(stat[:data], :item_id, items)
|
22
|
+
rename(stat[:data], :new_thread, threads)
|
23
|
+
rename(stat[:data], :deleted_thread, threads)
|
24
|
+
printf("%8d %2s %-20s %s\n",
|
25
|
+
(stat[:time] * 1_000_000).round,
|
26
|
+
stat[:thread],
|
27
|
+
stat[:event],
|
28
|
+
stat[:data].map do |k, v| "#{k}:#{v}" end.join(" "))
|
29
|
+
end
|
30
|
+
end
|
31
|
+
|
32
|
+
private
|
33
|
+
|
34
|
+
def rename(hash, key, renames)
|
35
|
+
if hash && hash[key]
|
36
|
+
original = hash[key]
|
37
|
+
value = renames[original]
|
38
|
+
unless value
|
39
|
+
value = renames[:_seq_]
|
40
|
+
renames[:_seq_] = renames[:_seq_].succ
|
41
|
+
renames[original] = value
|
42
|
+
end
|
43
|
+
hash[key] = value
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
47
|
+
|
48
|
+
end
|
@@ -0,0 +1,164 @@
|
|
1
|
+
require 'thread'
|
2
|
+
require 'set'
|
3
|
+
|
4
|
+
require 'rake/promise'
|
5
|
+
|
6
|
+
module Rake
|
7
|
+
|
8
|
+
class ThreadPool # :nodoc: all
|
9
|
+
|
10
|
+
# Creates a ThreadPool object. The +thread_count+ parameter is the size
|
11
|
+
# of the pool.
|
12
|
+
def initialize(thread_count)
|
13
|
+
@max_active_threads = [thread_count, 0].max
|
14
|
+
@threads = Set.new
|
15
|
+
@threads_mon = Monitor.new
|
16
|
+
@queue = Queue.new
|
17
|
+
@join_cond = @threads_mon.new_cond
|
18
|
+
|
19
|
+
@history_start_time = nil
|
20
|
+
@history = []
|
21
|
+
@history_mon = Monitor.new
|
22
|
+
@total_threads_in_play = 0
|
23
|
+
end
|
24
|
+
|
25
|
+
# Creates a future executed by the +ThreadPool+.
|
26
|
+
#
|
27
|
+
# The args are passed to the block when executing (similarly to
|
28
|
+
# Thread#new) The return value is an object representing
|
29
|
+
# a future which has been created and added to the queue in the
|
30
|
+
# pool. Sending #value to the object will sleep the
|
31
|
+
# current thread until the future is finished and will return the
|
32
|
+
# result (or raise an exception thrown from the future)
|
33
|
+
def future(*args, &block)
|
34
|
+
promise = Promise.new(args, &block)
|
35
|
+
promise.recorder = lambda { |*stats| stat(*stats) }
|
36
|
+
|
37
|
+
@queue.enq promise
|
38
|
+
stat :queued, :item_id => promise.object_id
|
39
|
+
start_thread
|
40
|
+
promise
|
41
|
+
end
|
42
|
+
|
43
|
+
# Waits until the queue of futures is empty and all threads have exited.
|
44
|
+
def join
|
45
|
+
@threads_mon.synchronize do
|
46
|
+
begin
|
47
|
+
stat :joining
|
48
|
+
@join_cond.wait unless @threads.empty?
|
49
|
+
stat :joined
|
50
|
+
rescue Exception => e
|
51
|
+
stat :joined
|
52
|
+
$stderr.puts e
|
53
|
+
$stderr.print "Queue contains #{@queue.size} items. " +
|
54
|
+
"Thread pool contains #{@threads.count} threads\n"
|
55
|
+
$stderr.print "Current Thread #{Thread.current} status = " +
|
56
|
+
"#{Thread.current.status}\n"
|
57
|
+
$stderr.puts e.backtrace.join("\n")
|
58
|
+
@threads.each do |t|
|
59
|
+
$stderr.print "Thread #{t} status = #{t.status}\n"
|
60
|
+
# 1.8 doesn't support Thread#backtrace
|
61
|
+
$stderr.puts t.backtrace.join("\n") if t.respond_to? :backtrace
|
62
|
+
end
|
63
|
+
raise e
|
64
|
+
end
|
65
|
+
end
|
66
|
+
end
|
67
|
+
|
68
|
+
# Enable the gathering of history events.
|
69
|
+
def gather_history #:nodoc:
|
70
|
+
@history_start_time = Time.now if @history_start_time.nil?
|
71
|
+
end
|
72
|
+
|
73
|
+
# Return a array of history events for the thread pool.
|
74
|
+
#
|
75
|
+
# History gathering must be enabled to be able to see the events
|
76
|
+
# (see #gather_history). Best to call this when the job is
|
77
|
+
# complete (i.e. after ThreadPool#join is called).
|
78
|
+
def history # :nodoc:
|
79
|
+
@history_mon.synchronize { @history.dup }.
|
80
|
+
sort_by { |i| i[:time] }.
|
81
|
+
each { |i| i[:time] -= @history_start_time }
|
82
|
+
end
|
83
|
+
|
84
|
+
# Return a hash of always collected statistics for the thread pool.
|
85
|
+
def statistics # :nodoc:
|
86
|
+
{
|
87
|
+
:total_threads_in_play => @total_threads_in_play,
|
88
|
+
:max_active_threads => @max_active_threads,
|
89
|
+
}
|
90
|
+
end
|
91
|
+
|
92
|
+
private
|
93
|
+
|
94
|
+
# processes one item on the queue. Returns true if there was an
|
95
|
+
# item to process, false if there was no item
|
96
|
+
def process_queue_item #:nodoc:
|
97
|
+
return false if @queue.empty?
|
98
|
+
|
99
|
+
# Even though we just asked if the queue was empty, it
|
100
|
+
# still could have had an item which by this statement
|
101
|
+
# is now gone. For this reason we pass true to Queue#deq
|
102
|
+
# because we will sleep indefinitely if it is empty.
|
103
|
+
promise = @queue.deq(true)
|
104
|
+
stat :dequeued, :item_id => promise.object_id
|
105
|
+
promise.work
|
106
|
+
return true
|
107
|
+
|
108
|
+
rescue ThreadError # this means the queue is empty
|
109
|
+
false
|
110
|
+
end
|
111
|
+
|
112
|
+
def safe_thread_count
|
113
|
+
@threads_mon.synchronize do
|
114
|
+
@threads.count
|
115
|
+
end
|
116
|
+
end
|
117
|
+
|
118
|
+
def start_thread # :nodoc:
|
119
|
+
@threads_mon.synchronize do
|
120
|
+
next unless @threads.count < @max_active_threads
|
121
|
+
|
122
|
+
t = Thread.new do
|
123
|
+
begin
|
124
|
+
while safe_thread_count <= @max_active_threads
|
125
|
+
break unless process_queue_item
|
126
|
+
end
|
127
|
+
ensure
|
128
|
+
@threads_mon.synchronize do
|
129
|
+
@threads.delete Thread.current
|
130
|
+
stat :ended, :thread_count => @threads.count
|
131
|
+
@join_cond.broadcast if @threads.empty?
|
132
|
+
end
|
133
|
+
end
|
134
|
+
end
|
135
|
+
|
136
|
+
@threads << t
|
137
|
+
stat(
|
138
|
+
:spawned,
|
139
|
+
:new_thread => t.object_id,
|
140
|
+
:thread_count => @threads.count)
|
141
|
+
@total_threads_in_play = @threads.count if
|
142
|
+
@threads.count > @total_threads_in_play
|
143
|
+
end
|
144
|
+
end
|
145
|
+
|
146
|
+
def stat(event, data=nil) # :nodoc:
|
147
|
+
return if @history_start_time.nil?
|
148
|
+
info = {
|
149
|
+
:event => event,
|
150
|
+
:data => data,
|
151
|
+
:time => Time.now,
|
152
|
+
:thread => Thread.current.object_id,
|
153
|
+
}
|
154
|
+
@history_mon.synchronize { @history << info }
|
155
|
+
end
|
156
|
+
|
157
|
+
# for testing only
|
158
|
+
|
159
|
+
def __queue__ # :nodoc:
|
160
|
+
@queue
|
161
|
+
end
|
162
|
+
end
|
163
|
+
|
164
|
+
end
|
@@ -0,0 +1,22 @@
|
|
1
|
+
module Rake
|
2
|
+
module TraceOutput # :nodoc: all
|
3
|
+
|
4
|
+
# Write trace output to output stream +out+.
|
5
|
+
#
|
6
|
+
# The write is done as a single IO call (to print) to lessen the
|
7
|
+
# chance that the trace output is interrupted by other tasks also
|
8
|
+
# producing output.
|
9
|
+
def trace_on(out, *strings)
|
10
|
+
sep = $\ || "\n"
|
11
|
+
if strings.empty?
|
12
|
+
output = sep
|
13
|
+
else
|
14
|
+
output = strings.map { |s|
|
15
|
+
next if s.nil?
|
16
|
+
s =~ /#{sep}$/ ? s : s + sep
|
17
|
+
}.join
|
18
|
+
end
|
19
|
+
out.print(output)
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
@@ -0,0 +1,56 @@
|
|
1
|
+
|
2
|
+
module Rake
|
3
|
+
require 'rake/alt_system'
|
4
|
+
|
5
|
+
# Win 32 interface methods for Rake. Windows specific functionality
|
6
|
+
# will be placed here to collect that knowledge in one spot.
|
7
|
+
module Win32 # :nodoc: all
|
8
|
+
|
9
|
+
# Error indicating a problem in locating the home directory on a
|
10
|
+
# Win32 system.
|
11
|
+
class Win32HomeError < RuntimeError
|
12
|
+
end
|
13
|
+
|
14
|
+
class << self
|
15
|
+
# True if running on a windows system.
|
16
|
+
def windows?
|
17
|
+
AltSystem::WINDOWS
|
18
|
+
end
|
19
|
+
|
20
|
+
# Run a command line on windows.
|
21
|
+
def rake_system(*cmd)
|
22
|
+
AltSystem.system(*cmd)
|
23
|
+
end
|
24
|
+
|
25
|
+
# The standard directory containing system wide rake files on
|
26
|
+
# Win 32 systems. Try the following environment variables (in
|
27
|
+
# order):
|
28
|
+
#
|
29
|
+
# * HOME
|
30
|
+
# * HOMEDRIVE + HOMEPATH
|
31
|
+
# * APPDATA
|
32
|
+
# * USERPROFILE
|
33
|
+
#
|
34
|
+
# If the above are not defined, the return nil.
|
35
|
+
def win32_system_dir #:nodoc:
|
36
|
+
win32_shared_path = ENV['HOME']
|
37
|
+
if win32_shared_path.nil? && ENV['HOMEDRIVE'] && ENV['HOMEPATH']
|
38
|
+
win32_shared_path = ENV['HOMEDRIVE'] + ENV['HOMEPATH']
|
39
|
+
end
|
40
|
+
|
41
|
+
win32_shared_path ||= ENV['APPDATA']
|
42
|
+
win32_shared_path ||= ENV['USERPROFILE']
|
43
|
+
raise Win32HomeError,
|
44
|
+
"Unable to determine home path environment variable." if
|
45
|
+
win32_shared_path.nil? or win32_shared_path.empty?
|
46
|
+
normalize(File.join(win32_shared_path, 'Rake'))
|
47
|
+
end
|
48
|
+
|
49
|
+
# Normalize a win32 path so that the slashes are all forward slashes.
|
50
|
+
def normalize(path)
|
51
|
+
path.gsub(/\\/, '/')
|
52
|
+
end
|
53
|
+
|
54
|
+
end
|
55
|
+
end
|
56
|
+
end
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# Optional publish task for Rake
|
2
|
+
|
3
|
+
begin
|
4
|
+
require 'rake/contrib/sshpublisher'
|
5
|
+
require 'rake/contrib/rubyforgepublisher'
|
6
|
+
|
7
|
+
publisher = Rake::SshDirPublisher.new(
|
8
|
+
'linode',
|
9
|
+
'htdocs/software/rake',
|
10
|
+
'html')
|
11
|
+
|
12
|
+
desc "Publish the Documentation to RubyForge."
|
13
|
+
task :publish => [:rdoc] do
|
14
|
+
publisher.upload
|
15
|
+
end
|
16
|
+
|
17
|
+
rescue LoadError => ex
|
18
|
+
puts "#{ex.message} (#{ex.class})"
|
19
|
+
puts "No Publisher Task Available"
|
20
|
+
end
|
@@ -0,0 +1,25 @@
|
|
1
|
+
module TestTimes
|
2
|
+
def self.run(test_results, limit=0)
|
3
|
+
limit = limit.nonzero? || 10
|
4
|
+
tests = []
|
5
|
+
test_results.split(/\n/).each do |line|
|
6
|
+
if line =~ /^(.+?#[^:]+): ([0-9.]+) s: \.$/
|
7
|
+
tests << [$1, $2.to_f, line]
|
8
|
+
end
|
9
|
+
end
|
10
|
+
|
11
|
+
puts "#{limit} Slowest tests"
|
12
|
+
puts tests.sort_by { |item|
|
13
|
+
item[1]
|
14
|
+
}.reverse[0...limit].map { |item|
|
15
|
+
"%6.3f: %-s\n" % [item[1], item[0]]
|
16
|
+
}
|
17
|
+
end
|
18
|
+
end
|
19
|
+
|
20
|
+
namespace :test do
|
21
|
+
desc "Find the slowest unit tests"
|
22
|
+
task :times, [:limit] do |t, args|
|
23
|
+
TestTimes.run `rake test:units TESTOPTS='--verbose'`, args.limit.to_i
|
24
|
+
end
|
25
|
+
end
|
@@ -0,0 +1,34 @@
|
|
1
|
+
module FileCreation
|
2
|
+
OLDFILE = "old"
|
3
|
+
NEWFILE = "new"
|
4
|
+
|
5
|
+
def create_timed_files(oldfile, *newfiles)
|
6
|
+
return if (File.exist?(oldfile) &&
|
7
|
+
newfiles.all? { |newfile|
|
8
|
+
File.exist?(newfile) && File.stat(newfile).mtime > File.stat(oldfile).mtime
|
9
|
+
})
|
10
|
+
now = Time.now
|
11
|
+
|
12
|
+
create_file(oldfile, now - 60)
|
13
|
+
|
14
|
+
newfiles.each do |newfile|
|
15
|
+
create_file(newfile, now)
|
16
|
+
end
|
17
|
+
end
|
18
|
+
|
19
|
+
def create_dir(dirname)
|
20
|
+
FileUtils.mkdir_p(dirname) unless File.exist?(dirname)
|
21
|
+
File.stat(dirname).mtime
|
22
|
+
end
|
23
|
+
|
24
|
+
def create_file(name, file_time=nil)
|
25
|
+
create_dir(File.dirname(name))
|
26
|
+
FileUtils.touch(name) unless File.exist?(name)
|
27
|
+
File.utime(file_time, file_time, name) unless file_time.nil?
|
28
|
+
File.stat(name).mtime
|
29
|
+
end
|
30
|
+
|
31
|
+
def delete_file(name)
|
32
|
+
File.delete(name) rescue nil
|
33
|
+
end
|
34
|
+
end
|
@@ -0,0 +1,129 @@
|
|
1
|
+
require 'rubygems'
|
2
|
+
$:.unshift File.expand_path('../../lib', __FILE__)
|
3
|
+
|
4
|
+
begin
|
5
|
+
gem 'minitest', '~> 5'
|
6
|
+
rescue Gem::LoadError
|
7
|
+
end
|
8
|
+
|
9
|
+
require 'minitest/autorun'
|
10
|
+
require 'rake'
|
11
|
+
require 'tmpdir'
|
12
|
+
require File.expand_path('../file_creation', __FILE__)
|
13
|
+
|
14
|
+
|
15
|
+
begin
|
16
|
+
require_relative 'support/ruby_runner'
|
17
|
+
require_relative 'support/rakefile_definitions'
|
18
|
+
rescue NoMethodError, LoadError
|
19
|
+
# ruby 1.8
|
20
|
+
require 'test/support/ruby_runner'
|
21
|
+
require 'test/support/rakefile_definitions'
|
22
|
+
end
|
23
|
+
|
24
|
+
class Rake::TestCase < Minitest::Test
|
25
|
+
include FileCreation
|
26
|
+
|
27
|
+
include Rake::DSL
|
28
|
+
|
29
|
+
class TaskManager
|
30
|
+
include Rake::TaskManager
|
31
|
+
end
|
32
|
+
|
33
|
+
RUBY = defined?(EnvUtil) ? EnvUtil.rubybin : Gem.ruby
|
34
|
+
|
35
|
+
def setup
|
36
|
+
ARGV.clear
|
37
|
+
|
38
|
+
test_dir = File.basename File.dirname File.expand_path __FILE__
|
39
|
+
|
40
|
+
@rake_root =
|
41
|
+
if test_dir == 'test'
|
42
|
+
# rake repository
|
43
|
+
File.expand_path '../../', __FILE__
|
44
|
+
else
|
45
|
+
# ruby repository
|
46
|
+
File.expand_path '../../../', __FILE__
|
47
|
+
end
|
48
|
+
|
49
|
+
@verbose = ENV['VERBOSE']
|
50
|
+
|
51
|
+
@rake_exec = File.join @rake_root, 'bin', 'rake'
|
52
|
+
@rake_lib = File.join @rake_root, 'lib'
|
53
|
+
@ruby_options = ["-I#{@rake_lib}", "-I."]
|
54
|
+
|
55
|
+
@orig_pwd = Dir.pwd
|
56
|
+
@orig_appdata = ENV['APPDATA']
|
57
|
+
@orig_home = ENV['HOME']
|
58
|
+
@orig_homedrive = ENV['HOMEDRIVE']
|
59
|
+
@orig_homepath = ENV['HOMEPATH']
|
60
|
+
@orig_rake_columns = ENV['RAKE_COLUMNS']
|
61
|
+
@orig_rake_system = ENV['RAKE_SYSTEM']
|
62
|
+
@orig_rakeopt = ENV['RAKEOPT']
|
63
|
+
@orig_userprofile = ENV['USERPROFILE']
|
64
|
+
ENV.delete 'RAKE_COLUMNS'
|
65
|
+
ENV.delete 'RAKE_SYSTEM'
|
66
|
+
ENV.delete 'RAKEOPT'
|
67
|
+
|
68
|
+
tmpdir = Dir.chdir Dir.tmpdir do Dir.pwd end
|
69
|
+
@tempdir = File.join tmpdir, "test_rake_#{$$}"
|
70
|
+
|
71
|
+
FileUtils.mkdir_p @tempdir
|
72
|
+
|
73
|
+
Dir.chdir @tempdir
|
74
|
+
|
75
|
+
Rake.application = Rake::Application.new
|
76
|
+
Rake::TaskManager.record_task_metadata = true
|
77
|
+
RakeFileUtils.verbose_flag = false
|
78
|
+
end
|
79
|
+
|
80
|
+
def teardown
|
81
|
+
Dir.chdir @orig_pwd
|
82
|
+
FileUtils.rm_rf @tempdir
|
83
|
+
|
84
|
+
if @orig_appdata
|
85
|
+
ENV['APPDATA'] = @orig_appdata
|
86
|
+
else
|
87
|
+
ENV.delete 'APPDATA'
|
88
|
+
end
|
89
|
+
|
90
|
+
ENV['HOME'] = @orig_home
|
91
|
+
ENV['HOMEDRIVE'] = @orig_homedrive
|
92
|
+
ENV['HOMEPATH'] = @orig_homepath
|
93
|
+
ENV['RAKE_COLUMNS'] = @orig_rake_columns
|
94
|
+
ENV['RAKE_SYSTEM'] = @orig_rake_system
|
95
|
+
ENV['RAKEOPT'] = @orig_rakeopt
|
96
|
+
ENV['USERPROFILE'] = @orig_userprofile
|
97
|
+
end
|
98
|
+
|
99
|
+
def ignore_deprecations
|
100
|
+
Rake.application.options.ignore_deprecate = true
|
101
|
+
yield
|
102
|
+
ensure
|
103
|
+
Rake.application.options.ignore_deprecate = false
|
104
|
+
end
|
105
|
+
|
106
|
+
def rake_system_dir
|
107
|
+
@system_dir = 'system'
|
108
|
+
|
109
|
+
FileUtils.mkdir_p @system_dir
|
110
|
+
|
111
|
+
open File.join(@system_dir, 'sys1.rake'), 'w' do |io|
|
112
|
+
io << <<-SYS
|
113
|
+
task "sys1" do
|
114
|
+
puts "SYS1"
|
115
|
+
end
|
116
|
+
SYS
|
117
|
+
end
|
118
|
+
|
119
|
+
ENV['RAKE_SYSTEM'] = @system_dir
|
120
|
+
end
|
121
|
+
|
122
|
+
def rakefile(contents)
|
123
|
+
open 'Rakefile', 'w' do |io|
|
124
|
+
io << contents
|
125
|
+
end
|
126
|
+
end
|
127
|
+
|
128
|
+
include RakefileDefinitions
|
129
|
+
end
|