Skip to content
Merged
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
6 changes: 0 additions & 6 deletions .github/workflows/rspec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,20 +44,14 @@ jobs:
env:
RAILS_ENV: test
run: bundle exec bin/rails db:schema:load
- name: Set up GPG
env:
GNUPGHOME: tmp/fauna_fake_gpg_home
run: mkdir tmp/fauna_fake_gpg_home && gpg -K && gpg --gen-key --batch spec/support/test_gpg_key_generation.batch

- name: Set up test user
env:
RAILS_ENV: test
GNUPGHOME: tmp/fauna_fake_gpg_home
run: bundle exec bin/setup -u admin -e admin@example.com -n admin -p foobarbaz

- name: Build and test with rspec
env:
GNUPGHOME: tmp/fauna_fake_gpg_home
RAILS_ENV: test
run: bundle exec rspec

Expand Down
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,10 @@

# Ignore Ruby installations
/vendor/bundle/ruby/

# Ignore precompiled assets
/public/assets/

# Ignore key files for decrypting credentials and more.
/config/*.key

41 changes: 9 additions & 32 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ source "https://rubygems.org"
git_source(:github) { |repo| "https://github.com/#{repo}.git" }

# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem "rails", "~> 7.0.8"
gem "rails", "~> 8.1.1"
gem "bootsnap"

# Use SCSS for stylesheets
gem "sass-rails"
gem "sprockets"
gem 'dartsass-sprockets'

# Use Uglifier as compressor for JavaScript assets
gem "uglifier"
Expand Down Expand Up @@ -42,14 +42,17 @@ gem "phony_rails"
gem "slim-rails"

# Use the Bootstrap CSS framework and the FA icon font
gem "bootstrap-sass"
gem "font-awesome-sass", "~> 4.0"
gem "bootstrap"
gem "font-awesome-sass", :github => 'sunbirddcim/font-awesome-sass'

# Gravatar helper
gem "gravatar-ultimate"
# Add Ruby 2.4.0 support
gem "xmlrpc"

# SpaceApi
gem 'ostruct'

# Use simple form for form building
gem "simple_form"
gem "cocoon"
Expand All @@ -58,12 +61,8 @@ gem "cocoon"
gem "kaminari"

# Use rolify and pundit for authorization
gem "rolify"
gem "pundit"

# GPG Signing
gem "mail-gpg"

# Asynchronous job execution
gem "delayed_job"
gem "delayed_job_active_record"
Expand All @@ -86,30 +85,6 @@ gem "matrix"
gem "rack-cors"

group :development do
# Use Capistrano for deployment
gem "capistrano"
gem "capistrano-rails"
gem "capistrano-bundler"
gem "capistrano-rbenv"
gem "net-ssh"

gem "pry"
gem "pry-rails"
gem "pry-doc"

# Continuous testing with Guard
gem "guard-rspec"

# Deploy to a puma server
gem "capistrano3-puma", "~> 5"

# Goodies for prettier printing of records in the console
gem "awesome_print"
gem "hirb"

gem "better_errors"
gem "binding_of_caller"

gem "web-console"
end

Expand Down Expand Up @@ -155,4 +130,6 @@ group :production do
gem "pg"

gem "puma"

gem "sd_notify"
end
Loading
Loading