zadok 0.6.2 → 0.6.3

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: 20d935747715baefc9fdf2ea1051322f57a1cd1c561360e959b4a8136b693394
4
- data.tar.gz: ec09e6b0be8d13554802fd6518e0a40398aff0d66818891c3874cba705940494
3
+ metadata.gz: 9ad47d56f7408bc60e1e8912d0f3026fec43928376403e5559e25337efa9c0cb
4
+ data.tar.gz: ee30755ecc8e2361ffb8b2e05c8f97ce28d79304f1225062e1caa7a523a06eba
5
5
  SHA512:
6
- metadata.gz: 9e182d63e0474dd1013978ec298480424071afaf3b790d2ba0d6afee7c9d06c18da864651fdc921921d0e9d0a6346dc474c28ef57b37700d6bced5c8686c50ef
7
- data.tar.gz: 2cdfa79493d3c79f4c092aaea381cd75e2e014b7654edabceb548db8de0aa8224614cb6af8378d804e0955391984c63e02f076fdb5ececc588a72bd1cd8290bb
6
+ metadata.gz: b2f56a5d42cd238593870447ce14bd63a612cffcf7a49bbb15a9e28d2df918cfb67b1a7cdd41bfe1c12dc2c276dab467e3cf77a103c35a89778e527b79fc3456
7
+ data.tar.gz: 44f2699c57841d2c266e26a9a1b0a22889de5da0789e0b1181522970aebf83f872ba62f9bfe95bf68eb60c9c6abf27b53b36ce1e44036a26691d3522a07af881
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- zadok (0.6.2)
4
+ zadok (0.6.3)
5
5
  bootstrap (~> 4.0)
6
6
  brakeman (~> 4.3)
7
7
  bundler-audit (~> 0.6)
@@ -3,5 +3,5 @@
3
3
  = form.file_field(attr, options.fetch(:html, {}).merge(class: "custom-file-input"))
4
4
  = form.label(attr, class: "custom-file-label")
5
5
 
6
- - if options[:preview] && resource.send(attr).image?
6
+ - if options[:preview] && resource.send(attr)&.image?
7
7
  = image_tag(resource.send(attr), class: "logo img-fluid")
data/lib/zadok/version.rb CHANGED
@@ -3,7 +3,7 @@
3
3
  module Zadok
4
4
  VERSION_MAJOR = 0
5
5
  VERSION_MINOR = 6
6
- VERSION_TINY = 2
6
+ VERSION_TINY = 3
7
7
  VERSION_PRE = nil
8
8
 
9
9
  VERSION = [
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zadok
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.2
4
+ version: 0.6.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Leon Hooijer
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-05-31 00:00:00.000000000 Z
11
+ date: 2018-06-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bootstrap