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,23 @@
1
+ #!/usr/bin/env ruby
2
+ #
3
+ # This file was generated by RubyGems.
4
+ #
5
+ # The application 'watchr' is installed as part of a gem, and
6
+ # this file is here to facilitate running it.
7
+ #
8
+
9
+ require 'rubygems'
10
+
11
+ version = ">= 0"
12
+
13
+ if ARGV.first
14
+ str = ARGV.first
15
+ str = str.dup.force_encoding("BINARY") if str.respond_to? :force_encoding
16
+ if str =~ /\A_(.*)_\z/
17
+ version = $1
18
+ ARGV.shift
19
+ end
20
+ end
21
+
22
+ gem 'watchr', version
23
+ load Gem.bin_path('watchr', 'watchr', version)
@@ -0,0 +1,1457 @@
1
+ *Rails 3.0.0 (August 29, 2010)*
2
+
3
+ * Implemented String#strip_heredoc. [fxn]
4
+
5
+ * Pluggable cache stores: setting config.cache_store = "custom_store" will require 'active_support/cache/custom_store' and look for the CustomStore constant. #5486 [Mike Perham]
6
+
7
+ * Removed Object#returning, Object#tap should be used instead. [Santiago Pastorino]
8
+
9
+ * Deprecation behavior is no longer hardcoded to the name of the environment.
10
+ Instead, it is set via config.active_support.deprecation and can be one
11
+ of :log, :stderr or :notify. :notify is a new style that sends the warning
12
+ via ActiveSupport::Notifications, and is the new default for production
13
+ [Yehuda Katz]
14
+
15
+ * Renamed ActiveSupport::Dependecies.load_(once_)paths to autoload_(once_)paths. [fxn]
16
+
17
+ * Added ActiveSupport::FileUpdateChecker to execute a block only if a set of files changed, used by Router and I18n locale files. [José Valim]
18
+
19
+ * Added ActiveSupport::DescendantsTracker to track descendants with support to constants reloading. [José Valim]
20
+
21
+ * ActiveSupport::OrderedHash#merge and #merge! accept a block. #4838 [Paul Mucur, fxn]
22
+
23
+ * Date#since, #ago, #beginning_of_day, #end_of_day, and #xmlschema honor now the user time zone if set. [Geoff Buesing]
24
+
25
+ * Extracted String#truncate from TextHelper#truncate [DHH]
26
+
27
+ * Ruby 1.9: support UTF-8 case folding. #4595 [Norman Clarke]
28
+
29
+ * Removes Array#rand and backports Array#sample from Ruby 1.9, thanks to Marc-Andre Lafortune. [fxn]
30
+
31
+ * Ruby 1.9: Renames last_(month|year) to prev_(month|year) in Date and Time. [fxn]
32
+
33
+ * Aliases Date#sunday to Date#end_of_week. [fxn]
34
+
35
+ * Backports Date#>> from 1.9 so that calculations do the right thing around the calendar reform. [fxn]
36
+
37
+ * Date#to_time handles properly years in the range 0..138. [fxn]
38
+
39
+ * Deprecate {{}} as interpolation syntax for I18n in favor of %{} [José Valim]
40
+
41
+ * Array#to_xml is more powerful and able to handle the same types as Hash#to_xml #4490 [Neeraj Singh]
42
+
43
+ * Harmonize the caching API and refactor the backends. #4452 [Brian Durand]
44
+ All caches:
45
+ * Add default options to initializer that will be sent to all read, write, fetch, exist?, increment, and decrement
46
+ * Add support for the :expires_in option to fetch and write for all caches. Cache entries are stored with the create timestamp and a ttl so that expiration can be handled independently of the implementation.
47
+ * Add support for a :namespace option. This can be used to set a global prefix for cache entries.
48
+ * Deprecate expand_cache_key on ActiveSupport::Cache and move it to ActionController::Caching and ActionDispatch::Http::Cache since the logic in the method used some Rails specific environment variables and was only used by ActionPack classes. Not very DRY but there didn't seem to be a good shared spot and ActiveSupport really shouldn't be Rails specific.
49
+ * Add support for :race_condition_ttl to fetch. This setting can prevent race conditions on fetch calls where several processes try to regenerate a recently expired entry at once.
50
+ * Add support for :compress option to fetch and write which will compress any data over a configurable threshold.
51
+ * Nil values can now be stored in the cache and are distinct from cache misses for fetch.
52
+ * Easier API to create new implementations. Just need to implement the methods read_entry, write_entry, and delete_entry instead of overwriting existing methods.
53
+ * Since all cache implementations support storing objects, update the docs to state that ActiveCache::Cache::Store implementations should store objects. Keys, however, must be strings since some implementations require that.
54
+ * Increase test coverage.
55
+ * Document methods which are provided as convenience but which may not be universally available.
56
+
57
+ MemoryStore:
58
+ * MemoryStore can now safely be used as the cache for single server sites.
59
+ * Make thread safe so that the default cache implementation used by Rails is thread safe. The overhead is minimal and it is still the fastest store available.
60
+ * Provide :size initialization option indicating the maximum size of the cache in memory (defaults to 32Mb).
61
+ * Add prune logic that removes the least recently used cache entries to keep the cache size from exceeding the max.
62
+ * Deprecated SynchronizedMemoryStore since it isn't needed anymore.
63
+
64
+ FileStore:
65
+ * Escape key values so they will work as file names on all file systems, be consistent, and case sensitive
66
+ * Use a hash algorithm to segment the cache into sub directories so that a large cache doesn't exceed file system limits.
67
+ * FileStore can be slow so implement the LocalCache strategy to cache reads for the duration of a request.
68
+ * Add cleanup method to keep the disk from filling up with expired entries.
69
+ * Fix increment and decrement to use file system locks so they are consistent between processes.
70
+
71
+ MemCacheStore:
72
+ * Support all keys. Previously keys with spaces in them would fail
73
+ * Deprecate CompressedMemCacheStore since it isn't needed anymore (use :compress => true)
74
+
75
+ * JSON: encode objects that don't have a native JSON representation using to_hash, if available, instead of instance_values (the old fallback) or to_s (other encoders' default). Encode BigDecimal and Regexp encode as strings to conform with other encoders. Try to transcode non-UTF-8 strings. [Jeremy Kemper]
76
+
77
+ * HashWithIndifferentAccess: remove inherited symbolize_keys! since its keys are always strings. [Santiago Pastorino]
78
+
79
+ * Improve transliteration quality. #4374 [Norman Clarke]
80
+
81
+ * Speed up and add Ruby 1.9 support for ActiveSupport::Multibyte::Chars#tidy_bytes. #4350 [Norman Clarke]
82
+
83
+ * Reduced load time by deferring configuration of classes using
84
+ ActiveSupport::on_load(:component_name) [YK]
85
+
86
+ * Rename #metaclass to #singleton_class now that ruby-core has decided [JK]
87
+
88
+ * New assertions assert_blank and assert_present. #4299 [Juanjo Bazan]
89
+
90
+ * Use Object#singleton_class instead of #metaclass. Prefer Ruby's choice. [Jeremy Kemper]
91
+
92
+ * JSON backend for YAJL. Preferred if available. #2666 [Brian Lopez]
93
+
94
+ * Introduce class_attribute to declare inheritable class attributes. Writing an attribute on a subclass behaves just like overriding the superclass reader method. Unifies and replaces most usage of cattr_accessor, class_inheritable_attribute, superclass_delegating_attribute, and extlib_inheritable_attribute. [Jeremy Kemper, Yehuda Katz]
95
+
96
+ * Time#- with a DateTime argument behaves the same as with a Time argument, i.e. returns the difference between self and arg as a Float #3476 [Geoff Buesing]
97
+
98
+ * YAML serialization for OrderedHash. #3608 [Gregor Schmidt]
99
+
100
+ * Update bundled TZInfo to v0.3.16 [Geoff Buesing]
101
+
102
+ * Georgetown TimeZone is now mapped to "America/Guyana" instead of "America/Argentina/San_Juan" #1821 [Geoff Buesing, Reuben Sivan]
103
+
104
+ * Changed the default ActiveSupport.use_standard_json_time_format from false to true and
105
+ ActiveSupport.escape_html_entities_in_json from true to false to match previously announced Rails 3 defaults [DHH]
106
+
107
+ * Added Object#presence that returns the object if it's #present? otherwise returns nil [DHH/Colin Kelley]
108
+
109
+ * Add Enumerable#exclude? to bring parity to Enumerable#include? and avoid if !x.include?/else calls [DHH]
110
+
111
+ * Update Edinburgh TimeZone to use "Europe/London" instead of "Europe/Dublin" #3310 [Phil Ross]
112
+
113
+ * Update bundled TZInfo to v0.3.15 [Geoff Buesing]
114
+
115
+ * JSON: +Object#to_json+ calls +as_json+ to coerce itself into something natively encodable like +Hash+, +Integer+, or +String+. Override +as_json+ instead of +to_json+ so you're JSON library agnostic. [Jeremy Kemper]
116
+
117
+ * String #to_time and #to_datetime: handle fractional seconds #864 [Jason Frey]
118
+
119
+ * Update bundled TZInfo to v0.3.13 [Geoff Buesing]
120
+
121
+ * Allow MemCacheStore to be initialized with a MemCache-like object instead of addresses and options [Bryan Helmkamp]
122
+
123
+ * Change spelling of Kyev timezone to Kyiv #2613 [Alexander Dymo]
124
+
125
+ * Add ActiveSupport.parse_json_times to disable time parsing in JSON backends that don't support it or don't need it. [rick]
126
+
127
+ * Add pluggable JSON backends with support for the JSON gem. [rick]
128
+ Example: ActiveSupport::JSON.backend = "JSONGem"
129
+
130
+ All internal Rails JSON encoding is now handled by ActiveSupport::JSON.encode(). Use of #to_json is not recommended, as it may clash with other libraries that overwrite it. However, you can recover Rails specific functionality
131
+ if you really want to use #to_json.
132
+
133
+ gem 'json'
134
+ ActiveSupport::JSON.backend = "JSONGem"
135
+
136
+ class ActiveRecord::Base
137
+ alias to_json rails_to_json
138
+ end
139
+
140
+ * require 'active_support' no longer orders the whole menu of core extensions. Ask for just what you need: e.g. require 'active_support/core/time' to use timezones, durations, and stdlib date/time extensions. [Jeremy Kemper]
141
+
142
+ * Removed rarely-used DRb cache store. [Jeremy Kemper]
143
+
144
+ * TimeWithZone.name returns 'Time', to further thwart type checking [Geoff Buesing]
145
+
146
+ * Time.local instances: Adding 24.hours across the DST boundary adds 24 hours instead of one day #2066 [Michael Curtis]
147
+
148
+
149
+ *2.3.2 [Final] (March 15, 2009)*
150
+
151
+ * XmlMini supports LibXML and Nokogiri backends. #2084, #2190 [Bart ten Brinke, Aaron Patterson]
152
+ Example: XmlMini.backend = 'Nokogiri'
153
+
154
+ * Vendorize i18n 0.1.3 gem (fixes issues with incompatible character encodings in Ruby 1.9) #2038 [Akira Matsuda]
155
+
156
+ * Update bundled memcache-client from 1.5.0.5 to 1.6.4.99. See http://www.mikeperham.com/2009/02/15/memcache-client-performance/ [Mike Perham]
157
+
158
+ * Ruby 1.9.1p0 fix: URI.unescape can decode multibyte chars. #2033 [MOROHASHI Kyosuke]
159
+
160
+ * Time#to_s(:rfc822) uses #formatted_offset instead of unreliable and non-standard %z directive #1899 [Zachary Zolton]
161
+
162
+ * Make TimeWithZone#to_formatted_s an alias to TimeWithZone#to_s #1796 [Levin Alexander]
163
+
164
+ * Introduce Array.wrap(foo) to wrap the argument in an array unless it's already an array. Wraps nil as an empty array. Use instead of Array(foo) and foo.to_a since they treat String as Enumerable. [Jeremy Kemper]
165
+
166
+ * TimeWithZone#xmlschema accepts optional fraction_digits argument [#1725 state:resolved] [Nicholas Dainty]
167
+
168
+ * Object#tap shim for Ruby < 1.8.7. Similar to Object#returning, tap yields self then returns self. [Jeremy Kemper]
169
+ array.select { ... }.tap(&:inspect).map { ... }
170
+
171
+ * TimeWithZone#- gives correct result with wrapped DateTime, and with DateTime argument [Geoff Buesing]
172
+
173
+ * Updated i18n gem to version 0.1.1 #1635 [Yaroslav Markin]
174
+
175
+ * Add :allow_nil option to delegate. #1127 [Sergio Gil]
176
+
177
+ * Add Benchmark.ms convenience method to benchmark realtime in milliseconds. [Jeremy Kemper]
178
+
179
+ * Updated included memcache-client to the 1.5.0.5 version which includes fixes from fiveruns and 37signals to deal with failover and timeouts #1535 [Joshua Sierles]
180
+
181
+ * Multibyte: add multibyte-safe Chars#ord rather than falling back to String#ord. #1483 [Jason Cheow]
182
+
183
+ * I18n support for Array#to_sentence. Introduces support.array.words_connector, .two_words_connector, and .last_word_connector translation keys. #1397 [Akira Matsuda]
184
+
185
+ * Added ActiveSupport::OrderedHash#each_key and ActiveSupport::OrderedHash#each_value #1410 [Christoffer Sawicki]
186
+
187
+ * Added ActiveSupport::MessageVerifier and MessageEncryptor to aid users who need to store signed and/or encrypted messages. [Michael Koziarski]
188
+
189
+ * Added ActiveSupport::BacktraceCleaner to cut down on backtrace noise according to filters and silencers [David Heinemeier Hansson]
190
+
191
+ * Added Object#try. ( Taken from http://ozmm.org/posts/try.html ) [Chris Wanstrath]
192
+
193
+ * Added Enumerable#none? to check that none of the elements match the block #1408 [Damian Janowski]
194
+
195
+ * TimeZone offset tests: use current_period, to ensure TimeZone#utc_offset is up-to-date [Geoff Buesing]
196
+
197
+ * Update bundled TZInfo to 0.3.12 [Geoff Buesing]
198
+
199
+ * Added lambda merging to OptionMerger (especially useful with named_scope and with_options) #726 [Paweł Kondzior]
200
+
201
+
202
+ *2.2.1 [RC2] (November 14th, 2008)*
203
+
204
+ * Increment the version of our altered memcache-client to prevent confusion caused when the 1.5.0 gem is installed.
205
+
206
+ * Fixed the option merging in Array#to_xml #1126 [Rudolf Gavlas]
207
+
208
+ * Make I18n::Backend::Simple reload its translations in development mode [David Heinemeier Hansson/Sven Fuchs]
209
+
210
+
211
+ *2.2.0 [RC1] (October 24th, 2008)*
212
+
213
+ * TimeWithZone#freeze: preload instance variables so that we can actually freeze [Geoff Buesing]
214
+
215
+ * Fix Brasilia timezone #1180 [Marcus Derencius, Kane]
216
+
217
+ * Time#advance recognizes fractional days and weeks. Deprecate Durations of fractional months and years #970 [Tom Lea]
218
+
219
+ * Add ActiveSupport::Rescuable module abstracting ActionController::Base rescue_from features. [Norbert Crombach, Pratik Naik]
220
+
221
+ * Switch from String#chars to String#mb_chars for the unicode proxy. [Manfred Stienstra]
222
+
223
+ This helps with 1.8.7 compatibility and also improves performance for some operations by reducing indirection.
224
+
225
+ * TimeWithZone #wday, #yday and #to_date avoid trip through #method_missing [Geoff Buesing]
226
+
227
+ * Added Time, Date, DateTime and TimeWithZone #past?, #future? and #today? #720 [Clemens Kofler, Geoff Buesing]
228
+
229
+ * Fixed Sri Jayawardenepura time zone to map to Asia/Colombo [Jamis Buck]
230
+
231
+ * Added Inflector#parameterize for easy slug generation ("Donald E. Knuth".parameterize => "donald-e-knuth") #713 [Matt Darby]
232
+
233
+ * Changed cache benchmarking to be reported in milliseconds [David Heinemeier Hansson]
234
+
235
+ * Fix Ruby's Time marshaling bug in pre-1.9 versions of Ruby: utc instances are now correctly unmarshaled with a utc zone instead of the system local zone [#900 state:resolved] [Luca Guidi, Geoff Buesing]
236
+
237
+ * Add Array#in_groups which splits or iterates over the array in specified number of groups. #579. [Adrian Mugnolo] Example:
238
+
239
+ a = (1..10).to_a
240
+ a.in_groups(3) # => [[1, 2, 3, 4], [5, 6, 7, nil], [8, 9, 10, nil]]
241
+ a.in_groups(3, false) # => [[1, 2, 3, 4], [5, 6, 7], [8, 9, 10]]
242
+
243
+ * Fix TimeWithZone unmarshaling: coerce unmarshaled Time instances to utc, because Ruby's marshaling of Time instances doesn't respect the zone [Geoff Buesing]
244
+
245
+ * Added Memoizable mixin for caching simple lazy loaded attributes [Josh Peek]
246
+
247
+ * Move the test related core_ext stuff out of core_ext so it's only loaded by the test helpers. [Michael Koziarski]
248
+
249
+ * Add Inflection rules for String#humanize. #535 [Dan Manges]
250
+
251
+ ActiveSupport::Inflector.inflections do |inflect|
252
+ inflect.human(/_cnt$/i, '\1_count')
253
+ end
254
+
255
+ 'jargon_cnt'.humanize # => 'Jargon count'
256
+
257
+ * TimeWithZone: when crossing DST boundary, treat Durations of days, months or years as variable-length, and all other values as absolute length. A time + 24.hours will advance exactly 24 hours, but a time + 1.day will advance 23-25 hours, depending on the day. Ensure consistent behavior across all advancing methods [Geoff Buesing]
258
+
259
+ * Added TimeZone #=~, to support matching zones by regex in time_zone_select. #195 [Ernie Miller]
260
+
261
+ * Added Array#second through Array#fifth as aliases for Array#[1] through Array#[4] + Array#forty_two as alias for Array[41] [David Heinemeier Hansson]
262
+
263
+ * Added test/do declaration style testing to ActiveSupport::TestCase [DHH via Jay Fields]
264
+
265
+ * Added Object#present? which is equivalent to !Object#blank? [David Heinemeier Hansson]
266
+
267
+ * Added Enumberable#many? to encapsulate collection.size > 1 [David Heinemeier Hansson/Damian Janowski]
268
+
269
+ * Add more standard Hash methods to ActiveSupport::OrderedHash [Steve Purcell]
270
+
271
+ * Namespace Inflector, Dependencies, OrderedOptions, and TimeZone under ActiveSupport [Josh Peek]
272
+
273
+ * Added StringInquirer for doing things like StringInquirer.new("production").production? # => true and StringInquirer.new("production").development? # => false [David Heinemeier Hansson]
274
+
275
+ * Fixed Date#end_of_quarter to not blow up on May 31st [#289 state:resolved] (Danger)
276
+
277
+
278
+ *2.1.0 (May 31st, 2008)*
279
+
280
+ * TimeZone#to_s shows offset as GMT instead of UTC, because GMT will be more familiar to end users (see time zone selects used by Windows OS, google.com and yahoo.com.) Reverts [8370] [Geoff Buesing]
281
+
282
+ * Hash.from_xml: datetime xml types overflow to Ruby DateTime class when out of range of Time. Adding tests for utc offsets [Geoff Buesing]
283
+
284
+ * TimeWithZone #+ and #- : ensure overflow to DateTime with Numeric arg [Geoff Buesing]
285
+
286
+ * Time#to_json: don't convert to utc before encoding. References #175 [Geoff Buesing]
287
+
288
+ * Remove unused JSON::RESERVED_WORDS, JSON.valid_identifier? and JSON.reserved_word? methods. Resolves #164. [Cheah Chu Yeow]
289
+
290
+ * Adding Date.current, which returns Time.zone.today if config.time_zone is set; otherwise returns Date.today [Geoff Buesing]
291
+
292
+ * TimeWithZone: date part getter methods (#year #mon #day etc) are defined on class; no longer relying on method_missing [Geoff Buesing]
293
+
294
+ * Time.zone.parse return nil for strings with no date information [Geoff Buesing]
295
+
296
+ * Time.zone.parse respects offset information in string. Resolves #105. [Scott Fleckenstein, Geoff Buesing]
297
+
298
+ * Added Ruby 1.8 implementation of Process.daemon
299
+
300
+ * Duration #since and #ago with no argument (e.g., 5.days.ago) return TimeWithZone when config.time_zone is set. Introducing Time.current, which returns Time.zone.now if config.time_zone is set, otherwise just returns Time.now [Geoff Buesing]
301
+
302
+ * Time#since behaves correctly when passed a Duration. Closes #11527 [kemiller]
303
+
304
+ * Add #getutc alias for DateTime#utc [Geoff Buesing]
305
+
306
+ * Refactor TimeWithZone: don't send #since, #ago, #+, #-, #advance through method_missing [Geoff Buesing]
307
+
308
+ * TimeWithZone respects config.active_support.use_standard_json_time_format [Geoff Buesing]
309
+
310
+ * Add config.active_support.escape_html_entities_in_json to allow disabling of html entity escaping. [Rick Olson]
311
+
312
+ * Improve documentation. [Xavier Noria]
313
+
314
+ * Modified ActiveSupport::Callbacks::Callback#call to accept multiple arguments.
315
+
316
+ * Time #yesterday and #tomorrow behave correctly crossing DST boundary. Closes #7399 [sblackstone]
317
+
318
+ * TimeWithZone: Adding tests for dst and leap day edge cases when advancing time [Geoff Buesing]
319
+
320
+ * TimeWithZone#method_missing: send to utc to advance with dst correctness, otherwise send to time. Adding tests for time calculations methods [Geoff Buesing]
321
+
322
+ * Add config.active_support.use_standard_json_time_format setting so that Times and Dates export to ISO 8601 dates. [Rick Olson]
323
+
324
+ * TZInfo: Removing unneeded TimezoneProxy class [Geoff Buesing]
325
+
326
+ * TZInfo: Removing unneeded TimezoneIndexDefinition, since we're not including Indexes::Timezones [Geoff Buesing]
327
+
328
+ * Removing unnecessary uses_tzinfo helper from tests, given that TZInfo is now bundled [Geoff Buesing]
329
+
330
+ * Bundling abbreviated version of TZInfo gem 0.3.8: only the classes and zone definitions required to support Rails time zone features are included. If a recent version of the full TZInfo gem is installed, this will take precedence over the bundled version [Geoff Buesing]
331
+
332
+ * TimeWithZone#marshal_load does zone lookup via Time.get_zone, so that tzinfo/Olson identifiers are handled [Geoff Buesing]
333
+
334
+ * Time.zone= accepts TZInfo::Timezone instances and Olson identifiers; wraps result in TimeZone instance [Geoff Buesing]
335
+
336
+ * TimeWithZone time conversions don't need to be wrapped in TimeOrDateTime, because TZInfo does this internally [Geoff Buesing]
337
+
338
+ * TimeWithZone#usec returns 0 instead of error when DateTime is wrapped [Geoff Buesing]
339
+
340
+ * Improve documentation. [Ryan Bigg, Jan De Poorter, Cheah Chu Yeow, Xavier Shay, Jack Danger Canty, Emilio Tagua, Xavier Noria, Sunny Ripert]
341
+
342
+ * Ensure that TimeWithZone#to_yaml works when passed a YAML::Emitter. [Rick Olson]
343
+
344
+ * Ensure correct TimeWithZone#to_date [Geoff Buesing]
345
+
346
+ * Make TimeWithZone work with tzinfo 0.2.x: use TZInfo::Timezone#zone_identifier alias for #abbreviation, silence warnings on tests. Raise LoadError when TZInfo version is < 0.2 by sniffing for TZInfo::TimeOrDateTime constant. Move all tzinfo-dependent TimeZone tests into uses_tzinfo block [Geoff Buesing]
347
+
348
+ * Time, DateTime and TimeWithZone #in_time_zone defaults to Time.zone. Removing now unneeded #in_current_time_zone [Geoff Buesing]
349
+
350
+ * TZInfo caches Timezone instances in its own internal hash cache, so TimeZone::MAPPING doesn't need to cache them as well [Geoff Buesing]
351
+
352
+ * Adding TimeZone#parse [Geoff Buesing]
353
+
354
+ * Adding TimeZone#at and DateTime#to_f [Geoff Buesing]
355
+
356
+ * TimeWithZone responds to Ruby 1.9 weekday-named query methods [Geoff Buesing]
357
+
358
+ * TimeWithZone caches TZInfo::TimezonePeriod used for time conversion so that it can be reused, and enforces DST rules correctly when instance is created from a local time [Geoff Buesing]
359
+
360
+ * Fixed that BufferedLogger should create its own directory if one doesn't already exist #11285 [lotswholetime]
361
+
362
+ * Fix Numeric time tests broken by DST change by anchoring them to fixed times instead of Time.now. Anchor TimeZone#now DST test to time specified with Time.at instead of Time.local to work around platform differences with Time.local and DST representation [Geoff Buesing]
363
+
364
+ * Removing unneeded #change_time_zone method from Time, DateTime and TimeWithZone [Geoff Buesing]
365
+
366
+ * TimeZone #local and #now correctly enforce DST rules [Geoff Buesing]
367
+
368
+ * TimeWithZone instances correctly enforce DST rules. Adding TimeZone#period_for_utc [Geoff Buesing]
369
+
370
+ * test_time_with_datetime_fallback expects DateTime.local_offset instead of DateTime.now.offset [Geoff Buesing]
371
+
372
+ * Adding TimeWithZone #marshal_dump and #marshal_load [Geoff Buesing]
373
+
374
+ * Add OrderedHash#to_hash [Josh Peek]
375
+
376
+ * Adding Time#end_of_day, _quarter, _week, and _year. #9312 [Juanjo Bazan, Tarmo Tänav, BigTitus]
377
+
378
+ * Adding TimeWithZone#between? [Geoff Buesing]
379
+
380
+ * Time.=== returns true for TimeWithZone instances [Geoff Buesing]
381
+
382
+ * TimeWithZone #+ and #- behave consistently with numeric arguments regardless of whether wrapped time is a Time or DateTime; consistenty answers false to #acts_like?(:date) [Geoff Buesing]
383
+
384
+ * Add String#squish and String#squish! to remove consecutive chunks of whitespace. #11123 [Jordi Bunster, Henrik N]
385
+
386
+ * Serialize BigDecimals as Floats when using to_yaml. #8746 [Ernesto Jimenez]
387
+
388
+ * Adding TimeWithZone #to_yaml, #to_datetime, #eql? and method aliases for duck-typing compatibility with Time [Geoff Buesing]
389
+
390
+ * TimeWithZone #in_time_zone returns +self+ if zone argument is the same as #time_zone [Geoff Buesing]
391
+
392
+ * Adding TimeWithZone #to_a, #to_f, #to_i, #httpdate, #rfc2822 [Geoff Buesing]
393
+
394
+ * Pruning unneeded TimeWithZone#change_time_zone_to_current [Geoff Buesing]
395
+
396
+ * Time#zone=, #in_time_zone and #change_time_zone accept a Duration [Geoff Buesing]
397
+
398
+ * Time#in_time_zone handles Time.local instances correctly [Geoff Buesing]
399
+
400
+ * Pruning unneeded Time#change_time_zone_to_current. Enhanced docs to #change_time_zone to explain the difference between this method and #in_time_zone [Geoff Buesing]
401
+
402
+ * TimeZone#new method renamed #local; when used with Time.zone, constructor now reads: Time.zone.local() [Geoff Buesing]
403
+
404
+ * Added Base64.encode64s to encode values in base64 without the newlines. This makes the values immediately usable as URL parameters or memcache keys without further processing [David Heinemeier Hansson]
405
+
406
+ * Remove :nodoc: entries around the ActiveSupport test/unit assertions. #10946 [dancroak, jamesh]
407
+
408
+ * Add Time.zone_default accessor for setting the default time zone. Rails::Configuration.time_zone sets this. #10982 [Geoff Buesing]
409
+
410
+ * cache.fetch(key, :force => true) to force a cache miss. [Jeremy Kemper]
411
+
412
+ * Support retrieving TimeZones with a Duration. TimeZone[-28800] == TimeZone[-480.minutes]. [Rick Olson]
413
+
414
+ * TimeWithZone#- added, so that #- can handle a Time or TimeWithZone argument correctly [Geoff Buesing]
415
+
416
+ * with_timezone test helper renamed with_env_tz, to distinguish between setting ENV['TZ'] and setting Time.zone in tests [Geoff Buesing]
417
+
418
+ * Time#- coerces TimeWithZone argument to a Time instance so that difference in seconds can be calculated. Closes #10914 [Geoff Buesing, yyyc514]
419
+
420
+ * Adding UTC zone to TimeZone; TimeWithZone no longer has to fake UTC zone with nil [Geoff Buesing]
421
+
422
+ * Time.get_zone refactored to private method, given that the encapsulated logic is only useful internally [Geoff Buesing]
423
+
424
+ * Time.zone uses thread-local variable for thread safety. Adding Time.use_zone, for overriding Time.zone locally inside a block. Removing unneeded Time.zone_reset! [Geoff Buesing]
425
+
426
+ * TimeZone#to_s uses UTC rather than GMT; reapplying change that was undone in [8679]. #1689 [Cheah Chu Yeow]
427
+
428
+ * Time.days_in_month defaults to current year if no year is supplied as argument #10799 [Radar], uses Date.gregorian_leap? to determine leap year, and uses constant lookup to determine days in month [Geoff Buesing]
429
+
430
+ * Adding Time and DateTime #compare_with_coercion, which layers behavior on #<=> so that any combination of Time, DateTime and ActiveSupport::TimeWithZone instances can be chronologically compared [Geoff Buesing]
431
+
432
+ * TimeZone#now returns an ActiveSupport::TimeWithZone [Geoff Buesing]
433
+
434
+ * Time #in_current_time_zone and #change_time_zone_to_current return self when Time.zone is nil [Geoff Buesing]
435
+
436
+ * Remove unneeded #to_datetime_default_s alias for DateTime#to_s, given that we inherit a #to_default_s from Date that does exactly the same thing [Geoff Buesing]
437
+
438
+ * Refactor Time and DateTime #to_formatted_s: use ternary instead of nested if/else [Geoff Buesing]
439
+
440
+ * Adding Time and DateTime #formatted_offset, for outputting +HH:MM utc offset strings with cross-platform consistency [Geoff Buesing]
441
+
442
+ * Adding alternate_utc_string option to TimeZone#formatted_offset. Removing unneeded TimeZone#offset. [Geoff Buesing]
443
+
444
+ * Introduce ActiveSupport::TimeWithZone, for wrapping Time instances with a TimeZone. Introduce instance methods to Time for creating TimeWithZone instances, and class methods for managing a global time zone. [Geoff Buesing]
445
+
446
+ * Replace non-dst-aware TimeZone class with dst-aware class from tzinfo_timezone plugin. TimeZone#adjust and #unadjust are no longer available; tzinfo gem must now be present in order to perform time zone calculations, via #local_to_utc and #utc_to_local methods. [Geoff Buesing]
447
+
448
+ * Extract ActiveSupport::Callbacks from Active Record, test case setup and teardown, and ActionController::Dispatcher. #10727 [Josh Peek]
449
+
450
+ * Introducing DateTime #utc, #utc? and #utc_offset, for duck-typing compatibility with Time. Closes #10002 [Geoff Buesing]
451
+
452
+ * Time#to_json uses Numeric#to_utc_offset_s to output a cross-platform-consistent representation without having to convert to DateTime. References #9750 [Geoff Buesing]
453
+
454
+ * Refactor number-to-HH:MM-string conversion logic from TimeZone#formatted_offset to a reusable Numeric#to_utc_offset_s method. [Geoff Buesing]
455
+
456
+ * Continue evolution toward ActiveSupport::TestCase. #10679 [Josh Peek]
457
+
458
+ * TestCase: introduce declared setup and teardown callbacks. Pass a list of methods and an optional block to call before setup or after teardown. Setup callbacks are run in the order declared; teardown callbacks are run in reverse. [Jeremy Kemper]
459
+
460
+ * Added ActiveSupport::Gzip.decompress/compress(source) as an easy wrapper for Zlib [Tobias Lütke]
461
+
462
+ * Included MemCache-Client to make the improved ActiveSupport::Cache::MemCacheStore work out of the box [Bob Cottrell, Eric Hodel]
463
+
464
+ * Added ActiveSupport::Cache::* framework as an extraction from ActionController::Caching::Fragments::* [David Heinemeier Hansson]
465
+
466
+ * Fixed String#titleize to work for strings with 's too #10571 [trek]
467
+
468
+ * Changed the implementation of Enumerable#group_by to use a double array approach instead of a hash such that the insert order is honored [David Heinemeier Hansson/Marcel Molina Jr.]
469
+
470
+ * remove multiple enumerations from ActiveSupport::JSON#convert_json_to_yaml when dealing with date/time values. [Rick Olson]
471
+
472
+ * Hash#symbolize_keys skips keys that can't be symbolized. #10500 [Brad Greenlee]
473
+
474
+ * Ruby 1.9 compatibility. #1689, #10466, #10468, #10554, #10594, #10632 [Cheah Chu Yeow, Pratik Naik, Jeremy Kemper, Dirkjan Bussink, Xavier Noria]
475
+
476
+ * TimeZone#to_s uses UTC rather than GMT. #1689 [Cheah Chu Yeow]
477
+
478
+ * Refactor of Hash#symbolize_keys! to use Hash#replace. Closes #10420 [ReinH]
479
+
480
+ * Fix HashWithIndifferentAccess#to_options! so it doesn't clear the options hash. Closes #10419 [ReinH]
481
+
482
+
483
+ *2.0.1* (December 7th, 2007)
484
+
485
+ * Added Array#from and Array#to that behaves just from String#from and String#to [David Heinemeier Hansson]
486
+
487
+ * Fix that empty collections should be treated as empty arrays regardless of whitespace for Hash#from_xml #10255 [adamj]
488
+
489
+ * Time#time_with_datetime_fallback, Time#to_datetime, Date#to_datetime and String#to_datetime honor Ruby's default calendar reform setting. #10201 [Geoff Buesing]
490
+
491
+ * Change Time and DateTime #end_of_month to return last second of month instead of beginning of last day of month. Closes #10200 [Geoff Buesing]
492
+
493
+ * Speedup String#blank? [Jeremy Kemper, Michael Koziarski]
494
+
495
+ * Add documentation for Hash#diff. Closes #9306 [Tarmo Tänav]
496
+
497
+ * Add new superclass_delegating_accessors. Similar to class inheritable attributes but with subtly different semantics. [Michael Koziarski, Tarmo Tänav]
498
+
499
+ * Change JSON to encode %w(< > &) as 4 digit hex codes to be in compliance with the JSON spec. Closes #9975 [Josh Peek, Cheah Chu Yeow, Tim Pope]
500
+
501
+ * Fix JSON encoding/decoding bugs dealing with /'s. Closes #9990 [Rick Olson, theamazingrando]
502
+
503
+ * Introduce a base class for all test cases used by rails applications. ActiveSupport::TestCase [Michael Koziarski]
504
+
505
+ The intention is to use this to reduce the amount of monkeypatching / overriding that
506
+ is done to test/unit's classes.
507
+
508
+ * Document Enumerable and Hash #to_json. #9970 [Cheah Chu Yeow]
509
+
510
+ * Hash#to_xml handles symbol values. #9954 [Assaf]
511
+
512
+ * Hash#symbolize_keys behaves well with integer keys. #9890 [PotatoSalad]
513
+
514
+ * Multibyte: String#slice supports regexp argument. #9646 [yob]
515
+
516
+ * object.duplicable? returns true if object.dup is safe. False for nil, true, false, symbols, and numbers; true otherwise. #9333 [sur]
517
+
518
+ * Time, Date and DateTime #advance accept :weeks option. #9866 [Geoff Buesing]
519
+
520
+ * Fix Time#years_ago and #years_since from leap days. #9865 [Geoff Buesing]
521
+
522
+ * Time and DateTime#advance accept :hours, :minutes, and :seconds options. #9825 [Geoff Buesing]
523
+
524
+ * Fix Date#years_ago and #years_since from leap days. #9864 [Geoff Buesing]
525
+
526
+ * Refactor Time and Date#months_since and #months_ago to use #advance. #9863 [Geoff Buesing]
527
+
528
+ * Rebundle Builder 2.1.2 but prefer a newer RubyGem if available. [Jeremy Kemper]
529
+
530
+ * Add Range#overlaps?(range), Range#include?(range), and Range#step without a block. [brandon]
531
+
532
+ * Correct BufferedLogger#level? checks. #9806 [wildchild, Johan Sorensen]
533
+
534
+ * String#to_xs uses Eric Wong's fast_xs extension, if available, for Builder speedup. http://bogomips.org/fast_xs/ [Jeremy Kemper]
535
+
536
+ * Introduce BasicObject as Builder::BlankSlate for Ruby 1.9 forward compatibility. [Jeremy Kemper]
537
+
538
+ * Unbundle Builder in favor of a gem dependency. [Jeremy Kemper]
539
+
540
+ * Disambiguate Time, Date, and DateTime#to_json formatting. #9750 [Geoff Buesing, Cheah Chu Yeow]
541
+
542
+ * Hash#to_json takes :only or :except options to specific or omit certain hash keys. Enumerable#to_json passes through its options to each element. #9751 [Cheah Chu Yeow]
543
+
544
+ * BufferedLogger#auto_flushing = N flushes the log every N messages. Buffers with an array instead of string. Disabling auto_flushing still flushes when the buffer hits a maximum size, as a failsafe against memory-gobbling. [Jeremy Kemper]
545
+
546
+ * Fixed Date#xmlschema for dates outside the range of what can be created with Time #9744 [Geoff Buesing]
547
+
548
+ * Fixed that La Paz was included in -25200 and -14400 offsets when it should only be in -14400 #9735 [bermi]
549
+
550
+ * Fixed JSON encoding to use quoted keys according to the JSON standard. #8762 [choonkat, Cheah Chu Yeow]
551
+
552
+ * Alias Object#send to send! for Ruby 1.9 forward compatibility. [Jeremy Kemper]
553
+
554
+ * Backport Object#instance_variable_defined? for Ruby < 1.8.6. [Jeremy Kemper]
555
+
556
+ * BufferedLogger#add converts the message to a string. #9702, #9724 [eigentone, DrMark, Tom Ward]
557
+
558
+ * Added ActiveSupport::BufferedLogger as a duck-typing alternative (albeit with no formatter) to the Ruby Logger, which provides a very nice speed bump (inspired by Ezra's buffered logger) [David Heinemeier Hansson]
559
+
560
+ * Object#instance_exec produces fewer garbage methods. [Mauricio Fernandez]
561
+
562
+ * Decode json strings as Dates/Times if they're using a YAML-compatible format. Closes #9614 [Rick Olson]
563
+
564
+ * Fixed cache_page to use the request url instead of the routing options when picking a save path. #8614 [Josh Peek]
565
+
566
+ * Object.subclasses_of includes anonymous subclasses. [Jeremy Kemper]
567
+
568
+ * Fixed that pluralizing an empty string should return the same empty string, not "s". #7720 [Josh Peek]
569
+
570
+ * Added call to inspect on non-string classes for the logger #8533 [Coda Hale]
571
+
572
+ * Deprecation: remove deprecated :mday option from Time, Date, and DateTime#change. [Jeremy Kemper]
573
+
574
+ * Fix JSON decoder with nested quotes and commas. #9579 [Zach Dennis]
575
+
576
+ * Hash#to_xml doesn't double-unescape. #8806 [Ezran]
577
+
578
+ * Added Array#rand #9170 [Norbert Crombach]. Examples:
579
+
580
+ [].rand # => nil
581
+ ['a'].rand # => 'a'
582
+ [1,2,3].rand # => 1 or 2 or 3
583
+
584
+ * Deprecation: removed Reloadable. [Jeremy Kemper]
585
+
586
+ * Make the utf-handler return the correct value for non-matching regular expressions. Closes #9049 [Manfred Stienstra]
587
+
588
+ * Add ljust, rjust and center to utf8-handler. Closes #9165 [Manfred Stienstra]
589
+
590
+ * Fix Time#advance bug when trying to advance a year from leap day. Closes #8655 [Geoff Buesing]
591
+
592
+ * Add support for []= on ActiveSupport::Multibyte::Chars. Closes #9142. [ewan, Manfred Stienstra]
593
+
594
+ * Added Array#extract_options! to encapsulate the pattern of getting an options hash out of a variable number of parameters. #8759 [Norbert Crombach]
595
+
596
+ * Let alias_attribute work with attributes with initial capital letters (legacy columns etc). Closes #8596 [mpalmer]
597
+
598
+ * Added Hash#except which is the inverse of Hash#slice -- return the hash except the keys that are specified [David Heinemeier Hansson]
599
+
600
+ * Added support for pluralization with a different starting letter than the singular version (cow/kine) #4929 [norri_b/Josh Susser]
601
+
602
+ * Demote Hash#to_xml to use XmlSimple#xml_in_string so it can't read files or stdin. #8453 [candlerb, Jeremy Kemper]
603
+
604
+ * Backport clean_logger changes to support ruby 1.8.2 [Mislav Marohnić]
605
+
606
+ * Added proper handling of arrays #8537 [Josh Susser]
607
+
608
+ Before:
609
+ Hash.from_xml '<images></images>'
610
+ # => {:images => nil}
611
+
612
+ Hash.from_xml '<images><image>foo.jpg</image></images>'
613
+ # => {:images => {:image => "foo.jpg"}}
614
+
615
+ Hash.from_xml '<images><image>foo.jpg</image><image>bar.jpg</image></images>'
616
+ # => {:images => {:image => ["foo.jpg", "bar.jpg"]}}
617
+
618
+ After:
619
+ Hash.from_xml '<images type="array"></images>'
620
+ # => {:images => []}
621
+
622
+ Hash.from_xml '<images type="array"><image>foo.jpg</image></images>'
623
+ # => {:images => ["foo.jpg"]}
624
+
625
+ Hash.from_xml '<images type="array"><image>foo.jpg</image><image>bar.jpg</image></images>'
626
+ # => {:images => ["foo.jpg", "bar.jpg"]}
627
+
628
+ * Improve Time and Date test coverage. #8646 [Josh Peek]
629
+
630
+ * Add Date#since, ago, beginning_of_day, and end_of_day. Date + seconds works now. #8575 [Geoff Buesing]
631
+
632
+ * String#to_time overflows to DateTime. Add String#to_datetime. #8572 [Geoff Buesing]
633
+
634
+ * Date.yesterday and .tomorrow. #8571 [Geoff Buesing]
635
+
636
+ * Readable Date and DateTime#inspect. #8570 [Geoff Buesing]
637
+
638
+ * Move common DateTime calculations to Date. #8536 [Geoff Buesing]
639
+
640
+ * Added Date#change (like Time#change) [David Heinemeier Hansson]
641
+
642
+ * DateTime#to_time converts to Time unless out of range. #8512 [Geoff Buesing]
643
+
644
+ * Date#to_datetime, #to_s(:rfc822). #8512 [Geoff Buesing]
645
+
646
+ * Time durations use since instead of + for accuracy. #8513 [Geoff Buesing]
647
+
648
+ * escape <'s and >'s in JSON strings. #8371 [Rick Olson]
649
+
650
+ * Inflections: MatrixTest -> MatrixTests instead of MatricesTest. #8496 [jbwiv]
651
+
652
+ * Multibyte strings respond_to the String methods they proxy so they can be duck-typed. #6549 [Tuxie]
653
+
654
+ * Array#to_xml yields the builder just like Hash and ActiveRecord::Base. #8472 [seth]
655
+
656
+ * Date, Time, and DateTime support formatting blocks in addition to strftime strings. Introduce :long_ordinal format, e.g. "February 21st, 2005". #8191 [Coda Hale]
657
+
658
+ * Document Object#blank?. #6491 [Chris Mear]
659
+
660
+ * Date, Time, and DateTime#to_json. #8399 [wycats]
661
+
662
+ * Simplify API of assert_difference by passing in an expression that is evaluated before and after the passed in block. See documenation for examples of new API. [Marcel Molina Jr.]
663
+
664
+ * Added assert_difference and assert_no_difference to test/unit assertions [Tobias Lütke]
665
+
666
+ * Removed breakpointer and Binding.of_caller in favor of relying on ruby-debug by Kent Sibilev since the breakpointer has been broken since Ruby 1.8.4 and will not be coming back [David Heinemeier Hansson]
667
+
668
+ * Added parsing of file type in Hash.xml_in so you can easily do file uploads with base64 from an API [David Heinemeier Hansson]
669
+
670
+ <person>
671
+ <name>David</name>
672
+ <avatar type="file" name="me.jpg" content_type="image/jpg">R0lGODlhkACZAPUAAM5lcfjrtMQCG=\n</avatar>
673
+ </person>
674
+
675
+ ...becomes:
676
+
677
+ attributes = { :person => { :name => "David", :avatar => #<StringIO> } }
678
+ attributes[:person][:avatar].content_type # => "image/jpg"
679
+ attributes[:person][:avatar].original_filename # => "me.jpg"
680
+ attributes[:person][:avatar].read # => binary data of the file
681
+
682
+ Which is duck-type compatible with the files that you get when doing multipart uploads through HTML.
683
+
684
+ * Improved multibyte performance by relying less on exception raising #8159 [Blaine]
685
+
686
+ * Use XSD-compatible type names for Hash#to_xml and make the converters extendable #8047 [Tim Pope]
687
+
688
+ * Added yielding of builder in Hash#to_xml [David Heinemeier Hansson]
689
+
690
+ * Hash#with_indifferent_access now also converts hashes kept in arrays to indifferent access (makes it easier to treat HTML and XML parameters the same) [David Heinemeier Hansson]
691
+
692
+ * Hash#to_xml supports YAML attributes. #7502 [jonathan]
693
+
694
+ * Refactor ActiveSupport::JSON to be less obtuse. Add support for JSON decoding by way of Syck with ActiveSupport::JSON.decode(json_string). Prevent hash keys that are JavaScript reserved words from being unquoted during encoding. [Sam Stephenson]
695
+
696
+ * alias_method_chain preserves the original method's visibility. #7854 [Jonathan Viney]
697
+
698
+ * Update Dependencies to ignore constants inherited from ancestors. Closes #6951. [Nicholas Seckar]
699
+
700
+ * Array#to_query preserves its ordering. #7756 [Greg Spurrier]
701
+
702
+ * Out-of-range Time calculations transparently overflow to DateTime. Introduce Time#to_datetime. #7706, #7715 [Geoff Buesing]
703
+
704
+ * DateTime calculations analogous to the Date and Time extensions. #7693 [Geoff Buesing]
705
+
706
+ * Give DateTime correct .to_s implementations, lets it play nice with ActiveRecord quoting. #7649 [Geoff Buesing]
707
+
708
+ * Add File.atomic_write, allows you to write large files in an atomic manner, preventing users from seeing half written files. [Michael Koziarski]
709
+
710
+ * Allow users to provide custom formatters to Logger. [Anthony Eden]
711
+
712
+ * Hash#to_query CGI-escapes its keys. [Jeremy Kemper]
713
+
714
+ * Optimize Class Inheritable Attributes so that unnecessary hashes are not created. Closes #7472 [Bruce Perens]
715
+
716
+ * :db format for Date#to_s [Jeremy Kemper]
717
+ Date.new(2007, 1, 27).to_s(:db) # => '2007-01-27'
718
+
719
+ * Added :instance_writer option to #mattr_writer/accessor, #cattr_writer/accessor, and #class_inheritable_writer to skip the creation of the instance writer. [Rick Olson]
720
+
721
+ * Added Hash#to_query to turn a hash of values into a form-encoded query string [Nicholas Seckar]
722
+
723
+ * Increase test coverage for subclasses_of. Closes #7335. [Roman2K, Nicholas Seckar]
724
+
725
+ * Remove unused code from Duration#inspect. Closes #7180. [Rich Collins]
726
+
727
+ * Added test coverage for Inflector.inflections.clear. Closes #7179. [Rich Collins]
728
+
729
+ * ActiveSupport::Multibyte::Handlers::UTF8Handler should raise when a range and an integer are passed in (just like the native implementation). Closes #7176 [Rich Collins]
730
+
731
+ * A couple extra tests for #classify. Closes #7273. [Josh Susser]
732
+
733
+ * Better docs for Object extensions [zackchandler, Jamis Buck]
734
+
735
+ * Fix that Dates couldn't be subtracted from Dates after [5940]. [Sam Stephenson]
736
+
737
+ * Add Object#acts_like? and Time#acts_like_time? and Date#acts_like_date? to facilitate duck-typing. [Jamis Buck]
738
+
739
+ * Make 1.months and friends accurate by introducing a Duration class. #6835 [eventualbuddha]
740
+
741
+
742
+ *1.4.2* (March 12th, 2007)
743
+
744
+ * Ruby 1.8.6 and 1.9 define private Time#to_date and #to_datetime; make them
745
+ public for compatibility. [Jeremy Kemper]
746
+
747
+ * Deprecation: warn on stderr if RAILS_DEFAULT_LOGGER isn't set yet. [Jeremy Kemper]
748
+
749
+
750
+ *1.4.1* (February 5th, 2007)
751
+
752
+ * Optimize Class Inheritable Attributes so that unnecessary hashes are not created. Closes #7472 [Bruce Perens]
753
+
754
+ * Added :instance_writer option to #mattr_writer/accessor, #cattr_writer/accessor, and #class_inheritable_writer to skip the creation of the instance writer. [Rick Olson]
755
+
756
+ * Full test coverage for Inflector. #7228 [Dan Kubb]
757
+
758
+
759
+ *1.4.0* (January 16th, 2007)
760
+
761
+ * Document Inflector.ordinalize and merge docs from String inflections. #7023 [smeade]
762
+
763
+ * Unbundle flexmock. [Jeremy Kemper]
764
+
765
+ * Fix Dependencies.autoloaded? to ignore anonymous modules. Closes #6561. [Nicholas Seckar]
766
+
767
+ * Update load once paths to prevent nested once constants from being detected and claimed by an external non-once load. [Nicholas Seckar]
768
+
769
+ * Deprecation: silence warnings when reporting test errors. [Jeremy Kemper]
770
+
771
+ * Hash#slice(*keys) returns a new hash with only the given keys. #slice! replaces the hash with only the given keys. Works with HashWithIndifferentAccess also. [Jeremy Kemper]
772
+
773
+ * HashWithIndifferentAccess#to_hash converts to a Hash with String keys and the same default value. [Jeremy Kemper]
774
+
775
+ * Fix remove_constant to correctly handle constant names of the form "::A::...". References #6720. [Nicholas Seckar]
776
+
777
+ * Fixed Array#to_xml when it contains a series of hashes (each piece would get its own XML declaration) #6610 [thkarcher/cyu]
778
+
779
+ * Added Time#to_s(:time) which will just return H:M, like 17:44 [David Heinemeier Hansson]
780
+
781
+ * Add Module#attr_accessor_with_default to initialize value of attribute before setting it. Closes #6538. [Stuart Halloway, Marcel Molina Jr.]
782
+
783
+ * Hash#to_xml handles keys with the same name as Kernel methods. #6613 [Jonathan del Strother]
784
+
785
+ * Added Time#end_of_day to get 23:59:59 of that day [David Heinemeier Hansson]
786
+
787
+ * Don't quote hash keys in Hash#to_json if they're valid JavaScript identifiers. Disable this with ActiveSupport::JSON.unquote_hash_key_identifiers = false if you need strict JSON compliance. [Sam Stephenson]
788
+
789
+ * Lazily load the Unicode Database in the UTF-8 Handler [Rick Olson]
790
+
791
+ * Update dependencies to delete partially loaded constants. [Nicholas Seckar]
792
+
793
+ * Fix unicode JSON regexp for Onigurama compatibility. #6494 [whitley]
794
+
795
+ * update XmlSimple to 1.0.10. Closes #6532. [Nick Sieger]
796
+
797
+ * Update dependencies to allow constants to be defined alongside their siblings. A common case for this is AR model classes with STI; user.rb might define User, Administrator and Guest for example. [Nicholas Seckar]
798
+
799
+ * next_week respects DST changes. #6483, #5617, #2353, #2509, #4551 [marclove, Rob Biedenharn, rails@roetzel.de, jsolson@damogran.org, drbrain@segment7.net]
800
+
801
+ * Expose methods added to Enumerable in the documentation, such as group_by. Closes #6170. [sergeykojin@gmail.com, Marcel Molina Jr.]
802
+
803
+ * Ensure Chars#tidy_bytes only tidies broken bytes. Closes #6397 [Manfred Stienstra]
804
+
805
+ * Add 'unloadable', a method used to mark any constant as requiring an unload after each request. [Nicholas Seckar]
806
+
807
+ * Make core_ext/string/access.rb multibyte safe. Closes #6388 [Manfred Stienstra]
808
+
809
+ * Make String#chars slicing behaviour consistent with String. Closes #6387 [Manfred Stienstra]
810
+
811
+ * Pull in latest multibyte patch. Closes #6346 [Manfred Stienstra]
812
+
813
+ * Add ActiveSupport::Multibyte. Provides String#chars which lets you deal with strings as a sequence of chars, not of bytes. Closes #6242 [Julian Tarkhanov, Manfred Stienstra, Thijs van der Vossen & Jan Behrens]
814
+
815
+ * Fix issue with #class_inheritable_accessor saving updates to the parent class when initialized with an Array or Hash [mojombo]
816
+
817
+ * Hash#to_xml supports Bignum and BigDecimal. #6313 [edibiase]
818
+
819
+ * Don't undefine #class in OptionMerger [Rick Olson]
820
+
821
+ * Hash.create_from_xml has been renamed to Hash.from_xml, alias will exist until Rails 2.0 [David Heinemeier Hansson]
822
+
823
+ * alias_method_chain works with accessor= methods also. #6153 [Caio Chassot]
824
+
825
+ * Fix loadable_constants_for_path to handle load paths that do not end with a slash. [Nicholas Seckar]
826
+
827
+ * Fix logic error in determining what was loaded by a given file. Closes #6039. [Nicholas Seckar]
828
+
829
+ * Equate Kernel.const_missing with Object.const_missing. Fixes #5988. [Nicholas Seckar]
830
+
831
+ * Add ApplicationController special case to Dependencies. [Nicholas Seckar]
832
+
833
+ * Don't pad remaining places with in_groups_of if specified padding value is false. [Marcel Molina Jr.]
834
+
835
+ * Fix cases where empty xml nodes weren't being translated to nil in Hash.create_from_xml [Rick Olso n]
836
+
837
+ <written-on type="date"></written-on> # => { :type => 'date' } # WRONG
838
+ <written-on type="date"></written-on> # => nil # RIGHT
839
+
840
+ * Tighten rescue clauses. #5985 [james@grayproductions.net]
841
+
842
+ * Inflections: don't singularize -ies plurals. [foamdino@gmail.com, Mark Van Holstyn]
843
+
844
+ * Update Initializer to use load_once_paths to avoid plugin reloading. References #5852. [Nicholas Seckar]
845
+
846
+ * Use Array#assoc in ActiveSupport::OrderedHash. [Mauricio Fernandez]
847
+
848
+ * Greatly increased performance of String.to_json, which speeds up RJS considerably on large pages, fixes #3473 [Shugo Maeda]
849
+
850
+ * Detect missing_constants calls from removed modules and fail accordingly. [Nicholas Seckar]
851
+
852
+ * Stop using defined? in Dependencies.qualified_const_defined? since defined? may invoke const_missing. [Nicholas Seckar]
853
+
854
+ * Dependencies can autoload directories of nested classes. [Jeremy Kemper]
855
+ Example:
856
+ invoice.rb class Invoice
857
+ invoice/lineitem.rb class Invoice::Lineitem
858
+
859
+ * Add Deprecation.silence so that Reloadable does not scold itself. [Nicholas Seckar]
860
+
861
+ * Add debugging logging to Dependencies. Currently can be enabled with Dependencies.log_activity = true; adding to Initializer and documenting is forthcoming. [Nicholas Seckar]
862
+
863
+ * Replace Reloadable with improvements to the Dependencies mechanism. [Nicholas Seckar]
864
+
865
+ * DateTime#to_time gives hour/minute/second resolution. #5747 [jon.evans@pobox.com]
866
+
867
+ * attr_internal to support namespacing and deprecation. Like attr_* except backed by internally-named instance variable. Set attr_internal_naming_format to change the format from the default '@_%s'. [Jeremy Kemper]
868
+ # def foo() @foo__rofl end
869
+ # def foo=(v) @foo__rofl = v end
870
+ self.attr_internal_naming_format = '@%s__rofl'
871
+ attr_internal :foo
872
+
873
+ * Raise fully qualified names upon name errors. #5533 [Lars Pind, Nicholas Seckar]
874
+
875
+ * Add extention to obtain the missing constant from NameError instances. [Nicholas Seckar]
876
+
877
+ * Thoroughly document inflections. #5700 [petermichaux@gmail.com]
878
+
879
+ * Added Module#alias_attribute [Jamis/David Heinemeier Hansson]. Example:
880
+
881
+ class Content < ActiveRecord::Base
882
+ # has a title attribute
883
+ end
884
+
885
+ class Email < ActiveRecord::Base
886
+ alias_attribute :subject, :title
887
+ end
888
+
889
+ e = Email.find(1)
890
+ e.title # => "Superstars"
891
+ e.subject # => "Superstars"
892
+ e.subject? # => true
893
+ e.subject = "Megastars"
894
+ e.title # => "Megastars"
895
+
896
+ * Deprecation: easier to work with warning behavior as procs; default behaviors for each environment so users needn't update env.rb; and testing pleasure with assert_deprecated, assert_not_deprecated. [Jeremy Kemper]
897
+ By default, test prints to $stderr, dev logs, production ignores.
898
+ Provide your own per-environment in e.g. config/environments/development.rb:
899
+ ActiveSupport::Deprecation.behavior = Proc.new { |message| raise message }
900
+
901
+ * First cut of the Rails Deprecation system. [Michael Koziarski]
902
+
903
+ * Strip boolean XML content before checking for 'true' [Rick Olson]
904
+
905
+ * Customize default BigDecimal formatting. References #5672 [Dave Thomas]
906
+
907
+ * Correctly convert <foo nil="true"> to nil when using Hash.create_from_xml. [Rick Olson]
908
+
909
+ * Optional identity for Enumerable#sum defaults to zero. #5657 [gensym@mac.com]
910
+
911
+ * HashWithIndifferentAccess shouldn't confuse false and nil. #5601 [Shugo Maeda]
912
+
913
+ * Fixed HashWithIndifferentAccess#default #5586 [chris@seagul.co.uk]
914
+
915
+ * More compatible Hash.create_from_xml. #5523 [nunemaker@gmail.com]
916
+
917
+ * Added Enumerable#sum for calculating a sum from the elements [David Heinemeier Hansson, jonathan@daikini.com]. Examples:
918
+
919
+ [1, 2, 3].sum
920
+ payments.sum { |p| p.price * p.tax_rate }
921
+ payments.sum(&:price)
922
+
923
+ This is instead of payments.inject(0) { |sum, p| sum + p.price }
924
+
925
+ * Correct and clarify Array#to_sentence docs. #5458 [brad@madriska.com]
926
+
927
+ * alias_method_chain preserves method punctuation so foo, foo?, and foo! may be chained with the same feature. [Jeremy Kemper]
928
+ Example:
929
+ alias_method_chain :save!, :validation
930
+ is equivalent to
931
+ alias_method :save_without_validation!, :save!
932
+ alias_method :save!, :save_with_validation!
933
+
934
+ * Enhance Symbol#to_proc so it works with list objects, such as multi-dimensional arrays. Closes #5295 [nov@yo.rim.or.jp]. Example:
935
+
936
+ {1 => "one", 2 => "two", 3 => "three"}.sort_by(&:first).map(&:last)
937
+ # => ["one", "two", "three"]
938
+
939
+ * Added Hash.create_from_xml(string) which will create a hash from a XML string and even typecast if possible [David Heinemeier Hansson]. Example:
940
+
941
+ Hash.create_from_xml <<-EOT
942
+ <note>
943
+ <title>This is a note</title>
944
+ <created-at type="date">2004-10-10</created-at>
945
+ </note>
946
+ EOT
947
+
948
+ ...would return:
949
+
950
+ { :note => { :title => "This is a note", :created_at => Date.new(2004, 10, 10) } }
951
+
952
+ * Added Jim Weirich's excellent FlexMock class to vendor (Copyright 2003, 2004 by Jim Weirich (jim@weriichhouse.org)) -- it's not automatically required, though, so require 'flexmock' is still necessary [David Heinemeier Hansson]
953
+
954
+ * Fixed that Module#alias_method_chain should work with both foo? foo! and foo at the same time #4954 [anna@wota.jp]
955
+
956
+ * to_xml fixes, features, and speedup: introduce :dasherize option that converts updated_at to updated-at if true (the existing default); binary columns get encoding="base64" attribute; nil values get nil="true" attribute to distinguish empty values; add type information for float columns; allow arbitrarily deep :include; include SQL type information as the type attribute. #4989 [Blair Zajac <blair@orcaware.com>]
957
+
958
+ * Add OrderedHash#values. [Sam Stephenson]
959
+
960
+ * Added Array#to_s(:db) that'll produce a comma-separated list of ids [David Heinemeier Hansson]. Example:
961
+
962
+ Purchase.find(:all, :conditions => "product_id IN (#{shops.products.to_s(:db)})"
963
+
964
+ * Normalize classify's argument to a String so that it plays nice with Symbols. [Marcel Molina Jr.]
965
+
966
+ * Strip out leading schema name in classify. References #5139. [Michael Schoen]
967
+
968
+ * Remove Enumerable#first_match since break(value) handles the use case well enough. [Nicholas Seckar]
969
+
970
+ Enumerable#first_match was like detect, but instead of returning the matching element, the yielded value returned. For example:
971
+
972
+ user_xml = adapters(:from => User, :to => Xml).first_match do |adapter|
973
+ adapter.adapt @user
974
+ end
975
+
976
+ But this is just as easily done with:
977
+
978
+ user_xml = adapters(:from => User, :to => Xml).each do
979
+ break adapter.adapt(@user)
980
+ end
981
+
982
+ * Make Array#in_groups_of just return the grouped collection if a block isn't given. [Marcel Molina Jr.]
983
+
984
+ * Don't destroy a HashWithIndifferentAccess if symbolize_keys! or stringify_keys! is called on it. Closes #5076. [Marcel Molina Jr., guy.naor@famundo.com]
985
+
986
+ * Document Module::delegate. #5002 [pergesu@gmail.com]
987
+
988
+ * Replace alias method chaining with Module#alias_method_chain. [Marcel Molina Jr.]
989
+
990
+ * Strip out punctuation on predicates or bang methods being aliased with alias_method_chain since target?_without_feature is not a valid method name. Add tests for Module#alias_method_chain. [Marcel Molina Jr.]
991
+
992
+ * Replace Ruby's deprecated append_features in favor of included. [Marcel Molina Jr.]
993
+
994
+ * Allow default options in with_options to be overridden. Closes #4480. [murphy@cYcnus.de]
995
+
996
+ * Added Module#alias_method_chain [Jamis Buck]
997
+
998
+ * Updated to Builder 2.0 [David Heinemeier Hansson]
999
+
1000
+ * Add Array#split for dividing arrays into one or more subarrays by value or block. [Sam Stephenson]
1001
+
1002
+ *1.3.1* (April 6th, 2006)
1003
+
1004
+ * Clean paths inside of exception messages and traces. [Nicholas Seckar]
1005
+
1006
+ * Add Pathname.clean_within for cleaning all the paths inside of a string. [Nicholas Seckar]
1007
+
1008
+ * provide an empty Dependencies::LoadingModule.load which prints deprecation warnings. Lets 1.0 applications function with .13-style environment.rb.
1009
+
1010
+
1011
+ *1.3.0* (March 27th, 2006)
1012
+
1013
+ * When possible, avoid incorrectly obtaining constants from parent modules. Fixes #4221. [Nicholas Seckar]
1014
+
1015
+ * Add more tests for dependencies; refactor existing cases. [Nicholas Seckar]
1016
+
1017
+ * Move Module#parent and Module#as_load_path into core_ext. Add Module#parent. [Nicholas Seckar]
1018
+
1019
+ * Add CachingTools::HashCaching to simplify the creation of nested, autofilling hashes. [Nicholas Seckar]
1020
+
1021
+ * Remove a hack intended to avoid unloading the same class twice, but which would not work anyways. [Nicholas Seckar]
1022
+
1023
+ * Update Object.subclasses_of to locate nested classes. This affects Object.remove_subclasses_of in that nested classes will now be unloaded. [Nicholas Seckar]
1024
+
1025
+ * Update Object.remove_subclasses_of to use Class.remove_class, reducing duplication. [Nicholas Seckar]
1026
+
1027
+ * Added Fixnum#seconds for consistency, so you can say 5.minutes + 30.seconds instead of 5.minutes + 30 #4389 [François Beausoleil]
1028
+
1029
+ * Added option to String#camelize to generate lower-cased camel case by passing in :lower, like "super_man".camelize(:lower) # => "superMan" [David Heinemeier Hansson]
1030
+
1031
+ * Added Hash#diff to show the difference between two hashes [Chris McGrath]
1032
+
1033
+ * Added Time#advance to do precise time time calculations for cases where a month being approximated to 30 days won't do #1860 [Rick Olson]
1034
+
1035
+ * Enhance Inflector.underscore to convert '-' into '_' (as the inverse of Inflector.dasherize) [Jamis Buck]
1036
+
1037
+ * Switched to_xml to use the xml schema format for datetimes. This allows the encoding of time zones and should improve operability. [Michael Koziarski]
1038
+
1039
+ * Added a note to the documentation for the Date related Numeric extensions to indicate that they're
1040
+ approximations and shouldn't be used for critical calculations. [Michael Koziarski]
1041
+
1042
+ * Added Hash#to_xml and Array#to_xml that makes it much easier to produce XML from basic structures [David Heinemeier Hansson]. Examples:
1043
+
1044
+ { :name => "David", :street_name => "Paulina", :age => 26, :moved_on => Date.new(2005, 11, 15) }.to_xml
1045
+
1046
+ ...returns:
1047
+
1048
+ <person>
1049
+ <street-name>Paulina</street-name>
1050
+ <name>David</name>
1051
+ <age type="integer">26</age>
1052
+ <moved-on type="date">2005-11-15</moved-on>
1053
+ </person>
1054
+
1055
+ * Moved Jim Weirich's wonderful Builder from Action Pack to Active Support (it's simply too useful to be stuck in AP) [David Heinemeier Hansson]
1056
+
1057
+ * Fixed that Array#to_sentence will return "" on an empty array instead of ", and" #3842, #4031 [rubyonrails@beautifulpixel.com]
1058
+
1059
+ * Add Enumerable#group_by for grouping collections based on the result of some
1060
+ block. Useful, for example, for grouping records by date.
1061
+
1062
+ ex.
1063
+
1064
+ latest_transcripts.group_by(&:day).each do |day, transcripts|
1065
+ p "#{day} -> #{transcripts.map(&:class) * ', '}"
1066
+ end
1067
+ "2006-03-01 -> Transcript"
1068
+ "2006-02-28 -> Transcript"
1069
+ "2006-02-27 -> Transcript, Transcript"
1070
+ "2006-02-26 -> Transcript, Transcript"
1071
+
1072
+ Add Array#in_groups_of, for iterating over an array in groups of a certain
1073
+ size.
1074
+
1075
+ ex.
1076
+
1077
+ %w(1 2 3 4 5 6 7).in_groups_of(3) {|g| p g}
1078
+ ["1", "2", "3"]
1079
+ ["4", "5", "6"]
1080
+ ["7", nil, nil]
1081
+
1082
+ [Marcel Molina Jr., Sam Stephenson]
1083
+
1084
+ * Added Kernel#daemonize to turn the current process into a daemon that can be killed with a TERM signal [David Heinemeier Hansson]
1085
+
1086
+ * Add 'around' methods to Logger, to make it easy to log before and after messages for a given block as requested in #3809. [Michael Koziarski] Example:
1087
+
1088
+ logger.around_info("Start rendering component (#{options.inspect}): ",
1089
+ "\n\nEnd of component rendering") { yield }
1090
+
1091
+ * Added Time#beginning_of_quarter #3607 [cohen.jeff@gmail.com]
1092
+
1093
+ * Fix Object.subclasses_of to only return currently defined objects [Jonathan Viney <jonathan@bluewire.net.nz>]
1094
+
1095
+ * Fix constantize to properly handle names beginning with '::'. [Nicholas Seckar]
1096
+
1097
+ * Make String#last return the string instead of nil when it is shorter than the limit [Scott Barron].
1098
+
1099
+ * Added delegation support to Module that allows multiple delegations at once (unlike Forwardable in the stdlib) [David Heinemeier Hansson]. Example:
1100
+
1101
+ class Account < ActiveRecord::Base
1102
+ has_one :subscription
1103
+ delegate :free?, :paying?, :to => :subscription
1104
+ delegate :overdue?, :to => "subscription.last_payment"
1105
+ end
1106
+
1107
+ account.free? # => account.subscription.free?
1108
+ account.overdue? # => account.subscription.last_payment.overdue?
1109
+
1110
+ * Fix Reloadable to handle the case where a class that has been 'removed' has not yet been garbage collected. [Nicholas Seckar]
1111
+
1112
+ * Don't allow Reloadable to be included into Modules.
1113
+
1114
+ * Remove LoadingModule. [Nicholas Seckar]
1115
+
1116
+ * Add documentation for Reloadable::Subclasses. [Nicholas Seckar]
1117
+
1118
+ * Add Reloadable::Subclasses which handles the common case where a base class should not be reloaded, but its subclasses should be. [Nicholas Seckar]
1119
+
1120
+ * Further improvements to reloading code [Nicholas Seckar, Trevor Squires]
1121
+
1122
+ - All classes/modules which include Reloadable can define reloadable? for fine grained control of reloading
1123
+ - Class.remove_class uses Module#parent to access the parent module
1124
+ - Class.remove_class expanded to handle multiple classes in a single call
1125
+ - LoadingModule.clear! has been removed as it is no longer required
1126
+ - Module#remove_classes_including has been removed in favor of Reloadable.reloadable_classes
1127
+
1128
+ * Added reusable reloading support through the inclusion of the Relodable module that all subclasses of ActiveRecord::Base, ActiveRecord::Observer, ActiveController::Base, and ActionMailer::Base automatically gets. This means that these classes will be reloaded by the dispatcher when Dependencies.mechanism = :load. You can make your own models reloadable easily:
1129
+
1130
+ class Setting
1131
+ include Reloadable
1132
+ end
1133
+
1134
+ Reloading a class is done by removing its constant which will cause it to be loaded again on the next reference. [David Heinemeier Hansson]
1135
+
1136
+ * Added auto-loading support for classes in modules, so Conductor::Migration will look for conductor/migration.rb and Conductor::Database::Settings will look for conductor/database/settings.rb [Nicholas Seckar]
1137
+
1138
+ * Add Object#instance_exec, like instance_eval but passes its arguments to the block. (Active Support will not override the Ruby 1.9 implementation of this method.) [Sam Stephenson]
1139
+
1140
+ * Add Proc#bind(object) for changing a proc or block's self by returning a Method bound to the given object. Based on why the lucky stiff's "cloaker" method. [Sam Stephenson]
1141
+
1142
+ * Fix merge and dup for hashes with indifferent access #3404 [Ken Miller]
1143
+
1144
+ * Fix the requires in option_merger_test to unbreak AS tests. [Sam Stephenson]
1145
+
1146
+ * Make HashWithIndifferentAccess#update behave like Hash#update by returning the hash. #3419, #3425 [asnem@student.ethz.ch, JanPrill@blauton.de, Marcel Molina Jr.]
1147
+
1148
+ * Add ActiveSupport::JSON and Object#to_json for converting Ruby objects to JSON strings. [Sam Stephenson]
1149
+
1150
+ * Add Object#with_options for DRYing up multiple calls to methods having shared options. [Sam Stephenson] Example:
1151
+
1152
+ ActionController::Routing::Routes.draw do |map|
1153
+ # Account routes
1154
+ map.with_options(:controller => 'account') do |account|
1155
+ account.home '', :action => 'dashboard'
1156
+ account.signup 'signup', :action => 'new'
1157
+ account.logout 'logout', :action => 'logout'
1158
+ end
1159
+ end
1160
+
1161
+ * Introduce Dependencies.warnings_on_first_load setting. If true, enables warnings on first load of a require_dependency. Otherwise, loads without warnings. Disabled (set to false) by default. [Jeremy Kemper]
1162
+
1163
+ * Active Support is warnings-safe. #1792 [Eric Hodel]
1164
+
1165
+ * Introduce enable_warnings counterpart to silence_warnings. Turn warnings on when loading a file for the first time if Dependencies.mechanism == :load. Common mistakes such as redefined methods will print warnings to stderr. [Jeremy Kemper]
1166
+
1167
+ * Add Symbol#to_proc, which allows for, e.g. [:foo, :bar].map(&:to_s). [Marcel Molina Jr.]
1168
+
1169
+ * Added the following methods [Marcel Molina Jr., Sam Stephenson]:
1170
+ * Object#copy_instance_variables_from(object) to copy instance variables from one object to another
1171
+ * Object#extended_by to get an instance's included/extended modules
1172
+ * Object#extend_with_included_modules_from(object) to extend an instance with the modules from another instance
1173
+
1174
+ *1.2.5* (December 13th, 2005)
1175
+
1176
+ * Become part of Rails 1.0
1177
+
1178
+ * Rename Version constant to VERSION. #2802 [Marcel Molina Jr.]
1179
+
1180
+ *1.2.3* (November 7th, 2005)
1181
+
1182
+ * Change Inflector#constantize to use eval instead of const_get. [Nicholas Seckar]
1183
+
1184
+ * Fix const_missing handler to ignore the trailing '.rb' on files when comparing paths. [Nicholas Seckar]
1185
+
1186
+ * Define kernel.rb methods in "class Object" instead of "module Kernel" to work around a Windows peculiarity [Sam Stephenson]
1187
+
1188
+ * Fix broken tests caused by incomplete loading of active support. [Nicholas Seckar]
1189
+
1190
+ * Fix status pluralization bug so status_codes doesn't get pluralized as statuses_code. #2758 [keithm@infused.org]
1191
+
1192
+ * Added Kernel#silence_stderr to silence stderr for the duration of the given block [Sam Stephenson]
1193
+
1194
+ * Changed Kernel#` to print a message to stderr (like Unix) instead of raising Errno::ENOENT on Win32 [Sam Stephenson]
1195
+
1196
+ * Changed 0.blank? to false rather than true since it violates everyone's expectation of blankness. #2518, #2705 [rails@jeffcole.net]
1197
+
1198
+ * When loading classes using const_missing, raise a NameError if and only if the file we tried to load was not present. [Nicholas Seckar]
1199
+
1200
+ * Added petabytes and exebytes to numeric extensions #2397 [timct@mac.com]
1201
+
1202
+ * Added Time#end_of_month to accompany Time#beginning_of_month #2514 [Jens-Christian Fischer]
1203
+
1204
+
1205
+ *1.2.2* (October 26th, 2005)
1206
+
1207
+ * Set Logger.silencer = false to disable Logger#silence. Useful for debugging fixtures.
1208
+
1209
+ * Add title case method to String to do, e.g., 'action_web_service'.titlecase # => 'Action Web Service'. [Marcel Molina Jr.]
1210
+
1211
+
1212
+ *1.2.1* (October 19th, 2005)
1213
+
1214
+ * Classify generated routing code as framework code to avoid appearing in application traces. [Nicholas Seckar]
1215
+
1216
+ * Show all framework frames in the framework trace. [Nicholas Seckar]
1217
+
1218
+
1219
+ *1.2.0* (October 16th, 2005)
1220
+
1221
+ * Update Exception extension to show the first few framework frames in an application trace. [Nicholas Seckar]
1222
+
1223
+ * Added Exception extension to provide support for clean backtraces. [Nicholas Seckar]
1224
+
1225
+ * Updated whiny nil to be more concise and useful. [Nicholas Seckar]
1226
+
1227
+ * Added Enumerable#first_match [Nicholas Seckar]
1228
+
1229
+ * Fixed that Time#change should also reset usec when also resetting minutes #2459 [ikeda@dream.big.or.jp]
1230
+
1231
+ * Fix Logger compatibility for distributions that don't keep Ruby and its standard library in sync.
1232
+
1233
+ * Replace '%e' from long and short time formats as Windows does not support it. #2344. [Tom Ward <tom@popdog.net>]
1234
+
1235
+ * Added to_s(:db) to Range, so you can get "BETWEEN '2005-12-10' AND '2005-12-12'" from Date.new(2005, 12, 10)..Date.new(2005, 12, 12) (and likewise with Times)
1236
+
1237
+ * Moved require_library_or_gem into Kernel. #1992 [Michael Schuerig <michael@schuerig.de>]
1238
+
1239
+ * Add :rfc822 as an option for Time#to_s (to get rfc822-formatted times)
1240
+
1241
+ * Chain the const_missing hook to any previously existing hook so rails can play nicely with rake
1242
+
1243
+ * Clean logger is compatible with both 1.8.2 and 1.8.3 Logger. #2263 [Michael Schuerig <michael@schuerig.de>]
1244
+
1245
+ * Added native, faster implementations of .blank? for the core types #2286 [skae]
1246
+
1247
+ * Fixed clean logger to work with Ruby 1.8.3 Logger class #2245
1248
+
1249
+ * Fixed memory leak with Active Record classes when Dependencies.mechanism = :load #1704 [Chris McGrath]
1250
+
1251
+ * Fixed Inflector.underscore for use with acronyms, so HTML becomes html instead of htm_l #2173 [k@v2studio.com]
1252
+
1253
+ * Fixed dependencies related infinite recursion bug when a controller file does not contain a controller class. Closes #1760. [rcolli2@tampabay.rr.com]
1254
+
1255
+ * Fixed inflections for status, quiz, move #2056 [deirdre@deirdre.net]
1256
+
1257
+ * Added Hash#reverse_merge, Hash#reverse_merge!, and Hash#reverse_update to ease the use of default options
1258
+
1259
+ * Added Array#to_sentence that'll turn ['one', 'two', 'three'] into "one, two, and three" #2157 [Manfred Stienstra]
1260
+
1261
+ * Added Kernel#silence_warnings to turn off warnings temporarily for the passed block
1262
+
1263
+ * Added String#starts_with? and String#ends_with? #2118 [Thijs van der Vossen]
1264
+
1265
+ * Added easy extendability to the inflector through Inflector.inflections (using the Inflector::Inflections singleton class). Examples:
1266
+
1267
+ Inflector.inflections do |inflect|
1268
+ inflect.plural /^(ox)$/i, '\1\2en'
1269
+ inflect.singular /^(ox)en/i, '\1'
1270
+
1271
+ inflect.irregular 'octopus', 'octopi'
1272
+
1273
+ inflect.uncountable "equipment"
1274
+ end
1275
+
1276
+ * Added String#at, String#from, String#to, String#first, String#last in ActiveSupport::CoreExtensions::String::Access to ease access to individual characters and substrings in a string serving basically as human names for range access.
1277
+
1278
+ * Make Time#last_month work when invoked on the 31st of a month.
1279
+
1280
+ * Add Time.days_in_month, and make Time#next_month work when invoked on the 31st of a month
1281
+
1282
+ * Fixed that Time#midnight would have a non-zero usec on some platforms #1836
1283
+
1284
+ * Fixed inflections of "index/indices" #1766 [damn_pepe@gmail.com]
1285
+
1286
+ * Added stripping of _id to String#humanize, so "employee_id" becomes "Employee" #1574 [Justin French]
1287
+
1288
+ * Factor Fixnum and Bignum extensions into Integer extensions [Nicholas Seckar]
1289
+
1290
+ * Hooked #ordinalize into Fixnum and Bignum classes. [Nicholas Seckar, danp]
1291
+
1292
+ * Added Fixnum#ordinalize to turn 1.ordinalize to "1st", 3.ordinalize to "3rd", and 10.ordinalize to "10th" and so on #1724 [paul@cnt.org]
1293
+
1294
+
1295
+ *1.1.1* (11 July, 2005)
1296
+
1297
+ * Added more efficient implementation of the development mode reset of classes #1638 [Chris McGrath]
1298
+
1299
+
1300
+ *1.1.0* (6 July, 2005)
1301
+
1302
+ * Fixed conflict with Glue gem #1606 [Rick Olson]
1303
+
1304
+ * Added new rules to the Inflector to deal with more unusual plurals mouse/louse => mice/lice, information => information, ox => oxen, virus => viri, archive => archives #1571, #1583, #1490, #1599, #1608 [foamdino@gmail.com/others]
1305
+
1306
+ * Fixed memory leak with Object#remove_subclasses_of, which inflicted a Rails application running in development mode with a ~20KB leak per request #1289 [Chris McGrath]
1307
+
1308
+ * Made 1.year == 365.25.days to account for leap years. This allows you to do User.find(:all, :conditions => ['birthday > ?', 50.years.ago]) without losing a lot of days. #1488 [tuxie@dekadance.se]
1309
+
1310
+ * Added an exception if calling id on nil to WhinyNil #584 [kevin-temp@writesoon.com]
1311
+
1312
+ * Added Fix/Bignum#multiple_of? which returns true on 14.multiple_of?(7) and false on 16.multiple_of?(7) #1464 [Thomas Fuchs]
1313
+
1314
+ * Added even? and odd? to work with Bignums in addition to Fixnums #1464 [Thomas Fuchs]
1315
+
1316
+ * Fixed Time#at_beginning_of_week returned the next Monday instead of the previous one when called on a Sunday #1403 [jean.helou@gmail.com]
1317
+
1318
+ * Increased the speed of indifferent hash access by using Hash#default. #1436 [Nicholas Seckar]
1319
+
1320
+ * Added that " " is now also blank? (using strip if available)
1321
+
1322
+ * Fixed Dependencies so all modules are able to load missing constants #1173 [Nicholas Seckar]
1323
+
1324
+ * Fixed the Inflector to underscore strings containing numbers, so Area51Controller becomes area51_controller #1176 [Nicholas Seckar]
1325
+
1326
+ * Fixed that HashWithIndifferentAccess stringified all keys including symbols, ints, objects, and arrays #1162 [Nicholas Seckar]
1327
+
1328
+ * Fixed Time#last_year to go back in time, not forward #1278 [fabien@odilat.com]
1329
+
1330
+ * Fixed the pluralization of analysis to analyses #1295 [seattle@rootimage.msu.edu]
1331
+
1332
+ * Fixed that Time.local(2005,12).months_since(1) would raise "ArgumentError: argument out of range" #1311 [jhahn@niveon.com]
1333
+
1334
+ * Added silencing to the default Logger class
1335
+
1336
+
1337
+ *1.0.4* (19th April, 2005)
1338
+
1339
+ * Fixed that in some circumstances controllers outside of modules may have hidden ones inside modules. For example, admin/content might have been hidden by /content. #1075 [Nicholas Seckar]
1340
+
1341
+ * Fixed inflection of perspectives and similar words #1045 [Thijs van der Vossen]
1342
+
1343
+ * Added Fixnum#even? and Fixnum#odd?
1344
+
1345
+ * Fixed problem with classes being required twice. Object#const_missing now uses require_dependency to load files. It used to use require_or_load which would cause models to be loaded twice, which was not good for validations and other class methods #971 [Nicholas Seckar]
1346
+
1347
+
1348
+ *1.0.3* (27th March, 2005)
1349
+
1350
+ * Fixed Inflector.pluralize to handle capitalized words #932 [Jeremy Kemper]
1351
+
1352
+ * Added Object#suppress which allows you to make a saner choice around with exceptions to swallow #980. Example:
1353
+
1354
+ suppress(ZeroDivisionError) { 1/0 }
1355
+
1356
+ ...instead of:
1357
+
1358
+ 1/0 rescue nil # BAD, EVIL, DIRTY.
1359
+
1360
+
1361
+ *1.0.2* (22th March, 2005)
1362
+
1363
+ * Added Kernel#returning -- a Ruby-ized realization of the K combinator, courtesy of Mikael Brockman.
1364
+
1365
+ def foo
1366
+ returning values = [] do
1367
+ values << 'bar'
1368
+ values << 'baz'
1369
+ end
1370
+ end
1371
+
1372
+ foo # => ['bar', 'baz']
1373
+
1374
+
1375
+ *1.0.1* (7th March, 2005)
1376
+
1377
+ * Fixed Hash#indifferent_access to also deal with include? and fetch and nested hashes #726 [Nicholas Seckar]
1378
+
1379
+ * Added Object#blank? -- see http://redhanded.hobix.com/inspect/objectBlank.html #783 [_why the lucky stiff]
1380
+
1381
+ * Added inflection rules for "sh" words, like "wish" and "fish" #755 [phillip@pjbsoftware.com]
1382
+
1383
+ * Fixed an exception when using Ajax based requests from Safari because Safari appends a \000 to the post body. Symbols can't have \000 in them so indifferent access would throw an exception in the constructor. Indifferent hashes now use strings internally instead. #746 [Tobias Lütke]
1384
+
1385
+ * Added String#to_time and String#to_date for wrapping ParseDate
1386
+
1387
+
1388
+ *1.0.0* (24th February, 2005)
1389
+
1390
+ * Added TimeZone as the first of a number of value objects that among others Active Record can use rich value objects using composed_of #688 [Jamis Buck]
1391
+
1392
+ * Added Date::Conversions for getting dates in different convenient string representations and other objects
1393
+
1394
+ * Added Time::Conversions for getting times in different convenient string representations and other objects
1395
+
1396
+ * Added Time::Calculations to ask for things like Time.now.tomorrow, Time.now.yesterday, Time.now.months_ago(4) #580 [DP|Flurin]. Examples:
1397
+
1398
+ "Later today" => now.in(3.hours),
1399
+ "Tomorrow morning" => now.tomorrow.change(:hour => 9),
1400
+ "Tomorrow afternoon" => now.tomorrow.change(:hour => 14),
1401
+ "In a couple of days" => now.tomorrow.tomorrow.change(:hour => 9),
1402
+ "Next monday" => now.next_week.change(:hour => 9),
1403
+ "In a month" => now.next_month.change(:hour => 9),
1404
+ "In 6 months" => now.months_since(6).change(:hour => 9),
1405
+ "In a year" => now.in(1.year).change(:hour => 9)
1406
+
1407
+ * Upgraded to breakpoint 92 which fixes:
1408
+
1409
+ * overload IRB.parse_opts(), fixes #443
1410
+ => breakpoints in tests work even when running them via rake
1411
+ * untaint handlers, might fix an issue discussed on the Rails ML
1412
+ * added verbose mode to breakpoint_client
1413
+ * less noise caused by breakpoint_client by default
1414
+ * ignored TerminateLineInput exception in signal handler
1415
+ => quiet exit on Ctrl-C
1416
+
1417
+ * Fixed Inflector for words like "news" and "series" that are the same in plural and singular #603 [echion], #615 [marcenuc]
1418
+
1419
+ * Added Hash#stringify_keys and Hash#stringify_keys!
1420
+
1421
+ * Added IndifferentAccess as a way to wrap a hash by a symbol-based store that also can be accessed by string keys
1422
+
1423
+ * Added Inflector.constantize to turn "Admin::User" into a reference for the constant Admin::User
1424
+
1425
+ * Added that Inflector.camelize and Inflector.underscore can deal with modules like turning "Admin::User" into "admin/user" and back
1426
+
1427
+ * Added Inflector.humanize to turn attribute names like employee_salary into "Employee salary". Used by automated error reporting in AR.
1428
+
1429
+ * Added availability of class inheritable attributes to the masses #477 [Jeremy Kemper]
1430
+
1431
+ class Foo
1432
+ class_inheritable_reader :read_me
1433
+ class_inheritable_writer :write_me
1434
+ class_inheritable_accessor :read_and_write_me
1435
+ class_inheritable_array :read_and_concat_me
1436
+ class_inheritable_hash :read_and_update_me
1437
+ end
1438
+
1439
+ # Bar gets a clone of (not a reference to) Foo's attributes.
1440
+ class Bar < Foo
1441
+ end
1442
+
1443
+ Bar.read_and_write_me == Foo.read_and_write_me
1444
+ Bar.read_and_write_me = 'bar'
1445
+ Bar.read_and_write_me != Foo.read_and_write_me
1446
+
1447
+ * Added Inflections as an extension on String, so Inflector.pluralize(Inflector.classify(name)) becomes name.classify.pluralize #476 [Jeremy Kemper]
1448
+
1449
+ * Added Byte operations to Numeric, so 5.5.megabytes + 200.kilobytes #461 [Marcel Molina Jr.]
1450
+
1451
+ * Fixed that Dependencies.reload can't load the same file twice #420 [Kent Sibilev]
1452
+
1453
+ * Added Fixnum#ago/until, Fixnum#since/from_now #450 [Jeremy Kemper]
1454
+
1455
+ * Added that Inflector now accepts Symbols and Classes by calling .to_s on the word supplied
1456
+
1457
+ * Added time unit extensions to Fixnum that'll return the period in seconds, like 2.days + 4.hours.