blacklight-spotlight 2.5.1 → 2.5.2

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: c8c61342b6bc4d6e0e62c22f8723e2086efdab8c149d815d1776895e5b15cd75
4
- data.tar.gz: 96c53f19f9c92bbdce6b2e3ef101bc71befcce3dc9a2761034a8c46db807c361
3
+ metadata.gz: bfd98478c5c1e4b1d2328f93d02b7df855e74c266f24bc98e6d11d48f71f8a8b
4
+ data.tar.gz: 8070e1b6baa729e6aee60d6fb893ae398a94e204d8751b8c8e3c907fe134dac1
5
5
  SHA512:
6
- metadata.gz: ae2764ccb47320000221b7f659da20d3d8687ee065cee43bb87d6da48ce99eafee72d158b5665f9db8ec3d51f4cfec81ff9e3d0671707da3eff6e0c2e9e17e6f
7
- data.tar.gz: 438ed41355e7ba6f045f9cc4f5d3d06667840b1b884a4903a52575fdf75bfb727b496ebefda5b47069709be8f14a01a5597374e52f88398663dec5cf8b55cb15
6
+ metadata.gz: ef4dc19009a31436cfc796e5451c2bd4a62ecfab975f76c78add78fbc3b4854c48b51a1621e8b1c59aca2f0fa076b22e69aef2d754f19ed8a677e91a1b7c55a7
7
+ data.tar.gz: 473197857cb1e8bd81ce0fcf83365121970c5decbc4f1c961ba2aa6e171ae20750f9d43b056af6cc6c7dda9475aee8ba7f998af6e82d851160a7da94abcbd959
@@ -79,9 +79,10 @@ module Spotlight
79
79
  ##
80
80
  # Override Blacklight's #render_document_class to inject a private class
81
81
  def render_document_class(document = @document)
82
- types = super || ''
83
- types << " #{document_class_prefix}private" if document.private?(current_exhibit)
84
- types
82
+ [
83
+ super,
84
+ ("#{document_class_prefix}private" if document.private?(current_exhibit))
85
+ ].join(' ')
85
86
  end
86
87
 
87
88
  # Return a copy of the blacklight configuration
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Spotlight
4
- VERSION = '2.5.1'
4
+ VERSION = '2.5.2'
5
5
  end
@@ -15,6 +15,7 @@ require 'rspec/rails'
15
15
  require 'rspec/active_model/mocks'
16
16
  require 'paper_trail/frameworks/rspec'
17
17
 
18
+ require 'chromedriver-helper'
18
19
  require 'selenium-webdriver'
19
20
  require 'webmock/rspec'
20
21
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: blacklight-spotlight
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.5.1
4
+ version: 2.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Beer
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2019-04-19 00:00:00.000000000 Z
14
+ date: 2019-05-13 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: rails
@@ -639,16 +639,16 @@ dependencies:
639
639
  name: chromedriver-helper
640
640
  requirement: !ruby/object:Gem::Requirement
641
641
  requirements:
642
- - - "<"
642
+ - - ">="
643
643
  - !ruby/object:Gem::Version
644
- version: 2.0.0
644
+ version: '0'
645
645
  type: :development
646
646
  prerelease: false
647
647
  version_requirements: !ruby/object:Gem::Requirement
648
648
  requirements:
649
- - - "<"
649
+ - - ">="
650
650
  - !ruby/object:Gem::Version
651
- version: 2.0.0
651
+ version: '0'
652
652
  - !ruby/object:Gem::Dependency
653
653
  name: selenium-webdriver
654
654
  requirement: !ruby/object:Gem::Requirement