active_sort_order 0.9.4 → 0.9.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (42) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +6 -3
  3. data/lib/active_sort_order/version.rb +1 -1
  4. data/lib/active_sort_order.rb +10 -6
  5. metadata +21 -81
  6. data/test/dummy_app/Rakefile +0 -7
  7. data/test/dummy_app/app/assets/config/manifest.js +0 -3
  8. data/test/dummy_app/app/assets/javascripts/application.js +0 -0
  9. data/test/dummy_app/app/assets/stylesheets/application.css +0 -3
  10. data/test/dummy_app/app/controllers/application_controller.rb +0 -3
  11. data/test/dummy_app/app/models/application_record.rb +0 -3
  12. data/test/dummy_app/app/models/post.rb +0 -3
  13. data/test/dummy_app/app/models/post_with_base_order_a.rb +0 -7
  14. data/test/dummy_app/app/models/post_with_base_order_a_and_b.rb +0 -7
  15. data/test/dummy_app/app/models/post_with_base_order_b.rb +0 -7
  16. data/test/dummy_app/app/models/post_with_base_order_b_and_a.rb +0 -7
  17. data/test/dummy_app/app/models/post_with_volatile_base_order.rb +0 -7
  18. data/test/dummy_app/app/views/layouts/application.html.erb +0 -14
  19. data/test/dummy_app/config/application.rb +0 -61
  20. data/test/dummy_app/config/boot.rb +0 -10
  21. data/test/dummy_app/config/database.yml +0 -20
  22. data/test/dummy_app/config/environment.rb +0 -5
  23. data/test/dummy_app/config/environments/development.rb +0 -30
  24. data/test/dummy_app/config/environments/production.rb +0 -60
  25. data/test/dummy_app/config/environments/test.rb +0 -41
  26. data/test/dummy_app/config/initializers/backtrace_silencers.rb +0 -7
  27. data/test/dummy_app/config/initializers/inflections.rb +0 -10
  28. data/test/dummy_app/config/initializers/mime_types.rb +0 -5
  29. data/test/dummy_app/config/initializers/secret_token.rb +0 -11
  30. data/test/dummy_app/config/initializers/session_store.rb +0 -8
  31. data/test/dummy_app/config/initializers/wrap_parameters.rb +0 -14
  32. data/test/dummy_app/config/locales/en.yml +0 -5
  33. data/test/dummy_app/config/routes.rb +0 -6
  34. data/test/dummy_app/config/secrets.yml +0 -22
  35. data/test/dummy_app/config.ru +0 -4
  36. data/test/dummy_app/db/migrate/20210128155312_set_up_test_tables.rb +0 -15
  37. data/test/dummy_app/db/schema.rb +0 -19
  38. data/test/dummy_app/db/test.sqlite3 +0 -0
  39. data/test/dummy_app/log/test.log +0 -754
  40. data/test/test_helper.rb +0 -63
  41. data/test/unit/active_sort_order_test.rb +0 -144
  42. data/test/unit/errors_test.rb +0 -205
@@ -1,15 +0,0 @@
1
- if defined?(ActiveRecord::Migration::Current)
2
- migration_klass = ActiveRecord::Migration::Current
3
- else
4
- migration_klass = ActiveRecord::Migration
5
- end
6
-
7
- class SetUpTestTables < migration_klass
8
-
9
- def change
10
- create_table :posts do |t|
11
- t.integer :a, :b
12
- end
13
- end
14
-
15
- end
@@ -1,19 +0,0 @@
1
- # This file is auto-generated from the current state of the database. Instead
2
- # of editing this file, please use the migrations feature of Active Record to
3
- # incrementally modify your database, and then regenerate this schema definition.
4
- #
5
- # This file is the source Rails uses to define your schema when running `rails
6
- # db:schema:load`. When creating a new database, `rails db:schema:load` tends to
7
- # be faster and is potentially less error prone than running all of your
8
- # migrations from scratch. Old migrations may fail to apply correctly if those
9
- # migrations use external dependencies or application code.
10
- #
11
- # It's strongly recommended that you check this file into your version control system.
12
-
13
- ActiveRecord::Schema.define(version: 2020_10_01_061824) do
14
-
15
- create_table "posts", force: :cascade do |t|
16
- t.integer :a, :b
17
- end
18
-
19
- end
Binary file