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

Update to support last email cache feature #120

Merged
merged 2 commits into from
Apr 1, 2019
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
4 changes: 2 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
GIT
remote: https://github.com/DEFRA/waste-exemptions-engine
revision: 81d68d8e1f60f63cbf7adfb2466c878aaeb60ece
revision: e2666ba899c571a37280053ca94f775bcb761ae5
branch: master
specs:
waste_exemptions_engine (0.0.1)
Expand Down Expand Up @@ -184,7 +184,7 @@ GEM
mini_mime (>= 0.1.1)
mime-types (3.2.2)
mime-types-data (~> 3.2015)
mime-types-data (3.2018.0812)
mime-types-data (3.2019.0331)
mini_mime (1.0.1)
mini_portile2 (2.4.0)
minitest (5.11.3)
Expand Down
3 changes: 3 additions & 0 deletions config/initializers/waste_exemptions_engine.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,7 @@

# PDF config
configuration.use_xvfb_for_wickedpdf = ENV["USE_XVFB_FOR_WICKEDPDF"] || "true"

# Last email cache config
configuration.use_xvfb_for_wickedpdf = ENV["USE_LAST_EMAIL_CACHE"] || "false"
Cruikshanks marked this conversation as resolved.
Show resolved Hide resolved
end