blacklight-gallery 3.0.0 → 3.0.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: 167f895cb50e7732ca7512b278aeacca04067b617da016f2a3b144c49a0fab53
4
- data.tar.gz: e15f31f491f90153c9f4f90f0b124030e12c3e678bbcc2c448160bb55f403700
3
+ metadata.gz: 6ec7eb8df1dac5b37f61ab01b6ab16d5a42e9b40692f86286a1a3480041f0633
4
+ data.tar.gz: 8f15749eee6522bf77e3b8406c845fdf2ffa220249c6f2054a0053389d68ba75
5
5
  SHA512:
6
- metadata.gz: 4d7a2c5179ad2a1d18aa23fd8207aa6198d7385d1f17860edfae67d6bd1afcc897482013f271e6a4cb3ce0e519923a85b9bbdbb99ae922f348047bfef627a3db
7
- data.tar.gz: 34ab421a4cf0bd262eae19e95bfe014de1e7eaa39c1661e5a6a2afc612996e357a1fd1d7be2b0f0ac68e85700adca1974e46aecde4fda4ac5e72c1e83e2e43df
6
+ metadata.gz: 6a740861b723008f04f1cb80c1705c040727ba4a732484f4035493a5ecb5ccb0b3a012ceaa555245c895d3775a5539610855e5df826400a70f785e96e1ab3ed5
7
+ data.tar.gz: 4785d69541407fb35631d8db774369527494ff5e03acd04357ea5565ea1be9a691b012df67b9c430e8fb697461abf3b15706985b3690f889495b65f626616877
@@ -1,7 +1,8 @@
1
1
  <%= render(Blacklight::DocumentComponent.new(classes: 'col', component: :div, document: @document, counter: @counter)) do |component| %>
2
2
  <% component.with(:body) do %>
3
3
  <div class="thumbnail-container">
4
- <%= thumbnail %>
4
+ <% # Checking if #thumbnail takes any args before passing image_options. #thumbnail did not take any args in version 7.14.1 and earlier %>
5
+ <%= method(:thumbnail).arity.zero? ? thumbnail : thumbnail(class: 'img-thumbnail') %>
5
6
 
6
7
  <div class="caption-area">
7
8
  <div class="caption container">
@@ -1,5 +1,5 @@
1
1
  module Blacklight
2
2
  module Gallery
3
- VERSION = "3.0.0"
3
+ VERSION = "3.0.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: blacklight-gallery
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0
4
+ version: 3.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Beer
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-01-14 00:00:00.000000000 Z
11
+ date: 2021-01-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails