jekyll-github-metadata 2.9.2 → 2.9.3

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
  SHA1:
3
- metadata.gz: e47bbe02b9e87c1fdec0797a7dc59d33123c88fe
4
- data.tar.gz: 35cf5334b592a1914ec74014127286b3d08e5574
3
+ metadata.gz: 82553c0443622f76eaeee723bc56eaa5669e28c0
4
+ data.tar.gz: e5b3376b4217126db47f9d9c29a02c47f2e3ea55
5
5
  SHA512:
6
- metadata.gz: d224d5a1a0667ee15eedb5c4690d1c3f0f4115e801d56a20a0fe36508de246c5d2536644fd2dba58246ee67c48843d75ffe5e93a7c84be5974c10ed9b10958ee
7
- data.tar.gz: f76d95a60d7d58a6a411c39c467a31140ee2be1d3fe45abee45598e9c68043e49be2d9c3c81a161285e8189532b19db475be3e60224cbfc73ef8f3d8f597d206
6
+ metadata.gz: 65a26531411f92e5f4b3667606b5e28715facf8d078b729bddb972bc414a4575e7b09852dca33c57b1a5bd6ac92c4e96c4e5693c08cb3fd631a491af1a472218
7
+ data.tar.gz: 147c2f8b00c4bb4203809cbc019c640c56645feae415ac99b9fde5b07737ca7976d559cdc6893e1317a6f660f7c6ec43bf631aa3c3b8ddc9c2baeb05679b635e
@@ -11,11 +11,9 @@ module Jekyll
11
11
  # See https://github.com/jekyll/jekyll/pull/6338
12
12
  alias_method :invoke_drop, :[]
13
13
  def key?(key)
14
- if self.class.mutable?
15
- @mutations.key?(key)
16
- else
17
- !key.nil? && (respond_to?(key) || fallback_data.key?(key))
18
- end
14
+ return false if key.nil?
15
+ return true if self.class.mutable? && @mutations.key?(key)
16
+ respond_to?(key) || fallback_data.key?(key)
19
17
  end
20
18
 
21
19
  def to_s
@@ -1,5 +1,5 @@
1
1
  module Jekyll
2
2
  module GitHubMetadata
3
- VERSION = "2.9.2".freeze
3
+ VERSION = "2.9.3".freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-github-metadata
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.9.2
4
+ version: 2.9.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Parker Moore