amoeba 3.2.0 → 3.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/activerecord_head.yml +26 -0
  3. data/.github/workflows/jruby.yml +30 -0
  4. data/.github/workflows/rspec.yml +49 -0
  5. data/.github/workflows/rubocop.yml +20 -0
  6. data/.gitignore +2 -0
  7. data/.rubocop.yml +12 -8
  8. data/.rubocop_todo.yml +149 -0
  9. data/Appraisals +31 -38
  10. data/CHANGELOG.md +68 -0
  11. data/Gemfile +6 -2
  12. data/LICENSE.md +11 -0
  13. data/README.md +28 -17
  14. data/Rakefile +2 -0
  15. data/amoeba.gemspec +18 -17
  16. data/docs/contributing.md +19 -0
  17. data/docs/test_refactor.md +20 -0
  18. data/gemfiles/activerecord_6.1.gemfile +17 -8
  19. data/gemfiles/activerecord_7.0.gemfile +22 -0
  20. data/gemfiles/activerecord_7.1.gemfile +21 -0
  21. data/gemfiles/activerecord_8.0.gemfile +21 -0
  22. data/gemfiles/activerecord_8.1.gemfile +21 -0
  23. data/gemfiles/activerecord_head.gemfile +12 -13
  24. data/gemfiles/jruby_activerecord_7.0.gemfile +20 -0
  25. data/gemfiles/jruby_activerecord_head.gemfile +15 -15
  26. data/lib/amoeba/class_methods.rb +2 -0
  27. data/lib/amoeba/cloner.rb +15 -6
  28. data/lib/amoeba/config.rb +30 -53
  29. data/lib/amoeba/instance_methods.rb +3 -0
  30. data/lib/amoeba/macros/base.rb +4 -1
  31. data/lib/amoeba/macros/has_and_belongs_to_many.rb +2 -0
  32. data/lib/amoeba/macros/has_many.rb +2 -0
  33. data/lib/amoeba/macros/has_one.rb +4 -0
  34. data/lib/amoeba/macros.rb +2 -0
  35. data/lib/amoeba/version.rb +3 -1
  36. data/lib/amoeba.rb +6 -2
  37. data/spec/lib/amoeba_spec.rb +425 -231
  38. data/spec/spec_helper.rb +16 -6
  39. data/spec/support/data.rb +23 -14
  40. data/spec/support/models.rb +50 -40
  41. data/spec/support/schema.rb +2 -0
  42. metadata +53 -39
  43. data/.travis.yml +0 -110
  44. data/gemfiles/activerecord_4.2.gemfile +0 -18
  45. data/gemfiles/activerecord_5.0.gemfile +0 -18
  46. data/gemfiles/activerecord_5.1.gemfile +0 -18
  47. data/gemfiles/activerecord_5.2.gemfile +0 -18
  48. data/gemfiles/activerecord_6.0.gemfile +0 -18
  49. data/gemfiles/jruby_activerecord_6.1.gemfile +0 -19
@@ -1,19 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "https://rubygems.org"
4
-
5
- gem "activerecord", "~> 6.1.0"
6
-
7
- group :development, :test do
8
- gem "rake"
9
- gem "coveralls", require: false
10
- gem "activerecord-jdbc-adapter", "~> 61.0"
11
- gem "activerecord-jdbcsqlite3-adapter", "~> 61.0"
12
- end
13
-
14
- group :local_development do
15
- gem "pry"
16
- gem "appraisal"
17
- end
18
-
19
- gemspec path: "../"