Skip to content

Commit 2cd366c

Browse files
author
github-actions
committed
update with project-syncing action
1 parent f477233 commit 2cd366c

File tree

5 files changed

+93
-10
lines changed

5 files changed

+93
-10
lines changed

Gemfile

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -56,32 +56,36 @@ group :development do
5656
gem "web-console"
5757
end
5858

59-
# Additional gems for AppDev 2
59+
# Additional gems for AppDev
6060
gem "active_link_to"
61+
gem "appdev_support"
6162
gem "awesome_print"
63+
gem "devise"
6264
gem "dotenv"
65+
gem "carrierwave"
66+
gem "cloudinary"
6367
gem "faker"
6468
gem "htmlbeautifier"
6569
gem "http"
66-
gem "table_print"
67-
gem "simple_form"
68-
gem "devise"
70+
gem "kaminari"
71+
gem "openai-chat"
6972
gem "pundit"
7073
gem "ransack"
74+
gem "simple_form"
7175
gem "strip_attributes"
7276
gem "validate_url"
73-
gem "carrierwave"
74-
gem "cloudinary"
75-
gem "kaminari"
7677

7778
group :development do
7879
gem "annotaterb"
7980
gem "better_errors"
8081
gem "binding_of_caller"
82+
gem "dev_toolbar", "~> 2.1.0"
83+
gem "draft_generators"
84+
gem "haikunator"
8185
gem "pry-rails"
86+
gem "rails_db", "~> 2.5.0"
8287
gem "rails-erd"
8388
gem "rufo"
84-
gem "haikunator"
8589
end
8690

8791
group :development, :test do

Gemfile.lock

Lines changed: 35 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,8 @@ GEM
7878
addressable (2.8.7)
7979
public_suffix (>= 2.0.2, < 7.0)
8080
annotaterb (4.14.0)
81+
appdev_support (0.2.1)
82+
tabulo
8183
ast (2.4.2)
8284
awesome_print (1.9.2)
8385
base64 (0.2.0)
@@ -128,11 +130,14 @@ GEM
128130
bigdecimal
129131
rexml
130132
crass (1.0.6)
133+
csv (3.3.5)
131134
date (3.4.1)
132135
debug (1.10.0)
133136
irb (~> 1.10)
134137
reline (>= 0.3.8)
135138
debug_inspector (1.2.0)
139+
dev_toolbar (2.1.0)
140+
rails (>= 7.0)
136141
devise (4.9.4)
137142
bcrypt (~> 3.0)
138143
orm_adapter (~> 0.1)
@@ -142,6 +147,9 @@ GEM
142147
diff-lcs (1.6.0)
143148
domain_name (0.6.20240107)
144149
dotenv (3.1.7)
150+
draft_generators (0.0.4)
151+
devise
152+
indefinite_article
145153
drb (2.2.1)
146154
ed25519 (1.3.0)
147155
erubi (1.13.1)
@@ -204,6 +212,8 @@ GEM
204212
actionpack (>= 6.0.0)
205213
activesupport (>= 6.0.0)
206214
railties (>= 6.0.0)
215+
indefinite_article (0.2.5)
216+
activesupport
207217
io-console (0.8.0)
208218
irb (1.15.1)
209219
pp (>= 0.6.0)
@@ -253,6 +263,10 @@ GEM
253263
marcel (1.0.4)
254264
matrix (0.4.2)
255265
method_source (1.1.0)
266+
mime-types (3.7.0)
267+
logger
268+
mime-types-data (~> 3.2025, >= 3.2025.0507)
269+
mime-types-data (3.2025.0708)
256270
mini_magick (5.2.0)
257271
benchmark
258272
logger
@@ -297,6 +311,8 @@ GEM
297311
faraday (>= 1, < 3)
298312
sawyer (~> 0.9)
299313
oj (3.13.23)
314+
openai-chat (0.0.6)
315+
mime-types (~> 3.0)
300316
orm_adapter (0.5.0)
301317
ostruct (0.6.1)
302318
parallel (1.26.3)
@@ -365,6 +381,14 @@ GEM
365381
rails-html-sanitizer (1.6.2)
366382
loofah (~> 2.21)
367383
nokogiri (>= 1.15.7, != 1.16.7, != 1.16.6, != 1.16.5, != 1.16.4, != 1.16.3, != 1.16.2, != 1.16.1, != 1.16.0.rc1, != 1.16.0)
384+
rails_db (2.5.0)
385+
activerecord
386+
csv
387+
kaminari
388+
rails (>= 5.0.0)
389+
ransack (>= 2.3.2)
390+
simple_form (>= 5.0.1)
391+
terminal-table
368392
railties (8.0.2)
369393
actionpack (= 8.0.2)
370394
activesupport (= 8.0.2)
@@ -490,14 +514,19 @@ GEM
490514
stringio (3.1.5)
491515
strip_attributes (2.0.0)
492516
activemodel (>= 3.0, < 9.0)
493-
table_print (1.5.7)
517+
tabulo (3.0.3)
518+
tty-screen (= 0.8.2)
519+
unicode-display_width (~> 3.0)
520+
terminal-table (4.0.0)
521+
unicode-display_width (>= 1.1.1, < 4)
494522
thor (1.3.2)
495523
thruster (0.1.12)
496524
thruster (0.1.12-aarch64-linux)
497525
thruster (0.1.12-arm64-darwin)
498526
thruster (0.1.12-x86_64-darwin)
499527
thruster (0.1.12-x86_64-linux)
500528
timeout (0.4.3)
529+
tty-screen (0.8.2)
501530
turbo-rails (2.0.13)
502531
actionpack (>= 7.1.0)
503532
railties (>= 7.1.0)
@@ -547,6 +576,7 @@ PLATFORMS
547576
DEPENDENCIES
548577
active_link_to
549578
annotaterb
579+
appdev_support
550580
awesome_print
551581
better_errors
552582
binding_of_caller
@@ -556,8 +586,10 @@ DEPENDENCIES
556586
carrierwave
557587
cloudinary
558588
debug
589+
dev_toolbar (~> 2.1.0)
559590
devise
560591
dotenv
592+
draft_generators
561593
faker
562594
grade_runner (~> 0.0.13)
563595
haikunator
@@ -567,6 +599,7 @@ DEPENDENCIES
567599
jbuilder
568600
kamal
569601
kaminari
602+
openai-chat
570603
pg (~> 1.1)
571604
propshaft
572605
pry-rails
@@ -575,6 +608,7 @@ DEPENDENCIES
575608
rails (~> 8.0.2)
576609
rails-controller-testing
577610
rails-erd
611+
rails_db (~> 2.5.0)
578612
ransack
579613
rspec-html-matchers
580614
rspec-rails (~> 7.1.1)
@@ -588,7 +622,6 @@ DEPENDENCIES
588622
solid_queue
589623
stimulus-rails
590624
strip_attributes
591-
table_print
592625
thruster
593626
turbo-rails
594627
tzinfo-data

config/initializers/appdev_support.rb

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
AppdevSupport.config do |config|
2+
config.action_dispatch = true
3+
config.active_record = true
4+
config.pryrc = :minimal
5+
end
6+
7+
AppdevSupport.init

config/initializers/dev_toolbar.rb

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
if Rails.env.development?
2+
DevToolbar.configure do |config|
3+
config.links = [
4+
{ name: "Routes", path: "/rails/info/routes" },
5+
{ name: "Database", path: "/rails/db" },
6+
{ name: "ERD", path: "/erd" }
7+
]
8+
end
9+
end

config/initializers/rails_db.rb

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
if Object.const_defined?("RailsDb")
2+
RailsDb.setup do |config|
3+
# # enabled or not
4+
# config.enabled = Rails.env.development?
5+
6+
# # automatic engine routes mounting
7+
# config.automatic_routes_mount = true
8+
9+
# set tables which you want to hide ONLY
10+
config.black_list_tables = [ "ar_internal_metadata", "solid_cable_messages", "solid_cache_entries", "solid_queue_blocked_executions", "solid_queue_claimed_executions", "solid_queue_failed_executions", "solid_queue_jobs", "solid_queue_pauses", "solid_queue_processes", "solid_queue_ready_executions", "solid_queue_recurring_executions", "solid_queue_recurring_tasks", "solid_queue_scheduled_executions", "solid_queue_semaphores" ]
11+
12+
# set tables which you want to show ONLY
13+
# config.white_list_tables = ['posts', 'comments']
14+
15+
# # Enable http basic authentication
16+
# config.http_basic_authentication_enabled = false
17+
18+
# # Enable http basic authentication
19+
# config.http_basic_authentication_user_name = 'rails_db'
20+
21+
# # Enable http basic authentication
22+
# config.http_basic_authentication_password = 'password'
23+
24+
# # Enable verify access proc
25+
# config.verify_access_proc = proc { |controller| true }
26+
27+
# # Sandbox mode (only read-only operations)
28+
# config.sandbox = false
29+
end
30+
end

0 commit comments

Comments
 (0)