Skip to content

Commit 4714e47

Browse files
more idiomatic "is a hash" check; updates changelog date
1 parent 7508391 commit 4714e47

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
55
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
66

7-
## [1.0.8] - 2019-07-09
7+
## [1.0.8] - 2019-08-12
88
### Fixed
99
- Throws error when query fails with a 200 status code and html error message (query = `the meaning of life or 4=2`), see #90.
1010
- Raises a specific "record not found" error instead of a generic "bad request" error when a record cannot be retrieved, see #88.

lib/ebsco/eds/results.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def initialize(search_results, eds_config = {}, additional_limiters = {}, option
3333

3434
@results = search_results
3535

36-
if Hash === @results
36+
if @results.is_a?(Hash)
3737

3838
@limiters = additional_limiters
3939
@raw_options = options

0 commit comments

Comments
 (0)