Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert to a rails app to use ActiveRecord and other features #138

Open
wants to merge 13 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .chamber.pub.pem
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
-----BEGIN PUBLIC KEY-----
MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAp72S8GiuqB9AkwvxZAZ/
lV3R8zJR+g6pbR3JshrBW+4mBu08ChkHD04Ga3yzAKvMh2VkFfUI4dx+YTVylq0v
iDrdCuJbRNoI0xEWUW1aQzYkbKQsa/msDtY5uiXmUD85XwUq78+hWKscAKWBCKqi
KkbjyIT9AzZ5wAYS8R/Ek7S+tQXhB2QKkF9jWmoMPAxZmRzKDs8yQOeyL6Entd6e
By3+16uun+VrZYalEG6FqYlrfJJwWvcDDNpZfTSyi88ta08Plr/Vj+ArlgWf1PXV
MNQU9fs5WHQfqqXKmY+RK6ToYJiuSRzYHDpXFzrwmLe3K69d0EeBHhd5+pvfCQW9
oQIDAQAB
-----END PUBLIC KEY-----
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
*.gem
*.rbc
*.sqlite3*
/.config
/coverage/
/InstalledFiles
Expand All @@ -12,6 +13,9 @@
/test/version_tmp/
/tmp/

# node / yarn
node_modules

# Used by dotenv library to load environment variables.
.env

Expand All @@ -31,7 +35,6 @@

# for a library or gem, you might want to ignore these files since the code is
# intended to run in multiple environments; otherwise, check them in:
Gemfile.lock
# .ruby-version
# .ruby-gemset

Expand All @@ -51,3 +54,4 @@ google_api_client_credentials.json
.chamber*.pem
.chamber*.enc.pass
!.chamber*.pub.pem
config/*.key
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1 +1 @@
ruby 3.1.2
ruby 3.2.2
116 changes: 55 additions & 61 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,73 +1,67 @@
# frozen_string_literal: true

ruby "~> 3.1"

source "https://rubygems.org"

# https://github.com/rails/rails/tree/main/activesupport
gem "activesupport", "~> 7.0",
require: [
"active_support",
"active_support/core_ext/hash", # for reverse_merge and stringify_keys
"active_support/core_ext/integer", # for 1.year
"active_support/core_ext/numeric", # for 1.week
"active_support/core_ext/object", # for try
"active_support/core_ext/string" # for squish
]

# https://github.com/thekompanee/chamber
gem "chamber", "~> 3.0"

# https://github.com/mojombo/chronic
gem "chronic", "~> 0.10"

# https://github.com/fazibear/colorize
gem "colorize", "~> 1.0"

# https://github.com/bkeepers/dotenv
gem "dotenv", "~> 2.8", require: "dotenv/load"

# https://github.com/googleapis/google-auth-library-ruby
gem "googleauth", "~> 1.5"

# https://github.com/googleapis/google-api-ruby-client/tree/main/google-api-client/generated/google/apis/tasks_v1
gem "google-apis-tasks_v1", "~> 0.15"

# https://github.com/jnunemaker/httparty
gem "httparty", "~> 0.21"

# https://github.com/flavorjones/loofah
gem "loofah", "~> 2.20"

# https://github.com/panorama-ed/memo_wise
gem "memo_wise", "~> 1.7"

# https://github.com/sparklemotion/nokogiri
gem "nokogiri", "~> 1.14"

# https://gitlab.com/oauth-xx/oauth
gem "oauth", "~> 1.1"

# https://github.com/ManageIQ/optimist
gem "optimist", "~> 3.0"

# https://github.com/BrendanThompson/rb-scpt
gem "rb-scpt", "~> 1.0"

# https://github.com/jfelchner/ruby-progressbar
gem "ruby-progressbar", "~> 1.13"

# https://github.com/rails/thor
gem "thor", "~> 1.2"
git_source(:github) { |repo| "https://github.com/#{repo}.git" }

ruby "~> 3.2"
gem "rails"

gem "bootsnap", require: false
gem "chamber" # https://github.com/thekompanee/chamber
gem "chronic" # https://github.com/mojombo/chronic
gem "colorize" # https://github.com/fazibear/colorize
gem "cssbundling-rails" # https://github.com/rails/cssbundling-rails
gem "dotenv-rails" # https://github.com/bkeepers/dotenv
gem "google-apis-tasks_v1" # https://github.com/googleapis/google-api-ruby-client/tree/main/google-api-client/generated/google/apis/tasks_v1
gem "googleauth" # https://github.com/googleapis/google-auth-library-ruby
gem "httparty" # https://github.com/jnunemaker/httparty
gem "jsbundling-rails" # https://github.com/rails/jsbundling-rails
gem "loofah" # https://github.com/flavorjones/loofah
gem "nokogiri" # https://github.com/sparklemotion/nokogiri
gem "oauth" # https://gitlab.com/oauth-xx/oauth
gem "puma" # https://github.com/puma/puma
gem "rb-scpt" # https://github.com/BrendanThompson/rb-scpt
gem "ruby-progressbar" # https://github.com/jfelchner/ruby-progressbar
gem "sprockets-rails" # https://github.com/rails/sprockets-rails
gem "sqlite3"
gem "stimulus-rails" # https://stimulus.hotwired.dev
gem "thor" # https://github.com/rails/thor
gem "turbo-rails" # https://turbo.hotwired.dev

# Use Redis adapter to run Action Cable in production
gem "redis"

# Use Kredis to get higher-level data types in Redis [https://github.com/rails/kredis]
# gem "kredis"

# Use Active Model has_secure_password [https://guides.rubyonrails.org/active_model_basics.html#securepassword]
# gem "bcrypt", "~> 3.1.7"

group :development, :test do
# See https://guides.rubyonrails.org/debugging_rails_applications.html#debugging-with-the-debug-gem
gem "debug", platforms: %i[mri mingw x64_mingw]
gem "pry"
end

group :development do
gem "pry" # https://github.com/pry/pry
gem "annotate"
gem "rubocop"
gem "rubocop-performance"
gem "standard"
# Use console on exceptions pages [https://github.com/rails/web-console]
gem "web-console"

# Add speed badges [https://github.com/MiniProfiler/rack-mini-profiler]
# gem "rack-mini-profiler"

# Speed up commands on slow machines / big apps [https://github.com/rails/spring]
# gem "spring"
end

group :test do
gem "faker", "~> 3.2" # https://github.com/faker-ruby/faker
gem "rspec", "~> 3.10"
# Use system testing [https://guides.rubyonrails.org/testing.html#system-testing]
gem "capybara"
gem "faker" # https://github.com/faker-ruby/faker
gem "rspec-rails"
gem "selenium-webdriver"
end
Loading