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,14 +0,0 @@
1
- require 'active_support/core_ext/string/conversions'
2
- require 'active_support/core_ext/string/filters'
3
- require 'active_support/core_ext/string/multibyte'
4
- require 'active_support/core_ext/string/starts_ends_with'
5
- require 'active_support/core_ext/string/inflections'
6
- require 'active_support/core_ext/string/access'
7
- require 'active_support/core_ext/string/xchar'
8
- require 'active_support/core_ext/string/behavior'
9
- require 'active_support/core_ext/string/interpolation'
10
- require 'active_support/core_ext/string/output_safety'
11
- require 'active_support/core_ext/string/exclude'
12
- require 'active_support/core_ext/string/encoding'
13
- require 'active_support/core_ext/string/strip'
14
- require 'active_support/core_ext/string/inquiry'
@@ -1,99 +0,0 @@
1
- require "active_support/multibyte"
2
-
3
- class String
4
- unless '1.9'.respond_to?(:force_encoding)
5
- # Returns the character at the +position+ treating the string as an array (where 0 is the first character).
6
- #
7
- # Examples:
8
- # "hello".at(0) # => "h"
9
- # "hello".at(4) # => "o"
10
- # "hello".at(10) # => ERROR if < 1.9, nil in 1.9
11
- def at(position)
12
- mb_chars[position, 1].to_s
13
- end
14
-
15
- # Returns the remaining of the string from the +position+ treating the string as an array (where 0 is the first character).
16
- #
17
- # Examples:
18
- # "hello".from(0) # => "hello"
19
- # "hello".from(2) # => "llo"
20
- # "hello".from(10) # => "" if < 1.9, nil in 1.9
21
- def from(position)
22
- mb_chars[position..-1].to_s
23
- end
24
-
25
- # Returns the beginning of the string up to the +position+ treating the string as an array (where 0 is the first character).
26
- #
27
- # Examples:
28
- # "hello".to(0) # => "h"
29
- # "hello".to(2) # => "hel"
30
- # "hello".to(10) # => "hello"
31
- def to(position)
32
- mb_chars[0..position].to_s
33
- end
34
-
35
- # Returns the first character of the string or the first +limit+ characters.
36
- #
37
- # Examples:
38
- # "hello".first # => "h"
39
- # "hello".first(2) # => "he"
40
- # "hello".first(10) # => "hello"
41
- def first(limit = 1)
42
- if limit == 0
43
- ''
44
- elsif limit >= size
45
- self
46
- else
47
- mb_chars[0...limit].to_s
48
- end
49
- end
50
-
51
- # Returns the last character of the string or the last +limit+ characters.
52
- #
53
- # Examples:
54
- # "hello".last # => "o"
55
- # "hello".last(2) # => "lo"
56
- # "hello".last(10) # => "hello"
57
- def last(limit = 1)
58
- if limit == 0
59
- ''
60
- elsif limit >= size
61
- self
62
- else
63
- mb_chars[(-limit)..-1].to_s
64
- end
65
- end
66
- else
67
- def at(position)
68
- self[position]
69
- end
70
-
71
- def from(position)
72
- self[position..-1]
73
- end
74
-
75
- def to(position)
76
- self[0..position]
77
- end
78
-
79
- def first(limit = 1)
80
- if limit == 0
81
- ''
82
- elsif limit >= size
83
- self
84
- else
85
- to(limit - 1)
86
- end
87
- end
88
-
89
- def last(limit = 1)
90
- if limit == 0
91
- ''
92
- elsif limit >= size
93
- self
94
- else
95
- from(-limit)
96
- end
97
- end
98
- end
99
- end
@@ -1,6 +0,0 @@
1
- class String
2
- # Enable more predictable duck-typing on String-like classes. See <tt>Object#acts_like?</tt>.
3
- def acts_like_string?
4
- true
5
- end
6
- end
@@ -1,66 +0,0 @@
1
- # encoding: utf-8
2
- require 'date'
3
- require 'active_support/core_ext/time/publicize_conversion_methods'
4
- require 'active_support/core_ext/time/calculations'
5
-
6
- class String
7
- # Returns the codepoint of the first character of the string, assuming a
8
- # single-byte character encoding:
9
- #
10
- # "a".ord # => 97
11
- # "à".ord # => 224, in ISO-8859-1
12
- #
13
- # This method is defined in Ruby 1.8 for Ruby 1.9 forward compatibility on
14
- # these character encodings.
15
- #
16
- # <tt>ActiveSupport::Multibyte::Chars#ord</tt> is forward compatible with
17
- # Ruby 1.9 on UTF8 strings:
18
- #
19
- # "a".mb_chars.ord # => 97
20
- # "à".mb_chars.ord # => 224, in UTF8
21
- #
22
- # Note that the 224 is different in both examples. In ISO-8859-1 "à" is
23
- # represented as a single byte, 224. In UTF8 it is represented with two
24
- # bytes, namely 195 and 160, but its Unicode codepoint is 224. If we
25
- # call +ord+ on the UTF8 string "à" the return value will be 195. That is
26
- # not an error, because UTF8 is unsupported, the call itself would be
27
- # bogus.
28
- def ord
29
- self[0]
30
- end unless method_defined?(:ord)
31
-
32
- # +getbyte+ backport from Ruby 1.9
33
- alias_method :getbyte, :[] unless method_defined?(:getbyte)
34
-
35
- # Form can be either :utc (default) or :local.
36
- def to_time(form = :utc)
37
- return nil if self.blank?
38
- d = ::Date._parse(self, false).values_at(:year, :mon, :mday, :hour, :min, :sec, :sec_fraction, :offset).map { |arg| arg || 0 }
39
- d[6] *= 1000000
40
- ::Time.send("#{form}_time", *d[0..6]) - d[7]
41
- end
42
-
43
- # Converts a string to a Date value.
44
- #
45
- # "1-1-2012".to_date #=> Sun, 01 Jan 2012
46
- # "01/01/2012".to_date #=> Sun, 01 Jan 2012
47
- # "2012-12-13".to_date #=> Thu, 13 Dec 2012
48
- # "12/13/2012".to_date #=> ArgumentError: invalid date
49
- def to_date
50
- return nil if self.blank?
51
- ::Date.new(*::Date._parse(self, false).values_at(:year, :mon, :mday))
52
- end
53
-
54
- # Converts a string to a DateTime value.
55
- #
56
- # "1-1-2012".to_datetime #=> Sun, 01 Jan 2012 00:00:00 +0000
57
- # "01/01/2012 23:59:59".to_datetime #=> Sun, 01 Jan 2012 23:59:59 +0000
58
- # "2012-12-13 12:50".to_datetime #=> Thu, 13 Dec 2012 12:50:00 +0000
59
- # "12/13/2012".to_datetime #=> ArgumentError: invalid date
60
- def to_datetime
61
- return nil if self.blank?
62
- d = ::Date._parse(self, false).values_at(:year, :mon, :mday, :hour, :min, :sec, :zone, :sec_fraction).map { |arg| arg || 0 }
63
- d[5] += d.pop
64
- ::DateTime.civil(*d)
65
- end
66
- end
@@ -1,11 +0,0 @@
1
- class String
2
- if defined?(Encoding) && "".respond_to?(:encode)
3
- def encoding_aware?
4
- true
5
- end
6
- else
7
- def encoding_aware?
8
- false
9
- end
10
- end
11
- end
@@ -1,11 +0,0 @@
1
- class String
2
- # The inverse of <tt>String#include?</tt>. Returns true if the string
3
- # does not include the other string.
4
- #
5
- # "hello".exclude? "lo" #=> false
6
- # "hello".exclude? "ol" #=> true
7
- # "hello".exclude? ?h #=> false
8
- def exclude?(string)
9
- !include?(string)
10
- end
11
- end
@@ -1,49 +0,0 @@
1
- require 'active_support/core_ext/string/multibyte'
2
-
3
- class String
4
- # Returns the string, first removing all whitespace on both ends of
5
- # the string, and then changing remaining consecutive whitespace
6
- # groups into one space each.
7
- #
8
- # Examples:
9
- # %{ Multi-line
10
- # string }.squish # => "Multi-line string"
11
- # " foo bar \n \t boo".squish # => "foo bar boo"
12
- def squish
13
- dup.squish!
14
- end
15
-
16
- # Performs a destructive squish. See String#squish.
17
- def squish!
18
- strip!
19
- gsub!(/\s+/, ' ')
20
- self
21
- end
22
-
23
- # Truncates a given +text+ after a given <tt>length</tt> if +text+ is longer than <tt>length</tt>:
24
- #
25
- # "Once upon a time in a world far far away".truncate(27)
26
- # # => "Once upon a time in a wo..."
27
- #
28
- # Pass a <tt>:separator</tt> to truncate +text+ at a natural break:
29
- #
30
- # "Once upon a time in a world far far away".truncate(27, :separator => ' ')
31
- # # => "Once upon a time in a..."
32
- #
33
- # The last characters will be replaced with the <tt>:omission</tt> string (defaults to "...")
34
- # for a total length not exceeding <tt>:length</tt>:
35
- #
36
- # "And they found that many people were sleeping better.".truncate(25, :omission => "... (continued)")
37
- # # => "And they f... (continued)"
38
- def truncate(length, options = {})
39
- text = self.dup
40
- options[:omission] ||= "..."
41
-
42
- length_with_room_for_omission = length - options[:omission].mb_chars.length
43
- chars = text.mb_chars
44
- stop = options[:separator] ?
45
- (chars.rindex(options[:separator].mb_chars, length_with_room_for_omission) || length_with_room_for_omission) : length_with_room_for_omission
46
-
47
- (chars.length > length ? chars[0...stop] + options[:omission] : text).to_s
48
- end
49
- end
@@ -1,202 +0,0 @@
1
- require 'active_support/inflector/methods'
2
- require 'active_support/inflector/transliterate'
3
-
4
- # String inflections define new methods on the String class to transform names for different purposes.
5
- # For instance, you can figure out the name of a table from the name of a class.
6
- #
7
- # "ScaleScore".tableize # => "scale_scores"
8
- #
9
- class String
10
- # Returns the plural form of the word in the string.
11
- #
12
- # If the optional parameter +count+ is specified,
13
- # the singular form will be returned if <tt>count == 1</tt>.
14
- # For any other value of +count+ the plural will be returned.
15
- #
16
- # ==== Examples
17
- # "post".pluralize # => "posts"
18
- # "octopus".pluralize # => "octopi"
19
- # "sheep".pluralize # => "sheep"
20
- # "words".pluralize # => "words"
21
- # "the blue mailman".pluralize # => "the blue mailmen"
22
- # "CamelOctopus".pluralize # => "CamelOctopi"
23
- # "apple".pluralize(1) # => "apple"
24
- # "apple".pluralize(2) # => "apples"
25
- def pluralize(count = nil)
26
- if count == 1
27
- self
28
- else
29
- ActiveSupport::Inflector.pluralize(self)
30
- end
31
- end
32
-
33
- # The reverse of +pluralize+, returns the singular form of a word in a string.
34
- #
35
- # "posts".singularize # => "post"
36
- # "octopi".singularize # => "octopus"
37
- # "sheep".singularize # => "sheep"
38
- # "word".singularize # => "word"
39
- # "the blue mailmen".singularize # => "the blue mailman"
40
- # "CamelOctopi".singularize # => "CamelOctopus"
41
- def singularize
42
- ActiveSupport::Inflector.singularize(self)
43
- end
44
-
45
- # +constantize+ tries to find a declared constant with the name specified
46
- # in the string. It raises a NameError when the name is not in CamelCase
47
- # or is not initialized. See ActiveSupport::Inflector.constantize
48
- #
49
- # Examples
50
- # "Module".constantize # => Module
51
- # "Class".constantize # => Class
52
- # "blargle".constantize # => NameError: wrong constant name blargle
53
- def constantize
54
- ActiveSupport::Inflector.constantize(self)
55
- end
56
-
57
- # +safe_constantize+ tries to find a declared constant with the name specified
58
- # in the string. It returns nil when the name is not in CamelCase
59
- # or is not initialized. See ActiveSupport::Inflector.safe_constantize
60
- #
61
- # Examples
62
- # "Module".safe_constantize # => Module
63
- # "Class".safe_constantize # => Class
64
- # "blargle".safe_constantize # => nil
65
- def safe_constantize
66
- ActiveSupport::Inflector.safe_constantize(self)
67
- end
68
-
69
- # By default, +camelize+ converts strings to UpperCamelCase. If the argument to camelize
70
- # is set to <tt>:lower</tt> then camelize produces lowerCamelCase.
71
- #
72
- # +camelize+ will also convert '/' to '::' which is useful for converting paths to namespaces.
73
- #
74
- # "active_record".camelize # => "ActiveRecord"
75
- # "active_record".camelize(:lower) # => "activeRecord"
76
- # "active_record/errors".camelize # => "ActiveRecord::Errors"
77
- # "active_record/errors".camelize(:lower) # => "activeRecord::Errors"
78
- def camelize(first_letter = :upper)
79
- case first_letter
80
- when :upper then ActiveSupport::Inflector.camelize(self, true)
81
- when :lower then ActiveSupport::Inflector.camelize(self, false)
82
- end
83
- end
84
- alias_method :camelcase, :camelize
85
-
86
- # Capitalizes all the words and replaces some characters in the string to create
87
- # a nicer looking title. +titleize+ is meant for creating pretty output. It is not
88
- # used in the Rails internals.
89
- #
90
- # +titleize+ is also aliased as +titlecase+.
91
- #
92
- # "man from the boondocks".titleize # => "Man From The Boondocks"
93
- # "x-men: the last stand".titleize # => "X Men: The Last Stand"
94
- def titleize
95
- ActiveSupport::Inflector.titleize(self)
96
- end
97
- alias_method :titlecase, :titleize
98
-
99
- # The reverse of +camelize+. Makes an underscored, lowercase form from the expression in the string.
100
- #
101
- # +underscore+ will also change '::' to '/' to convert namespaces to paths.
102
- #
103
- # "ActiveModel".underscore # => "active_model"
104
- # "ActiveModel::Errors".underscore # => "active_model/errors"
105
- def underscore
106
- ActiveSupport::Inflector.underscore(self)
107
- end
108
-
109
- # Replaces underscores with dashes in the string.
110
- #
111
- # "puni_puni" # => "puni-puni"
112
- def dasherize
113
- ActiveSupport::Inflector.dasherize(self)
114
- end
115
-
116
- # Removes the module part from the constant expression in the string.
117
- #
118
- # "ActiveRecord::CoreExtensions::String::Inflections".demodulize # => "Inflections"
119
- # "Inflections".demodulize # => "Inflections"
120
- #
121
- # See also +deconstantize+.
122
- def demodulize
123
- ActiveSupport::Inflector.demodulize(self)
124
- end
125
-
126
- # Removes the rightmost segment from the constant expression in the string.
127
- #
128
- # "Net::HTTP".deconstantize # => "Net"
129
- # "::Net::HTTP".deconstantize # => "::Net"
130
- # "String".deconstantize # => ""
131
- # "::String".deconstantize # => ""
132
- # "".deconstantize # => ""
133
- #
134
- # See also +demodulize+.
135
- def deconstantize
136
- ActiveSupport::Inflector.deconstantize(self)
137
- end
138
-
139
- # Replaces special characters in a string so that it may be used as part of a 'pretty' URL.
140
- #
141
- # ==== Examples
142
- #
143
- # class Person
144
- # def to_param
145
- # "#{id}-#{name.parameterize}"
146
- # end
147
- # end
148
- #
149
- # @person = Person.find(1)
150
- # # => #<Person id: 1, name: "Donald E. Knuth">
151
- #
152
- # <%= link_to(@person.name, person_path) %>
153
- # # => <a href="/person/1-donald-e-knuth">Donald E. Knuth</a>
154
- def parameterize(sep = '-')
155
- ActiveSupport::Inflector.parameterize(self, sep)
156
- end
157
-
158
- # Creates the name of a table like Rails does for models to table names. This method
159
- # uses the +pluralize+ method on the last word in the string.
160
- #
161
- # "RawScaledScorer".tableize # => "raw_scaled_scorers"
162
- # "egg_and_ham".tableize # => "egg_and_hams"
163
- # "fancyCategory".tableize # => "fancy_categories"
164
- def tableize
165
- ActiveSupport::Inflector.tableize(self)
166
- end
167
-
168
- # Create a class name from a plural table name like Rails does for table names to models.
169
- # Note that this returns a string and not a class. (To convert to an actual class
170
- # follow +classify+ with +constantize+.)
171
- #
172
- # "egg_and_hams".classify # => "EggAndHam"
173
- # "posts".classify # => "Post"
174
- #
175
- # Singular names are not handled correctly.
176
- #
177
- # "business".classify # => "Busines"
178
- def classify
179
- ActiveSupport::Inflector.classify(self)
180
- end
181
-
182
- # Capitalizes the first word, turns underscores into spaces, and strips '_id'.
183
- # Like +titleize+, this is meant for creating pretty output.
184
- #
185
- # "employee_salary" # => "Employee salary"
186
- # "author_id" # => "Author"
187
- def humanize
188
- ActiveSupport::Inflector.humanize(self)
189
- end
190
-
191
- # Creates a foreign key name from a class name.
192
- # +separate_class_name_and_id_with_underscore+ sets whether
193
- # the method should put '_' between the name and 'id'.
194
- #
195
- # Examples
196
- # "Message".foreign_key # => "message_id"
197
- # "Message".foreign_key(false) # => "messageid"
198
- # "Admin::Post".foreign_key # => "post_id"
199
- def foreign_key(separate_class_name_and_id_with_underscore = true)
200
- ActiveSupport::Inflector.foreign_key(self, separate_class_name_and_id_with_underscore)
201
- end
202
- end