puzzle-apartment 2.12.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.circleci/config.yml +71 -0
- data/.github/ISSUE_TEMPLATE.md +21 -0
- data/.github/workflows/changelog.yml +63 -0
- data/.github/workflows/reviewdog.yml +22 -0
- data/.gitignore +15 -0
- data/.pryrc +5 -0
- data/.rspec +4 -0
- data/.rubocop.yml +33 -0
- data/.rubocop_todo.yml +418 -0
- data/.ruby-version +1 -0
- data/.story_branch.yml +5 -0
- data/Appraisals +49 -0
- data/CHANGELOG.md +963 -0
- data/Gemfile +17 -0
- data/Guardfile +11 -0
- data/HISTORY.md +496 -0
- data/README.md +652 -0
- data/Rakefile +157 -0
- data/TODO.md +50 -0
- data/docker-compose.yml +33 -0
- data/gemfiles/rails_6_1.gemfile +17 -0
- data/gemfiles/rails_7_0.gemfile +17 -0
- data/gemfiles/rails_7_1.gemfile +17 -0
- data/gemfiles/rails_master.gemfile +17 -0
- data/lib/apartment/active_record/connection_handling.rb +34 -0
- data/lib/apartment/active_record/internal_metadata.rb +9 -0
- data/lib/apartment/active_record/postgresql_adapter.rb +39 -0
- data/lib/apartment/active_record/schema_migration.rb +13 -0
- data/lib/apartment/adapters/abstract_adapter.rb +275 -0
- data/lib/apartment/adapters/abstract_jdbc_adapter.rb +20 -0
- data/lib/apartment/adapters/jdbc_mysql_adapter.rb +19 -0
- data/lib/apartment/adapters/jdbc_postgresql_adapter.rb +62 -0
- data/lib/apartment/adapters/mysql2_adapter.rb +77 -0
- data/lib/apartment/adapters/postgis_adapter.rb +13 -0
- data/lib/apartment/adapters/postgresql_adapter.rb +284 -0
- data/lib/apartment/adapters/sqlite3_adapter.rb +66 -0
- data/lib/apartment/console.rb +24 -0
- data/lib/apartment/custom_console.rb +42 -0
- data/lib/apartment/deprecation.rb +11 -0
- data/lib/apartment/elevators/domain.rb +23 -0
- data/lib/apartment/elevators/first_subdomain.rb +18 -0
- data/lib/apartment/elevators/generic.rb +33 -0
- data/lib/apartment/elevators/host.rb +35 -0
- data/lib/apartment/elevators/host_hash.rb +26 -0
- data/lib/apartment/elevators/subdomain.rb +66 -0
- data/lib/apartment/log_subscriber.rb +45 -0
- data/lib/apartment/migrator.rb +52 -0
- data/lib/apartment/model.rb +29 -0
- data/lib/apartment/railtie.rb +68 -0
- data/lib/apartment/tasks/enhancements.rb +55 -0
- data/lib/apartment/tasks/task_helper.rb +52 -0
- data/lib/apartment/tenant.rb +63 -0
- data/lib/apartment/version.rb +5 -0
- data/lib/apartment.rb +159 -0
- data/lib/generators/apartment/install/USAGE +5 -0
- data/lib/generators/apartment/install/install_generator.rb +11 -0
- data/lib/generators/apartment/install/templates/apartment.rb +116 -0
- data/lib/tasks/apartment.rake +106 -0
- data/puzzle-apartment.gemspec +59 -0
- metadata +385 -0
data/Appraisals
ADDED
@@ -0,0 +1,49 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
appraise 'rails-6-1' do
|
4
|
+
gem 'rails', '~> 6.1.0'
|
5
|
+
platforms :ruby do
|
6
|
+
gem 'sqlite3', '~> 1.4'
|
7
|
+
end
|
8
|
+
platforms :jruby do
|
9
|
+
gem 'activerecord-jdbc-adapter', '~> 61.0'
|
10
|
+
gem 'activerecord-jdbcpostgresql-adapter', '~> 61.0'
|
11
|
+
gem 'activerecord-jdbcmysql-adapter', '~> 61.0'
|
12
|
+
end
|
13
|
+
end
|
14
|
+
|
15
|
+
appraise 'rails-7-0' do
|
16
|
+
gem 'rails', '~> 7.0.0'
|
17
|
+
platforms :ruby do
|
18
|
+
gem 'sqlite3', '~> 1.4'
|
19
|
+
end
|
20
|
+
platforms :jruby do
|
21
|
+
gem 'activerecord-jdbc-adapter', '~> 61.0'
|
22
|
+
gem 'activerecord-jdbcpostgresql-adapter', '~> 61.0'
|
23
|
+
gem 'activerecord-jdbcmysql-adapter', '~> 61.0'
|
24
|
+
end
|
25
|
+
end
|
26
|
+
|
27
|
+
appraise 'rails-7-1' do
|
28
|
+
gem 'rails', '~> 7.1.0'
|
29
|
+
platforms :ruby do
|
30
|
+
gem 'sqlite3', '~> 1.6'
|
31
|
+
end
|
32
|
+
platforms :jruby do
|
33
|
+
gem 'activerecord-jdbc-adapter', '~> 61.0'
|
34
|
+
gem 'activerecord-jdbcpostgresql-adapter', '~> 61.0'
|
35
|
+
gem 'activerecord-jdbcmysql-adapter', '~> 61.0'
|
36
|
+
end
|
37
|
+
end
|
38
|
+
|
39
|
+
appraise 'rails-master' do
|
40
|
+
gem 'rails', git: 'https://github.com/rails/rails.git'
|
41
|
+
platforms :ruby do
|
42
|
+
gem 'sqlite3', '~> 1.4'
|
43
|
+
end
|
44
|
+
platforms :jruby do
|
45
|
+
gem 'activerecord-jdbc-adapter', '~> 61.0'
|
46
|
+
gem 'activerecord-jdbcpostgresql-adapter', '~> 61.0'
|
47
|
+
gem 'activerecord-jdbcmysql-adapter', '~> 61.0'
|
48
|
+
end
|
49
|
+
end
|