Skip to content

Commit 42d9ccc

Browse files
authored
Ruby cleanup (#180)
* chore: Phase 1 - Remove core Ruby files Removed: - Gemfile, Gemfile.lock - Rakefile, config.ru - docker-entry.sh, Procfile * chore: Phase 2 - Remove Rails application directory Removed app/ including: - channels/, controllers/, jobs/, mailers/ - models/, services/, views/, workers/ - javascript/ * chore: Phase 3 - Remove Ruby bot code Removed lib/ including: - lib/bot/commands/ (11 Ruby commands) - lib/bot/events/ (6 Ruby events) - lib/bot.rb - lib/tasks/ * chore: Phase 4 - Remove Rails configuration Removed config/ including: - application.rb, boot.rb, environment.rb - database.yml, routes.rb, puma.rb - environments/ (3 files) - initializers/ (11 files) - locales/ * chore: Phase 5 - Remove Rails scripts Removed bin/ including: - rails, rake, setup, spring - db_setup.sh * chore: Phase 6 - Remove Ruby test files Removed: - spec/ (RSpec tests) - test/ (Rails system tests) * chore: Phase 7 - Remove Rails database directory Removed db/ including: - schema.rb (duplicated in prisma/schema.prisma) - seeds.rb (empty) - migrate/*.rb (12 migration files) * chore: Phase 8 - Remove static Rails directories Removed: - public/ (Rails static files) - storage/ (Active Storage) - tmp/, log/ (temp/log files) - vendor/ * chore: Phase 9 - Remove Ruby config files Removed: - .rubocop.yml (Ruby linting) - .travis.yml (Travis CI) - .browserslistrc (Webpacker) - scripts/invite_stats.rb * chore: Phase 10 - Rename Procfile.node to Procfile * chore: Phase 11 - Mark cleanup plan as completed * Get rid of brakeman * docs: Phase 11 - Update documentation for TypeScript stack - Rewrote README.md with TypeScript setup instructions - Cleaned up .gitignore (removed Ruby entries, kept Node.js entries) * SEND IT
1 parent 6b0b60a commit 42d9ccc

File tree

200 files changed

+318
-5453
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

200 files changed

+318
-5453
lines changed

.browserslistrc

Lines changed: 0 additions & 1 deletion
This file was deleted.

.github/workflows/brakeman-analysis.yml

Lines changed: 0 additions & 46 deletions
This file was deleted.

.gitignore

Lines changed: 27 additions & 68 deletions
Original file line numberDiff line numberDiff line change
@@ -1,77 +1,36 @@
1-
*.rbc
2-
capybara-*.html
3-
.rspec
4-
/db/*.sqlite3
5-
/db/*.sqlite3-journal
6-
/db/*.sqlite3-[0-9]*
7-
/public/system
8-
/coverage/
9-
/spec/tmp
10-
*.orig
11-
rerun.txt
12-
pickle-email-*.html
13-
14-
# Ignore all logfiles and tempfiles.
15-
/log/*
16-
/tmp/*
17-
!/log/.keep
18-
!/tmp/.keep
19-
20-
# TODO Comment out this rule if you are OK with secrets being uploaded to the repo
21-
config/initializers/secret_token.rb
22-
config/master.key
1+
# Dependencies
2+
node_modules/
233

24-
# Only include if you have production secrets in this file, which is no longer a Rails default
25-
# config/secrets.yml
4+
# Build output
5+
dist/
266

27-
# dotenv
28-
# TODO Comment out this rule if environment variables can be committed
7+
# Environment variables
298
.env
9+
.env.local
10+
.env.*.local
3011

31-
## Environment normalization:
32-
/.bundle
33-
/vendor/bundle
34-
35-
# these should all be checked in to normalize the environment:
36-
# Gemfile.lock, .ruby-version, .ruby-gemset
37-
38-
# unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
39-
.rvmrc
12+
# Logs
13+
logs/
14+
*.log
15+
npm-debug.log*
4016

41-
# if using bower-rails ignore default bower_components path bower.json files
42-
/vendor/assets/bower_components
43-
*.bowerrc
44-
bower.json
17+
# IDE
18+
.idea/
19+
.vscode/
20+
*.swp
21+
*.swo
4522

46-
# Ignore pow environment settings
47-
.powenv
23+
# OS files
24+
.DS_Store
25+
Thumbs.db
4826

49-
# Ignore Byebug command history file.
50-
.byebug_history
27+
# Test coverage
28+
coverage/
5129

52-
# Ignore node_modules
53-
node_modules/
54-
55-
# TypeScript build output
56-
dist/
57-
58-
# Ignore precompiled javascript packs
59-
/public/packs
60-
/public/packs-test
61-
/public/assets
30+
# Prisma
31+
prisma/*.db
32+
prisma/*.db-journal
6233

63-
# Ignore yarn files
64-
/yarn-error.log
65-
yarn-debug.log*
66-
.yarn-integrity
67-
68-
# Ignore uploaded files in development
69-
/storage/*
70-
!/storage/.keep
71-
72-
/public/packs
73-
/public/packs-test
74-
/node_modules
75-
/yarn-error.log
76-
yarn-debug.log*
77-
.yarn-integrity
34+
# Misc
35+
*.orig
36+
.cache/

0 commit comments

Comments
 (0)