ebsco-eds 1.1.0 → 1.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a98621f9b0ef365e1fca3f814127d8a1a20ff7fa70113d254c2ff90d33b62777
4
- data.tar.gz: 639b960e78cbe5c01aaaefc88b524286371a7c6aca32c9c16dc26e70b99b3b97
3
+ metadata.gz: ad7eef9da8bc0d24c7603cebb0527274751d7b98a8823515f5c3e1fec78a49b9
4
+ data.tar.gz: 823e7b5a92adc097af3d723f89b0c6ea8933a2a77c311151a16a6619b7461b43
5
5
  SHA512:
6
- metadata.gz: 4b50c885e10fd0c126736c69af927e5d69e76eb3af3c3985f63acdcf49c385f9285bbee9bd4185b177d64279ad8778218a665fd51c01efd957113c75431ef0c1
7
- data.tar.gz: 848222290962eec5901b0bf0f871e64ed8066a375aea7785a8ca1066ac3d84a03f1f513388886049b33958eeb8d9e4230911b276c6fdac7a13eaffcdf080ace0
6
+ metadata.gz: d7f454baff334b3078566239f6bd7085438d47ddb0d02b92ee5afed73e3392e2c6d2ea198c7451bd2d3bc235aeb30015e64b9c222640d82a99a14b236198ef90
7
+ data.tar.gz: 9d6c89117a2cbbb43f1538fbf27222629ebcd7679f3ff62367fc04b2ae27412a48fd6a64f58cd7347a2545054f63dc3a8fbb62adb4ef8cbd37e4fd82095e22af
data/.gitignore CHANGED
@@ -20,3 +20,4 @@ yaml-sample-records
20
20
  *.gem
21
21
  .idea
22
22
  test/cache
23
+ .env.test
data/CHANGELOG.md CHANGED
@@ -1,100 +1,172 @@
1
1
  # Changelog
2
+
2
3
  All notable changes to this project will be documented in this file.
3
4
 
4
5
  The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
5
- and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
6
+ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
7
+
8
+ ## [1.1.1] - 2021-03-05
6
9
 
7
- ## [1.0.8] - 2019-08-12
8
10
  ### Fixed
11
+
12
+ - Some tests had incorrect VCR cassettes that were erroneously causing our build to fail.
13
+
14
+ ### Changed
15
+
16
+ - Loosened various dependencies, including on activesupport. Activesupport now can use either version 5 or 6. Many thanks to @sandbergja for help on that.
17
+ - Added an attribute read option for smarttext_failover on EBSCO::EDS::Results. If this is true, it's an indication that the search results come from a failed-over smarttext search; if it's false, no smarttext failover occurred.
18
+
19
+ ## [1.1.0] - 2020-09-04
20
+
21
+ ### Added
22
+
23
+ - Added an option to the session intializer to accept a smarttext_failover parameter. Setting this to true will instruct the gem to issue a SECOND search with mode=smarttext if the original search had zero results. This mirrors behavior available in the native EDS interface.
24
+
25
+ ## [1.0.9] - 2019-08-12
26
+
27
+ ### Fixed
28
+
9
29
  - Throws error when query fails with a 200 status code and html error message (query = `the meaning of life or 4=2`), see #90.
10
30
  - Raises a specific "record not found" error instead of a generic "bad request" error when a record cannot be retrieved, see #88.
11
31
 
32
+ ## [1.0.8] - 2019-08-12
33
+
34
+ ### Fixed
35
+
36
+ - Access issues for EBSCO contributors fixed.
37
+
12
38
  ## [1.0.7] - 2018-12-05
39
+
13
40
  ### Changed
41
+
14
42
  - logger dependency removed since it's been part of the standard library.
15
43
 
16
44
  ## [1.0.6] - 2018-11-14
45
+
17
46
  ### Fixed
47
+
18
48
  - Fixed a bug where the cached auth key isn't deleted if it expires before its cache expiration. This should only occur in rare cases where the auth token cache expiration exceeds 30 minutes.
49
+
19
50
  ### Added
51
+
20
52
  - Cache expiration is configurable for individual EDS API calls (time unit = seconds).
53
+
21
54
  ### Changed
55
+
22
56
  - Default cache expiration for auth keys is now 25 minutes instead of 30 to make sure they are always refreshed before their 30 minute expiration. If an expiration is configured longer than 25 minutes, it is reset to 25 minutes automatically.
23
57
 
24
58
  ## [1.0.5] - 2018-11-02
59
+
25
60
  ### Fixed
26
- - Fixed a bug where fulltext html becomes nil after sanitizing. [#85](https://github.com/ebsco/edsapi-ruby/issues/85)
61
+
62
+ - Fixed a bug where fulltext html becomes nil after sanitizing. [#85](https://github.com/ebsco/edsapi-ruby/issues/85)
27
63
  - Fixed a bug where the url protocol is missing from fulltext custom links. [#86](https://github.com/ebsco/edsapi-ruby/issues/86)
28
64
 
29
65
  ## [1.0.4] - 2018-10-29
66
+
30
67
  ### Fixed
31
- - List retrieval returns a repeating list of just the first record.
68
+
69
+ - List retrieval returns a repeating list of just the first record.
32
70
  - List retrieval fails to increment the EDS result id.
33
71
 
34
72
  ## [1.0.3] - 2018-10-18
73
+
35
74
  ### Changed
75
+
36
76
  - Citation style and export links can now be removed entirely or replaced by specifying regular expressions in several configuration options that can include ruby erb variable expressions for an item's `dbid` and `an`. This was added to address situations where customer proxy urls are returned. See: [Citation link replacement](https://github.com/ebsco/edsapi-ruby/wiki/Citation-link-replacement)
37
77
 
38
78
  ## [1.0.2] - 2018-10-15
79
+
39
80
  ### Added
81
+
40
82
  - EBSCOhost links are removed from citation styles and exports by default
41
83
 
42
84
  ## [1.0.1] - 2018-10-10
85
+
43
86
  ### Added
87
+
44
88
  - Citation styles/exports are added to Records
45
89
  - Retrieve citation styles/exports for a Record ID or list of Record IDs
46
90
  - Retrieve a list of available citation styles/exports from Info
47
91
  - Citation styles/exports available in guest mode
92
+
48
93
  ### Fixed
94
+
49
95
  - Double-unescapes data with an ephtml section (sul-dlss/SearchWorks #1504)
50
96
  - Adds searchlinks to subject items when they don't exist #80 (sul-dlss/SearchWorks #1791)
97
+
51
98
  ### Changed
99
+
52
100
  - Updates test cassettes with new citation styles/exports API calls
53
101
 
54
102
  ## [1.0.0] - 2018-03-05
103
+
55
104
  ### Changed
105
+
56
106
  - Increments version to reflect production ready status
57
107
 
58
108
  ## [0.3.19.pre] - 2018-03-05
109
+
59
110
  ### Added
111
+
60
112
  - Optionally (default=off) include quick view images with Records
113
+
61
114
  ### Changed
115
+
62
116
  - Reorganizes VCR tests
63
117
 
64
118
  ## [0.3.18.pre] - 2017-10-10
119
+
65
120
  ### Fixed
121
+
66
122
  - Fixes session config bug #84
67
123
 
68
124
  ## [0.3.17.pre] - 2017-09-27
125
+
69
126
  ### Changed
127
+
70
128
  - Optionally (default=off) titleize facets via `titleize_facets` in config
71
129
 
72
130
  ## [0.3.16.pre] - 2017-09-20
131
+
73
132
  ### Added
133
+
74
134
  - Titleize facets
75
135
  - Autocorrect feature
76
136
 
77
137
  ## [0.3.15.pre] - 2017-09-18
138
+
78
139
  ### Added
140
+
79
141
  - Optionally (default=off) converts all searchLink field codes to DE via `all_subjects_search_links` in config
80
142
  - Optionally (default=off) decodes/sanitizes html in item data and fulltext html via `decode_sanitize_html` in config
81
143
 
82
144
  ## [0.3.14.pre] - 2017-09-14
145
+
83
146
  ### Fixed
147
+
84
148
  - Fixes 250+ pagination issues with SourceType and ContentProvider facets
85
149
 
86
150
  ## [0.3.13.pre] - 2017-09-13
151
+
87
152
  ### Fixed
153
+
88
154
  - Includes additional Subject and Geographic Subject metadata
89
155
 
90
156
  ## [0.3.12.pre] - 2017-09-11
157
+
91
158
  ### Fixed
159
+
92
160
  - Fixes some 250+ pagination issues
161
+
93
162
  ### Changed
163
+
94
164
  - Updates tests
95
165
 
96
166
  ## [0.3.11.pre] - 2017-09-06
167
+
97
168
  ### Added
169
+
98
170
  - Adds KW (keywords) and SH (subject heading) to solr search fields
99
171
 
100
172
  [1.0.8]: https://github.com/ebsco/edsapi-ruby/compare/1.0.7...1.0.8
data/ebsco-eds.gemspec CHANGED
@@ -6,8 +6,8 @@ require 'ebsco/eds/version'
6
6
  Gem::Specification.new do |spec|
7
7
  spec.name = 'ebsco-eds'
8
8
  spec.version = EBSCO::EDS::VERSION
9
- spec.authors = ['Madeline Dale','Eric Frierson']
10
- spec.email = ['mdale@ebsco.com, efrierson@ebsco.com']
9
+ spec.authors = ['Mike Abrahamson','Ellie Collier','Madeline Dale','Eric Frierson']
10
+ spec.email = ['mabrahamson@ebsco.com','ecollier@ebsco.com','mdale@ebsco.com, efrierson@ebsco.com']
11
11
  spec.summary = 'Summary: EBSCO EDS API'
12
12
  spec.description = 'Description: EBSCO EDS API'
13
13
  spec.homepage = 'https://github.com/ebsco/edsapi-ruby'
@@ -37,12 +37,12 @@ Gem::Specification.new do |spec|
37
37
  spec.add_dependency 'dotenv', '~> 2.2'
38
38
  spec.add_dependency 'climate_control', '~> 0'
39
39
  spec.add_dependency 'require_all', '~> 2.0'
40
- spec.add_dependency 'bibtex-ruby', '~> 5.1', '>= 5.1.0'
40
+ spec.add_dependency 'bibtex-ruby', '>= 5.1.0', '< 7.0'
41
41
  spec.add_dependency 'citeproc', '>= 1.0.4', '< 2.0'
42
- spec.add_dependency 'csl', '~> 1.4'
42
+ spec.add_dependency 'csl', '>= 1.4.0', '< 1.6'
43
43
  spec.add_dependency 'citeproc-ruby', '~> 1.0', '>= 1.0.2'
44
44
  spec.add_dependency 'csl-styles', '~> 1.0', '>= 1.0.1.5'
45
- spec.add_dependency 'activesupport', '~> 5.2'
45
+ spec.add_dependency 'activesupport', '>= 5.2', '< 6.1'
46
46
  spec.add_dependency 'net-http-persistent', '~> 3.1'
47
47
  spec.add_dependency 'sanitize', '~> 5.0'
48
48
  spec.add_dependency 'public_suffix', '~>4.0'
@@ -17,6 +17,8 @@ module EBSCO
17
17
  attr_accessor :records
18
18
  # Array of EBSCO::EDS::Record Research Starters
19
19
  attr_reader :research_starters
20
+ # Bool
21
+ attr_reader :smarttext_failover
20
22
  # Array of EBSCO::EDS::Record Exact Publication Matches
21
23
  attr_reader :publication_match
22
24
 
@@ -1,5 +1,5 @@
1
1
  module EBSCO
2
2
  module EDS
3
- VERSION = '1.1.0'
3
+ VERSION = '1.1.1'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,15 +1,17 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ebsco-eds
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
+ - Mike Abrahamson
8
+ - Ellie Collier
7
9
  - Madeline Dale
8
10
  - Eric Frierson
9
11
  autorequire:
10
12
  bindir: exe
11
13
  cert_chain: []
12
- date: 2020-08-04 00:00:00.000000000 Z
14
+ date: 2021-03-05 00:00:00.000000000 Z
13
15
  dependencies:
14
16
  - !ruby/object:Gem::Dependency
15
17
  name: faraday
@@ -102,9 +104,9 @@ dependencies:
102
104
  - - ">="
103
105
  - !ruby/object:Gem::Version
104
106
  version: 5.1.0
105
- - - "~>"
107
+ - - "<"
106
108
  - !ruby/object:Gem::Version
107
- version: '5.1'
109
+ version: '7.0'
108
110
  type: :runtime
109
111
  prerelease: false
110
112
  version_requirements: !ruby/object:Gem::Requirement
@@ -112,9 +114,9 @@ dependencies:
112
114
  - - ">="
113
115
  - !ruby/object:Gem::Version
114
116
  version: 5.1.0
115
- - - "~>"
117
+ - - "<"
116
118
  - !ruby/object:Gem::Version
117
- version: '5.1'
119
+ version: '7.0'
118
120
  - !ruby/object:Gem::Dependency
119
121
  name: citeproc
120
122
  requirement: !ruby/object:Gem::Requirement
@@ -139,16 +141,22 @@ dependencies:
139
141
  name: csl
140
142
  requirement: !ruby/object:Gem::Requirement
141
143
  requirements:
142
- - - "~>"
144
+ - - ">="
143
145
  - !ruby/object:Gem::Version
144
- version: '1.4'
146
+ version: 1.4.0
147
+ - - "<"
148
+ - !ruby/object:Gem::Version
149
+ version: '1.6'
145
150
  type: :runtime
146
151
  prerelease: false
147
152
  version_requirements: !ruby/object:Gem::Requirement
148
153
  requirements:
149
- - - "~>"
154
+ - - ">="
150
155
  - !ruby/object:Gem::Version
151
- version: '1.4'
156
+ version: 1.4.0
157
+ - - "<"
158
+ - !ruby/object:Gem::Version
159
+ version: '1.6'
152
160
  - !ruby/object:Gem::Dependency
153
161
  name: citeproc-ruby
154
162
  requirement: !ruby/object:Gem::Requirement
@@ -193,16 +201,22 @@ dependencies:
193
201
  name: activesupport
194
202
  requirement: !ruby/object:Gem::Requirement
195
203
  requirements:
196
- - - "~>"
204
+ - - ">="
197
205
  - !ruby/object:Gem::Version
198
206
  version: '5.2'
207
+ - - "<"
208
+ - !ruby/object:Gem::Version
209
+ version: '6.1'
199
210
  type: :runtime
200
211
  prerelease: false
201
212
  version_requirements: !ruby/object:Gem::Requirement
202
213
  requirements:
203
- - - "~>"
214
+ - - ">="
204
215
  - !ruby/object:Gem::Version
205
216
  version: '5.2'
217
+ - - "<"
218
+ - !ruby/object:Gem::Version
219
+ version: '6.1'
206
220
  - !ruby/object:Gem::Dependency
207
221
  name: net-http-persistent
208
222
  requirement: !ruby/object:Gem::Requirement
@@ -371,6 +385,8 @@ dependencies:
371
385
  version: '3.6'
372
386
  description: 'Description: EBSCO EDS API'
373
387
  email:
388
+ - mabrahamson@ebsco.com
389
+ - ecollier@ebsco.com
374
390
  - mdale@ebsco.com, efrierson@ebsco.com
375
391
  executables: []
376
392
  extensions: []