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,21 @@
|
|
1
|
+
Copyright (c) Jim Weirich
|
2
|
+
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
4
|
+
a copy of this software and associated documentation files (the
|
5
|
+
"Software"), to deal in the Software without restriction, including
|
6
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
7
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
8
|
+
permit persons to whom the Software is furnished to do so, subject to
|
9
|
+
the following conditions:
|
10
|
+
|
11
|
+
The above copyright notice and this permission notice shall be
|
12
|
+
included in all copies or substantial portions of the Software.
|
13
|
+
|
14
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
15
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
17
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
21
|
+
|
@@ -0,0 +1,166 @@
|
|
1
|
+
.autotest
|
2
|
+
.rubocop.yml
|
3
|
+
.togglerc
|
4
|
+
CONTRIBUTING.rdoc
|
5
|
+
History.rdoc
|
6
|
+
MIT-LICENSE
|
7
|
+
Manifest.txt
|
8
|
+
README.rdoc
|
9
|
+
Rakefile
|
10
|
+
bin/rake
|
11
|
+
doc/command_line_usage.rdoc
|
12
|
+
doc/example/Rakefile1
|
13
|
+
doc/example/Rakefile2
|
14
|
+
doc/example/a.c
|
15
|
+
doc/example/b.c
|
16
|
+
doc/example/main.c
|
17
|
+
doc/glossary.rdoc
|
18
|
+
doc/jamis.rb
|
19
|
+
doc/proto_rake.rdoc
|
20
|
+
doc/rake.1
|
21
|
+
doc/rakefile.rdoc
|
22
|
+
doc/rational.rdoc
|
23
|
+
doc/release_notes/rake-0.4.14.rdoc
|
24
|
+
doc/release_notes/rake-0.4.15.rdoc
|
25
|
+
doc/release_notes/rake-0.5.0.rdoc
|
26
|
+
doc/release_notes/rake-0.5.3.rdoc
|
27
|
+
doc/release_notes/rake-0.5.4.rdoc
|
28
|
+
doc/release_notes/rake-0.6.0.rdoc
|
29
|
+
doc/release_notes/rake-0.7.0.rdoc
|
30
|
+
doc/release_notes/rake-0.7.1.rdoc
|
31
|
+
doc/release_notes/rake-0.7.2.rdoc
|
32
|
+
doc/release_notes/rake-0.7.3.rdoc
|
33
|
+
doc/release_notes/rake-0.8.0.rdoc
|
34
|
+
doc/release_notes/rake-0.8.2.rdoc
|
35
|
+
doc/release_notes/rake-0.8.3.rdoc
|
36
|
+
doc/release_notes/rake-0.8.4.rdoc
|
37
|
+
doc/release_notes/rake-0.8.5.rdoc
|
38
|
+
doc/release_notes/rake-0.8.6.rdoc
|
39
|
+
doc/release_notes/rake-0.8.7.rdoc
|
40
|
+
doc/release_notes/rake-0.9.0.rdoc
|
41
|
+
doc/release_notes/rake-0.9.1.rdoc
|
42
|
+
doc/release_notes/rake-0.9.2.2.rdoc
|
43
|
+
doc/release_notes/rake-0.9.2.rdoc
|
44
|
+
doc/release_notes/rake-0.9.3.rdoc
|
45
|
+
doc/release_notes/rake-0.9.4.rdoc
|
46
|
+
doc/release_notes/rake-0.9.5.rdoc
|
47
|
+
doc/release_notes/rake-0.9.6.rdoc
|
48
|
+
doc/release_notes/rake-10.0.0.rdoc
|
49
|
+
doc/release_notes/rake-10.0.1.rdoc
|
50
|
+
doc/release_notes/rake-10.0.2.rdoc
|
51
|
+
doc/release_notes/rake-10.0.3.rdoc
|
52
|
+
doc/release_notes/rake-10.1.0.rdoc
|
53
|
+
lib/rake.rb
|
54
|
+
lib/rake/alt_system.rb
|
55
|
+
lib/rake/application.rb
|
56
|
+
lib/rake/backtrace.rb
|
57
|
+
lib/rake/clean.rb
|
58
|
+
lib/rake/cloneable.rb
|
59
|
+
lib/rake/contrib/.document
|
60
|
+
lib/rake/contrib/compositepublisher.rb
|
61
|
+
lib/rake/contrib/ftptools.rb
|
62
|
+
lib/rake/contrib/publisher.rb
|
63
|
+
lib/rake/contrib/rubyforgepublisher.rb
|
64
|
+
lib/rake/contrib/sshpublisher.rb
|
65
|
+
lib/rake/contrib/sys.rb
|
66
|
+
lib/rake/cpu_counter.rb
|
67
|
+
lib/rake/default_loader.rb
|
68
|
+
lib/rake/dsl_definition.rb
|
69
|
+
lib/rake/early_time.rb
|
70
|
+
lib/rake/ext/core.rb
|
71
|
+
lib/rake/ext/module.rb
|
72
|
+
lib/rake/ext/pathname.rb
|
73
|
+
lib/rake/ext/string.rb
|
74
|
+
lib/rake/ext/time.rb
|
75
|
+
lib/rake/file_creation_task.rb
|
76
|
+
lib/rake/file_list.rb
|
77
|
+
lib/rake/file_task.rb
|
78
|
+
lib/rake/file_utils.rb
|
79
|
+
lib/rake/file_utils_ext.rb
|
80
|
+
lib/rake/gempackagetask.rb
|
81
|
+
lib/rake/invocation_chain.rb
|
82
|
+
lib/rake/invocation_exception_mixin.rb
|
83
|
+
lib/rake/late_time.rb
|
84
|
+
lib/rake/linked_list.rb
|
85
|
+
lib/rake/loaders/makefile.rb
|
86
|
+
lib/rake/multi_task.rb
|
87
|
+
lib/rake/name_space.rb
|
88
|
+
lib/rake/packagetask.rb
|
89
|
+
lib/rake/pathmap.rb
|
90
|
+
lib/rake/phony.rb
|
91
|
+
lib/rake/private_reader.rb
|
92
|
+
lib/rake/promise.rb
|
93
|
+
lib/rake/pseudo_status.rb
|
94
|
+
lib/rake/rake_module.rb
|
95
|
+
lib/rake/rake_test_loader.rb
|
96
|
+
lib/rake/rdoctask.rb
|
97
|
+
lib/rake/ruby182_test_unit_fix.rb
|
98
|
+
lib/rake/rule_recursion_overflow_error.rb
|
99
|
+
lib/rake/runtest.rb
|
100
|
+
lib/rake/scope.rb
|
101
|
+
lib/rake/task.rb
|
102
|
+
lib/rake/task_argument_error.rb
|
103
|
+
lib/rake/task_arguments.rb
|
104
|
+
lib/rake/task_manager.rb
|
105
|
+
lib/rake/tasklib.rb
|
106
|
+
lib/rake/testtask.rb
|
107
|
+
lib/rake/thread_history_display.rb
|
108
|
+
lib/rake/thread_pool.rb
|
109
|
+
lib/rake/trace_output.rb
|
110
|
+
lib/rake/version.rb
|
111
|
+
lib/rake/win32.rb
|
112
|
+
rakelib/publish.rake
|
113
|
+
rakelib/test_times.rake
|
114
|
+
test/file_creation.rb
|
115
|
+
test/helper.rb
|
116
|
+
test/support/rakefile_definitions.rb
|
117
|
+
test/support/ruby_runner.rb
|
118
|
+
test/test_private_reader.rb
|
119
|
+
test/test_rake.rb
|
120
|
+
test/test_rake_application.rb
|
121
|
+
test/test_rake_application_options.rb
|
122
|
+
test/test_rake_backtrace.rb
|
123
|
+
test/test_rake_clean.rb
|
124
|
+
test/test_rake_cpu_counter.rb
|
125
|
+
test/test_rake_definitions.rb
|
126
|
+
test/test_rake_directory_task.rb
|
127
|
+
test/test_rake_dsl.rb
|
128
|
+
test/test_rake_early_time.rb
|
129
|
+
test/test_rake_extension.rb
|
130
|
+
test/test_rake_file_creation_task.rb
|
131
|
+
test/test_rake_file_list.rb
|
132
|
+
test/test_rake_file_list_path_map.rb
|
133
|
+
test/test_rake_file_task.rb
|
134
|
+
test/test_rake_file_utils.rb
|
135
|
+
test/test_rake_ftp_file.rb
|
136
|
+
test/test_rake_functional.rb
|
137
|
+
test/test_rake_invocation_chain.rb
|
138
|
+
test/test_rake_late_time.rb
|
139
|
+
test/test_rake_linked_list.rb
|
140
|
+
test/test_rake_makefile_loader.rb
|
141
|
+
test/test_rake_multi_task.rb
|
142
|
+
test/test_rake_name_space.rb
|
143
|
+
test/test_rake_package_task.rb
|
144
|
+
test/test_rake_path_map.rb
|
145
|
+
test/test_rake_path_map_explode.rb
|
146
|
+
test/test_rake_path_map_partial.rb
|
147
|
+
test/test_rake_pathname_extensions.rb
|
148
|
+
test/test_rake_pseudo_status.rb
|
149
|
+
test/test_rake_rake_test_loader.rb
|
150
|
+
test/test_rake_reduce_compat.rb
|
151
|
+
test/test_rake_require.rb
|
152
|
+
test/test_rake_rules.rb
|
153
|
+
test/test_rake_scope.rb
|
154
|
+
test/test_rake_task.rb
|
155
|
+
test/test_rake_task_argument_parsing.rb
|
156
|
+
test/test_rake_task_arguments.rb
|
157
|
+
test/test_rake_task_lib.rb
|
158
|
+
test/test_rake_task_manager.rb
|
159
|
+
test/test_rake_task_manager_argument_resolution.rb
|
160
|
+
test/test_rake_task_with_arguments.rb
|
161
|
+
test/test_rake_test_task.rb
|
162
|
+
test/test_rake_thread_pool.rb
|
163
|
+
test/test_rake_top_level_functions.rb
|
164
|
+
test/test_rake_win32.rb
|
165
|
+
test/test_thread_history_display.rb
|
166
|
+
test/test_trace_output.rb
|
@@ -0,0 +1,139 @@
|
|
1
|
+
= RAKE -- Ruby Make
|
2
|
+
|
3
|
+
home :: https://github.com/ruby/rake
|
4
|
+
bugs :: https://github.com/ruby/rake/issues
|
5
|
+
docs :: http://docs.seattlerb.org/rake/
|
6
|
+
build :: {<img src="https://travis-ci.org/ruby/rake.svg?branch=master" alt="travis-ci">}[https://travis-ci.org/ruby/rake]
|
7
|
+
|
8
|
+
== Description
|
9
|
+
|
10
|
+
Rake is a Make-like program implemented in Ruby. Tasks and dependencies are
|
11
|
+
specified in standard Ruby syntax.
|
12
|
+
|
13
|
+
Rake has the following features:
|
14
|
+
|
15
|
+
* Rakefiles (rake's version of Makefiles) are completely defined in
|
16
|
+
standard Ruby syntax. No XML files to edit. No quirky Makefile
|
17
|
+
syntax to worry about (is that a tab or a space?)
|
18
|
+
|
19
|
+
* Users can specify tasks with prerequisites.
|
20
|
+
|
21
|
+
* Rake supports rule patterns to synthesize implicit tasks.
|
22
|
+
|
23
|
+
* Flexible FileLists that act like arrays but know about manipulating
|
24
|
+
file names and paths.
|
25
|
+
|
26
|
+
* A library of prepackaged tasks to make building rakefiles easier. For example,
|
27
|
+
tasks for building tarballs and publishing to FTP or SSH sites. (Formerly
|
28
|
+
tasks for building RDoc and Gems were included in rake but they're now
|
29
|
+
available in RDoc and RubyGems respectively.)
|
30
|
+
|
31
|
+
* Supports parallel execution of tasks.
|
32
|
+
|
33
|
+
== Installation
|
34
|
+
|
35
|
+
=== Gem Installation
|
36
|
+
|
37
|
+
Download and install rake with the following.
|
38
|
+
|
39
|
+
gem install rake
|
40
|
+
|
41
|
+
== Usage
|
42
|
+
|
43
|
+
=== Simple Example
|
44
|
+
|
45
|
+
First, you must write a "Rakefile" file which contains the build rules. Here's
|
46
|
+
a simple example:
|
47
|
+
|
48
|
+
task default: %w[test]
|
49
|
+
|
50
|
+
task :test do
|
51
|
+
ruby "test/unittest.rb"
|
52
|
+
end
|
53
|
+
|
54
|
+
This Rakefile has two tasks:
|
55
|
+
|
56
|
+
* A task named "test", which -- upon invocation -- will run a unit test file
|
57
|
+
in Ruby.
|
58
|
+
* A task named "default". This task does nothing by itself, but it has exactly
|
59
|
+
one dependency, namely the "test" task. Invoking the "default" task will
|
60
|
+
cause Rake to invoke the "test" task as well.
|
61
|
+
|
62
|
+
Running the "rake" command without any options will cause it to run the
|
63
|
+
"default" task in the Rakefile:
|
64
|
+
|
65
|
+
% ls
|
66
|
+
Rakefile test/
|
67
|
+
% rake
|
68
|
+
(in /home/some_user/Projects/rake)
|
69
|
+
ruby test/unittest.rb
|
70
|
+
....unit test output here...
|
71
|
+
|
72
|
+
Type "rake --help" for all available options.
|
73
|
+
|
74
|
+
== Resources
|
75
|
+
|
76
|
+
=== Rake Information
|
77
|
+
|
78
|
+
* {Rake command-line}[rdoc-ref:doc/command_line_usage.rdoc]
|
79
|
+
* {Writing Rakefiles}[rdoc-ref:doc/rakefile.rdoc]
|
80
|
+
* The original {Rake announcement}[rdoc-ref:doc/rational.rdoc]
|
81
|
+
* Rake {glossary}[rdoc-ref:doc/glossary.rdoc]
|
82
|
+
|
83
|
+
=== Presentations and Articles about Rake
|
84
|
+
|
85
|
+
* Avdi Grimm's rake series:
|
86
|
+
1. {Rake Basics}[http://devblog.avdi.org/2014/04/21/rake-part-1-basics/]
|
87
|
+
2. {Rake File Lists}[http://devblog.avdi.org/2014/04/22/rake-part-2-file-lists/]
|
88
|
+
3. {Rake Rules}[http://devblog.avdi.org/2014/04/23/rake-part-3-rules/]
|
89
|
+
4. {Rake Pathmap}[http://devblog.avdi.org/2014/04/24/rake-part-4-pathmap/]
|
90
|
+
5. {File Operations}[http://devblog.avdi.org/2014/04/25/rake-part-5-file-operations/]
|
91
|
+
6. {Clean and Clobber}[http://devblog.avdi.org/2014/04/28/rake-part-6-clean-and-clobber/]
|
92
|
+
7. {MultiTask}[http://devblog.avdi.org/2014/04/29/rake-part-7-multitask/]
|
93
|
+
* {Jim Weirich's 2003 RubyConf presentation}[http://web.archive.org/web/20140221123354/http://onestepback.org/articles/buildingwithrake/]
|
94
|
+
* Martin Fowler's article on Rake: http://martinfowler.com/articles/rake.html
|
95
|
+
|
96
|
+
== Other Make Re-envisionings ...
|
97
|
+
|
98
|
+
Rake is a late entry in the make replacement field. Here are links to
|
99
|
+
other projects with similar (and not so similar) goals.
|
100
|
+
|
101
|
+
* http://directory.fsf.org/wiki/Bras -- Bras, one of earliest
|
102
|
+
implementations of "make in a scripting language".
|
103
|
+
* http://www.a-a-p.org -- Make in Python
|
104
|
+
* http://www.aromatic.com/tools/jam.txt -- JAM, Java Automated Make
|
105
|
+
* http://ant.apache.org -- The Ant project
|
106
|
+
* http://search.cpan.org/search?query=PerlBuildSystem -- The Perl Build System
|
107
|
+
* http://www.rubydoc.info/gems/rant/0.5.7/frames -- Rant, another Ruby make tool.
|
108
|
+
|
109
|
+
== Credits
|
110
|
+
|
111
|
+
[<b>Ryan Dlugosz</b>] For the initial conversation that sparked Rake.
|
112
|
+
|
113
|
+
[<b>Nobuyoshi Nakada <nobu@ruby-lang.org></b>] For the initial patch for rule support.
|
114
|
+
|
115
|
+
[<b>Tilman Sauerbeck <tilman@code-monkey.de></b>] For the recursive rule patch.
|
116
|
+
|
117
|
+
[<b>Eric Hodel</b>] For aid in maintaining rake.
|
118
|
+
|
119
|
+
== License
|
120
|
+
|
121
|
+
Rake is available under an MIT-style license.
|
122
|
+
|
123
|
+
:include: MIT-LICENSE
|
124
|
+
|
125
|
+
---
|
126
|
+
|
127
|
+
= Other stuff
|
128
|
+
|
129
|
+
Author:: Jim Weirich <jim.weirich@gmail.com>
|
130
|
+
Requires:: Ruby 1.8.7 or later
|
131
|
+
License:: Copyright Jim Weirich.
|
132
|
+
Released under an MIT-style license. See the MIT-LICENSE
|
133
|
+
file included in the distribution.
|
134
|
+
|
135
|
+
== Warranty
|
136
|
+
|
137
|
+
This software is provided "as is" and without any express or implied
|
138
|
+
warranties, including, without limitation, the implied warranties of
|
139
|
+
merchantability and fitness for a particular purpose.
|
@@ -0,0 +1,81 @@
|
|
1
|
+
# Rakefile for rake -*- ruby -*-
|
2
|
+
|
3
|
+
# Copyright 2003, 2004, 2005 by Jim Weirich (jim@weirichhouse.org)
|
4
|
+
# All rights reserved.
|
5
|
+
|
6
|
+
# This file may be distributed under an MIT style license. See
|
7
|
+
# MIT-LICENSE for details.
|
8
|
+
|
9
|
+
require 'rbconfig'
|
10
|
+
|
11
|
+
system_rake = File.join RbConfig::CONFIG['rubylibdir'], 'rake.rb'
|
12
|
+
|
13
|
+
# Use our rake, not the installed rake from system
|
14
|
+
if $".include? system_rake or $".grep(/rake\/name_space\.rb$/).empty? then
|
15
|
+
exec Gem.ruby, '-Ilib', 'bin/rake', *ARGV
|
16
|
+
end
|
17
|
+
|
18
|
+
require 'hoe'
|
19
|
+
|
20
|
+
Hoe.plugin :git
|
21
|
+
Hoe.plugin :minitest
|
22
|
+
Hoe.plugin :travis
|
23
|
+
|
24
|
+
hoe = Hoe.spec 'rake' do
|
25
|
+
developer 'Eric Hodel', 'drbrain@segment7.net'
|
26
|
+
developer 'Jim Weirich', ''
|
27
|
+
|
28
|
+
require_ruby_version '>= 1.8.7'
|
29
|
+
require_rubygems_version '>= 1.3.2'
|
30
|
+
|
31
|
+
dependency 'minitest', '~> 5.0', :developer
|
32
|
+
|
33
|
+
license "MIT"
|
34
|
+
|
35
|
+
self.readme_file = 'README.rdoc'
|
36
|
+
self.history_file = 'History.rdoc'
|
37
|
+
|
38
|
+
self.extra_rdoc_files.concat FileList[
|
39
|
+
'MIT-LICENSE',
|
40
|
+
'doc/**/*.rdoc',
|
41
|
+
'*.rdoc',
|
42
|
+
]
|
43
|
+
|
44
|
+
self.local_rdoc_dir = 'html'
|
45
|
+
self.rsync_args = '-avz --delete'
|
46
|
+
rdoc_locations << 'docs.seattlerb.org:/data/www/docs.seattlerb.org/rake/'
|
47
|
+
|
48
|
+
self.clean_globs += [
|
49
|
+
'**/*.o',
|
50
|
+
'**/*.rbc',
|
51
|
+
'*.dot',
|
52
|
+
'TAGS',
|
53
|
+
'doc/example/main',
|
54
|
+
]
|
55
|
+
end
|
56
|
+
|
57
|
+
hoe.test_prelude = 'gem "minitest", "~> 5.0"'
|
58
|
+
|
59
|
+
# Use custom rdoc task due to existence of doc directory
|
60
|
+
|
61
|
+
Rake::Task['docs'].clear
|
62
|
+
Rake::Task['clobber_docs'].clear
|
63
|
+
|
64
|
+
begin
|
65
|
+
require 'rdoc/task'
|
66
|
+
|
67
|
+
RDoc::Task.new :rdoc => 'docs', :clobber_rdoc => 'clobber_docs' do |doc|
|
68
|
+
doc.main = hoe.readme_file
|
69
|
+
doc.title = 'Rake -- Ruby Make'
|
70
|
+
|
71
|
+
rdoc_files = Rake::FileList.new %w[lib History.rdoc MIT-LICENSE doc]
|
72
|
+
rdoc_files.add hoe.extra_rdoc_files
|
73
|
+
|
74
|
+
doc.rdoc_files = rdoc_files
|
75
|
+
|
76
|
+
doc.rdoc_dir = 'html'
|
77
|
+
end
|
78
|
+
rescue LoadError
|
79
|
+
warn 'run `rake newb` to install rdoc'
|
80
|
+
end
|
81
|
+
|
@@ -0,0 +1,33 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
#--
|
4
|
+
# Copyright (c) 2003, 2004, 2005, 2006, 2007 Jim Weirich
|
5
|
+
#
|
6
|
+
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
7
|
+
# of this software and associated documentation files (the "Software"), to
|
8
|
+
# deal in the Software without restriction, including without limitation the
|
9
|
+
# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
10
|
+
# sell copies of the Software, and to permit persons to whom the Software is
|
11
|
+
# furnished to do so, subject to the following conditions:
|
12
|
+
#
|
13
|
+
# The above copyright notice and this permission notice shall be included in
|
14
|
+
# all copies or substantial portions of the Software.
|
15
|
+
#
|
16
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
17
|
+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
18
|
+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
19
|
+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
20
|
+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
21
|
+
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
22
|
+
# IN THE SOFTWARE.
|
23
|
+
#++
|
24
|
+
|
25
|
+
begin
|
26
|
+
require 'rubygems'
|
27
|
+
gem 'rake'
|
28
|
+
rescue LoadError
|
29
|
+
end
|
30
|
+
|
31
|
+
require 'rake'
|
32
|
+
|
33
|
+
Rake.application.run
|
@@ -0,0 +1,158 @@
|
|
1
|
+
= Rake Command Line Usage
|
2
|
+
|
3
|
+
Rake is invoked from the command line using:
|
4
|
+
|
5
|
+
% rake [options ...] [VAR=VALUE ...] [targets ...]
|
6
|
+
|
7
|
+
Options are:
|
8
|
+
|
9
|
+
[<tt><em>name</em>=<em>value</em></tt>]
|
10
|
+
Set the environment variable <em>name</em> to <em>value</em>
|
11
|
+
during the execution of the <b>rake</b> command. You can access
|
12
|
+
the value by using ENV['<em>name</em>'].
|
13
|
+
|
14
|
+
[<tt>--all</tt> (-A)]
|
15
|
+
Used in combination with the -T and -D options, will force
|
16
|
+
those options to show all the tasks, even the ones without comments.
|
17
|
+
|
18
|
+
[<tt>--backtrace</tt>{=_output_} (-n)]
|
19
|
+
Enable a full backtrace (i.e. like --trace, but without the task
|
20
|
+
tracing details). The _output_ parameter is optional, but if
|
21
|
+
specified it controls where the backtrace output is sent. If
|
22
|
+
_output_ is <tt>stdout</tt>, then backtrace output is directed to
|
23
|
+
standard output. If _output_ is <tt>stderr</tt>, or if it is
|
24
|
+
missing, then the backtrace output is sent to standard error.
|
25
|
+
|
26
|
+
[<tt>--comments</tt>]
|
27
|
+
Used in combination with the -W options to force the output to
|
28
|
+
contain commented options only. This is the reverse of
|
29
|
+
<tt>--all</tt>.
|
30
|
+
|
31
|
+
[<tt>--describe</tt> _pattern_ (-D)]
|
32
|
+
Describe the tasks (matching optional PATTERN), then exit.
|
33
|
+
|
34
|
+
[<tt>--dry-run</tt> (-n)]
|
35
|
+
Do a dry run. Print the tasks invoked and executed, but do not
|
36
|
+
actually execute any of the actions.
|
37
|
+
|
38
|
+
[<tt>--execute</tt> _code_ (-e)]
|
39
|
+
Execute some Ruby code and exit.
|
40
|
+
|
41
|
+
[<tt>--execute-print</tt> _code_ (-p)]
|
42
|
+
Execute some Ruby code, print the result, and exit.
|
43
|
+
|
44
|
+
[<tt>--execute-continue</tt> _code_ (-E)]
|
45
|
+
Execute some Ruby code, then continue with normal task processing.
|
46
|
+
|
47
|
+
[<tt>--help</tt> (-H)]
|
48
|
+
Display some help text and exit.
|
49
|
+
|
50
|
+
[<tt>--jobs</tt> _number_ (-j)]
|
51
|
+
|
52
|
+
Specifies the maximum number of concurrent threads allowed. Rake
|
53
|
+
will allocate threads as needed up to this maximum number.
|
54
|
+
|
55
|
+
If omitted, Rake will attempt to estimate the number of CPUs on
|
56
|
+
the system and add 4 to that number.
|
57
|
+
|
58
|
+
The concurrent threads are used to execute the <tt>multitask</tt>
|
59
|
+
prerequisites. Also see the <tt>-m</tt> option which turns all
|
60
|
+
tasks into multitasks.
|
61
|
+
|
62
|
+
Sample values:
|
63
|
+
(no -j) : Allow up to (# of CPUs + 4) number of threads
|
64
|
+
--jobs : Allow unlimited number of threads
|
65
|
+
--jobs=1 : Allow only one thread (the main thread)
|
66
|
+
--jobs=16 : Allow up to 16 concurrent threads
|
67
|
+
|
68
|
+
[<tt>--job-stats</tt> _level_]
|
69
|
+
|
70
|
+
Display job statistics at the completion of the run. By default,
|
71
|
+
this will display the requested number of active threads (from the
|
72
|
+
-j options) and the maximum number of threads in play at any given
|
73
|
+
time.
|
74
|
+
|
75
|
+
If the optional _level_ is <tt>history</tt>, then a complete trace
|
76
|
+
of task history will be displayed on standard output.
|
77
|
+
|
78
|
+
[<tt>--libdir</tt> _directory_ (-I)]
|
79
|
+
Add _directory_ to the list of directories searched for require.
|
80
|
+
|
81
|
+
[<tt>--multitask</tt> (-m)]
|
82
|
+
Treat all tasks as multitasks. ('make/drake' semantics)
|
83
|
+
|
84
|
+
[<tt>--nosearch</tt> (-N)]
|
85
|
+
Do not search for a Rakefile in parent directories.
|
86
|
+
|
87
|
+
[<tt>--prereqs</tt> (-P)]
|
88
|
+
Display a list of all tasks and their immediate prerequisites.
|
89
|
+
|
90
|
+
[<tt>--quiet</tt> (-q)]
|
91
|
+
Do not echo commands from FileUtils.
|
92
|
+
|
93
|
+
[<tt>--rakefile</tt> _filename_ (-f)]
|
94
|
+
Use _filename_ as the name of the rakefile. The default rakefile
|
95
|
+
names are +rakefile+ and +Rakefile+ (with +rakefile+ taking
|
96
|
+
precedence). If the rakefile is not found in the current
|
97
|
+
directory, +rake+ will search parent directories for a match. The
|
98
|
+
directory where the Rakefile is found will become the current
|
99
|
+
directory for the actions executed in the Rakefile.
|
100
|
+
|
101
|
+
[<tt>--rakelibdir</tt> _rakelibdir_ (-R)]
|
102
|
+
Auto-import any .rake files in RAKELIBDIR. (default is 'rakelib')
|
103
|
+
|
104
|
+
[<tt>--require</tt> _name_ (-r)]
|
105
|
+
Require _name_ before executing the Rakefile.
|
106
|
+
|
107
|
+
[<tt>--rules</tt>]
|
108
|
+
Trace the rules resolution.
|
109
|
+
|
110
|
+
[<tt>--silent (-s)</tt>]
|
111
|
+
Like --quiet, but also suppresses the 'in directory' announcement.
|
112
|
+
|
113
|
+
[<tt>--suppress-backtrace _pattern_ </tt>]
|
114
|
+
Line matching the regular expression _pattern_ will be removed
|
115
|
+
from the backtrace output. Note that the --backtrace option is the
|
116
|
+
full backtrace without these lines suppressed.
|
117
|
+
|
118
|
+
[<tt>--system</tt> (-g)]
|
119
|
+
Use the system wide (global) rakefiles. The project Rakefile is
|
120
|
+
ignored. By default, the system wide rakefiles are used only if no
|
121
|
+
project Rakefile is found. On Unix-like system, the system wide
|
122
|
+
rake files are located in $HOME/.rake. On a windows system they
|
123
|
+
are stored in $APPDATA/Rake.
|
124
|
+
|
125
|
+
[<tt>--no-system</tt> (-G)]
|
126
|
+
Use the project level Rakefile, ignoring the system-wide (global)
|
127
|
+
rakefiles.
|
128
|
+
|
129
|
+
[<tt>--tasks</tt> <em>pattern</em> (-T)]
|
130
|
+
Display a list of the major tasks and their comments. Comments
|
131
|
+
are defined using the "desc" command. If a pattern is given, then
|
132
|
+
only tasks matching the pattern are displayed.
|
133
|
+
|
134
|
+
[<tt>--trace</tt>{=_output_} (-t)]
|
135
|
+
Turn on invoke/execute tracing. Also enable full backtrace on
|
136
|
+
errors. The _output_ parameter is optional, but if specified it
|
137
|
+
controls where the trace output is sent. If _output_ is
|
138
|
+
<tt>stdout</tt>, then trace output is directed to standard output.
|
139
|
+
If _output_ is <tt>stderr</tt>, or if it is missing, then trace
|
140
|
+
output is sent to standard error.
|
141
|
+
|
142
|
+
[<tt>--verbose</tt> (-v)]
|
143
|
+
Echo the Sys commands to standard output.
|
144
|
+
|
145
|
+
[<tt>--version</tt> (-V)]
|
146
|
+
Display the program version and exit.
|
147
|
+
|
148
|
+
[<tt>--where</tt> <em>pattern</em> (-W)]
|
149
|
+
Display tasks that match <em>pattern</em> and the file and line
|
150
|
+
number where the task is defined. By default this option will
|
151
|
+
display all tasks, not just the tasks that have descriptions.
|
152
|
+
|
153
|
+
[<tt>--no-deprecation-warnings</tt> (-X)]
|
154
|
+
Do not display the deprecation warnings.
|
155
|
+
|
156
|
+
In addition, any command line option of the form
|
157
|
+
<em>VAR</em>=<em>VALUE</em> will be added to the environment hash
|
158
|
+
<tt>ENV</tt> and may be tested in the Rakefile.
|