introspective_admin 0.1.0 → 0.9.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (116) hide show
  1. checksums.yaml +4 -4
  2. data/.DS_Store +0 -0
  3. data/.travis.yml +5 -14
  4. data/CHANGELOG.md +37 -28
  5. data/Gemfile +15 -6
  6. data/Gemfile.lock +347 -264
  7. data/README.md +34 -8
  8. data/introspective_admin.gemspec +34 -44
  9. data/lib/introspective_admin/base.rb +200 -200
  10. data/lib/introspective_admin/version.rb +3 -3
  11. data/spec/admin/company_admin_spec.rb +72 -72
  12. data/spec/admin/job_admin_spec.rb +61 -61
  13. data/spec/admin/location_admin_spec.rb +66 -66
  14. data/spec/admin/location_beacon_admin_spec.rb +73 -73
  15. data/spec/admin/project__admin_spec.rb +71 -71
  16. data/spec/admin/user_admin_spec.rb +64 -64
  17. data/spec/dummy/Gemfile +15 -0
  18. data/spec/dummy/README.rdoc +28 -28
  19. data/spec/dummy/Rakefile +6 -6
  20. data/spec/dummy/app/admin/admin_users.rb +28 -0
  21. data/spec/dummy/app/admin/company_admin.rb +4 -4
  22. data/spec/dummy/app/admin/dashboard.rb +32 -0
  23. data/spec/dummy/app/admin/job_admin.rb +4 -4
  24. data/spec/dummy/app/admin/location_admin.rb +4 -4
  25. data/spec/dummy/app/admin/location_beacon_admin.rb +6 -6
  26. data/spec/dummy/app/admin/project_admin.rb +6 -6
  27. data/spec/dummy/app/admin/role_admin.rb +5 -5
  28. data/spec/dummy/app/admin/user_admin.rb +13 -13
  29. data/spec/dummy/app/assets/config/manifest.js +3 -0
  30. data/spec/dummy/app/assets/javascripts/active_admin.js +1 -0
  31. data/spec/dummy/app/assets/javascripts/application.js +13 -13
  32. data/spec/dummy/app/assets/stylesheets/active_admin.scss +17 -0
  33. data/spec/dummy/app/assets/stylesheets/application.css +15 -15
  34. data/spec/dummy/app/controllers/application_controller.rb +8 -8
  35. data/spec/dummy/app/helpers/application_helper.rb +3 -3
  36. data/spec/dummy/app/models/abstract_adapter.rb +18 -12
  37. data/spec/dummy/app/models/admin_user.rb +10 -6
  38. data/spec/dummy/app/models/company.rb +12 -12
  39. data/spec/dummy/app/models/job.rb +10 -10
  40. data/spec/dummy/app/models/locatable.rb +6 -6
  41. data/spec/dummy/app/models/location.rb +26 -26
  42. data/spec/dummy/app/models/location_beacon.rb +19 -19
  43. data/spec/dummy/app/models/location_gps.rb +11 -11
  44. data/spec/dummy/app/models/project.rb +20 -20
  45. data/spec/dummy/app/models/project_job.rb +7 -7
  46. data/spec/dummy/app/models/role.rb +25 -25
  47. data/spec/dummy/app/models/team.rb +9 -9
  48. data/spec/dummy/app/models/team_user.rb +13 -13
  49. data/spec/dummy/app/models/user.rb +68 -68
  50. data/spec/dummy/app/models/user_location.rb +28 -28
  51. data/spec/dummy/app/models/user_project_job.rb +16 -16
  52. data/spec/dummy/app/views/layouts/application.html.erb +13 -13
  53. data/spec/dummy/bin/bundle +3 -3
  54. data/spec/dummy/bin/rails +4 -4
  55. data/spec/dummy/bin/rake +4 -4
  56. data/spec/dummy/bin/setup +29 -29
  57. data/spec/dummy/config/application.rb +34 -34
  58. data/spec/dummy/config/boot.rb +5 -5
  59. data/spec/dummy/config/database.yml +22 -22
  60. data/spec/dummy/config/environment.rb +11 -11
  61. data/spec/dummy/config/environments/development.rb +45 -45
  62. data/spec/dummy/config/environments/production.rb +82 -82
  63. data/spec/dummy/config/environments/test.rb +50 -50
  64. data/spec/dummy/config/initializers/active_admin.rb +7 -7
  65. data/spec/dummy/config/initializers/assets.rb +13 -13
  66. data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -7
  67. data/spec/dummy/config/initializers/cookies_serializer.rb +3 -3
  68. data/spec/dummy/config/initializers/devise.rb +263 -263
  69. data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -4
  70. data/spec/dummy/config/initializers/inflections.rb +16 -16
  71. data/spec/dummy/config/initializers/mime_types.rb +4 -4
  72. data/spec/dummy/config/initializers/session_store.rb +3 -3
  73. data/spec/dummy/config/initializers/wrap_parameters.rb +14 -14
  74. data/spec/dummy/config/initializers/zeitwerk.rb +8 -0
  75. data/spec/dummy/config/locales/devise.en.yml +60 -60
  76. data/spec/dummy/config/locales/en.yml +23 -23
  77. data/spec/dummy/config/routes.rb +10 -9
  78. data/spec/dummy/config/secrets.yml +20 -20
  79. data/spec/dummy/config.ru +4 -4
  80. data/spec/dummy/db/development.sqlite3 +0 -0
  81. data/spec/dummy/db/development.sqlite3-shm +0 -0
  82. data/spec/dummy/db/development.sqlite3-wal +0 -0
  83. data/spec/dummy/db/migrate/20141002205024_devise_create_users.rb +42 -42
  84. data/spec/dummy/db/migrate/20141002211055_devise_create_admin_users.rb +48 -48
  85. data/spec/dummy/db/migrate/20141002211057_create_active_admin_comments.rb +19 -19
  86. data/spec/dummy/db/migrate/20141002220722_add_lockable_to_users.rb +8 -8
  87. data/spec/dummy/db/migrate/20150406213646_create_companies.rb +11 -11
  88. data/spec/dummy/db/migrate/20150414213154_add_user_authentication_token.rb +11 -11
  89. data/spec/dummy/db/migrate/20150415222005_create_roles.rb +12 -12
  90. data/spec/dummy/db/migrate/20150505181635_create_chats.rb +9 -9
  91. data/spec/dummy/db/migrate/20150505181636_create_chat_users.rb +11 -11
  92. data/spec/dummy/db/migrate/20150505181640_create_chat_messages.rb +11 -11
  93. data/spec/dummy/db/migrate/20150507191529_create_chat_message_users.rb +11 -11
  94. data/spec/dummy/db/migrate/20150601200526_create_locations.rb +13 -13
  95. data/spec/dummy/db/migrate/20150601200533_create_locatables.rb +10 -10
  96. data/spec/dummy/db/migrate/20150601212924_create_location_beacons.rb +16 -16
  97. data/spec/dummy/db/migrate/20150601213542_create_location_gps.rb +12 -12
  98. data/spec/dummy/db/migrate/20150609201823_create_user_locations.rb +14 -14
  99. data/spec/dummy/db/migrate/20150617232519_create_projects.rb +10 -10
  100. data/spec/dummy/db/migrate/20150617232521_create_jobs.rb +9 -9
  101. data/spec/dummy/db/migrate/20150617232522_create_project_jobs.rb +11 -11
  102. data/spec/dummy/db/migrate/20150623170133_create_user_project_jobs.rb +12 -12
  103. data/spec/dummy/db/migrate/20150701234929_create_teams.rb +11 -11
  104. data/spec/dummy/db/migrate/20150701234930_create_team_users.rb +11 -11
  105. data/spec/dummy/db/migrate/20150727214950_add_confirmable_to_devise.rb +11 -11
  106. data/spec/dummy/db/migrate/20150820190524_add_user_names.rb +6 -6
  107. data/spec/dummy/db/migrate/20150909225019_add_password_to_project.rb +5 -5
  108. data/spec/dummy/db/migrate/20220806003731_add_devise_to_admin_users.rb +51 -0
  109. data/spec/dummy/db/schema.rb +264 -264
  110. data/spec/dummy/introspective_admin.gemspec +34 -0
  111. data/spec/dummy/public/404.html +67 -67
  112. data/spec/dummy/public/422.html +67 -67
  113. data/spec/dummy/public/500.html +66 -66
  114. data/spec/rails_helper.rb +27 -27
  115. metadata +25 -116
  116. data/Gemfile.lock.rails4 +0 -256
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: eaaa72c85b8f1ef3bf0b9a7bcf2892315d5565ac2f49ecba009087999912f9c5
4
- data.tar.gz: e25ad616a7f885317de14aa1fc6a3e6ca2d1149dcba442a6c2420bddab61e4a9
3
+ metadata.gz: f2ef081e300f45c9ad80bc402f7b86c473389f3544731184b242c9e0c79af50f
4
+ data.tar.gz: 607567fade9477151ce25365cb42fb58da604a0c75e58b9d03d414a98c4416c6
5
5
  SHA512:
6
- metadata.gz: a3fc83f7c068173ab9d9e4b056cda964f15d6ee4f3f12a0e2ac45713be5581eabee69b75e18784718245677fb64bab38d7a253154480f1b5cc2e0485683e22f0
7
- data.tar.gz: d8c13a64de1edd96cb2fce3384379d992a096bf8fb05bf6ed7c26535cd702715e0d62744cec0e8ce72276dee57fbd914750cfd2a462e04f11fd63ccae001508e
6
+ metadata.gz: 42775a1e8e7e0d0ac0324b9142964191edfd460ef20693693c5e6841ace1396ef52df81ca73591d01b8214f969516a5156ac0163ded75827a62c03f15ff8fb71
7
+ data.tar.gz: 21d5882ca7c9ee303602ad428c76de97d478ca0a72f557623804d363ffcd7618c57c12e184ce6cbb1bbdb6473b16998e532a05bdc6993b11d2e592d38e9311ca
data/.DS_Store CHANGED
Binary file
data/.travis.yml CHANGED
@@ -7,37 +7,28 @@ script:
7
7
  - bundle exec rspec
8
8
 
9
9
  rvm:
10
- - 2.3.0
11
- - 2.4.0
12
- - 2.5.0
13
- - 2.6.0
14
- - rbx-3.107
15
- - jruby-9.0.4.0
16
- - jruby-9.2.6.0
10
+ - 2.7.1
11
+ - 3.0.1
12
+ - 3.3.0
17
13
  - ruby-head
18
14
  - jruby-head
19
15
 
20
16
  matrix:
21
17
  allow_failures:
22
- - rvm: rbx-3.107
23
- - rvm: jruby-9.0.4.0
24
- - rvm: jruby-9.2.6.0
25
18
  - rvm: ruby-head
26
19
  - rvm: jruby-head
27
20
 
28
21
  env:
29
22
  matrix:
30
- - RAILS=4.2.0
31
23
  - RAILS=4.2.11
32
- - RAILS=5.0.0
33
- - RAILS=5.1.0
34
24
  - RAILS=5.2.0
25
+ - RAILS=7.0.8.1
35
26
  - RAILS=master
36
27
  global:
37
28
  - JRUBY_OPTS="-J-Xmx1024m --debug"
38
29
 
39
30
  notifications:
40
- email:
31
+ email:
41
32
  recipients:
42
33
  - buermann@gmail.com
43
34
  on_success: change
data/CHANGELOG.md CHANGED
@@ -1,28 +1,37 @@
1
- 0.1.0 8/04/2020
2
- ===============
3
-
4
- Rails 6+ support.
5
-
6
- 0.0.9 3/28/2019
7
- ==============
8
-
9
- Add support for ActiveAdmin 1+; Rails 5; and, correspondingly, require ruby >= 2.3
10
-
11
- 0.0.8 7/12/2016
12
- ==============
13
-
14
- Link to belongs_to relationships in index and show pages.
15
-
16
- 0.0.7 6/14/2016
17
- ==============
18
-
19
- Add validation errors to the form.
20
-
21
- 0.0.6 6/14/2016
22
- ==============
23
-
24
- ### Bug Fixes
25
-
26
- Polymorphic associations were not properly using the "xxx_assigns" attribute name
27
- in the form.
28
-
1
+
2
+ 0.9.0 3/19/2024
3
+ ===============
4
+
5
+ ActiveAdmin 3+, Ruby 3+, and Rails 7+.
6
+
7
+ BREAKING CHANGES:
8
+ - ActiveAdmin now requires Ransack declarations on registered models and their associations, c.f. the README.
9
+
10
+ 0.1.0 8/04/2020
11
+ ===============
12
+
13
+ Rails 6+ support.
14
+
15
+ 0.0.9 3/28/2019
16
+ ==============
17
+
18
+ Add support for ActiveAdmin 1+; Rails 5; and, correspondingly, require ruby >= 2.3
19
+
20
+ 0.0.8 7/12/2016
21
+ ==============
22
+
23
+ Link to belongs_to relationships in index and show pages.
24
+
25
+ 0.0.7 6/14/2016
26
+ ==============
27
+
28
+ Add validation errors to the form.
29
+
30
+ 0.0.6 6/14/2016
31
+ ==============
32
+
33
+ ### Bug Fixes
34
+
35
+ Polymorphic associations were not properly using the "xxx_assigns" attribute name
36
+ in the form.
37
+
data/Gemfile CHANGED
@@ -1,6 +1,15 @@
1
- # A sample Gemfile
2
- source "https://rubygems.org"
3
-
4
- gemspec
5
- gem 'coveralls', require: false
6
- #gem 'rails-controller-testing', require: true
1
+ # A sample Gemfile
2
+ source "https://rubygems.org"
3
+
4
+ gemspec
5
+ gem 'coveralls', require: false
6
+ gem 'devise'
7
+ gem 'devise-async'
8
+ gem 'machinist_redux'
9
+ gem 'rails-controller-testing'
10
+ gem "rspec-rails"
11
+ gem 'rufus-mnemo'
12
+ gem 'simplecov'
13
+ gem 'sprockets-rails'
14
+
15
+