administrate-field-hyperlink 0.3.0 → 0.3.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: d29f7778a1a81a1561da42b08b4b73b2fed336dbabb351ffc58b646f3a9d289e
4
- data.tar.gz: 5279a0cec0b96469ec39220ddd7e2d45bdccdc669b19d814fc206ecf375c0d50
3
+ metadata.gz: 96f8d7dee46e32641769c396e3f2d312f028a24cc62584e5bf86f25f078c31c9
4
+ data.tar.gz: 380fb60e8804abddf8ee7f6a4a407404769ae952c4bfccb3488ed6d6b037d538
5
5
  SHA512:
6
- metadata.gz: ffd04faba7aae164458549486e7a52faa654e348461b5a26c06929a7b37544e2da7e2c371f15cd1eef6a259939ea4f255febeba5f0570088450f396f359bcda0
7
- data.tar.gz: b7e8b49cbf287e99220be74ec65f654cfeeb09efcf5708f846e272d8b187121703a334508e6c5f5b87f5390afe3400759ee6f7575d1d2d1e239917ecd4d7fd71
6
+ metadata.gz: 11f319811aef2b0fb6386b55882d388964a452f404b63d98d98208aec4e549e9305d0639e4b677cd3a84e831ac6635b0f4b0e5262d0d5f96a6d796a9a61c1bc7
7
+ data.tar.gz: 66cf33a5be05a8448897cbbaa7b2a78ce68a8ea3546e7286159d0efeb23b23e765752dac7de1d26160452b52f775e155b32b9741cc95822beaeffc56dc2aca56
@@ -1,5 +1,9 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 0.3.1
4
+
5
+ - Fix :bug: with `present?` in case data is present
6
+
3
7
  ## 0.3.0
4
8
 
5
9
  - Add `label` option
@@ -10,7 +10,7 @@ module Administrate
10
10
  end
11
11
 
12
12
  def present?
13
- (data.presence | options.fetch(:fallback_href) { nil }).present?
13
+ (data.presence || options.fetch(:fallback_href) { nil }).present?
14
14
  end
15
15
 
16
16
  def to_s
@@ -1,7 +1,7 @@
1
1
  module Administrate
2
2
  module Field
3
3
  module HyperlinkVersion
4
- VERSION = '0.3.0'.freeze
4
+ VERSION = '0.3.1'.freeze
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: administrate-field-hyperlink
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Derk-Jan Karrenbeld
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-04-11 00:00:00.000000000 Z
11
+ date: 2019-04-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: administrate