introspective_admin 0.0.8 → 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.DS_Store +0 -0
- data/.ruby-version +1 -0
- data/.travis.yml +9 -11
- data/CHANGELOG.md +22 -0
- data/Gemfile +10 -1
- data/Gemfile.lock +308 -208
- data/README.md +34 -8
- data/introspective_admin.gemspec +4 -11
- data/lib/introspective_admin/base.rb +17 -17
- data/lib/introspective_admin/version.rb +1 -1
- data/spec/admin/company_admin_spec.rb +6 -6
- data/spec/admin/job_admin_spec.rb +4 -4
- data/spec/admin/location_admin_spec.rb +4 -4
- data/spec/admin/location_beacon_admin_spec.rb +5 -5
- data/spec/admin/project__admin_spec.rb +5 -5
- data/spec/admin/user_admin_spec.rb +4 -4
- data/spec/dummy/Gemfile +15 -0
- data/spec/dummy/app/admin/admin_users.rb +28 -0
- data/spec/dummy/app/admin/dashboard.rb +32 -0
- data/spec/dummy/app/assets/config/manifest.js +3 -0
- data/spec/dummy/app/assets/javascripts/active_admin.js +1 -0
- data/spec/dummy/app/assets/stylesheets/active_admin.scss +17 -0
- data/spec/dummy/app/controllers/application_controller.rb +3 -0
- data/spec/dummy/app/helpers/application_helper.rb +1 -0
- data/spec/dummy/app/models/abstract_adapter.rb +8 -2
- data/spec/dummy/app/models/admin_user.rb +4 -0
- data/spec/dummy/app/models/role.rb +1 -1
- data/spec/dummy/app/models/user.rb +2 -2
- data/spec/dummy/app/views/layouts/application.html.erb +1 -1
- data/spec/dummy/config/application.rb +4 -2
- data/spec/dummy/config/environment.rb +1 -1
- data/spec/dummy/config/environments/development.rb +5 -1
- data/spec/dummy/config/environments/production.rb +6 -3
- data/spec/dummy/config/environments/test.rb +9 -2
- data/spec/dummy/config/initializers/assets.rb +3 -1
- data/spec/dummy/config/initializers/zeitwerk.rb +8 -0
- data/spec/dummy/config/routes.rb +1 -0
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/development.sqlite3-shm +0 -0
- data/spec/dummy/db/development.sqlite3-wal +0 -0
- data/spec/dummy/db/migrate/20220806003731_add_devise_to_admin_users.rb +51 -0
- data/spec/dummy/introspective_admin.gemspec +34 -0
- data/spec/rails_helper.rb +5 -2
- metadata +39 -58
@@ -21,8 +21,8 @@ class User < AbstractAdapter
|
|
21
21
|
|
22
22
|
has_many :roles, dependent: :destroy, inverse_of: :user
|
23
23
|
accepts_nested_attributes_for :roles, allow_destroy: true
|
24
|
-
has_many :admin_companies, through: :roles, source: :ownable, source_type: Company
|
25
|
-
has_many :admin_projects, through: :roles, source: :ownable, source_type: Project
|
24
|
+
has_many :admin_companies, through: :roles, source: :ownable, source_type: 'Company'
|
25
|
+
has_many :admin_projects, through: :roles, source: :ownable, source_type: 'Project'
|
26
26
|
|
27
27
|
def all_admin_projects # aggregate companies' projects with project admin roles
|
28
28
|
(admin_companies.map(&:projects)+admin_projects).flatten
|
@@ -1,9 +1,11 @@
|
|
1
1
|
require File.expand_path('../boot', __FILE__)
|
2
2
|
|
3
3
|
# Pick the frameworks you want:
|
4
|
+
require 'rails'
|
5
|
+
require "active_support/railtie"
|
4
6
|
require "active_record/railtie"
|
5
7
|
require "action_controller/railtie"
|
6
|
-
require "action_mailer/railtie"
|
8
|
+
#require "action_mailer/railtie"
|
7
9
|
require "action_view/railtie"
|
8
10
|
require "sprockets/railtie"
|
9
11
|
# require "rails/test_unit/railtie"
|
@@ -26,7 +28,7 @@ module Dummy
|
|
26
28
|
# config.i18n.default_locale = :de
|
27
29
|
|
28
30
|
# Do not swallow errors in after_commit/after_rollback callbacks.
|
29
|
-
config.active_record.raise_in_transactional_callbacks = true
|
31
|
+
#config.active_record.raise_in_transactional_callbacks = true
|
30
32
|
end
|
31
33
|
end
|
32
34
|
|
@@ -4,7 +4,7 @@ require File.expand_path('../application', __FILE__)
|
|
4
4
|
# Initialize the Rails application.
|
5
5
|
Rails.application.initialize!
|
6
6
|
|
7
|
-
load "#{Rails.root}/db/schema.rb"
|
7
|
+
#load "#{Rails.root}/db/schema.rb"
|
8
8
|
#Dir[Rails.root.join("app/models/**/*.rb")].each { |f| require f }
|
9
9
|
Dir[Rails.root.join("app/admin/**/*.rb")].each { |f| require f }
|
10
10
|
Rails.application.reload_routes!
|
@@ -9,12 +9,16 @@ Rails.application.configure do
|
|
9
9
|
# Do not eager load code on boot.
|
10
10
|
config.eager_load = false
|
11
11
|
|
12
|
+
config.assets.unknown_asset_fallback = true
|
13
|
+
|
12
14
|
# Show full error reports and disable caching.
|
13
15
|
config.consider_all_requests_local = true
|
14
16
|
config.action_controller.perform_caching = false
|
15
17
|
|
18
|
+
config.assets.precompile += %w[active_admin.css active_admin.js]
|
19
|
+
|
16
20
|
# Don't care if the mailer can't send.
|
17
|
-
config.action_mailer.raise_delivery_errors = false
|
21
|
+
#config.action_mailer.raise_delivery_errors = false
|
18
22
|
|
19
23
|
# Print deprecation notices to the Rails logger.
|
20
24
|
config.active_support.deprecation = :log
|
@@ -10,6 +10,7 @@ Rails.application.configure do
|
|
10
10
|
# Rake tasks automatically ignore this option for performance.
|
11
11
|
config.eager_load = true
|
12
12
|
|
13
|
+
|
13
14
|
# Full error reports are disabled and caching is turned on.
|
14
15
|
config.consider_all_requests_local = false
|
15
16
|
config.action_controller.perform_caching = true
|
@@ -25,11 +26,13 @@ Rails.application.configure do
|
|
25
26
|
config.serve_static_files = ENV['RAILS_SERVE_STATIC_FILES'].present?
|
26
27
|
|
27
28
|
# Compress JavaScripts and CSS.
|
28
|
-
config.assets.js_compressor = :uglifier
|
29
|
-
|
29
|
+
#config.assets.js_compressor = :uglifier
|
30
|
+
config.assets.css_compressor = :sass
|
30
31
|
|
31
32
|
# Do not fallback to assets pipeline if a precompiled asset is missed.
|
32
|
-
config.assets.compile =
|
33
|
+
config.assets.compile = true
|
34
|
+
config.assets.unknown_asset_fallback = true
|
35
|
+
config.assets.precompile += %w[active_admin.css active_admin.js]
|
33
36
|
|
34
37
|
# Asset digests allow you to set far-future HTTP expiration dates on all assets,
|
35
38
|
# yet still be able to expire them through the digest params.
|
@@ -12,6 +12,7 @@ Dummy::Application.configure do
|
|
12
12
|
# preloads Rails for running tests, you may have to set it to true.
|
13
13
|
config.eager_load = false
|
14
14
|
|
15
|
+
|
15
16
|
# Configure static file server for tests with Cache-Control for performance.
|
16
17
|
config.serve_static_files = true
|
17
18
|
config.static_cache_control = 'public, max-age=3600'
|
@@ -26,11 +27,17 @@ Dummy::Application.configure do
|
|
26
27
|
# Disable request forgery protection in test environment.
|
27
28
|
config.action_controller.allow_forgery_protection = false
|
28
29
|
|
30
|
+
config.assets.compile = true
|
31
|
+
config.assets.precompile += %w[active_admin.css active_admin.js]
|
32
|
+
config.assets.digest = false
|
33
|
+
config.active_support.deprecation = :stderr
|
34
|
+
|
35
|
+
|
29
36
|
# Tell Action Mailer not to deliver emails to the real world.
|
30
37
|
# The :test delivery method accumulates sent emails in the
|
31
38
|
# ActionMailer::Base.deliveries array.
|
32
|
-
config.action_mailer.perform_deliveries = false
|
33
|
-
config.action_mailer.delivery_method = :test
|
39
|
+
#config.action_mailer.perform_deliveries = false
|
40
|
+
#config.action_mailer.delivery_method = :test
|
34
41
|
|
35
42
|
# Randomize the order test cases are executed.
|
36
43
|
config.active_support.test_order = :random
|
@@ -1,7 +1,9 @@
|
|
1
1
|
# Be sure to restart your server when you modify this file.
|
2
2
|
|
3
3
|
# Version of your assets, change this if you want to expire all your assets.
|
4
|
-
Rails.application.config.assets.version = '1.
|
4
|
+
#Rails.application.config.assets.version = '1.2'
|
5
|
+
|
6
|
+
Rails.application.config.assets.precompile += %w[active_admin.css active_admin.js]
|
5
7
|
|
6
8
|
# Add additional assets to the asset load path
|
7
9
|
# Rails.application.config.assets.paths << Emoji.images_path
|
data/spec/dummy/config/routes.rb
CHANGED
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1,51 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
class AddDeviseToAdminUsers < ActiveRecord::Migration[5.2]
|
4
|
+
def self.up
|
5
|
+
change_table :admin_users do |t|
|
6
|
+
## Database authenticatable
|
7
|
+
t.string :email, null: false, default: ""
|
8
|
+
t.string :encrypted_password, null: false, default: ""
|
9
|
+
|
10
|
+
## Recoverable
|
11
|
+
t.string :reset_password_token
|
12
|
+
t.datetime :reset_password_sent_at
|
13
|
+
|
14
|
+
## Rememberable
|
15
|
+
t.datetime :remember_created_at
|
16
|
+
|
17
|
+
## Trackable
|
18
|
+
# t.integer :sign_in_count, default: 0, null: false
|
19
|
+
# t.datetime :current_sign_in_at
|
20
|
+
# t.datetime :last_sign_in_at
|
21
|
+
# t.string :current_sign_in_ip
|
22
|
+
# t.string :last_sign_in_ip
|
23
|
+
|
24
|
+
## Confirmable
|
25
|
+
# t.string :confirmation_token
|
26
|
+
# t.datetime :confirmed_at
|
27
|
+
# t.datetime :confirmation_sent_at
|
28
|
+
# t.string :unconfirmed_email # Only if using reconfirmable
|
29
|
+
|
30
|
+
## Lockable
|
31
|
+
# t.integer :failed_attempts, default: 0, null: false # Only if lock strategy is :failed_attempts
|
32
|
+
# t.string :unlock_token # Only if unlock strategy is :email or :both
|
33
|
+
# t.datetime :locked_at
|
34
|
+
|
35
|
+
|
36
|
+
# Uncomment below if timestamps were not included in your original model.
|
37
|
+
# t.timestamps null: false
|
38
|
+
end
|
39
|
+
|
40
|
+
add_index :admin_users, :email, unique: true
|
41
|
+
add_index :admin_users, :reset_password_token, unique: true
|
42
|
+
# add_index :admin_users, :confirmation_token, unique: true
|
43
|
+
# add_index :admin_users, :unlock_token, unique: true
|
44
|
+
end
|
45
|
+
|
46
|
+
def self.down
|
47
|
+
# By default, we don't want to make any assumption about how to roll back a migration when your
|
48
|
+
# model already existed. Please edit below which fields you would like to remove in this migration.
|
49
|
+
raise ActiveRecord::IrreversibleMigration
|
50
|
+
end
|
51
|
+
end
|
@@ -0,0 +1,34 @@
|
|
1
|
+
$:.push File.expand_path("../lib", __FILE__)
|
2
|
+
|
3
|
+
# Maintain your gem's version:
|
4
|
+
require "introspective_admin/version"
|
5
|
+
require "introspective_admin/base"
|
6
|
+
|
7
|
+
# Describe your gem and declare its dependencies:
|
8
|
+
Gem::Specification.new do |s|
|
9
|
+
s.name = "introspective_admin"
|
10
|
+
s.version = IntrospectiveAdmin::VERSION
|
11
|
+
s.authors = ["Josh Buermann"]
|
12
|
+
s.email = ["buermann@gmail.com"]
|
13
|
+
s.homepage = "https://github.com/buermann/introspective_admin"
|
14
|
+
s.summary = "Set up basic ActiveAdmin screens for an ActiveRecord model."
|
15
|
+
s.description = "Set up basic ActiveAdmin screens for an ActiveRecord model."
|
16
|
+
s.license = "MIT"
|
17
|
+
|
18
|
+
s.files = `git ls-files`.split("\n").sort
|
19
|
+
s.test_files = `git ls-files -- spec/*`.split("\n")
|
20
|
+
|
21
|
+
s.required_ruby_version = '>= 2.7.0'
|
22
|
+
|
23
|
+
s.add_dependency 'rails'
|
24
|
+
s.add_dependency 'activeadmin'
|
25
|
+
s.add_dependency 'sass-rails'
|
26
|
+
s.add_dependency 'sass'
|
27
|
+
|
28
|
+
if RUBY_PLATFORM == 'java'
|
29
|
+
s.add_development_dependency "activerecord-jdbcsqlite3-adapter"
|
30
|
+
else
|
31
|
+
s.add_development_dependency "sqlite3"
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
data/spec/rails_helper.rb
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
require 'coveralls'
|
2
|
+
require 'rails-controller-testing'
|
2
3
|
Coveralls.wear!('rails')
|
3
4
|
ENV["RAILS_ENV"] = 'test'
|
4
5
|
require File.expand_path("../dummy/config/environment", __FILE__)
|
@@ -7,14 +8,16 @@ Dir[Rails.root.join("../support/**/*.rb")].each { |f| require f }
|
|
7
8
|
|
8
9
|
|
9
10
|
RSpec.configure do |config|
|
10
|
-
config.include Devise::TestHelpers, type: :controller
|
11
|
+
#config.include Devise::TestHelpers, type: :controller
|
11
12
|
config.use_transactional_fixtures = true
|
12
13
|
config.infer_spec_type_from_file_location!
|
13
14
|
config.expect_with(:rspec) { |c| c.syntax = :should }
|
14
15
|
end
|
15
16
|
|
17
|
+
RSpec::Mocks.configuration.allow_message_expectations_on_nil = true
|
18
|
+
|
16
19
|
# Devise isn't initializing properly in the dummy app, stub it out for now.
|
17
|
-
Devise.token_generator ||= Devise::TokenGenerator.new(Devise::CachingKeyGenerator.new(Devise::KeyGenerator.new(Devise.secret_key)))
|
20
|
+
#Devise.token_generator ||= Devise::TokenGenerator.new(Devise::CachingKeyGenerator.new(Devise::KeyGenerator.new(Devise.secret_key)))
|
18
21
|
class Devise::Mailer
|
19
22
|
def self.confirmation_instructions(a,b,c)
|
20
23
|
Devise::Mailer.new
|
metadata
CHANGED
@@ -1,17 +1,17 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: introspective_admin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 0.9.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Josh Buermann
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-03-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
14
|
+
name: rails
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
@@ -25,55 +25,13 @@ dependencies:
|
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
28
|
+
name: activeadmin
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '0'
|
34
|
-
type: :
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
37
|
-
requirements:
|
38
|
-
- - ">="
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: '0'
|
41
|
-
- !ruby/object:Gem::Dependency
|
42
|
-
name: rspec-rails
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
44
|
-
requirements:
|
45
|
-
- - ">="
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version: '3.0'
|
48
|
-
type: :development
|
49
|
-
prerelease: false
|
50
|
-
version_requirements: !ruby/object:Gem::Requirement
|
51
|
-
requirements:
|
52
|
-
- - ">="
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: '3.0'
|
55
|
-
- !ruby/object:Gem::Dependency
|
56
|
-
name: devise
|
57
|
-
requirement: !ruby/object:Gem::Requirement
|
58
|
-
requirements:
|
59
|
-
- - ">="
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: '0'
|
62
|
-
type: :development
|
63
|
-
prerelease: false
|
64
|
-
version_requirements: !ruby/object:Gem::Requirement
|
65
|
-
requirements:
|
66
|
-
- - ">="
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
version: '0'
|
69
|
-
- !ruby/object:Gem::Dependency
|
70
|
-
name: devise-async
|
71
|
-
requirement: !ruby/object:Gem::Requirement
|
72
|
-
requirements:
|
73
|
-
- - ">="
|
74
|
-
- !ruby/object:Gem::Version
|
75
|
-
version: '0'
|
76
|
-
type: :development
|
34
|
+
type: :runtime
|
77
35
|
prerelease: false
|
78
36
|
version_requirements: !ruby/object:Gem::Requirement
|
79
37
|
requirements:
|
@@ -81,13 +39,13 @@ dependencies:
|
|
81
39
|
- !ruby/object:Gem::Version
|
82
40
|
version: '0'
|
83
41
|
- !ruby/object:Gem::Dependency
|
84
|
-
name:
|
42
|
+
name: sass-rails
|
85
43
|
requirement: !ruby/object:Gem::Requirement
|
86
44
|
requirements:
|
87
45
|
- - ">="
|
88
46
|
- !ruby/object:Gem::Version
|
89
47
|
version: '0'
|
90
|
-
type: :
|
48
|
+
type: :runtime
|
91
49
|
prerelease: false
|
92
50
|
version_requirements: !ruby/object:Gem::Requirement
|
93
51
|
requirements:
|
@@ -95,13 +53,13 @@ dependencies:
|
|
95
53
|
- !ruby/object:Gem::Version
|
96
54
|
version: '0'
|
97
55
|
- !ruby/object:Gem::Dependency
|
98
|
-
name:
|
56
|
+
name: sass
|
99
57
|
requirement: !ruby/object:Gem::Requirement
|
100
58
|
requirements:
|
101
59
|
- - ">="
|
102
60
|
- !ruby/object:Gem::Version
|
103
61
|
version: '0'
|
104
|
-
type: :
|
62
|
+
type: :runtime
|
105
63
|
prerelease: false
|
106
64
|
version_requirements: !ruby/object:Gem::Requirement
|
107
65
|
requirements:
|
@@ -109,7 +67,7 @@ dependencies:
|
|
109
67
|
- !ruby/object:Gem::Version
|
110
68
|
version: '0'
|
111
69
|
- !ruby/object:Gem::Dependency
|
112
|
-
name:
|
70
|
+
name: sqlite3
|
113
71
|
requirement: !ruby/object:Gem::Requirement
|
114
72
|
requirements:
|
115
73
|
- - ">="
|
@@ -129,8 +87,10 @@ executables: []
|
|
129
87
|
extensions: []
|
130
88
|
extra_rdoc_files: []
|
131
89
|
files:
|
90
|
+
- ".DS_Store"
|
132
91
|
- ".coveralls.yml"
|
133
92
|
- ".gitignore"
|
93
|
+
- ".ruby-version"
|
134
94
|
- ".travis.yml"
|
135
95
|
- CHANGELOG.md
|
136
96
|
- Gemfile
|
@@ -151,17 +111,23 @@ files:
|
|
151
111
|
- spec/admin/location_beacon_admin_spec.rb
|
152
112
|
- spec/admin/project__admin_spec.rb
|
153
113
|
- spec/admin/user_admin_spec.rb
|
114
|
+
- spec/dummy/Gemfile
|
154
115
|
- spec/dummy/README.rdoc
|
155
116
|
- spec/dummy/Rakefile
|
117
|
+
- spec/dummy/app/admin/admin_users.rb
|
156
118
|
- spec/dummy/app/admin/company_admin.rb
|
119
|
+
- spec/dummy/app/admin/dashboard.rb
|
157
120
|
- spec/dummy/app/admin/job_admin.rb
|
158
121
|
- spec/dummy/app/admin/location_admin.rb
|
159
122
|
- spec/dummy/app/admin/location_beacon_admin.rb
|
160
123
|
- spec/dummy/app/admin/project_admin.rb
|
161
124
|
- spec/dummy/app/admin/role_admin.rb
|
162
125
|
- spec/dummy/app/admin/user_admin.rb
|
126
|
+
- spec/dummy/app/assets/config/manifest.js
|
163
127
|
- spec/dummy/app/assets/images/.keep
|
128
|
+
- spec/dummy/app/assets/javascripts/active_admin.js
|
164
129
|
- spec/dummy/app/assets/javascripts/application.js
|
130
|
+
- spec/dummy/app/assets/stylesheets/active_admin.scss
|
165
131
|
- spec/dummy/app/assets/stylesheets/application.css
|
166
132
|
- spec/dummy/app/controllers/application_controller.rb
|
167
133
|
- spec/dummy/app/controllers/concerns/.keep
|
@@ -208,11 +174,14 @@ files:
|
|
208
174
|
- spec/dummy/config/initializers/mime_types.rb
|
209
175
|
- spec/dummy/config/initializers/session_store.rb
|
210
176
|
- spec/dummy/config/initializers/wrap_parameters.rb
|
177
|
+
- spec/dummy/config/initializers/zeitwerk.rb
|
211
178
|
- spec/dummy/config/locales/devise.en.yml
|
212
179
|
- spec/dummy/config/locales/en.yml
|
213
180
|
- spec/dummy/config/routes.rb
|
214
181
|
- spec/dummy/config/secrets.yml
|
215
182
|
- spec/dummy/db/development.sqlite3
|
183
|
+
- spec/dummy/db/development.sqlite3-shm
|
184
|
+
- spec/dummy/db/development.sqlite3-wal
|
216
185
|
- spec/dummy/db/migrate/20141002205024_devise_create_users.rb
|
217
186
|
- spec/dummy/db/migrate/20141002211055_devise_create_admin_users.rb
|
218
187
|
- spec/dummy/db/migrate/20141002211057_create_active_admin_comments.rb
|
@@ -238,7 +207,9 @@ files:
|
|
238
207
|
- spec/dummy/db/migrate/20150727214950_add_confirmable_to_devise.rb
|
239
208
|
- spec/dummy/db/migrate/20150820190524_add_user_names.rb
|
240
209
|
- spec/dummy/db/migrate/20150909225019_add_password_to_project.rb
|
210
|
+
- spec/dummy/db/migrate/20220806003731_add_devise_to_admin_users.rb
|
241
211
|
- spec/dummy/db/schema.rb
|
212
|
+
- spec/dummy/introspective_admin.gemspec
|
242
213
|
- spec/dummy/lib/assets/.keep
|
243
214
|
- spec/dummy/log/.keep
|
244
215
|
- spec/dummy/public/404.html
|
@@ -252,7 +223,7 @@ homepage: https://github.com/buermann/introspective_admin
|
|
252
223
|
licenses:
|
253
224
|
- MIT
|
254
225
|
metadata: {}
|
255
|
-
post_install_message:
|
226
|
+
post_install_message:
|
256
227
|
rdoc_options: []
|
257
228
|
require_paths:
|
258
229
|
- lib
|
@@ -260,16 +231,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
260
231
|
requirements:
|
261
232
|
- - ">="
|
262
233
|
- !ruby/object:Gem::Version
|
263
|
-
version:
|
234
|
+
version: 2.7.0
|
264
235
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
265
236
|
requirements:
|
266
237
|
- - ">="
|
267
238
|
- !ruby/object:Gem::Version
|
268
239
|
version: '0'
|
269
240
|
requirements: []
|
270
|
-
|
271
|
-
|
272
|
-
signing_key:
|
241
|
+
rubygems_version: 3.1.6
|
242
|
+
signing_key:
|
273
243
|
specification_version: 4
|
274
244
|
summary: Set up basic ActiveAdmin screens for an ActiveRecord model.
|
275
245
|
test_files:
|
@@ -279,17 +249,23 @@ test_files:
|
|
279
249
|
- spec/admin/location_beacon_admin_spec.rb
|
280
250
|
- spec/admin/project__admin_spec.rb
|
281
251
|
- spec/admin/user_admin_spec.rb
|
252
|
+
- spec/dummy/Gemfile
|
282
253
|
- spec/dummy/README.rdoc
|
283
254
|
- spec/dummy/Rakefile
|
255
|
+
- spec/dummy/app/admin/admin_users.rb
|
284
256
|
- spec/dummy/app/admin/company_admin.rb
|
257
|
+
- spec/dummy/app/admin/dashboard.rb
|
285
258
|
- spec/dummy/app/admin/job_admin.rb
|
286
259
|
- spec/dummy/app/admin/location_admin.rb
|
287
260
|
- spec/dummy/app/admin/location_beacon_admin.rb
|
288
261
|
- spec/dummy/app/admin/project_admin.rb
|
289
262
|
- spec/dummy/app/admin/role_admin.rb
|
290
263
|
- spec/dummy/app/admin/user_admin.rb
|
264
|
+
- spec/dummy/app/assets/config/manifest.js
|
291
265
|
- spec/dummy/app/assets/images/.keep
|
266
|
+
- spec/dummy/app/assets/javascripts/active_admin.js
|
292
267
|
- spec/dummy/app/assets/javascripts/application.js
|
268
|
+
- spec/dummy/app/assets/stylesheets/active_admin.scss
|
293
269
|
- spec/dummy/app/assets/stylesheets/application.css
|
294
270
|
- spec/dummy/app/controllers/application_controller.rb
|
295
271
|
- spec/dummy/app/controllers/concerns/.keep
|
@@ -336,11 +312,14 @@ test_files:
|
|
336
312
|
- spec/dummy/config/initializers/mime_types.rb
|
337
313
|
- spec/dummy/config/initializers/session_store.rb
|
338
314
|
- spec/dummy/config/initializers/wrap_parameters.rb
|
315
|
+
- spec/dummy/config/initializers/zeitwerk.rb
|
339
316
|
- spec/dummy/config/locales/devise.en.yml
|
340
317
|
- spec/dummy/config/locales/en.yml
|
341
318
|
- spec/dummy/config/routes.rb
|
342
319
|
- spec/dummy/config/secrets.yml
|
343
320
|
- spec/dummy/db/development.sqlite3
|
321
|
+
- spec/dummy/db/development.sqlite3-shm
|
322
|
+
- spec/dummy/db/development.sqlite3-wal
|
344
323
|
- spec/dummy/db/migrate/20141002205024_devise_create_users.rb
|
345
324
|
- spec/dummy/db/migrate/20141002211055_devise_create_admin_users.rb
|
346
325
|
- spec/dummy/db/migrate/20141002211057_create_active_admin_comments.rb
|
@@ -366,7 +345,9 @@ test_files:
|
|
366
345
|
- spec/dummy/db/migrate/20150727214950_add_confirmable_to_devise.rb
|
367
346
|
- spec/dummy/db/migrate/20150820190524_add_user_names.rb
|
368
347
|
- spec/dummy/db/migrate/20150909225019_add_password_to_project.rb
|
348
|
+
- spec/dummy/db/migrate/20220806003731_add_devise_to_admin_users.rb
|
369
349
|
- spec/dummy/db/schema.rb
|
350
|
+
- spec/dummy/introspective_admin.gemspec
|
370
351
|
- spec/dummy/lib/assets/.keep
|
371
352
|
- spec/dummy/log/.keep
|
372
353
|
- spec/dummy/public/404.html
|