nullifyable 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +8 -0
- data/.travis.yml +5 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/Gemfile +6 -0
- data/Gemfile.lock +52 -0
- data/LICENSE.txt +21 -0
- data/README.md +53 -0
- data/Rakefile +10 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/lib/nullifyable.rb +27 -0
- data/lib/nullifyable/version.rb +3 -0
- data/nullifyable.gemspec +31 -0
- data/vendor/bundle/bin/rake +27 -0
- data/vendor/bundle/cache/activemodel-5.2.2.gem +0 -0
- data/vendor/bundle/cache/activerecord-5.2.2.gem +0 -0
- data/vendor/bundle/cache/activesupport-5.2.2.gem +0 -0
- data/vendor/bundle/cache/ansi-1.5.0.gem +0 -0
- data/vendor/bundle/cache/arel-9.0.0.gem +0 -0
- data/vendor/bundle/cache/builder-3.2.3.gem +0 -0
- data/vendor/bundle/cache/concurrent-ruby-1.1.4.gem +0 -0
- data/vendor/bundle/cache/i18n-1.3.0.gem +0 -0
- data/vendor/bundle/cache/minitest-5.11.3.gem +0 -0
- data/vendor/bundle/cache/minitest-reporters-1.3.5.gem +0 -0
- data/vendor/bundle/cache/rake-10.5.0.gem +0 -0
- data/vendor/bundle/cache/ruby-progressbar-1.10.0.gem +0 -0
- data/vendor/bundle/cache/sqlite3-1.3.13.gem +0 -0
- data/vendor/bundle/cache/thread_safe-0.3.6.gem +0 -0
- data/vendor/bundle/cache/tzinfo-1.2.5.gem +0 -0
- data/vendor/bundle/extensions/x86_64-darwin-14/2.3.0-static/sqlite3-1.3.13/gem.build_complete +0 -0
- data/vendor/bundle/extensions/x86_64-darwin-14/2.3.0-static/sqlite3-1.3.13/gem_make.out +33 -0
- data/vendor/bundle/extensions/x86_64-darwin-14/2.3.0-static/sqlite3-1.3.13/mkmf.log +529 -0
- data/vendor/bundle/extensions/x86_64-darwin-14/2.3.0-static/sqlite3-1.3.13/sqlite3/sqlite3_native.bundle +0 -0
- data/vendor/bundle/gems/activemodel-5.2.2/CHANGELOG.md +84 -0
- data/vendor/bundle/gems/activemodel-5.2.2/MIT-LICENSE +21 -0
- data/vendor/bundle/gems/activemodel-5.2.2/README.rdoc +264 -0
- data/vendor/bundle/gems/activemodel-5.2.2/lib/active_model.rb +77 -0
- data/vendor/bundle/gems/activemodel-5.2.2/lib/active_model/attribute.rb +248 -0
- data/vendor/bundle/gems/activemodel-5.2.2/lib/active_model/attribute/user_provided_default.rb +52 -0
- data/vendor/bundle/gems/activemodel-5.2.2/lib/active_model/attribute_assignment.rb +57 -0
- data/vendor/bundle/gems/activemodel-5.2.2/lib/active_model/attribute_methods.rb +478 -0
- data/vendor/bundle/gems/activemodel-5.2.2/lib/active_model/attribute_mutation_tracker.rb +124 -0
- data/vendor/bundle/gems/activemodel-5.2.2/lib/active_model/attribute_set.rb +114 -0
- data/vendor/bundle/gems/activemodel-5.2.2/lib/active_model/attribute_set/builder.rb +126 -0
- data/vendor/bundle/gems/activemodel-5.2.2/lib/active_model/attribute_set/yaml_encoder.rb +41 -0
- data/vendor/bundle/gems/activemodel-5.2.2/lib/active_model/attributes.rb +111 -0
- data/vendor/bundle/gems/activemodel-5.2.2/lib/active_model/callbacks.rb +153 -0
- data/vendor/bundle/gems/activemodel-5.2.2/lib/active_model/conversion.rb +111 -0
- data/vendor/bundle/gems/activemodel-5.2.2/lib/active_model/dirty.rb +343 -0
- data/vendor/bundle/gems/activemodel-5.2.2/lib/active_model/errors.rb +517 -0
- data/vendor/bundle/gems/activemodel-5.2.2/lib/active_model/forbidden_attributes_protection.rb +31 -0
- data/vendor/bundle/gems/activemodel-5.2.2/lib/active_model/gem_version.rb +17 -0
- data/vendor/bundle/gems/activemodel-5.2.2/lib/active_model/lint.rb +118 -0
- data/vendor/bundle/gems/activemodel-5.2.2/lib/active_model/locale/en.yml +36 -0
- data/vendor/bundle/gems/activemodel-5.2.2/lib/active_model/model.rb +99 -0
- data/vendor/bundle/gems/activemodel-5.2.2/lib/active_model/naming.rb +318 -0
- data/vendor/bundle/gems/activemodel-5.2.2/lib/active_model/railtie.rb +14 -0
- data/vendor/bundle/gems/activemodel-5.2.2/lib/active_model/secure_password.rb +129 -0
- data/vendor/bundle/gems/activemodel-5.2.2/lib/active_model/serialization.rb +192 -0
- data/vendor/bundle/gems/activemodel-5.2.2/lib/active_model/serializers/json.rb +146 -0
- data/vendor/bundle/gems/activemodel-5.2.2/lib/active_model/translation.rb +70 -0
- data/vendor/bundle/gems/activemodel-5.2.2/lib/active_model/type.rb +53 -0
- data/vendor/bundle/gems/activemodel-5.2.2/lib/active_model/type/big_integer.rb +15 -0
- data/vendor/bundle/gems/activemodel-5.2.2/lib/active_model/type/binary.rb +52 -0
- data/vendor/bundle/gems/activemodel-5.2.2/lib/active_model/type/boolean.rb +38 -0
- data/vendor/bundle/gems/activemodel-5.2.2/lib/active_model/type/date.rb +56 -0
- data/vendor/bundle/gems/activemodel-5.2.2/lib/active_model/type/date_time.rb +50 -0
- data/vendor/bundle/gems/activemodel-5.2.2/lib/active_model/type/decimal.rb +70 -0
- data/vendor/bundle/gems/activemodel-5.2.2/lib/active_model/type/float.rb +36 -0
- data/vendor/bundle/gems/activemodel-5.2.2/lib/active_model/type/helpers.rb +6 -0
- data/vendor/bundle/gems/activemodel-5.2.2/lib/active_model/type/helpers/accepts_multiparameter_time.rb +41 -0
- data/vendor/bundle/gems/activemodel-5.2.2/lib/active_model/type/helpers/mutable.rb +20 -0
- data/vendor/bundle/gems/activemodel-5.2.2/lib/active_model/type/helpers/numeric.rb +37 -0
- data/vendor/bundle/gems/activemodel-5.2.2/lib/active_model/type/helpers/time_value.rb +80 -0
- data/vendor/bundle/gems/activemodel-5.2.2/lib/active_model/type/immutable_string.rb +32 -0
- data/vendor/bundle/gems/activemodel-5.2.2/lib/active_model/type/integer.rb +70 -0
- data/vendor/bundle/gems/activemodel-5.2.2/lib/active_model/type/registry.rb +70 -0
- data/vendor/bundle/gems/activemodel-5.2.2/lib/active_model/type/string.rb +26 -0
- data/vendor/bundle/gems/activemodel-5.2.2/lib/active_model/type/time.rb +46 -0
- data/vendor/bundle/gems/activemodel-5.2.2/lib/active_model/type/value.rb +126 -0
- data/vendor/bundle/gems/activemodel-5.2.2/lib/active_model/validations.rb +439 -0
- data/vendor/bundle/gems/activemodel-5.2.2/lib/active_model/validations/absence.rb +33 -0
- data/vendor/bundle/gems/activemodel-5.2.2/lib/active_model/validations/acceptance.rb +106 -0
- data/vendor/bundle/gems/activemodel-5.2.2/lib/active_model/validations/callbacks.rb +122 -0
- data/vendor/bundle/gems/activemodel-5.2.2/lib/active_model/validations/clusivity.rb +54 -0
- data/vendor/bundle/gems/activemodel-5.2.2/lib/active_model/validations/confirmation.rb +80 -0
- data/vendor/bundle/gems/activemodel-5.2.2/lib/active_model/validations/exclusion.rb +49 -0
- data/vendor/bundle/gems/activemodel-5.2.2/lib/active_model/validations/format.rb +114 -0
- data/vendor/bundle/gems/activemodel-5.2.2/lib/active_model/validations/helper_methods.rb +15 -0
- data/vendor/bundle/gems/activemodel-5.2.2/lib/active_model/validations/inclusion.rb +47 -0
- data/vendor/bundle/gems/activemodel-5.2.2/lib/active_model/validations/length.rb +129 -0
- data/vendor/bundle/gems/activemodel-5.2.2/lib/active_model/validations/numericality.rb +180 -0
- data/vendor/bundle/gems/activemodel-5.2.2/lib/active_model/validations/presence.rb +39 -0
- data/vendor/bundle/gems/activemodel-5.2.2/lib/active_model/validations/validates.rb +174 -0
- data/vendor/bundle/gems/activemodel-5.2.2/lib/active_model/validations/with.rb +147 -0
- data/vendor/bundle/gems/activemodel-5.2.2/lib/active_model/validator.rb +183 -0
- data/vendor/bundle/gems/activemodel-5.2.2/lib/active_model/version.rb +10 -0
- data/vendor/bundle/gems/activerecord-5.2.2/CHANGELOG.md +895 -0
- data/vendor/bundle/gems/activerecord-5.2.2/MIT-LICENSE +20 -0
- data/vendor/bundle/gems/activerecord-5.2.2/README.rdoc +217 -0
- data/vendor/bundle/gems/activerecord-5.2.2/examples/performance.rb +185 -0
- data/vendor/bundle/gems/activerecord-5.2.2/examples/simple.rb +15 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record.rb +188 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/aggregations.rb +283 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/association_relation.rb +40 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/associations.rb +1860 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/associations/alias_tracker.rb +81 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/associations/association.rb +299 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/associations/association_scope.rb +168 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/associations/belongs_to_association.rb +130 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/associations/belongs_to_polymorphic_association.rb +40 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/associations/builder/association.rb +140 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/associations/builder/belongs_to.rb +163 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/associations/builder/collection_association.rb +82 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/associations/builder/has_and_belongs_to_many.rb +135 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/associations/builder/has_many.rb +17 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/associations/builder/has_one.rb +30 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/associations/builder/singular_association.rb +42 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/associations/collection_association.rb +514 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/associations/collection_proxy.rb +1157 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/associations/foreign_association.rb +13 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/associations/has_many_association.rb +143 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/associations/has_many_through_association.rb +225 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/associations/has_one_association.rb +120 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/associations/has_one_through_association.rb +45 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/associations/join_dependency.rb +262 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/associations/join_dependency/join_association.rb +60 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/associations/join_dependency/join_base.rb +23 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/associations/join_dependency/join_part.rb +71 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/associations/preloader.rb +193 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/associations/preloader/association.rb +131 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/associations/preloader/through_association.rb +107 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/associations/singular_association.rb +73 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/associations/through_association.rb +121 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/attribute_assignment.rb +88 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/attribute_decorators.rb +90 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/attribute_methods.rb +492 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/attribute_methods/before_type_cast.rb +78 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/attribute_methods/dirty.rb +150 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/attribute_methods/primary_key.rb +143 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/attribute_methods/query.rb +42 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/attribute_methods/read.rb +85 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/attribute_methods/serialization.rb +90 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/attribute_methods/time_zone_conversion.rb +91 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/attribute_methods/write.rb +68 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/attributes.rb +266 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/autosave_association.rb +498 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/base.rb +329 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/callbacks.rb +353 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/coders/json.rb +15 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/coders/yaml_column.rb +50 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/collection_cache_key.rb +53 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/connection_adapters/abstract/connection_pool.rb +1064 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/connection_adapters/abstract/database_limits.rb +72 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/connection_adapters/abstract/database_statements.rb +532 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/connection_adapters/abstract/query_cache.rb +140 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/connection_adapters/abstract/quoting.rb +200 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/connection_adapters/abstract/savepoints.rb +23 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/connection_adapters/abstract/schema_creation.rb +146 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/connection_adapters/abstract/schema_definitions.rb +685 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/connection_adapters/abstract/schema_dumper.rb +95 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/connection_adapters/abstract/schema_statements.rb +1396 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/connection_adapters/abstract/transaction.rb +283 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/connection_adapters/abstract_adapter.rb +626 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/connection_adapters/abstract_mysql_adapter.rb +877 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/connection_adapters/column.rb +91 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/connection_adapters/connection_specification.rb +287 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/connection_adapters/determine_if_preparable_visitor.rb +33 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/connection_adapters/mysql/column.rb +27 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/connection_adapters/mysql/database_statements.rb +140 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/connection_adapters/mysql/explain_pretty_printer.rb +72 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/connection_adapters/mysql/quoting.rb +44 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/connection_adapters/mysql/schema_creation.rb +73 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/connection_adapters/mysql/schema_definitions.rb +87 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/connection_adapters/mysql/schema_dumper.rb +80 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/connection_adapters/mysql/schema_statements.rb +148 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/connection_adapters/mysql/type_metadata.rb +35 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/connection_adapters/mysql2_adapter.rb +129 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/connection_adapters/postgresql/column.rb +44 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/connection_adapters/postgresql/database_statements.rb +163 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/connection_adapters/postgresql/explain_pretty_printer.rb +44 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/connection_adapters/postgresql/oid.rb +34 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/connection_adapters/postgresql/oid/array.rb +92 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/connection_adapters/postgresql/oid/bit.rb +56 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/connection_adapters/postgresql/oid/bit_varying.rb +15 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/connection_adapters/postgresql/oid/bytea.rb +17 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/connection_adapters/postgresql/oid/cidr.rb +50 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/connection_adapters/postgresql/oid/date.rb +23 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/connection_adapters/postgresql/oid/date_time.rb +23 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/connection_adapters/postgresql/oid/decimal.rb +15 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/connection_adapters/postgresql/oid/enum.rb +21 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/connection_adapters/postgresql/oid/hstore.rb +71 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/connection_adapters/postgresql/oid/inet.rb +15 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/connection_adapters/postgresql/oid/jsonb.rb +15 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/connection_adapters/postgresql/oid/legacy_point.rb +45 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/connection_adapters/postgresql/oid/money.rb +41 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/connection_adapters/postgresql/oid/oid.rb +15 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/connection_adapters/postgresql/oid/point.rb +65 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/connection_adapters/postgresql/oid/range.rb +97 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/connection_adapters/postgresql/oid/specialized_string.rb +18 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/connection_adapters/postgresql/oid/type_map_initializer.rb +111 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/connection_adapters/postgresql/oid/uuid.rb +23 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/connection_adapters/postgresql/oid/vector.rb +28 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/connection_adapters/postgresql/oid/xml.rb +30 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/connection_adapters/postgresql/quoting.rb +168 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/connection_adapters/postgresql/referential_integrity.rb +43 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/connection_adapters/postgresql/schema_creation.rb +29 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/connection_adapters/postgresql/schema_definitions.rb +206 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/connection_adapters/postgresql/schema_dumper.rb +50 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/connection_adapters/postgresql/schema_statements.rb +792 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/connection_adapters/postgresql/type_metadata.rb +39 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/connection_adapters/postgresql/utils.rb +81 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/connection_adapters/postgresql_adapter.rb +863 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/connection_adapters/schema_cache.rb +118 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/connection_adapters/sql_type_metadata.rb +34 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/connection_adapters/sqlite3/explain_pretty_printer.rb +21 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/connection_adapters/sqlite3/quoting.rb +63 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/connection_adapters/sqlite3/schema_creation.rb +17 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/connection_adapters/sqlite3/schema_definitions.rb +19 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/connection_adapters/sqlite3/schema_dumper.rb +18 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/connection_adapters/sqlite3/schema_statements.rb +106 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/connection_adapters/sqlite3_adapter.rb +573 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/connection_adapters/statement_pool.rb +61 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/connection_handling.rb +145 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/core.rb +558 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/counter_cache.rb +218 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/define_callbacks.rb +22 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/dynamic_matchers.rb +122 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/enum.rb +244 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/errors.rb +374 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/explain.rb +50 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/explain_registry.rb +32 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/explain_subscriber.rb +34 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/fixture_set/file.rb +82 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/fixtures.rb +1065 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/gem_version.rb +17 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/inheritance.rb +283 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/integration.rb +155 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/internal_metadata.rb +45 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/legacy_yaml_adapter.rb +48 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/locale/en.yml +48 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/locking/optimistic.rb +198 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/locking/pessimistic.rb +89 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb +137 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/migration.rb +1378 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/migration/command_recorder.rb +240 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/migration/compatibility.rb +217 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/migration/join_table.rb +17 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/model_schema.rb +521 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/nested_attributes.rb +600 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/no_touching.rb +58 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/null_relation.rb +68 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/persistence.rb +761 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/query_cache.rb +45 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/querying.rb +71 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/railtie.rb +226 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/railties/console_sandbox.rb +7 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/railties/controller_runtime.rb +56 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/railties/databases.rake +377 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/readonly_attributes.rb +24 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/reflection.rb +1044 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/relation.rb +629 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/relation/batches.rb +287 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/relation/batches/batch_enumerator.rb +69 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/relation/calculations.rb +414 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/relation/delegation.rb +147 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/relation/finder_methods.rb +561 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/relation/from_clause.rb +26 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/relation/merger.rb +190 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/relation/predicate_builder.rb +147 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/relation/predicate_builder/array_handler.rb +48 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/relation/predicate_builder/association_query_value.rb +46 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/relation/predicate_builder/base_handler.rb +19 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/relation/predicate_builder/basic_object_handler.rb +20 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/relation/predicate_builder/polymorphic_array_value.rb +56 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/relation/predicate_builder/range_handler.rb +42 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/relation/predicate_builder/relation_handler.rb +19 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/relation/query_attribute.rb +43 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/relation/query_methods.rb +1208 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/relation/record_fetch_warning.rb +51 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/relation/spawn_methods.rb +77 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/relation/where_clause.rb +186 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/relation/where_clause_factory.rb +34 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/result.rb +149 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/runtime_registry.rb +24 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/sanitization.rb +222 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/schema.rb +70 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/schema_dumper.rb +255 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/schema_migration.rb +56 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/scoping.rb +106 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/scoping/default.rb +152 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/scoping/named.rb +213 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/secure_token.rb +40 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/serialization.rb +22 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/statement_cache.rb +121 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/store.rb +211 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/suppressor.rb +61 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/table_metadata.rb +82 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/tasks/database_tasks.rb +337 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/tasks/mysql_database_tasks.rb +115 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/tasks/postgresql_database_tasks.rb +143 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/tasks/sqlite_database_tasks.rb +83 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/timestamp.rb +153 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/touch_later.rb +64 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/transactions.rb +502 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/translation.rb +24 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/type.rb +79 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/type/adapter_specific_registry.rb +136 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/type/date.rb +9 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/type/date_time.rb +9 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/type/decimal_without_scale.rb +15 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/type/hash_lookup_type_map.rb +25 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/type/internal/timezone.rb +17 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/type/json.rb +30 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/type/serialized.rb +71 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/type/text.rb +11 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/type/time.rb +21 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/type/type_map.rb +62 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/type/unsigned_integer.rb +17 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/type_caster.rb +9 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/type_caster/connection.rb +33 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/type_caster/map.rb +23 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/validations.rb +93 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/validations/absence.rb +25 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/validations/associated.rb +60 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/validations/length.rb +26 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/validations/presence.rb +68 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/validations/uniqueness.rb +238 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/active_record/version.rb +10 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/rails/generators/active_record.rb +19 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/rails/generators/active_record/application_record/application_record_generator.rb +27 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/rails/generators/active_record/application_record/templates/application_record.rb.tt +5 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/rails/generators/active_record/migration.rb +35 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/rails/generators/active_record/migration/migration_generator.rb +78 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/rails/generators/active_record/migration/templates/create_table_migration.rb.tt +24 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/rails/generators/active_record/migration/templates/migration.rb.tt +46 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/rails/generators/active_record/model/model_generator.rb +48 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/rails/generators/active_record/model/templates/model.rb.tt +13 -0
- data/vendor/bundle/gems/activerecord-5.2.2/lib/rails/generators/active_record/model/templates/module.rb.tt +7 -0
- data/vendor/bundle/gems/activesupport-5.2.2/CHANGELOG.md +572 -0
- data/vendor/bundle/gems/activesupport-5.2.2/MIT-LICENSE +20 -0
- data/vendor/bundle/gems/activesupport-5.2.2/README.rdoc +39 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support.rb +95 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/all.rb +5 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/array_inquirer.rb +48 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/backtrace_cleaner.rb +105 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/benchmarkable.rb +51 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/builder.rb +8 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/cache.rb +808 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/cache/file_store.rb +196 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/cache/mem_cache_store.rb +207 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/cache/memory_store.rb +169 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/cache/null_store.rb +43 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/cache/redis_cache_store.rb +461 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/cache/strategy/local_cache.rb +194 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/cache/strategy/local_cache_middleware.rb +45 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/callbacks.rb +845 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/concern.rb +144 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/concurrency/load_interlock_aware_monitor.rb +17 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/concurrency/share_lock.rb +227 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/configurable.rb +150 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/core_ext.rb +5 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/core_ext/array.rb +9 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/core_ext/array/access.rb +92 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/core_ext/array/conversions.rb +213 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/core_ext/array/extract_options.rb +31 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/core_ext/array/grouping.rb +109 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/core_ext/array/inquiry.rb +19 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/core_ext/array/prepend_and_append.rb +9 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/core_ext/array/wrap.rb +48 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/core_ext/benchmark.rb +16 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/core_ext/big_decimal.rb +3 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/core_ext/big_decimal/conversions.rb +14 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/core_ext/class.rb +4 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/core_ext/class/attribute.rb +146 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/core_ext/class/attribute_accessors.rb +6 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/core_ext/class/subclasses.rb +54 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/core_ext/date.rb +7 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/core_ext/date/acts_like.rb +10 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/core_ext/date/blank.rb +14 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/core_ext/date/calculations.rb +145 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/core_ext/date/conversions.rb +96 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/core_ext/date/zones.rb +8 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/core_ext/date_and_time/calculations.rb +374 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/core_ext/date_and_time/compatibility.rb +16 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/core_ext/date_and_time/zones.rb +41 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/core_ext/date_time.rb +7 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/core_ext/date_time/acts_like.rb +16 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/core_ext/date_time/blank.rb +14 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/core_ext/date_time/calculations.rb +211 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/core_ext/date_time/compatibility.rb +18 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/core_ext/date_time/conversions.rb +107 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/core_ext/digest/uuid.rb +53 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/core_ext/enumerable.rb +164 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/core_ext/file.rb +3 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/core_ext/file/atomic.rb +70 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/core_ext/hash.rb +11 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/core_ext/hash/compact.rb +29 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/core_ext/hash/conversions.rb +263 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/core_ext/hash/deep_merge.rb +34 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/core_ext/hash/except.rb +24 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/core_ext/hash/indifferent_access.rb +24 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/core_ext/hash/keys.rb +172 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/core_ext/hash/reverse_merge.rb +25 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/core_ext/hash/slice.rb +48 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/core_ext/hash/transform_values.rb +32 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/core_ext/integer.rb +5 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/core_ext/integer/inflections.rb +31 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/core_ext/integer/multiple.rb +12 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/core_ext/integer/time.rb +22 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/core_ext/kernel.rb +6 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/core_ext/kernel/agnostics.rb +13 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/core_ext/kernel/concern.rb +14 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/core_ext/kernel/reporting.rb +45 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/core_ext/kernel/singleton_class.rb +8 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/core_ext/load_error.rb +9 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/core_ext/marshal.rb +24 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/core_ext/module.rb +14 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/core_ext/module/aliasing.rb +31 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/core_ext/module/anonymous.rb +30 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/core_ext/module/attr_internal.rb +38 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/core_ext/module/attribute_accessors.rb +215 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/core_ext/module/attribute_accessors_per_thread.rb +150 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/core_ext/module/concerning.rb +134 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/core_ext/module/delegation.rb +287 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/core_ext/module/deprecation.rb +25 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/core_ext/module/introspection.rb +62 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/core_ext/module/reachable.rb +11 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/core_ext/module/redefine_method.rb +49 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/core_ext/module/remove_method.rb +17 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/core_ext/name_error.rb +38 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/core_ext/numeric.rb +6 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/core_ext/numeric/bytes.rb +66 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/core_ext/numeric/conversions.rb +140 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/core_ext/numeric/inquiry.rb +28 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/core_ext/numeric/time.rb +66 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/core_ext/object.rb +16 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/core_ext/object/acts_like.rb +21 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/core_ext/object/blank.rb +156 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/core_ext/object/conversions.rb +6 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/core_ext/object/deep_dup.rb +55 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/core_ext/object/duplicable.rb +156 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/core_ext/object/inclusion.rb +29 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/core_ext/object/instance_variables.rb +30 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/core_ext/object/json.rb +227 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/core_ext/object/to_param.rb +3 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/core_ext/object/to_query.rb +89 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/core_ext/object/try.rb +148 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/core_ext/object/with_options.rb +82 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/core_ext/range.rb +7 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/core_ext/range/conversions.rb +39 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/core_ext/range/each.rb +25 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/core_ext/range/include_range.rb +25 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/core_ext/range/include_time_with_zone.rb +23 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/core_ext/range/overlaps.rb +10 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/core_ext/regexp.rb +11 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/core_ext/securerandom.rb +25 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/core_ext/string.rb +15 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/core_ext/string/access.rb +106 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/core_ext/string/behavior.rb +8 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/core_ext/string/conversions.rb +59 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/core_ext/string/exclude.rb +13 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/core_ext/string/filters.rb +104 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/core_ext/string/indent.rb +45 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/core_ext/string/inflections.rb +254 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/core_ext/string/inquiry.rb +15 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/core_ext/string/multibyte.rb +57 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/core_ext/string/output_safety.rb +258 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/core_ext/string/starts_ends_with.rb +6 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/core_ext/string/strip.rb +25 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/core_ext/string/zones.rb +16 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/core_ext/time.rb +7 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/core_ext/time/acts_like.rb +10 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/core_ext/time/calculations.rb +315 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/core_ext/time/compatibility.rb +16 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/core_ext/time/conversions.rb +72 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/core_ext/time/zones.rb +113 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/core_ext/uri.rb +24 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/current_attributes.rb +195 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/dependencies.rb +753 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/dependencies/autoload.rb +79 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/dependencies/interlock.rb +57 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/deprecation.rb +46 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/deprecation/behaviors.rb +109 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/deprecation/constant_accessor.rb +52 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/deprecation/instance_delegator.rb +39 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/deprecation/method_wrappers.rb +80 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/deprecation/proxy_wrappers.rb +154 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/deprecation/reporting.rb +114 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/descendants_tracker.rb +62 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/digest.rb +20 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/duration.rb +432 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/duration/iso8601_parser.rb +125 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/duration/iso8601_serializer.rb +55 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/encrypted_configuration.rb +49 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/encrypted_file.rb +99 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/evented_file_update_checker.rb +205 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/execution_wrapper.rb +128 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/executor.rb +8 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/file_update_checker.rb +163 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/gem_version.rb +17 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/gzip.rb +38 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/hash_with_indifferent_access.rb +382 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/i18n.rb +15 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/i18n_railtie.rb +118 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/inflections.rb +72 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/inflector.rb +9 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/inflector/inflections.rb +260 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/inflector/methods.rb +408 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/inflector/transliterate.rb +118 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/json.rb +4 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/json/decoding.rb +76 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/json/encoding.rb +130 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/key_generator.rb +73 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/lazy_load_hooks.rb +78 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/locale/en.yml +135 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/log_subscriber.rb +112 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/log_subscriber/test_helper.rb +106 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/logger.rb +108 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/logger_silence.rb +29 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/logger_thread_safe_level.rb +33 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/message_encryptor.rb +229 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/message_verifier.rb +205 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/messages/metadata.rb +71 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/messages/rotation_configuration.rb +22 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/messages/rotator.rb +56 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/multibyte.rb +23 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/multibyte/chars.rb +235 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/multibyte/unicode.rb +394 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/notifications.rb +216 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/notifications/fanout.rb +159 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/notifications/instrumenter.rb +93 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/number_helper.rb +371 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/number_helper/number_converter.rb +184 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/number_helper/number_to_currency_converter.rb +46 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/number_helper/number_to_delimited_converter.rb +29 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/number_helper/number_to_human_converter.rb +68 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/number_helper/number_to_human_size_converter.rb +59 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/number_helper/number_to_percentage_converter.rb +14 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/number_helper/number_to_phone_converter.rb +58 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/number_helper/number_to_rounded_converter.rb +54 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/number_helper/rounding_helper.rb +66 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/option_merger.rb +27 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/ordered_hash.rb +50 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/ordered_options.rb +85 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/per_thread_registry.rb +60 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/proxy_object.rb +15 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/rails.rb +35 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/railtie.rb +80 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/reloader.rb +131 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/rescuable.rb +174 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/security_utils.rb +31 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/string_inquirer.rb +34 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/subscriber.rb +130 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/tagged_logging.rb +79 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/test_case.rb +72 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/testing/assertions.rb +214 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/testing/autorun.rb +7 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/testing/constant_lookup.rb +51 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/testing/declarative.rb +28 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/testing/deprecation.rb +39 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/testing/file_fixtures.rb +36 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/testing/isolation.rb +110 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/testing/method_call_assertions.rb +43 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/testing/setup_and_teardown.rb +55 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/testing/stream.rb +44 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/testing/tagged_logging.rb +27 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/testing/time_helpers.rb +200 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/time.rb +20 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/time_with_zone.rb +551 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/values/time_zone.rb +565 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/values/unicode_tables.dat +0 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/version.rb +10 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/xml_mini.rb +209 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/xml_mini/jdom.rb +183 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/xml_mini/libxml.rb +80 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/xml_mini/libxmlsax.rb +83 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/xml_mini/nokogiri.rb +83 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/xml_mini/nokogirisax.rb +86 -0
- data/vendor/bundle/gems/activesupport-5.2.2/lib/active_support/xml_mini/rexml.rb +130 -0
- data/vendor/bundle/gems/ansi-1.5.0/.index +77 -0
- data/vendor/bundle/gems/ansi-1.5.0/.yardopts +8 -0
- data/vendor/bundle/gems/ansi-1.5.0/DEMO.md +451 -0
- data/vendor/bundle/gems/ansi-1.5.0/HISTORY.md +217 -0
- data/vendor/bundle/gems/ansi-1.5.0/LICENSE.txt +23 -0
- data/vendor/bundle/gems/ansi-1.5.0/NOTICE.md +170 -0
- data/vendor/bundle/gems/ansi-1.5.0/README.md +91 -0
- data/vendor/bundle/gems/ansi-1.5.0/demo/01_ansicode.md +65 -0
- data/vendor/bundle/gems/ansi-1.5.0/demo/02_core.md +11 -0
- data/vendor/bundle/gems/ansi-1.5.0/demo/03_logger.md +30 -0
- data/vendor/bundle/gems/ansi-1.5.0/demo/04_progressbar.md +62 -0
- data/vendor/bundle/gems/ansi-1.5.0/demo/05_mixin.md +37 -0
- data/vendor/bundle/gems/ansi-1.5.0/demo/06_string.md +56 -0
- data/vendor/bundle/gems/ansi-1.5.0/demo/07_columns.md +89 -0
- data/vendor/bundle/gems/ansi-1.5.0/demo/08_table.md +28 -0
- data/vendor/bundle/gems/ansi-1.5.0/demo/09_diff.md +47 -0
- data/vendor/bundle/gems/ansi-1.5.0/demo/10_bbcode.md +24 -0
- data/vendor/bundle/gems/ansi-1.5.0/demo/11_terminal.md +8 -0
- data/vendor/bundle/gems/ansi-1.5.0/demo/applique/ae.rb +1 -0
- data/vendor/bundle/gems/ansi-1.5.0/demo/applique/output.rb +5 -0
- data/vendor/bundle/gems/ansi-1.5.0/lib/ansi.rb +22 -0
- data/vendor/bundle/gems/ansi-1.5.0/lib/ansi.yml +77 -0
- data/vendor/bundle/gems/ansi-1.5.0/lib/ansi/bbcode.rb +334 -0
- data/vendor/bundle/gems/ansi-1.5.0/lib/ansi/chain.rb +50 -0
- data/vendor/bundle/gems/ansi-1.5.0/lib/ansi/chart.rb +100 -0
- data/vendor/bundle/gems/ansi-1.5.0/lib/ansi/code.rb +349 -0
- data/vendor/bundle/gems/ansi-1.5.0/lib/ansi/columns.rb +197 -0
- data/vendor/bundle/gems/ansi-1.5.0/lib/ansi/constants.rb +25 -0
- data/vendor/bundle/gems/ansi-1.5.0/lib/ansi/core.rb +30 -0
- data/vendor/bundle/gems/ansi-1.5.0/lib/ansi/diff.rb +215 -0
- data/vendor/bundle/gems/ansi-1.5.0/lib/ansi/hexdump.rb +122 -0
- data/vendor/bundle/gems/ansi-1.5.0/lib/ansi/logger.rb +211 -0
- data/vendor/bundle/gems/ansi-1.5.0/lib/ansi/mixin.rb +121 -0
- data/vendor/bundle/gems/ansi-1.5.0/lib/ansi/progressbar.rb +292 -0
- data/vendor/bundle/gems/ansi-1.5.0/lib/ansi/string.rb +254 -0
- data/vendor/bundle/gems/ansi-1.5.0/lib/ansi/table.rb +179 -0
- data/vendor/bundle/gems/ansi-1.5.0/lib/ansi/terminal.rb +44 -0
- data/vendor/bundle/gems/ansi-1.5.0/lib/ansi/terminal/curses.rb +26 -0
- data/vendor/bundle/gems/ansi-1.5.0/lib/ansi/terminal/stty.rb +62 -0
- data/vendor/bundle/gems/ansi-1.5.0/lib/ansi/terminal/termios.rb +68 -0
- data/vendor/bundle/gems/ansi-1.5.0/lib/ansi/terminal/win32.rb +107 -0
- data/vendor/bundle/gems/ansi-1.5.0/lib/ansi/version.rb +15 -0
- data/vendor/bundle/gems/ansi-1.5.0/test/case_ansicode.rb +43 -0
- data/vendor/bundle/gems/ansi-1.5.0/test/case_bbcode.rb +35 -0
- data/vendor/bundle/gems/ansi-1.5.0/test/case_mixin.rb +35 -0
- data/vendor/bundle/gems/ansi-1.5.0/test/case_progressbar.rb +21 -0
- data/vendor/bundle/gems/ansi-1.5.0/test/test_helper.rb +3 -0
- data/vendor/bundle/gems/arel-9.0.0/History.txt +332 -0
- data/vendor/bundle/gems/arel-9.0.0/MIT-LICENSE.txt +21 -0
- data/vendor/bundle/gems/arel-9.0.0/README.md +295 -0
- data/vendor/bundle/gems/arel-9.0.0/lib/arel.rb +38 -0
- data/vendor/bundle/gems/arel-9.0.0/lib/arel/alias_predication.rb +8 -0
- data/vendor/bundle/gems/arel-9.0.0/lib/arel/attributes.rb +21 -0
- data/vendor/bundle/gems/arel-9.0.0/lib/arel/attributes/attribute.rb +36 -0
- data/vendor/bundle/gems/arel-9.0.0/lib/arel/collectors/bind.rb +24 -0
- data/vendor/bundle/gems/arel-9.0.0/lib/arel/collectors/composite.rb +32 -0
- data/vendor/bundle/gems/arel-9.0.0/lib/arel/collectors/plain_string.rb +19 -0
- data/vendor/bundle/gems/arel-9.0.0/lib/arel/collectors/sql_string.rb +24 -0
- data/vendor/bundle/gems/arel-9.0.0/lib/arel/collectors/substitute_binds.rb +28 -0
- data/vendor/bundle/gems/arel-9.0.0/lib/arel/compatibility/wheres.rb +34 -0
- data/vendor/bundle/gems/arel-9.0.0/lib/arel/crud.rb +42 -0
- data/vendor/bundle/gems/arel-9.0.0/lib/arel/delete_manager.rb +24 -0
- data/vendor/bundle/gems/arel-9.0.0/lib/arel/errors.rb +8 -0
- data/vendor/bundle/gems/arel-9.0.0/lib/arel/expressions.rb +29 -0
- data/vendor/bundle/gems/arel-9.0.0/lib/arel/factory_methods.rb +44 -0
- data/vendor/bundle/gems/arel-9.0.0/lib/arel/insert_manager.rb +48 -0
- data/vendor/bundle/gems/arel-9.0.0/lib/arel/math.rb +44 -0
- data/vendor/bundle/gems/arel-9.0.0/lib/arel/nodes.rb +65 -0
- data/vendor/bundle/gems/arel-9.0.0/lib/arel/nodes/and.rb +31 -0
- data/vendor/bundle/gems/arel-9.0.0/lib/arel/nodes/ascending.rb +24 -0
- data/vendor/bundle/gems/arel-9.0.0/lib/arel/nodes/binary.rb +51 -0
- data/vendor/bundle/gems/arel-9.0.0/lib/arel/nodes/bind_param.rb +27 -0
- data/vendor/bundle/gems/arel-9.0.0/lib/arel/nodes/case.rb +58 -0
- data/vendor/bundle/gems/arel-9.0.0/lib/arel/nodes/casted.rb +45 -0
- data/vendor/bundle/gems/arel-9.0.0/lib/arel/nodes/count.rb +13 -0
- data/vendor/bundle/gems/arel-9.0.0/lib/arel/nodes/delete_statement.rb +22 -0
- data/vendor/bundle/gems/arel-9.0.0/lib/arel/nodes/descending.rb +24 -0
- data/vendor/bundle/gems/arel-9.0.0/lib/arel/nodes/equality.rb +10 -0
- data/vendor/bundle/gems/arel-9.0.0/lib/arel/nodes/extract.rb +26 -0
- data/vendor/bundle/gems/arel-9.0.0/lib/arel/nodes/false.rb +15 -0
- data/vendor/bundle/gems/arel-9.0.0/lib/arel/nodes/full_outer_join.rb +7 -0
- data/vendor/bundle/gems/arel-9.0.0/lib/arel/nodes/function.rb +46 -0
- data/vendor/bundle/gems/arel-9.0.0/lib/arel/nodes/grouping.rb +8 -0
- data/vendor/bundle/gems/arel-9.0.0/lib/arel/nodes/in.rb +7 -0
- data/vendor/bundle/gems/arel-9.0.0/lib/arel/nodes/infix_operation.rb +80 -0
- data/vendor/bundle/gems/arel-9.0.0/lib/arel/nodes/inner_join.rb +7 -0
- data/vendor/bundle/gems/arel-9.0.0/lib/arel/nodes/insert_statement.rb +36 -0
- data/vendor/bundle/gems/arel-9.0.0/lib/arel/nodes/join_source.rb +19 -0
- data/vendor/bundle/gems/arel-9.0.0/lib/arel/nodes/matches.rb +17 -0
- data/vendor/bundle/gems/arel-9.0.0/lib/arel/nodes/named_function.rb +22 -0
- data/vendor/bundle/gems/arel-9.0.0/lib/arel/nodes/node.rb +61 -0
- data/vendor/bundle/gems/arel-9.0.0/lib/arel/nodes/outer_join.rb +7 -0
- data/vendor/bundle/gems/arel-9.0.0/lib/arel/nodes/over.rb +16 -0
- data/vendor/bundle/gems/arel-9.0.0/lib/arel/nodes/regexp.rb +15 -0
- data/vendor/bundle/gems/arel-9.0.0/lib/arel/nodes/right_outer_join.rb +7 -0
- data/vendor/bundle/gems/arel-9.0.0/lib/arel/nodes/select_core.rb +64 -0
- data/vendor/bundle/gems/arel-9.0.0/lib/arel/nodes/select_statement.rb +40 -0
- data/vendor/bundle/gems/arel-9.0.0/lib/arel/nodes/sql_literal.rb +15 -0
- data/vendor/bundle/gems/arel-9.0.0/lib/arel/nodes/string_join.rb +10 -0
- data/vendor/bundle/gems/arel-9.0.0/lib/arel/nodes/table_alias.rb +26 -0
- data/vendor/bundle/gems/arel-9.0.0/lib/arel/nodes/terminal.rb +15 -0
- data/vendor/bundle/gems/arel-9.0.0/lib/arel/nodes/true.rb +15 -0
- data/vendor/bundle/gems/arel-9.0.0/lib/arel/nodes/unary.rb +43 -0
- data/vendor/bundle/gems/arel-9.0.0/lib/arel/nodes/unary_operation.rb +26 -0
- data/vendor/bundle/gems/arel-9.0.0/lib/arel/nodes/unqualified_column.rb +21 -0
- data/vendor/bundle/gems/arel-9.0.0/lib/arel/nodes/update_statement.rb +39 -0
- data/vendor/bundle/gems/arel-9.0.0/lib/arel/nodes/values.rb +15 -0
- data/vendor/bundle/gems/arel-9.0.0/lib/arel/nodes/values_list.rb +23 -0
- data/vendor/bundle/gems/arel-9.0.0/lib/arel/nodes/window.rb +125 -0
- data/vendor/bundle/gems/arel-9.0.0/lib/arel/nodes/with.rb +11 -0
- data/vendor/bundle/gems/arel-9.0.0/lib/arel/order_predications.rb +14 -0
- data/vendor/bundle/gems/arel-9.0.0/lib/arel/predications.rb +240 -0
- data/vendor/bundle/gems/arel-9.0.0/lib/arel/select_manager.rb +269 -0
- data/vendor/bundle/gems/arel-9.0.0/lib/arel/table.rb +110 -0
- data/vendor/bundle/gems/arel-9.0.0/lib/arel/tree_manager.rb +39 -0
- data/vendor/bundle/gems/arel-9.0.0/lib/arel/update_manager.rb +58 -0
- data/vendor/bundle/gems/arel-9.0.0/lib/arel/visitors.rb +19 -0
- data/vendor/bundle/gems/arel-9.0.0/lib/arel/visitors/depth_first.rb +198 -0
- data/vendor/bundle/gems/arel-9.0.0/lib/arel/visitors/dot.rb +291 -0
- data/vendor/bundle/gems/arel-9.0.0/lib/arel/visitors/ibm_db.rb +15 -0
- data/vendor/bundle/gems/arel-9.0.0/lib/arel/visitors/informix.rb +55 -0
- data/vendor/bundle/gems/arel-9.0.0/lib/arel/visitors/mssql.rb +124 -0
- data/vendor/bundle/gems/arel-9.0.0/lib/arel/visitors/mysql.rb +86 -0
- data/vendor/bundle/gems/arel-9.0.0/lib/arel/visitors/oracle.rb +153 -0
- data/vendor/bundle/gems/arel-9.0.0/lib/arel/visitors/oracle12.rb +60 -0
- data/vendor/bundle/gems/arel-9.0.0/lib/arel/visitors/postgresql.rb +85 -0
- data/vendor/bundle/gems/arel-9.0.0/lib/arel/visitors/reduce.rb +27 -0
- data/vendor/bundle/gems/arel-9.0.0/lib/arel/visitors/sqlite.rb +27 -0
- data/vendor/bundle/gems/arel-9.0.0/lib/arel/visitors/to_sql.rb +850 -0
- data/vendor/bundle/gems/arel-9.0.0/lib/arel/visitors/visitor.rb +43 -0
- data/vendor/bundle/gems/arel-9.0.0/lib/arel/visitors/where_sql.rb +22 -0
- data/vendor/bundle/gems/arel-9.0.0/lib/arel/window_predications.rb +10 -0
- data/vendor/bundle/gems/builder-3.2.3/CHANGES +107 -0
- data/vendor/bundle/gems/builder-3.2.3/MIT-LICENSE +20 -0
- data/vendor/bundle/gems/builder-3.2.3/README.md +258 -0
- data/vendor/bundle/gems/builder-3.2.3/Rakefile +195 -0
- data/vendor/bundle/gems/builder-3.2.3/doc/jamis.rb +591 -0
- data/vendor/bundle/gems/builder-3.2.3/doc/releases/builder-1.2.4.rdoc +31 -0
- data/vendor/bundle/gems/builder-3.2.3/doc/releases/builder-2.0.0.rdoc +46 -0
- data/vendor/bundle/gems/builder-3.2.3/doc/releases/builder-2.1.1.rdoc +58 -0
- data/vendor/bundle/gems/builder-3.2.3/lib/blankslate.rb +137 -0
- data/vendor/bundle/gems/builder-3.2.3/lib/builder.rb +13 -0
- data/vendor/bundle/gems/builder-3.2.3/lib/builder/blankslate.rb +23 -0
- data/vendor/bundle/gems/builder-3.2.3/lib/builder/version.rb +8 -0
- data/vendor/bundle/gems/builder-3.2.3/lib/builder/xchar.rb +197 -0
- data/vendor/bundle/gems/builder-3.2.3/lib/builder/xmlbase.rb +199 -0
- data/vendor/bundle/gems/builder-3.2.3/lib/builder/xmlevents.rb +63 -0
- data/vendor/bundle/gems/builder-3.2.3/lib/builder/xmlmarkup.rb +339 -0
- data/vendor/bundle/gems/builder-3.2.3/rakelib/publish.rake +20 -0
- data/vendor/bundle/gems/builder-3.2.3/rakelib/tags.rake +62 -0
- data/vendor/bundle/gems/builder-3.2.3/rakelib/testing.rake +7 -0
- data/vendor/bundle/gems/builder-3.2.3/test/helper.rb +12 -0
- data/vendor/bundle/gems/builder-3.2.3/test/performance.rb +41 -0
- data/vendor/bundle/gems/builder-3.2.3/test/preload.rb +39 -0
- data/vendor/bundle/gems/builder-3.2.3/test/test_blankslate.rb +213 -0
- data/vendor/bundle/gems/builder-3.2.3/test/test_eventbuilder.rb +150 -0
- data/vendor/bundle/gems/builder-3.2.3/test/test_markupbuilder.rb +611 -0
- data/vendor/bundle/gems/builder-3.2.3/test/test_method_caching.rb +62 -0
- data/vendor/bundle/gems/builder-3.2.3/test/test_namecollision.rb +39 -0
- data/vendor/bundle/gems/builder-3.2.3/test/test_xchar.rb +78 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/CHANGELOG.md +465 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/Gemfile +39 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/LICENSE.md +23 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/README.md +349 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/Rakefile +346 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/ext/concurrent-ruby/ConcurrentRubyService.java +17 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/ext/concurrent-ruby/com/concurrent_ruby/ext/AtomicReferenceLibrary.java +175 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/ext/concurrent-ruby/com/concurrent_ruby/ext/JRubyMapBackendLibrary.java +248 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/ext/concurrent-ruby/com/concurrent_ruby/ext/JavaAtomicBooleanLibrary.java +93 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/ext/concurrent-ruby/com/concurrent_ruby/ext/JavaAtomicFixnumLibrary.java +113 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/ext/concurrent-ruby/com/concurrent_ruby/ext/JavaSemaphoreLibrary.java +159 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/ext/concurrent-ruby/com/concurrent_ruby/ext/SynchronizationLibrary.java +306 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/ext/concurrent-ruby/com/concurrent_ruby/ext/jsr166e/ConcurrentHashMap.java +31 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/ext/concurrent-ruby/com/concurrent_ruby/ext/jsr166e/ConcurrentHashMapV8.java +3863 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/ext/concurrent-ruby/com/concurrent_ruby/ext/jsr166e/LongAdder.java +203 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/ext/concurrent-ruby/com/concurrent_ruby/ext/jsr166e/Striped64.java +342 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/ext/concurrent-ruby/com/concurrent_ruby/ext/jsr166e/nounsafe/ConcurrentHashMapV8.java +3800 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/ext/concurrent-ruby/com/concurrent_ruby/ext/jsr166e/nounsafe/LongAdder.java +204 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/ext/concurrent-ruby/com/concurrent_ruby/ext/jsr166e/nounsafe/Striped64.java +291 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/ext/concurrent-ruby/com/concurrent_ruby/ext/jsr166y/ThreadLocalRandom.java +199 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/lib/concurrent-ruby.rb +1 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/lib/concurrent.rb +134 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/lib/concurrent/agent.rb +587 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/lib/concurrent/array.rb +66 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/lib/concurrent/async.rb +445 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/lib/concurrent/atom.rb +222 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/lib/concurrent/atomic/abstract_thread_local_var.rb +66 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/lib/concurrent/atomic/atomic_boolean.rb +126 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/lib/concurrent/atomic/atomic_fixnum.rb +143 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/lib/concurrent/atomic/atomic_markable_reference.rb +164 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/lib/concurrent/atomic/atomic_reference.rb +204 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/lib/concurrent/atomic/count_down_latch.rb +100 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/lib/concurrent/atomic/cyclic_barrier.rb +128 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/lib/concurrent/atomic/event.rb +109 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/lib/concurrent/atomic/java_count_down_latch.rb +42 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/lib/concurrent/atomic/java_thread_local_var.rb +37 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/lib/concurrent/atomic/mutex_atomic_boolean.rb +62 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/lib/concurrent/atomic/mutex_atomic_fixnum.rb +75 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/lib/concurrent/atomic/mutex_count_down_latch.rb +44 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/lib/concurrent/atomic/mutex_semaphore.rb +115 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/lib/concurrent/atomic/read_write_lock.rb +254 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/lib/concurrent/atomic/reentrant_read_write_lock.rb +379 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/lib/concurrent/atomic/ruby_thread_local_var.rb +161 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/lib/concurrent/atomic/semaphore.rb +145 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/lib/concurrent/atomic/thread_local_var.rb +104 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/lib/concurrent/atomic_reference/mutex_atomic.rb +56 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/lib/concurrent/atomic_reference/numeric_cas_wrapper.rb +28 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/lib/concurrent/atomics.rb +10 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/lib/concurrent/collection/copy_on_notify_observer_set.rb +107 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/lib/concurrent/collection/copy_on_write_observer_set.rb +111 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/lib/concurrent/collection/java_non_concurrent_priority_queue.rb +84 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/lib/concurrent/collection/lock_free_stack.rb +158 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/lib/concurrent/collection/map/atomic_reference_map_backend.rb +927 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/lib/concurrent/collection/map/mri_map_backend.rb +66 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/lib/concurrent/collection/map/non_concurrent_map_backend.rb +140 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/lib/concurrent/collection/map/synchronized_map_backend.rb +82 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/lib/concurrent/collection/non_concurrent_priority_queue.rb +143 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/lib/concurrent/collection/ruby_non_concurrent_priority_queue.rb +150 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/lib/concurrent/concern/deprecation.rb +34 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/lib/concurrent/concern/dereferenceable.rb +73 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/lib/concurrent/concern/logging.rb +32 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/lib/concurrent/concern/obligation.rb +220 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/lib/concurrent/concern/observable.rb +110 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/lib/concurrent/concurrent_ruby.jar +0 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/lib/concurrent/configuration.rb +184 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/lib/concurrent/constants.rb +8 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/lib/concurrent/dataflow.rb +81 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/lib/concurrent/delay.rb +199 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/lib/concurrent/errors.rb +69 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/lib/concurrent/exchanger.rb +352 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/lib/concurrent/executor/abstract_executor_service.rb +134 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/lib/concurrent/executor/cached_thread_pool.rb +62 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/lib/concurrent/executor/executor_service.rb +185 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/lib/concurrent/executor/fixed_thread_pool.rb +206 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/lib/concurrent/executor/immediate_executor.rb +66 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/lib/concurrent/executor/indirect_immediate_executor.rb +44 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/lib/concurrent/executor/java_executor_service.rb +91 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/lib/concurrent/executor/java_single_thread_executor.rb +29 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/lib/concurrent/executor/java_thread_pool_executor.rb +123 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/lib/concurrent/executor/ruby_executor_service.rb +78 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/lib/concurrent/executor/ruby_single_thread_executor.rb +22 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/lib/concurrent/executor/ruby_thread_pool_executor.rb +362 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/lib/concurrent/executor/safe_task_executor.rb +35 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/lib/concurrent/executor/serial_executor_service.rb +34 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/lib/concurrent/executor/serialized_execution.rb +107 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/lib/concurrent/executor/serialized_execution_delegator.rb +28 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/lib/concurrent/executor/simple_executor_service.rb +100 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/lib/concurrent/executor/single_thread_executor.rb +56 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/lib/concurrent/executor/thread_pool_executor.rb +87 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/lib/concurrent/executor/timer_set.rb +175 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/lib/concurrent/executors.rb +20 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/lib/concurrent/future.rb +141 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/lib/concurrent/hash.rb +59 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/lib/concurrent/immutable_struct.rb +93 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/lib/concurrent/ivar.rb +207 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/lib/concurrent/map.rb +337 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/lib/concurrent/maybe.rb +229 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/lib/concurrent/mutable_struct.rb +229 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/lib/concurrent/mvar.rb +242 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/lib/concurrent/options.rb +42 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/lib/concurrent/promise.rb +579 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/lib/concurrent/promises.rb +1936 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/lib/concurrent/re_include.rb +58 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/lib/concurrent/scheduled_task.rb +318 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/lib/concurrent/set.rb +66 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/lib/concurrent/settable_struct.rb +129 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/lib/concurrent/synchronization.rb +30 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/lib/concurrent/synchronization/abstract_lockable_object.rb +98 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/lib/concurrent/synchronization/abstract_object.rb +24 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/lib/concurrent/synchronization/abstract_struct.rb +159 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/lib/concurrent/synchronization/condition.rb +58 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/lib/concurrent/synchronization/jruby_lockable_object.rb +13 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/lib/concurrent/synchronization/jruby_object.rb +44 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/lib/concurrent/synchronization/lock.rb +34 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/lib/concurrent/synchronization/lockable_object.rb +74 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/lib/concurrent/synchronization/mri_object.rb +43 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/lib/concurrent/synchronization/mutex_lockable_object.rb +76 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/lib/concurrent/synchronization/object.rb +157 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/lib/concurrent/synchronization/rbx_lockable_object.rb +65 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/lib/concurrent/synchronization/rbx_object.rb +48 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/lib/concurrent/synchronization/truffleruby_object.rb +46 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/lib/concurrent/synchronization/volatile.rb +36 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/lib/concurrent/thread_safe/synchronized_delegator.rb +50 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/lib/concurrent/thread_safe/util.rb +16 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/lib/concurrent/thread_safe/util/adder.rb +74 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/lib/concurrent/thread_safe/util/cheap_lockable.rb +118 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/lib/concurrent/thread_safe/util/data_structures.rb +63 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/lib/concurrent/thread_safe/util/power_of_two_tuple.rb +38 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/lib/concurrent/thread_safe/util/striped64.rb +246 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/lib/concurrent/thread_safe/util/volatile.rb +75 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/lib/concurrent/thread_safe/util/xor_shift_random.rb +50 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/lib/concurrent/timer_task.rb +334 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/lib/concurrent/tuple.rb +86 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/lib/concurrent/tvar.rb +258 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/lib/concurrent/utility/at_exit.rb +97 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/lib/concurrent/utility/engine.rb +56 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/lib/concurrent/utility/monotonic_time.rb +58 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/lib/concurrent/utility/native_extension_loader.rb +79 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/lib/concurrent/utility/native_integer.rb +53 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/lib/concurrent/utility/processor_counter.rb +158 -0
- data/vendor/bundle/gems/concurrent-ruby-1.1.4/lib/concurrent/version.rb +4 -0
- data/vendor/bundle/gems/i18n-1.3.0/MIT-LICENSE +20 -0
- data/vendor/bundle/gems/i18n-1.3.0/README.md +125 -0
- data/vendor/bundle/gems/i18n-1.3.0/lib/i18n.rb +383 -0
- data/vendor/bundle/gems/i18n-1.3.0/lib/i18n/backend.rb +21 -0
- data/vendor/bundle/gems/i18n-1.3.0/lib/i18n/backend/base.rb +269 -0
- data/vendor/bundle/gems/i18n-1.3.0/lib/i18n/backend/cache.rb +116 -0
- data/vendor/bundle/gems/i18n-1.3.0/lib/i18n/backend/cache_file.rb +36 -0
- data/vendor/bundle/gems/i18n-1.3.0/lib/i18n/backend/cascade.rb +56 -0
- data/vendor/bundle/gems/i18n-1.3.0/lib/i18n/backend/chain.rb +123 -0
- data/vendor/bundle/gems/i18n-1.3.0/lib/i18n/backend/fallbacks.rb +84 -0
- data/vendor/bundle/gems/i18n-1.3.0/lib/i18n/backend/flatten.rb +115 -0
- data/vendor/bundle/gems/i18n-1.3.0/lib/i18n/backend/gettext.rb +85 -0
- data/vendor/bundle/gems/i18n-1.3.0/lib/i18n/backend/interpolation_compiler.rb +123 -0
- data/vendor/bundle/gems/i18n-1.3.0/lib/i18n/backend/key_value.rb +206 -0
- data/vendor/bundle/gems/i18n-1.3.0/lib/i18n/backend/memoize.rb +48 -0
- data/vendor/bundle/gems/i18n-1.3.0/lib/i18n/backend/metadata.rb +71 -0
- data/vendor/bundle/gems/i18n-1.3.0/lib/i18n/backend/pluralization.rb +55 -0
- data/vendor/bundle/gems/i18n-1.3.0/lib/i18n/backend/simple.rb +106 -0
- data/vendor/bundle/gems/i18n-1.3.0/lib/i18n/backend/transliterator.rb +108 -0
- data/vendor/bundle/gems/i18n-1.3.0/lib/i18n/config.rb +165 -0
- data/vendor/bundle/gems/i18n-1.3.0/lib/i18n/core_ext/hash.rb +37 -0
- data/vendor/bundle/gems/i18n-1.3.0/lib/i18n/core_ext/string/interpolate.rb +9 -0
- data/vendor/bundle/gems/i18n-1.3.0/lib/i18n/exceptions.rb +97 -0
- data/vendor/bundle/gems/i18n-1.3.0/lib/i18n/gettext.rb +28 -0
- data/vendor/bundle/gems/i18n-1.3.0/lib/i18n/gettext/helpers.rb +75 -0
- data/vendor/bundle/gems/i18n-1.3.0/lib/i18n/gettext/po_parser.rb +329 -0
- data/vendor/bundle/gems/i18n-1.3.0/lib/i18n/interpolate/ruby.rb +39 -0
- data/vendor/bundle/gems/i18n-1.3.0/lib/i18n/locale.rb +8 -0
- data/vendor/bundle/gems/i18n-1.3.0/lib/i18n/locale/fallbacks.rb +96 -0
- data/vendor/bundle/gems/i18n-1.3.0/lib/i18n/locale/tag.rb +28 -0
- data/vendor/bundle/gems/i18n-1.3.0/lib/i18n/locale/tag/parents.rb +22 -0
- data/vendor/bundle/gems/i18n-1.3.0/lib/i18n/locale/tag/rfc4646.rb +74 -0
- data/vendor/bundle/gems/i18n-1.3.0/lib/i18n/locale/tag/simple.rb +39 -0
- data/vendor/bundle/gems/i18n-1.3.0/lib/i18n/middleware.rb +17 -0
- data/vendor/bundle/gems/i18n-1.3.0/lib/i18n/tests.rb +14 -0
- data/vendor/bundle/gems/i18n-1.3.0/lib/i18n/tests/basics.rb +60 -0
- data/vendor/bundle/gems/i18n-1.3.0/lib/i18n/tests/defaults.rb +52 -0
- data/vendor/bundle/gems/i18n-1.3.0/lib/i18n/tests/interpolation.rb +159 -0
- data/vendor/bundle/gems/i18n-1.3.0/lib/i18n/tests/link.rb +56 -0
- data/vendor/bundle/gems/i18n-1.3.0/lib/i18n/tests/localization.rb +19 -0
- data/vendor/bundle/gems/i18n-1.3.0/lib/i18n/tests/localization/date.rb +95 -0
- data/vendor/bundle/gems/i18n-1.3.0/lib/i18n/tests/localization/date_time.rb +82 -0
- data/vendor/bundle/gems/i18n-1.3.0/lib/i18n/tests/localization/procs.rb +116 -0
- data/vendor/bundle/gems/i18n-1.3.0/lib/i18n/tests/localization/time.rb +81 -0
- data/vendor/bundle/gems/i18n-1.3.0/lib/i18n/tests/lookup.rb +81 -0
- data/vendor/bundle/gems/i18n-1.3.0/lib/i18n/tests/pluralization.rb +35 -0
- data/vendor/bundle/gems/i18n-1.3.0/lib/i18n/tests/procs.rb +55 -0
- data/vendor/bundle/gems/i18n-1.3.0/lib/i18n/version.rb +5 -0
- data/vendor/bundle/gems/minitest-5.11.3/.autotest +34 -0
- data/vendor/bundle/gems/minitest-5.11.3/History.rdoc +1310 -0
- data/vendor/bundle/gems/minitest-5.11.3/Manifest.txt +26 -0
- data/vendor/bundle/gems/minitest-5.11.3/README.rdoc +746 -0
- data/vendor/bundle/gems/minitest-5.11.3/Rakefile +86 -0
- data/vendor/bundle/gems/minitest-5.11.3/design_rationale.rb +52 -0
- data/vendor/bundle/gems/minitest-5.11.3/lib/hoe/minitest.rb +32 -0
- data/vendor/bundle/gems/minitest-5.11.3/lib/minitest.rb +987 -0
- data/vendor/bundle/gems/minitest-5.11.3/lib/minitest/assertions.rb +693 -0
- data/vendor/bundle/gems/minitest-5.11.3/lib/minitest/autorun.rb +13 -0
- data/vendor/bundle/gems/minitest-5.11.3/lib/minitest/benchmark.rb +455 -0
- data/vendor/bundle/gems/minitest-5.11.3/lib/minitest/expectations.rb +284 -0
- data/vendor/bundle/gems/minitest-5.11.3/lib/minitest/hell.rb +11 -0
- data/vendor/bundle/gems/minitest-5.11.3/lib/minitest/mock.rb +240 -0
- data/vendor/bundle/gems/minitest-5.11.3/lib/minitest/parallel.rb +70 -0
- data/vendor/bundle/gems/minitest-5.11.3/lib/minitest/pride.rb +4 -0
- data/vendor/bundle/gems/minitest-5.11.3/lib/minitest/pride_plugin.rb +142 -0
- data/vendor/bundle/gems/minitest-5.11.3/lib/minitest/spec.rb +331 -0
- data/vendor/bundle/gems/minitest-5.11.3/lib/minitest/test.rb +220 -0
- data/vendor/bundle/gems/minitest-5.11.3/lib/minitest/unit.rb +45 -0
- data/vendor/bundle/gems/minitest-5.11.3/test/minitest/metametameta.rb +102 -0
- data/vendor/bundle/gems/minitest-5.11.3/test/minitest/test_minitest_benchmark.rb +137 -0
- data/vendor/bundle/gems/minitest-5.11.3/test/minitest/test_minitest_mock.rb +874 -0
- data/vendor/bundle/gems/minitest-5.11.3/test/minitest/test_minitest_reporter.rb +299 -0
- data/vendor/bundle/gems/minitest-5.11.3/test/minitest/test_minitest_spec.rb +987 -0
- data/vendor/bundle/gems/minitest-5.11.3/test/minitest/test_minitest_test.rb +2142 -0
- data/vendor/bundle/gems/minitest-reporters-1.3.5/.gitignore +27 -0
- data/vendor/bundle/gems/minitest-reporters-1.3.5/.rubocop.yml +77 -0
- data/vendor/bundle/gems/minitest-reporters-1.3.5/.ruby-gemset +1 -0
- data/vendor/bundle/gems/minitest-reporters-1.3.5/.travis.yml +13 -0
- data/vendor/bundle/gems/minitest-reporters-1.3.5/.yardopts +6 -0
- data/vendor/bundle/gems/minitest-reporters-1.3.5/CHANGELOG.md +88 -0
- data/vendor/bundle/gems/minitest-reporters-1.3.5/Gemfile +2 -0
- data/vendor/bundle/gems/minitest-reporters-1.3.5/LICENSE +20 -0
- data/vendor/bundle/gems/minitest-reporters-1.3.5/README.md +135 -0
- data/vendor/bundle/gems/minitest-reporters-1.3.5/Rakefile +70 -0
- data/vendor/bundle/gems/minitest-reporters-1.3.5/appveyor.yml +22 -0
- data/vendor/bundle/gems/minitest-reporters-1.3.5/assets/default-reporter.png +0 -0
- data/vendor/bundle/gems/minitest-reporters-1.3.5/assets/mean_time_reporter.png +0 -0
- data/vendor/bundle/gems/minitest-reporters-1.3.5/assets/progress-reporter.png +0 -0
- data/vendor/bundle/gems/minitest-reporters-1.3.5/assets/spec-reporter.png +0 -0
- data/vendor/bundle/gems/minitest-reporters-1.3.5/lib/minitest/extensible_backtrace_filter.rb +67 -0
- data/vendor/bundle/gems/minitest-reporters-1.3.5/lib/minitest/minitest_reporter_plugin.rb +76 -0
- data/vendor/bundle/gems/minitest-reporters-1.3.5/lib/minitest/old_activesupport_fix.rb +24 -0
- data/vendor/bundle/gems/minitest-reporters-1.3.5/lib/minitest/relative_position.rb +26 -0
- data/vendor/bundle/gems/minitest-reporters-1.3.5/lib/minitest/reporters.rb +91 -0
- data/vendor/bundle/gems/minitest-reporters-1.3.5/lib/minitest/reporters/ansi.rb +30 -0
- data/vendor/bundle/gems/minitest-reporters-1.3.5/lib/minitest/reporters/base_reporter.rb +134 -0
- data/vendor/bundle/gems/minitest-reporters-1.3.5/lib/minitest/reporters/default_reporter.rb +228 -0
- data/vendor/bundle/gems/minitest-reporters-1.3.5/lib/minitest/reporters/html_reporter.rb +224 -0
- data/vendor/bundle/gems/minitest-reporters-1.3.5/lib/minitest/reporters/junit_reporter.rb +164 -0
- data/vendor/bundle/gems/minitest-reporters-1.3.5/lib/minitest/reporters/mean_time_reporter.rb +388 -0
- data/vendor/bundle/gems/minitest-reporters-1.3.5/lib/minitest/reporters/progress_reporter.rb +96 -0
- data/vendor/bundle/gems/minitest-reporters-1.3.5/lib/minitest/reporters/ruby_mate_reporter.rb +54 -0
- data/vendor/bundle/gems/minitest-reporters-1.3.5/lib/minitest/reporters/rubymine_reporter.rb +116 -0
- data/vendor/bundle/gems/minitest-reporters-1.3.5/lib/minitest/reporters/spec_reporter.rb +61 -0
- data/vendor/bundle/gems/minitest-reporters-1.3.5/lib/minitest/reporters/version.rb +5 -0
- data/vendor/bundle/gems/minitest-reporters-1.3.5/lib/minitest/templates/index.html.erb +83 -0
- data/vendor/bundle/gems/minitest-reporters-1.3.5/minitest-reporters.gemspec +32 -0
- data/vendor/bundle/gems/minitest-reporters-1.3.5/test/fixtures/junit_filename_bug_example_test.rb +41 -0
- data/vendor/bundle/gems/minitest-reporters-1.3.5/test/fixtures/mean_time_test.rb +36 -0
- data/vendor/bundle/gems/minitest-reporters-1.3.5/test/fixtures/progress_detailed_skip_test.rb +8 -0
- data/vendor/bundle/gems/minitest-reporters-1.3.5/test/fixtures/progress_test.rb +8 -0
- data/vendor/bundle/gems/minitest-reporters-1.3.5/test/fixtures/sample_test.rb +15 -0
- data/vendor/bundle/gems/minitest-reporters-1.3.5/test/fixtures/spec_test.rb +18 -0
- data/vendor/bundle/gems/minitest-reporters-1.3.5/test/gallery/bad_test.rb +25 -0
- data/vendor/bundle/gems/minitest-reporters-1.3.5/test/gallery/good_test.rb +14 -0
- data/vendor/bundle/gems/minitest-reporters-1.3.5/test/integration/reporters/junit_reporter_test.rb +12 -0
- data/vendor/bundle/gems/minitest-reporters-1.3.5/test/integration/reporters/mean_time_reporter_test.rb +7 -0
- data/vendor/bundle/gems/minitest-reporters-1.3.5/test/integration/reporters/progress_reporter_test.rb +40 -0
- data/vendor/bundle/gems/minitest-reporters-1.3.5/test/test_helper.rb +22 -0
- data/vendor/bundle/gems/minitest-reporters-1.3.5/test/unit/minitest/extensible_backtrace_filter_test.rb +42 -0
- data/vendor/bundle/gems/minitest-reporters-1.3.5/test/unit/minitest/junit_reporter_test.rb +23 -0
- data/vendor/bundle/gems/minitest-reporters-1.3.5/test/unit/minitest/mean_time_reporter_unit_test.rb +149 -0
- data/vendor/bundle/gems/minitest-reporters-1.3.5/test/unit/minitest/minitest_reporter_plugin_test.rb +14 -0
- data/vendor/bundle/gems/minitest-reporters-1.3.5/test/unit/minitest/reporters_test.rb +65 -0
- data/vendor/bundle/gems/minitest-reporters-1.3.5/test/unit/minitest/spec_reporter_test.rb +62 -0
- data/vendor/bundle/gems/rake-10.5.0/.autotest +7 -0
- data/vendor/bundle/gems/rake-10.5.0/.rubocop.yml +27 -0
- data/vendor/bundle/gems/rake-10.5.0/.togglerc +7 -0
- data/vendor/bundle/gems/rake-10.5.0/CONTRIBUTING.rdoc +38 -0
- data/vendor/bundle/gems/rake-10.5.0/History.rdoc +659 -0
- data/vendor/bundle/gems/rake-10.5.0/MIT-LICENSE +21 -0
- data/vendor/bundle/gems/rake-10.5.0/Manifest.txt +166 -0
- data/vendor/bundle/gems/rake-10.5.0/README.rdoc +139 -0
- data/vendor/bundle/gems/rake-10.5.0/Rakefile +81 -0
- data/vendor/bundle/gems/rake-10.5.0/bin/rake +33 -0
- data/vendor/bundle/gems/rake-10.5.0/doc/command_line_usage.rdoc +158 -0
- data/vendor/bundle/gems/rake-10.5.0/doc/example/Rakefile1 +38 -0
- data/vendor/bundle/gems/rake-10.5.0/doc/example/Rakefile2 +35 -0
- data/vendor/bundle/gems/rake-10.5.0/doc/example/a.c +6 -0
- data/vendor/bundle/gems/rake-10.5.0/doc/example/b.c +6 -0
- data/vendor/bundle/gems/rake-10.5.0/doc/example/main.c +11 -0
- data/vendor/bundle/gems/rake-10.5.0/doc/glossary.rdoc +42 -0
- data/vendor/bundle/gems/rake-10.5.0/doc/jamis.rb +591 -0
- data/vendor/bundle/gems/rake-10.5.0/doc/proto_rake.rdoc +127 -0
- data/vendor/bundle/gems/rake-10.5.0/doc/rake.1 +141 -0
- data/vendor/bundle/gems/rake-10.5.0/doc/rakefile.rdoc +624 -0
- data/vendor/bundle/gems/rake-10.5.0/doc/rational.rdoc +151 -0
- data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-0.4.14.rdoc +23 -0
- data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-0.4.15.rdoc +35 -0
- data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-0.5.0.rdoc +53 -0
- data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-0.5.3.rdoc +78 -0
- data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-0.5.4.rdoc +46 -0
- data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-0.6.0.rdoc +141 -0
- data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-0.7.0.rdoc +119 -0
- data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-0.7.1.rdoc +59 -0
- data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-0.7.2.rdoc +121 -0
- data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-0.7.3.rdoc +47 -0
- data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-0.8.0.rdoc +114 -0
- data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-0.8.2.rdoc +165 -0
- data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-0.8.3.rdoc +112 -0
- data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-0.8.4.rdoc +147 -0
- data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-0.8.5.rdoc +53 -0
- data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-0.8.6.rdoc +37 -0
- data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-0.8.7.rdoc +55 -0
- data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-0.9.0.rdoc +112 -0
- data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-0.9.1.rdoc +52 -0
- data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-0.9.2.2.rdoc +55 -0
- data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-0.9.2.rdoc +49 -0
- data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-0.9.3.rdoc +102 -0
- data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-0.9.4.rdoc +60 -0
- data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-0.9.5.rdoc +55 -0
- data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-0.9.6.rdoc +64 -0
- data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-10.0.0.rdoc +178 -0
- data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-10.0.1.rdoc +58 -0
- data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-10.0.2.rdoc +53 -0
- data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-10.0.3.rdoc +191 -0
- data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-10.1.0.rdoc +61 -0
- data/vendor/bundle/gems/rake-10.5.0/lib/rake.rb +79 -0
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/alt_system.rb +110 -0
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/application.rb +790 -0
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/backtrace.rb +23 -0
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/clean.rb +76 -0
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/cloneable.rb +16 -0
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/contrib/.document +1 -0
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/contrib/compositepublisher.rb +21 -0
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/contrib/ftptools.rb +137 -0
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/contrib/publisher.rb +81 -0
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/contrib/rubyforgepublisher.rb +18 -0
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/contrib/sshpublisher.rb +61 -0
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/contrib/sys.rb +4 -0
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/cpu_counter.rb +125 -0
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/default_loader.rb +14 -0
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/dsl_definition.rb +201 -0
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/early_time.rb +21 -0
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/ext/core.rb +25 -0
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/ext/module.rb +2 -0
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/ext/pathname.rb +25 -0
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/ext/string.rb +175 -0
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/ext/time.rb +18 -0
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/file_creation_task.rb +24 -0
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/file_list.rb +428 -0
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/file_task.rb +46 -0
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/file_utils.rb +128 -0
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/file_utils_ext.rb +144 -0
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/gempackagetask.rb +4 -0
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/invocation_chain.rb +56 -0
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/invocation_exception_mixin.rb +16 -0
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/late_time.rb +17 -0
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/linked_list.rb +103 -0
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/loaders/makefile.rb +53 -0
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/multi_task.rb +13 -0
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/name_space.rb +38 -0
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/packagetask.rb +199 -0
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/pathmap.rb +3 -0
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/phony.rb +15 -0
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/private_reader.rb +20 -0
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/promise.rb +99 -0
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/pseudo_status.rb +29 -0
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/rake_module.rb +38 -0
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/rake_test_loader.rb +22 -0
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/rdoctask.rb +4 -0
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/ruby182_test_unit_fix.rb +29 -0
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/rule_recursion_overflow_error.rb +20 -0
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/runtest.rb +27 -0
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/scope.rb +42 -0
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/task.rb +383 -0
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/task_argument_error.rb +7 -0
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/task_arguments.rb +98 -0
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/task_manager.rb +307 -0
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/tasklib.rb +24 -0
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/testtask.rb +213 -0
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/thread_history_display.rb +48 -0
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/thread_pool.rb +164 -0
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/trace_output.rb +22 -0
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/version.rb +7 -0
- data/vendor/bundle/gems/rake-10.5.0/lib/rake/win32.rb +56 -0
- data/vendor/bundle/gems/rake-10.5.0/rakelib/publish.rake +20 -0
- data/vendor/bundle/gems/rake-10.5.0/rakelib/test_times.rake +25 -0
- data/vendor/bundle/gems/rake-10.5.0/test/file_creation.rb +34 -0
- data/vendor/bundle/gems/rake-10.5.0/test/helper.rb +129 -0
- data/vendor/bundle/gems/rake-10.5.0/test/support/rakefile_definitions.rb +478 -0
- data/vendor/bundle/gems/rake-10.5.0/test/support/ruby_runner.rb +34 -0
- data/vendor/bundle/gems/rake-10.5.0/test/test_private_reader.rb +42 -0
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake.rb +40 -0
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake_application.rb +643 -0
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake_application_options.rb +468 -0
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake_backtrace.rb +119 -0
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake_clean.rb +61 -0
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake_cpu_counter.rb +68 -0
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake_definitions.rb +84 -0
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake_directory_task.rb +76 -0
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake_dsl.rb +40 -0
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake_early_time.rb +31 -0
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake_extension.rb +59 -0
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake_file_creation_task.rb +56 -0
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake_file_list.rb +670 -0
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake_file_list_path_map.rb +8 -0
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake_file_task.rb +197 -0
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake_file_utils.rb +314 -0
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake_ftp_file.rb +74 -0
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake_functional.rb +482 -0
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake_invocation_chain.rb +64 -0
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake_late_time.rb +18 -0
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake_linked_list.rb +84 -0
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake_makefile_loader.rb +46 -0
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake_multi_task.rb +64 -0
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake_name_space.rb +57 -0
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake_package_task.rb +79 -0
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake_path_map.rb +168 -0
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake_path_map_explode.rb +34 -0
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake_path_map_partial.rb +18 -0
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake_pathname_extensions.rb +15 -0
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake_pseudo_status.rb +21 -0
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake_rake_test_loader.rb +20 -0
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake_reduce_compat.rb +26 -0
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake_require.rb +40 -0
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake_rules.rb +388 -0
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake_scope.rb +44 -0
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake_task.rb +393 -0
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake_task_argument_parsing.rb +119 -0
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake_task_arguments.rb +127 -0
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake_task_lib.rb +9 -0
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake_task_manager.rb +178 -0
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake_task_manager_argument_resolution.rb +19 -0
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake_task_with_arguments.rb +172 -0
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake_test_task.rb +146 -0
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake_thread_pool.rb +145 -0
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake_top_level_functions.rb +71 -0
- data/vendor/bundle/gems/rake-10.5.0/test/test_rake_win32.rb +72 -0
- data/vendor/bundle/gems/rake-10.5.0/test/test_thread_history_display.rb +101 -0
- data/vendor/bundle/gems/rake-10.5.0/test/test_trace_output.rb +52 -0
- data/vendor/bundle/gems/ruby-progressbar-1.10.0/LICENSE.txt +19 -0
- data/vendor/bundle/gems/ruby-progressbar-1.10.0/README.md +38 -0
- data/vendor/bundle/gems/ruby-progressbar-1.10.0/Rakefile +2 -0
- data/vendor/bundle/gems/ruby-progressbar-1.10.0/lib/ruby-progressbar.rb +18 -0
- data/vendor/bundle/gems/ruby-progressbar-1.10.0/lib/ruby-progressbar/base.rb +183 -0
- data/vendor/bundle/gems/ruby-progressbar-1.10.0/lib/ruby-progressbar/calculators/length.rb +100 -0
- data/vendor/bundle/gems/ruby-progressbar-1.10.0/lib/ruby-progressbar/calculators/running_average.rb +9 -0
- data/vendor/bundle/gems/ruby-progressbar-1.10.0/lib/ruby-progressbar/components.rb +5 -0
- data/vendor/bundle/gems/ruby-progressbar-1.10.0/lib/ruby-progressbar/components/bar.rb +102 -0
- data/vendor/bundle/gems/ruby-progressbar-1.10.0/lib/ruby-progressbar/components/percentage.rb +29 -0
- data/vendor/bundle/gems/ruby-progressbar-1.10.0/lib/ruby-progressbar/components/rate.rb +43 -0
- data/vendor/bundle/gems/ruby-progressbar-1.10.0/lib/ruby-progressbar/components/time.rb +107 -0
- data/vendor/bundle/gems/ruby-progressbar-1.10.0/lib/ruby-progressbar/components/title.rb +13 -0
- data/vendor/bundle/gems/ruby-progressbar-1.10.0/lib/ruby-progressbar/errors/invalid_progress_error.rb +4 -0
- data/vendor/bundle/gems/ruby-progressbar-1.10.0/lib/ruby-progressbar/format.rb +3 -0
- data/vendor/bundle/gems/ruby-progressbar-1.10.0/lib/ruby-progressbar/format/formatter.rb +27 -0
- data/vendor/bundle/gems/ruby-progressbar-1.10.0/lib/ruby-progressbar/format/molecule.rb +60 -0
- data/vendor/bundle/gems/ruby-progressbar-1.10.0/lib/ruby-progressbar/format/string.rb +36 -0
- data/vendor/bundle/gems/ruby-progressbar-1.10.0/lib/ruby-progressbar/output.rb +68 -0
- data/vendor/bundle/gems/ruby-progressbar-1.10.0/lib/ruby-progressbar/outputs/non_tty.rb +47 -0
- data/vendor/bundle/gems/ruby-progressbar-1.10.0/lib/ruby-progressbar/outputs/null.rb +33 -0
- data/vendor/bundle/gems/ruby-progressbar-1.10.0/lib/ruby-progressbar/outputs/tty.rb +32 -0
- data/vendor/bundle/gems/ruby-progressbar-1.10.0/lib/ruby-progressbar/progress.rb +118 -0
- data/vendor/bundle/gems/ruby-progressbar-1.10.0/lib/ruby-progressbar/refinements.rb +1 -0
- data/vendor/bundle/gems/ruby-progressbar-1.10.0/lib/ruby-progressbar/refinements/enumerator.rb +23 -0
- data/vendor/bundle/gems/ruby-progressbar-1.10.0/lib/ruby-progressbar/throttle.rb +25 -0
- data/vendor/bundle/gems/ruby-progressbar-1.10.0/lib/ruby-progressbar/time.rb +32 -0
- data/vendor/bundle/gems/ruby-progressbar-1.10.0/lib/ruby-progressbar/timer.rb +72 -0
- data/vendor/bundle/gems/ruby-progressbar-1.10.0/lib/ruby-progressbar/version.rb +3 -0
- data/vendor/bundle/gems/sqlite3-1.3.13/API_CHANGES.rdoc +50 -0
- data/vendor/bundle/gems/sqlite3-1.3.13/CHANGELOG.rdoc +292 -0
- data/vendor/bundle/gems/sqlite3-1.3.13/ChangeLog.cvs +88 -0
- data/vendor/bundle/gems/sqlite3-1.3.13/Gemfile +15 -0
- data/vendor/bundle/gems/sqlite3-1.3.13/LICENSE +27 -0
- data/vendor/bundle/gems/sqlite3-1.3.13/Manifest.txt +52 -0
- data/vendor/bundle/gems/sqlite3-1.3.13/README.rdoc +118 -0
- data/vendor/bundle/gems/sqlite3-1.3.13/Rakefile +10 -0
- data/vendor/bundle/gems/sqlite3-1.3.13/ext/sqlite3/.RUBYARCHDIR.-.sqlite3.time +0 -0
- data/vendor/bundle/gems/sqlite3-1.3.13/ext/sqlite3/Makefile +261 -0
- data/vendor/bundle/gems/sqlite3-1.3.13/ext/sqlite3/backup.c +168 -0
- data/vendor/bundle/gems/sqlite3-1.3.13/ext/sqlite3/backup.h +15 -0
- data/vendor/bundle/gems/sqlite3-1.3.13/ext/sqlite3/backup.o +0 -0
- data/vendor/bundle/gems/sqlite3-1.3.13/ext/sqlite3/database.c +888 -0
- data/vendor/bundle/gems/sqlite3-1.3.13/ext/sqlite3/database.h +15 -0
- data/vendor/bundle/gems/sqlite3-1.3.13/ext/sqlite3/database.o +0 -0
- data/vendor/bundle/gems/sqlite3-1.3.13/ext/sqlite3/exception.c +94 -0
- data/vendor/bundle/gems/sqlite3-1.3.13/ext/sqlite3/exception.h +8 -0
- data/vendor/bundle/gems/sqlite3-1.3.13/ext/sqlite3/exception.o +0 -0
- data/vendor/bundle/gems/sqlite3-1.3.13/ext/sqlite3/extconf.rb +71 -0
- data/vendor/bundle/gems/sqlite3-1.3.13/ext/sqlite3/sqlite3.c +152 -0
- data/vendor/bundle/gems/sqlite3-1.3.13/ext/sqlite3/sqlite3.o +0 -0
- data/vendor/bundle/gems/sqlite3-1.3.13/ext/sqlite3/sqlite3_native.bundle +0 -0
- data/vendor/bundle/gems/sqlite3-1.3.13/ext/sqlite3/sqlite3_ruby.h +52 -0
- data/vendor/bundle/gems/sqlite3-1.3.13/ext/sqlite3/statement.c +447 -0
- data/vendor/bundle/gems/sqlite3-1.3.13/ext/sqlite3/statement.h +16 -0
- data/vendor/bundle/gems/sqlite3-1.3.13/ext/sqlite3/statement.o +0 -0
- data/vendor/bundle/gems/sqlite3-1.3.13/faq/faq.rb +145 -0
- data/vendor/bundle/gems/sqlite3-1.3.13/faq/faq.yml +426 -0
- data/vendor/bundle/gems/sqlite3-1.3.13/lib/sqlite3.rb +15 -0
- data/vendor/bundle/gems/sqlite3-1.3.13/lib/sqlite3/constants.rb +49 -0
- data/vendor/bundle/gems/sqlite3-1.3.13/lib/sqlite3/database.rb +591 -0
- data/vendor/bundle/gems/sqlite3-1.3.13/lib/sqlite3/errors.rb +44 -0
- data/vendor/bundle/gems/sqlite3-1.3.13/lib/sqlite3/pragmas.rb +588 -0
- data/vendor/bundle/gems/sqlite3-1.3.13/lib/sqlite3/resultset.rb +195 -0
- data/vendor/bundle/gems/sqlite3-1.3.13/lib/sqlite3/sqlite3_native.bundle +0 -0
- data/vendor/bundle/gems/sqlite3-1.3.13/lib/sqlite3/statement.rb +144 -0
- data/vendor/bundle/gems/sqlite3-1.3.13/lib/sqlite3/translator.rb +118 -0
- data/vendor/bundle/gems/sqlite3-1.3.13/lib/sqlite3/value.rb +57 -0
- data/vendor/bundle/gems/sqlite3-1.3.13/lib/sqlite3/version.rb +25 -0
- data/vendor/bundle/gems/sqlite3-1.3.13/setup.rb +1333 -0
- data/vendor/bundle/gems/sqlite3-1.3.13/tasks/faq.rake +9 -0
- data/vendor/bundle/gems/sqlite3-1.3.13/tasks/gem.rake +38 -0
- data/vendor/bundle/gems/sqlite3-1.3.13/tasks/native.rake +52 -0
- data/vendor/bundle/gems/sqlite3-1.3.13/tasks/vendor_sqlite3.rake +97 -0
- data/vendor/bundle/gems/sqlite3-1.3.13/test/helper.rb +18 -0
- data/vendor/bundle/gems/sqlite3-1.3.13/test/test_backup.rb +33 -0
- data/vendor/bundle/gems/sqlite3-1.3.13/test/test_collation.rb +82 -0
- data/vendor/bundle/gems/sqlite3-1.3.13/test/test_database.rb +430 -0
- data/vendor/bundle/gems/sqlite3-1.3.13/test/test_database_readonly.rb +36 -0
- data/vendor/bundle/gems/sqlite3-1.3.13/test/test_deprecated.rb +44 -0
- data/vendor/bundle/gems/sqlite3-1.3.13/test/test_encoding.rb +155 -0
- data/vendor/bundle/gems/sqlite3-1.3.13/test/test_integration.rb +576 -0
- data/vendor/bundle/gems/sqlite3-1.3.13/test/test_integration_open_close.rb +30 -0
- data/vendor/bundle/gems/sqlite3-1.3.13/test/test_integration_pending.rb +115 -0
- data/vendor/bundle/gems/sqlite3-1.3.13/test/test_integration_resultset.rb +159 -0
- data/vendor/bundle/gems/sqlite3-1.3.13/test/test_integration_statement.rb +194 -0
- data/vendor/bundle/gems/sqlite3-1.3.13/test/test_result_set.rb +37 -0
- data/vendor/bundle/gems/sqlite3-1.3.13/test/test_sqlite3.rb +21 -0
- data/vendor/bundle/gems/sqlite3-1.3.13/test/test_statement.rb +260 -0
- data/vendor/bundle/gems/sqlite3-1.3.13/test/test_statement_execute.rb +35 -0
- data/vendor/bundle/gems/thread_safe-0.3.6/.rspec +2 -0
- data/vendor/bundle/gems/thread_safe-0.3.6/.travis.yml +46 -0
- data/vendor/bundle/gems/thread_safe-0.3.6/.yardopts +13 -0
- data/vendor/bundle/gems/thread_safe-0.3.6/Gemfile +20 -0
- data/vendor/bundle/gems/thread_safe-0.3.6/LICENSE +144 -0
- data/vendor/bundle/gems/thread_safe-0.3.6/README.md +60 -0
- data/vendor/bundle/gems/thread_safe-0.3.6/Rakefile +62 -0
- data/vendor/bundle/gems/thread_safe-0.3.6/examples/bench_cache.rb +35 -0
- data/vendor/bundle/gems/thread_safe-0.3.6/ext/org/jruby/ext/thread_safe/JRubyCacheBackendLibrary.java +245 -0
- data/vendor/bundle/gems/thread_safe-0.3.6/ext/org/jruby/ext/thread_safe/jsr166e/ConcurrentHashMap.java +31 -0
- data/vendor/bundle/gems/thread_safe-0.3.6/ext/org/jruby/ext/thread_safe/jsr166e/ConcurrentHashMapV8.java +3863 -0
- data/vendor/bundle/gems/thread_safe-0.3.6/ext/org/jruby/ext/thread_safe/jsr166e/LongAdder.java +203 -0
- data/vendor/bundle/gems/thread_safe-0.3.6/ext/org/jruby/ext/thread_safe/jsr166e/Striped64.java +342 -0
- data/vendor/bundle/gems/thread_safe-0.3.6/ext/org/jruby/ext/thread_safe/jsr166e/nounsafe/ConcurrentHashMapV8.java +3800 -0
- data/vendor/bundle/gems/thread_safe-0.3.6/ext/org/jruby/ext/thread_safe/jsr166e/nounsafe/LongAdder.java +204 -0
- data/vendor/bundle/gems/thread_safe-0.3.6/ext/org/jruby/ext/thread_safe/jsr166e/nounsafe/Striped64.java +291 -0
- data/vendor/bundle/gems/thread_safe-0.3.6/ext/org/jruby/ext/thread_safe/jsr166y/ThreadLocalRandom.java +199 -0
- data/vendor/bundle/gems/thread_safe-0.3.6/ext/thread_safe/JrubyCacheBackendService.java +15 -0
- data/vendor/bundle/gems/thread_safe-0.3.6/lib/thread_safe.rb +65 -0
- data/vendor/bundle/gems/thread_safe-0.3.6/lib/thread_safe/atomic_reference_cache_backend.rb +908 -0
- data/vendor/bundle/gems/thread_safe-0.3.6/lib/thread_safe/cache.rb +161 -0
- data/vendor/bundle/gems/thread_safe-0.3.6/lib/thread_safe/mri_cache_backend.rb +60 -0
- data/vendor/bundle/gems/thread_safe-0.3.6/lib/thread_safe/non_concurrent_cache_backend.rb +135 -0
- data/vendor/bundle/gems/thread_safe-0.3.6/lib/thread_safe/synchronized_cache_backend.rb +77 -0
- data/vendor/bundle/gems/thread_safe-0.3.6/lib/thread_safe/synchronized_delegator.rb +43 -0
- data/vendor/bundle/gems/thread_safe-0.3.6/lib/thread_safe/util.rb +16 -0
- data/vendor/bundle/gems/thread_safe-0.3.6/lib/thread_safe/util/adder.rb +62 -0
- data/vendor/bundle/gems/thread_safe-0.3.6/lib/thread_safe/util/atomic_reference.rb +44 -0
- data/vendor/bundle/gems/thread_safe-0.3.6/lib/thread_safe/util/cheap_lockable.rb +106 -0
- data/vendor/bundle/gems/thread_safe-0.3.6/lib/thread_safe/util/power_of_two_tuple.rb +26 -0
- data/vendor/bundle/gems/thread_safe-0.3.6/lib/thread_safe/util/striped64.rb +222 -0
- data/vendor/bundle/gems/thread_safe-0.3.6/lib/thread_safe/util/volatile.rb +64 -0
- data/vendor/bundle/gems/thread_safe-0.3.6/lib/thread_safe/util/volatile_tuple.rb +46 -0
- data/vendor/bundle/gems/thread_safe-0.3.6/lib/thread_safe/util/xor_shift_random.rb +41 -0
- data/vendor/bundle/gems/thread_safe-0.3.6/lib/thread_safe/version.rb +21 -0
- data/vendor/bundle/gems/thread_safe-0.3.6/spec/.gitignore +0 -0
- data/vendor/bundle/gems/thread_safe-0.3.6/spec/spec_helper.rb +31 -0
- data/vendor/bundle/gems/thread_safe-0.3.6/spec/src/thread_safe/SecurityManager.java +21 -0
- data/vendor/bundle/gems/thread_safe-0.3.6/spec/support/.gitignore +0 -0
- data/vendor/bundle/gems/thread_safe-0.3.6/spec/support/threads.rb +1 -0
- data/vendor/bundle/gems/thread_safe-0.3.6/spec/support/threadsafe_test.rb +75 -0
- data/vendor/bundle/gems/thread_safe-0.3.6/spec/thread_safe/.gitignore +0 -0
- data/vendor/bundle/gems/thread_safe-0.3.6/spec/thread_safe/array_spec.rb +18 -0
- data/vendor/bundle/gems/thread_safe-0.3.6/spec/thread_safe/cache_loops_spec.rb +507 -0
- data/vendor/bundle/gems/thread_safe-0.3.6/spec/thread_safe/cache_spec.rb +943 -0
- data/vendor/bundle/gems/thread_safe-0.3.6/spec/thread_safe/hash_spec.rb +17 -0
- data/vendor/bundle/gems/thread_safe-0.3.6/spec/thread_safe/no_unsafe_spec.rb +27 -0
- data/vendor/bundle/gems/thread_safe-0.3.6/spec/thread_safe/synchronized_delegator_spec.rb +85 -0
- data/vendor/bundle/gems/thread_safe-0.3.6/tasks/update_doc.rake +45 -0
- data/vendor/bundle/gems/thread_safe-0.3.6/thread_safe.gemspec +26 -0
- data/vendor/bundle/gems/thread_safe-0.3.6/yard-template/default/fulldoc/html/css/common.css +125 -0
- data/vendor/bundle/gems/thread_safe-0.3.6/yard-template/default/layout/html/footer.erb +16 -0
- data/vendor/bundle/gems/tzinfo-1.2.5/.yardopts +6 -0
- data/vendor/bundle/gems/tzinfo-1.2.5/CHANGES.md +786 -0
- data/vendor/bundle/gems/tzinfo-1.2.5/LICENSE +19 -0
- data/vendor/bundle/gems/tzinfo-1.2.5/README.md +151 -0
- data/vendor/bundle/gems/tzinfo-1.2.5/Rakefile +107 -0
- data/vendor/bundle/gems/tzinfo-1.2.5/lib/tzinfo.rb +40 -0
- data/vendor/bundle/gems/tzinfo-1.2.5/lib/tzinfo/country.rb +196 -0
- data/vendor/bundle/gems/tzinfo-1.2.5/lib/tzinfo/country_index_definition.rb +31 -0
- data/vendor/bundle/gems/tzinfo-1.2.5/lib/tzinfo/country_info.rb +42 -0
- data/vendor/bundle/gems/tzinfo-1.2.5/lib/tzinfo/country_timezone.rb +135 -0
- data/vendor/bundle/gems/tzinfo-1.2.5/lib/tzinfo/data_source.rb +190 -0
- data/vendor/bundle/gems/tzinfo-1.2.5/lib/tzinfo/data_timezone.rb +58 -0
- data/vendor/bundle/gems/tzinfo-1.2.5/lib/tzinfo/data_timezone_info.rb +55 -0
- data/vendor/bundle/gems/tzinfo-1.2.5/lib/tzinfo/info_timezone.rb +30 -0
- data/vendor/bundle/gems/tzinfo-1.2.5/lib/tzinfo/linked_timezone.rb +63 -0
- data/vendor/bundle/gems/tzinfo-1.2.5/lib/tzinfo/linked_timezone_info.rb +26 -0
- data/vendor/bundle/gems/tzinfo-1.2.5/lib/tzinfo/offset_rationals.rb +77 -0
- data/vendor/bundle/gems/tzinfo-1.2.5/lib/tzinfo/ruby_core_support.rb +146 -0
- data/vendor/bundle/gems/tzinfo-1.2.5/lib/tzinfo/ruby_country_info.rb +74 -0
- data/vendor/bundle/gems/tzinfo-1.2.5/lib/tzinfo/ruby_data_source.rb +136 -0
- data/vendor/bundle/gems/tzinfo-1.2.5/lib/tzinfo/time_or_datetime.rb +340 -0
- data/vendor/bundle/gems/tzinfo-1.2.5/lib/tzinfo/timezone.rb +669 -0
- data/vendor/bundle/gems/tzinfo-1.2.5/lib/tzinfo/timezone_definition.rb +36 -0
- data/vendor/bundle/gems/tzinfo-1.2.5/lib/tzinfo/timezone_index_definition.rb +54 -0
- data/vendor/bundle/gems/tzinfo-1.2.5/lib/tzinfo/timezone_info.rb +30 -0
- data/vendor/bundle/gems/tzinfo-1.2.5/lib/tzinfo/timezone_offset.rb +101 -0
- data/vendor/bundle/gems/tzinfo-1.2.5/lib/tzinfo/timezone_period.rb +245 -0
- data/vendor/bundle/gems/tzinfo-1.2.5/lib/tzinfo/timezone_proxy.rb +105 -0
- data/vendor/bundle/gems/tzinfo-1.2.5/lib/tzinfo/timezone_transition.rb +130 -0
- data/vendor/bundle/gems/tzinfo-1.2.5/lib/tzinfo/timezone_transition_definition.rb +104 -0
- data/vendor/bundle/gems/tzinfo-1.2.5/lib/tzinfo/transition_data_timezone_info.rb +274 -0
- data/vendor/bundle/gems/tzinfo-1.2.5/lib/tzinfo/zoneinfo_country_info.rb +37 -0
- data/vendor/bundle/gems/tzinfo-1.2.5/lib/tzinfo/zoneinfo_data_source.rb +488 -0
- data/vendor/bundle/gems/tzinfo-1.2.5/lib/tzinfo/zoneinfo_timezone_info.rb +296 -0
- data/vendor/bundle/gems/tzinfo-1.2.5/test/tc_country.rb +234 -0
- data/vendor/bundle/gems/tzinfo-1.2.5/test/tc_country_index_definition.rb +69 -0
- data/vendor/bundle/gems/tzinfo-1.2.5/test/tc_country_info.rb +16 -0
- data/vendor/bundle/gems/tzinfo-1.2.5/test/tc_country_timezone.rb +173 -0
- data/vendor/bundle/gems/tzinfo-1.2.5/test/tc_data_source.rb +218 -0
- data/vendor/bundle/gems/tzinfo-1.2.5/test/tc_data_timezone.rb +99 -0
- data/vendor/bundle/gems/tzinfo-1.2.5/test/tc_data_timezone_info.rb +18 -0
- data/vendor/bundle/gems/tzinfo-1.2.5/test/tc_info_timezone.rb +34 -0
- data/vendor/bundle/gems/tzinfo-1.2.5/test/tc_linked_timezone.rb +155 -0
- data/vendor/bundle/gems/tzinfo-1.2.5/test/tc_linked_timezone_info.rb +23 -0
- data/vendor/bundle/gems/tzinfo-1.2.5/test/tc_offset_rationals.rb +23 -0
- data/vendor/bundle/gems/tzinfo-1.2.5/test/tc_ruby_core_support.rb +168 -0
- data/vendor/bundle/gems/tzinfo-1.2.5/test/tc_ruby_country_info.rb +110 -0
- data/vendor/bundle/gems/tzinfo-1.2.5/test/tc_ruby_data_source.rb +143 -0
- data/vendor/bundle/gems/tzinfo-1.2.5/test/tc_time_or_datetime.rb +654 -0
- data/vendor/bundle/gems/tzinfo-1.2.5/test/tc_timezone.rb +1350 -0
- data/vendor/bundle/gems/tzinfo-1.2.5/test/tc_timezone_definition.rb +113 -0
- data/vendor/bundle/gems/tzinfo-1.2.5/test/tc_timezone_index_definition.rb +73 -0
- data/vendor/bundle/gems/tzinfo-1.2.5/test/tc_timezone_info.rb +11 -0
- data/vendor/bundle/gems/tzinfo-1.2.5/test/tc_timezone_london.rb +143 -0
- data/vendor/bundle/gems/tzinfo-1.2.5/test/tc_timezone_melbourne.rb +142 -0
- data/vendor/bundle/gems/tzinfo-1.2.5/test/tc_timezone_new_york.rb +142 -0
- data/vendor/bundle/gems/tzinfo-1.2.5/test/tc_timezone_offset.rb +126 -0
- data/vendor/bundle/gems/tzinfo-1.2.5/test/tc_timezone_period.rb +555 -0
- data/vendor/bundle/gems/tzinfo-1.2.5/test/tc_timezone_proxy.rb +136 -0
- data/vendor/bundle/gems/tzinfo-1.2.5/test/tc_timezone_transition.rb +366 -0
- data/vendor/bundle/gems/tzinfo-1.2.5/test/tc_timezone_transition_definition.rb +295 -0
- data/vendor/bundle/gems/tzinfo-1.2.5/test/tc_timezone_utc.rb +27 -0
- data/vendor/bundle/gems/tzinfo-1.2.5/test/tc_transition_data_timezone_info.rb +423 -0
- data/vendor/bundle/gems/tzinfo-1.2.5/test/tc_zoneinfo_country_info.rb +78 -0
- data/vendor/bundle/gems/tzinfo-1.2.5/test/tc_zoneinfo_data_source.rb +1195 -0
- data/vendor/bundle/gems/tzinfo-1.2.5/test/tc_zoneinfo_timezone_info.rb +1232 -0
- data/vendor/bundle/gems/tzinfo-1.2.5/test/test_utils.rb +163 -0
- data/vendor/bundle/gems/tzinfo-1.2.5/test/ts_all.rb +7 -0
- data/vendor/bundle/gems/tzinfo-1.2.5/test/ts_all_ruby.rb +5 -0
- data/vendor/bundle/gems/tzinfo-1.2.5/test/ts_all_zoneinfo.rb +7 -0
- data/vendor/bundle/gems/tzinfo-1.2.5/test/tzinfo-data/tzinfo/data.rb +8 -0
- data/vendor/bundle/gems/tzinfo-1.2.5/test/tzinfo-data/tzinfo/data/definitions/America/Argentina/Buenos_Aires.rb +89 -0
- data/vendor/bundle/gems/tzinfo-1.2.5/test/tzinfo-data/tzinfo/data/definitions/America/New_York.rb +315 -0
- data/vendor/bundle/gems/tzinfo-1.2.5/test/tzinfo-data/tzinfo/data/definitions/Australia/Melbourne.rb +218 -0
- data/vendor/bundle/gems/tzinfo-1.2.5/test/tzinfo-data/tzinfo/data/definitions/EST.rb +19 -0
- data/vendor/bundle/gems/tzinfo-1.2.5/test/tzinfo-data/tzinfo/data/definitions/Etc/GMT__m__1.rb +21 -0
- data/vendor/bundle/gems/tzinfo-1.2.5/test/tzinfo-data/tzinfo/data/definitions/Etc/GMT__p__1.rb +21 -0
- data/vendor/bundle/gems/tzinfo-1.2.5/test/tzinfo-data/tzinfo/data/definitions/Etc/UTC.rb +21 -0
- data/vendor/bundle/gems/tzinfo-1.2.5/test/tzinfo-data/tzinfo/data/definitions/Europe/Amsterdam.rb +261 -0
- data/vendor/bundle/gems/tzinfo-1.2.5/test/tzinfo-data/tzinfo/data/definitions/Europe/Andorra.rb +186 -0
- data/vendor/bundle/gems/tzinfo-1.2.5/test/tzinfo-data/tzinfo/data/definitions/Europe/London.rb +321 -0
- data/vendor/bundle/gems/tzinfo-1.2.5/test/tzinfo-data/tzinfo/data/definitions/Europe/Paris.rb +265 -0
- data/vendor/bundle/gems/tzinfo-1.2.5/test/tzinfo-data/tzinfo/data/definitions/Europe/Prague.rb +220 -0
- data/vendor/bundle/gems/tzinfo-1.2.5/test/tzinfo-data/tzinfo/data/definitions/UTC.rb +16 -0
- data/vendor/bundle/gems/tzinfo-1.2.5/test/tzinfo-data/tzinfo/data/indexes/countries.rb +927 -0
- data/vendor/bundle/gems/tzinfo-1.2.5/test/tzinfo-data/tzinfo/data/indexes/timezones.rb +596 -0
- data/vendor/bundle/gems/tzinfo-1.2.5/test/tzinfo-data/tzinfo/data/version.rb +14 -0
- data/vendor/bundle/gems/tzinfo-1.2.5/test/zoneinfo/America/Argentina/Buenos_Aires +0 -0
- data/vendor/bundle/gems/tzinfo-1.2.5/test/zoneinfo/America/New_York +0 -0
- data/vendor/bundle/gems/tzinfo-1.2.5/test/zoneinfo/Australia/Melbourne +0 -0
- data/vendor/bundle/gems/tzinfo-1.2.5/test/zoneinfo/EST +0 -0
- data/vendor/bundle/gems/tzinfo-1.2.5/test/zoneinfo/Etc/UTC +0 -0
- data/vendor/bundle/gems/tzinfo-1.2.5/test/zoneinfo/Europe/Amsterdam +0 -0
- data/vendor/bundle/gems/tzinfo-1.2.5/test/zoneinfo/Europe/Andorra +0 -0
- data/vendor/bundle/gems/tzinfo-1.2.5/test/zoneinfo/Europe/London +0 -0
- data/vendor/bundle/gems/tzinfo-1.2.5/test/zoneinfo/Europe/Paris +0 -0
- data/vendor/bundle/gems/tzinfo-1.2.5/test/zoneinfo/Europe/Prague +0 -0
- data/vendor/bundle/gems/tzinfo-1.2.5/test/zoneinfo/Factory +0 -0
- data/vendor/bundle/gems/tzinfo-1.2.5/test/zoneinfo/iso3166.tab +275 -0
- data/vendor/bundle/gems/tzinfo-1.2.5/test/zoneinfo/leapseconds +61 -0
- data/vendor/bundle/gems/tzinfo-1.2.5/test/zoneinfo/posix/Europe/London +0 -0
- data/vendor/bundle/gems/tzinfo-1.2.5/test/zoneinfo/posixrules +0 -0
- data/vendor/bundle/gems/tzinfo-1.2.5/test/zoneinfo/right/Europe/London +0 -0
- data/vendor/bundle/gems/tzinfo-1.2.5/test/zoneinfo/zone.tab +439 -0
- data/vendor/bundle/gems/tzinfo-1.2.5/test/zoneinfo/zone1970.tab +369 -0
- data/vendor/bundle/gems/tzinfo-1.2.5/tzinfo.gemspec +21 -0
- data/vendor/bundle/specifications/activemodel-5.2.2.gemspec +34 -0
- data/vendor/bundle/specifications/activerecord-5.2.2.gemspec +43 -0
- data/vendor/bundle/specifications/activesupport-5.2.2.gemspec +44 -0
- data/vendor/bundle/specifications/ansi-1.5.0.gemspec +49 -0
- data/vendor/bundle/specifications/arel-9.0.0.gemspec +45 -0
- data/vendor/bundle/specifications/builder-3.2.3.gemspec +21 -0
- data/vendor/bundle/specifications/concurrent-ruby-1.1.4.gemspec +23 -0
- data/vendor/bundle/specifications/i18n-1.3.0.gemspec +36 -0
- data/vendor/bundle/specifications/minitest-5.11.3.gemspec +39 -0
- data/vendor/bundle/specifications/minitest-reporters-1.3.5.gemspec +52 -0
- data/vendor/bundle/specifications/rake-10.5.0.gemspec +43 -0
- data/vendor/bundle/specifications/ruby-progressbar-1.10.0.gemspec +46 -0
- data/vendor/bundle/specifications/sqlite3-1.3.13.gemspec +56 -0
- data/vendor/bundle/specifications/thread_safe-0.3.6.gemspec +38 -0
- data/vendor/bundle/specifications/tzinfo-1.2.5.gemspec +37 -0
- metadata +1563 -0
@@ -0,0 +1,57 @@
|
|
1
|
+
require 'sqlite3/constants'
|
2
|
+
|
3
|
+
module SQLite3
|
4
|
+
|
5
|
+
class Value
|
6
|
+
attr_reader :handle
|
7
|
+
|
8
|
+
def initialize( db, handle )
|
9
|
+
@driver = db.driver
|
10
|
+
@handle = handle
|
11
|
+
end
|
12
|
+
|
13
|
+
def null?
|
14
|
+
type == :null
|
15
|
+
end
|
16
|
+
|
17
|
+
def to_blob
|
18
|
+
@driver.value_blob( @handle )
|
19
|
+
end
|
20
|
+
|
21
|
+
def length( utf16=false )
|
22
|
+
if utf16
|
23
|
+
@driver.value_bytes16( @handle )
|
24
|
+
else
|
25
|
+
@driver.value_bytes( @handle )
|
26
|
+
end
|
27
|
+
end
|
28
|
+
|
29
|
+
def to_f
|
30
|
+
@driver.value_double( @handle )
|
31
|
+
end
|
32
|
+
|
33
|
+
def to_i
|
34
|
+
@driver.value_int( @handle )
|
35
|
+
end
|
36
|
+
|
37
|
+
def to_int64
|
38
|
+
@driver.value_int64( @handle )
|
39
|
+
end
|
40
|
+
|
41
|
+
def to_s( utf16=false )
|
42
|
+
@driver.value_text( @handle, utf16 )
|
43
|
+
end
|
44
|
+
|
45
|
+
def type
|
46
|
+
case @driver.value_type( @handle )
|
47
|
+
when Constants::ColumnType::INTEGER then :int
|
48
|
+
when Constants::ColumnType::FLOAT then :float
|
49
|
+
when Constants::ColumnType::TEXT then :text
|
50
|
+
when Constants::ColumnType::BLOB then :blob
|
51
|
+
when Constants::ColumnType::NULL then :null
|
52
|
+
end
|
53
|
+
end
|
54
|
+
|
55
|
+
end
|
56
|
+
|
57
|
+
end
|
@@ -0,0 +1,25 @@
|
|
1
|
+
module SQLite3
|
2
|
+
|
3
|
+
VERSION = '1.3.13'
|
4
|
+
|
5
|
+
module VersionProxy
|
6
|
+
|
7
|
+
MAJOR = 1
|
8
|
+
MINOR = 3
|
9
|
+
TINY = 13
|
10
|
+
BUILD = nil
|
11
|
+
|
12
|
+
STRING = [ MAJOR, MINOR, TINY, BUILD ].compact.join( "." )
|
13
|
+
#:beta-tag:
|
14
|
+
|
15
|
+
VERSION = ::SQLite3::VERSION
|
16
|
+
end
|
17
|
+
|
18
|
+
def self.const_missing(name)
|
19
|
+
return super unless name == :Version
|
20
|
+
warn(<<-eowarn) if $VERBOSE
|
21
|
+
#{caller[0]}: SQLite::Version will be removed in sqlite3-ruby version 2.0.0
|
22
|
+
eowarn
|
23
|
+
VersionProxy
|
24
|
+
end
|
25
|
+
end
|
@@ -0,0 +1,1333 @@
|
|
1
|
+
#
|
2
|
+
# setup.rb
|
3
|
+
#
|
4
|
+
# Copyright (c) 2000-2004 Minero Aoki
|
5
|
+
#
|
6
|
+
# This program is free software.
|
7
|
+
# You can distribute/modify this program under the terms of
|
8
|
+
# the GNU LGPL, Lesser General Public License version 2.1.
|
9
|
+
#
|
10
|
+
|
11
|
+
#
|
12
|
+
# For backward compatibility
|
13
|
+
#
|
14
|
+
|
15
|
+
unless Enumerable.method_defined?(:map)
|
16
|
+
module Enumerable
|
17
|
+
alias map collect
|
18
|
+
end
|
19
|
+
end
|
20
|
+
|
21
|
+
unless Enumerable.method_defined?(:detect)
|
22
|
+
module Enumerable
|
23
|
+
alias detect find
|
24
|
+
end
|
25
|
+
end
|
26
|
+
|
27
|
+
unless Enumerable.method_defined?(:select)
|
28
|
+
module Enumerable
|
29
|
+
alias select find_all
|
30
|
+
end
|
31
|
+
end
|
32
|
+
|
33
|
+
unless Enumerable.method_defined?(:reject)
|
34
|
+
module Enumerable
|
35
|
+
def reject
|
36
|
+
select {|i| not yield(i) }
|
37
|
+
end
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
unless Enumerable.method_defined?(:inject)
|
42
|
+
module Enumerable
|
43
|
+
def inject(result)
|
44
|
+
each do |i|
|
45
|
+
result = yield(result, i)
|
46
|
+
end
|
47
|
+
result
|
48
|
+
end
|
49
|
+
end
|
50
|
+
end
|
51
|
+
|
52
|
+
unless Enumerable.method_defined?(:any?)
|
53
|
+
module Enumerable
|
54
|
+
def any?
|
55
|
+
each do |i|
|
56
|
+
return true if yield(i)
|
57
|
+
end
|
58
|
+
false
|
59
|
+
end
|
60
|
+
end
|
61
|
+
end
|
62
|
+
|
63
|
+
unless File.respond_to?(:read)
|
64
|
+
def File.read(fname)
|
65
|
+
open(fname) {|f|
|
66
|
+
return f.read
|
67
|
+
}
|
68
|
+
end
|
69
|
+
end
|
70
|
+
|
71
|
+
#
|
72
|
+
# Application independent utilities
|
73
|
+
#
|
74
|
+
|
75
|
+
def File.binread(fname)
|
76
|
+
open(fname, 'rb') {|f|
|
77
|
+
return f.read
|
78
|
+
}
|
79
|
+
end
|
80
|
+
|
81
|
+
# for corrupted windows stat(2)
|
82
|
+
def File.dir?(path)
|
83
|
+
File.directory?((path[-1,1] == '/') ? path : path + '/')
|
84
|
+
end
|
85
|
+
|
86
|
+
#
|
87
|
+
# Config
|
88
|
+
#
|
89
|
+
|
90
|
+
if arg = ARGV.detect {|arg| /\A--rbconfig=/ =~ arg }
|
91
|
+
ARGV.delete(arg)
|
92
|
+
require arg.split(/=/, 2)[1]
|
93
|
+
$".push 'rbconfig.rb'
|
94
|
+
else
|
95
|
+
require 'rbconfig'
|
96
|
+
end
|
97
|
+
|
98
|
+
def multipackage_install?
|
99
|
+
FileTest.directory?(File.dirname($0) + '/packages')
|
100
|
+
end
|
101
|
+
|
102
|
+
|
103
|
+
class ConfigTable
|
104
|
+
|
105
|
+
c = ::RbConfig::CONFIG
|
106
|
+
|
107
|
+
rubypath = c['bindir'] + '/' + c['ruby_install_name']
|
108
|
+
|
109
|
+
major = c['MAJOR'].to_i
|
110
|
+
minor = c['MINOR'].to_i
|
111
|
+
teeny = c['TEENY'].to_i
|
112
|
+
version = "#{major}.#{minor}"
|
113
|
+
|
114
|
+
# ruby ver. >= 1.4.4?
|
115
|
+
newpath_p = ((major >= 2) or
|
116
|
+
((major == 1) and
|
117
|
+
((minor >= 5) or
|
118
|
+
((minor == 4) and (teeny >= 4)))))
|
119
|
+
|
120
|
+
subprefix = lambda {|path|
|
121
|
+
path.sub(/\A#{Regexp.quote(c['prefix'])}/o, '$prefix')
|
122
|
+
}
|
123
|
+
|
124
|
+
if c['rubylibdir']
|
125
|
+
# V < 1.6.3
|
126
|
+
stdruby = subprefix.call(c['rubylibdir'])
|
127
|
+
siteruby = subprefix.call(c['sitedir'])
|
128
|
+
versite = subprefix.call(c['sitelibdir'])
|
129
|
+
sodir = subprefix.call(c['sitearchdir'])
|
130
|
+
elsif newpath_p
|
131
|
+
# 1.4.4 <= V <= 1.6.3
|
132
|
+
stdruby = "$prefix/lib/ruby/#{version}"
|
133
|
+
siteruby = subprefix.call(c['sitedir'])
|
134
|
+
versite = siteruby + '/' + version
|
135
|
+
sodir = "$site-ruby/#{c['arch']}"
|
136
|
+
else
|
137
|
+
# V < 1.4.4
|
138
|
+
stdruby = "$prefix/lib/ruby/#{version}"
|
139
|
+
siteruby = "$prefix/lib/ruby/#{version}/site_ruby"
|
140
|
+
versite = siteruby
|
141
|
+
sodir = "$site-ruby/#{c['arch']}"
|
142
|
+
end
|
143
|
+
|
144
|
+
if arg = c['configure_args'].split.detect {|arg| /--with-make-prog=/ =~ arg }
|
145
|
+
makeprog = arg.sub(/'/, '').split(/=/, 2)[1]
|
146
|
+
else
|
147
|
+
makeprog = 'make'
|
148
|
+
end
|
149
|
+
|
150
|
+
common_descripters = [
|
151
|
+
[ 'prefix', [ c['prefix'],
|
152
|
+
'path',
|
153
|
+
'path prefix of target environment' ] ],
|
154
|
+
[ 'std-ruby', [ stdruby,
|
155
|
+
'path',
|
156
|
+
'the directory for standard ruby libraries' ] ],
|
157
|
+
[ 'site-ruby-common', [ siteruby,
|
158
|
+
'path',
|
159
|
+
'the directory for version-independent non-standard ruby libraries' ] ],
|
160
|
+
[ 'site-ruby', [ versite,
|
161
|
+
'path',
|
162
|
+
'the directory for non-standard ruby libraries' ] ],
|
163
|
+
[ 'bin-dir', [ '$prefix/bin',
|
164
|
+
'path',
|
165
|
+
'the directory for commands' ] ],
|
166
|
+
[ 'rb-dir', [ '$site-ruby',
|
167
|
+
'path',
|
168
|
+
'the directory for ruby scripts' ] ],
|
169
|
+
[ 'so-dir', [ sodir,
|
170
|
+
'path',
|
171
|
+
'the directory for ruby extentions' ] ],
|
172
|
+
[ 'data-dir', [ '$prefix/share',
|
173
|
+
'path',
|
174
|
+
'the directory for shared data' ] ],
|
175
|
+
[ 'ruby-path', [ rubypath,
|
176
|
+
'path',
|
177
|
+
'path to set to #! line' ] ],
|
178
|
+
[ 'ruby-prog', [ rubypath,
|
179
|
+
'name',
|
180
|
+
'the ruby program using for installation' ] ],
|
181
|
+
[ 'make-prog', [ makeprog,
|
182
|
+
'name',
|
183
|
+
'the make program to compile ruby extentions' ] ],
|
184
|
+
[ 'without-ext', [ 'no',
|
185
|
+
'yes/no',
|
186
|
+
'does not compile/install ruby extentions' ] ]
|
187
|
+
]
|
188
|
+
multipackage_descripters = [
|
189
|
+
[ 'with', [ '',
|
190
|
+
'name,name...',
|
191
|
+
'package names that you want to install',
|
192
|
+
'ALL' ] ],
|
193
|
+
[ 'without', [ '',
|
194
|
+
'name,name...',
|
195
|
+
'package names that you do not want to install',
|
196
|
+
'NONE' ] ]
|
197
|
+
]
|
198
|
+
if multipackage_install?
|
199
|
+
DESCRIPTER = common_descripters + multipackage_descripters
|
200
|
+
else
|
201
|
+
DESCRIPTER = common_descripters
|
202
|
+
end
|
203
|
+
|
204
|
+
SAVE_FILE = '.config'
|
205
|
+
|
206
|
+
def ConfigTable.each_name(&block)
|
207
|
+
keys().each(&block)
|
208
|
+
end
|
209
|
+
|
210
|
+
def ConfigTable.keys
|
211
|
+
DESCRIPTER.map {|name, *dummy| name }
|
212
|
+
end
|
213
|
+
|
214
|
+
def ConfigTable.each_definition(&block)
|
215
|
+
DESCRIPTER.each(&block)
|
216
|
+
end
|
217
|
+
|
218
|
+
def ConfigTable.get_entry(name)
|
219
|
+
name, ent = DESCRIPTER.assoc(name)
|
220
|
+
ent
|
221
|
+
end
|
222
|
+
|
223
|
+
def ConfigTable.get_entry!(name)
|
224
|
+
get_entry(name) or raise ArgumentError, "no such config: #{name}"
|
225
|
+
end
|
226
|
+
|
227
|
+
def ConfigTable.add_entry(name, vals)
|
228
|
+
ConfigTable::DESCRIPTER.push [name,vals]
|
229
|
+
end
|
230
|
+
|
231
|
+
def ConfigTable.remove_entry(name)
|
232
|
+
get_entry(name) or raise ArgumentError, "no such config: #{name}"
|
233
|
+
DESCRIPTER.delete_if {|n, arr| n == name }
|
234
|
+
end
|
235
|
+
|
236
|
+
def ConfigTable.config_key?(name)
|
237
|
+
get_entry(name) ? true : false
|
238
|
+
end
|
239
|
+
|
240
|
+
def ConfigTable.bool_config?(name)
|
241
|
+
ent = get_entry(name) or return false
|
242
|
+
ent[1] == 'yes/no'
|
243
|
+
end
|
244
|
+
|
245
|
+
def ConfigTable.value_config?(name)
|
246
|
+
ent = get_entry(name) or return false
|
247
|
+
ent[1] != 'yes/no'
|
248
|
+
end
|
249
|
+
|
250
|
+
def ConfigTable.path_config?(name)
|
251
|
+
ent = get_entry(name) or return false
|
252
|
+
ent[1] == 'path'
|
253
|
+
end
|
254
|
+
|
255
|
+
|
256
|
+
class << self
|
257
|
+
alias newobj new
|
258
|
+
end
|
259
|
+
|
260
|
+
def ConfigTable.new
|
261
|
+
c = newobj()
|
262
|
+
c.initialize_from_table
|
263
|
+
c
|
264
|
+
end
|
265
|
+
|
266
|
+
def ConfigTable.load
|
267
|
+
c = newobj()
|
268
|
+
c.initialize_from_file
|
269
|
+
c
|
270
|
+
end
|
271
|
+
|
272
|
+
def initialize_from_table
|
273
|
+
@table = {}
|
274
|
+
DESCRIPTER.each do |k, (default, vname, desc, default2)|
|
275
|
+
@table[k] = default
|
276
|
+
end
|
277
|
+
end
|
278
|
+
|
279
|
+
def initialize_from_file
|
280
|
+
raise InstallError, "#{File.basename $0} config first"\
|
281
|
+
unless File.file?(SAVE_FILE)
|
282
|
+
@table = {}
|
283
|
+
File.foreach(SAVE_FILE) do |line|
|
284
|
+
k, v = line.split(/=/, 2)
|
285
|
+
@table[k] = v.strip
|
286
|
+
end
|
287
|
+
end
|
288
|
+
|
289
|
+
def save
|
290
|
+
File.open(SAVE_FILE, 'w') {|f|
|
291
|
+
@table.each do |k, v|
|
292
|
+
f.printf "%s=%s\n", k, v if v
|
293
|
+
end
|
294
|
+
}
|
295
|
+
end
|
296
|
+
|
297
|
+
def []=(k, v)
|
298
|
+
raise InstallError, "unknown config option #{k}"\
|
299
|
+
unless ConfigTable.config_key?(k)
|
300
|
+
@table[k] = v
|
301
|
+
end
|
302
|
+
|
303
|
+
def [](key)
|
304
|
+
return nil unless @table[key]
|
305
|
+
@table[key].gsub(%r<\$([^/]+)>) { self[$1] }
|
306
|
+
end
|
307
|
+
|
308
|
+
def set_raw(key, val)
|
309
|
+
@table[key] = val
|
310
|
+
end
|
311
|
+
|
312
|
+
def get_raw(key)
|
313
|
+
@table[key]
|
314
|
+
end
|
315
|
+
|
316
|
+
end
|
317
|
+
|
318
|
+
|
319
|
+
module MetaConfigAPI
|
320
|
+
|
321
|
+
def eval_file_ifexist(fname)
|
322
|
+
instance_eval File.read(fname), fname, 1 if File.file?(fname)
|
323
|
+
end
|
324
|
+
|
325
|
+
def config_names
|
326
|
+
ConfigTable.keys
|
327
|
+
end
|
328
|
+
|
329
|
+
def config?(name)
|
330
|
+
ConfigTable.config_key?(name)
|
331
|
+
end
|
332
|
+
|
333
|
+
def bool_config?(name)
|
334
|
+
ConfigTable.bool_config?(name)
|
335
|
+
end
|
336
|
+
|
337
|
+
def value_config?(name)
|
338
|
+
ConfigTable.value_config?(name)
|
339
|
+
end
|
340
|
+
|
341
|
+
def path_config?(name)
|
342
|
+
ConfigTable.path_config?(name)
|
343
|
+
end
|
344
|
+
|
345
|
+
def add_config(name, argname, default, desc)
|
346
|
+
ConfigTable.add_entry name,[default,argname,desc]
|
347
|
+
end
|
348
|
+
|
349
|
+
def add_path_config(name, default, desc)
|
350
|
+
add_config name, 'path', default, desc
|
351
|
+
end
|
352
|
+
|
353
|
+
def add_bool_config(name, default, desc)
|
354
|
+
add_config name, 'yes/no', default ? 'yes' : 'no', desc
|
355
|
+
end
|
356
|
+
|
357
|
+
def set_config_default(name, default)
|
358
|
+
if bool_config?(name)
|
359
|
+
ConfigTable.get_entry!(name)[0] = (default ? 'yes' : 'no')
|
360
|
+
else
|
361
|
+
ConfigTable.get_entry!(name)[0] = default
|
362
|
+
end
|
363
|
+
end
|
364
|
+
|
365
|
+
def remove_config(name)
|
366
|
+
ent = ConfigTable.get_entry(name)
|
367
|
+
ConfigTable.remove_entry name
|
368
|
+
ent
|
369
|
+
end
|
370
|
+
|
371
|
+
end
|
372
|
+
|
373
|
+
#
|
374
|
+
# File Operations
|
375
|
+
#
|
376
|
+
|
377
|
+
module FileOperations
|
378
|
+
|
379
|
+
def mkdir_p(dirname, prefix = nil)
|
380
|
+
dirname = prefix + dirname if prefix
|
381
|
+
$stderr.puts "mkdir -p #{dirname}" if verbose?
|
382
|
+
return if no_harm?
|
383
|
+
|
384
|
+
# does not check '/'... it's too abnormal case
|
385
|
+
dirs = dirname.split(%r<(?=/)>)
|
386
|
+
if /\A[a-z]:\z/i =~ dirs[0]
|
387
|
+
disk = dirs.shift
|
388
|
+
dirs[0] = disk + dirs[0]
|
389
|
+
end
|
390
|
+
dirs.each_index do |idx|
|
391
|
+
path = dirs[0..idx].join('')
|
392
|
+
Dir.mkdir path unless File.dir?(path)
|
393
|
+
end
|
394
|
+
end
|
395
|
+
|
396
|
+
def rm_f(fname)
|
397
|
+
$stderr.puts "rm -f #{fname}" if verbose?
|
398
|
+
return if no_harm?
|
399
|
+
|
400
|
+
if File.exist?(fname) or File.symlink?(fname)
|
401
|
+
File.chmod 0777, fname
|
402
|
+
File.unlink fname
|
403
|
+
end
|
404
|
+
end
|
405
|
+
|
406
|
+
def rm_rf(dn)
|
407
|
+
$stderr.puts "rm -rf #{dn}" if verbose?
|
408
|
+
return if no_harm?
|
409
|
+
|
410
|
+
Dir.chdir dn
|
411
|
+
Dir.foreach('.') do |fn|
|
412
|
+
next if fn == '.'
|
413
|
+
next if fn == '..'
|
414
|
+
if File.dir?(fn)
|
415
|
+
verbose_off {
|
416
|
+
rm_rf fn
|
417
|
+
}
|
418
|
+
else
|
419
|
+
verbose_off {
|
420
|
+
rm_f fn
|
421
|
+
}
|
422
|
+
end
|
423
|
+
end
|
424
|
+
Dir.chdir '..'
|
425
|
+
Dir.rmdir dn
|
426
|
+
end
|
427
|
+
|
428
|
+
def move_file(src, dest)
|
429
|
+
File.unlink dest if File.exist?(dest)
|
430
|
+
begin
|
431
|
+
File.rename src, dest
|
432
|
+
rescue
|
433
|
+
File.open(dest, 'wb') {|f| f.write File.binread(src) }
|
434
|
+
File.chmod File.stat(src).mode, dest
|
435
|
+
File.unlink src
|
436
|
+
end
|
437
|
+
end
|
438
|
+
|
439
|
+
def install(from, dest, mode, prefix = nil)
|
440
|
+
$stderr.puts "install #{from} #{dest}" if verbose?
|
441
|
+
return if no_harm?
|
442
|
+
|
443
|
+
realdest = prefix ? prefix + dest : dest
|
444
|
+
realdest = File.join(realdest, File.basename(from)) if File.dir?(realdest)
|
445
|
+
str = File.binread(from)
|
446
|
+
if diff?(str, realdest)
|
447
|
+
verbose_off {
|
448
|
+
rm_f realdest if File.exist?(realdest)
|
449
|
+
}
|
450
|
+
File.open(realdest, 'wb') {|f|
|
451
|
+
f.write str
|
452
|
+
}
|
453
|
+
File.chmod mode, realdest
|
454
|
+
|
455
|
+
File.open("#{objdir_root()}/InstalledFiles", 'a') {|f|
|
456
|
+
if prefix
|
457
|
+
f.puts realdest.sub(prefix, '')
|
458
|
+
else
|
459
|
+
f.puts realdest
|
460
|
+
end
|
461
|
+
}
|
462
|
+
end
|
463
|
+
end
|
464
|
+
|
465
|
+
def diff?(new_content, path)
|
466
|
+
return true unless File.exist?(path)
|
467
|
+
new_content != File.binread(path)
|
468
|
+
end
|
469
|
+
|
470
|
+
def command(str)
|
471
|
+
$stderr.puts str if verbose?
|
472
|
+
system str or raise RuntimeError, "'system #{str}' failed"
|
473
|
+
end
|
474
|
+
|
475
|
+
def ruby(str)
|
476
|
+
command config('ruby-prog') + ' ' + str
|
477
|
+
end
|
478
|
+
|
479
|
+
def make(task = '')
|
480
|
+
command config('make-prog') + ' ' + task
|
481
|
+
end
|
482
|
+
|
483
|
+
def extdir?(dir)
|
484
|
+
File.exist?(dir + '/MANIFEST') or File.exist?("#{dir}/extconf.rb")
|
485
|
+
end
|
486
|
+
|
487
|
+
def all_files_in(dirname)
|
488
|
+
Dir.open(dirname) {|d|
|
489
|
+
return d.select {|ent| File.file?("#{dirname}/#{ent}") }
|
490
|
+
}
|
491
|
+
end
|
492
|
+
|
493
|
+
REJECT_DIRS = %w(
|
494
|
+
CVS SCCS RCS CVS.adm .svn
|
495
|
+
)
|
496
|
+
|
497
|
+
def all_dirs_in(dirname)
|
498
|
+
Dir.open(dirname) {|d|
|
499
|
+
return d.select {|n| File.dir?("#{dirname}/#{n}") } - %w(. ..) - REJECT_DIRS
|
500
|
+
}
|
501
|
+
end
|
502
|
+
|
503
|
+
end
|
504
|
+
|
505
|
+
#
|
506
|
+
# Main Installer
|
507
|
+
#
|
508
|
+
|
509
|
+
class InstallError < StandardError; end
|
510
|
+
|
511
|
+
|
512
|
+
module HookUtils
|
513
|
+
|
514
|
+
def run_hook(name)
|
515
|
+
try_run_hook "#{curr_srcdir()}/#{name}" or
|
516
|
+
try_run_hook "#{curr_srcdir()}/#{name}.rb"
|
517
|
+
end
|
518
|
+
|
519
|
+
def try_run_hook(fname)
|
520
|
+
return false unless File.file?(fname)
|
521
|
+
begin
|
522
|
+
instance_eval File.read(fname), fname, 1
|
523
|
+
rescue
|
524
|
+
raise InstallError, "hook #{fname} failed:\n" + $!.message
|
525
|
+
end
|
526
|
+
true
|
527
|
+
end
|
528
|
+
|
529
|
+
end
|
530
|
+
|
531
|
+
|
532
|
+
module HookScriptAPI
|
533
|
+
|
534
|
+
def get_config(key)
|
535
|
+
@config[key]
|
536
|
+
end
|
537
|
+
|
538
|
+
alias config get_config
|
539
|
+
|
540
|
+
def set_config(key, val)
|
541
|
+
@config[key] = val
|
542
|
+
end
|
543
|
+
|
544
|
+
#
|
545
|
+
# srcdir/objdir (works only in the package directory)
|
546
|
+
#
|
547
|
+
|
548
|
+
#abstract srcdir_root
|
549
|
+
#abstract objdir_root
|
550
|
+
#abstract relpath
|
551
|
+
|
552
|
+
def curr_srcdir
|
553
|
+
"#{srcdir_root()}/#{relpath()}"
|
554
|
+
end
|
555
|
+
|
556
|
+
def curr_objdir
|
557
|
+
"#{objdir_root()}/#{relpath()}"
|
558
|
+
end
|
559
|
+
|
560
|
+
def srcfile(path)
|
561
|
+
"#{curr_srcdir()}/#{path}"
|
562
|
+
end
|
563
|
+
|
564
|
+
def srcexist?(path)
|
565
|
+
File.exist?(srcfile(path))
|
566
|
+
end
|
567
|
+
|
568
|
+
def srcdirectory?(path)
|
569
|
+
File.dir?(srcfile(path))
|
570
|
+
end
|
571
|
+
|
572
|
+
def srcfile?(path)
|
573
|
+
File.file? srcfile(path)
|
574
|
+
end
|
575
|
+
|
576
|
+
def srcentries(path = '.')
|
577
|
+
Dir.open("#{curr_srcdir()}/#{path}") {|d|
|
578
|
+
return d.to_a - %w(. ..)
|
579
|
+
}
|
580
|
+
end
|
581
|
+
|
582
|
+
def srcfiles(path = '.')
|
583
|
+
srcentries(path).select {|fname|
|
584
|
+
File.file?(File.join(curr_srcdir(), path, fname))
|
585
|
+
}
|
586
|
+
end
|
587
|
+
|
588
|
+
def srcdirectories(path = '.')
|
589
|
+
srcentries(path).select {|fname|
|
590
|
+
File.dir?(File.join(curr_srcdir(), path, fname))
|
591
|
+
}
|
592
|
+
end
|
593
|
+
|
594
|
+
end
|
595
|
+
|
596
|
+
|
597
|
+
class ToplevelInstaller
|
598
|
+
|
599
|
+
Version = '3.3.0'
|
600
|
+
Copyright = 'Copyright (c) 2000-2004 Minero Aoki'
|
601
|
+
|
602
|
+
TASKS = [
|
603
|
+
[ 'all', 'do config, setup, then install' ],
|
604
|
+
[ 'config', 'saves your configurations' ],
|
605
|
+
[ 'show', 'shows current configuration' ],
|
606
|
+
[ 'setup', 'compiles ruby extentions and others' ],
|
607
|
+
[ 'install', 'installs files' ],
|
608
|
+
[ 'clean', "does `make clean' for each extention" ],
|
609
|
+
[ 'distclean',"does `make distclean' for each extention" ]
|
610
|
+
]
|
611
|
+
|
612
|
+
def ToplevelInstaller.invoke
|
613
|
+
instance().invoke
|
614
|
+
end
|
615
|
+
|
616
|
+
@singleton = nil
|
617
|
+
|
618
|
+
def ToplevelInstaller.instance
|
619
|
+
@singleton ||= new(File.dirname($0))
|
620
|
+
@singleton
|
621
|
+
end
|
622
|
+
|
623
|
+
include MetaConfigAPI
|
624
|
+
|
625
|
+
def initialize(ardir_root)
|
626
|
+
@config = nil
|
627
|
+
@options = { 'verbose' => true }
|
628
|
+
@ardir = File.expand_path(ardir_root)
|
629
|
+
end
|
630
|
+
|
631
|
+
def inspect
|
632
|
+
"#<#{self.class} #{__id__()}>"
|
633
|
+
end
|
634
|
+
|
635
|
+
def invoke
|
636
|
+
run_metaconfigs
|
637
|
+
case task = parsearg_global()
|
638
|
+
when nil, 'all'
|
639
|
+
@config = load_config('config')
|
640
|
+
parsearg_config
|
641
|
+
init_installers
|
642
|
+
exec_config
|
643
|
+
exec_setup
|
644
|
+
exec_install
|
645
|
+
else
|
646
|
+
@config = load_config(task)
|
647
|
+
__send__ "parsearg_#{task}"
|
648
|
+
init_installers
|
649
|
+
__send__ "exec_#{task}"
|
650
|
+
end
|
651
|
+
end
|
652
|
+
|
653
|
+
def run_metaconfigs
|
654
|
+
eval_file_ifexist "#{@ardir}/metaconfig"
|
655
|
+
end
|
656
|
+
|
657
|
+
def load_config(task)
|
658
|
+
case task
|
659
|
+
when 'config'
|
660
|
+
ConfigTable.new
|
661
|
+
when 'clean', 'distclean'
|
662
|
+
if File.exist?(ConfigTable::SAVE_FILE)
|
663
|
+
then ConfigTable.load
|
664
|
+
else ConfigTable.new
|
665
|
+
end
|
666
|
+
else
|
667
|
+
ConfigTable.load
|
668
|
+
end
|
669
|
+
end
|
670
|
+
|
671
|
+
def init_installers
|
672
|
+
@installer = Installer.new(@config, @options, @ardir, File.expand_path('.'))
|
673
|
+
end
|
674
|
+
|
675
|
+
#
|
676
|
+
# Hook Script API bases
|
677
|
+
#
|
678
|
+
|
679
|
+
def srcdir_root
|
680
|
+
@ardir
|
681
|
+
end
|
682
|
+
|
683
|
+
def objdir_root
|
684
|
+
'.'
|
685
|
+
end
|
686
|
+
|
687
|
+
def relpath
|
688
|
+
'.'
|
689
|
+
end
|
690
|
+
|
691
|
+
#
|
692
|
+
# Option Parsing
|
693
|
+
#
|
694
|
+
|
695
|
+
def parsearg_global
|
696
|
+
valid_task = /\A(?:#{TASKS.map {|task,desc| task }.join '|'})\z/
|
697
|
+
|
698
|
+
while arg = ARGV.shift
|
699
|
+
case arg
|
700
|
+
when /\A\w+\z/
|
701
|
+
raise InstallError, "invalid task: #{arg}" unless valid_task =~ arg
|
702
|
+
return arg
|
703
|
+
|
704
|
+
when '-q', '--quiet'
|
705
|
+
@options['verbose'] = false
|
706
|
+
|
707
|
+
when '--verbose'
|
708
|
+
@options['verbose'] = true
|
709
|
+
|
710
|
+
when '-h', '--help'
|
711
|
+
print_usage $stdout
|
712
|
+
exit 0
|
713
|
+
|
714
|
+
when '-v', '--version'
|
715
|
+
puts "#{File.basename($0)} version #{Version}"
|
716
|
+
exit 0
|
717
|
+
|
718
|
+
when '--copyright'
|
719
|
+
puts Copyright
|
720
|
+
exit 0
|
721
|
+
|
722
|
+
else
|
723
|
+
raise InstallError, "unknown global option '#{arg}'"
|
724
|
+
end
|
725
|
+
end
|
726
|
+
|
727
|
+
nil
|
728
|
+
end
|
729
|
+
|
730
|
+
|
731
|
+
def parsearg_no_options
|
732
|
+
raise InstallError, "#{task}: unknown options: #{ARGV.join ' '}"\
|
733
|
+
unless ARGV.empty?
|
734
|
+
end
|
735
|
+
|
736
|
+
alias parsearg_show parsearg_no_options
|
737
|
+
alias parsearg_setup parsearg_no_options
|
738
|
+
alias parsearg_clean parsearg_no_options
|
739
|
+
alias parsearg_distclean parsearg_no_options
|
740
|
+
|
741
|
+
def parsearg_config
|
742
|
+
re = /\A--(#{ConfigTable.keys.join '|'})(?:=(.*))?\z/
|
743
|
+
@options['config-opt'] = []
|
744
|
+
|
745
|
+
while i = ARGV.shift
|
746
|
+
if /\A--?\z/ =~ i
|
747
|
+
@options['config-opt'] = ARGV.dup
|
748
|
+
break
|
749
|
+
end
|
750
|
+
m = re.match(i) or raise InstallError, "config: unknown option #{i}"
|
751
|
+
name, value = m.to_a[1,2]
|
752
|
+
if value
|
753
|
+
if ConfigTable.bool_config?(name)
|
754
|
+
raise InstallError, "config: --#{name} allows only yes/no for argument"\
|
755
|
+
unless /\A(y(es)?|n(o)?|t(rue)?|f(alse))\z/i =~ value
|
756
|
+
value = (/\Ay(es)?|\At(rue)/i =~ value) ? 'yes' : 'no'
|
757
|
+
end
|
758
|
+
else
|
759
|
+
raise InstallError, "config: --#{name} requires argument"\
|
760
|
+
unless ConfigTable.bool_config?(name)
|
761
|
+
value = 'yes'
|
762
|
+
end
|
763
|
+
@config[name] = value
|
764
|
+
end
|
765
|
+
end
|
766
|
+
|
767
|
+
def parsearg_install
|
768
|
+
@options['no-harm'] = false
|
769
|
+
@options['install-prefix'] = ''
|
770
|
+
while a = ARGV.shift
|
771
|
+
case a
|
772
|
+
when /\A--no-harm\z/
|
773
|
+
@options['no-harm'] = true
|
774
|
+
when /\A--prefix=(.*)\z/
|
775
|
+
path = $1
|
776
|
+
path = File.expand_path(path) unless path[0,1] == '/'
|
777
|
+
@options['install-prefix'] = path
|
778
|
+
else
|
779
|
+
raise InstallError, "install: unknown option #{a}"
|
780
|
+
end
|
781
|
+
end
|
782
|
+
end
|
783
|
+
|
784
|
+
def print_usage(out)
|
785
|
+
out.puts 'Typical Installation Procedure:'
|
786
|
+
out.puts " $ ruby #{File.basename $0} config"
|
787
|
+
out.puts " $ ruby #{File.basename $0} setup"
|
788
|
+
out.puts " # ruby #{File.basename $0} install (may require root privilege)"
|
789
|
+
out.puts
|
790
|
+
out.puts 'Detailed Usage:'
|
791
|
+
out.puts " ruby #{File.basename $0} <global option>"
|
792
|
+
out.puts " ruby #{File.basename $0} [<global options>] <task> [<task options>]"
|
793
|
+
|
794
|
+
fmt = " %-20s %s\n"
|
795
|
+
out.puts
|
796
|
+
out.puts 'Global options:'
|
797
|
+
out.printf fmt, '-q,--quiet', 'suppress message outputs'
|
798
|
+
out.printf fmt, ' --verbose', 'output messages verbosely'
|
799
|
+
out.printf fmt, '-h,--help', 'print this message'
|
800
|
+
out.printf fmt, '-v,--version', 'print version and quit'
|
801
|
+
out.printf fmt, ' --copyright', 'print copyright and quit'
|
802
|
+
|
803
|
+
out.puts
|
804
|
+
out.puts 'Tasks:'
|
805
|
+
TASKS.each do |name, desc|
|
806
|
+
out.printf " %-10s %s\n", name, desc
|
807
|
+
end
|
808
|
+
|
809
|
+
out.puts
|
810
|
+
out.puts 'Options for CONFIG or ALL:'
|
811
|
+
ConfigTable.each_definition do |name, (default, arg, desc, default2)|
|
812
|
+
out.printf " %-20s %s [%s]\n",
|
813
|
+
'--'+ name + (ConfigTable.bool_config?(name) ? '' : '='+arg),
|
814
|
+
desc,
|
815
|
+
default2 || default
|
816
|
+
end
|
817
|
+
out.printf " %-20s %s [%s]\n",
|
818
|
+
'--rbconfig=path', 'your rbconfig.rb to load', "running ruby's"
|
819
|
+
|
820
|
+
out.puts
|
821
|
+
out.puts 'Options for INSTALL:'
|
822
|
+
out.printf " %-20s %s [%s]\n",
|
823
|
+
'--no-harm', 'only display what to do if given', 'off'
|
824
|
+
out.printf " %-20s %s [%s]\n",
|
825
|
+
'--prefix', 'install path prefix', '$prefix'
|
826
|
+
|
827
|
+
out.puts
|
828
|
+
end
|
829
|
+
|
830
|
+
#
|
831
|
+
# Task Handlers
|
832
|
+
#
|
833
|
+
|
834
|
+
def exec_config
|
835
|
+
@installer.exec_config
|
836
|
+
@config.save # must be final
|
837
|
+
end
|
838
|
+
|
839
|
+
def exec_setup
|
840
|
+
@installer.exec_setup
|
841
|
+
end
|
842
|
+
|
843
|
+
def exec_install
|
844
|
+
@installer.exec_install
|
845
|
+
end
|
846
|
+
|
847
|
+
def exec_show
|
848
|
+
ConfigTable.each_name do |k|
|
849
|
+
v = @config.get_raw(k)
|
850
|
+
if not v or v.empty?
|
851
|
+
v = '(not specified)'
|
852
|
+
end
|
853
|
+
printf "%-10s %s\n", k, v
|
854
|
+
end
|
855
|
+
end
|
856
|
+
|
857
|
+
def exec_clean
|
858
|
+
@installer.exec_clean
|
859
|
+
end
|
860
|
+
|
861
|
+
def exec_distclean
|
862
|
+
@installer.exec_distclean
|
863
|
+
end
|
864
|
+
|
865
|
+
end
|
866
|
+
|
867
|
+
|
868
|
+
class ToplevelInstallerMulti < ToplevelInstaller
|
869
|
+
|
870
|
+
include HookUtils
|
871
|
+
include HookScriptAPI
|
872
|
+
include FileOperations
|
873
|
+
|
874
|
+
def initialize(ardir)
|
875
|
+
super
|
876
|
+
@packages = all_dirs_in("#{@ardir}/packages")
|
877
|
+
raise 'no package exists' if @packages.empty?
|
878
|
+
end
|
879
|
+
|
880
|
+
def run_metaconfigs
|
881
|
+
eval_file_ifexist "#{@ardir}/metaconfig"
|
882
|
+
@packages.each do |name|
|
883
|
+
eval_file_ifexist "#{@ardir}/packages/#{name}/metaconfig"
|
884
|
+
end
|
885
|
+
end
|
886
|
+
|
887
|
+
def init_installers
|
888
|
+
@installers = {}
|
889
|
+
@packages.each do |pack|
|
890
|
+
@installers[pack] = Installer.new(@config, @options,
|
891
|
+
"#{@ardir}/packages/#{pack}",
|
892
|
+
"packages/#{pack}")
|
893
|
+
end
|
894
|
+
|
895
|
+
with = extract_selection(config('with'))
|
896
|
+
without = extract_selection(config('without'))
|
897
|
+
@selected = @installers.keys.select {|name|
|
898
|
+
(with.empty? or with.include?(name)) \
|
899
|
+
and not without.include?(name)
|
900
|
+
}
|
901
|
+
end
|
902
|
+
|
903
|
+
def extract_selection(list)
|
904
|
+
a = list.split(/,/)
|
905
|
+
a.each do |name|
|
906
|
+
raise InstallError, "no such package: #{name}" \
|
907
|
+
unless @installers.key?(name)
|
908
|
+
end
|
909
|
+
a
|
910
|
+
end
|
911
|
+
|
912
|
+
def print_usage(f)
|
913
|
+
super
|
914
|
+
f.puts 'Inluded packages:'
|
915
|
+
f.puts ' ' + @packages.sort.join(' ')
|
916
|
+
f.puts
|
917
|
+
end
|
918
|
+
|
919
|
+
#
|
920
|
+
# multi-package metaconfig API
|
921
|
+
#
|
922
|
+
|
923
|
+
attr_reader :packages
|
924
|
+
|
925
|
+
def declare_packages(list)
|
926
|
+
raise 'package list is empty' if list.empty?
|
927
|
+
list.each do |name|
|
928
|
+
raise "directory packages/#{name} does not exist"\
|
929
|
+
unless File.dir?("#{@ardir}/packages/#{name}")
|
930
|
+
end
|
931
|
+
@packages = list
|
932
|
+
end
|
933
|
+
|
934
|
+
#
|
935
|
+
# Task Handlers
|
936
|
+
#
|
937
|
+
|
938
|
+
def exec_config
|
939
|
+
run_hook 'pre-config'
|
940
|
+
each_selected_installers {|inst| inst.exec_config }
|
941
|
+
run_hook 'post-config'
|
942
|
+
@config.save # must be final
|
943
|
+
end
|
944
|
+
|
945
|
+
def exec_setup
|
946
|
+
run_hook 'pre-setup'
|
947
|
+
each_selected_installers {|inst| inst.exec_setup }
|
948
|
+
run_hook 'post-setup'
|
949
|
+
end
|
950
|
+
|
951
|
+
def exec_install
|
952
|
+
run_hook 'pre-install'
|
953
|
+
each_selected_installers {|inst| inst.exec_install }
|
954
|
+
run_hook 'post-install'
|
955
|
+
end
|
956
|
+
|
957
|
+
def exec_clean
|
958
|
+
rm_f ConfigTable::SAVE_FILE
|
959
|
+
run_hook 'pre-clean'
|
960
|
+
each_selected_installers {|inst| inst.exec_clean }
|
961
|
+
run_hook 'post-clean'
|
962
|
+
end
|
963
|
+
|
964
|
+
def exec_distclean
|
965
|
+
rm_f ConfigTable::SAVE_FILE
|
966
|
+
run_hook 'pre-distclean'
|
967
|
+
each_selected_installers {|inst| inst.exec_distclean }
|
968
|
+
run_hook 'post-distclean'
|
969
|
+
end
|
970
|
+
|
971
|
+
#
|
972
|
+
# lib
|
973
|
+
#
|
974
|
+
|
975
|
+
def each_selected_installers
|
976
|
+
Dir.mkdir 'packages' unless File.dir?('packages')
|
977
|
+
@selected.each do |pack|
|
978
|
+
$stderr.puts "Processing the package `#{pack}' ..." if @options['verbose']
|
979
|
+
Dir.mkdir "packages/#{pack}" unless File.dir?("packages/#{pack}")
|
980
|
+
Dir.chdir "packages/#{pack}"
|
981
|
+
yield @installers[pack]
|
982
|
+
Dir.chdir '../..'
|
983
|
+
end
|
984
|
+
end
|
985
|
+
|
986
|
+
def verbose?
|
987
|
+
@options['verbose']
|
988
|
+
end
|
989
|
+
|
990
|
+
def no_harm?
|
991
|
+
@options['no-harm']
|
992
|
+
end
|
993
|
+
|
994
|
+
end
|
995
|
+
|
996
|
+
|
997
|
+
class Installer
|
998
|
+
|
999
|
+
FILETYPES = %w( bin lib ext data )
|
1000
|
+
|
1001
|
+
include HookScriptAPI
|
1002
|
+
include HookUtils
|
1003
|
+
include FileOperations
|
1004
|
+
|
1005
|
+
def initialize(config, opt, srcroot, objroot)
|
1006
|
+
@config = config
|
1007
|
+
@options = opt
|
1008
|
+
@srcdir = File.expand_path(srcroot)
|
1009
|
+
@objdir = File.expand_path(objroot)
|
1010
|
+
@currdir = '.'
|
1011
|
+
end
|
1012
|
+
|
1013
|
+
def inspect
|
1014
|
+
"#<#{self.class} #{File.basename(@srcdir)}>"
|
1015
|
+
end
|
1016
|
+
|
1017
|
+
#
|
1018
|
+
# Hook Script API bases
|
1019
|
+
#
|
1020
|
+
|
1021
|
+
def srcdir_root
|
1022
|
+
@srcdir
|
1023
|
+
end
|
1024
|
+
|
1025
|
+
def objdir_root
|
1026
|
+
@objdir
|
1027
|
+
end
|
1028
|
+
|
1029
|
+
def relpath
|
1030
|
+
@currdir
|
1031
|
+
end
|
1032
|
+
|
1033
|
+
#
|
1034
|
+
# configs/options
|
1035
|
+
#
|
1036
|
+
|
1037
|
+
def no_harm?
|
1038
|
+
@options['no-harm']
|
1039
|
+
end
|
1040
|
+
|
1041
|
+
def verbose?
|
1042
|
+
@options['verbose']
|
1043
|
+
end
|
1044
|
+
|
1045
|
+
def verbose_off
|
1046
|
+
begin
|
1047
|
+
save, @options['verbose'] = @options['verbose'], false
|
1048
|
+
yield
|
1049
|
+
ensure
|
1050
|
+
@options['verbose'] = save
|
1051
|
+
end
|
1052
|
+
end
|
1053
|
+
|
1054
|
+
#
|
1055
|
+
# TASK config
|
1056
|
+
#
|
1057
|
+
|
1058
|
+
def exec_config
|
1059
|
+
exec_task_traverse 'config'
|
1060
|
+
end
|
1061
|
+
|
1062
|
+
def config_dir_bin(rel)
|
1063
|
+
end
|
1064
|
+
|
1065
|
+
def config_dir_lib(rel)
|
1066
|
+
end
|
1067
|
+
|
1068
|
+
def config_dir_ext(rel)
|
1069
|
+
extconf if extdir?(curr_srcdir())
|
1070
|
+
end
|
1071
|
+
|
1072
|
+
def extconf
|
1073
|
+
opt = @options['config-opt'].join(' ')
|
1074
|
+
command "#{config('ruby-prog')} #{curr_srcdir()}/extconf.rb #{opt}"
|
1075
|
+
end
|
1076
|
+
|
1077
|
+
def config_dir_data(rel)
|
1078
|
+
end
|
1079
|
+
|
1080
|
+
#
|
1081
|
+
# TASK setup
|
1082
|
+
#
|
1083
|
+
|
1084
|
+
def exec_setup
|
1085
|
+
exec_task_traverse 'setup'
|
1086
|
+
end
|
1087
|
+
|
1088
|
+
def setup_dir_bin(rel)
|
1089
|
+
all_files_in(curr_srcdir()).each do |fname|
|
1090
|
+
adjust_shebang "#{curr_srcdir()}/#{fname}"
|
1091
|
+
end
|
1092
|
+
end
|
1093
|
+
|
1094
|
+
def adjust_shebang(path)
|
1095
|
+
return if no_harm?
|
1096
|
+
tmpfile = File.basename(path) + '.tmp'
|
1097
|
+
begin
|
1098
|
+
File.open(path, 'rb') {|r|
|
1099
|
+
File.open(tmpfile, 'wb') {|w|
|
1100
|
+
first = r.gets
|
1101
|
+
return unless should_modify_shebang?(first)
|
1102
|
+
$stderr.puts "adjusting shebang: #{File.basename(path)}" if verbose?
|
1103
|
+
w.print first.sub(SHEBANG_RE, '#!' + config('ruby-path'))
|
1104
|
+
w.write r.read
|
1105
|
+
}
|
1106
|
+
}
|
1107
|
+
move_file tmpfile, File.basename(path)
|
1108
|
+
ensure
|
1109
|
+
File.unlink tmpfile if File.exist?(tmpfile)
|
1110
|
+
end
|
1111
|
+
end
|
1112
|
+
|
1113
|
+
def should_modify_shebang?(line)
|
1114
|
+
File.basename(config('ruby-path')) == 'ruby' or
|
1115
|
+
shebang_command(line) == 'ruby'
|
1116
|
+
end
|
1117
|
+
|
1118
|
+
def shebang_command(line)
|
1119
|
+
cmd, arg = *line.sub(/\A\#!/, '').strip.split(/\s+/, 2)
|
1120
|
+
cmd
|
1121
|
+
end
|
1122
|
+
|
1123
|
+
def setup_dir_lib(rel)
|
1124
|
+
end
|
1125
|
+
|
1126
|
+
def setup_dir_ext(rel)
|
1127
|
+
make if extdir?(curr_srcdir())
|
1128
|
+
end
|
1129
|
+
|
1130
|
+
def setup_dir_data(rel)
|
1131
|
+
end
|
1132
|
+
|
1133
|
+
#
|
1134
|
+
# TASK install
|
1135
|
+
#
|
1136
|
+
|
1137
|
+
def exec_install
|
1138
|
+
exec_task_traverse 'install'
|
1139
|
+
end
|
1140
|
+
|
1141
|
+
def install_dir_bin(rel)
|
1142
|
+
install_files collect_filenames_auto(), "#{config('bin-dir')}/#{rel}", 0755
|
1143
|
+
end
|
1144
|
+
|
1145
|
+
def install_dir_lib(rel)
|
1146
|
+
install_files ruby_scripts(), "#{config('rb-dir')}/#{rel}", 0644
|
1147
|
+
end
|
1148
|
+
|
1149
|
+
def install_dir_ext(rel)
|
1150
|
+
return unless extdir?(curr_srcdir())
|
1151
|
+
install_files ruby_extentions('.'),
|
1152
|
+
"#{config('so-dir')}/#{rel}",
|
1153
|
+
0555
|
1154
|
+
end
|
1155
|
+
|
1156
|
+
def install_dir_data(rel)
|
1157
|
+
install_files collect_filenames_auto(), "#{config('data-dir')}/#{rel}", 0644
|
1158
|
+
end
|
1159
|
+
|
1160
|
+
def install_files(list, dest, mode)
|
1161
|
+
mkdir_p dest, @options['install-prefix']
|
1162
|
+
list.each do |fname|
|
1163
|
+
install fname, dest, mode, @options['install-prefix']
|
1164
|
+
end
|
1165
|
+
end
|
1166
|
+
|
1167
|
+
def ruby_scripts
|
1168
|
+
collect_filenames_auto().select {|n| /\.rb\z/ =~ n }
|
1169
|
+
end
|
1170
|
+
|
1171
|
+
# picked up many entries from cvs-1.11.1/src/ignore.c
|
1172
|
+
reject_patterns = %w(
|
1173
|
+
core RCSLOG tags TAGS .make.state
|
1174
|
+
.nse_depinfo #* .#* cvslog.* ,* .del-* *.olb
|
1175
|
+
*~ *.old *.bak *.BAK *.orig *.rej _$* *$
|
1176
|
+
|
1177
|
+
*.org *.in .*
|
1178
|
+
)
|
1179
|
+
mapping = {
|
1180
|
+
'.' => '\.',
|
1181
|
+
'$' => '\$',
|
1182
|
+
'#' => '\#',
|
1183
|
+
'*' => '.*'
|
1184
|
+
}
|
1185
|
+
REJECT_PATTERNS = Regexp.new('\A(?:' +
|
1186
|
+
reject_patterns.map {|pat|
|
1187
|
+
pat.gsub(/[\.\$\#\*]/) {|ch| mapping[ch] }
|
1188
|
+
}.join('|') +
|
1189
|
+
')\z')
|
1190
|
+
|
1191
|
+
def collect_filenames_auto
|
1192
|
+
mapdir((existfiles() - hookfiles()).reject {|fname|
|
1193
|
+
REJECT_PATTERNS =~ fname
|
1194
|
+
})
|
1195
|
+
end
|
1196
|
+
|
1197
|
+
def existfiles
|
1198
|
+
all_files_in(curr_srcdir()) | all_files_in('.')
|
1199
|
+
end
|
1200
|
+
|
1201
|
+
def hookfiles
|
1202
|
+
%w( pre-%s post-%s pre-%s.rb post-%s.rb ).map {|fmt|
|
1203
|
+
%w( config setup install clean ).map {|t| sprintf(fmt, t) }
|
1204
|
+
}.flatten
|
1205
|
+
end
|
1206
|
+
|
1207
|
+
def mapdir(filelist)
|
1208
|
+
filelist.map {|fname|
|
1209
|
+
if File.exist?(fname) # objdir
|
1210
|
+
fname
|
1211
|
+
else # srcdir
|
1212
|
+
File.join(curr_srcdir(), fname)
|
1213
|
+
end
|
1214
|
+
}
|
1215
|
+
end
|
1216
|
+
|
1217
|
+
def ruby_extentions(dir)
|
1218
|
+
_ruby_extentions(dir) or
|
1219
|
+
raise InstallError, "no ruby extention exists: 'ruby #{$0} setup' first"
|
1220
|
+
end
|
1221
|
+
|
1222
|
+
DLEXT = /\.#{ ::RbConfig::CONFIG['DLEXT'] }\z/
|
1223
|
+
|
1224
|
+
def _ruby_extentions(dir)
|
1225
|
+
Dir.open(dir) {|d|
|
1226
|
+
return d.select {|fname| DLEXT =~ fname }
|
1227
|
+
}
|
1228
|
+
end
|
1229
|
+
|
1230
|
+
#
|
1231
|
+
# TASK clean
|
1232
|
+
#
|
1233
|
+
|
1234
|
+
def exec_clean
|
1235
|
+
exec_task_traverse 'clean'
|
1236
|
+
rm_f ConfigTable::SAVE_FILE
|
1237
|
+
rm_f 'InstalledFiles'
|
1238
|
+
end
|
1239
|
+
|
1240
|
+
def clean_dir_bin(rel)
|
1241
|
+
end
|
1242
|
+
|
1243
|
+
def clean_dir_lib(rel)
|
1244
|
+
end
|
1245
|
+
|
1246
|
+
def clean_dir_ext(rel)
|
1247
|
+
return unless extdir?(curr_srcdir())
|
1248
|
+
make 'clean' if File.file?('Makefile')
|
1249
|
+
end
|
1250
|
+
|
1251
|
+
def clean_dir_data(rel)
|
1252
|
+
end
|
1253
|
+
|
1254
|
+
#
|
1255
|
+
# TASK distclean
|
1256
|
+
#
|
1257
|
+
|
1258
|
+
def exec_distclean
|
1259
|
+
exec_task_traverse 'distclean'
|
1260
|
+
rm_f ConfigTable::SAVE_FILE
|
1261
|
+
rm_f 'InstalledFiles'
|
1262
|
+
end
|
1263
|
+
|
1264
|
+
def distclean_dir_bin(rel)
|
1265
|
+
end
|
1266
|
+
|
1267
|
+
def distclean_dir_lib(rel)
|
1268
|
+
end
|
1269
|
+
|
1270
|
+
def distclean_dir_ext(rel)
|
1271
|
+
return unless extdir?(curr_srcdir())
|
1272
|
+
make 'distclean' if File.file?('Makefile')
|
1273
|
+
end
|
1274
|
+
|
1275
|
+
#
|
1276
|
+
# lib
|
1277
|
+
#
|
1278
|
+
|
1279
|
+
def exec_task_traverse(task)
|
1280
|
+
run_hook "pre-#{task}"
|
1281
|
+
FILETYPES.each do |type|
|
1282
|
+
if config('without-ext') == 'yes' and type == 'ext'
|
1283
|
+
$stderr.puts 'skipping ext/* by user option' if verbose?
|
1284
|
+
next
|
1285
|
+
end
|
1286
|
+
traverse task, type, "#{task}_dir_#{type}"
|
1287
|
+
end
|
1288
|
+
run_hook "post-#{task}"
|
1289
|
+
end
|
1290
|
+
|
1291
|
+
def traverse(task, rel, mid)
|
1292
|
+
dive_into(rel) {
|
1293
|
+
run_hook "pre-#{task}"
|
1294
|
+
__send__ mid, rel.sub(%r[\A.*?(?:/|\z)], '')
|
1295
|
+
all_dirs_in(curr_srcdir()).each do |d|
|
1296
|
+
traverse task, "#{rel}/#{d}", mid
|
1297
|
+
end
|
1298
|
+
run_hook "post-#{task}"
|
1299
|
+
}
|
1300
|
+
end
|
1301
|
+
|
1302
|
+
def dive_into(rel)
|
1303
|
+
return unless File.dir?("#{@srcdir}/#{rel}")
|
1304
|
+
|
1305
|
+
dir = File.basename(rel)
|
1306
|
+
Dir.mkdir dir unless File.dir?(dir)
|
1307
|
+
prevdir = Dir.pwd
|
1308
|
+
Dir.chdir dir
|
1309
|
+
$stderr.puts '---> ' + rel if verbose?
|
1310
|
+
@currdir = rel
|
1311
|
+
yield
|
1312
|
+
Dir.chdir prevdir
|
1313
|
+
$stderr.puts '<--- ' + rel if verbose?
|
1314
|
+
@currdir = File.dirname(rel)
|
1315
|
+
end
|
1316
|
+
|
1317
|
+
end
|
1318
|
+
|
1319
|
+
|
1320
|
+
if $0 == __FILE__
|
1321
|
+
begin
|
1322
|
+
if multipackage_install?
|
1323
|
+
ToplevelInstallerMulti.invoke
|
1324
|
+
else
|
1325
|
+
ToplevelInstaller.invoke
|
1326
|
+
end
|
1327
|
+
rescue
|
1328
|
+
raise if $DEBUG
|
1329
|
+
$stderr.puts $!.message
|
1330
|
+
$stderr.puts "Try 'ruby #{$0} --help' for detailed usage."
|
1331
|
+
exit 1
|
1332
|
+
end
|
1333
|
+
end
|