Skip to content

Commit

Permalink
Version 1.7.1
Browse files Browse the repository at this point in the history
`Ezid::Configuration` is patched to set `@use_ssl` to `true` by default,
since the EZID service will require SSL as of April 30, 2017.

In practice, `Ezid::Client` will use SSL by default since the default
port is 443.
  • Loading branch information
dchandekstark committed Apr 20, 2017
1 parent f6eab1c commit 64a0fda
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.7.0
1.7.1
2 changes: 1 addition & 1 deletion lib/ezid/configuration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def initialize
@password = ENV["EZID_PASSWORD"]
@host = ENV["EZID_HOST"] || HOST
@port = ENV["EZID_PORT"] || PORT
@use_ssl = true if ENV["EZID_USE_SSL"] == true.to_s
@use_ssl = true unless ENV["EZID_USE_SSL"] == false.to_s
@timeout = ENV["EZID_TIMEOUT"] || TIMEOUT
@default_shoulder = ENV["EZID_DEFAULT_SHOULDER"]
end
Expand Down
2 changes: 1 addition & 1 deletion spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@

# This setting enables warnings. It's recommended, but in some cases may
# be too noisy due to issues in dependencies.
config.warnings = true
config.warnings = false

# Many RSpec users commonly either run the entire suite or an individual
# file, and it's useful to allow more verbose output when running an
Expand Down

0 comments on commit 64a0fda

Please sign in to comment.