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/module/remove_method.rb
DELETED
@@ -1,16 +0,0 @@
|
|
1
|
-
class Module
|
2
|
-
def remove_possible_method(method)
|
3
|
-
if method_defined?(method) || private_method_defined?(method)
|
4
|
-
remove_method(method)
|
5
|
-
end
|
6
|
-
rescue NameError
|
7
|
-
# If the requested method is defined on a superclass or included module,
|
8
|
-
# method_defined? returns true but remove_method throws a NameError.
|
9
|
-
# Ignore this.
|
10
|
-
end
|
11
|
-
|
12
|
-
def redefine_method(method, &block)
|
13
|
-
remove_possible_method(method)
|
14
|
-
define_method(method, &block)
|
15
|
-
end
|
16
|
-
end
|
data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/module/synchronization.rb
DELETED
@@ -1,45 +0,0 @@
|
|
1
|
-
require 'thread'
|
2
|
-
require 'active_support/core_ext/module/aliasing'
|
3
|
-
require 'active_support/core_ext/array/extract_options'
|
4
|
-
require 'active_support/core_ext/module/deprecation'
|
5
|
-
|
6
|
-
class Module
|
7
|
-
# Synchronize access around a method, delegating synchronization to a
|
8
|
-
# particular mutex. A mutex (either a Mutex, or any object that responds to
|
9
|
-
# #synchronize and yields to a block) must be provided as a final :with option.
|
10
|
-
# The :with option should be a symbol or string, and can represent a method,
|
11
|
-
# constant, or instance or class variable.
|
12
|
-
# Example:
|
13
|
-
# class SharedCache
|
14
|
-
# @@lock = Mutex.new
|
15
|
-
# def expire
|
16
|
-
# ...
|
17
|
-
# end
|
18
|
-
# synchronize :expire, :with => :@@lock
|
19
|
-
# end
|
20
|
-
def synchronize(*methods)
|
21
|
-
options = methods.extract_options!
|
22
|
-
unless options.is_a?(Hash) && with = options[:with]
|
23
|
-
raise ArgumentError, "Synchronization needs a mutex. Supply an options hash with a :with key as the last argument (e.g. synchronize :hello, :with => :@mutex)."
|
24
|
-
end
|
25
|
-
|
26
|
-
methods.each do |method|
|
27
|
-
aliased_method, punctuation = method.to_s.sub(/([?!=])$/, ''), $1
|
28
|
-
|
29
|
-
if method_defined?("#{aliased_method}_without_synchronization#{punctuation}")
|
30
|
-
raise ArgumentError, "#{method} is already synchronized. Double synchronization is not currently supported."
|
31
|
-
end
|
32
|
-
|
33
|
-
module_eval(<<-EOS, __FILE__, __LINE__ + 1)
|
34
|
-
def #{aliased_method}_with_synchronization#{punctuation}(*args, &block) # def expire_with_synchronization(*args, &block)
|
35
|
-
#{with}.synchronize do # @@lock.synchronize do
|
36
|
-
#{aliased_method}_without_synchronization#{punctuation}(*args, &block) # expire_without_synchronization(*args, &block)
|
37
|
-
end # end
|
38
|
-
end # end
|
39
|
-
EOS
|
40
|
-
|
41
|
-
alias_method_chain method, :synchronization
|
42
|
-
end
|
43
|
-
end
|
44
|
-
deprecate :synchronize
|
45
|
-
end
|
@@ -1,18 +0,0 @@
|
|
1
|
-
class NameError
|
2
|
-
# Extract the name of the missing constant from the exception message.
|
3
|
-
def missing_name
|
4
|
-
if /undefined local variable or method/ !~ message
|
5
|
-
$1 if /((::)?([A-Z]\w*)(::[A-Z]\w*)*)$/ =~ message
|
6
|
-
end
|
7
|
-
end
|
8
|
-
|
9
|
-
# Was this exception raised because the given name was missing?
|
10
|
-
def missing_name?(name)
|
11
|
-
if name.is_a? Symbol
|
12
|
-
last_name = (missing_name || '').split('::').last
|
13
|
-
last_name == name.to_s
|
14
|
-
else
|
15
|
-
missing_name == name.to_s
|
16
|
-
end
|
17
|
-
end
|
18
|
-
end
|
@@ -1,44 +0,0 @@
|
|
1
|
-
class Numeric
|
2
|
-
KILOBYTE = 1024
|
3
|
-
MEGABYTE = KILOBYTE * 1024
|
4
|
-
GIGABYTE = MEGABYTE * 1024
|
5
|
-
TERABYTE = GIGABYTE * 1024
|
6
|
-
PETABYTE = TERABYTE * 1024
|
7
|
-
EXABYTE = PETABYTE * 1024
|
8
|
-
|
9
|
-
# Enables the use of byte calculations and declarations, like 45.bytes + 2.6.megabytes
|
10
|
-
def bytes
|
11
|
-
self
|
12
|
-
end
|
13
|
-
alias :byte :bytes
|
14
|
-
|
15
|
-
def kilobytes
|
16
|
-
self * KILOBYTE
|
17
|
-
end
|
18
|
-
alias :kilobyte :kilobytes
|
19
|
-
|
20
|
-
def megabytes
|
21
|
-
self * MEGABYTE
|
22
|
-
end
|
23
|
-
alias :megabyte :megabytes
|
24
|
-
|
25
|
-
def gigabytes
|
26
|
-
self * GIGABYTE
|
27
|
-
end
|
28
|
-
alias :gigabyte :gigabytes
|
29
|
-
|
30
|
-
def terabytes
|
31
|
-
self * TERABYTE
|
32
|
-
end
|
33
|
-
alias :terabyte :terabytes
|
34
|
-
|
35
|
-
def petabytes
|
36
|
-
self * PETABYTE
|
37
|
-
end
|
38
|
-
alias :petabyte :petabytes
|
39
|
-
|
40
|
-
def exabytes
|
41
|
-
self * EXABYTE
|
42
|
-
end
|
43
|
-
alias :exabyte :exabytes
|
44
|
-
end
|
@@ -1,79 +0,0 @@
|
|
1
|
-
require 'active_support/duration'
|
2
|
-
require 'active_support/core_ext/time/calculations'
|
3
|
-
require 'active_support/core_ext/time/acts_like'
|
4
|
-
|
5
|
-
class Numeric
|
6
|
-
# Enables the use of time calculations and declarations, like 45.minutes + 2.hours + 4.years.
|
7
|
-
#
|
8
|
-
# These methods use Time#advance for precise date calculations when using from_now, ago, etc.
|
9
|
-
# as well as adding or subtracting their results from a Time object. For example:
|
10
|
-
#
|
11
|
-
# # equivalent to Time.now.advance(:months => 1)
|
12
|
-
# 1.month.from_now
|
13
|
-
#
|
14
|
-
# # equivalent to Time.now.advance(:years => 2)
|
15
|
-
# 2.years.from_now
|
16
|
-
#
|
17
|
-
# # equivalent to Time.now.advance(:months => 4, :years => 5)
|
18
|
-
# (4.months + 5.years).from_now
|
19
|
-
#
|
20
|
-
# While these methods provide precise calculation when used as in the examples above, care
|
21
|
-
# should be taken to note that this is not true if the result of `months', `years', etc is
|
22
|
-
# converted before use:
|
23
|
-
#
|
24
|
-
# # equivalent to 30.days.to_i.from_now
|
25
|
-
# 1.month.to_i.from_now
|
26
|
-
#
|
27
|
-
# # equivalent to 365.25.days.to_f.from_now
|
28
|
-
# 1.year.to_f.from_now
|
29
|
-
#
|
30
|
-
# In such cases, Ruby's core
|
31
|
-
# Date[http://stdlib.rubyonrails.org/libdoc/date/rdoc/index.html] and
|
32
|
-
# Time[http://stdlib.rubyonrails.org/libdoc/time/rdoc/index.html] should be used for precision
|
33
|
-
# date and time arithmetic
|
34
|
-
def seconds
|
35
|
-
ActiveSupport::Duration.new(self, [[:seconds, self]])
|
36
|
-
end
|
37
|
-
alias :second :seconds
|
38
|
-
|
39
|
-
def minutes
|
40
|
-
ActiveSupport::Duration.new(self * 60, [[:seconds, self * 60]])
|
41
|
-
end
|
42
|
-
alias :minute :minutes
|
43
|
-
|
44
|
-
def hours
|
45
|
-
ActiveSupport::Duration.new(self * 3600, [[:seconds, self * 3600]])
|
46
|
-
end
|
47
|
-
alias :hour :hours
|
48
|
-
|
49
|
-
def days
|
50
|
-
ActiveSupport::Duration.new(self * 24.hours, [[:days, self]])
|
51
|
-
end
|
52
|
-
alias :day :days
|
53
|
-
|
54
|
-
def weeks
|
55
|
-
ActiveSupport::Duration.new(self * 7.days, [[:days, self * 7]])
|
56
|
-
end
|
57
|
-
alias :week :weeks
|
58
|
-
|
59
|
-
def fortnights
|
60
|
-
ActiveSupport::Duration.new(self * 2.weeks, [[:days, self * 14]])
|
61
|
-
end
|
62
|
-
alias :fortnight :fortnights
|
63
|
-
|
64
|
-
# Reads best without arguments: 10.minutes.ago
|
65
|
-
def ago(time = ::Time.current)
|
66
|
-
time - self
|
67
|
-
end
|
68
|
-
|
69
|
-
# Reads best with argument: 10.minutes.until(time)
|
70
|
-
alias :until :ago
|
71
|
-
|
72
|
-
# Reads best with argument: 10.minutes.since(time)
|
73
|
-
def since(time = ::Time.current)
|
74
|
-
time + self
|
75
|
-
end
|
76
|
-
|
77
|
-
# Reads best without arguments: 10.minutes.from_now
|
78
|
-
alias :from_now :since
|
79
|
-
end
|
@@ -1,13 +0,0 @@
|
|
1
|
-
require 'active_support/core_ext/object/acts_like'
|
2
|
-
require 'active_support/core_ext/object/blank'
|
3
|
-
require 'active_support/core_ext/object/duplicable'
|
4
|
-
require 'active_support/core_ext/object/try'
|
5
|
-
require 'active_support/core_ext/object/inclusion'
|
6
|
-
|
7
|
-
require 'active_support/core_ext/object/conversions'
|
8
|
-
require 'active_support/core_ext/object/instance_variables'
|
9
|
-
|
10
|
-
require 'active_support/core_ext/object/to_json'
|
11
|
-
require 'active_support/core_ext/object/to_param'
|
12
|
-
require 'active_support/core_ext/object/to_query'
|
13
|
-
require 'active_support/core_ext/object/with_options'
|
data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/object/acts_like.rb
DELETED
@@ -1,10 +0,0 @@
|
|
1
|
-
class Object
|
2
|
-
# A duck-type assistant method. For example, Active Support extends Date
|
3
|
-
# to define an acts_like_date? method, and extends Time to define
|
4
|
-
# acts_like_time?. As a result, we can do "x.acts_like?(:time)" and
|
5
|
-
# "x.acts_like?(:date)" to do duck-type-safe comparisons, since classes that
|
6
|
-
# we want to act like Time simply need to define an acts_like_time? method.
|
7
|
-
def acts_like?(duck)
|
8
|
-
respond_to? :"acts_like_#{duck}?"
|
9
|
-
end
|
10
|
-
end
|
@@ -1,121 +0,0 @@
|
|
1
|
-
# encoding: utf-8
|
2
|
-
require 'active_support/core_ext/string/encoding'
|
3
|
-
|
4
|
-
class Object
|
5
|
-
# An object is blank if it's false, empty, or a whitespace string.
|
6
|
-
# For example, "", " ", +nil+, [], and {} are all blank.
|
7
|
-
#
|
8
|
-
# This simplifies:
|
9
|
-
#
|
10
|
-
# if address.nil? || address.empty?
|
11
|
-
#
|
12
|
-
# ...to:
|
13
|
-
#
|
14
|
-
# if address.blank?
|
15
|
-
def blank?
|
16
|
-
respond_to?(:empty?) ? empty? : !self
|
17
|
-
end
|
18
|
-
|
19
|
-
# An object is present if it's not <tt>blank?</tt>.
|
20
|
-
def present?
|
21
|
-
!blank?
|
22
|
-
end
|
23
|
-
|
24
|
-
# Returns object if it's <tt>present?</tt> otherwise returns +nil+.
|
25
|
-
# <tt>object.presence</tt> is equivalent to <tt>object.present? ? object : nil</tt>.
|
26
|
-
#
|
27
|
-
# This is handy for any representation of objects where blank is the same
|
28
|
-
# as not present at all. For example, this simplifies a common check for
|
29
|
-
# HTTP POST/query parameters:
|
30
|
-
#
|
31
|
-
# state = params[:state] if params[:state].present?
|
32
|
-
# country = params[:country] if params[:country].present?
|
33
|
-
# region = state || country || 'US'
|
34
|
-
#
|
35
|
-
# ...becomes:
|
36
|
-
#
|
37
|
-
# region = params[:state].presence || params[:country].presence || 'US'
|
38
|
-
def presence
|
39
|
-
self if present?
|
40
|
-
end
|
41
|
-
end
|
42
|
-
|
43
|
-
class NilClass
|
44
|
-
# +nil+ is blank:
|
45
|
-
#
|
46
|
-
# nil.blank? # => true
|
47
|
-
#
|
48
|
-
def blank?
|
49
|
-
true
|
50
|
-
end
|
51
|
-
end
|
52
|
-
|
53
|
-
class FalseClass
|
54
|
-
# +false+ is blank:
|
55
|
-
#
|
56
|
-
# false.blank? # => true
|
57
|
-
#
|
58
|
-
def blank?
|
59
|
-
true
|
60
|
-
end
|
61
|
-
end
|
62
|
-
|
63
|
-
class TrueClass
|
64
|
-
# +true+ is not blank:
|
65
|
-
#
|
66
|
-
# true.blank? # => false
|
67
|
-
#
|
68
|
-
def blank?
|
69
|
-
false
|
70
|
-
end
|
71
|
-
end
|
72
|
-
|
73
|
-
class Array
|
74
|
-
# An array is blank if it's empty:
|
75
|
-
#
|
76
|
-
# [].blank? # => true
|
77
|
-
# [1,2,3].blank? # => false
|
78
|
-
#
|
79
|
-
alias_method :blank?, :empty?
|
80
|
-
end
|
81
|
-
|
82
|
-
class Hash
|
83
|
-
# A hash is blank if it's empty:
|
84
|
-
#
|
85
|
-
# {}.blank? # => true
|
86
|
-
# {:key => 'value'}.blank? # => false
|
87
|
-
#
|
88
|
-
alias_method :blank?, :empty?
|
89
|
-
end
|
90
|
-
|
91
|
-
class String
|
92
|
-
# 0x3000: fullwidth whitespace
|
93
|
-
NON_WHITESPACE_REGEXP = %r![^\s#{[0x3000].pack("U")}]!
|
94
|
-
|
95
|
-
# A string is blank if it's empty or contains whitespaces only:
|
96
|
-
#
|
97
|
-
# "".blank? # => true
|
98
|
-
# " ".blank? # => true
|
99
|
-
# " ".blank? # => true
|
100
|
-
# " something here ".blank? # => false
|
101
|
-
#
|
102
|
-
def blank?
|
103
|
-
# 1.8 does not takes [:space:] properly
|
104
|
-
if encoding_aware?
|
105
|
-
self !~ /[^[:space:]]/
|
106
|
-
else
|
107
|
-
self !~ NON_WHITESPACE_REGEXP
|
108
|
-
end
|
109
|
-
end
|
110
|
-
end
|
111
|
-
|
112
|
-
class Numeric #:nodoc:
|
113
|
-
# No number is blank:
|
114
|
-
#
|
115
|
-
# 1.blank? # => false
|
116
|
-
# 0.blank? # => false
|
117
|
-
#
|
118
|
-
def blank?
|
119
|
-
false
|
120
|
-
end
|
121
|
-
end
|
data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/object/duplicable.rb
DELETED
@@ -1,119 +0,0 @@
|
|
1
|
-
#--
|
2
|
-
# Most objects are cloneable, but not all. For example you can't dup +nil+:
|
3
|
-
#
|
4
|
-
# nil.dup # => TypeError: can't dup NilClass
|
5
|
-
#
|
6
|
-
# Classes may signal their instances are not duplicable removing +dup+/+clone+
|
7
|
-
# or raising exceptions from them. So, to dup an arbitrary object you normally
|
8
|
-
# use an optimistic approach and are ready to catch an exception, say:
|
9
|
-
#
|
10
|
-
# arbitrary_object.dup rescue object
|
11
|
-
#
|
12
|
-
# Rails dups objects in a few critical spots where they are not that arbitrary.
|
13
|
-
# That rescue is very expensive (like 40 times slower than a predicate), and it
|
14
|
-
# is often triggered.
|
15
|
-
#
|
16
|
-
# That's why we hardcode the following cases and check duplicable? instead of
|
17
|
-
# using that rescue idiom.
|
18
|
-
#++
|
19
|
-
class Object
|
20
|
-
# Can you safely dup this object?
|
21
|
-
#
|
22
|
-
# False for +nil+, +false+, +true+, symbols, numbers, class and module objects;
|
23
|
-
# true otherwise.
|
24
|
-
def duplicable?
|
25
|
-
true
|
26
|
-
end
|
27
|
-
end
|
28
|
-
|
29
|
-
class NilClass
|
30
|
-
# +nil+ is not duplicable:
|
31
|
-
#
|
32
|
-
# nil.duplicable? # => false
|
33
|
-
# nil.dup # => TypeError: can't dup NilClass
|
34
|
-
#
|
35
|
-
def duplicable?
|
36
|
-
false
|
37
|
-
end
|
38
|
-
end
|
39
|
-
|
40
|
-
class FalseClass
|
41
|
-
# +false+ is not duplicable:
|
42
|
-
#
|
43
|
-
# false.duplicable? # => false
|
44
|
-
# false.dup # => TypeError: can't dup FalseClass
|
45
|
-
#
|
46
|
-
def duplicable?
|
47
|
-
false
|
48
|
-
end
|
49
|
-
end
|
50
|
-
|
51
|
-
class TrueClass
|
52
|
-
# +true+ is not duplicable:
|
53
|
-
#
|
54
|
-
# true.duplicable? # => false
|
55
|
-
# true.dup # => TypeError: can't dup TrueClass
|
56
|
-
#
|
57
|
-
def duplicable?
|
58
|
-
false
|
59
|
-
end
|
60
|
-
end
|
61
|
-
|
62
|
-
class Symbol
|
63
|
-
# Symbols are not duplicable:
|
64
|
-
#
|
65
|
-
# :my_symbol.duplicable? # => false
|
66
|
-
# :my_symbol.dup # => TypeError: can't dup Symbol
|
67
|
-
#
|
68
|
-
def duplicable?
|
69
|
-
false
|
70
|
-
end
|
71
|
-
end
|
72
|
-
|
73
|
-
class Numeric
|
74
|
-
# Numbers are not duplicable:
|
75
|
-
#
|
76
|
-
# 3.duplicable? # => false
|
77
|
-
# 3.dup # => TypeError: can't dup Fixnum
|
78
|
-
#
|
79
|
-
def duplicable?
|
80
|
-
false
|
81
|
-
end
|
82
|
-
end
|
83
|
-
|
84
|
-
class Class
|
85
|
-
# Classes are not duplicable:
|
86
|
-
#
|
87
|
-
# c = Class.new # => #<Class:0x10328fd80>
|
88
|
-
# c.dup # => #<Class:0x10328fd80>
|
89
|
-
#
|
90
|
-
# Note +dup+ returned the same class object.
|
91
|
-
def duplicable?
|
92
|
-
false
|
93
|
-
end
|
94
|
-
end
|
95
|
-
|
96
|
-
class Module
|
97
|
-
# Modules are not duplicable:
|
98
|
-
#
|
99
|
-
# m = Module.new # => #<Module:0x10328b6e0>
|
100
|
-
# m.dup # => #<Module:0x10328b6e0>
|
101
|
-
#
|
102
|
-
# Note +dup+ returned the same module object.
|
103
|
-
def duplicable?
|
104
|
-
false
|
105
|
-
end
|
106
|
-
end
|
107
|
-
|
108
|
-
require 'bigdecimal'
|
109
|
-
class BigDecimal
|
110
|
-
begin
|
111
|
-
BigDecimal.new('4.56').dup
|
112
|
-
|
113
|
-
def duplicable?
|
114
|
-
true
|
115
|
-
end
|
116
|
-
rescue TypeError
|
117
|
-
# can't dup, so use superclass implementation
|
118
|
-
end
|
119
|
-
end
|