-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Card payment report using accounts data from FOLIO, run as rake task
- Loading branch information
Showing
26 changed files
with
611 additions
and
295 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
/config/settings/dev.yml | ||
/config/settings/prod.yml | ||
/log/* | ||
*.csv | ||
secret.yaml |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
FROM ruby:2.7.1 | ||
|
||
USER root | ||
|
||
# Install and setup mail | ||
RUN apt update | ||
RUN apt-get install -y bsd-mailx | ||
RUN apt-get install -y sendmail | ||
|
||
WORKDIR /etc/mail | ||
|
||
RUN echo \"AuthInfo:smtp.domain.com "U:USERNAME" "P:PASSWORD" "M:PLAIN"\" > authinfo | ||
RUN makemap hash authinfo < authinfo | ||
RUN make | ||
|
||
WORKDIR /home/cybersource | ||
|
||
COPY . . | ||
|
||
RUN bundle install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,18 @@ | ||
source 'https://rubygems.org' | ||
ruby '2.7.1' | ||
|
||
gem 'config' | ||
gem 'cybersource_rest_client', '0.0.31' | ||
|
||
gem "folio_client", "~> 0.13.0" | ||
|
||
gem "mail", "~> 2.8" | ||
|
||
group :development, :test do | ||
gem 'byebug' | ||
gem 'rspec' | ||
gem 'rubocop' | ||
gem 'rubocop-performance' | ||
gem 'rubocop-rspec' | ||
gem 'webmock' | ||
end | ||
|
||
group :deployment do | ||
gem 'capistrano' | ||
gem 'capistrano-bundler' | ||
gem 'capistrano-shared_configs' | ||
gem 'dlss-capistrano' | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.