backbone-deep-rails 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (220) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +20 -0
  3. data/lib/backbone/deep/rails/version.rb +1 -1
  4. metadata +18 -245
  5. data/vendor/bundle/cache/activemodel-3.2.11.gem +0 -0
  6. data/vendor/bundle/cache/activesupport-3.2.11.gem +0 -0
  7. data/vendor/bundle/gems/activesupport-3.2.11/CHANGELOG.md +0 -157
  8. data/vendor/bundle/gems/activesupport-3.2.11/MIT-LICENSE +0 -20
  9. data/vendor/bundle/gems/activesupport-3.2.11/README.rdoc +0 -33
  10. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support.rb +0 -82
  11. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/all.rb +0 -3
  12. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/backtrace_cleaner.rb +0 -99
  13. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/base64.rb +0 -54
  14. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/basic_object.rb +0 -21
  15. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/benchmarkable.rb +0 -55
  16. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/buffered_logger.rb +0 -125
  17. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/builder.rb +0 -6
  18. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/cache.rb +0 -638
  19. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/cache/file_store.rb +0 -178
  20. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/cache/mem_cache_store.rb +0 -206
  21. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/cache/memory_store.rb +0 -159
  22. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/cache/null_store.rb +0 -44
  23. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/cache/strategy/local_cache.rb +0 -169
  24. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/callbacks.rb +0 -626
  25. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/concern.rb +0 -131
  26. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/configurable.rb +0 -90
  27. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext.rb +0 -3
  28. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/array.rb +0 -8
  29. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/array/access.rb +0 -46
  30. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/array/conversions.rb +0 -164
  31. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/array/extract_options.rb +0 -29
  32. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/array/grouping.rb +0 -100
  33. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/array/prepend_and_append.rb +0 -7
  34. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/array/random_access.rb +0 -30
  35. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/array/uniq_by.rb +0 -16
  36. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/array/wrap.rb +0 -48
  37. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/benchmark.rb +0 -7
  38. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/big_decimal.rb +0 -1
  39. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/big_decimal/conversions.rb +0 -45
  40. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/class.rb +0 -4
  41. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/class/attribute.rb +0 -115
  42. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/class/attribute_accessors.rb +0 -168
  43. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/class/delegating_attributes.rb +0 -44
  44. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/class/subclasses.rb +0 -36
  45. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/date/acts_like.rb +0 -8
  46. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/date/calculations.rb +0 -276
  47. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/date/conversions.rb +0 -106
  48. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/date/freeze.rb +0 -33
  49. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/date/zones.rb +0 -14
  50. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/date_time/acts_like.rb +0 -13
  51. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/date_time/calculations.rb +0 -143
  52. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/date_time/conversions.rb +0 -103
  53. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/date_time/zones.rb +0 -21
  54. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/enumerable.rb +0 -127
  55. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/exception.rb +0 -3
  56. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/file.rb +0 -2
  57. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/file/atomic.rb +0 -42
  58. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/file/path.rb +0 -5
  59. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/float.rb +0 -1
  60. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/float/rounding.rb +0 -19
  61. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/hash.rb +0 -9
  62. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/hash/conversions.rb +0 -175
  63. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/hash/deep_dup.rb +0 -18
  64. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/hash/deep_merge.rb +0 -21
  65. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/hash/diff.rb +0 -13
  66. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/hash/except.rb +0 -23
  67. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/hash/indifferent_access.rb +0 -24
  68. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/hash/keys.rb +0 -54
  69. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/hash/reverse_merge.rb +0 -23
  70. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/hash/slice.rb +0 -40
  71. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/integer.rb +0 -3
  72. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/integer/inflections.rb +0 -17
  73. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/integer/multiple.rb +0 -10
  74. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/integer/time.rb +0 -39
  75. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/io.rb +0 -15
  76. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/kernel.rb +0 -4
  77. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/kernel/agnostics.rb +0 -11
  78. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/kernel/debugger.rb +0 -10
  79. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/kernel/reporting.rb +0 -93
  80. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/kernel/singleton_class.rb +0 -13
  81. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/load_error.rb +0 -23
  82. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/logger.rb +0 -83
  83. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/module.rb +0 -12
  84. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/module/aliasing.rb +0 -70
  85. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/module/anonymous.rb +0 -24
  86. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/module/attr_internal.rb +0 -39
  87. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/module/attribute_accessors.rb +0 -64
  88. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/module/delegation.rb +0 -153
  89. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/module/deprecation.rb +0 -9
  90. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/module/introspection.rb +0 -88
  91. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/module/method_names.rb +0 -14
  92. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/module/qualified_const.rb +0 -64
  93. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/module/reachable.rb +0 -8
  94. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/module/remove_method.rb +0 -16
  95. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/module/synchronization.rb +0 -45
  96. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/name_error.rb +0 -18
  97. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/numeric.rb +0 -2
  98. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/numeric/bytes.rb +0 -44
  99. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/numeric/time.rb +0 -79
  100. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/object.rb +0 -13
  101. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/object/acts_like.rb +0 -10
  102. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/object/blank.rb +0 -121
  103. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/object/conversions.rb +0 -4
  104. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/object/duplicable.rb +0 -119
  105. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/object/inclusion.rb +0 -25
  106. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/object/instance_variables.rb +0 -33
  107. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/object/to_json.rb +0 -19
  108. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/object/to_param.rb +0 -55
  109. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/object/to_query.rb +0 -27
  110. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/object/try.rb +0 -57
  111. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/object/with_options.rb +0 -43
  112. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/proc.rb +0 -14
  113. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/process.rb +0 -1
  114. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/process/daemon.rb +0 -23
  115. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/range.rb +0 -5
  116. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/range/blockless_step.rb +0 -29
  117. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/range/conversions.rb +0 -21
  118. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/range/cover.rb +0 -3
  119. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/range/include_range.rb +0 -21
  120. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/range/overlaps.rb +0 -8
  121. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/regexp.rb +0 -5
  122. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/rexml.rb +0 -46
  123. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/string.rb +0 -14
  124. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/string/access.rb +0 -99
  125. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/string/behavior.rb +0 -6
  126. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/string/conversions.rb +0 -66
  127. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/string/encoding.rb +0 -11
  128. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/string/exclude.rb +0 -11
  129. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/string/filters.rb +0 -49
  130. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/string/inflections.rb +0 -202
  131. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/string/inquiry.rb +0 -13
  132. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/string/interpolation.rb +0 -2
  133. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/string/multibyte.rb +0 -72
  134. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/string/output_safety.rb +0 -186
  135. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/string/starts_ends_with.rb +0 -4
  136. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/string/strip.rb +0 -26
  137. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/string/xchar.rb +0 -18
  138. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/time/acts_like.rb +0 -8
  139. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/time/calculations.rb +0 -360
  140. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/time/conversions.rb +0 -85
  141. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/time/marshal.rb +0 -57
  142. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/time/publicize_conversion_methods.rb +0 -10
  143. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/time/zones.rb +0 -86
  144. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/uri.rb +0 -30
  145. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/dependencies.rb +0 -703
  146. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/dependencies/autoload.rb +0 -50
  147. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/deprecation.rb +0 -18
  148. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/deprecation/behaviors.rb +0 -49
  149. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/deprecation/method_wrappers.rb +0 -29
  150. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/deprecation/proxy_wrappers.rb +0 -81
  151. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/deprecation/reporting.rb +0 -65
  152. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/descendants_tracker.rb +0 -45
  153. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/duration.rb +0 -110
  154. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/file_update_checker.rb +0 -121
  155. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/file_watcher.rb +0 -36
  156. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/gzip.rb +0 -30
  157. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/hash_with_indifferent_access.rb +0 -178
  158. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/i18n.rb +0 -9
  159. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/i18n_railtie.rb +0 -102
  160. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/inflections.rb +0 -63
  161. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/inflector.rb +0 -7
  162. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/inflector/inflections.rb +0 -174
  163. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/inflector/methods.rb +0 -321
  164. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/inflector/transliterate.rb +0 -98
  165. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/json.rb +0 -2
  166. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/json/decoding.rb +0 -79
  167. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/json/encoding.rb +0 -284
  168. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/json/variable.rb +0 -9
  169. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/lazy_load_hooks.rb +0 -46
  170. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/locale/en.yml +0 -36
  171. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/log_subscriber.rb +0 -122
  172. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/log_subscriber/test_helper.rb +0 -101
  173. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/memoizable.rb +0 -116
  174. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/message_encryptor.rb +0 -103
  175. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/message_verifier.rb +0 -74
  176. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/multibyte.rb +0 -44
  177. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/multibyte/chars.rb +0 -476
  178. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/multibyte/exceptions.rb +0 -8
  179. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/multibyte/unicode.rb +0 -393
  180. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/multibyte/utils.rb +0 -60
  181. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/notifications.rb +0 -154
  182. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/notifications/fanout.rb +0 -61
  183. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/notifications/instrumenter.rb +0 -53
  184. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/option_merger.rb +0 -25
  185. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/ordered_hash.rb +0 -222
  186. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/ordered_options.rb +0 -61
  187. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/railtie.rb +0 -59
  188. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/rescuable.rb +0 -115
  189. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/ruby/shim.rb +0 -22
  190. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/string_inquirer.rb +0 -21
  191. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/tagged_logging.rb +0 -80
  192. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/test_case.rb +0 -34
  193. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/testing/assertions.rb +0 -97
  194. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/testing/declarative.rb +0 -40
  195. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/testing/deprecation.rb +0 -55
  196. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/testing/isolation.rb +0 -157
  197. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/testing/mochaing.rb +0 -7
  198. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/testing/pending.rb +0 -52
  199. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/testing/performance.rb +0 -317
  200. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/testing/performance/jruby.rb +0 -115
  201. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/testing/performance/rubinius.rb +0 -113
  202. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/testing/performance/ruby.rb +0 -152
  203. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/testing/performance/ruby/mri.rb +0 -57
  204. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/testing/performance/ruby/yarv.rb +0 -57
  205. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/testing/setup_and_teardown.rb +0 -118
  206. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/time.rb +0 -35
  207. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/time/autoload.rb +0 -5
  208. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/time_with_zone.rb +0 -358
  209. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/values/time_zone.rb +0 -397
  210. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/values/unicode_tables.dat +0 -0
  211. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/version.rb +0 -10
  212. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/whiny_nil.rb +0 -24
  213. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/xml_mini.rb +0 -168
  214. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/xml_mini/jdom.rb +0 -175
  215. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/xml_mini/libxml.rb +0 -80
  216. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/xml_mini/libxmlsax.rb +0 -86
  217. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/xml_mini/nokogiri.rb +0 -84
  218. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/xml_mini/nokogirisax.rb +0 -88
  219. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/xml_mini/rexml.rb +0 -130
  220. data/vendor/bundle/specifications/activesupport-3.2.11.gemspec +0 -33
@@ -1,20 +0,0 @@
1
- Copyright (c) 2005-2011 David Heinemeier Hansson
2
-
3
- Permission is hereby granted, free of charge, to any person obtaining
4
- a copy of this software and associated documentation files (the
5
- "Software"), to deal in the Software without restriction, including
6
- without limitation the rights to use, copy, modify, merge, publish,
7
- distribute, sublicense, and/or sell copies of the Software, and to
8
- permit persons to whom the Software is furnished to do so, subject to
9
- the following conditions:
10
-
11
- The above copyright notice and this permission notice shall be
12
- included in all copies or substantial portions of the Software.
13
-
14
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
- LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
- OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
- WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -1,33 +0,0 @@
1
- = Active Support -- Utility classes and Ruby extensions from Rails
2
-
3
- Active Support is a collection of utility classes and standard library
4
- extensions that were found useful for the Rails framework. These additions
5
- reside in this package so they can be loaded as needed in Ruby projects
6
- outside of Rails.
7
-
8
-
9
- == Download and installation
10
-
11
- The latest version of Active Support can be installed with RubyGems:
12
-
13
- % [sudo] gem install activesupport
14
-
15
- Source code can be downloaded as part of the Rails project on GitHub
16
-
17
- * https://github.com/rails/rails/tree/3-2-stable/activesupport
18
-
19
-
20
- == License
21
-
22
- Active Support is released under the MIT license.
23
-
24
-
25
- == Support
26
-
27
- API documentation is at
28
-
29
- * http://api.rubyonrails.org
30
-
31
- Bug reports and feature requests can be filed with the rest for the Ruby on Rails project here:
32
-
33
- * https://github.com/rails/rails/issues
@@ -1,82 +0,0 @@
1
- #--
2
- # Copyright (c) 2005-2011 David Heinemeier Hansson
3
- #
4
- # Permission is hereby granted, free of charge, to any person obtaining
5
- # a copy of this software and associated documentation files (the
6
- # "Software"), to deal in the Software without restriction, including
7
- # without limitation the rights to use, copy, modify, merge, publish,
8
- # distribute, sublicense, and/or sell copies of the Software, and to
9
- # permit persons to whom the Software is furnished to do so, subject to
10
- # the following conditions:
11
- #
12
- # The above copyright notice and this permission notice shall be
13
- # included in all copies or substantial portions of the Software.
14
- #
15
- # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
16
- # EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
17
- # MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
18
- # NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
19
- # LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
20
- # OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
21
- # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22
- #++
23
-
24
- require 'securerandom'
25
-
26
- module ActiveSupport
27
- class << self
28
- attr_accessor :load_all_hooks
29
- def on_load_all(&hook) load_all_hooks << hook end
30
- def load_all!; load_all_hooks.each { |hook| hook.call } end
31
- end
32
- self.load_all_hooks = []
33
-
34
- on_load_all do
35
- [Dependencies, Deprecation, Gzip, MessageVerifier, Multibyte]
36
- end
37
- end
38
-
39
- require "active_support/dependencies/autoload"
40
- require "active_support/version"
41
-
42
- module ActiveSupport
43
- extend ActiveSupport::Autoload
44
-
45
- autoload :DescendantsTracker
46
- autoload :FileUpdateChecker
47
- autoload :LogSubscriber
48
- autoload :Notifications
49
-
50
- # TODO: Narrow this list down
51
- eager_autoload do
52
- autoload :BacktraceCleaner
53
- autoload :Base64
54
- autoload :BasicObject
55
- autoload :Benchmarkable
56
- autoload :BufferedLogger
57
- autoload :Cache
58
- autoload :Callbacks
59
- autoload :Concern
60
- autoload :Configurable
61
- autoload :Deprecation
62
- autoload :Gzip
63
- autoload :Inflector
64
- autoload :JSON
65
- autoload :Memoizable
66
- autoload :MessageEncryptor
67
- autoload :MessageVerifier
68
- autoload :Multibyte
69
- autoload :OptionMerger
70
- autoload :OrderedHash
71
- autoload :OrderedOptions
72
- autoload :Rescuable
73
- autoload :StringInquirer
74
- autoload :TaggedLogging
75
- autoload :XmlMini
76
- end
77
-
78
- autoload :SafeBuffer, "active_support/core_ext/string/output_safety"
79
- autoload :TestCase
80
- end
81
-
82
- autoload :I18n, "active_support/i18n"
@@ -1,3 +0,0 @@
1
- require 'active_support'
2
- require 'active_support/time'
3
- require 'active_support/core_ext'
@@ -1,99 +0,0 @@
1
- module ActiveSupport
2
- # Backtraces often include many lines that are not relevant for the context under review. This makes it hard to find the
3
- # signal amongst the backtrace noise, and adds debugging time. With a BacktraceCleaner, filters and silencers are used to
4
- # remove the noisy lines, so that only the most relevant lines remain.
5
- #
6
- # Filters are used to modify lines of data, while silencers are used to remove lines entirely. The typical filter use case
7
- # is to remove lengthy path information from the start of each line, and view file paths relevant to the app directory
8
- # instead of the file system root. The typical silencer use case is to exclude the output of a noisy library from the
9
- # backtrace, so that you can focus on the rest.
10
- #
11
- # ==== Example:
12
- #
13
- # bc = BacktraceCleaner.new
14
- # bc.add_filter { |line| line.gsub(Rails.root, '') }
15
- # bc.add_silencer { |line| line =~ /mongrel|rubygems/ }
16
- # bc.clean(exception.backtrace) # will strip the Rails.root prefix and skip any lines from mongrel or rubygems
17
- #
18
- # To reconfigure an existing BacktraceCleaner (like the default one in Rails) and show as much data as possible, you can
19
- # always call <tt>BacktraceCleaner#remove_silencers!</tt>, which will restore the backtrace to a pristine state. If you
20
- # need to reconfigure an existing BacktraceCleaner so that it does not filter or modify the paths of any lines of the
21
- # backtrace, you can call BacktraceCleaner#remove_filters! These two methods will give you a completely untouched backtrace.
22
- #
23
- # Inspired by the Quiet Backtrace gem by Thoughtbot.
24
- class BacktraceCleaner
25
- def initialize
26
- @filters, @silencers = [], []
27
- end
28
-
29
- # Returns the backtrace after all filters and silencers have been run against it. Filters run first, then silencers.
30
- def clean(backtrace, kind = :silent)
31
- filtered = filter(backtrace)
32
-
33
- case kind
34
- when :silent
35
- silence(filtered)
36
- when :noise
37
- noise(filtered)
38
- else
39
- filtered
40
- end
41
- end
42
-
43
- # Adds a filter from the block provided. Each line in the backtrace will be mapped against this filter.
44
- #
45
- # Example:
46
- #
47
- # # Will turn "/my/rails/root/app/models/person.rb" into "/app/models/person.rb"
48
- # backtrace_cleaner.add_filter { |line| line.gsub(Rails.root, '') }
49
- def add_filter(&block)
50
- @filters << block
51
- end
52
-
53
- # Adds a silencer from the block provided. If the silencer returns true for a given line, it will be excluded from
54
- # the clean backtrace.
55
- #
56
- # Example:
57
- #
58
- # # Will reject all lines that include the word "mongrel", like "/gems/mongrel/server.rb" or "/app/my_mongrel_server/rb"
59
- # backtrace_cleaner.add_silencer { |line| line =~ /mongrel/ }
60
- def add_silencer(&block)
61
- @silencers << block
62
- end
63
-
64
- # Will remove all silencers, but leave in the filters. This is useful if your context of debugging suddenly expands as
65
- # you suspect a bug in one of the libraries you use.
66
- def remove_silencers!
67
- @silencers = []
68
- end
69
-
70
- def remove_filters!
71
- @filters = []
72
- end
73
-
74
- private
75
- def filter(backtrace)
76
- @filters.each do |f|
77
- backtrace = backtrace.map { |line| f.call(line) }
78
- end
79
-
80
- backtrace
81
- end
82
-
83
- def silence(backtrace)
84
- @silencers.each do |s|
85
- backtrace = backtrace.reject { |line| s.call(line) }
86
- end
87
-
88
- backtrace
89
- end
90
-
91
- def noise(backtrace)
92
- @silencers.each do |s|
93
- backtrace = backtrace.select { |line| s.call(line) }
94
- end
95
-
96
- backtrace
97
- end
98
- end
99
- end
@@ -1,54 +0,0 @@
1
- require 'active_support/deprecation'
2
-
3
- begin
4
- require 'base64'
5
- rescue LoadError
6
- # The Base64 module isn't available in earlier versions of Ruby 1.9.
7
- module Base64
8
- # Encodes a string to its base 64 representation. Each 60 characters of
9
- # output is separated by a newline character.
10
- #
11
- # ActiveSupport::Base64.encode64("Original unencoded string")
12
- # # => "T3JpZ2luYWwgdW5lbmNvZGVkIHN0cmluZw==\n"
13
- def self.encode64(data)
14
- [data].pack("m")
15
- end
16
-
17
- # Decodes a base 64 encoded string to its original representation.
18
- #
19
- # ActiveSupport::Base64.decode64("T3JpZ2luYWwgdW5lbmNvZGVkIHN0cmluZw==")
20
- # # => "Original unencoded string"
21
- def self.decode64(data)
22
- data.unpack("m").first
23
- end
24
- end
25
- end
26
-
27
- unless Base64.respond_to?(:strict_encode64)
28
- # Included in Ruby 1.9
29
- def Base64.strict_encode64(value)
30
- encode64(value).gsub(/\n/, '')
31
- end
32
- end
33
-
34
- module ActiveSupport
35
- module Base64
36
- def self.encode64(value)
37
- ActiveSupport::Deprecation.warn "ActiveSupport::Base64.encode64 " \
38
- "is deprecated. Use Base64.encode64 instead", caller
39
- ::Base64.encode64(value)
40
- end
41
-
42
- def self.decode64(value)
43
- ActiveSupport::Deprecation.warn "ActiveSupport::Base64.decode64 " \
44
- "is deprecated. Use Base64.decode64 instead", caller
45
- ::Base64.decode64(value)
46
- end
47
-
48
- def self.encode64s(value)
49
- ActiveSupport::Deprecation.warn "ActiveSupport::Base64.encode64s " \
50
- "is deprecated. Use Base64.strict_encode64 instead", caller
51
- ::Base64.strict_encode64(value)
52
- end
53
- end
54
- end
@@ -1,21 +0,0 @@
1
- module ActiveSupport
2
- if defined? ::BasicObject
3
- # A class with no predefined methods that behaves similarly to Builder's
4
- # BlankSlate. Used for proxy classes.
5
- class BasicObject < ::BasicObject
6
- undef_method :==
7
- undef_method :equal?
8
-
9
- # Let ActiveSupport::BasicObject at least raise exceptions.
10
- def raise(*args)
11
- ::Object.send(:raise, *args)
12
- end
13
- end
14
- else
15
- class BasicObject #:nodoc:
16
- instance_methods.each do |m|
17
- undef_method(m) if m.to_s !~ /(?:^__|^nil\?$|^send$|^object_id$)/
18
- end
19
- end
20
- end
21
- end
@@ -1,55 +0,0 @@
1
- require 'active_support/core_ext/benchmark'
2
- require 'active_support/core_ext/hash/keys'
3
-
4
- module ActiveSupport
5
- module Benchmarkable
6
- # Allows you to measure the execution time of a block in a template and records the result to
7
- # the log. Wrap this block around expensive operations or possible bottlenecks to get a time
8
- # reading for the operation. For example, let's say you thought your file processing method
9
- # was taking too long; you could wrap it in a benchmark block.
10
- #
11
- # <% benchmark "Process data files" do %>
12
- # <%= expensive_files_operation %>
13
- # <% end %>
14
- #
15
- # That would add something like "Process data files (345.2ms)" to the log, which you can then
16
- # use to compare timings when optimizing your code.
17
- #
18
- # You may give an optional logger level (:debug, :info, :warn, :error) as the :level option.
19
- # The default logger level value is :info.
20
- #
21
- # <% benchmark "Low-level files", :level => :debug do %>
22
- # <%= lowlevel_files_operation %>
23
- # <% end %>
24
- #
25
- # Finally, you can pass true as the third argument to silence all log activity (other than the
26
- # timing information) from inside the block. This is great for boiling down a noisy block to
27
- # just a single statement that produces one log line:
28
- #
29
- # <% benchmark "Process data files", :level => :info, :silence => true do %>
30
- # <%= expensive_and_chatty_files_operation %>
31
- # <% end %>
32
- def benchmark(message = "Benchmarking", options = {})
33
- if logger
34
- options.assert_valid_keys(:level, :silence)
35
- options[:level] ||= :info
36
-
37
- result = nil
38
- ms = Benchmark.ms { result = options[:silence] ? silence { yield } : yield }
39
- logger.send(options[:level], '%s (%.1fms)' % [ message, ms ])
40
- result
41
- else
42
- yield
43
- end
44
- end
45
-
46
- # Silence the logger during the execution of the block.
47
- #
48
- def silence
49
- old_logger_level, logger.level = logger.level, ::Logger::ERROR if logger
50
- yield
51
- ensure
52
- logger.level = old_logger_level if logger
53
- end
54
- end
55
- end
@@ -1,125 +0,0 @@
1
- require 'thread'
2
- require 'logger'
3
- require 'active_support/core_ext/logger'
4
- require 'active_support/core_ext/class/attribute_accessors'
5
- require 'active_support/deprecation'
6
- require 'fileutils'
7
-
8
- module ActiveSupport
9
- # Inspired by the buffered logger idea by Ezra
10
- class BufferedLogger
11
- module Severity
12
- DEBUG = 0
13
- INFO = 1
14
- WARN = 2
15
- ERROR = 3
16
- FATAL = 4
17
- UNKNOWN = 5
18
- end
19
- include Severity
20
-
21
- MAX_BUFFER_SIZE = 1000
22
-
23
- ##
24
- # :singleton-method:
25
- # Set to false to disable the silencer
26
- cattr_accessor :silencer
27
- self.silencer = true
28
-
29
- # Silences the logger for the duration of the block.
30
- def silence(temporary_level = ERROR)
31
- if silencer
32
- begin
33
- logger = self.class.new @log_dest.dup, temporary_level
34
- yield logger
35
- ensure
36
- logger.close
37
- end
38
- else
39
- yield self
40
- end
41
- end
42
- deprecate :silence
43
-
44
- attr_reader :auto_flushing
45
- deprecate :auto_flushing
46
-
47
- def initialize(log, level = DEBUG)
48
- @log_dest = log
49
-
50
- unless log.respond_to?(:write)
51
- unless File.exist?(File.dirname(log))
52
- ActiveSupport::Deprecation.warn(<<-eowarn)
53
- Automatic directory creation for '#{log}' is deprecated. Please make sure the directory for your log file exists before creating the logger.
54
- eowarn
55
- FileUtils.mkdir_p(File.dirname(log))
56
- end
57
- end
58
-
59
- @log = open_logfile log
60
- self.level = level
61
- end
62
-
63
- def open_log(log, mode)
64
- open(log, mode).tap do |open_log|
65
- open_log.set_encoding(Encoding::BINARY) if open_log.respond_to?(:set_encoding)
66
- open_log.sync = true
67
- end
68
- end
69
- deprecate :open_log
70
-
71
- def level
72
- @log.level
73
- end
74
-
75
- def level=(l)
76
- @log.level = l
77
- end
78
-
79
- def add(severity, message = nil, progname = nil, &block)
80
- @log.add(severity, message, progname, &block)
81
- end
82
-
83
- # Dynamically add methods such as:
84
- # def info
85
- # def warn
86
- # def debug
87
- Severity.constants.each do |severity|
88
- class_eval <<-EOT, __FILE__, __LINE__ + 1
89
- def #{severity.downcase}(message = nil, progname = nil, &block) # def debug(message = nil, progname = nil, &block)
90
- add(#{severity}, message, progname, &block) # add(DEBUG, message, progname, &block)
91
- end # end
92
-
93
- def #{severity.downcase}? # def debug?
94
- #{severity} >= level # DEBUG >= level
95
- end # end
96
- EOT
97
- end
98
-
99
- # Set the auto-flush period. Set to true to flush after every log message,
100
- # to an integer to flush every N messages, or to false, nil, or zero to
101
- # never auto-flush. If you turn auto-flushing off, be sure to regularly
102
- # flush the log yourself -- it will eat up memory until you do.
103
- def auto_flushing=(period)
104
- end
105
- deprecate :auto_flushing=
106
-
107
- def flush
108
- end
109
- deprecate :flush
110
-
111
- def respond_to?(method, include_private = false)
112
- return false if method.to_s == "flush"
113
- super
114
- end
115
-
116
- def close
117
- @log.close
118
- end
119
-
120
- private
121
- def open_logfile(log)
122
- Logger.new log
123
- end
124
- end
125
- end