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
data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/object/inclusion.rb
DELETED
@@ -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
|
data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/object/with_options.rb
DELETED
@@ -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
|
data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/range/blockless_step.rb
DELETED
@@ -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
|
data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/range/conversions.rb
DELETED
@@ -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
|
data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/range/include_range.rb
DELETED
@@ -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,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
|