ebsco-eds 0.3.8.pre → 0.3.9.pre
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/ebsco/eds/options.rb +1 -1
- data/lib/ebsco/eds/record.rb +8 -8
- data/lib/ebsco/eds/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 88c36614b1fbb632bebaf7a434361448bfe8f10c
|
|
4
|
+
data.tar.gz: defab014eb6c9d3981645d0a8043a6d50da4b01f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1516d8eea3b331946a0981e2f49e85790ff0ff23dd0cfaa8fabaa404b203c04bc65e06c0a9f711cccca9431c3a5fecb07bc094932d2ddde31d377e27a49ef019
|
|
7
|
+
data.tar.gz: acd0f9937320e66135b1904c3d00e05c9ae5ad2a35572fe2c8fa053de0f3f9676d9d9de28eef486e80acb0f0a493b343ce2f975230577fe8bdccac5b06886596
|
data/lib/ebsco/eds/options.rb
CHANGED
|
@@ -159,7 +159,7 @@ module EBSCO
|
|
|
159
159
|
end
|
|
160
160
|
info.available_limiters.each do |limiter|
|
|
161
161
|
# only handle 'select' limiters (ones with values of 'y' or 'n')
|
|
162
|
-
if _search_limiter_list.include? limiter['Label'] and limiter['Type'] == 'select'
|
|
162
|
+
if ( _search_limiter_list.include? limiter['Label'] or _search_limiter_list.include? limiter['Id']) and limiter['Type'] == 'select'
|
|
163
163
|
@Actions.push "addLimiter(#{limiter['Id']}:y)"
|
|
164
164
|
end
|
|
165
165
|
end
|
data/lib/ebsco/eds/record.rb
CHANGED
|
@@ -165,7 +165,7 @@ module EBSCO
|
|
|
165
165
|
@eds_authors = bib_authors_list
|
|
166
166
|
@eds_authors_composed = get_item_data_by_name('Author')
|
|
167
167
|
@eds_author_affiliations = get_item_data_by_name('AffiliationAuthor')
|
|
168
|
-
@eds_subjects =
|
|
168
|
+
@eds_subjects = get_item_data_by_name('Subject') || bib_subjects
|
|
169
169
|
@eds_subjects_geographic = get_item_data_by_name('SubjectGeographic')
|
|
170
170
|
@eds_subjects_person = get_item_data_by_name('SubjectPerson')
|
|
171
171
|
@eds_subjects_company = get_item_data_by_name('SubjectCompany')
|
|
@@ -353,7 +353,7 @@ module EBSCO
|
|
|
353
353
|
link_label = 'PDF Full Text'
|
|
354
354
|
link_icon = 'PDF Full Text Icon'
|
|
355
355
|
link_url = ebscolink['Url'] || 'detail'
|
|
356
|
-
links.push({url: link_url, label: link_label, icon: link_icon, type: 'pdf'})
|
|
356
|
+
links.push({url: link_url, label: link_label, icon: link_icon, type: 'pdf', expires: true})
|
|
357
357
|
@eds_pdf_fulltext_available = true
|
|
358
358
|
end
|
|
359
359
|
end
|
|
@@ -374,7 +374,7 @@ module EBSCO
|
|
|
374
374
|
link_label = 'PDF eBook Full Text'
|
|
375
375
|
link_icon = 'PDF eBook Full Text Icon'
|
|
376
376
|
link_url = ebscolink['Url'] || 'detail'
|
|
377
|
-
links.push({url: link_url, label: link_label, icon: link_icon, type: 'ebook-pdf'})
|
|
377
|
+
links.push({url: link_url, label: link_label, icon: link_icon, type: 'ebook-pdf', expires: true})
|
|
378
378
|
@eds_ebook_pdf_fulltext_available = true
|
|
379
379
|
end
|
|
380
380
|
end
|
|
@@ -386,7 +386,7 @@ module EBSCO
|
|
|
386
386
|
link_label = 'ePub eBook Full Text'
|
|
387
387
|
link_icon = 'ePub eBook Full Text Icon'
|
|
388
388
|
link_url = ebscolink['Url'] || 'detail'
|
|
389
|
-
links.push({url: link_url, label: link_label, icon: link_icon, type: 'ebook-epub'})
|
|
389
|
+
links.push({url: link_url, label: link_label, icon: link_icon, type: 'ebook-epub', expires: true})
|
|
390
390
|
@eds_ebook_epub_fulltext_available = true
|
|
391
391
|
end
|
|
392
392
|
end
|
|
@@ -413,7 +413,7 @@ module EBSCO
|
|
|
413
413
|
link_label = item['Label']
|
|
414
414
|
end
|
|
415
415
|
link_icon = 'Catalog Link Icon'
|
|
416
|
-
links.push({url: link_url, label: link_label, icon: link_icon, type: 'cataloglink'})
|
|
416
|
+
links.push({url: link_url, label: link_label, icon: link_icon, type: 'cataloglink', expires: false})
|
|
417
417
|
end
|
|
418
418
|
end
|
|
419
419
|
end
|
|
@@ -424,7 +424,7 @@ module EBSCO
|
|
|
424
424
|
link_label = 'Linked Full Text'
|
|
425
425
|
link_icon = 'Linked Full Text Icon'
|
|
426
426
|
link_url = ebscolink['Url'] || 'detail'
|
|
427
|
-
links.push({url: link_url, label: link_label, icon: link_icon, type: 'smartlinks'})
|
|
427
|
+
links.push({url: link_url, label: link_label, icon: link_icon, type: 'smartlinks', expires: false})
|
|
428
428
|
@eds_pdf_fulltext_available = true
|
|
429
429
|
end
|
|
430
430
|
end
|
|
@@ -436,7 +436,7 @@ module EBSCO
|
|
|
436
436
|
link_url = ft_customlink['Url']
|
|
437
437
|
link_label = ft_customlink['Text']
|
|
438
438
|
link_icon = ft_customlink['Icon']
|
|
439
|
-
links.push({url: link_url, label: link_label, icon: link_icon, type: 'customlink-fulltext'})
|
|
439
|
+
links.push({url: link_url, label: link_label, icon: link_icon, type: 'customlink-fulltext', expires: false})
|
|
440
440
|
end
|
|
441
441
|
end
|
|
442
442
|
|
|
@@ -452,7 +452,7 @@ module EBSCO
|
|
|
452
452
|
link_url = other_customlink['Url']
|
|
453
453
|
link_label = other_customlink['Text']
|
|
454
454
|
link_icon = other_customlink['Icon']
|
|
455
|
-
links.push({url: link_url, label: link_label, icon: link_icon, type: 'customlink-other'})
|
|
455
|
+
links.push({url: link_url, label: link_label, icon: link_icon, type: 'customlink-other', expires: false})
|
|
456
456
|
end
|
|
457
457
|
end
|
|
458
458
|
|
data/lib/ebsco/eds/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ebsco-eds
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.9.pre
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Bill McKinney
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: exe
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2017-09-
|
|
12
|
+
date: 2017-09-05 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: faraday
|