arclight 1.6.1 → 1.6.2

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
  SHA256:
3
- metadata.gz: 0f13bc74d37d6281e90bf79c295f073e46aa4de947dc07f6da865d2e32e41254
4
- data.tar.gz: 93cda2083eeda622d16386a9e4f638a8c4401429d31232da6c774cfb2e53d652
3
+ metadata.gz: 0f420e8cfdd2330f786efc0792a102163f114625752b77c32695c172217d66ce
4
+ data.tar.gz: b373b12a559f9fafadb8d0a0fb0e66e1691b81a91e989ecf23db5cf090f7ee27
5
5
  SHA512:
6
- metadata.gz: 8e380ef67a9684f47038c0b71a309ecbb9969fd754e2fb03b47ffd3f5c44649a8629db2d92a6b84e9d82a733a5f4d1d326f1c02928a7bc281d1411edecd5b107
7
- data.tar.gz: c7634c62d9b3c2de19f1d1a0e010fc80fd67c1cf873f392a5020ea97540910aee178b8e214e9f43627a7649a2f4c1cb584cc1000f96042175dc982af2ff73f44
6
+ metadata.gz: 15656150e9dcc4c27a871376c9a7f297fa44bc8f45b20354ec11f8320742c51531c968e662bf926b5fb7c3c5f514060fc6e1ed9ba142a51b31b9febef501e573
7
+ data.tar.gz: 0fb9df78502d8e33a5dd4ca59117ca82ccfe770e0c6c9caac785c9d311ee3d12db88201e061a9ed9a33678276ec2cb1e75c011c29640e0219f87d99359874ce0
@@ -4,7 +4,7 @@ module Arclight
4
4
  # Render access information for a document
5
5
  class AccessComponent < ViewComponent::Base
6
6
  def initialize(presenter:)
7
- super
7
+ super()
8
8
  @show_config = presenter.configuration.show
9
9
  @presenter = presenter
10
10
  end
@@ -8,7 +8,7 @@ module Arclight
8
8
  @document = document
9
9
  @count = count
10
10
  @offset = offset
11
- super
11
+ super()
12
12
  end
13
13
 
14
14
  def call
@@ -7,7 +7,7 @@ module Arclight
7
7
  delegate :blacklight_icon, to: :helpers
8
8
 
9
9
  def initialize(presenter:)
10
- super
10
+ super()
11
11
 
12
12
  @presenter = presenter
13
13
  collections, @parents_under_collection = document.parents.partition(&:collection?)
@@ -4,7 +4,7 @@ module Arclight
4
4
  # Render various actions for a collection (e.g. requesting, download links, etc)
5
5
  class CollectionContextComponent < ViewComponent::Base
6
6
  def initialize(presenter:, download_component:)
7
- super
7
+ super()
8
8
 
9
9
  @collection = presenter.document.collection
10
10
  @download_component = download_component
@@ -4,7 +4,7 @@ module Arclight
4
4
  # Render information about the collection
5
5
  class CollectionInfoComponent < ViewComponent::Base
6
6
  def initialize(collection:)
7
- super
7
+ super()
8
8
 
9
9
  @collection = collection
10
10
  end
@@ -4,7 +4,7 @@ module Arclight
4
4
  # Draw the links to the collection info in the sidebar
5
5
  class CollectionSidebarComponent < ViewComponent::Base
6
6
  def initialize(document:, partials:, collection_presenter:)
7
- super
7
+ super()
8
8
 
9
9
  @document = document
10
10
  @partials = Array(partials)
@@ -6,7 +6,7 @@ module Arclight
6
6
  class DocumentComponentsHierarchyComponent < ViewComponent::Base
7
7
  # rubocop:disable Metrics/ParameterLists
8
8
  def initialize(document: nil, target_index: -1, minimum_pagination_size: 20, left_outer_window: 3, maximum_left_gap: 10, window: 10)
9
- super
9
+ super()
10
10
 
11
11
  @document = document
12
12
  @target_index = target_index&.to_i || -1
@@ -4,7 +4,7 @@ module Arclight
4
4
  # ViewComponent for rendering a single document download link
5
5
  class DocumentDownloadComponent < ViewComponent::Base
6
6
  def initialize(downloads:, **kwargs)
7
- super
7
+ super()
8
8
 
9
9
  @downloads = downloads
10
10
  @link_options = kwargs
@@ -3,8 +3,8 @@
3
3
  module Arclight
4
4
  # Render digital object links for a document
5
5
  class EmbedComponent < ViewComponent::Base
6
- def initialize(document:, presenter:, **kwargs)
7
- super
6
+ def initialize(document:, presenter:, **kwargs) # rubocop:disable Lint/UnusedMethodArgument
7
+ super()
8
8
 
9
9
  @document = document
10
10
  @presenter = presenter
@@ -4,7 +4,7 @@ module Arclight
4
4
  # Component for rendering an expand button in the hierarchy view
5
5
  class ExpandHierarchyButtonComponent < Blacklight::Component
6
6
  def initialize(path:, classes: 'btn btn-secondary btn-sm')
7
- super
7
+ super()
8
8
  @path = path
9
9
  @classes = classes
10
10
  end
@@ -6,7 +6,7 @@ module Arclight
6
6
  with_collection_parameter :section
7
7
 
8
8
  def initialize(section:, presenter:, metadata_attr: {}, classes: %w[row dl-invert], heading: false)
9
- super
9
+ super()
10
10
 
11
11
  @classes = classes
12
12
  @section = section
@@ -6,7 +6,7 @@ module Arclight
6
6
  with_collection_parameter :resource
7
7
 
8
8
  def initialize(resource:, document:, depth: 0)
9
- super
9
+ super()
10
10
 
11
11
  @resource = resource
12
12
  @document = document
@@ -5,7 +5,7 @@ module Arclight
5
5
  class OnlineContentFilterComponent < Blacklight::Component
6
6
  def initialize(document:)
7
7
  @document = document
8
- super
8
+ super()
9
9
  end
10
10
 
11
11
  def render?
@@ -5,7 +5,7 @@ module Arclight
5
5
  class OnlineStatusIndicatorComponent < Blacklight::Component
6
6
  def initialize(document:, **)
7
7
  @document = document
8
- super
8
+ super()
9
9
  end
10
10
 
11
11
  def render?
@@ -4,7 +4,7 @@ module Arclight
4
4
  # Draws the repository breadcrumb item for a search result
5
5
  class RepositoryBreadcrumbComponent < ViewComponent::Base
6
6
  def initialize(document:)
7
- super
7
+ super()
8
8
  @document = document
9
9
  end
10
10
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Arclight
4
- VERSION = '1.6.1'
4
+ VERSION = '1.6.2'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: arclight
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.1
4
+ version: 1.6.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Darren Hardy
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: exe
13
13
  cert_chain: []
14
- date: 2025-08-04 00:00:00.000000000 Z
14
+ date: 2025-08-11 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: blacklight