mercadopago-custom-checkout 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (308) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +23 -0
  3. data/.gs/bin/rake +23 -0
  4. data/.gs/cache/faraday-0.9.2.gem +0 -0
  5. data/.gs/cache/minitest-5.9.0.gem +0 -0
  6. data/.gs/cache/multi_json-1.12.1.gem +0 -0
  7. data/.gs/cache/multipart-post-2.0.0.gem +0 -0
  8. data/.gs/cache/rake-10.5.0.gem +0 -0
  9. data/.gs/gems/faraday-0.9.2/LICENSE.md +20 -0
  10. data/.gs/gems/faraday-0.9.2/README.md +245 -0
  11. data/.gs/gems/faraday-0.9.2/lib/faraday.rb +268 -0
  12. data/.gs/gems/faraday-0.9.2/lib/faraday/adapter.rb +46 -0
  13. data/.gs/gems/faraday-0.9.2/lib/faraday/adapter/em_http.rb +237 -0
  14. data/.gs/gems/faraday-0.9.2/lib/faraday/adapter/em_http_ssl_patch.rb +56 -0
  15. data/.gs/gems/faraday-0.9.2/lib/faraday/adapter/em_synchrony.rb +100 -0
  16. data/.gs/gems/faraday-0.9.2/lib/faraday/adapter/em_synchrony/parallel_manager.rb +66 -0
  17. data/.gs/gems/faraday-0.9.2/lib/faraday/adapter/excon.rb +81 -0
  18. data/.gs/gems/faraday-0.9.2/lib/faraday/adapter/httpclient.rb +117 -0
  19. data/.gs/gems/faraday-0.9.2/lib/faraday/adapter/net_http.rb +130 -0
  20. data/.gs/gems/faraday-0.9.2/lib/faraday/adapter/net_http_persistent.rb +49 -0
  21. data/.gs/gems/faraday-0.9.2/lib/faraday/adapter/patron.rb +78 -0
  22. data/.gs/gems/faraday-0.9.2/lib/faraday/adapter/rack.rb +58 -0
  23. data/.gs/gems/faraday-0.9.2/lib/faraday/adapter/test.rb +162 -0
  24. data/.gs/gems/faraday-0.9.2/lib/faraday/adapter/typhoeus.rb +123 -0
  25. data/.gs/gems/faraday-0.9.2/lib/faraday/autoload.rb +84 -0
  26. data/.gs/gems/faraday-0.9.2/lib/faraday/connection.rb +437 -0
  27. data/.gs/gems/faraday-0.9.2/lib/faraday/error.rb +53 -0
  28. data/.gs/gems/faraday-0.9.2/lib/faraday/middleware.rb +37 -0
  29. data/.gs/gems/faraday-0.9.2/lib/faraday/options.rb +359 -0
  30. data/.gs/gems/faraday-0.9.2/lib/faraday/parameters.rb +197 -0
  31. data/.gs/gems/faraday-0.9.2/lib/faraday/rack_builder.rb +213 -0
  32. data/.gs/gems/faraday-0.9.2/lib/faraday/request.rb +92 -0
  33. data/.gs/gems/faraday-0.9.2/lib/faraday/request/authorization.rb +42 -0
  34. data/.gs/gems/faraday-0.9.2/lib/faraday/request/basic_authentication.rb +13 -0
  35. data/.gs/gems/faraday-0.9.2/lib/faraday/request/instrumentation.rb +36 -0
  36. data/.gs/gems/faraday-0.9.2/lib/faraday/request/multipart.rb +63 -0
  37. data/.gs/gems/faraday-0.9.2/lib/faraday/request/retry.rb +154 -0
  38. data/.gs/gems/faraday-0.9.2/lib/faraday/request/token_authentication.rb +15 -0
  39. data/.gs/gems/faraday-0.9.2/lib/faraday/request/url_encoded.rb +36 -0
  40. data/.gs/gems/faraday-0.9.2/lib/faraday/response.rb +93 -0
  41. data/.gs/gems/faraday-0.9.2/lib/faraday/response/logger.rb +59 -0
  42. data/.gs/gems/faraday-0.9.2/lib/faraday/response/raise_error.rb +21 -0
  43. data/.gs/gems/faraday-0.9.2/lib/faraday/upload_io.rb +67 -0
  44. data/.gs/gems/faraday-0.9.2/lib/faraday/utils.rb +309 -0
  45. data/.gs/gems/minitest-5.9.0/.autotest +34 -0
  46. data/.gs/gems/minitest-5.9.0/History.rdoc +1176 -0
  47. data/.gs/gems/minitest-5.9.0/Manifest.txt +26 -0
  48. data/.gs/gems/minitest-5.9.0/README.rdoc +656 -0
  49. data/.gs/gems/minitest-5.9.0/Rakefile +72 -0
  50. data/.gs/gems/minitest-5.9.0/design_rationale.rb +52 -0
  51. data/.gs/gems/minitest-5.9.0/lib/hoe/minitest.rb +26 -0
  52. data/.gs/gems/minitest-5.9.0/lib/minitest.rb +815 -0
  53. data/.gs/gems/minitest-5.9.0/lib/minitest/assertions.rb +674 -0
  54. data/.gs/gems/minitest-5.9.0/lib/minitest/autorun.rb +13 -0
  55. data/.gs/gems/minitest-5.9.0/lib/minitest/benchmark.rb +424 -0
  56. data/.gs/gems/minitest-5.9.0/lib/minitest/expectations.rb +284 -0
  57. data/.gs/gems/minitest-5.9.0/lib/minitest/hell.rb +17 -0
  58. data/.gs/gems/minitest-5.9.0/lib/minitest/mock.rb +232 -0
  59. data/.gs/gems/minitest-5.9.0/lib/minitest/parallel.rb +69 -0
  60. data/.gs/gems/minitest-5.9.0/lib/minitest/pride.rb +4 -0
  61. data/.gs/gems/minitest-5.9.0/lib/minitest/pride_plugin.rb +142 -0
  62. data/.gs/gems/minitest-5.9.0/lib/minitest/spec.rb +331 -0
  63. data/.gs/gems/minitest-5.9.0/lib/minitest/test.rb +284 -0
  64. data/.gs/gems/minitest-5.9.0/lib/minitest/unit.rb +45 -0
  65. data/.gs/gems/minitest-5.9.0/test/minitest/metametameta.rb +90 -0
  66. data/.gs/gems/minitest-5.9.0/test/minitest/test_minitest_benchmark.rb +137 -0
  67. data/.gs/gems/minitest-5.9.0/test/minitest/test_minitest_mock.rb +512 -0
  68. data/.gs/gems/minitest-5.9.0/test/minitest/test_minitest_reporter.rb +281 -0
  69. data/.gs/gems/minitest-5.9.0/test/minitest/test_minitest_spec.rb +967 -0
  70. data/.gs/gems/minitest-5.9.0/test/minitest/test_minitest_test.rb +1983 -0
  71. data/.gs/gems/multi_json-1.12.1/CHANGELOG.md +245 -0
  72. data/.gs/gems/multi_json-1.12.1/CONTRIBUTING.md +46 -0
  73. data/.gs/gems/multi_json-1.12.1/LICENSE.md +20 -0
  74. data/.gs/gems/multi_json-1.12.1/README.md +121 -0
  75. data/.gs/gems/multi_json-1.12.1/lib/multi_json.rb +161 -0
  76. data/.gs/gems/multi_json-1.12.1/lib/multi_json/adapter.rb +49 -0
  77. data/.gs/gems/multi_json-1.12.1/lib/multi_json/adapter_error.rb +15 -0
  78. data/.gs/gems/multi_json-1.12.1/lib/multi_json/adapters/gson.rb +20 -0
  79. data/.gs/gems/multi_json-1.12.1/lib/multi_json/adapters/jr_jackson.rb +25 -0
  80. data/.gs/gems/multi_json-1.12.1/lib/multi_json/adapters/json_common.rb +23 -0
  81. data/.gs/gems/multi_json-1.12.1/lib/multi_json/adapters/json_gem.rb +11 -0
  82. data/.gs/gems/multi_json-1.12.1/lib/multi_json/adapters/json_pure.rb +11 -0
  83. data/.gs/gems/multi_json-1.12.1/lib/multi_json/adapters/nsjsonserialization.rb +32 -0
  84. data/.gs/gems/multi_json-1.12.1/lib/multi_json/adapters/oj.rb +25 -0
  85. data/.gs/gems/multi_json-1.12.1/lib/multi_json/adapters/ok_json.rb +23 -0
  86. data/.gs/gems/multi_json-1.12.1/lib/multi_json/adapters/yajl.rb +19 -0
  87. data/.gs/gems/multi_json-1.12.1/lib/multi_json/convertible_hash_keys.rb +43 -0
  88. data/.gs/gems/multi_json-1.12.1/lib/multi_json/options.rb +39 -0
  89. data/.gs/gems/multi_json-1.12.1/lib/multi_json/options_cache.rb +29 -0
  90. data/.gs/gems/multi_json-1.12.1/lib/multi_json/parse_error.rb +17 -0
  91. data/.gs/gems/multi_json-1.12.1/lib/multi_json/vendor/okjson.rb +606 -0
  92. data/.gs/gems/multi_json-1.12.1/lib/multi_json/version.rb +17 -0
  93. data/.gs/gems/multi_json-1.12.1/multi_json.gemspec +20 -0
  94. data/.gs/gems/multipart-post-2.0.0/.gitignore +6 -0
  95. data/.gs/gems/multipart-post-2.0.0/.travis.yml +7 -0
  96. data/.gs/gems/multipart-post-2.0.0/Gemfile +14 -0
  97. data/.gs/gems/multipart-post-2.0.0/History.txt +60 -0
  98. data/.gs/gems/multipart-post-2.0.0/Manifest.txt +9 -0
  99. data/.gs/gems/multipart-post-2.0.0/README.md +77 -0
  100. data/.gs/gems/multipart-post-2.0.0/Rakefile +9 -0
  101. data/.gs/gems/multipart-post-2.0.0/lib/composite_io.rb +108 -0
  102. data/.gs/gems/multipart-post-2.0.0/lib/multipart_post.rb +9 -0
  103. data/.gs/gems/multipart-post-2.0.0/lib/multipartable.rb +29 -0
  104. data/.gs/gems/multipart-post-2.0.0/lib/net/http/post/multipart.rb +27 -0
  105. data/.gs/gems/multipart-post-2.0.0/lib/parts.rb +96 -0
  106. data/.gs/gems/multipart-post-2.0.0/multipart-post.gemspec +22 -0
  107. data/.gs/gems/multipart-post-2.0.0/test/multibyte.txt +1 -0
  108. data/.gs/gems/multipart-post-2.0.0/test/net/http/post/test_multipart.rb +110 -0
  109. data/.gs/gems/multipart-post-2.0.0/test/test_composite_io.rb +115 -0
  110. data/.gs/gems/multipart-post-2.0.0/test/test_parts.rb +86 -0
  111. data/.gs/gems/rake-10.5.0/.autotest +7 -0
  112. data/.gs/gems/rake-10.5.0/.rubocop.yml +27 -0
  113. data/.gs/gems/rake-10.5.0/.togglerc +7 -0
  114. data/.gs/gems/rake-10.5.0/CONTRIBUTING.rdoc +38 -0
  115. data/.gs/gems/rake-10.5.0/History.rdoc +659 -0
  116. data/.gs/gems/rake-10.5.0/MIT-LICENSE +21 -0
  117. data/.gs/gems/rake-10.5.0/Manifest.txt +166 -0
  118. data/.gs/gems/rake-10.5.0/README.rdoc +139 -0
  119. data/.gs/gems/rake-10.5.0/Rakefile +81 -0
  120. data/.gs/gems/rake-10.5.0/bin/rake +33 -0
  121. data/.gs/gems/rake-10.5.0/doc/command_line_usage.rdoc +158 -0
  122. data/.gs/gems/rake-10.5.0/doc/example/Rakefile1 +38 -0
  123. data/.gs/gems/rake-10.5.0/doc/example/Rakefile2 +35 -0
  124. data/.gs/gems/rake-10.5.0/doc/example/a.c +6 -0
  125. data/.gs/gems/rake-10.5.0/doc/example/b.c +6 -0
  126. data/.gs/gems/rake-10.5.0/doc/example/main.c +11 -0
  127. data/.gs/gems/rake-10.5.0/doc/glossary.rdoc +42 -0
  128. data/.gs/gems/rake-10.5.0/doc/jamis.rb +591 -0
  129. data/.gs/gems/rake-10.5.0/doc/proto_rake.rdoc +127 -0
  130. data/.gs/gems/rake-10.5.0/doc/rake.1 +141 -0
  131. data/.gs/gems/rake-10.5.0/doc/rakefile.rdoc +624 -0
  132. data/.gs/gems/rake-10.5.0/doc/rational.rdoc +151 -0
  133. data/.gs/gems/rake-10.5.0/doc/release_notes/rake-0.4.14.rdoc +23 -0
  134. data/.gs/gems/rake-10.5.0/doc/release_notes/rake-0.4.15.rdoc +35 -0
  135. data/.gs/gems/rake-10.5.0/doc/release_notes/rake-0.5.0.rdoc +53 -0
  136. data/.gs/gems/rake-10.5.0/doc/release_notes/rake-0.5.3.rdoc +78 -0
  137. data/.gs/gems/rake-10.5.0/doc/release_notes/rake-0.5.4.rdoc +46 -0
  138. data/.gs/gems/rake-10.5.0/doc/release_notes/rake-0.6.0.rdoc +141 -0
  139. data/.gs/gems/rake-10.5.0/doc/release_notes/rake-0.7.0.rdoc +119 -0
  140. data/.gs/gems/rake-10.5.0/doc/release_notes/rake-0.7.1.rdoc +59 -0
  141. data/.gs/gems/rake-10.5.0/doc/release_notes/rake-0.7.2.rdoc +121 -0
  142. data/.gs/gems/rake-10.5.0/doc/release_notes/rake-0.7.3.rdoc +47 -0
  143. data/.gs/gems/rake-10.5.0/doc/release_notes/rake-0.8.0.rdoc +114 -0
  144. data/.gs/gems/rake-10.5.0/doc/release_notes/rake-0.8.2.rdoc +165 -0
  145. data/.gs/gems/rake-10.5.0/doc/release_notes/rake-0.8.3.rdoc +112 -0
  146. data/.gs/gems/rake-10.5.0/doc/release_notes/rake-0.8.4.rdoc +147 -0
  147. data/.gs/gems/rake-10.5.0/doc/release_notes/rake-0.8.5.rdoc +53 -0
  148. data/.gs/gems/rake-10.5.0/doc/release_notes/rake-0.8.6.rdoc +37 -0
  149. data/.gs/gems/rake-10.5.0/doc/release_notes/rake-0.8.7.rdoc +55 -0
  150. data/.gs/gems/rake-10.5.0/doc/release_notes/rake-0.9.0.rdoc +112 -0
  151. data/.gs/gems/rake-10.5.0/doc/release_notes/rake-0.9.1.rdoc +52 -0
  152. data/.gs/gems/rake-10.5.0/doc/release_notes/rake-0.9.2.2.rdoc +55 -0
  153. data/.gs/gems/rake-10.5.0/doc/release_notes/rake-0.9.2.rdoc +49 -0
  154. data/.gs/gems/rake-10.5.0/doc/release_notes/rake-0.9.3.rdoc +102 -0
  155. data/.gs/gems/rake-10.5.0/doc/release_notes/rake-0.9.4.rdoc +60 -0
  156. data/.gs/gems/rake-10.5.0/doc/release_notes/rake-0.9.5.rdoc +55 -0
  157. data/.gs/gems/rake-10.5.0/doc/release_notes/rake-0.9.6.rdoc +64 -0
  158. data/.gs/gems/rake-10.5.0/doc/release_notes/rake-10.0.0.rdoc +178 -0
  159. data/.gs/gems/rake-10.5.0/doc/release_notes/rake-10.0.1.rdoc +58 -0
  160. data/.gs/gems/rake-10.5.0/doc/release_notes/rake-10.0.2.rdoc +53 -0
  161. data/.gs/gems/rake-10.5.0/doc/release_notes/rake-10.0.3.rdoc +191 -0
  162. data/.gs/gems/rake-10.5.0/doc/release_notes/rake-10.1.0.rdoc +61 -0
  163. data/.gs/gems/rake-10.5.0/lib/rake.rb +79 -0
  164. data/.gs/gems/rake-10.5.0/lib/rake/alt_system.rb +110 -0
  165. data/.gs/gems/rake-10.5.0/lib/rake/application.rb +790 -0
  166. data/.gs/gems/rake-10.5.0/lib/rake/backtrace.rb +23 -0
  167. data/.gs/gems/rake-10.5.0/lib/rake/clean.rb +76 -0
  168. data/.gs/gems/rake-10.5.0/lib/rake/cloneable.rb +16 -0
  169. data/.gs/gems/rake-10.5.0/lib/rake/contrib/.document +1 -0
  170. data/.gs/gems/rake-10.5.0/lib/rake/contrib/compositepublisher.rb +21 -0
  171. data/.gs/gems/rake-10.5.0/lib/rake/contrib/ftptools.rb +137 -0
  172. data/.gs/gems/rake-10.5.0/lib/rake/contrib/publisher.rb +81 -0
  173. data/.gs/gems/rake-10.5.0/lib/rake/contrib/rubyforgepublisher.rb +18 -0
  174. data/.gs/gems/rake-10.5.0/lib/rake/contrib/sshpublisher.rb +61 -0
  175. data/.gs/gems/rake-10.5.0/lib/rake/contrib/sys.rb +4 -0
  176. data/.gs/gems/rake-10.5.0/lib/rake/cpu_counter.rb +125 -0
  177. data/.gs/gems/rake-10.5.0/lib/rake/default_loader.rb +14 -0
  178. data/.gs/gems/rake-10.5.0/lib/rake/dsl_definition.rb +201 -0
  179. data/.gs/gems/rake-10.5.0/lib/rake/early_time.rb +21 -0
  180. data/.gs/gems/rake-10.5.0/lib/rake/ext/core.rb +25 -0
  181. data/.gs/gems/rake-10.5.0/lib/rake/ext/module.rb +2 -0
  182. data/.gs/gems/rake-10.5.0/lib/rake/ext/pathname.rb +25 -0
  183. data/.gs/gems/rake-10.5.0/lib/rake/ext/string.rb +175 -0
  184. data/.gs/gems/rake-10.5.0/lib/rake/ext/time.rb +18 -0
  185. data/.gs/gems/rake-10.5.0/lib/rake/file_creation_task.rb +24 -0
  186. data/.gs/gems/rake-10.5.0/lib/rake/file_list.rb +428 -0
  187. data/.gs/gems/rake-10.5.0/lib/rake/file_task.rb +46 -0
  188. data/.gs/gems/rake-10.5.0/lib/rake/file_utils.rb +128 -0
  189. data/.gs/gems/rake-10.5.0/lib/rake/file_utils_ext.rb +144 -0
  190. data/.gs/gems/rake-10.5.0/lib/rake/gempackagetask.rb +4 -0
  191. data/.gs/gems/rake-10.5.0/lib/rake/invocation_chain.rb +56 -0
  192. data/.gs/gems/rake-10.5.0/lib/rake/invocation_exception_mixin.rb +16 -0
  193. data/.gs/gems/rake-10.5.0/lib/rake/late_time.rb +17 -0
  194. data/.gs/gems/rake-10.5.0/lib/rake/linked_list.rb +103 -0
  195. data/.gs/gems/rake-10.5.0/lib/rake/loaders/makefile.rb +53 -0
  196. data/.gs/gems/rake-10.5.0/lib/rake/multi_task.rb +13 -0
  197. data/.gs/gems/rake-10.5.0/lib/rake/name_space.rb +38 -0
  198. data/.gs/gems/rake-10.5.0/lib/rake/packagetask.rb +199 -0
  199. data/.gs/gems/rake-10.5.0/lib/rake/pathmap.rb +3 -0
  200. data/.gs/gems/rake-10.5.0/lib/rake/phony.rb +15 -0
  201. data/.gs/gems/rake-10.5.0/lib/rake/private_reader.rb +20 -0
  202. data/.gs/gems/rake-10.5.0/lib/rake/promise.rb +99 -0
  203. data/.gs/gems/rake-10.5.0/lib/rake/pseudo_status.rb +29 -0
  204. data/.gs/gems/rake-10.5.0/lib/rake/rake_module.rb +38 -0
  205. data/.gs/gems/rake-10.5.0/lib/rake/rake_test_loader.rb +22 -0
  206. data/.gs/gems/rake-10.5.0/lib/rake/rdoctask.rb +4 -0
  207. data/.gs/gems/rake-10.5.0/lib/rake/ruby182_test_unit_fix.rb +29 -0
  208. data/.gs/gems/rake-10.5.0/lib/rake/rule_recursion_overflow_error.rb +20 -0
  209. data/.gs/gems/rake-10.5.0/lib/rake/runtest.rb +27 -0
  210. data/.gs/gems/rake-10.5.0/lib/rake/scope.rb +42 -0
  211. data/.gs/gems/rake-10.5.0/lib/rake/task.rb +383 -0
  212. data/.gs/gems/rake-10.5.0/lib/rake/task_argument_error.rb +7 -0
  213. data/.gs/gems/rake-10.5.0/lib/rake/task_arguments.rb +98 -0
  214. data/.gs/gems/rake-10.5.0/lib/rake/task_manager.rb +307 -0
  215. data/.gs/gems/rake-10.5.0/lib/rake/tasklib.rb +24 -0
  216. data/.gs/gems/rake-10.5.0/lib/rake/testtask.rb +213 -0
  217. data/.gs/gems/rake-10.5.0/lib/rake/thread_history_display.rb +48 -0
  218. data/.gs/gems/rake-10.5.0/lib/rake/thread_pool.rb +164 -0
  219. data/.gs/gems/rake-10.5.0/lib/rake/trace_output.rb +22 -0
  220. data/.gs/gems/rake-10.5.0/lib/rake/version.rb +7 -0
  221. data/.gs/gems/rake-10.5.0/lib/rake/win32.rb +56 -0
  222. data/.gs/gems/rake-10.5.0/rakelib/publish.rake +20 -0
  223. data/.gs/gems/rake-10.5.0/rakelib/test_times.rake +25 -0
  224. data/.gs/gems/rake-10.5.0/test/file_creation.rb +34 -0
  225. data/.gs/gems/rake-10.5.0/test/helper.rb +129 -0
  226. data/.gs/gems/rake-10.5.0/test/support/rakefile_definitions.rb +478 -0
  227. data/.gs/gems/rake-10.5.0/test/support/ruby_runner.rb +34 -0
  228. data/.gs/gems/rake-10.5.0/test/test_private_reader.rb +42 -0
  229. data/.gs/gems/rake-10.5.0/test/test_rake.rb +40 -0
  230. data/.gs/gems/rake-10.5.0/test/test_rake_application.rb +643 -0
  231. data/.gs/gems/rake-10.5.0/test/test_rake_application_options.rb +468 -0
  232. data/.gs/gems/rake-10.5.0/test/test_rake_backtrace.rb +119 -0
  233. data/.gs/gems/rake-10.5.0/test/test_rake_clean.rb +61 -0
  234. data/.gs/gems/rake-10.5.0/test/test_rake_cpu_counter.rb +68 -0
  235. data/.gs/gems/rake-10.5.0/test/test_rake_definitions.rb +84 -0
  236. data/.gs/gems/rake-10.5.0/test/test_rake_directory_task.rb +76 -0
  237. data/.gs/gems/rake-10.5.0/test/test_rake_dsl.rb +40 -0
  238. data/.gs/gems/rake-10.5.0/test/test_rake_early_time.rb +31 -0
  239. data/.gs/gems/rake-10.5.0/test/test_rake_extension.rb +59 -0
  240. data/.gs/gems/rake-10.5.0/test/test_rake_file_creation_task.rb +56 -0
  241. data/.gs/gems/rake-10.5.0/test/test_rake_file_list.rb +670 -0
  242. data/.gs/gems/rake-10.5.0/test/test_rake_file_list_path_map.rb +8 -0
  243. data/.gs/gems/rake-10.5.0/test/test_rake_file_task.rb +197 -0
  244. data/.gs/gems/rake-10.5.0/test/test_rake_file_utils.rb +314 -0
  245. data/.gs/gems/rake-10.5.0/test/test_rake_ftp_file.rb +74 -0
  246. data/.gs/gems/rake-10.5.0/test/test_rake_functional.rb +482 -0
  247. data/.gs/gems/rake-10.5.0/test/test_rake_invocation_chain.rb +64 -0
  248. data/.gs/gems/rake-10.5.0/test/test_rake_late_time.rb +18 -0
  249. data/.gs/gems/rake-10.5.0/test/test_rake_linked_list.rb +84 -0
  250. data/.gs/gems/rake-10.5.0/test/test_rake_makefile_loader.rb +46 -0
  251. data/.gs/gems/rake-10.5.0/test/test_rake_multi_task.rb +64 -0
  252. data/.gs/gems/rake-10.5.0/test/test_rake_name_space.rb +57 -0
  253. data/.gs/gems/rake-10.5.0/test/test_rake_package_task.rb +79 -0
  254. data/.gs/gems/rake-10.5.0/test/test_rake_path_map.rb +168 -0
  255. data/.gs/gems/rake-10.5.0/test/test_rake_path_map_explode.rb +34 -0
  256. data/.gs/gems/rake-10.5.0/test/test_rake_path_map_partial.rb +18 -0
  257. data/.gs/gems/rake-10.5.0/test/test_rake_pathname_extensions.rb +15 -0
  258. data/.gs/gems/rake-10.5.0/test/test_rake_pseudo_status.rb +21 -0
  259. data/.gs/gems/rake-10.5.0/test/test_rake_rake_test_loader.rb +20 -0
  260. data/.gs/gems/rake-10.5.0/test/test_rake_reduce_compat.rb +26 -0
  261. data/.gs/gems/rake-10.5.0/test/test_rake_require.rb +40 -0
  262. data/.gs/gems/rake-10.5.0/test/test_rake_rules.rb +388 -0
  263. data/.gs/gems/rake-10.5.0/test/test_rake_scope.rb +44 -0
  264. data/.gs/gems/rake-10.5.0/test/test_rake_task.rb +393 -0
  265. data/.gs/gems/rake-10.5.0/test/test_rake_task_argument_parsing.rb +119 -0
  266. data/.gs/gems/rake-10.5.0/test/test_rake_task_arguments.rb +127 -0
  267. data/.gs/gems/rake-10.5.0/test/test_rake_task_lib.rb +9 -0
  268. data/.gs/gems/rake-10.5.0/test/test_rake_task_manager.rb +178 -0
  269. data/.gs/gems/rake-10.5.0/test/test_rake_task_manager_argument_resolution.rb +19 -0
  270. data/.gs/gems/rake-10.5.0/test/test_rake_task_with_arguments.rb +172 -0
  271. data/.gs/gems/rake-10.5.0/test/test_rake_test_task.rb +146 -0
  272. data/.gs/gems/rake-10.5.0/test/test_rake_thread_pool.rb +145 -0
  273. data/.gs/gems/rake-10.5.0/test/test_rake_top_level_functions.rb +71 -0
  274. data/.gs/gems/rake-10.5.0/test/test_rake_win32.rb +72 -0
  275. data/.gs/gems/rake-10.5.0/test/test_thread_history_display.rb +101 -0
  276. data/.gs/gems/rake-10.5.0/test/test_trace_output.rb +52 -0
  277. data/.gs/specifications/faraday-0.9.2.gemspec +31 -0
  278. data/.gs/specifications/minitest-5.9.0.gemspec +39 -0
  279. data/.gs/specifications/multi_json-1.12.1.gemspec +33 -0
  280. data/.gs/specifications/multipart-post-2.0.0.gemspec +22 -0
  281. data/.gs/specifications/rake-10.5.0.gemspec +43 -0
  282. data/.rubocop.yml +36 -0
  283. data/.ruby-version +1 -0
  284. data/.travis.yml +7 -0
  285. data/CODE_OF_CONDUCT.md +49 -0
  286. data/Gemfile +10 -0
  287. data/LICENSE.txt +21 -0
  288. data/README.md +35 -0
  289. data/Rakefile +38 -0
  290. data/bin/console +14 -0
  291. data/bin/setup +8 -0
  292. data/lib/mercadopago/core/client.rb +70 -0
  293. data/lib/mercadopago/core/endpoints.rb +134 -0
  294. data/lib/mercadopago/core/errors.rb +6 -0
  295. data/lib/mercadopago/core/gateway.rb +84 -0
  296. data/lib/mercadopago/custom_checkout.rb +29 -0
  297. data/lib/mercadopago/custom_checkout/account.rb +162 -0
  298. data/lib/mercadopago/custom_checkout/card_issuer.rb +20 -0
  299. data/lib/mercadopago/custom_checkout/card_token.rb +57 -0
  300. data/lib/mercadopago/custom_checkout/customer.rb +84 -0
  301. data/lib/mercadopago/custom_checkout/errors.rb +6 -0
  302. data/lib/mercadopago/custom_checkout/identification_type.rb +19 -0
  303. data/lib/mercadopago/custom_checkout/payment_method.rb +42 -0
  304. data/lib/mercadopago/custom_checkout/payments.rb +24 -0
  305. data/lib/mercadopago/custom_checkout/resource.rb +14 -0
  306. data/lib/mercadopago/custom_checkout/version.rb +5 -0
  307. data/mercadopago-custom-checkout.gemspec +30 -0
  308. metadata +455 -0
@@ -0,0 +1,22 @@
1
+ # -*- encoding: utf-8 -*-
2
+ $:.push File.expand_path("../lib", __FILE__)
3
+ require "multipart_post"
4
+
5
+ Gem::Specification.new do |s|
6
+ s.name = "multipart-post"
7
+ s.version = MultipartPost::VERSION
8
+ s.authors = ["Nick Sieger"]
9
+ s.email = ["nick@nicksieger.com"]
10
+ s.homepage = "https://github.com/nicksieger/multipart-post"
11
+ s.summary = %q{A multipart form post accessory for Net::HTTP.}
12
+ s.license = "MIT"
13
+ s.description = %q{Use with Net::HTTP to do multipart form posts. IO values that have #content_type, #original_filename, and #local_path will be posted as a binary file.}
14
+
15
+ s.rubyforge_project = "caldersphere"
16
+
17
+ s.files = `git ls-files`.split("\n")
18
+ s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
19
+ s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
20
+ s.rdoc_options = ["--main", "README.md", "-SHN", "-f", "darkfish"]
21
+ s.require_paths = ["lib"]
22
+ end
@@ -0,0 +1,110 @@
1
+ #--
2
+ # Copyright (c) 2007-2013 Nick Sieger.
3
+ # See the file README.txt included with the distribution for
4
+ # software license details.
5
+ #++
6
+
7
+ require 'net/http/post/multipart'
8
+ require 'test/unit'
9
+
10
+ class Net::HTTP::Post::MultiPartTest < Test::Unit::TestCase
11
+ TEMP_FILE = "temp.txt"
12
+
13
+ HTTPPost = Struct.new("HTTPPost", :content_length, :body_stream, :content_type)
14
+ HTTPPost.module_eval do
15
+ def set_content_type(type, params = {})
16
+ self.content_type = type + params.map{|k,v|"; #{k}=#{v}"}.join('')
17
+ end
18
+ end
19
+
20
+ def teardown
21
+ File.delete(TEMP_FILE) rescue nil
22
+ end
23
+
24
+ def test_form_multipart_body
25
+ File.open(TEMP_FILE, "w") {|f| f << "1234567890"}
26
+ @io = File.open(TEMP_FILE)
27
+ @io = UploadIO.new @io, "text/plain", TEMP_FILE
28
+ assert_results Net::HTTP::Post::Multipart.new("/foo/bar", :foo => 'bar', :file => @io)
29
+ end
30
+ def test_form_multipart_body_put
31
+ File.open(TEMP_FILE, "w") {|f| f << "1234567890"}
32
+ @io = File.open(TEMP_FILE)
33
+ @io = UploadIO.new @io, "text/plain", TEMP_FILE
34
+ assert_results Net::HTTP::Put::Multipart.new("/foo/bar", :foo => 'bar', :file => @io)
35
+ end
36
+
37
+ def test_form_multipart_body_with_stringio
38
+ @io = StringIO.new("1234567890")
39
+ @io = UploadIO.new @io, "text/plain", TEMP_FILE
40
+ assert_results Net::HTTP::Post::Multipart.new("/foo/bar", :foo => 'bar', :file => @io)
41
+ end
42
+
43
+ def test_form_multiparty_body_with_parts_headers
44
+ @io = StringIO.new("1234567890")
45
+ @io = UploadIO.new @io, "text/plain", TEMP_FILE
46
+ parts = { :text => 'bar', :file => @io }
47
+ headers = {
48
+ :parts => {
49
+ :text => { "Content-Type" => "part/type" },
50
+ :file => { "Content-Transfer-Encoding" => "part-encoding" }
51
+ }
52
+ }
53
+
54
+ request = Net::HTTP::Post::Multipart.new("/foo/bar", parts, headers)
55
+ assert_results request
56
+ assert_additional_headers_added(request, headers[:parts])
57
+ end
58
+
59
+ def test_form_multipart_body_with_array_value
60
+ File.open(TEMP_FILE, "w") {|f| f << "1234567890"}
61
+ @io = File.open(TEMP_FILE)
62
+ @io = UploadIO.new @io, "text/plain", TEMP_FILE
63
+ params = {:foo => ['bar', 'quux'], :file => @io}
64
+ headers = { :parts => {
65
+ :foo => { "Content-Type" => "application/json; charset=UTF-8" } } }
66
+ post = Net::HTTP::Post::Multipart.new("/foo/bar", params, headers,
67
+ Net::HTTP::Post::Multipart::DEFAULT_BOUNDARY)
68
+
69
+ assert post.content_length && post.content_length > 0
70
+ assert post.body_stream
71
+
72
+ body = post.body_stream.read
73
+ assert_equal 2, body.lines.grep(/name="foo"/).length
74
+ assert body =~ /Content-Type: application\/json; charset=UTF-8/, body
75
+ end
76
+
77
+ def test_form_multipart_body_with_arrayparam
78
+ File.open(TEMP_FILE, "w") {|f| f << "1234567890"}
79
+ @io = File.open(TEMP_FILE)
80
+ @io = UploadIO.new @io, "text/plain", TEMP_FILE
81
+ assert_results Net::HTTP::Post::Multipart.new("/foo/bar", :multivalueParam => ['bar','bah'], :file => @io)
82
+ end
83
+
84
+ def assert_results(post)
85
+ assert post.content_length && post.content_length > 0
86
+ assert post.body_stream
87
+ assert_equal "multipart/form-data; boundary=#{Multipartable::DEFAULT_BOUNDARY}", post['content-type']
88
+ body = post.body_stream.read
89
+ boundary_regex = Regexp.quote Multipartable::DEFAULT_BOUNDARY
90
+ assert body =~ /1234567890/
91
+ # ensure there is at least one boundary
92
+ assert body =~ /^--#{boundary_regex}\r\n/
93
+ # ensure there is an epilogue
94
+ assert body =~ /^--#{boundary_regex}--\r\n/
95
+ assert body =~ /text\/plain/
96
+ if (body =~ /multivalueParam/)
97
+ assert_equal 2, body.scan(/^.*multivalueParam.*$/).size
98
+ end
99
+ end
100
+
101
+ def assert_additional_headers_added(post, parts_headers)
102
+ post.body_stream.rewind
103
+ body = post.body_stream.read
104
+ parts_headers.each do |part, headers|
105
+ headers.each do |k,v|
106
+ assert body =~ /#{k}: #{v}/
107
+ end
108
+ end
109
+ end
110
+ end
@@ -0,0 +1,115 @@
1
+ #--
2
+ # Copyright (c) 2007-2013 Nick Sieger.
3
+ # See the file README.txt included with the distribution for
4
+ # software license details.
5
+ #++
6
+
7
+ require 'composite_io'
8
+ require 'stringio'
9
+ require 'test/unit'
10
+ require 'timeout'
11
+
12
+ class CompositeReadIOTest < Test::Unit::TestCase
13
+ def setup
14
+ @io = CompositeReadIO.new(CompositeReadIO.new(StringIO.new('the '), StringIO.new('quick ')),
15
+ StringIO.new('brown '), StringIO.new('fox'))
16
+ end
17
+
18
+ def test_full_read_from_several_ios
19
+ assert_equal 'the quick brown fox', @io.read
20
+ end
21
+
22
+ unless RUBY_VERSION < '1.9'
23
+ def test_read_from_multibyte
24
+ utf8 = File.open(File.dirname(__FILE__)+'/multibyte.txt')
25
+ binary = StringIO.new("\x86")
26
+ @io = CompositeReadIO.new(binary,utf8)
27
+
28
+ expect = "\x86\xE3\x83\x95\xE3\x82\xA1\xE3\x82\xA4\xE3\x83\xAB\n"
29
+ expect.force_encoding('BINARY') if expect.respond_to?(:force_encoding)
30
+ assert_equal expect, @io.read
31
+ end
32
+ end
33
+
34
+ def test_partial_read
35
+ assert_equal 'the quick', @io.read(9)
36
+ end
37
+
38
+ def test_partial_read_to_boundary
39
+ assert_equal 'the quick ', @io.read(10)
40
+ end
41
+
42
+ def test_read_with_size_larger_than_available
43
+ assert_equal 'the quick brown fox', @io.read(32)
44
+ end
45
+
46
+ def test_read_into_buffer
47
+ buf = ''
48
+ @io.read(nil, buf)
49
+ assert_equal 'the quick brown fox', buf
50
+ end
51
+
52
+ def test_multiple_reads
53
+ assert_equal 'the ', @io.read(4)
54
+ assert_equal 'quic', @io.read(4)
55
+ assert_equal 'k br', @io.read(4)
56
+ assert_equal 'own ', @io.read(4)
57
+ assert_equal 'fox', @io.read(4)
58
+ end
59
+
60
+ def test_read_after_end
61
+ @io.read
62
+ assert_equal "", @io.read
63
+ end
64
+
65
+ def test_read_after_end_with_amount
66
+ @io.read(32)
67
+ assert_equal nil, @io.read(32)
68
+ end
69
+
70
+ def test_second_full_read_after_rewinding
71
+ @io.read
72
+ @io.rewind
73
+ assert_equal 'the quick brown fox', @io.read
74
+ end
75
+
76
+ def test_convert_error
77
+ assert_raises(ArgumentError) {
78
+ UploadIO.convert!('tmp.txt', 'text/plain', 'tmp.txt', 'tmp.txt')
79
+ }
80
+ end
81
+
82
+ ## FIXME excluding on JRuby due to
83
+ ## http://jira.codehaus.org/browse/JRUBY-7109
84
+ if IO.respond_to?(:copy_stream) && !defined?(JRUBY_VERSION)
85
+ def test_compatible_with_copy_stream
86
+ target_io = StringIO.new
87
+ Timeout.timeout(1) do
88
+ IO.copy_stream(@io, target_io)
89
+ end
90
+ assert_equal "the quick brown fox", target_io.string
91
+ end
92
+ end
93
+
94
+ def test_empty
95
+ io = CompositeReadIO.new
96
+ assert_equal "", io.read
97
+ end
98
+
99
+ def test_empty_limited
100
+ io = CompositeReadIO.new
101
+ assert_nil io.read(1)
102
+ end
103
+
104
+ def test_empty_parts
105
+ io = CompositeReadIO.new(StringIO.new, StringIO.new('the '), StringIO.new, StringIO.new('quick'))
106
+ assert_equal "the", io.read(3)
107
+ assert_equal " qu", io.read(3)
108
+ assert_equal "ick", io.read(4)
109
+ end
110
+
111
+ def test_all_empty_parts
112
+ io = CompositeReadIO.new(StringIO.new, StringIO.new)
113
+ assert_nil io.read(1)
114
+ end
115
+ end
@@ -0,0 +1,86 @@
1
+ #--
2
+ # Copyright (c) 2007-2012 Nick Sieger.
3
+ # See the file README.txt included with the distribution for
4
+ # software license details.
5
+ #++
6
+
7
+ require 'test/unit'
8
+
9
+ require 'parts'
10
+ require 'stringio'
11
+ require 'composite_io'
12
+ require 'tempfile'
13
+
14
+
15
+ MULTIBYTE = File.dirname(__FILE__)+'/multibyte.txt'
16
+ TEMP_FILE = "temp.txt"
17
+
18
+ module AssertPartLength
19
+ def assert_part_length(part)
20
+ bytes = part.to_io.read
21
+ bytesize = bytes.respond_to?(:bytesize) ? bytes.bytesize : bytes.length
22
+ assert_equal bytesize, part.length
23
+ end
24
+ end
25
+
26
+ class PartTest < Test::Unit::TestCase
27
+ def setup
28
+ @string_with_content_type = Class.new(String) do
29
+ def content_type; 'application/data'; end
30
+ end
31
+ end
32
+
33
+ def test_file_with_upload_io
34
+ assert Parts::Part.file?(UploadIO.new(__FILE__, "text/plain"))
35
+ end
36
+
37
+ def test_file_with_modified_string
38
+ assert !Parts::Part.file?(@string_with_content_type.new("Hello"))
39
+ end
40
+
41
+ def test_new_with_modified_string
42
+ assert_kind_of Parts::ParamPart,
43
+ Parts::Part.new("boundary", "multibyte", @string_with_content_type.new("Hello"))
44
+ end
45
+ end
46
+
47
+ class FilePartTest < Test::Unit::TestCase
48
+ include AssertPartLength
49
+
50
+ def setup
51
+ File.open(TEMP_FILE, "w") {|f| f << "1234567890"}
52
+ io = UploadIO.new(TEMP_FILE, "text/plain")
53
+ @part = Parts::FilePart.new("boundary", "afile", io)
54
+ end
55
+
56
+ def teardown
57
+ File.delete(TEMP_FILE) rescue nil
58
+ end
59
+
60
+ def test_correct_length
61
+ assert_part_length @part
62
+ end
63
+
64
+ def test_multibyte_file_length
65
+ assert_part_length Parts::FilePart.new("boundary", "multibyte", UploadIO.new(MULTIBYTE, "text/plain"))
66
+ end
67
+
68
+ def test_multibyte_filename
69
+ name = File.read(MULTIBYTE, 300)
70
+ file = Tempfile.new(name.respond_to?(:force_encoding) ? name.force_encoding("UTF-8") : name)
71
+ assert_part_length Parts::FilePart.new("boundary", "multibyte", UploadIO.new(file, "text/plain"))
72
+ file.close
73
+ end
74
+ end
75
+
76
+ class ParamPartTest < Test::Unit::TestCase
77
+ include AssertPartLength
78
+
79
+ def setup
80
+ @part = Parts::ParamPart.new("boundary", "multibyte", File.read(MULTIBYTE))
81
+ end
82
+
83
+ def test_correct_length
84
+ assert_part_length @part
85
+ end
86
+ end
@@ -0,0 +1,7 @@
1
+ require 'autotest/restart'
2
+
3
+ Autotest.add_hook :initialize do |at|
4
+ at.testlib = ''
5
+ at.add_exception '.git'
6
+ end
7
+
@@ -0,0 +1,27 @@
1
+ StringLiterals:
2
+ Enabled: false
3
+
4
+ MultilineBlocks:
5
+ Enabled: false
6
+
7
+ SingleLineBlocks:
8
+ Enabled: false
9
+
10
+ NewLambdaLiteral:
11
+ Enabled: false
12
+
13
+ SpaceAroundEqualsInParameterDefault:
14
+ Enabled: false
15
+
16
+ HashSyntax:
17
+ Enabled: false
18
+
19
+ LineLength:
20
+ Enabled: true
21
+ Max: 90
22
+
23
+ WhileUntilModifier:
24
+ Enabled: false
25
+
26
+ IfUnlessModifier:
27
+ Enabled: false
@@ -0,0 +1,7 @@
1
+ (add-to-list
2
+ 'toggle-mapping-styles
3
+ '(rake . (
4
+ ("test/test_rake_\\1.rb" . "lib/rake/\\1.rb")
5
+ ) ))
6
+
7
+ (buffer-toggle-style 'rake)
@@ -0,0 +1,38 @@
1
+ = Source Repository
2
+
3
+ Rake is currently hosted at github. The github web page is
4
+ http://github.com/ruby/rake . The public git clone URL is
5
+
6
+ git://github.com/ruby/rake.git
7
+
8
+ = Running the Rake Test Suite
9
+
10
+ If you wish to run the unit and functional tests that come with Rake:
11
+
12
+ * +cd+ into the top project directory of rake.
13
+ * Install the +hoe+ gem dependency:
14
+
15
+ gem install hoe # Unless the hoe gem is already installed
16
+
17
+ * Type one of the following:
18
+
19
+ rake newb # If you have never run rake's tests
20
+ rake # If you have run rake's tests
21
+
22
+ = Issues and Bug Reports
23
+
24
+ Feel free to submit commits or feature requests. If you send a patch,
25
+ remember to update the corresponding unit tests. In fact, I prefer
26
+ new feature to be submitted in the form of new unit tests.
27
+
28
+ For other information, feel free to ask on the ruby-talk mailing list.
29
+
30
+ If you have found a bug in rake please try with the latest version of rake
31
+ before filing an issue. Also check History.rdoc for bug fixes that may have
32
+ addressed your issue.
33
+
34
+ When submitting pull requests please check the rake Travis-CI page for test
35
+ failures:
36
+
37
+ https://travis-ci.org/ruby/rake
38
+
@@ -0,0 +1,659 @@
1
+ === 10.5.0 / 2016-01-13
2
+
3
+ Enhancements:
4
+
5
+ * Removed monkey patching for Ruby 1.8. Pull request #46 by Pablo Herrero.
6
+ * Inheritance class of Rake::FileList returns always self class.
7
+ Pull request #74 by Thomas Scholz
8
+
9
+ === 10.4.2 / 2014-12-02
10
+
11
+ Bug fixes:
12
+
13
+ * Rake no longer edits ARGV. This allows you to re-exec rake from a rake
14
+ task. Pull requset #9 by Matt Palmer.
15
+ * Documented how Rake::DSL#desc handles sentences in task descriptions.
16
+ Issue #7 by Raza Sayed.
17
+ * Fixed test error on 1.9.3 with legacy RubyGems. Issue #8 by Matt Palmer.
18
+ * Deleted duplicated History entry. Pull request #10 by Yuji Yamamoto.
19
+
20
+ === 10.4.1 / 2014-12-01
21
+
22
+ Bug fixes:
23
+
24
+ * Reverted fix for #277 as it caused numerous issues for rake users.
25
+ rails/spring issue #366 by Gustavo Dutra.
26
+
27
+ === 10.4.0 / 2014-11-22
28
+
29
+ Enhancements:
30
+
31
+ * Upgraded to minitest 5. Pull request #292 by Teo Ljungberg.
32
+ * Added support for Pathname in rake tasks. Pull request #271 by Randy
33
+ Coulman.
34
+ * Rake now ignores falsy dependencies which allows for easier programmatic
35
+ creation of tasks. Pull request #273 by Manav.
36
+ * Rake no longer edits ARGV. This allows you to re-exec rake from a rake
37
+ task. Issue #277 by Matt Palmer.
38
+ * Etc.nprocessors is used for counting the number of CPUs.
39
+
40
+ Bug fixes:
41
+
42
+ * Updated rake manpage. Issue #283 by Nathan Long, pull request #291 by
43
+ skittleys.
44
+ * Add Rake::LATE to allow rebuilding of files that depend on deleted files.
45
+ Bug #286, pull request #287 by David Grayson.
46
+ * Fix relinking of files when repackaging. Bug #276 by Muenze.
47
+ * Fixed some typos. Pull request #280 by Jed Northridge.
48
+ * Try counting CPUs via cpuinfo if host_os was not matched. Pull request
49
+ #282 by Edouard B.
50
+
51
+ === 10.3.2 / 2014-05-15
52
+
53
+ Bug fixes:
54
+
55
+ * Rake no longer infinitely loops when showing exception causes that refer to
56
+ each other. Bug #272 by Chris Bandy.
57
+ * Fixed documentation typos. Bug #275 by Jake Worth.
58
+
59
+ === 10.3.1 / 2014-04-17
60
+
61
+ Bug fixes:
62
+
63
+ * Really stop reporting an error when cleaning already-deleted files. Pull
64
+ request #269 by Randy Coulman
65
+ * Fixed infinite loop when cleaning already-deleted files on windows.
66
+
67
+ === 10.3 / 2014-04-15
68
+
69
+ Enhancements:
70
+
71
+ * Added --build-all option to rake which treats all file prerequisites as
72
+ out-of-date. Pull request #254 by Andrew Gilbert.
73
+ * Added Rake::NameSpace#scope. Issue #263 by Jon San Miguel.
74
+
75
+ Bug fixes:
76
+
77
+ * Suppress org.jruby package files in rake error messages for JRuby users.
78
+ Issue #213 by Charles Nutter.
79
+ * Fixed typo, removed extra "h". Pull request #267 by Hsing-Hui Hsu.
80
+ * Rake no longer reports an error when cleaning already-deleted files. Pull
81
+ request #266 by Randy Coulman.
82
+ * Consume stderr while determining CPU count to avoid hang. Issue #268 by
83
+ Albert Sun.
84
+
85
+ === 10.2.2 / 2014-03-27
86
+
87
+ Bug fixes:
88
+
89
+ * Restored Ruby 1.8.7 compatibility
90
+
91
+ === 10.2.1 / 2014-03-25
92
+
93
+ Bug fixes:
94
+
95
+ * File tasks including a ':' are now top-level tasks again. Issue #262 by
96
+ Josh Holtrop.
97
+ * Use sysctl for CPU count for all BSDs. Pull request #261 by Joshua Stein.
98
+ * Fixed CPU detection for unknown platforms.
99
+
100
+ === 10.2.0 / 2014-03-24
101
+
102
+ Enhancements:
103
+
104
+ * Rake now requires Ruby 1.9 or newer. For me, this is a breaking change, but
105
+ it seems that Jim planned to release it with Rake 10.2. See also pull
106
+ request #247 by Philip Arndt.
107
+ * Rake now allows you to declare tasks under a namespace like:
108
+
109
+ task 'a:b' do ... end
110
+
111
+ Pull request #232 by Judson Lester.
112
+ * Task#source defaults to the first prerequisite in non-rule tasks. Pull
113
+ request #215 by Avdi Grimm.
114
+ * Rake now automatically rebuilds and reloads imported files. Pull request
115
+ #209 by Randy Coulman.
116
+ * The rake task arguments can contain escaped commas. Pull request #214 by
117
+ Filip Hrbek.
118
+ * Rake now prints the exception class on errors. Patch #251 by David Cornu.
119
+
120
+ Bug fixes:
121
+
122
+ * Fixed typos. Pull request #256 by Valera Rozuvan, #250 via Jake Worth, #260
123
+ by Zachary Scott.
124
+ * Fixed documentation for calling tasks with arguments. Pull request #235 by
125
+ John Varghese.
126
+ * Clarified `rake -f` usage message. Pull request #252 by Marco Pfatschbacher.
127
+ * Fixed a test failure on windows. Pull request #231 by Hiroshi Shirosaki.
128
+ * Fixed corrupted rake.1.gz. Pull request #225 by Michel Boaventura.
129
+ * Fixed bug in can_detect_signals? in test. Patch from #243 by Alexey
130
+ Borzenkov.
131
+
132
+ === 10.1.1 and earlier
133
+
134
+ Additions to the old CHANGES file were not made consistently so some
135
+ versions are missing from this file. These changes are usually described in
136
+ the individual release notes files.
137
+
138
+ === 0.9.3
139
+
140
+ * The rake test loader now removes arguments it has processed. Issue #51
141
+ * Rake::TaskArguments now responds to #values_at
142
+ * RakeFileUtils.verbose_flag = nil silences output the same as 0.8.7
143
+ * Rake tests are now directory-independent
144
+ * Rake tests are no longer require flexmock
145
+ * Commands constant is no longer polluting top level namespace.
146
+ * Show only the interesting portion of the backtrace by default (James M. Lawrence).
147
+ * Added --reduce-compat optiont to remove backward compatible DSL hacks (James M. Lawrence).
148
+ * lib/rake/file_list.rb (Rake::FileList#egrep): there is no need to
149
+ open files in binary mode. (NAKAMURA Usaku)
150
+
151
+ === 0.9.2
152
+
153
+ * Unknown
154
+
155
+ === 0.9.1
156
+
157
+ * Added deprecation warnings to the Rake DSL methods.
158
+
159
+ === 0.9.0
160
+
161
+ * *Incompatible* *change*: Rake DSL commands ('task', 'file', etc.) are
162
+ no longer private methods in Object. If you need to call 'task :xzy' inside
163
+ your class, include Rake::DSL into the class. The DSL is still available at
164
+ the top level scope (via the top level object which extends Rake::DSL).
165
+
166
+ * Rake now warns when the deprecated :needs syntax used.
167
+
168
+ * Rake history is now UTF-8 encoded.
169
+
170
+ * Rake now uses case-insensitive comparisons to find the Rakefile on Windows.
171
+ Based on patch by Roger Pack.
172
+
173
+ * Rake now requires (instead of loads) files in the test task. Patch by Cezary
174
+ Baginski.
175
+
176
+ * Fixed typos. Patches by Sean Scot August Moon and R.T. Lechow.
177
+
178
+ * Rake now prints the Rakefile directory only when it's different from the
179
+ current directory. Patch by Alex Chaffee.
180
+
181
+ * Improved rakefile_location discovery on Windows. Patch by James Tucker.
182
+
183
+ * Rake now recognizes "Windows Server" as a windows system. Patch by Matthias
184
+ Lüdtke
185
+
186
+ * Rake::RDocTask is deprecated. Use RDoc::Task from RDoc 2.4.2+ (require
187
+ 'rdoc/task')
188
+
189
+ * Rake::GemPackageTask is deprecated. Use Gem::PackageTask (require
190
+ 'rubygems/package_task')
191
+
192
+ * Rake now outputs various messages to $stderr instead of $stdout.
193
+
194
+ * Rake no longer emits warnings for Config. Patch by Santiago Pastorino.
195
+
196
+ * Split rake.rb into individual files.
197
+
198
+ * Support for the --where (-W) flag for showing where a task is defined.
199
+
200
+ * Fixed quoting in test task.
201
+ (http://onestepback.org/redmine/issues/show/44,
202
+ http://www.pivotaltracker.com/story/show/1223138)
203
+
204
+ * Fixed the silent option parsing problem.
205
+ (http://onestepback.org/redmine/issues/show/47)
206
+
207
+ * Fixed :verbose=>false flag on sh and ruby commands.
208
+
209
+ * Rake command line options may be given by default in a RAKEOPT
210
+ environment variable.
211
+
212
+ * Errors in Rake will now display the task invocation chain in effect
213
+ at the time of the error.
214
+
215
+ * Accepted change by warnickr to not expand test patterns in shell
216
+ (allowing more files in the test suite).
217
+
218
+ * Fixed that file tasks did not perform prereq lookups in scope
219
+ (Redmine #57).
220
+
221
+ === 0.8.7
222
+
223
+ * Fixed EXEEXT for JRuby on windows.
224
+
225
+ === 0.8.6
226
+
227
+ * Minor fixes to the RDoc generation (removed dependency on darkfish
228
+ and removed inline source option).
229
+
230
+ * Now allow # comments to comment a task definition.
231
+
232
+ === 0.8.5
233
+
234
+ * Better support for the system command on Windows.
235
+
236
+ === 0.8.4
237
+
238
+ * Preserve case when locating rakefiles (patch from James
239
+ M. Lawrence/quix)
240
+
241
+ * Better support for windows paths in the test task (patch from Simon
242
+ Chiang/bahuvrihi)
243
+
244
+ * Windows system dir search order is now: HOME, HOMEDRIVE + HOMEPATH,
245
+ APPDATA, USERPROFILE (patch from Luis Lavena)
246
+
247
+ * MingGW is now recognized as a windows platform. (patch from Luis
248
+ Lavena)
249
+
250
+ * Numerous fixes to the windows test suite (patch from Luis Lavena).
251
+
252
+ * Improved Rakefile case insensitivity testing (patch from Luis
253
+ Lavena).
254
+
255
+ * Fixed stray ARGV option problem that was interfering with
256
+ Test::Unit::Runner.
257
+
258
+ * Fixed default verbose mode (was accidently changed to false).
259
+
260
+ * Removed reference to manage_gem to fix the warning produced by the
261
+ gem package task.
262
+
263
+ === 0.8.3
264
+
265
+ * Enhanced the system directory detection in windows. We now check
266
+ HOMEDRIVE/HOMEPATH and USERPROFILE if APPDATA isn't found. (Patch
267
+ supplied by James Tucker). Rake no long aborts if it can't find the
268
+ directory.
269
+
270
+ * Added fix to handle ruby installations in directories with spaces in
271
+ their name.
272
+
273
+ === 0.8.2
274
+
275
+ * Fixed bug in package task so that it will include the subdir
276
+ directory in the package for testing. (Bug found by Adam Majer)
277
+
278
+ * Added ENV var to rakefile to prevent OS X from including extended
279
+ attribute junk in a tar file. (Bug found by Adam Majer)
280
+
281
+ * Fixed filename dependency order bug in test_inspect_pending and
282
+ test_to_s_pending. (Bug found by Adam Majer)
283
+
284
+ * Fixed check for file utils options to make them immune to the
285
+ symbol/string differences. (Patch supplied by Edwin Pratomo)
286
+
287
+ * Fixed bug with rules involving multiple source (Patch supplied by
288
+ Emanuel Indermühle)
289
+
290
+ * Switched from getoptlong to optparse (patches supplied by Edwin
291
+ Pratomo)
292
+
293
+ * The -T option will now attempt to dynamically sense the size of the
294
+ terminal. RAKE_COLUMNS will override any dynamic sensing.
295
+
296
+ * FileList#clone and FileList#dup have better sematics w.r.t. taint
297
+ and freeze.
298
+
299
+ * Added ability clear prerequisites, and/or actions from an existing
300
+ task.
301
+
302
+ * Added the ability to reenable a task to be invoked a second time.
303
+
304
+ * Changed RDoc test task to have no default template. This makes it
305
+ easier for the tempate to pick up the template from the environment.
306
+
307
+ * Changed from using Mutex to Monitor. Evidently Mutex causes thread
308
+ join errors when Ruby is compiled with -disable-pthreads. (Patch
309
+ supplied by Ittay Dror)
310
+
311
+ * Fixed bug in makefile parser that had problems with extra spaces in
312
+ file task names. (Patch supplied by Ittay Dror)
313
+
314
+ * Added a performance patch for reading large makefile dependency
315
+ files. (Patch supplied by Ittay Dror)
316
+
317
+ * Default values for task arguments can easily be specified with the
318
+ :with_defaults method. (Idea for default argument merging supplied
319
+ by (Adam Q. Salter)
320
+
321
+ * The -T output will only self-truncate if the output is a tty.
322
+ However, if RAKE_COLUMNS is explicitly set, it will be honored in
323
+ any case. (Patch provided by Gavin Stark).
324
+
325
+ * Numerous fixes for running under windows. A big thanks to Bheeshmar
326
+ Redheendran for spending a good part of the afternoon at the
327
+ Lonestar Ruby Conference to help me work out these issues.
328
+
329
+ === 0.8.1
330
+
331
+ * Removed requires on parsedate.rb (in Ftptools)
332
+ * Removed ftools from rake.rb. Made it options in sys.rb
333
+
334
+ === 0.8.0
335
+
336
+ * Added task parameters (e.g. "rake build[version7]")
337
+ * Made task parameters passable to prerequisites.
338
+ * Comments are limited to 80 columns or so (suggested by Jamis Buck).
339
+ * Added -D to display full comments (suggested by Jamis Buck).
340
+ * The rake program will set the status value used in any explicit
341
+ exit(n) calls. (patch provided by Stephen Touset)
342
+ * Fixed error in functional tests that were not including session (and
343
+ silently skipping the functionl tests.
344
+ * Removed --usage and make -h the same as -H.
345
+ * Make a prettier inspect for tasks.
346
+
347
+ === 0.7.3
348
+
349
+ * Added existing and existing! methods to FileList
350
+ * FileLists now claim to be Arrays (via is_a?) to get better support
351
+ from the FileUtil module.
352
+ * Added init and top_level for custom rake applications.
353
+
354
+ === 0.7.2
355
+
356
+ * Error messages are now send to stderr rather than stdout (from
357
+ Payton Quackenbush).
358
+ * Better error handling on invalid command line arguments (from Payton
359
+ Quackenbush).
360
+ * Added rcov task and updated unit testing for better code coverage.
361
+ * Fixed some bugs where the application object was going to the global
362
+ appliation instead of using its own data.
363
+ * Added square and curly bracket patterns to FileList#include (Tilman
364
+ Sauerbeck).
365
+ * Added plain filename support to rule dependents (suggested by Nobu
366
+ Nakada).
367
+ * Added pathmap support to rule dependents.
368
+ * Added a 'tasks' method to a namespace to get a list of tasks
369
+ associated with the namespace.
370
+ * Fixed the method name leak from FileUtils (bug found by Glenn
371
+ Vanderburg).
372
+ * Added rake_extension to handle detection of extension collisions.
373
+ * Added test for noop, bad_option and verbose flags to sh command.
374
+ * Removed dependency on internal fu_xxx functions from FileUtils.
375
+ * Added a 'shame' task to the Rakefile.
376
+ * Added tar_command and zip_command options to the Package task.
377
+ * Added a description to the gem task in GemPackageTask.
378
+ * Fixed a bug when rules have multiple prerequisites (patch by Joel
379
+ VanderWerf)
380
+ * Added a protected 'require "rubygems"' to test/test_application to
381
+ unbreak cruisecontrol.rb.
382
+ * Added the handful of RakeFileUtils to the private method as well.
383
+ * Added block based exclusion.
384
+ * The clean task will no longer delete 'core' if it is a directory.
385
+ * Removed rake_dup. Now we just simply rescue a bad dup.
386
+ * Refactored the FileList reject logic to remove duplication.
387
+ * Removed if __FILE__ at the end of the rake.rb file.
388
+
389
+ === 0.7.1
390
+
391
+ * Added optional filter parameter to the --tasks command line option.
392
+ * Added flatten to allow rule transform procs to return lists of
393
+ prereqs (Joel VanderWerf provided patch).
394
+ * Added pathmap to String and FileList.
395
+ * The -r option will now load .rake files (but a straight require
396
+ doesn't yet). NOTE: This is experimental ... it may be
397
+ discontinued.
398
+ * The -f option without a value will disable the search for a
399
+ Rakefile. The assumption is that the -r files are adequate.
400
+ * Fixed the safe_ln function to fall back to cp in more error
401
+ scenarios.
402
+
403
+ === 0.7.0
404
+
405
+ * Added Rake.original_dir to return the original starting directory of
406
+ the rake application.
407
+ * Added safe_ln support for openAFS (from Ludvig Omholt).
408
+ * Added --trace reminder on short exception messages (David Heinemeier
409
+ Hansson suggestion).
410
+ * Added multitask declaration that executes prerequisites in
411
+ parallel. (Doug Young providied an initial implementation).
412
+ * Fixed missing_const hack to be compatible with Rails. (Jamis Buck
413
+ supplied test case).
414
+ * Made the RDoc task default to internal (in-process) RDoc formatting.
415
+ The old behavior is still available by setting the +external+ flag
416
+ to true.
417
+ * Rakefiles are now loaded with the expanded path to prevent
418
+ accidental polution from the Ruby load path.
419
+ * The +namespace+ command now returns a NameSpace object that can be
420
+ used to lookup tasks defined in that namespace. This allows for
421
+ better anonymous namespace behavior.
422
+ * Task objects my now be used in prerequisite lists directly.
423
+
424
+ === 0.6.1
425
+
426
+ * Rebuilt 0.6.0 gem without signing.
427
+
428
+ === 0.6.0
429
+
430
+ * Fixed file creation bug in the unit tests (caused infinite loop on
431
+ windows).
432
+ * Fixed bug where session based functional tests were run under
433
+ windows.
434
+ * Fixed bug in directory tasks so that updating a directory will not
435
+ retrigger file tasks depending on the directory (see
436
+ FileCreationTask and EarlyTime).
437
+ * Added egrep to FileList
438
+ * ruby command now runs same ruby version as rake.
439
+ * Added investigation to task object. (suggested by Martin Fowler)
440
+ * Added ruby_opts to the test task to allow arbitrary ruby options to
441
+ be passed to the test script. (Greg Fast)
442
+ * Fixed the test loader to ignore options. (Greg Fast)
443
+ * Moved Task, FileTask, FileCreationTask and RakeApp into the Rake
444
+ module namespace. Old style namespace behavior can be invoked via
445
+ the --classic-namespace option. (requested by Kelly Felkins).
446
+ * GemTask is now sensitive to the gem platform (Masao Mutoh).
447
+ * A non-existing file prerequisite will no longer cause an exception
448
+ (Philipp Neubeck).
449
+ * Multiple prerequisites on Rake rules now allowed (initial patch
450
+ supplied by Stuart Jansen).
451
+
452
+ === 0.5.4
453
+
454
+ * Added double quotes to the test runner.
455
+ * Added .svn to default ignore list.
456
+ * Updated FileList#include to support nested arrays and filelists.
457
+
458
+ === 0.5.3
459
+
460
+ * Added support for importing Rakefile and other dependencies.
461
+ * Fixed bug so that now rules can chain off of existing tasks as well
462
+ as existing files.
463
+ * Fixed verbose flag bug in the testing task. Shortened some failure
464
+ messages.
465
+ * Make FileUtils methods private at the top level module to avoid
466
+ accidental method leaking into other objects.
467
+ * Added test loader option to test task. "testrb" is no longer the
468
+ default test loader. It is now eating syntax errors that should
469
+ halt the unit tests.
470
+ * Revamped FileList so that it works more like and array (addressed
471
+ flatten bug). Added many tests around file list.
472
+ * Added +ext+ method to both String and FileList.
473
+
474
+ === 0.5.0
475
+
476
+ * Fixed documentation that was lacking the Rake module name (Tilman
477
+ Sauerbeck).
478
+ * Added tar.gz and tar.bz2 support to package task (Tilman Sauerbeck).
479
+ * Recursive rules are now supported (Tilman Sauerbeck).
480
+ * Added warning option for the Test Task (requested by Eric Hodel).
481
+ * The jamis rdoc template is only used if it exists.
482
+ * Added fix for Ruby 1.8.2 test/unit and rails problem.
483
+ * Added contributed rake man file (Jani Monoses).
484
+ * Added Brian Candler's fix for problems in --trace and --dry-run
485
+ mode.
486
+
487
+ === 0.4.15
488
+
489
+ * Fixed a bug that prevented the TESTOPTS flag from working with the
490
+ revised for 1.8.2 test task.
491
+ * Updated the docs on --trace to indicate that it also enables a full
492
+ backtrace on errors.
493
+
494
+ === 0.4.14
495
+
496
+ * Modified the TestTask to workaround the Ruby 1.8.2 change in
497
+ autoexecuting unit tests.
498
+
499
+ === 0.4.13
500
+
501
+ * Fixed the dry-run flag so it is operating again.
502
+ * Multiple arguments to sh and ruby commands will not be interpreted
503
+ by the shell (patch provided by Jonathan Paisley).
504
+
505
+ === 0.4.12
506
+
507
+ * Added --silent (-s) to suppress the (in directory) rake message.
508
+
509
+ === 0.4.11
510
+
511
+ * Changed the "don't know how to rake" message (finally)
512
+ * Changes references to a literal "Rakefile" to reference the global
513
+ variable $rakefile (which contains the actual name of the rakefile).
514
+
515
+ === 0.4.10
516
+
517
+ * Added block support to the "sh" command, allowing users to take
518
+ special actions on the result of the system call. E.g.
519
+
520
+ sh "shell_command" do |ok, res|
521
+ puts "Program returned #{res.exitstatus}" if ! ok
522
+ end
523
+
524
+ === 0.4.9
525
+
526
+ * Switched to Jamis Buck's RDoc template.
527
+ * Removed autorequire from Rake's gem spec. This prevents the Rake
528
+ libraries from loading while using rails.
529
+
530
+ === 0.4.8
531
+
532
+ * Added support for .rb versions of Rakefile.
533
+ * Removed \\\n's from test task.
534
+ * Fixed Ruby 1.9 compatibility issue with FileList.
535
+
536
+ === 0.4.7
537
+
538
+ * Fixed problem in FileList that caused Ruby 1.9 to go into infinite
539
+ recursion. Since to_a was removed from Object, it does not need to
540
+ added back into the list of methods to rewrite in FileList. (Thanks
541
+ to Kent Sibilev for pointing this out).
542
+
543
+ === 0.4.6
544
+ * Removed test version of ln in FileUtils that prevented safe_ln from
545
+ using ln.
546
+
547
+ === 0.4.5
548
+ * Upgraded comments in TestTask.
549
+ * FileList to_s and inspect now automatically resolve pending changes.
550
+ * FileList#exclude properly returns the FileList.
551
+
552
+ === 0.4.4
553
+ * Fixed initialization problem with @comment.
554
+ * Now using multi -r technique in TestTask. Switch Rakefile back to
555
+ using the built-in test task macros because the rake runtime is no
556
+ longer needed.
557
+ * Added 'TEST=filename' and 'TESTOPTS=options' to the Test Task
558
+ macros.
559
+ * Allow a +test_files+ attribute in test tasks. This allows more
560
+ flexibility in specifying test files.
561
+
562
+ === 0.4.3
563
+ * Fixed Comment leakage.
564
+
565
+ === 0.4.2
566
+ * Added safe_ln that falls back to a copy if a file link is not supported.
567
+ * Package builder now uses safe_ln.
568
+
569
+ === 0.4.1
570
+ * Task comments are now additive, combined with "/".
571
+ * Works with (soon to be released) rubygems 0.6.2 (or 0.7.0)
572
+
573
+ === 0.4.0
574
+ * FileList now uses deferred loading. The file system is not searched
575
+ until the first call that needs the file names.
576
+ * VAR=VALUE options are now accepted on the command line and are
577
+ treated like environment variables. The values may be tested in a
578
+ Rakefile by referencing ENV['VAR'].
579
+ * File.mtime is now used (instead of File.new().mtime).
580
+
581
+ === 0.3.2.x
582
+
583
+ * Removed some hidden dependencies on rubygems. Tests now will test
584
+ gems only if they are installed.
585
+ * Removed Sys from some example files. I believe that is that last
586
+ reference to Sys outside of the contrib area.
587
+ * Updated all copyright notices to include 2004.
588
+
589
+ === 0.3.2
590
+
591
+ * GEM Installation now works with the application stub.
592
+
593
+ === 0.3.1
594
+
595
+ * FileLists now automatically ignore CVS, .bak, !
596
+ * GEM Installation now works.
597
+
598
+ === 0.3.0
599
+
600
+ Promoted 0.2.10.
601
+
602
+ === 0.2.10
603
+ General
604
+
605
+ * Added title to Rake's rdocs
606
+ * Contrib packages are no longer included in the documentation.
607
+
608
+ RDoc Issues
609
+
610
+ * Removed default for the '--main' option
611
+ * Fixed rendering of the rdoc options
612
+ * Fixed clean/clobber confusion with rerdoc
613
+ * 'title' attribute added
614
+
615
+ Package Task Library Issues
616
+
617
+ * Version (or explicit :noversion) is required.
618
+ * +package_file+ attribute is now writable
619
+
620
+ FileList Issues
621
+
622
+ * Dropped bang version of exclude. Now using ant-like include/exclude semantics.
623
+ * Enabled the "yield self" idiom in FileList#initialize.
624
+
625
+ === 0.2.9
626
+
627
+ This version contains numerous changes as the RubyConf.new(2003)
628
+ presentation was being prepared. The changes include:
629
+
630
+ * The monolithic rubyapp task library is in the process of being
631
+ dropped in favor of lighter weight task libraries.
632
+
633
+ === 0.2.7
634
+
635
+ * Added "desc" for task descriptions.
636
+ * -T will now display tasks with descriptions.
637
+ * -P will display tasks and prerequisites.
638
+ * Dropped the Sys module in favor of the 1.8.x FileUtils module. Sys
639
+ is still supported in the contrib area.
640
+
641
+ === 0.2.6
642
+
643
+ * Moved to RubyForge
644
+
645
+ === 0.2.5
646
+
647
+ * Switched to standard ruby app builder.
648
+ * Added no_match option to file matcher.
649
+
650
+ === 0.2.4
651
+
652
+ * Fixed indir, which neglected to actually change directories.
653
+
654
+ === 0.2.3
655
+
656
+ * Added rake module for a help target
657
+ * Added 'for_files' to Sys
658
+ * Added a $rakefile constant
659
+ * Added test for selecting proper rule with multiple targets.