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.
- checksums.yaml +7 -0
- data/MIT-LICENSE +20 -0
- data/lib/backbone/deep/rails/version.rb +1 -1
- metadata +18 -245
- data/vendor/bundle/cache/activemodel-3.2.11.gem +0 -0
- data/vendor/bundle/cache/activesupport-3.2.11.gem +0 -0
- data/vendor/bundle/gems/activesupport-3.2.11/CHANGELOG.md +0 -157
- data/vendor/bundle/gems/activesupport-3.2.11/MIT-LICENSE +0 -20
- data/vendor/bundle/gems/activesupport-3.2.11/README.rdoc +0 -33
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support.rb +0 -82
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/all.rb +0 -3
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/backtrace_cleaner.rb +0 -99
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/base64.rb +0 -54
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/basic_object.rb +0 -21
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/benchmarkable.rb +0 -55
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/buffered_logger.rb +0 -125
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/builder.rb +0 -6
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/cache.rb +0 -638
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/cache/file_store.rb +0 -178
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/cache/mem_cache_store.rb +0 -206
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/cache/memory_store.rb +0 -159
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/cache/null_store.rb +0 -44
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/cache/strategy/local_cache.rb +0 -169
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/callbacks.rb +0 -626
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/concern.rb +0 -131
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/configurable.rb +0 -90
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext.rb +0 -3
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/array.rb +0 -8
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/array/access.rb +0 -46
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/array/conversions.rb +0 -164
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/array/extract_options.rb +0 -29
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/array/grouping.rb +0 -100
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/array/prepend_and_append.rb +0 -7
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/array/random_access.rb +0 -30
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/array/uniq_by.rb +0 -16
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/array/wrap.rb +0 -48
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/benchmark.rb +0 -7
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/big_decimal.rb +0 -1
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/big_decimal/conversions.rb +0 -45
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/class.rb +0 -4
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/class/attribute.rb +0 -115
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/class/attribute_accessors.rb +0 -168
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/class/delegating_attributes.rb +0 -44
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/class/subclasses.rb +0 -36
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/date/acts_like.rb +0 -8
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/date/calculations.rb +0 -276
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/date/conversions.rb +0 -106
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/date/freeze.rb +0 -33
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/date/zones.rb +0 -14
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/date_time/acts_like.rb +0 -13
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/date_time/calculations.rb +0 -143
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/date_time/conversions.rb +0 -103
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/date_time/zones.rb +0 -21
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/enumerable.rb +0 -127
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/exception.rb +0 -3
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/file.rb +0 -2
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/file/atomic.rb +0 -42
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/file/path.rb +0 -5
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/float.rb +0 -1
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/float/rounding.rb +0 -19
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/hash.rb +0 -9
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/hash/conversions.rb +0 -175
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/hash/deep_dup.rb +0 -18
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/hash/deep_merge.rb +0 -21
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/hash/diff.rb +0 -13
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/hash/except.rb +0 -23
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/hash/indifferent_access.rb +0 -24
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/hash/keys.rb +0 -54
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/hash/reverse_merge.rb +0 -23
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/hash/slice.rb +0 -40
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/integer.rb +0 -3
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/integer/inflections.rb +0 -17
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/integer/multiple.rb +0 -10
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/integer/time.rb +0 -39
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/io.rb +0 -15
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/kernel.rb +0 -4
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/kernel/agnostics.rb +0 -11
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/kernel/debugger.rb +0 -10
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/kernel/reporting.rb +0 -93
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/kernel/singleton_class.rb +0 -13
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/load_error.rb +0 -23
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/logger.rb +0 -83
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/module.rb +0 -12
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/module/aliasing.rb +0 -70
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/module/anonymous.rb +0 -24
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/module/attr_internal.rb +0 -39
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/module/attribute_accessors.rb +0 -64
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/module/delegation.rb +0 -153
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/module/deprecation.rb +0 -9
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/module/introspection.rb +0 -88
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/module/method_names.rb +0 -14
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/module/qualified_const.rb +0 -64
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/module/reachable.rb +0 -8
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/module/remove_method.rb +0 -16
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/module/synchronization.rb +0 -45
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/name_error.rb +0 -18
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/numeric.rb +0 -2
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/numeric/bytes.rb +0 -44
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/numeric/time.rb +0 -79
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/object.rb +0 -13
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/object/acts_like.rb +0 -10
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/object/blank.rb +0 -121
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/object/conversions.rb +0 -4
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/object/duplicable.rb +0 -119
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/object/inclusion.rb +0 -25
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/object/instance_variables.rb +0 -33
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/object/to_json.rb +0 -19
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/object/to_param.rb +0 -55
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/object/to_query.rb +0 -27
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/object/try.rb +0 -57
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/object/with_options.rb +0 -43
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/proc.rb +0 -14
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/process.rb +0 -1
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/process/daemon.rb +0 -23
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/range.rb +0 -5
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/range/blockless_step.rb +0 -29
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/range/conversions.rb +0 -21
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/range/cover.rb +0 -3
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/range/include_range.rb +0 -21
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/range/overlaps.rb +0 -8
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/regexp.rb +0 -5
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/rexml.rb +0 -46
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/string.rb +0 -14
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/string/access.rb +0 -99
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/string/behavior.rb +0 -6
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/string/conversions.rb +0 -66
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/string/encoding.rb +0 -11
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/string/exclude.rb +0 -11
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/string/filters.rb +0 -49
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/string/inflections.rb +0 -202
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/string/inquiry.rb +0 -13
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/string/interpolation.rb +0 -2
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/string/multibyte.rb +0 -72
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/string/output_safety.rb +0 -186
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/string/starts_ends_with.rb +0 -4
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/string/strip.rb +0 -26
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/string/xchar.rb +0 -18
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/time/acts_like.rb +0 -8
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/time/calculations.rb +0 -360
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/time/conversions.rb +0 -85
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/time/marshal.rb +0 -57
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/time/publicize_conversion_methods.rb +0 -10
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/time/zones.rb +0 -86
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/uri.rb +0 -30
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/dependencies.rb +0 -703
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/dependencies/autoload.rb +0 -50
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/deprecation.rb +0 -18
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/deprecation/behaviors.rb +0 -49
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/deprecation/method_wrappers.rb +0 -29
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/deprecation/proxy_wrappers.rb +0 -81
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/deprecation/reporting.rb +0 -65
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/descendants_tracker.rb +0 -45
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/duration.rb +0 -110
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/file_update_checker.rb +0 -121
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/file_watcher.rb +0 -36
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/gzip.rb +0 -30
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/hash_with_indifferent_access.rb +0 -178
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/i18n.rb +0 -9
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/i18n_railtie.rb +0 -102
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/inflections.rb +0 -63
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/inflector.rb +0 -7
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/inflector/inflections.rb +0 -174
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/inflector/methods.rb +0 -321
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/inflector/transliterate.rb +0 -98
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/json.rb +0 -2
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/json/decoding.rb +0 -79
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/json/encoding.rb +0 -284
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/json/variable.rb +0 -9
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/lazy_load_hooks.rb +0 -46
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/locale/en.yml +0 -36
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/log_subscriber.rb +0 -122
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/log_subscriber/test_helper.rb +0 -101
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/memoizable.rb +0 -116
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/message_encryptor.rb +0 -103
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/message_verifier.rb +0 -74
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/multibyte.rb +0 -44
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/multibyte/chars.rb +0 -476
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/multibyte/exceptions.rb +0 -8
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/multibyte/unicode.rb +0 -393
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/multibyte/utils.rb +0 -60
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/notifications.rb +0 -154
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/notifications/fanout.rb +0 -61
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/notifications/instrumenter.rb +0 -53
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/option_merger.rb +0 -25
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/ordered_hash.rb +0 -222
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/ordered_options.rb +0 -61
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/railtie.rb +0 -59
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/rescuable.rb +0 -115
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/ruby/shim.rb +0 -22
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/string_inquirer.rb +0 -21
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/tagged_logging.rb +0 -80
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/test_case.rb +0 -34
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/testing/assertions.rb +0 -97
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/testing/declarative.rb +0 -40
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/testing/deprecation.rb +0 -55
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/testing/isolation.rb +0 -157
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/testing/mochaing.rb +0 -7
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/testing/pending.rb +0 -52
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/testing/performance.rb +0 -317
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/testing/performance/jruby.rb +0 -115
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/testing/performance/rubinius.rb +0 -113
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/testing/performance/ruby.rb +0 -152
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/testing/performance/ruby/mri.rb +0 -57
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/testing/performance/ruby/yarv.rb +0 -57
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/testing/setup_and_teardown.rb +0 -118
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/time.rb +0 -35
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/time/autoload.rb +0 -5
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/time_with_zone.rb +0 -358
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/values/time_zone.rb +0 -397
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/values/unicode_tables.dat +0 -0
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/version.rb +0 -10
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/whiny_nil.rb +0 -24
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/xml_mini.rb +0 -168
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/xml_mini/jdom.rb +0 -175
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/xml_mini/libxml.rb +0 -80
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/xml_mini/libxmlsax.rb +0 -86
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/xml_mini/nokogiri.rb +0 -84
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/xml_mini/nokogirisax.rb +0 -88
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/xml_mini/rexml.rb +0 -130
- data/vendor/bundle/specifications/activesupport-3.2.11.gemspec +0 -33
@@ -1,50 +0,0 @@
|
|
1
|
-
require "active_support/inflector/methods"
|
2
|
-
require "active_support/lazy_load_hooks"
|
3
|
-
|
4
|
-
module ActiveSupport
|
5
|
-
module Autoload
|
6
|
-
@@autoloads = {}
|
7
|
-
@@under_path = nil
|
8
|
-
@@at_path = nil
|
9
|
-
@@eager_autoload = false
|
10
|
-
|
11
|
-
def autoload(const_name, path = @@at_path)
|
12
|
-
full = [self.name, @@under_path, const_name.to_s, path].compact.join("::")
|
13
|
-
location = path || Inflector.underscore(full)
|
14
|
-
|
15
|
-
if @@eager_autoload
|
16
|
-
@@autoloads[const_name] = location
|
17
|
-
end
|
18
|
-
super const_name, location
|
19
|
-
end
|
20
|
-
|
21
|
-
def autoload_under(path)
|
22
|
-
@@under_path, old_path = path, @@under_path
|
23
|
-
yield
|
24
|
-
ensure
|
25
|
-
@@under_path = old_path
|
26
|
-
end
|
27
|
-
|
28
|
-
def autoload_at(path)
|
29
|
-
@@at_path, old_path = path, @@at_path
|
30
|
-
yield
|
31
|
-
ensure
|
32
|
-
@@at_path = old_path
|
33
|
-
end
|
34
|
-
|
35
|
-
def eager_autoload
|
36
|
-
old_eager, @@eager_autoload = @@eager_autoload, true
|
37
|
-
yield
|
38
|
-
ensure
|
39
|
-
@@eager_autoload = old_eager
|
40
|
-
end
|
41
|
-
|
42
|
-
def self.eager_autoload!
|
43
|
-
@@autoloads.values.each { |file| require file }
|
44
|
-
end
|
45
|
-
|
46
|
-
def autoloads
|
47
|
-
@@autoloads
|
48
|
-
end
|
49
|
-
end
|
50
|
-
end
|
@@ -1,18 +0,0 @@
|
|
1
|
-
require 'active_support/deprecation/behaviors'
|
2
|
-
require 'active_support/deprecation/reporting'
|
3
|
-
require 'active_support/deprecation/method_wrappers'
|
4
|
-
require 'active_support/deprecation/proxy_wrappers'
|
5
|
-
|
6
|
-
module ActiveSupport
|
7
|
-
module Deprecation
|
8
|
-
class << self
|
9
|
-
# The version the deprecated behavior will be removed, by default.
|
10
|
-
attr_accessor :deprecation_horizon
|
11
|
-
end
|
12
|
-
self.deprecation_horizon = '4.0'
|
13
|
-
|
14
|
-
# By default, warnings are not silenced and debugging is off.
|
15
|
-
self.silenced = false
|
16
|
-
self.debug = false
|
17
|
-
end
|
18
|
-
end
|
@@ -1,49 +0,0 @@
|
|
1
|
-
require "active_support/notifications"
|
2
|
-
require "active_support/core_ext/array/wrap"
|
3
|
-
|
4
|
-
module ActiveSupport
|
5
|
-
module Deprecation
|
6
|
-
class << self
|
7
|
-
# Whether to print a backtrace along with the warning.
|
8
|
-
attr_accessor :debug
|
9
|
-
|
10
|
-
# Returns the set behavior or if one isn't set, defaults to +:stderr+
|
11
|
-
def behavior
|
12
|
-
@behavior ||= [DEFAULT_BEHAVIORS[:stderr]]
|
13
|
-
end
|
14
|
-
|
15
|
-
# Sets the behavior to the specified value. Can be a single value or an array.
|
16
|
-
#
|
17
|
-
# Examples
|
18
|
-
#
|
19
|
-
# ActiveSupport::Deprecation.behavior = :stderr
|
20
|
-
# ActiveSupport::Deprecation.behavior = [:stderr, :log]
|
21
|
-
def behavior=(behavior)
|
22
|
-
@behavior = Array.wrap(behavior).map { |b| DEFAULT_BEHAVIORS[b] || b }
|
23
|
-
end
|
24
|
-
end
|
25
|
-
|
26
|
-
# Default warning behaviors per Rails.env.
|
27
|
-
DEFAULT_BEHAVIORS = {
|
28
|
-
:stderr => Proc.new { |message, callstack|
|
29
|
-
$stderr.puts(message)
|
30
|
-
$stderr.puts callstack.join("\n ") if debug
|
31
|
-
},
|
32
|
-
:log => Proc.new { |message, callstack|
|
33
|
-
logger =
|
34
|
-
if defined?(Rails) && Rails.logger
|
35
|
-
Rails.logger
|
36
|
-
else
|
37
|
-
require 'logger'
|
38
|
-
Logger.new($stderr)
|
39
|
-
end
|
40
|
-
logger.warn message
|
41
|
-
logger.debug callstack.join("\n ") if debug
|
42
|
-
},
|
43
|
-
:notify => Proc.new { |message, callstack|
|
44
|
-
ActiveSupport::Notifications.instrument("deprecation.rails",
|
45
|
-
:message => message, :callstack => callstack)
|
46
|
-
}
|
47
|
-
}
|
48
|
-
end
|
49
|
-
end
|
data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/deprecation/method_wrappers.rb
DELETED
@@ -1,29 +0,0 @@
|
|
1
|
-
require 'active_support/core_ext/module/deprecation'
|
2
|
-
require 'active_support/core_ext/module/aliasing'
|
3
|
-
require 'active_support/core_ext/array/extract_options'
|
4
|
-
|
5
|
-
module ActiveSupport
|
6
|
-
class << Deprecation
|
7
|
-
# Declare that a method has been deprecated.
|
8
|
-
def deprecate_methods(target_module, *method_names)
|
9
|
-
options = method_names.extract_options!
|
10
|
-
method_names += options.keys
|
11
|
-
|
12
|
-
method_names.each do |method_name|
|
13
|
-
target_module.alias_method_chain(method_name, :deprecation) do |target, punctuation|
|
14
|
-
target_module.module_eval(<<-end_eval, __FILE__, __LINE__ + 1)
|
15
|
-
def #{target}_with_deprecation#{punctuation}(*args, &block)
|
16
|
-
::ActiveSupport::Deprecation.warn(
|
17
|
-
::ActiveSupport::Deprecation.deprecated_method_warning(
|
18
|
-
:#{method_name},
|
19
|
-
#{options[method_name].inspect}),
|
20
|
-
caller
|
21
|
-
)
|
22
|
-
send(:#{target}_without_deprecation#{punctuation}, *args, &block)
|
23
|
-
end
|
24
|
-
end_eval
|
25
|
-
end
|
26
|
-
end
|
27
|
-
end
|
28
|
-
end
|
29
|
-
end
|
data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/deprecation/proxy_wrappers.rb
DELETED
@@ -1,81 +0,0 @@
|
|
1
|
-
require 'active_support/inflector/methods'
|
2
|
-
|
3
|
-
module ActiveSupport
|
4
|
-
module Deprecation
|
5
|
-
class DeprecationProxy #:nodoc:
|
6
|
-
def self.new(*args, &block)
|
7
|
-
object = args.first
|
8
|
-
|
9
|
-
return object unless object
|
10
|
-
super
|
11
|
-
end
|
12
|
-
|
13
|
-
instance_methods.each { |m| undef_method m unless m =~ /^__|^object_id$/ }
|
14
|
-
|
15
|
-
# Don't give a deprecation warning on inspect since test/unit and error
|
16
|
-
# logs rely on it for diagnostics.
|
17
|
-
def inspect
|
18
|
-
target.inspect
|
19
|
-
end
|
20
|
-
|
21
|
-
private
|
22
|
-
def method_missing(called, *args, &block)
|
23
|
-
warn caller, called, args
|
24
|
-
target.__send__(called, *args, &block)
|
25
|
-
end
|
26
|
-
end
|
27
|
-
|
28
|
-
class DeprecatedObjectProxy < DeprecationProxy #:nodoc:
|
29
|
-
def initialize(object, message)
|
30
|
-
@object = object
|
31
|
-
@message = message
|
32
|
-
end
|
33
|
-
|
34
|
-
private
|
35
|
-
def target
|
36
|
-
@object
|
37
|
-
end
|
38
|
-
|
39
|
-
def warn(callstack, called, args)
|
40
|
-
ActiveSupport::Deprecation.warn(@message, callstack)
|
41
|
-
end
|
42
|
-
end
|
43
|
-
|
44
|
-
# Stand-in for <tt>@request</tt>, <tt>@attributes</tt>, <tt>@params</tt>, etc.
|
45
|
-
# which emits deprecation warnings on any method call (except +inspect+).
|
46
|
-
class DeprecatedInstanceVariableProxy < DeprecationProxy #:nodoc:
|
47
|
-
def initialize(instance, method, var = "@#{method}")
|
48
|
-
@instance, @method, @var = instance, method, var
|
49
|
-
end
|
50
|
-
|
51
|
-
private
|
52
|
-
def target
|
53
|
-
@instance.__send__(@method)
|
54
|
-
end
|
55
|
-
|
56
|
-
def warn(callstack, called, args)
|
57
|
-
ActiveSupport::Deprecation.warn("#{@var} is deprecated! Call #{@method}.#{called} instead of #{@var}.#{called}. Args: #{args.inspect}", callstack)
|
58
|
-
end
|
59
|
-
end
|
60
|
-
|
61
|
-
class DeprecatedConstantProxy < DeprecationProxy #:nodoc:all
|
62
|
-
def initialize(old_const, new_const)
|
63
|
-
@old_const = old_const
|
64
|
-
@new_const = new_const
|
65
|
-
end
|
66
|
-
|
67
|
-
def class
|
68
|
-
target.class
|
69
|
-
end
|
70
|
-
|
71
|
-
private
|
72
|
-
def target
|
73
|
-
ActiveSupport::Inflector.constantize(@new_const.to_s)
|
74
|
-
end
|
75
|
-
|
76
|
-
def warn(callstack, called, args)
|
77
|
-
ActiveSupport::Deprecation.warn("#{@old_const} is deprecated! Use #{@new_const} instead.", callstack)
|
78
|
-
end
|
79
|
-
end
|
80
|
-
end
|
81
|
-
end
|
@@ -1,65 +0,0 @@
|
|
1
|
-
module ActiveSupport
|
2
|
-
module Deprecation
|
3
|
-
class << self
|
4
|
-
attr_accessor :silenced
|
5
|
-
|
6
|
-
# Outputs a deprecation warning to the output configured by <tt>ActiveSupport::Deprecation.behavior</tt>
|
7
|
-
#
|
8
|
-
# ActiveSupport::Deprecation.warn("something broke!")
|
9
|
-
# # => "DEPRECATION WARNING: something broke! (called from your_code.rb:1)"
|
10
|
-
def warn(message = nil, callstack = caller)
|
11
|
-
return if silenced
|
12
|
-
deprecation_message(callstack, message).tap do |m|
|
13
|
-
behavior.each { |b| b.call(m, callstack) }
|
14
|
-
end
|
15
|
-
end
|
16
|
-
|
17
|
-
# Silence deprecation warnings within the block.
|
18
|
-
def silence
|
19
|
-
old_silenced, @silenced = @silenced, true
|
20
|
-
yield
|
21
|
-
ensure
|
22
|
-
@silenced = old_silenced
|
23
|
-
end
|
24
|
-
|
25
|
-
def deprecated_method_warning(method_name, message = nil)
|
26
|
-
warning = "#{method_name} is deprecated and will be removed from Rails #{deprecation_horizon}"
|
27
|
-
case message
|
28
|
-
when Symbol then "#{warning} (use #{message} instead)"
|
29
|
-
when String then "#{warning} (#{message})"
|
30
|
-
else warning
|
31
|
-
end
|
32
|
-
end
|
33
|
-
|
34
|
-
private
|
35
|
-
def deprecation_message(callstack, message = nil)
|
36
|
-
message ||= "You are using deprecated behavior which will be removed from the next major or minor release."
|
37
|
-
message += '.' unless message =~ /\.$/
|
38
|
-
"DEPRECATION WARNING: #{message} #{deprecation_caller_message(callstack)}"
|
39
|
-
end
|
40
|
-
|
41
|
-
def deprecation_caller_message(callstack)
|
42
|
-
file, line, method = extract_callstack(callstack)
|
43
|
-
if file
|
44
|
-
if line && method
|
45
|
-
"(called from #{method} at #{file}:#{line})"
|
46
|
-
else
|
47
|
-
"(called from #{file}:#{line})"
|
48
|
-
end
|
49
|
-
end
|
50
|
-
end
|
51
|
-
|
52
|
-
def extract_callstack(callstack)
|
53
|
-
rails_gem_root = File.expand_path("../../../../..", __FILE__) + "/"
|
54
|
-
offending_line = callstack.find { |line| !line.start_with?(rails_gem_root) } || callstack.first
|
55
|
-
if offending_line
|
56
|
-
if md = offending_line.match(/^(.+?):(\d+)(?::in `(.*?)')?/)
|
57
|
-
md.captures
|
58
|
-
else
|
59
|
-
offending_line
|
60
|
-
end
|
61
|
-
end
|
62
|
-
end
|
63
|
-
end
|
64
|
-
end
|
65
|
-
end
|
@@ -1,45 +0,0 @@
|
|
1
|
-
module ActiveSupport
|
2
|
-
# This module provides an internal implementation to track descendants
|
3
|
-
# which is faster than iterating through ObjectSpace.
|
4
|
-
module DescendantsTracker
|
5
|
-
@@direct_descendants = Hash.new { |h, k| h[k] = [] }
|
6
|
-
|
7
|
-
def self.direct_descendants(klass)
|
8
|
-
@@direct_descendants[klass]
|
9
|
-
end
|
10
|
-
|
11
|
-
def self.descendants(klass)
|
12
|
-
@@direct_descendants[klass].inject([]) do |descendants, _klass|
|
13
|
-
descendants << _klass
|
14
|
-
descendants.concat _klass.descendants
|
15
|
-
end
|
16
|
-
end
|
17
|
-
|
18
|
-
def self.clear
|
19
|
-
if defined? ActiveSupport::Dependencies
|
20
|
-
@@direct_descendants.each do |klass, descendants|
|
21
|
-
if ActiveSupport::Dependencies.autoloaded?(klass)
|
22
|
-
@@direct_descendants.delete(klass)
|
23
|
-
else
|
24
|
-
descendants.reject! { |v| ActiveSupport::Dependencies.autoloaded?(v) }
|
25
|
-
end
|
26
|
-
end
|
27
|
-
else
|
28
|
-
@@direct_descendants.clear
|
29
|
-
end
|
30
|
-
end
|
31
|
-
|
32
|
-
def inherited(base)
|
33
|
-
self.direct_descendants << base
|
34
|
-
super
|
35
|
-
end
|
36
|
-
|
37
|
-
def direct_descendants
|
38
|
-
DescendantsTracker.direct_descendants(self)
|
39
|
-
end
|
40
|
-
|
41
|
-
def descendants
|
42
|
-
DescendantsTracker.descendants(self)
|
43
|
-
end
|
44
|
-
end
|
45
|
-
end
|
@@ -1,110 +0,0 @@
|
|
1
|
-
require 'active_support/basic_object'
|
2
|
-
require 'active_support/core_ext/array/conversions'
|
3
|
-
require 'active_support/core_ext/object/acts_like'
|
4
|
-
|
5
|
-
module ActiveSupport
|
6
|
-
# Provides accurate date and time measurements using Date#advance and
|
7
|
-
# Time#advance, respectively. It mainly supports the methods on Numeric.
|
8
|
-
# Example:
|
9
|
-
#
|
10
|
-
# 1.month.ago # equivalent to Time.now.advance(:months => -1)
|
11
|
-
class Duration < BasicObject
|
12
|
-
attr_accessor :value, :parts
|
13
|
-
delegate :duplicable?, :to => :value # required when using ActiveSupport's BasicObject on 1.8
|
14
|
-
|
15
|
-
def initialize(value, parts) #:nodoc:
|
16
|
-
@value, @parts = value, parts
|
17
|
-
end
|
18
|
-
|
19
|
-
# Adds another Duration or a Numeric to this Duration. Numeric values
|
20
|
-
# are treated as seconds.
|
21
|
-
def +(other)
|
22
|
-
if Duration === other
|
23
|
-
Duration.new(value + other.value, @parts + other.parts)
|
24
|
-
else
|
25
|
-
Duration.new(value + other, @parts + [[:seconds, other]])
|
26
|
-
end
|
27
|
-
end
|
28
|
-
|
29
|
-
# Subtracts another Duration or a Numeric from this Duration. Numeric
|
30
|
-
# values are treated as seconds.
|
31
|
-
def -(other)
|
32
|
-
self + (-other)
|
33
|
-
end
|
34
|
-
|
35
|
-
def -@ #:nodoc:
|
36
|
-
Duration.new(-value, parts.map { |type,number| [type, -number] })
|
37
|
-
end
|
38
|
-
|
39
|
-
def is_a?(klass) #:nodoc:
|
40
|
-
Duration == klass || value.is_a?(klass)
|
41
|
-
end
|
42
|
-
alias :kind_of? :is_a?
|
43
|
-
|
44
|
-
# Returns true if <tt>other</tt> is also a Duration instance with the
|
45
|
-
# same <tt>value</tt>, or if <tt>other == value</tt>.
|
46
|
-
def ==(other)
|
47
|
-
if Duration === other
|
48
|
-
other.value == value
|
49
|
-
else
|
50
|
-
other == value
|
51
|
-
end
|
52
|
-
end
|
53
|
-
|
54
|
-
def self.===(other) #:nodoc:
|
55
|
-
other.is_a?(Duration)
|
56
|
-
rescue ::NoMethodError
|
57
|
-
false
|
58
|
-
end
|
59
|
-
|
60
|
-
# Calculates a new Time or Date that is as far in the future
|
61
|
-
# as this Duration represents.
|
62
|
-
def since(time = ::Time.current)
|
63
|
-
sum(1, time)
|
64
|
-
end
|
65
|
-
alias :from_now :since
|
66
|
-
|
67
|
-
# Calculates a new Time or Date that is as far in the past
|
68
|
-
# as this Duration represents.
|
69
|
-
def ago(time = ::Time.current)
|
70
|
-
sum(-1, time)
|
71
|
-
end
|
72
|
-
alias :until :ago
|
73
|
-
|
74
|
-
def inspect #:nodoc:
|
75
|
-
consolidated = parts.inject(::Hash.new(0)) { |h,part| h[part.first] += part.last; h }
|
76
|
-
parts = [:years, :months, :days, :minutes, :seconds].map do |length|
|
77
|
-
n = consolidated[length]
|
78
|
-
"#{n} #{n == 1 ? length.to_s.singularize : length.to_s}" if n.nonzero?
|
79
|
-
end.compact
|
80
|
-
parts = ["0 seconds"] if parts.empty?
|
81
|
-
parts.to_sentence(:locale => :en)
|
82
|
-
end
|
83
|
-
|
84
|
-
def as_json(options = nil) #:nodoc:
|
85
|
-
to_i
|
86
|
-
end
|
87
|
-
|
88
|
-
protected
|
89
|
-
|
90
|
-
def sum(sign, time = ::Time.current) #:nodoc:
|
91
|
-
parts.inject(time) do |t,(type,number)|
|
92
|
-
if t.acts_like?(:time) || t.acts_like?(:date)
|
93
|
-
if type == :seconds
|
94
|
-
t.since(sign * number)
|
95
|
-
else
|
96
|
-
t.advance(type => sign * number)
|
97
|
-
end
|
98
|
-
else
|
99
|
-
raise ::ArgumentError, "expected a time or date, got #{time.inspect}"
|
100
|
-
end
|
101
|
-
end
|
102
|
-
end
|
103
|
-
|
104
|
-
private
|
105
|
-
|
106
|
-
def method_missing(method, *args, &block) #:nodoc:
|
107
|
-
value.send(method, *args, &block)
|
108
|
-
end
|
109
|
-
end
|
110
|
-
end
|