ros-apartment 2.5.0 → 2.7.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (40) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/changelog.yml +41 -0
  3. data/.rubocop.yml +74 -4
  4. data/.rubocop_todo.yml +50 -13
  5. data/.story_branch.yml +1 -0
  6. data/.travis.yml +5 -0
  7. data/CHANGELOG.md +917 -0
  8. data/Gemfile +1 -1
  9. data/Guardfile +0 -15
  10. data/HISTORY.md +159 -68
  11. data/README.md +17 -3
  12. data/Rakefile +4 -2
  13. data/TODO.md +0 -1
  14. data/gemfiles/rails_5_0.gemfile +1 -1
  15. data/gemfiles/rails_5_1.gemfile +1 -1
  16. data/gemfiles/rails_5_2.gemfile +1 -1
  17. data/gemfiles/rails_6_0.gemfile +1 -1
  18. data/gemfiles/rails_master.gemfile +1 -1
  19. data/lib/apartment.rb +13 -12
  20. data/lib/apartment/active_record/connection_handling.rb +3 -0
  21. data/lib/apartment/active_record/internal_metadata.rb +0 -2
  22. data/lib/apartment/active_record/log_subscriber.rb +44 -0
  23. data/lib/apartment/active_record/schema_migration.rb +0 -2
  24. data/lib/apartment/adapters/abstract_adapter.rb +17 -14
  25. data/lib/apartment/adapters/abstract_jdbc_adapter.rb +2 -1
  26. data/lib/apartment/adapters/jdbc_postgresql_adapter.rb +11 -5
  27. data/lib/apartment/adapters/mysql2_adapter.rb +5 -0
  28. data/lib/apartment/adapters/postgresql_adapter.rb +40 -4
  29. data/lib/apartment/adapters/sqlite3_adapter.rb +2 -0
  30. data/lib/apartment/console.rb +7 -6
  31. data/lib/apartment/custom_console.rb +25 -9
  32. data/lib/apartment/railtie.rb +19 -15
  33. data/lib/apartment/tasks/task_helper.rb +33 -0
  34. data/lib/apartment/tenant.rb +17 -6
  35. data/lib/apartment/version.rb +1 -1
  36. data/lib/generators/apartment/install/templates/apartment.rb +7 -1
  37. data/lib/tasks/apartment.rake +16 -37
  38. data/{apartment.gemspec → ros-apartment.gemspec} +1 -3
  39. metadata +13 -10
  40. data/.github/workflows/.rubocop-linter.yml +0 -22
@@ -1,22 +0,0 @@
1
- name: Rubocop Lint
2
-
3
- on: [push]
4
-
5
- jobs:
6
- build:
7
-
8
- runs-on: ubuntu-latest
9
-
10
- container:
11
- image: ruby:2.6.5
12
-
13
- steps:
14
- - uses: actions/checkout@v1
15
- - name: Rubocop Linter
16
- uses: andrewmcodes/rubocop-linter-action@v2.0.0
17
- with:
18
- additional_gems: 'perx-rubocop:0.0.3'
19
- fail_level: 'warning'
20
- version: '0.77.0'
21
- env:
22
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}