--- !ruby/object:Gem::Specification name: apartment version: !ruby/object:Gem::Version version: 1.2.0 platform: ruby authors: - Ryan Brunner - Brad Robertson autorequire: bindir: bin cert_chain: [] date: 2016-07-28 00:00:00.000000000 Z dependencies: - !ruby/object:Gem::Dependency name: activerecord requirement: !ruby/object:Gem::Requirement requirements: - - ">=" - !ruby/object:Gem::Version version: 3.1.2 - - "<" - !ruby/object:Gem::Version version: '6.0' type: :runtime prerelease: false version_requirements: !ruby/object:Gem::Requirement requirements: - - ">=" - !ruby/object:Gem::Version version: 3.1.2 - - "<" - !ruby/object:Gem::Version version: '6.0' - !ruby/object:Gem::Dependency name: rack requirement: !ruby/object:Gem::Requirement requirements: - - ">=" - !ruby/object:Gem::Version version: 1.3.6 type: :runtime prerelease: false version_requirements: !ruby/object:Gem::Requirement requirements: - - ">=" - !ruby/object:Gem::Version version: 1.3.6 - !ruby/object:Gem::Dependency name: appraisal requirement: !ruby/object:Gem::Requirement requirements: - - ">=" - !ruby/object:Gem::Version version: '0' type: :development prerelease: false version_requirements: !ruby/object:Gem::Requirement requirements: - - ">=" - !ruby/object:Gem::Version version: '0' - !ruby/object:Gem::Dependency name: rake requirement: !ruby/object:Gem::Requirement requirements: - - "~>" - !ruby/object:Gem::Version version: '0.9' type: :development prerelease: false version_requirements: !ruby/object:Gem::Requirement requirements: - - "~>" - !ruby/object:Gem::Version version: '0.9' - !ruby/object:Gem::Dependency name: rspec requirement: !ruby/object:Gem::Requirement requirements: - - "~>" - !ruby/object:Gem::Version version: '3.4' type: :development prerelease: false version_requirements: !ruby/object:Gem::Requirement requirements: - - "~>" - !ruby/object:Gem::Version version: '3.4' - !ruby/object:Gem::Dependency name: rspec-rails requirement: !ruby/object:Gem::Requirement requirements: - - "~>" - !ruby/object:Gem::Version version: '3.4' type: :development prerelease: false version_requirements: !ruby/object:Gem::Requirement requirements: - - "~>" - !ruby/object:Gem::Version version: '3.4' - !ruby/object:Gem::Dependency name: capybara requirement: !ruby/object:Gem::Requirement requirements: - - "~>" - !ruby/object:Gem::Version version: '2.0' type: :development prerelease: false version_requirements: !ruby/object:Gem::Requirement requirements: - - "~>" - !ruby/object:Gem::Version version: '2.0' - !ruby/object:Gem::Dependency name: mysql2 requirement: !ruby/object:Gem::Requirement requirements: - - "~>" - !ruby/object:Gem::Version version: 0.3.10 type: :development prerelease: false version_requirements: !ruby/object:Gem::Requirement requirements: - - "~>" - !ruby/object:Gem::Version version: 0.3.10 - !ruby/object:Gem::Dependency name: pg requirement: !ruby/object:Gem::Requirement requirements: - - ">=" - !ruby/object:Gem::Version version: 0.11.0 type: :development prerelease: false version_requirements: !ruby/object:Gem::Requirement requirements: - - ">=" - !ruby/object:Gem::Version version: 0.11.0 - !ruby/object:Gem::Dependency name: sqlite3 requirement: !ruby/object:Gem::Requirement requirements: - - ">=" - !ruby/object:Gem::Version version: '0' type: :development prerelease: false version_requirements: !ruby/object:Gem::Requirement requirements: - - ">=" - !ruby/object:Gem::Version version: '0' description: Apartment allows Rack applications to deal with database multitenancy through ActiveRecord email: - ryan@influitive.com - brad@influitive.com executables: [] extensions: [] extra_rdoc_files: [] files: - ".gitignore" - ".pryrc" - ".rspec" - ".ruby-gemset" - ".ruby-version" - ".travis.yml" - Appraisals - Gemfile - Guardfile - HISTORY.md - README.md - Rakefile - TODO.md - apartment.gemspec - gemfiles/rails_3_2.gemfile - gemfiles/rails_4_0.gemfile - gemfiles/rails_4_1.gemfile - gemfiles/rails_4_2.gemfile - gemfiles/rails_5_0.gemfile - lib/apartment.rb - lib/apartment/adapters/abstract_adapter.rb - lib/apartment/adapters/abstract_jdbc_adapter.rb - lib/apartment/adapters/jdbc_mysql_adapter.rb - lib/apartment/adapters/jdbc_postgresql_adapter.rb - lib/apartment/adapters/mysql2_adapter.rb - lib/apartment/adapters/postgis_adapter.rb - lib/apartment/adapters/postgresql_adapter.rb - lib/apartment/adapters/sqlite3_adapter.rb - lib/apartment/console.rb - lib/apartment/deprecation.rb - lib/apartment/elevators/domain.rb - lib/apartment/elevators/first_subdomain.rb - lib/apartment/elevators/generic.rb - lib/apartment/elevators/host_hash.rb - lib/apartment/elevators/subdomain.rb - lib/apartment/migrator.rb - lib/apartment/railtie.rb - lib/apartment/reloader.rb - lib/apartment/tasks/enhancements.rb - lib/apartment/tenant.rb - lib/apartment/version.rb - lib/generators/apartment/install/USAGE - lib/generators/apartment/install/install_generator.rb - lib/generators/apartment/install/templates/apartment.rb - lib/tasks/apartment.rake - spec/adapters/jdbc_mysql_adapter_spec.rb - spec/adapters/jdbc_postgresql_adapter_spec.rb - spec/adapters/mysql2_adapter_spec.rb - spec/adapters/postgresql_adapter_spec.rb - spec/adapters/sqlite3_adapter_spec.rb - spec/apartment_spec.rb - spec/config/database.yml.sample - spec/dummy/Rakefile - spec/dummy/app/controllers/application_controller.rb - spec/dummy/app/helpers/application_helper.rb - spec/dummy/app/models/company.rb - spec/dummy/app/models/user.rb - spec/dummy/app/views/application/index.html.erb - spec/dummy/app/views/layouts/application.html.erb - spec/dummy/config.ru - spec/dummy/config/application.rb - spec/dummy/config/boot.rb - spec/dummy/config/database.yml.sample - spec/dummy/config/environment.rb - spec/dummy/config/environments/development.rb - spec/dummy/config/environments/production.rb - spec/dummy/config/environments/test.rb - spec/dummy/config/initializers/apartment.rb - spec/dummy/config/initializers/backtrace_silencers.rb - spec/dummy/config/initializers/inflections.rb - spec/dummy/config/initializers/mime_types.rb - spec/dummy/config/initializers/secret_token.rb - spec/dummy/config/initializers/session_store.rb - spec/dummy/config/locales/en.yml - spec/dummy/config/routes.rb - spec/dummy/db/migrate/20110613152810_create_dummy_models.rb - spec/dummy/db/migrate/20111202022214_create_table_books.rb - spec/dummy/db/schema.rb - spec/dummy/db/seeds.rb - spec/dummy/db/seeds/import.rb - spec/dummy/db/test.sqlite3 - spec/dummy/public/404.html - spec/dummy/public/422.html - spec/dummy/public/500.html - spec/dummy/public/favicon.ico - spec/dummy/public/stylesheets/.gitkeep - spec/dummy/script/rails - spec/dummy_engine/.gitignore - spec/dummy_engine/Gemfile - spec/dummy_engine/Rakefile - spec/dummy_engine/bin/rails - spec/dummy_engine/config/initializers/apartment.rb - spec/dummy_engine/dummy_engine.gemspec - spec/dummy_engine/lib/dummy_engine.rb - spec/dummy_engine/lib/dummy_engine/engine.rb - spec/dummy_engine/lib/dummy_engine/version.rb - spec/dummy_engine/test/dummy/Rakefile - spec/dummy_engine/test/dummy/config.ru - spec/dummy_engine/test/dummy/config/application.rb - spec/dummy_engine/test/dummy/config/boot.rb - spec/dummy_engine/test/dummy/config/database.yml - spec/dummy_engine/test/dummy/config/environment.rb - spec/dummy_engine/test/dummy/config/environments/development.rb - spec/dummy_engine/test/dummy/config/environments/production.rb - spec/dummy_engine/test/dummy/config/environments/test.rb - spec/dummy_engine/test/dummy/config/initializers/assets.rb - spec/dummy_engine/test/dummy/config/initializers/backtrace_silencers.rb - spec/dummy_engine/test/dummy/config/initializers/cookies_serializer.rb - spec/dummy_engine/test/dummy/config/initializers/filter_parameter_logging.rb - spec/dummy_engine/test/dummy/config/initializers/inflections.rb - spec/dummy_engine/test/dummy/config/initializers/mime_types.rb - spec/dummy_engine/test/dummy/config/initializers/session_store.rb - spec/dummy_engine/test/dummy/config/initializers/wrap_parameters.rb - spec/dummy_engine/test/dummy/config/locales/en.yml - spec/dummy_engine/test/dummy/config/routes.rb - spec/dummy_engine/test/dummy/config/secrets.yml - spec/examples/connection_adapter_examples.rb - spec/examples/generic_adapter_custom_configuration_example.rb - spec/examples/generic_adapter_examples.rb - spec/examples/schema_adapter_examples.rb - spec/integration/apartment_rake_integration_spec.rb - spec/integration/query_caching_spec.rb - spec/integration/use_within_an_engine_spec.rb - spec/schemas/v1.rb - spec/schemas/v2.rb - spec/schemas/v3.rb - spec/spec_helper.rb - spec/support/apartment_helpers.rb - spec/support/capybara_sessions.rb - spec/support/config.rb - spec/support/contexts.rb - spec/support/requirements.rb - spec/support/setup.rb - spec/tasks/apartment_rake_spec.rb - spec/tenant_spec.rb - spec/unit/config_spec.rb - spec/unit/elevators/domain_spec.rb - spec/unit/elevators/first_subdomain_spec.rb - spec/unit/elevators/generic_spec.rb - spec/unit/elevators/host_hash_spec.rb - spec/unit/elevators/subdomain_spec.rb - spec/unit/migrator_spec.rb - spec/unit/reloader_spec.rb homepage: https://github.com/influitive/apartment licenses: - MIT metadata: {} post_install_message: |2 ******************************** Apartment Deprecation Warning `Apartment::Tenant.process` has been deprecated in favour of `Apartment::Tenant.switch`. You must now always pass a block to `switch`. To get the previous `switch` behaviour where you can switch to a tenant without a block, use `Apartment::Tenant.switch!`. This is to indicate that your call actually has a side affect of changing the scope of your queries to that tenant. ******************************** rdoc_options: [] require_paths: - lib required_ruby_version: !ruby/object:Gem::Requirement requirements: - - ">=" - !ruby/object:Gem::Version version: '0' required_rubygems_version: !ruby/object:Gem::Requirement requirements: - - ">=" - !ruby/object:Gem::Version version: '0' requirements: [] rubyforge_project: rubygems_version: 2.5.1 signing_key: specification_version: 4 summary: A Ruby gem for managing database multitenancy test_files: - spec/adapters/jdbc_mysql_adapter_spec.rb - spec/adapters/jdbc_postgresql_adapter_spec.rb - spec/adapters/mysql2_adapter_spec.rb - spec/adapters/postgresql_adapter_spec.rb - spec/adapters/sqlite3_adapter_spec.rb - spec/apartment_spec.rb - spec/config/database.yml.sample - spec/dummy/Rakefile - spec/dummy/app/controllers/application_controller.rb - spec/dummy/app/helpers/application_helper.rb - spec/dummy/app/models/company.rb - spec/dummy/app/models/user.rb - spec/dummy/app/views/application/index.html.erb - spec/dummy/app/views/layouts/application.html.erb - spec/dummy/config.ru - spec/dummy/config/application.rb - spec/dummy/config/boot.rb - spec/dummy/config/database.yml.sample - spec/dummy/config/environment.rb - spec/dummy/config/environments/development.rb - spec/dummy/config/environments/production.rb - spec/dummy/config/environments/test.rb - spec/dummy/config/initializers/apartment.rb - spec/dummy/config/initializers/backtrace_silencers.rb - spec/dummy/config/initializers/inflections.rb - spec/dummy/config/initializers/mime_types.rb - spec/dummy/config/initializers/secret_token.rb - spec/dummy/config/initializers/session_store.rb - spec/dummy/config/locales/en.yml - spec/dummy/config/routes.rb - spec/dummy/db/migrate/20110613152810_create_dummy_models.rb - spec/dummy/db/migrate/20111202022214_create_table_books.rb - spec/dummy/db/schema.rb - spec/dummy/db/seeds.rb - spec/dummy/db/seeds/import.rb - spec/dummy/db/test.sqlite3 - spec/dummy/public/404.html - spec/dummy/public/422.html - spec/dummy/public/500.html - spec/dummy/public/favicon.ico - spec/dummy/public/stylesheets/.gitkeep - spec/dummy/script/rails - spec/dummy_engine/.gitignore - spec/dummy_engine/Gemfile - spec/dummy_engine/Rakefile - spec/dummy_engine/bin/rails - spec/dummy_engine/config/initializers/apartment.rb - spec/dummy_engine/dummy_engine.gemspec - spec/dummy_engine/lib/dummy_engine.rb - spec/dummy_engine/lib/dummy_engine/engine.rb - spec/dummy_engine/lib/dummy_engine/version.rb - spec/dummy_engine/test/dummy/Rakefile - spec/dummy_engine/test/dummy/config.ru - spec/dummy_engine/test/dummy/config/application.rb - spec/dummy_engine/test/dummy/config/boot.rb - spec/dummy_engine/test/dummy/config/database.yml - spec/dummy_engine/test/dummy/config/environment.rb - spec/dummy_engine/test/dummy/config/environments/development.rb - spec/dummy_engine/test/dummy/config/environments/production.rb - spec/dummy_engine/test/dummy/config/environments/test.rb - spec/dummy_engine/test/dummy/config/initializers/assets.rb - spec/dummy_engine/test/dummy/config/initializers/backtrace_silencers.rb - spec/dummy_engine/test/dummy/config/initializers/cookies_serializer.rb - spec/dummy_engine/test/dummy/config/initializers/filter_parameter_logging.rb - spec/dummy_engine/test/dummy/config/initializers/inflections.rb - spec/dummy_engine/test/dummy/config/initializers/mime_types.rb - spec/dummy_engine/test/dummy/config/initializers/session_store.rb - spec/dummy_engine/test/dummy/config/initializers/wrap_parameters.rb - spec/dummy_engine/test/dummy/config/locales/en.yml - spec/dummy_engine/test/dummy/config/routes.rb - spec/dummy_engine/test/dummy/config/secrets.yml - spec/examples/connection_adapter_examples.rb - spec/examples/generic_adapter_custom_configuration_example.rb - spec/examples/generic_adapter_examples.rb - spec/examples/schema_adapter_examples.rb - spec/integration/apartment_rake_integration_spec.rb - spec/integration/query_caching_spec.rb - spec/integration/use_within_an_engine_spec.rb - spec/schemas/v1.rb - spec/schemas/v2.rb - spec/schemas/v3.rb - spec/spec_helper.rb - spec/support/apartment_helpers.rb - spec/support/capybara_sessions.rb - spec/support/config.rb - spec/support/contexts.rb - spec/support/requirements.rb - spec/support/setup.rb - spec/tasks/apartment_rake_spec.rb - spec/tenant_spec.rb - spec/unit/config_spec.rb - spec/unit/elevators/domain_spec.rb - spec/unit/elevators/first_subdomain_spec.rb - spec/unit/elevators/generic_spec.rb - spec/unit/elevators/host_hash_spec.rb - spec/unit/elevators/subdomain_spec.rb - spec/unit/migrator_spec.rb - spec/unit/reloader_spec.rb