Skip to content

Commit 74bb0e3

Browse files
authored
Merge pull request #1 from mclancy96/convert-to-rails
Complete Conversion to Rails
2 parents 707fa24 + 931324a commit 74bb0e3

File tree

77 files changed

+1168
-221
lines changed

Some content is hidden

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

77 files changed

+1168
-221
lines changed

Gemfile

Lines changed: 42 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,47 @@
1-
# A sample Gemfile
2-
source "https://rubygems.org"
1+
source 'https://rubygems.org'
2+
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
33

4-
# gem "rails"
4+
# Ruby 3.3+ compatibility gems
5+
gem 'bigdecimal'
6+
gem 'fiddle'
7+
gem 'logger'
8+
gem 'mutex_m'
9+
gem 'ostruct'
510

6-
gem 'sinatra'
7-
gem 'rack-protection', '~> 2.0', '>= 2.0.1'
8-
gem 'rake'
9-
gem 'thin'
10-
gem 'shotgun'
11-
gem 'pry'
12-
gem 'require_all'
11+
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails', branch: 'main'
12+
gem 'rails', '~> 6.1.3', '>= 6.1.3.1'
13+
# Use sqlite3 as the database for Active Record (updated for Ruby 3.3 compatibility)
14+
gem 'sqlite3', '~> 1.6.0'
15+
# Use Puma as the app server
16+
gem 'puma', '~> 5.0'
17+
# Asset pipeline gems
18+
gem 'sprockets-rails'
19+
gem 'stimulus-rails'
20+
gem 'turbo-rails'
21+
# nio4r for Ruby 3.3 compatibility
22+
gem 'nio4r', '~> 2.7'
23+
# Use Active Model has_secure_password
24+
# gem 'bcrypt', '~> 3.1.7'
1325

14-
group :test do
15-
gem 'rspec'
26+
# Use Rack CORS for handling Cross-Origin Resource Sharing (CORS), making cross-origin AJAX possible
27+
gem 'rack-cors'
28+
29+
group :development, :test do
30+
# Call 'byebug' anywhere in the code to stop execution and get a debugger console
31+
gem 'byebug', platforms: %i[mri mingw x64_mingw]
1632
gem 'capybara'
17-
gem 'rack-test'
18-
gem 'poltergeist'
33+
gem 'rspec-rails', '~> 5.0.0'
34+
end
35+
36+
group :development do
37+
gem 'listen', '~> 3.3'
38+
gem 'rubocop'
39+
end
40+
41+
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
42+
gem 'tzinfo-data', platforms: %i[mingw mswin x64_mingw jruby]
43+
44+
group :test do
45+
gem 'rspec-json_expectations'
46+
gem 'shoulda-matchers', '~> 4.0'
1947
end

0 commit comments

Comments
 (0)