activerecord_views 0.0.17 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +3 -0
- data/.tool-versions +1 -0
- data/Appraisals +18 -8
- data/README.markdown +28 -14
- data/activerecord_views.gemspec +3 -1
- data/gemfiles/rails4_2.gemfile +2 -1
- data/gemfiles/rails5_0.gemfile +8 -0
- data/gemfiles/{rails3_2.gemfile → rails5_1.gemfile} +2 -2
- data/gemfiles/{rails4_0.gemfile → rails5_2.gemfile} +2 -2
- data/gemfiles/{rails4_1.gemfile → rails6_0.gemfile} +2 -2
- data/gemfiles/rails6_1.gemfile +7 -0
- data/lib/active_record_views.rb +53 -14
- data/lib/active_record_views/checksum_cache.rb +14 -6
- data/lib/active_record_views/extension.rb +29 -13
- data/lib/active_record_views/railtie.rb +14 -4
- data/lib/active_record_views/registered_view.rb +7 -2
- data/lib/active_record_views/version.rb +1 -1
- data/lib/tasks/active_record_views.rake +70 -17
- data/spec/active_record_views_checksum_cache_spec.rb +21 -12
- data/spec/active_record_views_extension_spec.rb +176 -68
- data/spec/active_record_views_spec.rb +62 -3
- data/spec/internal/Rakefile +6 -1
- data/spec/internal/app/models/erb_test_model.rb +4 -0
- data/spec/internal/app/models/erb_test_model.sql.erb +1 -1
- data/spec/internal/config/database.yml +6 -1
- data/spec/internal/config/routes.rb +3 -0
- data/spec/spec_helper.rb +65 -17
- data/spec/support/silence_warnings.rb +23 -0
- data/spec/tasks_spec.rb +86 -10
- metadata +49 -19
- data/spec/internal/app/models/missing_file_test_model.rb +0 -3
- data/spec/internal/db/schema.rb +0 -2
data/spec/internal/db/schema.rb
DELETED