ebsco-eds 0.2.2.pre → 0.2.3.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 97b036a83e87b1af85d6424ed5aaef1781aba884
4
- data.tar.gz: b3b3b67d66a6a2f1e8c154e5c0a0cd290531306c
3
+ metadata.gz: 6d4c308c4bd7650421e030437a7185397657cdd7
4
+ data.tar.gz: 7055c7c66e1c4811bd8341dad8e871b5ca67ca31
5
5
  SHA512:
6
- metadata.gz: 2cd3f042e79b6f5f047a3863f667f3905230d46d05b05fba79045f5d4af4b37946929617184492db5abb9e448159bd2cbe0fa6fcc04606527621f9b6b94d21be
7
- data.tar.gz: 77dcc0ba8ae3bba625908b424d0da343373e10e7e6ba0fda6aa2b055cb1a314954d7913e1426ecad73a862acad9262fa98a378a960719b0fbb511bbabb93f068
6
+ metadata.gz: f783d79145492b30347ba000795c0c642256cf78c59bfe7e2760c7333c1df92b1b7710ff21e443c2bdc07ca0773ab94cd892a09ba6fdbc1b4343216287a6b5af
7
+ data.tar.gz: 4a150594a0ba873ad9476de528f9b5c1c6527f00257e87f669f4fd3364e7dbd27d89a8fb43910d03a598da06830fe0de18e58db5cad311cd8fe61d8fd86299b2
data/.env.test CHANGED
@@ -1,7 +1,6 @@
1
- EDS_PROFILE=eds-api
2
- EDS_USER=billmckinn
3
- EDS_PASS=4n~r1me86y
1
+ EDS_PROFILE=edsapi
2
+ EDS_USER=user
3
+ EDS_PASS=secret
4
4
  EDS_AUTH=user
5
5
  EDS_GUEST=n
6
- EDS_ORG=none
7
- EDS_DEBUG=false
6
+ EDS_ORG=none
@@ -425,7 +425,7 @@ module EBSCO
425
425
  # ====================================================================================
426
426
  # view
427
427
  # ====================================================================================
428
- when :view
428
+ when :view, 'view'
429
429
  if info.available_result_list_views.include? value.downcase
430
430
  @View = value.downcase
431
431
  else
@@ -454,7 +454,7 @@ module EBSCO
454
454
  # ====================================================================================
455
455
  # highlight
456
456
  # ====================================================================================
457
- when :highlight
457
+ when :highlight, 'highlight'
458
458
  @Highlight = value ? 'y' : 'n'
459
459
  # solr/blacklight version
460
460
  when 'hl'
@@ -279,8 +279,8 @@ module EBSCO
279
279
  records = []
280
280
  if list.any?
281
281
  list.each { |id|
282
- dbid = id.split('__').first
283
- accession = id.split('__').last
282
+ dbid = id.split('__',2).first
283
+ accession = id.split('__',2).last
284
284
  accession.gsub!(/_/, '.')
285
285
  records.push retrieve(dbid: dbid, an: accession, highlight: highlight, ebook: @config[:ebook_preferred_format])
286
286
  }
@@ -1,5 +1,5 @@
1
1
  module EBSCO
2
2
  module EDS
3
- VERSION = '0.2.2.pre'
3
+ VERSION = '0.2.3.pre'
4
4
  end
5
5
  end
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.2.2.pre
4
+ version: 0.2.3.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-07-13 00:00:00.000000000 Z
12
+ date: 2017-07-18 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: faraday