Skip to content

Commit

Permalink
Merge pull request #1822 from sul-dlss/1819-update-eds
Browse files Browse the repository at this point in the history
Update ebsco-eds gem.
  • Loading branch information
Darren Hardy authored Oct 11, 2017
2 parents a2731da + ed49ba7 commit edad2f0
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 15 deletions.
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ GEM
docile (1.1.5)
dot-properties (0.1.3)
dotenv (2.2.1)
ebsco-eds (0.3.15.pre)
ebsco-eds (0.3.19.pre)
activesupport (~> 5.0)
bibtex-ruby (~> 4.0)
citeproc (>= 1.0.4, < 2.0)
Expand Down
29 changes: 15 additions & 14 deletions app/models/eds/session.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,20 +19,21 @@ def object

def session_options
{
guest: eds_params[:guest],
session_token: eds_params[:session_token],
caller: eds_params[:caller],
user: Settings.EDS_USER,
pass: Settings.EDS_PASS,
profile: Settings.EDS_PROFILE,
use_cache: Settings.EDS_CACHE,
eds_cache_dir: Settings.EDS_CACHE_DIR,
timeout: Settings.EDS_TIMEOUT,
open_timeout: Settings.EDS_OPEN_TIMEOUT,
api_hosts_list: Settings.EDS_HOSTS,
debug: Settings.EDS_DEBUG,
log: File.join(Settings.EDS_LOGDIR, 'faraday.log'),
decode_sanitize_html: true
guest: eds_params[:guest],
session_token: eds_params[:session_token],
caller: eds_params[:caller],
user: Settings.EDS_USER,
pass: Settings.EDS_PASS,
profile: Settings.EDS_PROFILE,
use_cache: Settings.EDS_CACHE,
eds_cache_dir: Settings.EDS_CACHE_DIR,
timeout: Settings.EDS_TIMEOUT,
open_timeout: Settings.EDS_OPEN_TIMEOUT,
api_hosts_list: Settings.EDS_HOSTS,
debug: Settings.EDS_DEBUG,
log: File.join(Settings.EDS_LOGDIR, 'faraday.log'),
decode_sanitize_html: true,
recover_from_bad_source_type: true
}
end
end
Expand Down

0 comments on commit edad2f0

Please sign in to comment.