Skip to content

Commit c02477e

Browse files
committed
Convert to a Rails app
1 parent f9d4bf3 commit c02477e

File tree

141 files changed

+9132
-1702
lines changed

Some content is hidden

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

141 files changed

+9132
-1702
lines changed

.DS_Store

8 KB
Binary file not shown.

.browserslistrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
defaults

.gitattributes

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# See https://git-scm.com/docs/gitattributes for more about git attribute files.
2+
3+
# Mark the database schema as having been generated.
4+
db/schema.rb linguist-generated
5+
6+
# Mark the yarn lockfile as having been generated.
7+
yarn.lock linguist-generated
8+
9+
# Mark any vendored files as having been vendored.
10+
vendor/* linguist-vendored

.gitignore

Lines changed: 35 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,36 @@
1-
.DS_Store
2-
bower_components/
3-
node_modules/
4-
log
1+
# See https://help.github.com/articles/ignoring-files for more about ignoring files.
2+
#
3+
# If you find yourself ignoring temporary files generated by your text editor
4+
# or operating system, you probably want to add a global ignore instead:
5+
# git config --global core.excludesfile '~/.gitignore_global'
56

7+
# Ignore bundler config.
8+
/.bundle
9+
10+
# Ignore all logfiles and tempfiles.
11+
/log/*
12+
/tmp/*
13+
!/log/.keep
14+
!/tmp/.keep
15+
16+
# Ignore pidfiles, but keep the directory.
17+
/tmp/pids/*
18+
!/tmp/pids/
19+
!/tmp/pids/.keep
20+
21+
# Ignore uploaded files in development.
22+
/storage/*
23+
!/storage/.keep
24+
25+
/public/assets
26+
.byebug_history
27+
28+
# Ignore master key for decrypting credentials and more.
29+
/config/master.key
30+
31+
/public/packs
32+
/public/packs-test
33+
/node_modules
34+
/yarn-error.log
35+
yarn-debug.log*
36+
.yarn-integrity

.ruby-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
jruby-9.1.17.0
1+
jruby-9.3.9.0

.tool-versions

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
ruby jruby-9.2.11.1
1+
ruby jruby-9.3.9.0
2+
java openjdk-19.0.2

Gemfile

Lines changed: 44 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,53 @@
1-
source "http://rubygems.org"
1+
source 'https://rubygems.org'
2+
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
23

3-
ruby '2.5.7', engine: 'jruby', engine_version: '9.2.11.1'
4+
ruby '2.6.8'
5+
6+
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails', branch: 'main'
7+
gem 'rails', '~> 6.1.7', '>= 6.1.7.2'
8+
# Use jdbcsqlite3 as the database for Active Record
9+
gem 'activerecord-jdbcpostgresql-adapter'
10+
# Use Puma as the app server
11+
gem 'puma', '~> 5.0'
12+
# Use SCSS for stylesheets
13+
gem 'sass-rails', '>= 6'
14+
# Transpile app-like JavaScript. Read more: https://github.com/rails/webpacker
15+
gem 'webpacker', '~> 5.0'
16+
# Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks
17+
gem 'turbolinks', '~> 5'
18+
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
19+
gem 'jbuilder', '~> 2.7'
20+
# Use Redis adapter to run Action Cable in production
21+
# gem 'redis', '~> 4.0'
22+
# Use Active Model has_secure_password
23+
# gem 'bcrypt', '~> 3.1.7'
24+
25+
# Use Active Storage variant
26+
# gem 'image_processing', '~> 1.2'
427

5-
gem 'activerecord-jdbcpostgresql-adapter', '~> 1.3.0'
6-
gem 'activesupport', '~> 4.0.0'
7-
gem 'jruby-parser', '~> 0.5.0'
8-
gem 'json_pure', '~> 1.8.0'
9-
gem 'puma', '~> 4.3.12'
1028
gem 'scuttle', github: 'camertron/scuttle-rb'
11-
gem 'sinatra', '~> 1.4.0'
12-
gem 'sinatra-activerecord', '~> 2.0.0'
13-
gem 'sinatra_auth_github', '~> 1.0.0'
14-
gem 'rake', '~> 13.0.1'
15-
gem 'rubyzip', '1.3.0'
29+
gem 'rubyzip', '~> 2.0'
30+
31+
# @TODO: replace this with the parser gem or syntax-tree
32+
gem 'jruby-parser', '~> 0.5.0'
33+
1634

1735
group :development do
18-
gem 'pry-nav', '~> 0.2.0'
36+
# Access an interactive console on exception pages or by calling 'console' anywhere in the code.
37+
gem 'web-console', '>= 4.1.0'
38+
# Display performance information such as SQL time and flame graphs for each request in your browser.
39+
# Can be configured to work on production as well see: https://github.com/MiniProfiler/rack-mini-profiler/blob/master/README.md
40+
gem 'rack-mini-profiler', '~> 2.0'
41+
gem 'listen', '~> 3.3'
1942
end
2043

2144
group :test do
22-
gem 'rack-test', '~> 0.6.0'
23-
gem 'rspec', '~> 2.14.0'
24-
gem 'rr', '~> 1.1.0'
45+
# Adds support for Capybara system testing and selenium driver
46+
gem 'capybara', '>= 3.26'
47+
gem 'selenium-webdriver', '>= 4.0.0.rc1'
48+
# Easy installation and use of web drivers to run system tests with browsers
49+
gem 'webdrivers'
2550
end
51+
52+
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
53+
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]

0 commit comments

Comments
 (0)