effective_bootstrap 0.8.0 → 0.8.1

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: d221a2264a9a64787ad5a179b836fc0c6fbc1cb7b3ea3a968af87eeb708a4b14
4
- data.tar.gz: 33f8635737e17de6393c39a899293e8696ef4d5e2726d3cf9d1fcc29bfec890c
3
+ metadata.gz: 0c8ff2ddc7846693eda910018d90b746abe50f7a617eea476edd16920672df78
4
+ data.tar.gz: 544986295a3ac4a9b05e5cdf70f17b766682c4f95c8ba9ac0a551ebfa8c07fef
5
5
  SHA512:
6
- metadata.gz: 0704a3f0bc5866589d8117dd10955978e20c36a5938fcd674a5f148868af9a9fa90d4a93b95df8944771a7b147473517fe98838330fa4fd6c469acd48e2f06c7
7
- data.tar.gz: cd48f3bd938979dfb1dbbec28d0a0285fd101b2140b7301feb07d5a44fd0d5da2761f08e85b4148f2c615ef4ccc429a455e38e54efd80f1d7a17973242a72a55
6
+ metadata.gz: ee013e77368c0443632902e1a67870012d270e8d15fa4051aa9cf3e67d479b4f121e40a4b2b8aee389370bf183fcecdbc4dac0c79f8dae4c75b9c580d63d38ce
7
+ data.tar.gz: 363f67e6ac798acd14506af81b769d5e8d56fe130281719bd71743f1738193a615e943b7df7df7039446eb19cd2bc359e4b8776040a43279f39eb4c4b9e5829b
@@ -7,7 +7,7 @@ module Effective
7
7
  EXCLUSIVE_CLASS_SUFFIXES = ['-primary', '-secondary', '-success', '-danger', '-warning', '-info', '-light', '-dark']
8
8
 
9
9
  delegate :object, to: :@builder
10
- delegate :capture, :content_tag, :link_to, :icon, :asset_path, to: :@template
10
+ delegate :capture, :content_tag, :image_tag, :link_to, :icon, :asset_path, to: :@template
11
11
 
12
12
  # So this takes in the options for an entire form group.
13
13
  def initialize(name, options, builder:, html_options: nil)
@@ -94,7 +94,7 @@ module Effective
94
94
  content_tag(:div, class: 'card mb-3') do
95
95
  if attachment.image?
96
96
  content_tag(:div, class: 'card-body') do
97
- content_tag(:img, '', class: 'img-fluid', src: url, alt: attachment.filename.to_s) +
97
+ image_tag(url, alt: attachment.filename.to_s, class: 'img-fluid') +
98
98
  link_to(attachment.filename, url, class: 'card-link')
99
99
  end
100
100
  else
@@ -1,3 +1,3 @@
1
1
  module EffectiveBootstrap
2
- VERSION = '0.8.0'.freeze
2
+ VERSION = '0.8.1'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: effective_bootstrap
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.8.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Code and Effect