Skip to content

Commit

Permalink
Merge pull request #137 from CDLUC3/development
Browse files Browse the repository at this point in the history
Pulling in latest release from DMPRoadmap and local bug fixes
  • Loading branch information
briri authored Jan 14, 2020
2 parents d3effea + f1afc6d commit 1cd9010
Show file tree
Hide file tree
Showing 150 changed files with 2,415 additions and 469 deletions.
20 changes: 20 additions & 0 deletions Capfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Load DSL and set up stages
require "capistrano/setup"

# Include default deployment tasks
require "capistrano/deploy"

# Load the SCM plugin appropriate to your project:
require "capistrano/scm/git"
install_plugin Capistrano::SCM::Git

require 'capistrano/bundler'

# TODO: Uncomment this for deployments to dmp-dev or roadmap-stg and permenantly once we have
# merged the latest changes into dmptool stage and prod
require "capistrano/rails/assets"

require 'capistrano/rails/migrations'

# Load custom tasks from `lib/capistrano/tasks` if you have any defined
Dir.glob("lib/capistrano/tasks/*.rake").each { |r| import r }
40 changes: 30 additions & 10 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,9 @@ group :puma do
end

# Bit fields for ActiveRecord (https://github.com/pboling/flag_shih_tzu)
gem 'flag_shih_tzu' # Allows for bitfields in activereccord
gem 'flag_shih_tzu', '~> 0.3.23' # Allows for bitfields in activereccord
# Pinned here because we're using a private method in Role.rb
# if this gets updated, check this method still exists

# ------------------------------------------------
# JSON DSL - USED BY API
Expand Down Expand Up @@ -110,8 +112,16 @@ gem 'recaptcha'
# Ideal gem for handling attachments in Rails, Sinatra and Rack applications. (http://github.com/markevans/dragonfly)
gem 'dragonfly'

group :aws, optional: true do

# ------------------------------------------------
# Start DMPTool customization
# For some reason capistrano's `set :bundle_with` is not working
# so we remove the optional flag to ensure this gem gets installed
# ------------------------------------------------
#group :aws, optional: true do
group :aws do
# ------------------------------------------------
# End DMPTool customization
# ------------------------------------------------
gem 'dragonfly-s3_data_store'

end
Expand Down Expand Up @@ -143,17 +153,28 @@ gem 'mini_racer'
# ------------------------------------------------
# EXPORTING
# Provides binaries for WKHTMLTOPDF project in an easily accessible package.
gem 'wkhtmltopdf-binary'
# ------------------------------------------------
# Start DMPTool customization
# 0.12.5 does not work on our new linux2 instances. Pegging at 0.12.4 for now
# ------------------------------------------------
#gem 'wkhtmltopdf-binary'
gem 'wkhtmltopdf-binary', '0.12.4'
# ------------------------------------------------
# End DMPTool customization
# ------------------------------------------------

# PDF generator (from HTML) gem for Ruby on Rails (https://github.com/mileszs/wicked_pdf)
gem 'wicked_pdf', '~> 1.1.0'

# This simple gem allows you to create MS Word docx documents from simple html documents. This makes it easy to create dynamic reports and forms that can be downloaded by your users as simple MS Word docx files. (http://github.com/karnov/htmltoword)
gem 'htmltoword'
gem 'htmltoword', '1.1.0'

# A feed fetching and parsing library (http://feedjira.com)
gem 'feedjira'

# Filename sanitization for Ruby. This is useful when you generate filenames for downloads from user input
gem 'zaru'

# ------------------------------------------------
# INTERNATIONALIZATION
# Simple FastGettext Rails integration. (http://github.com/grosser/gettext_i18n_rails)
Expand Down Expand Up @@ -206,6 +227,9 @@ group :development, :test do
# Guard gem for RSpec (https://github.com/guard/guard-rspec)
gem "guard-rspec"

gem "capistrano"

gem "capistrano-rails"
end

group :test do
Expand Down Expand Up @@ -236,11 +260,7 @@ group :test do
# Automatically create snapshots when Cucumber steps fail with Capybara and Rails (http://github.com/mattheworiordan/capybara-screenshot)
gem "capybara-screenshot"

# The next generation developer focused tool for automated testing of webapps (https://github.com/SeleniumHQ/selenium)
gem "selenium-webdriver", "~> 3.14"

# Easy installation and use of chromedriver. (https://github.com/flavorjones/chromedriver-helper)
gem "chromedriver-helper", ">= 1.2.0"
gem 'webdrivers', '~> 3.0'

gem "rspec-collection_matchers"

Expand Down
Loading

0 comments on commit 1cd9010

Please sign in to comment.