Commit 74dc59c
chore: Remove SQLite and streamline dependencies
Removed unnecessary dependencies for API-only application using Couchbase:
**Removed gems:**
- sqlite3 (not needed - using Couchbase as database)
- capybara (no system testing for API)
- selenium-webdriver (no browser automation needed)
- sprockets-rails (no asset pipeline for API)
- importmap-rails (no JavaScript imports needed)
- turbo-rails (no Hotwire features needed)
- stimulus-rails (no Stimulus controllers needed)
**Configuration changes:**
- Updated config/application.rb to load only required Rails components
- Excluded activerecord/railtie (using couchbase-orm instead)
- Excluded active_storage/engine and action_cable/railtie (not needed)
- Updated config/database.yml with clear note that it's not used
- Commented out ActiveRecord configurations in spec/rails_helper.rb
- Removed active_storage configuration from config/environments/test.rb
**Removed directories/files:**
- app/javascript/ (unused Stimulus controllers)
- db/ (no migrations with Couchbase)
- config/importmap.rb (not needed)
- config/initializers/assets.rb (no asset pipeline)
**Impact:**
- Reduced gem count and bundle size
- Faster boot time and bundle install
- Clearer developer onboarding (no SQLite confusion)
- All 27 tests passing
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>1 parent bb899a9 commit 74dc59c
File tree
12 files changed
+41
-102
lines changed- app/javascript
- controllers
- config
- environments
- initializers
- db
- spec
12 files changed
+41
-102
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | 8 | | |
15 | 9 | | |
16 | 10 | | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | 11 | | |
27 | 12 | | |
28 | 13 | | |
| |||
72 | 57 | | |
73 | 58 | | |
74 | 59 | | |
75 | | - | |
76 | | - | |
77 | | - | |
| 60 | + | |
78 | 61 | | |
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
4 | 21 | | |
5 | 22 | | |
6 | 23 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
6 | 4 | | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
7 | 9 | | |
8 | | - | |
9 | | - | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | 14 | | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | 15 | | |
20 | 16 | | |
21 | | - | |
22 | 17 | | |
23 | 18 | | |
24 | 19 | | |
25 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| |||
This file was deleted.
This file was deleted.
0 commit comments