social_url_stats 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (831) hide show
  1. checksums.yaml +15 -0
  2. data/.gitignore +17 -0
  3. data/.ruby-version +1 -0
  4. data/Gemfile +12 -0
  5. data/LICENSE.txt +22 -0
  6. data/README.md +59 -0
  7. data/Rakefile +7 -0
  8. data/lib/social_url_stats.rb +8 -0
  9. data/lib/social_url_stats/counter.rb +54 -0
  10. data/lib/social_url_stats/version.rb +3 -0
  11. data/social_url_stats.gemspec +23 -0
  12. data/test/counter_test.rb +66 -0
  13. data/test/test_helper.rb +7 -0
  14. data/vendor/ruby/1.9.1/bin/cdiff +23 -0
  15. data/vendor/ruby/1.9.1/bin/colortab +23 -0
  16. data/vendor/ruby/1.9.1/bin/decolor +23 -0
  17. data/vendor/ruby/1.9.1/bin/rake +23 -0
  18. data/vendor/ruby/1.9.1/bin/term_display +23 -0
  19. data/vendor/ruby/1.9.1/bin/term_mandel +23 -0
  20. data/vendor/ruby/1.9.1/bin/watchr +23 -0
  21. data/vendor/ruby/1.9.1/build_info/active_support-3.0.0.info +1 -0
  22. data/vendor/ruby/1.9.1/build_info/activesupport-3.0.0.info +1 -0
  23. data/vendor/ruby/1.9.1/build_info/autotest-fsevent-0.2.9.info +1 -0
  24. data/vendor/ruby/1.9.1/build_info/autotest-growl-0.2.16.info +1 -0
  25. data/vendor/ruby/1.9.1/build_info/autotest-standalone-4.5.11.info +1 -0
  26. data/vendor/ruby/1.9.1/build_info/ffi-1.9.3.info +1 -0
  27. data/vendor/ruby/1.9.1/build_info/i18n-0.6.9.info +1 -0
  28. data/vendor/ruby/1.9.1/build_info/minitest-5.2.0.info +1 -0
  29. data/vendor/ruby/1.9.1/build_info/mynyml-redgreen-0.7.1.info +1 -0
  30. data/vendor/ruby/1.9.1/build_info/rake-10.1.0.info +1 -0
  31. data/vendor/ruby/1.9.1/build_info/ruby-fsevent-0.2.1.info +1 -0
  32. data/vendor/ruby/1.9.1/build_info/sys-uname-0.9.2.info +1 -0
  33. data/vendor/ruby/1.9.1/build_info/term-ansicolor-1.2.2.info +1 -0
  34. data/vendor/ruby/1.9.1/build_info/tins-0.13.1.info +1 -0
  35. data/vendor/ruby/1.9.1/build_info/vcr-2.8.0.info +1 -0
  36. data/vendor/ruby/1.9.1/build_info/watchr-0.7.info +1 -0
  37. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/CHANGELOG +1457 -0
  38. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/README.rdoc +33 -0
  39. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support.rb +79 -0
  40. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/all.rb +3 -0
  41. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/backtrace_cleaner.rb +94 -0
  42. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/base64.rb +42 -0
  43. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/basic_object.rb +21 -0
  44. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/benchmarkable.rb +60 -0
  45. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/buffered_logger.rb +136 -0
  46. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/builder.rb +6 -0
  47. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/cache.rb +638 -0
  48. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/cache/compressed_mem_cache_store.rb +13 -0
  49. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/cache/file_store.rb +189 -0
  50. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/cache/mem_cache_store.rb +190 -0
  51. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/cache/memory_store.rb +159 -0
  52. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/cache/strategy/local_cache.rb +164 -0
  53. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/cache/synchronized_memory_store.rb +11 -0
  54. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/callbacks.rb +600 -0
  55. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/concern.rb +64 -0
  56. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/configurable.rb +36 -0
  57. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext.rb +3 -0
  58. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/array.rb +7 -0
  59. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/array/access.rb +46 -0
  60. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/array/conversions.rb +164 -0
  61. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/array/extract_options.rb +29 -0
  62. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/array/grouping.rb +100 -0
  63. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/array/random_access.rb +27 -0
  64. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/array/uniq_by.rb +17 -0
  65. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/array/wrap.rb +48 -0
  66. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/benchmark.rb +7 -0
  67. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/big_decimal.rb +1 -0
  68. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/big_decimal/conversions.rb +27 -0
  69. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/cgi.rb +1 -0
  70. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/cgi/escape_skipping_slashes.rb +19 -0
  71. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/class.rb +5 -0
  72. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/class/attribute.rb +90 -0
  73. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/class/attribute_accessors.rb +79 -0
  74. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/class/delegating_attributes.rb +44 -0
  75. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/class/inheritable_attributes.rb +254 -0
  76. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/class/subclasses.rb +50 -0
  77. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/date/acts_like.rb +8 -0
  78. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/date/calculations.rb +241 -0
  79. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/date/conversions.rb +99 -0
  80. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/date/freeze.rb +31 -0
  81. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/date/zones.rb +14 -0
  82. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/date_time/acts_like.rb +13 -0
  83. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/date_time/calculations.rb +114 -0
  84. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/date_time/conversions.rb +103 -0
  85. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/date_time/zones.rb +21 -0
  86. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/enumerable.rb +120 -0
  87. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/exception.rb +3 -0
  88. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/file.rb +2 -0
  89. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/file/atomic.rb +41 -0
  90. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/file/path.rb +5 -0
  91. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/float.rb +1 -0
  92. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/float/rounding.rb +19 -0
  93. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/hash.rb +8 -0
  94. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/hash/conversions.rb +150 -0
  95. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/hash/deep_merge.rb +16 -0
  96. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/hash/diff.rb +13 -0
  97. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/hash/except.rb +23 -0
  98. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/hash/indifferent_access.rb +12 -0
  99. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/hash/keys.rb +45 -0
  100. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/hash/reverse_merge.rb +28 -0
  101. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/hash/slice.rb +38 -0
  102. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/integer.rb +3 -0
  103. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/integer/inflections.rb +14 -0
  104. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/integer/multiple.rb +6 -0
  105. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/integer/time.rb +39 -0
  106. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/kernel.rb +5 -0
  107. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/kernel/agnostics.rb +11 -0
  108. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/kernel/debugger.rb +16 -0
  109. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/kernel/reporting.rb +62 -0
  110. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/kernel/requires.rb +26 -0
  111. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/kernel/singleton_class.rb +13 -0
  112. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/load_error.rb +23 -0
  113. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/logger.rb +108 -0
  114. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/module.rb +12 -0
  115. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/module/aliasing.rb +70 -0
  116. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/module/anonymous.rb +24 -0
  117. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/module/attr_accessor_with_default.rb +31 -0
  118. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/module/attr_internal.rb +32 -0
  119. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/module/attribute_accessors.rb +60 -0
  120. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/module/delegation.rb +146 -0
  121. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/module/deprecation.rb +9 -0
  122. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/module/introspection.rb +88 -0
  123. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/module/method_names.rb +14 -0
  124. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/module/reachable.rb +10 -0
  125. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/module/remove_method.rb +11 -0
  126. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/module/synchronization.rb +42 -0
  127. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/name_error.rb +18 -0
  128. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/numeric.rb +2 -0
  129. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/numeric/bytes.rb +44 -0
  130. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/numeric/time.rb +77 -0
  131. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/object.rb +13 -0
  132. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/object/acts_like.rb +10 -0
  133. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/object/blank.rb +76 -0
  134. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/object/conversions.rb +4 -0
  135. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/object/duplicable.rb +65 -0
  136. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/object/instance_variables.rb +67 -0
  137. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/object/returning.rb +43 -0
  138. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/object/to_json.rb +19 -0
  139. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/object/to_param.rb +49 -0
  140. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/object/to_query.rb +27 -0
  141. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/object/try.rb +36 -0
  142. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/object/with_options.rb +26 -0
  143. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/proc.rb +14 -0
  144. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/process.rb +1 -0
  145. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/process/daemon.rb +23 -0
  146. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/range.rb +4 -0
  147. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/range/blockless_step.rb +29 -0
  148. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/range/conversions.rb +21 -0
  149. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/range/include_range.rb +21 -0
  150. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/range/overlaps.rb +8 -0
  151. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/regexp.rb +5 -0
  152. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/rexml.rb +46 -0
  153. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/string.rb +13 -0
  154. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/string/access.rb +99 -0
  155. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/string/behavior.rb +7 -0
  156. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/string/conversions.rb +53 -0
  157. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/string/encoding.rb +11 -0
  158. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/string/exclude.rb +6 -0
  159. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/string/filters.rb +49 -0
  160. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/string/inflections.rb +164 -0
  161. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/string/interpolation.rb +2 -0
  162. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/string/multibyte.rb +72 -0
  163. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/string/output_safety.rb +109 -0
  164. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/string/starts_ends_with.rb +4 -0
  165. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/string/strip.rb +24 -0
  166. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/string/xchar.rb +18 -0
  167. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/time/acts_like.rb +8 -0
  168. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/time/calculations.rb +287 -0
  169. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/time/conversions.rb +85 -0
  170. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/time/marshal.rb +56 -0
  171. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/time/publicize_conversion_methods.rb +10 -0
  172. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/time/zones.rb +75 -0
  173. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/uri.rb +22 -0
  174. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/dependencies.rb +662 -0
  175. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/dependencies/autoload.rb +50 -0
  176. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/deprecation.rb +18 -0
  177. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/deprecation/behaviors.rb +42 -0
  178. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/deprecation/method_wrappers.rb +29 -0
  179. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/deprecation/proxy_wrappers.rb +81 -0
  180. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/deprecation/reporting.rb +61 -0
  181. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/descendants_tracker.rb +43 -0
  182. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/duration.rb +105 -0
  183. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/file_update_checker.rb +36 -0
  184. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/gzip.rb +25 -0
  185. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/hash_with_indifferent_access.rb +151 -0
  186. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/i18n.rb +9 -0
  187. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/i18n_railtie.rb +81 -0
  188. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/inflections.rb +56 -0
  189. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/inflector.rb +7 -0
  190. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/inflector/inflections.rb +211 -0
  191. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/inflector/methods.rb +151 -0
  192. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/inflector/transliterate.rb +97 -0
  193. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/json.rb +2 -0
  194. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/json/backends/jsongem.rb +43 -0
  195. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/json/backends/yajl.rb +40 -0
  196. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/json/backends/yaml.rb +90 -0
  197. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/json/decoding.rb +51 -0
  198. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/json/encoding.rb +241 -0
  199. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/json/variable.rb +9 -0
  200. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/lazy_load_hooks.rb +46 -0
  201. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/locale/en.yml +36 -0
  202. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/log_subscriber.rb +122 -0
  203. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/log_subscriber/test_helper.rb +99 -0
  204. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/memoizable.rb +103 -0
  205. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/message_encryptor.rb +71 -0
  206. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/message_verifier.rb +62 -0
  207. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/multibyte.rb +44 -0
  208. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/multibyte/chars.rb +476 -0
  209. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/multibyte/exceptions.rb +8 -0
  210. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/multibyte/unicode.rb +392 -0
  211. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/multibyte/utils.rb +60 -0
  212. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/notifications.rb +78 -0
  213. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/notifications/fanout.rb +61 -0
  214. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/notifications/instrumenter.rb +54 -0
  215. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/option_merger.rb +25 -0
  216. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/ordered_hash.rb +179 -0
  217. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/ordered_options.rb +27 -0
  218. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/railtie.rb +60 -0
  219. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/rescuable.rb +114 -0
  220. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/ruby/shim.rb +22 -0
  221. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/secure_random.rb +199 -0
  222. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/string_inquirer.rb +21 -0
  223. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/test_case.rb +42 -0
  224. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/testing/assertions.rb +84 -0
  225. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/testing/declarative.rb +40 -0
  226. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/testing/default.rb +9 -0
  227. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/testing/deprecation.rb +55 -0
  228. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/testing/isolation.rb +157 -0
  229. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/testing/pending.rb +48 -0
  230. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/testing/performance.rb +425 -0
  231. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/testing/setup_and_teardown.rb +111 -0
  232. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/time.rb +35 -0
  233. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/time/autoload.rb +5 -0
  234. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/time_with_zone.rb +342 -0
  235. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/values/time_zone.rb +379 -0
  236. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/values/unicode_tables.dat +0 -0
  237. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/version.rb +9 -0
  238. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/whiny_nil.rb +60 -0
  239. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/xml_mini.rb +162 -0
  240. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/xml_mini/jdom.rb +168 -0
  241. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/xml_mini/libxml.rb +79 -0
  242. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/xml_mini/libxmlsax.rb +85 -0
  243. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/xml_mini/nokogiri.rb +83 -0
  244. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/xml_mini/nokogirisax.rb +88 -0
  245. data/vendor/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/xml_mini/rexml.rb +129 -0
  246. data/vendor/ruby/1.9.1/gems/minitest-5.2.0/.autotest +34 -0
  247. data/vendor/ruby/1.9.1/gems/minitest-5.2.0/.gemtest +0 -0
  248. data/vendor/ruby/1.9.1/gems/minitest-5.2.0/History.txt +967 -0
  249. data/vendor/ruby/1.9.1/gems/minitest-5.2.0/Manifest.txt +26 -0
  250. data/vendor/ruby/1.9.1/gems/minitest-5.2.0/README.txt +514 -0
  251. data/vendor/ruby/1.9.1/gems/minitest-5.2.0/Rakefile +67 -0
  252. data/vendor/ruby/1.9.1/gems/minitest-5.2.0/design_rationale.rb +52 -0
  253. data/vendor/ruby/1.9.1/gems/minitest-5.2.0/lib/hoe/minitest.rb +26 -0
  254. data/vendor/ruby/1.9.1/gems/minitest-5.2.0/lib/minitest.rb +766 -0
  255. data/vendor/ruby/1.9.1/gems/minitest-5.2.0/lib/minitest/assertions.rb +661 -0
  256. data/vendor/ruby/1.9.1/gems/minitest-5.2.0/lib/minitest/autorun.rb +12 -0
  257. data/vendor/ruby/1.9.1/gems/minitest-5.2.0/lib/minitest/benchmark.rb +423 -0
  258. data/vendor/ruby/1.9.1/gems/minitest-5.2.0/lib/minitest/expectations.rb +281 -0
  259. data/vendor/ruby/1.9.1/gems/minitest-5.2.0/lib/minitest/hell.rb +11 -0
  260. data/vendor/ruby/1.9.1/gems/minitest-5.2.0/lib/minitest/mock.rb +220 -0
  261. data/vendor/ruby/1.9.1/gems/minitest-5.2.0/lib/minitest/parallel.rb +40 -0
  262. data/vendor/ruby/1.9.1/gems/minitest-5.2.0/lib/minitest/pride.rb +4 -0
  263. data/vendor/ruby/1.9.1/gems/minitest-5.2.0/lib/minitest/pride_plugin.rb +143 -0
  264. data/vendor/ruby/1.9.1/gems/minitest-5.2.0/lib/minitest/spec.rb +277 -0
  265. data/vendor/ruby/1.9.1/gems/minitest-5.2.0/lib/minitest/test.rb +283 -0
  266. data/vendor/ruby/1.9.1/gems/minitest-5.2.0/lib/minitest/unit.rb +45 -0
  267. data/vendor/ruby/1.9.1/gems/minitest-5.2.0/test/minitest/metametameta.rb +80 -0
  268. data/vendor/ruby/1.9.1/gems/minitest-5.2.0/test/minitest/test_minitest_benchmark.rb +130 -0
  269. data/vendor/ruby/1.9.1/gems/minitest-5.2.0/test/minitest/test_minitest_mock.rb +489 -0
  270. data/vendor/ruby/1.9.1/gems/minitest-5.2.0/test/minitest/test_minitest_reporter.rb +313 -0
  271. data/vendor/ruby/1.9.1/gems/minitest-5.2.0/test/minitest/test_minitest_spec.rb +799 -0
  272. data/vendor/ruby/1.9.1/gems/minitest-5.2.0/test/minitest/test_minitest_unit.rb +1865 -0
  273. data/vendor/ruby/1.9.1/gems/mynyml-redgreen-0.7.1/.gitignore +2 -0
  274. data/vendor/ruby/1.9.1/gems/mynyml-redgreen-0.7.1/LICENSE +19 -0
  275. data/vendor/ruby/1.9.1/gems/mynyml-redgreen-0.7.1/Manifest +25 -0
  276. data/vendor/ruby/1.9.1/gems/mynyml-redgreen-0.7.1/README +32 -0
  277. data/vendor/ruby/1.9.1/gems/mynyml-redgreen-0.7.1/Rakefile +48 -0
  278. data/vendor/ruby/1.9.1/gems/mynyml-redgreen-0.7.1/lib/redgreen.rb +17 -0
  279. data/vendor/ruby/1.9.1/gems/mynyml-redgreen-0.7.1/lib/redgreen/minitest.rb +20 -0
  280. data/vendor/ruby/1.9.1/gems/mynyml-redgreen-0.7.1/lib/redgreen/nanotest.rb +9 -0
  281. data/vendor/ruby/1.9.1/gems/mynyml-redgreen-0.7.1/lib/redgreen/testunit.rb +21 -0
  282. data/vendor/ruby/1.9.1/gems/mynyml-redgreen-0.7.1/mynyml-redgreen.gemspec +22 -0
  283. data/vendor/ruby/1.9.1/gems/mynyml-redgreen-0.7.1/specs.watchr +25 -0
  284. data/vendor/ruby/1.9.1/gems/mynyml-redgreen-0.7.1/test/README +11 -0
  285. data/vendor/ruby/1.9.1/gems/mynyml-redgreen-0.7.1/test/contest/test_failure.rb +8 -0
  286. data/vendor/ruby/1.9.1/gems/mynyml-redgreen-0.7.1/test/contest/test_success.rb +8 -0
  287. data/vendor/ruby/1.9.1/gems/mynyml-redgreen-0.7.1/test/context/test_failure.rb +8 -0
  288. data/vendor/ruby/1.9.1/gems/mynyml-redgreen-0.7.1/test/context/test_success.rb +8 -0
  289. data/vendor/ruby/1.9.1/gems/mynyml-redgreen-0.7.1/test/minitest/test_failure.rb +8 -0
  290. data/vendor/ruby/1.9.1/gems/mynyml-redgreen-0.7.1/test/minitest/test_success.rb +8 -0
  291. data/vendor/ruby/1.9.1/gems/mynyml-redgreen-0.7.1/test/nanotest/test_failure.rb +5 -0
  292. data/vendor/ruby/1.9.1/gems/mynyml-redgreen-0.7.1/test/nanotest/test_success.rb +5 -0
  293. data/vendor/ruby/1.9.1/gems/mynyml-redgreen-0.7.1/test/shoulda/test_failure.rb +8 -0
  294. data/vendor/ruby/1.9.1/gems/mynyml-redgreen-0.7.1/test/shoulda/test_success.rb +8 -0
  295. data/vendor/ruby/1.9.1/gems/mynyml-redgreen-0.7.1/test/tests.rake +35 -0
  296. data/vendor/ruby/1.9.1/gems/mynyml-redgreen-0.7.1/test/testunit/test_failure.rb +8 -0
  297. data/vendor/ruby/1.9.1/gems/mynyml-redgreen-0.7.1/test/testunit/test_success.rb +8 -0
  298. data/vendor/ruby/1.9.1/gems/rake-10.1.0/.gemtest +0 -0
  299. data/vendor/ruby/1.9.1/gems/rake-10.1.0/CHANGES +530 -0
  300. data/vendor/ruby/1.9.1/gems/rake-10.1.0/MIT-LICENSE +21 -0
  301. data/vendor/ruby/1.9.1/gems/rake-10.1.0/README.rdoc +187 -0
  302. data/vendor/ruby/1.9.1/gems/rake-10.1.0/Rakefile +375 -0
  303. data/vendor/ruby/1.9.1/gems/rake-10.1.0/TODO +21 -0
  304. data/vendor/ruby/1.9.1/gems/rake-10.1.0/bin/rake +33 -0
  305. data/vendor/ruby/1.9.1/gems/rake-10.1.0/install.rb +80 -0
  306. data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake.rb +73 -0
  307. data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/alt_system.rb +108 -0
  308. data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/application.rb +728 -0
  309. data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/backtrace.rb +20 -0
  310. data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/clean.rb +55 -0
  311. data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/cloneable.rb +16 -0
  312. data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/contrib/compositepublisher.rb +21 -0
  313. data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/contrib/ftptools.rb +139 -0
  314. data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/contrib/publisher.rb +73 -0
  315. data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/contrib/rubyforgepublisher.rb +16 -0
  316. data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/contrib/sshpublisher.rb +50 -0
  317. data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/contrib/sys.rb +2 -0
  318. data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/default_loader.rb +10 -0
  319. data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/dsl_definition.rb +157 -0
  320. data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/early_time.rb +18 -0
  321. data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/ext/core.rb +28 -0
  322. data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/ext/module.rb +0 -0
  323. data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/ext/string.rb +166 -0
  324. data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/ext/time.rb +15 -0
  325. data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/file_creation_task.rb +24 -0
  326. data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/file_list.rb +416 -0
  327. data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/file_task.rb +46 -0
  328. data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/file_utils.rb +116 -0
  329. data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/file_utils_ext.rb +144 -0
  330. data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/gempackagetask.rb +2 -0
  331. data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/invocation_chain.rb +57 -0
  332. data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/invocation_exception_mixin.rb +16 -0
  333. data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/linked_list.rb +103 -0
  334. data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/loaders/makefile.rb +40 -0
  335. data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/multi_task.rb +13 -0
  336. data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/name_space.rb +25 -0
  337. data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/packagetask.rb +190 -0
  338. data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/pathmap.rb +1 -0
  339. data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/phony.rb +15 -0
  340. data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/private_reader.rb +20 -0
  341. data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/promise.rb +99 -0
  342. data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/pseudo_status.rb +29 -0
  343. data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/rake_module.rb +37 -0
  344. data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/rake_test_loader.rb +22 -0
  345. data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/rdoctask.rb +2 -0
  346. data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/ruby182_test_unit_fix.rb +27 -0
  347. data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/rule_recursion_overflow_error.rb +20 -0
  348. data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/runtest.rb +22 -0
  349. data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/scope.rb +42 -0
  350. data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/task.rb +378 -0
  351. data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/task_argument_error.rb +7 -0
  352. data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/task_arguments.rb +89 -0
  353. data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/task_manager.rb +297 -0
  354. data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/tasklib.rb +22 -0
  355. data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/testtask.rb +201 -0
  356. data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/thread_history_display.rb +48 -0
  357. data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/thread_pool.rb +161 -0
  358. data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/trace_output.rb +22 -0
  359. data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/version.rb +9 -0
  360. data/vendor/ruby/1.9.1/gems/rake-10.1.0/lib/rake/win32.rb +56 -0
  361. data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/file_creation.rb +34 -0
  362. data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/helper.rb +128 -0
  363. data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/support/rakefile_definitions.rb +444 -0
  364. data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/support/ruby_runner.rb +33 -0
  365. data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_private_reader.rb +42 -0
  366. data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_rake.rb +40 -0
  367. data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_rake_application.rb +517 -0
  368. data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_rake_application_options.rb +457 -0
  369. data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_rake_backtrace.rb +113 -0
  370. data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_rake_clean.rb +46 -0
  371. data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_rake_definitions.rb +79 -0
  372. data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_rake_directory_task.rb +57 -0
  373. data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_rake_dsl.rb +40 -0
  374. data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_rake_early_time.rb +31 -0
  375. data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_rake_extension.rb +59 -0
  376. data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_rake_file_creation_task.rb +56 -0
  377. data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_rake_file_list.rb +627 -0
  378. data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_rake_file_list_path_map.rb +8 -0
  379. data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_rake_file_task.rb +122 -0
  380. data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_rake_file_utils.rb +309 -0
  381. data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_rake_ftp_file.rb +74 -0
  382. data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_rake_functional.rb +466 -0
  383. data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_rake_invocation_chain.rb +64 -0
  384. data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_rake_linked_list.rb +84 -0
  385. data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_rake_makefile_loader.rb +46 -0
  386. data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_rake_multi_task.rb +58 -0
  387. data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_rake_name_space.rb +43 -0
  388. data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_rake_package_task.rb +79 -0
  389. data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_rake_path_map.rb +168 -0
  390. data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_rake_path_map_explode.rb +34 -0
  391. data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_rake_path_map_partial.rb +18 -0
  392. data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_rake_pseudo_status.rb +21 -0
  393. data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_rake_rake_test_loader.rb +20 -0
  394. data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_rake_reduce_compat.rb +26 -0
  395. data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_rake_require.rb +40 -0
  396. data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_rake_rules.rb +362 -0
  397. data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_rake_scope.rb +44 -0
  398. data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_rake_task.rb +376 -0
  399. data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_rake_task_argument_parsing.rb +103 -0
  400. data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_rake_task_arguments.rb +121 -0
  401. data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_rake_task_lib.rb +9 -0
  402. data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_rake_task_manager.rb +158 -0
  403. data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_rake_task_manager_argument_resolution.rb +19 -0
  404. data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_rake_task_with_arguments.rb +171 -0
  405. data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_rake_test_task.rb +119 -0
  406. data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_rake_thread_pool.rb +142 -0
  407. data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_rake_top_level_functions.rb +71 -0
  408. data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_rake_win32.rb +72 -0
  409. data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_thread_history_display.rb +101 -0
  410. data/vendor/ruby/1.9.1/gems/rake-10.1.0/test/test_trace_output.rb +52 -0
  411. data/vendor/ruby/1.9.1/gems/ruby-fsevent-0.2.1/.gitignore +5 -0
  412. data/vendor/ruby/1.9.1/gems/ruby-fsevent-0.2.1/History.md +27 -0
  413. data/vendor/ruby/1.9.1/gems/ruby-fsevent-0.2.1/LICENSE +20 -0
  414. data/vendor/ruby/1.9.1/gems/ruby-fsevent-0.2.1/README.md +54 -0
  415. data/vendor/ruby/1.9.1/gems/ruby-fsevent-0.2.1/Rakefile +57 -0
  416. data/vendor/ruby/1.9.1/gems/ruby-fsevent-0.2.1/VERSION +1 -0
  417. data/vendor/ruby/1.9.1/gems/ruby-fsevent-0.2.1/examples/print_changes.rb +19 -0
  418. data/vendor/ruby/1.9.1/gems/ruby-fsevent-0.2.1/examples/restart.rb +25 -0
  419. data/vendor/ruby/1.9.1/gems/ruby-fsevent-0.2.1/ext/extconf.rb +4 -0
  420. data/vendor/ruby/1.9.1/gems/ruby-fsevent-0.2.1/ext/fsevent.c +148 -0
  421. data/vendor/ruby/1.9.1/gems/ruby-fsevent-0.2.1/lib/fsevent.bundle +0 -0
  422. data/vendor/ruby/1.9.1/gems/ruby-fsevent-0.2.1/lib/fsevent/signal_ext.rb +48 -0
  423. data/vendor/ruby/1.9.1/gems/ruby-fsevent-0.2.1/ruby-fsevent.gemspec +65 -0
  424. data/vendor/ruby/1.9.1/gems/ruby-fsevent-0.2.1/spec/fsevent_spec.rb +41 -0
  425. data/vendor/ruby/1.9.1/gems/ruby-fsevent-0.2.1/spec/signal_ext_spec.rb +76 -0
  426. data/vendor/ruby/1.9.1/gems/ruby-fsevent-0.2.1/spec/spec_helper.rb +5 -0
  427. data/vendor/ruby/1.9.1/gems/term-ansicolor-1.2.2/.gitignore +6 -0
  428. data/vendor/ruby/1.9.1/gems/term-ansicolor-1.2.2/.travis.yml +11 -0
  429. data/vendor/ruby/1.9.1/gems/term-ansicolor-1.2.2/CHANGES +60 -0
  430. data/vendor/ruby/1.9.1/gems/term-ansicolor-1.2.2/COPYING +340 -0
  431. data/vendor/ruby/1.9.1/gems/term-ansicolor-1.2.2/Gemfile +5 -0
  432. data/vendor/ruby/1.9.1/gems/term-ansicolor-1.2.2/README.rdoc +55 -0
  433. data/vendor/ruby/1.9.1/gems/term-ansicolor-1.2.2/Rakefile +34 -0
  434. data/vendor/ruby/1.9.1/gems/term-ansicolor-1.2.2/VERSION +1 -0
  435. data/vendor/ruby/1.9.1/gems/term-ansicolor-1.2.2/bin/cdiff +19 -0
  436. data/vendor/ruby/1.9.1/gems/term-ansicolor-1.2.2/bin/colortab +48 -0
  437. data/vendor/ruby/1.9.1/gems/term-ansicolor-1.2.2/bin/decolor +12 -0
  438. data/vendor/ruby/1.9.1/gems/term-ansicolor-1.2.2/bin/term_display +91 -0
  439. data/vendor/ruby/1.9.1/gems/term-ansicolor-1.2.2/bin/term_mandel +52 -0
  440. data/vendor/ruby/1.9.1/gems/term-ansicolor-1.2.2/examples/ColorTest.gif +0 -0
  441. data/vendor/ruby/1.9.1/gems/term-ansicolor-1.2.2/examples/Mona_Lisa.jpg +0 -0
  442. data/vendor/ruby/1.9.1/gems/term-ansicolor-1.2.2/examples/Stilleben.jpg +0 -0
  443. data/vendor/ruby/1.9.1/gems/term-ansicolor-1.2.2/examples/example.rb +90 -0
  444. data/vendor/ruby/1.9.1/gems/term-ansicolor-1.2.2/examples/lambda-red-plain.ppm +135 -0
  445. data/vendor/ruby/1.9.1/gems/term-ansicolor-1.2.2/examples/lambda-red.png +0 -0
  446. data/vendor/ruby/1.9.1/gems/term-ansicolor-1.2.2/examples/lambda-red.ppm +4 -0
  447. data/vendor/ruby/1.9.1/gems/term-ansicolor-1.2.2/examples/pacman.jpg +0 -0
  448. data/vendor/ruby/1.9.1/gems/term-ansicolor-1.2.2/examples/smiley.png +0 -0
  449. data/vendor/ruby/1.9.1/gems/term-ansicolor-1.2.2/examples/wool.jpg +0 -0
  450. data/vendor/ruby/1.9.1/gems/term-ansicolor-1.2.2/lib/term/ansicolor.rb +228 -0
  451. data/vendor/ruby/1.9.1/gems/term-ansicolor-1.2.2/lib/term/ansicolor/.keep +0 -0
  452. data/vendor/ruby/1.9.1/gems/term-ansicolor-1.2.2/lib/term/ansicolor/attribute.rb +143 -0
  453. data/vendor/ruby/1.9.1/gems/term-ansicolor-1.2.2/lib/term/ansicolor/ppm_reader.rb +96 -0
  454. data/vendor/ruby/1.9.1/gems/term-ansicolor-1.2.2/lib/term/ansicolor/rgb_color_metrics.rb +161 -0
  455. data/vendor/ruby/1.9.1/gems/term-ansicolor-1.2.2/lib/term/ansicolor/rgb_triple.rb +121 -0
  456. data/vendor/ruby/1.9.1/gems/term-ansicolor-1.2.2/lib/term/ansicolor/version.rb +8 -0
  457. data/vendor/ruby/1.9.1/gems/term-ansicolor-1.2.2/term-ansicolor.gemspec +40 -0
  458. data/vendor/ruby/1.9.1/gems/term-ansicolor-1.2.2/tests/ansicolor_test.rb +133 -0
  459. data/vendor/ruby/1.9.1/gems/term-ansicolor-1.2.2/tests/attribute_test.rb +73 -0
  460. data/vendor/ruby/1.9.1/gems/term-ansicolor-1.2.2/tests/ppm_reader_test.rb +46 -0
  461. data/vendor/ruby/1.9.1/gems/term-ansicolor-1.2.2/tests/rgb_color_metrics_test.rb +100 -0
  462. data/vendor/ruby/1.9.1/gems/term-ansicolor-1.2.2/tests/rgb_triple_test.rb +71 -0
  463. data/vendor/ruby/1.9.1/gems/term-ansicolor-1.2.2/tests/test_helper.rb +8 -0
  464. data/vendor/ruby/1.9.1/gems/tins-0.13.1/.gitignore +9 -0
  465. data/vendor/ruby/1.9.1/gems/tins-0.13.1/.travis.yml +16 -0
  466. data/vendor/ruby/1.9.1/gems/tins-0.13.1/COPYING +18 -0
  467. data/vendor/ruby/1.9.1/gems/tins-0.13.1/Gemfile +9 -0
  468. data/vendor/ruby/1.9.1/gems/tins-0.13.1/README.rdoc +19 -0
  469. data/vendor/ruby/1.9.1/gems/tins-0.13.1/Rakefile +34 -0
  470. data/vendor/ruby/1.9.1/gems/tins-0.13.1/TODO +0 -0
  471. data/vendor/ruby/1.9.1/gems/tins-0.13.1/VERSION +1 -0
  472. data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/spruz.rb +2 -0
  473. data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins.rb +54 -0
  474. data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/alias.rb +1 -0
  475. data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/annotate.rb +30 -0
  476. data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/ask_and_send.rb +15 -0
  477. data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/attempt.rb +52 -0
  478. data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/bijection.rb +46 -0
  479. data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/concern.rb +30 -0
  480. data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/count_by.rb +8 -0
  481. data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/date_dummy.rb +42 -0
  482. data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/date_time_dummy.rb +40 -0
  483. data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/deep_const_get.rb +37 -0
  484. data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/deep_dup.rb +11 -0
  485. data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/extract_last_argument_options.rb +14 -0
  486. data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/file_binary.rb +85 -0
  487. data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/find.rb +138 -0
  488. data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/generator.rb +68 -0
  489. data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/go.rb +69 -0
  490. data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/hash_symbolize_keys_recursive.rb +28 -0
  491. data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/hash_union.rb +15 -0
  492. data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/if_predicate.rb +7 -0
  493. data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/limited.rb +38 -0
  494. data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/lines_file.rb +123 -0
  495. data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/memoize.rb +71 -0
  496. data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/method_description.rb +38 -0
  497. data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/minimize.rb +55 -0
  498. data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/module_group.rb +13 -0
  499. data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/named_set.rb +12 -0
  500. data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/null.rb +92 -0
  501. data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/once.rb +25 -0
  502. data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/p.rb +23 -0
  503. data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/partial_application.rb +31 -0
  504. data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/proc_compose.rb +15 -0
  505. data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/proc_prelude.rb +73 -0
  506. data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/range_plus.rb +9 -0
  507. data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/require_maybe.rb +9 -0
  508. data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/responding.rb +19 -0
  509. data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/rotate.rb +16 -0
  510. data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/round.rb +51 -0
  511. data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/secure_write.rb +27 -0
  512. data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/sexy_singleton.rb +39 -0
  513. data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/shuffle.rb +18 -0
  514. data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/string_byte_order_mark.rb +20 -0
  515. data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/string_camelize.rb +16 -0
  516. data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/string_underscore.rb +15 -0
  517. data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/string_version.rb +105 -0
  518. data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/subhash.rb +42 -0
  519. data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/terminal.rb +35 -0
  520. data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/time_dummy.rb +55 -0
  521. data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/to.rb +8 -0
  522. data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/to_proc.rb +12 -0
  523. data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/token.rb +25 -0
  524. data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/uniq_by.rb +10 -0
  525. data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/version.rb +8 -0
  526. data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/write.rb +19 -0
  527. data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/xt.rb +42 -0
  528. data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/xt/annotate.rb +5 -0
  529. data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/xt/ask_and_send.rb +7 -0
  530. data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/xt/attempt.rb +7 -0
  531. data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/xt/blank.rb +67 -0
  532. data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/xt/concern.rb +20 -0
  533. data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/xt/count_by.rb +11 -0
  534. data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/xt/date_dummy.rb +7 -0
  535. data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/xt/date_time_dummy.rb +7 -0
  536. data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/xt/deep_const_get.rb +7 -0
  537. data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/xt/deep_dup.rb +7 -0
  538. data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/xt/extract_last_argument_options.rb +7 -0
  539. data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/xt/file_binary.rb +7 -0
  540. data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/xt/full.rb +39 -0
  541. data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/xt/hash_symbolize_keys_recursive.rb +7 -0
  542. data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/xt/hash_union.rb +11 -0
  543. data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/xt/if_predicate.rb +7 -0
  544. data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/xt/irb.rb +23 -0
  545. data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/xt/method_description.rb +23 -0
  546. data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/xt/named.rb +35 -0
  547. data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/xt/null.rb +9 -0
  548. data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/xt/p.rb +7 -0
  549. data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/xt/partial_application.rb +11 -0
  550. data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/xt/proc_compose.rb +7 -0
  551. data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/xt/proc_prelude.rb +7 -0
  552. data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/xt/range_plus.rb +12 -0
  553. data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/xt/require_maybe.rb +7 -0
  554. data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/xt/responding.rb +7 -0
  555. data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/xt/rotate.rb +7 -0
  556. data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/xt/round.rb +13 -0
  557. data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/xt/secure_write.rb +11 -0
  558. data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/xt/sexy_singleton.rb +3 -0
  559. data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/xt/shuffle.rb +11 -0
  560. data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/xt/string.rb +6 -0
  561. data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/xt/string_byte_order_mark.rb +7 -0
  562. data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/xt/string_camelize.rb +6 -0
  563. data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/xt/string_underscore.rb +6 -0
  564. data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/xt/string_version.rb +7 -0
  565. data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/xt/subhash.rb +11 -0
  566. data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/xt/symbol_to_proc.rb +8 -0
  567. data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/xt/time_dummy.rb +7 -0
  568. data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/xt/to.rb +5 -0
  569. data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/xt/uniq_by.rb +15 -0
  570. data/vendor/ruby/1.9.1/gems/tins-0.13.1/lib/tins/xt/write.rb +11 -0
  571. data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/annotate_test.rb +37 -0
  572. data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/ask_and_send_test.rb +32 -0
  573. data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/attempt_test.rb +43 -0
  574. data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/bijection_test.rb +19 -0
  575. data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/blank_full_test.rb +77 -0
  576. data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/concern_test.rb +36 -0
  577. data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/count_by_test.rb +17 -0
  578. data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/date_dummy_test.rb +31 -0
  579. data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/date_time_dummy_test.rb +31 -0
  580. data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/deep_const_get_test.rb +37 -0
  581. data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/deep_dup_test.rb +20 -0
  582. data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/extract_last_argument_options_test.rb +30 -0
  583. data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/file_binary_test.rb +65 -0
  584. data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/find_test.rb +115 -0
  585. data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/generator_test.rb +47 -0
  586. data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/go_test.rb +50 -0
  587. data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/hash_symbolize_keys_recursive_test.rb +24 -0
  588. data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/hash_union_test.rb +42 -0
  589. data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/if_predicate_test.rb +12 -0
  590. data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/limited_test.rb +25 -0
  591. data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/lines_file_test.rb +82 -0
  592. data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/memoize_test.rb +58 -0
  593. data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/method_description_test.rb +49 -0
  594. data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/minimize_test.rb +54 -0
  595. data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/module_group_test.rb +29 -0
  596. data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/named_set_test.rb +18 -0
  597. data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/named_test.rb +32 -0
  598. data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/null_test.rb +58 -0
  599. data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/p_test.rb +14 -0
  600. data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/partial_application_test.rb +30 -0
  601. data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/proc_compose_test.rb +25 -0
  602. data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/proc_prelude_test.rb +81 -0
  603. data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/range_plus_test.rb +14 -0
  604. data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/require_maybe_test.rb +24 -0
  605. data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/responding_test.rb +24 -0
  606. data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/rotate_test.rb +65 -0
  607. data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/round_test.rb +32 -0
  608. data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/secure_write_test.rb +42 -0
  609. data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/sexy_singleton_test.rb +16 -0
  610. data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/shuffle_test.rb +30 -0
  611. data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/string_byte_order_mark_test.rb +40 -0
  612. data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/string_camelize_test.rb +21 -0
  613. data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/string_underscore_test.rb +11 -0
  614. data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/string_version_test.rb +31 -0
  615. data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/subhash_test.rb +29 -0
  616. data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/test_helper.rb +8 -0
  617. data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/time_dummy_test.rb +31 -0
  618. data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/to_test.rb +32 -0
  619. data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/token_test.rb +38 -0
  620. data/vendor/ruby/1.9.1/gems/tins-0.13.1/tests/uniq_by_test.rb +31 -0
  621. data/vendor/ruby/1.9.1/gems/tins-0.13.1/tins.gemspec +40 -0
  622. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/.gemtest +0 -0
  623. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/.gitignore +52 -0
  624. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/.gitmodules +3 -0
  625. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/.rspec +2 -0
  626. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/.travis.yml +26 -0
  627. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/.yardopts +9 -0
  628. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/Appraisals +5 -0
  629. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/CHANGELOG.md +949 -0
  630. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/CONTRIBUTING.md +33 -0
  631. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/Gemfile +55 -0
  632. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/LICENSE +20 -0
  633. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/README.md +230 -0
  634. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/Rakefile +197 -0
  635. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/Upgrade.md +289 -0
  636. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/benchmarks/http_stubbing_libraries.rb +59 -0
  637. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/benchmarks/null_logging.rb +62 -0
  638. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/cucumber.yml +16 -0
  639. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/.nav +62 -0
  640. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/about_these_examples.md +18 -0
  641. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/cassettes/allow_unused_http_interactions.feature +100 -0
  642. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/cassettes/automatic_re_recording.feature +72 -0
  643. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/cassettes/decompress.feature +74 -0
  644. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/cassettes/dynamic_erb.feature +100 -0
  645. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/cassettes/exclusive.feature +123 -0
  646. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/cassettes/format.feature +308 -0
  647. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/cassettes/freezing_time.feature +68 -0
  648. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/cassettes/naming.feature +28 -0
  649. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/cassettes/no_cassette.feature +152 -0
  650. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/cassettes/persistence.feature +63 -0
  651. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/cassettes/update_content_length_header.feature +112 -0
  652. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/configuration/allow_http_connections_when_no_cassette.feature +52 -0
  653. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/configuration/cassette_library_dir.feature +31 -0
  654. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/configuration/debug_logging.feature +52 -0
  655. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/configuration/default_cassette_options.feature +100 -0
  656. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/configuration/filter_sensitive_data.feature +152 -0
  657. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/configuration/hook_into.feature +172 -0
  658. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/configuration/ignore_request.feature +193 -0
  659. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/configuration/preserve_exact_body_bytes.feature +108 -0
  660. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/configuration/query_parser.feature +84 -0
  661. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/configuration/uri_parser.feature +89 -0
  662. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/getting_started.md +82 -0
  663. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/hooks/after_http_request.feature +57 -0
  664. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/hooks/around_http_request.feature +57 -0
  665. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/hooks/before_http_request.feature +61 -0
  666. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/hooks/before_playback.feature +185 -0
  667. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/hooks/before_record.feature +172 -0
  668. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/http_libraries/em_http_request.feature +247 -0
  669. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/http_libraries/net_http.feature +169 -0
  670. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/middleware/faraday.feature +56 -0
  671. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/middleware/rack.feature +92 -0
  672. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/record_modes/all.feature +82 -0
  673. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/record_modes/new_episodes.feature +79 -0
  674. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/record_modes/none.feature +72 -0
  675. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/record_modes/once.feature +95 -0
  676. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/request_matching/README.md +30 -0
  677. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/request_matching/body.feature +91 -0
  678. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/request_matching/body_as_json.feature +90 -0
  679. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/request_matching/custom_matcher.feature +135 -0
  680. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/request_matching/headers.feature +86 -0
  681. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/request_matching/host.feature +95 -0
  682. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/request_matching/identical_request_sequence.feature +89 -0
  683. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/request_matching/method.feature +96 -0
  684. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/request_matching/path.feature +96 -0
  685. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/request_matching/playback_repeats.feature +98 -0
  686. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/request_matching/query.feature +97 -0
  687. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/request_matching/uri.feature +94 -0
  688. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/request_matching/uri_without_param.feature +101 -0
  689. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/step_definitions/cli_steps.rb +200 -0
  690. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/support/env.rb +41 -0
  691. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/support/http_lib_filters.rb +53 -0
  692. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/support/vcr_cucumber_helpers.rb +46 -0
  693. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/test_frameworks/cucumber.feature +210 -0
  694. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/test_frameworks/rspec_macro.feature +106 -0
  695. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/test_frameworks/rspec_metadata.feature +149 -0
  696. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/features/test_frameworks/test_unit.feature +46 -0
  697. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/gemfiles/typhoeus_old.gemfile +34 -0
  698. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/gemfiles/typhoeus_old.gemfile.lock +133 -0
  699. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/lib/vcr.rb +347 -0
  700. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/lib/vcr/cassette.rb +289 -0
  701. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/lib/vcr/cassette/erb_renderer.rb +55 -0
  702. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/lib/vcr/cassette/http_interaction_list.rb +108 -0
  703. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/lib/vcr/cassette/migrator.rb +118 -0
  704. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/lib/vcr/cassette/persisters.rb +42 -0
  705. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/lib/vcr/cassette/persisters/file_system.rb +64 -0
  706. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/lib/vcr/cassette/serializers.rb +57 -0
  707. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/lib/vcr/cassette/serializers/json.rb +48 -0
  708. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/lib/vcr/cassette/serializers/psych.rb +48 -0
  709. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/lib/vcr/cassette/serializers/syck.rb +61 -0
  710. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/lib/vcr/cassette/serializers/yaml.rb +50 -0
  711. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/lib/vcr/configuration.rb +555 -0
  712. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/lib/vcr/deprecations.rb +108 -0
  713. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/lib/vcr/errors.rb +266 -0
  714. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/lib/vcr/extensions/net_http_response.rb +36 -0
  715. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/lib/vcr/library_hooks.rb +18 -0
  716. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/lib/vcr/library_hooks/excon.rb +27 -0
  717. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/lib/vcr/library_hooks/fakeweb.rb +196 -0
  718. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/lib/vcr/library_hooks/faraday.rb +47 -0
  719. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/lib/vcr/library_hooks/typhoeus.rb +120 -0
  720. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/lib/vcr/library_hooks/typhoeus_0.4.rb +103 -0
  721. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/lib/vcr/library_hooks/webmock.rb +164 -0
  722. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/lib/vcr/middleware/excon.rb +221 -0
  723. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/lib/vcr/middleware/excon/legacy_methods.rb +33 -0
  724. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/lib/vcr/middleware/faraday.rb +114 -0
  725. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/lib/vcr/middleware/rack.rb +79 -0
  726. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/lib/vcr/request_handler.rb +114 -0
  727. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/lib/vcr/request_ignorer.rb +43 -0
  728. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/lib/vcr/request_matcher_registry.rb +149 -0
  729. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/lib/vcr/structs.rb +578 -0
  730. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/lib/vcr/tasks/vcr.rake +9 -0
  731. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/lib/vcr/test_frameworks/cucumber.rb +64 -0
  732. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/lib/vcr/test_frameworks/rspec.rb +42 -0
  733. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/lib/vcr/util/hooks.rb +61 -0
  734. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/lib/vcr/util/internet_connection.rb +43 -0
  735. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/lib/vcr/util/logger.rb +59 -0
  736. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/lib/vcr/util/variable_args_block_caller.rb +13 -0
  737. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/lib/vcr/util/version_checker.rb +64 -0
  738. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/lib/vcr/version.rb +34 -0
  739. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/script/ci.sh +27 -0
  740. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/acceptance/threading_spec.rb +34 -0
  741. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/capture_warnings.rb +73 -0
  742. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/fixtures/cassette_spec/1_x_cassette.yml +110 -0
  743. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/fixtures/cassette_spec/empty.yml +0 -0
  744. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/fixtures/cassette_spec/example.yml +111 -0
  745. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/fixtures/cassette_spec/with_localhost_requests.yml +111 -0
  746. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/fixtures/fake_example_responses.yml +110 -0
  747. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/fixtures/match_requests_on.yml +187 -0
  748. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/monkey_patches.rb +182 -0
  749. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/quality_spec.rb +51 -0
  750. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/spec_helper.rb +94 -0
  751. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/support/configuration_stubbing.rb +8 -0
  752. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/support/fixnum_extension.rb +10 -0
  753. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/support/http_library_adapters.rb +285 -0
  754. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/support/limited_uri.rb +31 -0
  755. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/support/ruby_interpreter.rb +7 -0
  756. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/support/shared_example_groups/excon.rb +63 -0
  757. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/support/shared_example_groups/hook_into_http_library.rb +594 -0
  758. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/support/shared_example_groups/request_hooks.rb +59 -0
  759. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/support/sinatra_app.rb +86 -0
  760. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/support/vcr_localhost_server.rb +77 -0
  761. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/support/vcr_stub_helpers.rb +17 -0
  762. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/vcr/cassette/erb_renderer_spec.rb +53 -0
  763. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/vcr/cassette/http_interaction_list_spec.rb +295 -0
  764. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/vcr/cassette/migrator_spec.rb +195 -0
  765. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/vcr/cassette/persisters/file_system_spec.rb +69 -0
  766. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/vcr/cassette/persisters_spec.rb +39 -0
  767. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/vcr/cassette/serializers_spec.rb +176 -0
  768. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/vcr/cassette_spec.rb +608 -0
  769. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/vcr/configuration_spec.rb +326 -0
  770. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/vcr/deprecations_spec.rb +85 -0
  771. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/vcr/errors_spec.rb +162 -0
  772. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/vcr/extensions/net_http_response_spec.rb +86 -0
  773. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/vcr/library_hooks/excon_spec.rb +104 -0
  774. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/vcr/library_hooks/fakeweb_spec.rb +169 -0
  775. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/vcr/library_hooks/faraday_spec.rb +68 -0
  776. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/vcr/library_hooks/typhoeus_0.4_spec.rb +36 -0
  777. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/vcr/library_hooks/typhoeus_spec.rb +162 -0
  778. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/vcr/library_hooks/webmock_spec.rb +118 -0
  779. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/vcr/library_hooks_spec.rb +51 -0
  780. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/vcr/middleware/faraday_spec.rb +182 -0
  781. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/vcr/middleware/rack_spec.rb +115 -0
  782. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/vcr/request_ignorer_spec.rb +70 -0
  783. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/vcr/request_matcher_registry_spec.rb +345 -0
  784. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/vcr/structs_spec.rb +732 -0
  785. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/vcr/test_frameworks/cucumber_spec.rb +107 -0
  786. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/vcr/test_frameworks/rspec_spec.rb +83 -0
  787. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/vcr/util/hooks_spec.rb +158 -0
  788. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/vcr/util/internet_connection_spec.rb +37 -0
  789. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/vcr/util/version_checker_spec.rb +45 -0
  790. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/vcr/version_spec.rb +27 -0
  791. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/spec/vcr_spec.rb +349 -0
  792. data/vendor/ruby/1.9.1/gems/vcr-2.8.0/vcr.gemspec +23 -0
  793. data/vendor/ruby/1.9.1/gems/watchr-0.7/.gitignore +6 -0
  794. data/vendor/ruby/1.9.1/gems/watchr-0.7/History.txt +32 -0
  795. data/vendor/ruby/1.9.1/gems/watchr-0.7/LICENSE +19 -0
  796. data/vendor/ruby/1.9.1/gems/watchr-0.7/README.md +119 -0
  797. data/vendor/ruby/1.9.1/gems/watchr-0.7/Rakefile +34 -0
  798. data/vendor/ruby/1.9.1/gems/watchr-0.7/TODO.md +31 -0
  799. data/vendor/ruby/1.9.1/gems/watchr-0.7/bin/watchr +105 -0
  800. data/vendor/ruby/1.9.1/gems/watchr-0.7/contributions.txt +7 -0
  801. data/vendor/ruby/1.9.1/gems/watchr-0.7/docs.watchr +26 -0
  802. data/vendor/ruby/1.9.1/gems/watchr-0.7/gem.watchr +22 -0
  803. data/vendor/ruby/1.9.1/gems/watchr-0.7/lib/watchr.rb +133 -0
  804. data/vendor/ruby/1.9.1/gems/watchr-0.7/lib/watchr/controller.rb +87 -0
  805. data/vendor/ruby/1.9.1/gems/watchr-0.7/lib/watchr/event_handlers/base.rb +57 -0
  806. data/vendor/ruby/1.9.1/gems/watchr-0.7/lib/watchr/event_handlers/darwin.rb +160 -0
  807. data/vendor/ruby/1.9.1/gems/watchr-0.7/lib/watchr/event_handlers/portable.rb +75 -0
  808. data/vendor/ruby/1.9.1/gems/watchr-0.7/lib/watchr/event_handlers/unix.rb +125 -0
  809. data/vendor/ruby/1.9.1/gems/watchr-0.7/lib/watchr/script.rb +257 -0
  810. data/vendor/ruby/1.9.1/gems/watchr-0.7/specs.watchr +37 -0
  811. data/vendor/ruby/1.9.1/gems/watchr-0.7/test/README +11 -0
  812. data/vendor/ruby/1.9.1/gems/watchr-0.7/test/event_handlers/test_base.rb +24 -0
  813. data/vendor/ruby/1.9.1/gems/watchr-0.7/test/event_handlers/test_darwin.rb +111 -0
  814. data/vendor/ruby/1.9.1/gems/watchr-0.7/test/event_handlers/test_portable.rb +142 -0
  815. data/vendor/ruby/1.9.1/gems/watchr-0.7/test/event_handlers/test_unix.rb +162 -0
  816. data/vendor/ruby/1.9.1/gems/watchr-0.7/test/test_controller.rb +113 -0
  817. data/vendor/ruby/1.9.1/gems/watchr-0.7/test/test_helper.rb +37 -0
  818. data/vendor/ruby/1.9.1/gems/watchr-0.7/test/test_script.rb +163 -0
  819. data/vendor/ruby/1.9.1/gems/watchr-0.7/test/test_watchr.rb +76 -0
  820. data/vendor/ruby/1.9.1/gems/watchr-0.7/watchr.gemspec +20 -0
  821. data/vendor/ruby/1.9.1/specifications/active_support-3.0.0.gemspec +24 -0
  822. data/vendor/ruby/1.9.1/specifications/activesupport-3.0.0.gemspec +18 -0
  823. data/vendor/ruby/1.9.1/specifications/minitest-5.2.0.gemspec +37 -0
  824. data/vendor/ruby/1.9.1/specifications/mynyml-redgreen-0.7.1.gemspec +44 -0
  825. data/vendor/ruby/1.9.1/specifications/rake-10.1.0.gemspec +35 -0
  826. data/vendor/ruby/1.9.1/specifications/ruby-fsevent-0.2.1.gemspec +32 -0
  827. data/vendor/ruby/1.9.1/specifications/term-ansicolor-1.2.2.gemspec +39 -0
  828. data/vendor/ruby/1.9.1/specifications/tins-0.13.1.gemspec +38 -0
  829. data/vendor/ruby/1.9.1/specifications/vcr-2.8.0.gemspec +18 -0
  830. data/vendor/ruby/1.9.1/specifications/watchr-0.7.gemspec +37 -0
  831. metadata +904 -0
@@ -0,0 +1,67 @@
1
+ # -*- ruby -*-
2
+
3
+ require 'rubygems'
4
+ require 'hoe'
5
+
6
+ Hoe.plugin :seattlerb
7
+
8
+ Hoe.spec 'minitest' do
9
+ developer 'Ryan Davis', 'ryand-ruby@zenspider.com'
10
+
11
+ license "MIT"
12
+
13
+ self.testlib = :minitest
14
+ end
15
+
16
+ desc "Find missing expectations"
17
+ task :specs do
18
+ $:.unshift "lib"
19
+ require "minitest/unit"
20
+ require "minitest/spec"
21
+
22
+ pos_prefix, neg_prefix = "must", "wont"
23
+ skip_re = /^(must|wont)$|wont_(throw)|must_(block|not?_|nothing|raise$)/x
24
+ dont_flip_re = /(must|wont)_(include|respond_to)/
25
+
26
+ map = {
27
+ /(must_throw)s/ => '\1',
28
+ /(?!not)_same/ => '_be_same_as',
29
+ /_in_/ => '_be_within_',
30
+ /_operator/ => '_be',
31
+ /_includes/ => '_include',
32
+ /(must|wont)_(.*_of|nil|silent|empty)/ => '\1_be_\2',
33
+ /must_raises/ => 'must_raise',
34
+ }
35
+
36
+ expectations = Minitest::Expectations.public_instance_methods.map(&:to_s)
37
+ assertions = Minitest::Assertions.public_instance_methods.map(&:to_s)
38
+
39
+ assertions.sort.each do |assertion|
40
+ expectation = case assertion
41
+ when /^assert/ then
42
+ assertion.sub(/^assert/, pos_prefix.to_s)
43
+ when /^refute/ then
44
+ assertion.sub(/^refute/, neg_prefix.to_s)
45
+ end
46
+
47
+ next unless expectation
48
+ next if expectation =~ skip_re
49
+
50
+ regexp, replacement = map.find { |re, _| expectation =~ re }
51
+ expectation.sub! regexp, replacement if replacement
52
+
53
+ next if expectations.include? expectation
54
+
55
+ args = [assertion, expectation].map(&:to_sym).map(&:inspect)
56
+ args << :reverse if expectation =~ dont_flip_re
57
+
58
+ puts
59
+ puts "##"
60
+ puts "# :method: #{expectation}"
61
+ puts "# See Minitest::Assertions##{assertion}"
62
+ puts
63
+ puts "infect_an_assertion #{args.join ", "}"
64
+ end
65
+ end
66
+
67
+ # vim: syntax=Ruby
@@ -0,0 +1,52 @@
1
+ # Specs: # Equivalent Unit Tests:
2
+ ###############################################################################
3
+ describe Thingy do # class TestThingy < Minitest::Test
4
+ before do # def setup
5
+ do_some_setup # super
6
+ end # do_some_setup
7
+ # end
8
+ it "should do the first thing" do #
9
+ 1.must_equal 1 # def test_first_thing
10
+ end # assert_equal 1, 1
11
+ # end
12
+ describe SubThingy do # end
13
+ before do #
14
+ do_more_setup # class TestSubThingy < TestThingy
15
+ end # def setup
16
+ # super
17
+ it "should do the second thing" do # do_more_setup
18
+ 2.must_equal 2 # end
19
+ end #
20
+ end # def test_second_thing
21
+ end # assert_equal 2, 2
22
+ # end
23
+ # end
24
+ ###############################################################################
25
+ # runs 2 specs # runs 3 tests
26
+ ###############################################################################
27
+ # The specs generate:
28
+
29
+ class ThingySpec < Minitest::Spec
30
+ def setup
31
+ super
32
+ do_some_setup
33
+ end
34
+
35
+ def test_should_do_the_first_thing
36
+ assert_equal 1, 1
37
+ end
38
+ end
39
+
40
+ class SubThingySpec < ThingySpec
41
+ def setup
42
+ super
43
+ do_more_setup
44
+ end
45
+
46
+ # because only setup/teardown is inherited, not specs
47
+ remove_method :test_should_do_the_first_thing
48
+
49
+ def test_should_do_the_second_thing
50
+ assert_equal 2, 2
51
+ end
52
+ end
@@ -0,0 +1,26 @@
1
+ # :stopdoc:
2
+
3
+ class Hoe
4
+ end
5
+
6
+ module Hoe::Minitest
7
+ def initialize_minitest
8
+ dir = "../../minitest/dev/lib"
9
+ Hoe.add_include_dirs dir if File.directory? dir
10
+
11
+ gem "minitest"
12
+ require "minitest"
13
+ version = Minitest::VERSION.split(/\./).first(2).join(".")
14
+
15
+ dependency "minitest", "~> #{version}", :development unless
16
+ self.name == "minitest" or ENV["MT_NO_ISOLATE"]
17
+ end
18
+
19
+ def define_minitest_tasks
20
+ self.testlib = :minitest
21
+
22
+ # make sure we use the gemmed minitest on 1.9
23
+ self.test_prelude = 'gem "minitest"' unless
24
+ self.name == "minitest" or ENV["MT_NO_ISOLATE"]
25
+ end
26
+ end
@@ -0,0 +1,766 @@
1
+ require "optparse"
2
+ require "thread"
3
+ require "mutex_m"
4
+ require "minitest/parallel"
5
+
6
+ ##
7
+ # :include: README.txt
8
+
9
+ module Minitest
10
+ VERSION = "5.2.0" # :nodoc:
11
+
12
+ @@installed_at_exit ||= false
13
+ @@after_run = []
14
+ @extensions = []
15
+
16
+ mc = (class << self; self; end)
17
+
18
+ ##
19
+ # Parallel test executor
20
+
21
+ mc.send :attr_accessor, :parallel_executor
22
+ self.parallel_executor = Parallel::Executor.new((ENV['N'] || 2).to_i)
23
+
24
+ ##
25
+ # Filter object for backtraces.
26
+
27
+ mc.send :attr_accessor, :backtrace_filter
28
+
29
+ ##
30
+ # Reporter object to be used for all runs.
31
+ #
32
+ # NOTE: This accessor is only available during setup, not during runs.
33
+
34
+ mc.send :attr_accessor, :reporter
35
+
36
+ ##
37
+ # Names of known extension plugins.
38
+
39
+ mc.send :attr_accessor, :extensions
40
+
41
+ ##
42
+ # Registers Minitest to run at process exit
43
+
44
+ def self.autorun
45
+ at_exit {
46
+ next if $! and not $!.kind_of? SystemExit
47
+
48
+ exit_code = nil
49
+
50
+ at_exit {
51
+ @@after_run.reverse_each(&:call)
52
+ exit exit_code || false
53
+ }
54
+
55
+ exit_code = Minitest.run ARGV
56
+ } unless @@installed_at_exit
57
+ @@installed_at_exit = true
58
+ end
59
+
60
+ ##
61
+ # A simple hook allowing you to run a block of code after everything
62
+ # is done running. Eg:
63
+ #
64
+ # Minitest.after_run { p $debugging_info }
65
+
66
+ def self.after_run &block
67
+ @@after_run << block
68
+ end
69
+
70
+ def self.init_plugins options # :nodoc:
71
+ self.extensions.each do |name|
72
+ msg = "plugin_#{name}_init"
73
+ send msg, options if self.respond_to? msg
74
+ end
75
+ end
76
+
77
+ def self.load_plugins # :nodoc:
78
+ return unless self.extensions.empty?
79
+
80
+ seen = {}
81
+
82
+ require "rubygems" unless defined? Gem
83
+
84
+ Gem.find_files("minitest/*_plugin.rb").each do |plugin_path|
85
+ name = File.basename plugin_path, "_plugin.rb"
86
+
87
+ next if seen[name]
88
+ seen[name] = true
89
+
90
+ require plugin_path
91
+ self.extensions << name
92
+ end
93
+ end
94
+
95
+ ##
96
+ # This is the top-level run method. Everything starts from here. It
97
+ # tells each Runnable sub-class to run, and each of those are
98
+ # responsible for doing whatever they do.
99
+ #
100
+ # The overall structure of a run looks like this:
101
+ #
102
+ # Minitest.autorun
103
+ # Minitest.run(args)
104
+ # Minitest.__run(reporter, options)
105
+ # Runnable.runnables.each
106
+ # runnable.run(reporter, options)
107
+ # self.runnable_methods.each
108
+ # self.run_one_method(self, runnable_method, reporter)
109
+ # Minitest.run_one_method(klass, runnable_method, reporter)
110
+ # klass.new(runnable_method).run
111
+
112
+ def self.run args = []
113
+ self.load_plugins
114
+
115
+ options = process_args args
116
+
117
+ reporter = CompositeReporter.new
118
+ reporter << SummaryReporter.new(options[:io], options)
119
+ reporter << ProgressReporter.new(options[:io], options)
120
+
121
+ self.reporter = reporter # this makes it available to plugins
122
+ self.init_plugins options
123
+ self.reporter = nil # runnables shouldn't depend on the reporter, ever
124
+
125
+ reporter.start
126
+ __run reporter, options
127
+ self.parallel_executor.shutdown
128
+ reporter.report
129
+
130
+ reporter.passed?
131
+ end
132
+
133
+ ##
134
+ # Internal run method. Responsible for telling all Runnable
135
+ # sub-classes to run.
136
+ #
137
+ # NOTE: this method is redefined in parallel_each.rb, which is
138
+ # loaded if a Runnable calls parallelize_me!.
139
+
140
+ def self.__run reporter, options
141
+ suites = Runnable.runnables
142
+ parallel, serial = suites.partition { |s| s.test_order == :parallel }
143
+
144
+ # If we run the parallel tests before the serial tests, the parallel tests
145
+ # could run in parallel with the serial tests. This would be bad because
146
+ # the serial tests won't lock around Reporter#record. Run the serial tests
147
+ # first, so that after they complete, the parallel tests will lock when
148
+ # recording results.
149
+ serial.map { |suite| suite.run reporter, options } +
150
+ parallel.map { |suite| suite.run reporter, options }
151
+ end
152
+
153
+ def self.process_args args = [] # :nodoc:
154
+ options = {
155
+ :io => $stdout,
156
+ }
157
+ orig_args = args.dup
158
+
159
+ OptionParser.new do |opts|
160
+ opts.banner = "minitest options:"
161
+ opts.version = Minitest::VERSION
162
+
163
+ opts.on "-h", "--help", "Display this help." do
164
+ puts opts
165
+ exit
166
+ end
167
+
168
+ opts.on "-s", "--seed SEED", Integer, "Sets random seed" do |m|
169
+ options[:seed] = m.to_i
170
+ end
171
+
172
+ opts.on "-v", "--verbose", "Verbose. Show progress processing files." do
173
+ options[:verbose] = true
174
+ end
175
+
176
+ opts.on "-n", "--name PATTERN","Filter run on /pattern/ or string." do |a|
177
+ options[:filter] = a
178
+ end
179
+
180
+ unless extensions.empty?
181
+ opts.separator ""
182
+ opts.separator "Known extensions: #{extensions.join(', ')}"
183
+
184
+ extensions.each do |meth|
185
+ msg = "plugin_#{meth}_options"
186
+ send msg, opts, options if self.respond_to?(msg)
187
+ end
188
+ end
189
+
190
+ begin
191
+ opts.parse! args
192
+ rescue OptionParser::InvalidOption => e
193
+ puts
194
+ puts e
195
+ puts
196
+ puts opts
197
+ exit 1
198
+ end
199
+
200
+ orig_args -= args
201
+ end
202
+
203
+ unless options[:seed] then
204
+ srand
205
+ options[:seed] = srand % 0xFFFF
206
+ orig_args << "--seed" << options[:seed].to_s
207
+ end
208
+
209
+ srand options[:seed]
210
+
211
+ options[:args] = orig_args.map { |s|
212
+ s =~ /[\s|&<>$()]/ ? s.inspect : s
213
+ }.join " "
214
+
215
+ options
216
+ end
217
+
218
+ def self.filter_backtrace bt # :nodoc:
219
+ backtrace_filter.filter bt
220
+ end
221
+
222
+ ##
223
+ # Represents anything "runnable", like Test, Spec, Benchmark, or
224
+ # whatever you can dream up.
225
+ #
226
+ # Subclasses of this are automatically registered and available in
227
+ # Runnable.runnables.
228
+
229
+ class Runnable
230
+ ##
231
+ # Number of assertions executed in this run.
232
+
233
+ attr_accessor :assertions
234
+
235
+ ##
236
+ # An assertion raised during the run, if any.
237
+
238
+ attr_accessor :failures
239
+
240
+ ##
241
+ # Name of the run.
242
+
243
+ def name
244
+ @NAME
245
+ end
246
+
247
+ ##
248
+ # Set the name of the run.
249
+
250
+ def name= o
251
+ @NAME = o
252
+ end
253
+
254
+ def self.inherited klass # :nodoc:
255
+ self.runnables << klass
256
+ super
257
+ end
258
+
259
+ ##
260
+ # Returns all instance methods matching the pattern +re+.
261
+
262
+ def self.methods_matching re
263
+ public_instance_methods(true).grep(re).map(&:to_s)
264
+ end
265
+
266
+ def self.reset # :nodoc:
267
+ @@runnables = []
268
+ end
269
+
270
+ reset
271
+
272
+ ##
273
+ # Responsible for running all runnable methods in a given class,
274
+ # each in its own instance. Each instance is passed to the
275
+ # reporter to record.
276
+
277
+ def self.run reporter, options = {}
278
+ filter = options[:filter] || '/./'
279
+ filter = Regexp.new $1 if filter =~ /\/(.*)\//
280
+
281
+ filtered_methods = self.runnable_methods.find_all { |m|
282
+ filter === m || filter === "#{self}##{m}"
283
+ }
284
+
285
+ with_info_handler reporter do
286
+ filtered_methods.each do |method_name|
287
+ run_one_method self, method_name, reporter
288
+ end
289
+ end
290
+ end
291
+
292
+ def self.run_one_method klass, method_name, reporter
293
+ reporter.record Minitest.run_one_method(klass, method_name)
294
+ end
295
+
296
+ def self.with_info_handler reporter, &block # :nodoc:
297
+ handler = lambda do
298
+ unless reporter.passed? then
299
+ warn "Current results:"
300
+ warn ""
301
+ warn reporter.reporters.first
302
+ warn ""
303
+ end
304
+ end
305
+
306
+ on_signal "INFO", handler, &block
307
+ end
308
+
309
+ def self.on_signal name, action # :nodoc:
310
+ supported = Signal.list[name]
311
+
312
+ old_trap = trap name do
313
+ old_trap.call if old_trap.respond_to? :call
314
+ action.call
315
+ end if supported
316
+
317
+ yield
318
+ ensure
319
+ trap name, old_trap if supported
320
+ end
321
+
322
+ ##
323
+ # Each subclass of Runnable is responsible for overriding this
324
+ # method to return all runnable methods. See #methods_matching.
325
+
326
+ def self.runnable_methods
327
+ raise NotImplementedError, "subclass responsibility"
328
+ end
329
+
330
+ ##
331
+ # Returns all subclasses of Runnable.
332
+
333
+ def self.runnables
334
+ @@runnables
335
+ end
336
+
337
+ def marshal_dump # :nodoc:
338
+ [self.name, self.failures, self.assertions]
339
+ end
340
+
341
+ def marshal_load ary # :nodoc:
342
+ self.name, self.failures, self.assertions = ary
343
+ end
344
+
345
+ def failure # :nodoc:
346
+ self.failures.first
347
+ end
348
+
349
+ def initialize name # :nodoc:
350
+ self.name = name
351
+ self.failures = []
352
+ self.assertions = 0
353
+ end
354
+
355
+ ##
356
+ # Runs a single method. Needs to return self.
357
+
358
+ def run
359
+ raise NotImplementedError, "subclass responsibility"
360
+ end
361
+
362
+ ##
363
+ # Did this run pass?
364
+ #
365
+ # Note: skipped runs are not considered passing, but they don't
366
+ # cause the process to exit non-zero.
367
+
368
+ def passed?
369
+ raise NotImplementedError, "subclass responsibility"
370
+ end
371
+
372
+ ##
373
+ # Returns a single character string to print based on the result
374
+ # of the run. Eg ".", "F", or "E".
375
+
376
+ def result_code
377
+ raise NotImplementedError, "subclass responsibility"
378
+ end
379
+
380
+ ##
381
+ # Was this run skipped? See #passed? for more information.
382
+
383
+ def skipped?
384
+ raise NotImplementedError, "subclass responsibility"
385
+ end
386
+ end
387
+
388
+ ##
389
+ # Defines the API for Reporters. Subclass this and override whatever
390
+ # you want. Go nuts.
391
+
392
+ class AbstractReporter
393
+ include Mutex_m
394
+
395
+ ##
396
+ # Starts reporting on the run.
397
+
398
+ def start
399
+ end
400
+
401
+ ##
402
+ # Record a result and output the Runnable#result_code. Stores the
403
+ # result of the run if the run did not pass.
404
+
405
+ def record result
406
+ end
407
+
408
+ ##
409
+ # Outputs the summary of the run.
410
+
411
+ def report
412
+ end
413
+
414
+ ##
415
+ # Did this run pass?
416
+
417
+ def passed?
418
+ true
419
+ end
420
+ end
421
+
422
+ class Reporter < AbstractReporter # :nodoc:
423
+ ##
424
+ # The IO used to report.
425
+
426
+ attr_accessor :io
427
+
428
+ ##
429
+ # Command-line options for this run.
430
+
431
+ attr_accessor :options
432
+
433
+ def initialize io = $stdout, options = {} # :nodoc:
434
+ super()
435
+ self.io = io
436
+ self.options = options
437
+ end
438
+ end
439
+
440
+ ##
441
+ # A very simple reporter that prints the "dots" during the run.
442
+ #
443
+ # This is added to the top-level CompositeReporter at the start of
444
+ # the run. If you want to change the output of minitest via a
445
+ # plugin, pull this out of the composite and replace it with your
446
+ # own.
447
+
448
+ class ProgressReporter < Reporter
449
+ def record result # :nodoc:
450
+ io.print "%s#%s = %.2f s = " % [result.class, result.name, result.time] if
451
+ options[:verbose]
452
+ io.print result.result_code
453
+ io.puts if options[:verbose]
454
+ end
455
+ end
456
+
457
+ ##
458
+ # A reporter that gathers statistics about a test run. Does not do
459
+ # any IO because meant to be used as a parent class for a reporter
460
+ # that does.
461
+ #
462
+ # If you want to create an entirely different type of output (eg,
463
+ # CI, HTML, etc), this is the place to start.
464
+
465
+ class StatisticsReporter < Reporter
466
+ # :stopdoc:
467
+ attr_accessor :assertions
468
+ attr_accessor :count
469
+ attr_accessor :results
470
+ attr_accessor :start_time
471
+ attr_accessor :total_time
472
+ attr_accessor :failures
473
+ attr_accessor :errors
474
+ attr_accessor :skips
475
+ # :startdoc:
476
+
477
+ def initialize io = $stdout, options = {} # :nodoc:
478
+ super
479
+
480
+ self.assertions = 0
481
+ self.count = 0
482
+ self.results = []
483
+ self.start_time = nil
484
+ self.total_time = nil
485
+ self.failures = nil
486
+ self.errors = nil
487
+ self.skips = nil
488
+ end
489
+
490
+ def passed? # :nodoc:
491
+ results.all?(&:skipped?)
492
+ end
493
+
494
+ def start # :nodoc:
495
+ self.start_time = Time.now
496
+ end
497
+
498
+ def record result # :nodoc:
499
+ self.count += 1
500
+ self.assertions += result.assertions
501
+
502
+ results << result if not result.passed? or result.skipped?
503
+ end
504
+
505
+ def report # :nodoc:
506
+ aggregate = results.group_by { |r| r.failure.class }
507
+ aggregate.default = [] # dumb. group_by should provide this
508
+
509
+ self.total_time = Time.now - start_time
510
+ self.failures = aggregate[Assertion].size
511
+ self.errors = aggregate[UnexpectedError].size
512
+ self.skips = aggregate[Skip].size
513
+ end
514
+ end
515
+
516
+ ##
517
+ # A reporter that prints the header, summary, and failure details at
518
+ # the end of the run.
519
+ #
520
+ # This is added to the top-level CompositeReporter at the start of
521
+ # the run. If you want to change the output of minitest via a
522
+ # plugin, pull this out of the composite and replace it with your
523
+ # own.
524
+
525
+ class SummaryReporter < StatisticsReporter
526
+ # :stopdoc:
527
+ attr_accessor :sync
528
+ attr_accessor :old_sync
529
+ # :startdoc:
530
+
531
+ def start # :nodoc:
532
+ super
533
+
534
+ io.puts "Run options: #{options[:args]}"
535
+ io.puts
536
+ io.puts "# Running:"
537
+ io.puts
538
+
539
+ self.sync = io.respond_to? :"sync=" # stupid emacs
540
+ self.old_sync, io.sync = io.sync, true if self.sync
541
+ end
542
+
543
+ def report # :nodoc:
544
+ super
545
+
546
+ io.sync = self.old_sync
547
+
548
+ io.puts unless options[:verbose] # finish the dots
549
+ io.puts
550
+ io.puts statistics
551
+ io.puts aggregated_results
552
+ io.puts summary
553
+ end
554
+
555
+ def statistics # :nodoc:
556
+ "Finished in %.6fs, %.4f runs/s, %.4f assertions/s." %
557
+ [total_time, count / total_time, assertions / total_time]
558
+ end
559
+
560
+ def aggregated_results # :nodoc:
561
+ filtered_results = results.dup
562
+ filtered_results.reject!(&:skipped?) unless options[:verbose]
563
+
564
+ filtered_results.each_with_index.map do |result, i|
565
+ "\n%3d) %s" % [i+1, result]
566
+ end.join("\n") + "\n"
567
+ end
568
+
569
+ alias to_s aggregated_results
570
+
571
+ def summary # :nodoc:
572
+ extra = ""
573
+
574
+ extra = "\n\nYou have skipped tests. Run with --verbose for details." if
575
+ results.any?(&:skipped?) unless options[:verbose] or ENV["MT_NO_SKIP_MSG"]
576
+
577
+ "%d runs, %d assertions, %d failures, %d errors, %d skips%s" %
578
+ [count, assertions, failures, errors, skips, extra]
579
+ end
580
+ end
581
+
582
+ ##
583
+ # Dispatch to multiple reporters as one.
584
+
585
+ class CompositeReporter < AbstractReporter
586
+ ##
587
+ # The list of reporters to dispatch to.
588
+
589
+ attr_accessor :reporters
590
+
591
+ def initialize *reporters # :nodoc:
592
+ super()
593
+ self.reporters = reporters
594
+ end
595
+
596
+ ##
597
+ # Add another reporter to the mix.
598
+
599
+ def << reporter
600
+ self.reporters << reporter
601
+ end
602
+
603
+ def passed? # :nodoc:
604
+ self.reporters.all?(&:passed?)
605
+ end
606
+
607
+ def start # :nodoc:
608
+ self.reporters.each(&:start)
609
+ end
610
+
611
+ def record result # :nodoc:
612
+ self.reporters.each do |reporter|
613
+ reporter.record result
614
+ end
615
+ end
616
+
617
+ def report # :nodoc:
618
+ self.reporters.each(&:report)
619
+ end
620
+ end
621
+
622
+ ##
623
+ # Represents run failures.
624
+
625
+ class Assertion < Exception
626
+ def error # :nodoc:
627
+ self
628
+ end
629
+
630
+ ##
631
+ # Where was this run before an assertion was raised?
632
+
633
+ def location
634
+ last_before_assertion = ""
635
+ self.backtrace.reverse_each do |s|
636
+ break if s =~ /in .(assert|refute|flunk|pass|fail|raise|must|wont)/
637
+ last_before_assertion = s
638
+ end
639
+ last_before_assertion.sub(/:in .*$/, "")
640
+ end
641
+
642
+ def result_code # :nodoc:
643
+ result_label[0, 1]
644
+ end
645
+
646
+ def result_label # :nodoc:
647
+ "Failure"
648
+ end
649
+ end
650
+
651
+ ##
652
+ # Assertion raised when skipping a run.
653
+
654
+ class Skip < Assertion
655
+ def result_label # :nodoc:
656
+ "Skipped"
657
+ end
658
+ end
659
+
660
+ ##
661
+ # Assertion wrapping an unexpected error that was raised during a run.
662
+
663
+ class UnexpectedError < Assertion
664
+ attr_accessor :exception # :nodoc:
665
+
666
+ def initialize exception # :nodoc:
667
+ super
668
+ self.exception = exception
669
+ end
670
+
671
+ def backtrace # :nodoc:
672
+ self.exception.backtrace
673
+ end
674
+
675
+ def error # :nodoc:
676
+ self.exception
677
+ end
678
+
679
+ def message # :nodoc:
680
+ bt = Minitest::filter_backtrace(self.backtrace).join "\n "
681
+ "#{self.exception.class}: #{self.exception.message}\n #{bt}"
682
+ end
683
+
684
+ def result_label # :nodoc:
685
+ "Error"
686
+ end
687
+ end
688
+
689
+ ##
690
+ # Provides a simple set of guards that you can use in your tests
691
+ # to skip execution if it is not applicable. These methods are
692
+ # mixed into Test as both instance and class methods so you
693
+ # can use them inside or outside of the test methods.
694
+ #
695
+ # def test_something_for_mri
696
+ # skip "bug 1234" if jruby?
697
+ # # ...
698
+ # end
699
+ #
700
+ # if windows? then
701
+ # # ... lots of test methods ...
702
+ # end
703
+
704
+ module Guard
705
+
706
+ ##
707
+ # Is this running on jruby?
708
+
709
+ def jruby? platform = RUBY_PLATFORM
710
+ "java" == platform
711
+ end
712
+
713
+ ##
714
+ # Is this running on maglev?
715
+
716
+ def maglev? platform = defined?(RUBY_ENGINE) && RUBY_ENGINE
717
+ "maglev" == platform
718
+ end
719
+
720
+ ##
721
+ # Is this running on mri?
722
+
723
+ def mri? platform = RUBY_DESCRIPTION
724
+ /^ruby/ =~ platform
725
+ end
726
+
727
+ ##
728
+ # Is this running on rubinius?
729
+
730
+ def rubinius? platform = defined?(RUBY_ENGINE) && RUBY_ENGINE
731
+ "rbx" == platform
732
+ end
733
+
734
+ ##
735
+ # Is this running on windows?
736
+
737
+ def windows? platform = RUBY_PLATFORM
738
+ /mswin|mingw/ =~ platform
739
+ end
740
+ end
741
+
742
+ class BacktraceFilter # :nodoc:
743
+ def filter bt
744
+ return ["No backtrace"] unless bt
745
+
746
+ return bt.dup if $DEBUG
747
+
748
+ new_bt = bt.take_while { |line| line !~ /lib\/minitest/ }
749
+ new_bt = bt.select { |line| line !~ /lib\/minitest/ } if new_bt.empty?
750
+ new_bt = bt.dup if new_bt.empty?
751
+
752
+ new_bt
753
+ end
754
+ end
755
+
756
+ self.backtrace_filter = BacktraceFilter.new
757
+
758
+ def self.run_one_method klass, method_name # :nodoc:
759
+ result = klass.new(method_name).run
760
+ raise "#{klass}#run _must_ return self" unless klass === result
761
+ result
762
+ end
763
+ end
764
+
765
+ require "minitest/test"
766
+ require "minitest/unit" unless defined?(MiniTest) # compatibility layer only