Skip to content

Commit

Permalink
Rakefile tasks for report and email
Browse files Browse the repository at this point in the history
  • Loading branch information
jgreben committed Nov 16, 2023
1 parent ffd3aa4 commit 4c8955a
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 11 deletions.
2 changes: 2 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ gem "folio_client", "~> 0.13.0"

gem "mail", "~> 2.8"

gem 'rake'

group :development, :test do
gem 'byebug'
gem 'rspec'
Expand Down
23 changes: 12 additions & 11 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ GEM
addressable (2.8.5)
public_suffix (>= 2.0.2, < 6.0)
ast (2.4.2)
base64 (0.1.1)
base64 (0.2.0)
byebug (11.1.3)
concurrent-ruby (1.2.2)
crack (0.4.5)
Expand All @@ -22,7 +22,7 @@ GEM
json (~> 2.1, >= 2.1.0)
jwt (~> 2.1.0)
typhoeus (~> 1.0, >= 1.0.1)
date (3.3.3)
date (3.3.4)
diff-lcs (1.5.0)
dry-core (1.0.0)
concurrent-ruby (~> 1.0)
Expand Down Expand Up @@ -68,7 +68,7 @@ GEM
net-protocol
net-pop (0.1.2)
net-protocol
net-protocol (0.2.1)
net-protocol (0.2.2)
timeout
net-smtp (0.4.0)
net-protocol
Expand All @@ -77,8 +77,9 @@ GEM
ast (~> 2.4.1)
racc
public_suffix (5.0.3)
racc (1.7.1)
racc (1.7.3)
rainbow (3.1.1)
rake (13.1.0)
regexp_parser (2.8.2)
rexml (3.2.6)
rspec (3.12.0)
Expand All @@ -94,8 +95,7 @@ GEM
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.12.0)
rspec-support (3.12.1)
rubocop (1.57.1)
base64 (~> 0.1.1)
rubocop (1.57.2)
json (~> 2.3)
language_server-protocol (>= 3.17.0)
parallel (~> 1.10)
Expand All @@ -106,7 +106,7 @@ GEM
rubocop-ast (>= 1.28.1, < 2.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 2.4.0, < 3.0)
rubocop-ast (1.29.0)
rubocop-ast (1.30.0)
parser (>= 3.2.1.0)
rubocop-capybara (2.19.0)
rubocop (~> 1.41)
Expand All @@ -115,21 +115,21 @@ GEM
rubocop-performance (1.19.1)
rubocop (>= 1.7.0, < 2.0)
rubocop-ast (>= 0.4.0)
rubocop-rspec (2.24.1)
rubocop (~> 1.33)
rubocop-rspec (2.25.0)
rubocop (~> 1.40)
rubocop-capybara (~> 2.17)
rubocop-factory_bot (~> 2.22)
ruby-progressbar (1.13.0)
ruby2_keywords (0.0.5)
scrub_rb (1.0.1)
timeout (0.4.0)
timeout (0.4.1)
typhoeus (1.4.0)
ethon (>= 0.9.0)
tzinfo (2.0.6)
concurrent-ruby (~> 1.0)
unf (0.1.4)
unf_ext
unf_ext (0.0.8.2)
unf_ext (0.0.9.1)
unicode-display_width (2.5.0)
webmock (3.19.1)
addressable (>= 2.8.0)
Expand All @@ -145,6 +145,7 @@ DEPENDENCIES
cybersource_rest_client (= 0.0.31)
folio_client (~> 0.13.0)
mail (~> 2.8)
rake
rspec
rubocop
rubocop-performance
Expand Down
3 changes: 3 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,6 @@ end

# Import external rake tasks
Dir.glob('tasks/**/*.rake').each { |r| import r }

desc 'Run report and email results'
task report_and_mail: %i[download_report mail]

0 comments on commit 4c8955a

Please sign in to comment.