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,25 +0,0 @@
1
- class Object
2
- # Returns true if this object is included in the argument(s). Argument must be
3
- # any object which responds to +#include?+ or optionally, multiple arguments can be passed in. Usage:
4
- #
5
- # characters = ["Konata", "Kagami", "Tsukasa"]
6
- # "Konata".in?(characters) # => true
7
- #
8
- # character = "Konata"
9
- # character.in?("Konata", "Kagami", "Tsukasa") # => true
10
- #
11
- # This will throw an ArgumentError if a single argument is passed in and it doesn't respond
12
- # to +#include?+.
13
- def in?(*args)
14
- if args.length > 1
15
- args.include? self
16
- else
17
- another_object = args.first
18
- if another_object.respond_to? :include?
19
- another_object.include? self
20
- else
21
- raise ArgumentError.new("The single parameter passed to #in? must respond to #include?")
22
- end
23
- end
24
- end
25
- end
@@ -1,33 +0,0 @@
1
- class Object
2
- # Returns a hash that maps instance variable names without "@" to their
3
- # corresponding values. Keys are strings both in Ruby 1.8 and 1.9.
4
- #
5
- # class C
6
- # def initialize(x, y)
7
- # @x, @y = x, y
8
- # end
9
- # end
10
- #
11
- # C.new(0, 1).instance_values # => {"x" => 0, "y" => 1}
12
- def instance_values #:nodoc:
13
- Hash[instance_variables.map { |name| [name.to_s[1..-1], instance_variable_get(name)] }]
14
- end
15
-
16
- # Returns an array of instance variable names including "@". They are strings
17
- # both in Ruby 1.8 and 1.9.
18
- #
19
- # class C
20
- # def initialize(x, y)
21
- # @x, @y = x, y
22
- # end
23
- # end
24
- #
25
- # C.new(0, 1).instance_variable_names # => ["@y", "@x"]
26
- if RUBY_VERSION >= '1.9'
27
- def instance_variable_names
28
- instance_variables.map { |var| var.to_s }
29
- end
30
- else
31
- alias_method :instance_variable_names, :instance_variables
32
- end
33
- end
@@ -1,19 +0,0 @@
1
- # Hack to load json gem first so we can overwrite its to_json.
2
- begin
3
- require 'json'
4
- rescue LoadError
5
- end
6
-
7
- # The JSON gem adds a few modules to Ruby core classes containing :to_json definition, overwriting
8
- # their default behavior. That said, we need to define the basic to_json method in all of them,
9
- # otherwise they will always use to_json gem implementation, which is backwards incompatible in
10
- # several cases (for instance, the JSON implementation for Hash does not work) with inheritance
11
- # and consequently classes as ActiveSupport::OrderedHash cannot be serialized to json.
12
- [Object, Array, FalseClass, Float, Hash, Integer, NilClass, String, TrueClass].each do |klass|
13
- klass.class_eval do
14
- # Dumps object in JSON (JavaScript Object Notation). See www.json.org for more info.
15
- def to_json(options = nil)
16
- ActiveSupport::JSON.encode(self, options)
17
- end
18
- end
19
- end
@@ -1,55 +0,0 @@
1
- class Object
2
- # Alias of <tt>to_s</tt>.
3
- def to_param
4
- to_s
5
- end
6
- end
7
-
8
- class NilClass
9
- def to_param
10
- self
11
- end
12
- end
13
-
14
- class TrueClass
15
- def to_param
16
- self
17
- end
18
- end
19
-
20
- class FalseClass
21
- def to_param
22
- self
23
- end
24
- end
25
-
26
- class Array
27
- # Calls <tt>to_param</tt> on all its elements and joins the result with
28
- # slashes. This is used by <tt>url_for</tt> in Action Pack.
29
- def to_param
30
- collect { |e| e.to_param }.join '/'
31
- end
32
- end
33
-
34
- class Hash
35
- # Returns a string representation of the receiver suitable for use as a URL
36
- # query string:
37
- #
38
- # {:name => 'David', :nationality => 'Danish'}.to_param
39
- # # => "name=David&nationality=Danish"
40
- #
41
- # An optional namespace can be passed to enclose the param names:
42
- #
43
- # {:name => 'David', :nationality => 'Danish'}.to_param('user')
44
- # # => "user[name]=David&user[nationality]=Danish"
45
- #
46
- # The string pairs "key=value" that conform the query string
47
- # are sorted lexicographically in ascending order.
48
- #
49
- # This method is also aliased as +to_query+.
50
- def to_param(namespace = nil)
51
- collect do |key, value|
52
- value.to_query(namespace ? "#{namespace}[#{key}]" : key)
53
- end.sort * '&'
54
- end
55
- end
@@ -1,27 +0,0 @@
1
- require 'active_support/core_ext/object/to_param'
2
-
3
- class Object
4
- # Converts an object into a string suitable for use as a URL query string, using the given <tt>key</tt> as the
5
- # param name.
6
- #
7
- # Note: This method is defined as a default implementation for all Objects for Hash#to_query to work.
8
- def to_query(key)
9
- require 'cgi' unless defined?(CGI) && defined?(CGI::escape)
10
- "#{CGI.escape(key.to_param)}=#{CGI.escape(to_param.to_s)}"
11
- end
12
- end
13
-
14
- class Array
15
- # Converts an array into a string suitable for use as a URL query string,
16
- # using the given +key+ as the param name.
17
- #
18
- # ['Rails', 'coding'].to_query('hobbies') # => "hobbies%5B%5D=Rails&hobbies%5B%5D=coding"
19
- def to_query(key)
20
- prefix = "#{key}[]"
21
- collect { |value| value.to_query(prefix) }.join '&'
22
- end
23
- end
24
-
25
- class Hash
26
- alias_method :to_query, :to_param
27
- end
@@ -1,57 +0,0 @@
1
- class Object
2
- # Invokes the method identified by the symbol +method+, passing it any arguments
3
- # and/or the block specified, just like the regular Ruby <tt>Object#send</tt> does.
4
- #
5
- # *Unlike* that method however, a +NoMethodError+ exception will *not* be raised
6
- # and +nil+ will be returned instead, if the receiving object is a +nil+ object or NilClass.
7
- #
8
- # If try is called without a method to call, it will yield any given block with the object.
9
- #
10
- # Please also note that +try+ is defined on +Object+, therefore it won't work with
11
- # subclasses of +BasicObject+. For example, using try with +SimpleDelegator+ will
12
- # delegate +try+ to target instead of calling it on delegator itself.
13
- #
14
- # ==== Examples
15
- #
16
- # Without +try+
17
- # @person && @person.name
18
- # or
19
- # @person ? @person.name : nil
20
- #
21
- # With +try+
22
- # @person.try(:name)
23
- #
24
- # +try+ also accepts arguments and/or a block, for the method it is trying
25
- # Person.try(:find, 1)
26
- # @people.try(:collect) {|p| p.name}
27
- #
28
- # Without a method argument try will yield to the block unless the receiver is nil.
29
- # @person.try { |p| "#{p.first_name} #{p.last_name}" }
30
- #--
31
- # +try+ behaves like +Object#send+, unless called on +NilClass+.
32
- def try(*a, &b)
33
- if a.empty? && block_given?
34
- yield self
35
- else
36
- __send__(*a, &b)
37
- end
38
- end
39
- end
40
-
41
- class NilClass
42
- # Calling +try+ on +nil+ always returns +nil+.
43
- # It becomes specially helpful when navigating through associations that may return +nil+.
44
- #
45
- # === Examples
46
- #
47
- # nil.try(:name) # => nil
48
- #
49
- # Without +try+
50
- # @person && !@person.children.blank? && @person.children.first.name
51
- #
52
- # With +try+
53
- # @person.try(:children).try(:first).try(:name)
54
- def try(*args)
55
- nil
56
- end
57
- end
@@ -1,43 +0,0 @@
1
- require 'active_support/option_merger'
2
-
3
- class Object
4
- # An elegant way to factor duplication out of options passed to a series of
5
- # method calls. Each method called in the block, with the block variable as
6
- # the receiver, will have its options merged with the default +options+ hash
7
- # provided. Each method called on the block variable must take an options
8
- # hash as its final argument.
9
- #
10
- # Without <tt>with_options></tt>, this code contains duplication:
11
- #
12
- # class Account < ActiveRecord::Base
13
- # has_many :customers, :dependent => :destroy
14
- # has_many :products, :dependent => :destroy
15
- # has_many :invoices, :dependent => :destroy
16
- # has_many :expenses, :dependent => :destroy
17
- # end
18
- #
19
- # Using <tt>with_options</tt>, we can remove the duplication:
20
- #
21
- # class Account < ActiveRecord::Base
22
- # with_options :dependent => :destroy do |assoc|
23
- # assoc.has_many :customers
24
- # assoc.has_many :products
25
- # assoc.has_many :invoices
26
- # assoc.has_many :expenses
27
- # end
28
- # end
29
- #
30
- # It can also be used with an explicit receiver:
31
- #
32
- # I18n.with_options :locale => user.locale, :scope => "newsletter" do |i18n|
33
- # subject i18n.t :subject
34
- # body i18n.t :body, :user_name => user.name
35
- # end
36
- #
37
- # <tt>with_options</tt> can also be nested since the call is forwarded to its receiver.
38
- # Each nesting level will merge inherited defaults in addition to their own.
39
- #
40
- def with_options(options)
41
- yield ActiveSupport::OptionMerger.new(self, options)
42
- end
43
- end
@@ -1,14 +0,0 @@
1
- require "active_support/core_ext/kernel/singleton_class"
2
-
3
- class Proc #:nodoc:
4
- def bind(object)
5
- block, time = self, Time.now
6
- object.class_eval do
7
- method_name = "__bind_#{time.to_i}_#{time.usec}"
8
- define_method(method_name, &block)
9
- method = instance_method(method_name)
10
- remove_method(method_name)
11
- method
12
- end.bind(object)
13
- end
14
- end
@@ -1 +0,0 @@
1
- require 'active_support/core_ext/process/daemon'
@@ -1,23 +0,0 @@
1
- module Process
2
- def self.daemon(nochdir = nil, noclose = nil)
3
- exit if fork # Parent exits, child continues.
4
- Process.setsid # Become session leader.
5
- exit if fork # Zap session leader. See [1].
6
-
7
- unless nochdir
8
- Dir.chdir "/" # Release old working directory.
9
- end
10
-
11
- File.umask 0000 # Ensure sensible umask. Adjust as needed.
12
-
13
- unless noclose
14
- STDIN.reopen "/dev/null" # Free file descriptors and
15
- STDOUT.reopen "/dev/null", "a" # point them somewhere sensible.
16
- STDERR.reopen '/dev/null', 'a'
17
- end
18
-
19
- trap("TERM") { exit }
20
-
21
- return 0
22
- end unless respond_to?(:daemon)
23
- end
@@ -1,5 +0,0 @@
1
- require 'active_support/core_ext/range/blockless_step'
2
- require 'active_support/core_ext/range/conversions'
3
- require 'active_support/core_ext/range/include_range'
4
- require 'active_support/core_ext/range/overlaps'
5
- require 'active_support/core_ext/range/cover'
@@ -1,29 +0,0 @@
1
- require 'active_support/core_ext/module/aliasing'
2
-
3
- class Range
4
- begin
5
- (1..2).step
6
- # Range#step doesn't return an Enumerator
7
- rescue LocalJumpError
8
- # Return an array when step is called without a block.
9
- def step_with_blockless(*args, &block)
10
- if block_given?
11
- step_without_blockless(*args, &block)
12
- else
13
- array = []
14
- step_without_blockless(*args) { |step| array << step }
15
- array
16
- end
17
- end
18
- else
19
- def step_with_blockless(*args, &block) #:nodoc:
20
- if block_given?
21
- step_without_blockless(*args, &block)
22
- else
23
- step_without_blockless(*args).to_a
24
- end
25
- end
26
- end
27
-
28
- alias_method_chain :step, :blockless
29
- end
@@ -1,21 +0,0 @@
1
- class Range
2
- RANGE_FORMATS = {
3
- :db => Proc.new { |start, stop| "BETWEEN '#{start.to_s(:db)}' AND '#{stop.to_s(:db)}'" }
4
- }
5
-
6
- # Gives a human readable format of the range.
7
- #
8
- # ==== Example
9
- #
10
- # (1..100).to_formatted_s # => "1..100"
11
- def to_formatted_s(format = :default)
12
- if formatter = RANGE_FORMATS[format]
13
- formatter.call(first, last)
14
- else
15
- to_default_s
16
- end
17
- end
18
-
19
- alias_method :to_default_s, :to_s
20
- alias_method :to_s, :to_formatted_s
21
- end
@@ -1,3 +0,0 @@
1
- class Range
2
- alias_method(:cover?, :include?) unless instance_methods.include?(:cover?)
3
- end
@@ -1,21 +0,0 @@
1
- class Range
2
- # Extends the default Range#include? to support range comparisons.
3
- # (1..5).include?(1..5) # => true
4
- # (1..5).include?(2..3) # => true
5
- # (1..5).include?(2..6) # => false
6
- #
7
- # The native Range#include? behavior is untouched.
8
- # ("a".."f").include?("c") # => true
9
- # (5..9).include?(11) # => false
10
- def include_with_range?(value)
11
- if value.is_a?(::Range)
12
- # 1...10 includes 1..9 but it does not include 1..10.
13
- operator = exclude_end? && !value.exclude_end? ? :< : :<=
14
- include_without_range?(value.first) && value.last.send(operator, last)
15
- else
16
- include_without_range?(value)
17
- end
18
- end
19
-
20
- alias_method_chain :include?, :range
21
- end
@@ -1,8 +0,0 @@
1
- class Range
2
- # Compare two ranges and see if they overlap each other
3
- # (1..5).overlaps?(4..6) # => true
4
- # (1..5).overlaps?(7..9) # => false
5
- def overlaps?(other)
6
- include?(other.first) || other.include?(first)
7
- end
8
- end
@@ -1,5 +0,0 @@
1
- class Regexp #:nodoc:
2
- def multiline?
3
- options & MULTILINE == MULTILINE
4
- end
5
- end
@@ -1,46 +0,0 @@
1
- require 'active_support/core_ext/kernel/reporting'
2
-
3
- # Fixes the rexml vulnerability disclosed at:
4
- # http://www.ruby-lang.org/en/news/2008/08/23/dos-vulnerability-in-rexml/
5
- # This fix is identical to rexml-expansion-fix version 1.0.1.
6
- #
7
- # We still need to distribute this fix because albeit the REXML
8
- # in recent 1.8.7s is patched, it wasn't in early patchlevels.
9
- require 'rexml/rexml'
10
-
11
- # Earlier versions of rexml defined REXML::Version, newer ones REXML::VERSION
12
- unless (defined?(REXML::VERSION) ? REXML::VERSION : REXML::Version) > "3.1.7.2"
13
- silence_warnings { require 'rexml/document' }
14
-
15
- # REXML in 1.8.7 has the patch but early patchlevels didn't update Version from 3.1.7.2.
16
- unless REXML::Document.respond_to?(:entity_expansion_limit=)
17
- silence_warnings { require 'rexml/entity' }
18
-
19
- module REXML #:nodoc:
20
- class Entity < Child #:nodoc:
21
- undef_method :unnormalized
22
- def unnormalized
23
- document.record_entity_expansion! if document
24
- v = value()
25
- return nil if v.nil?
26
- @unnormalized = Text::unnormalize(v, parent)
27
- @unnormalized
28
- end
29
- end
30
- class Document < Element #:nodoc:
31
- @@entity_expansion_limit = 10_000
32
- def self.entity_expansion_limit= val
33
- @@entity_expansion_limit = val
34
- end
35
-
36
- def record_entity_expansion!
37
- @number_of_expansions ||= 0
38
- @number_of_expansions += 1
39
- if @number_of_expansions > @@entity_expansion_limit
40
- raise "Number of entity expansions exceeded, processing aborted."
41
- end
42
- end
43
- end
44
- end
45
- end
46
- end