jekyll-seo-tag 2.7.0 → 2.7.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: e9eb9dfd036a3ea2c3078d87759738e4606cbf37633996a68568a289fe0aec88
4
- data.tar.gz: f351b73b95b687b9195df24044940e104ffebecc109b3f8120013594083583bd
3
+ metadata.gz: 0d857a1e0d0f1195353559393693772706229a997bcacaa669de788d2d0c22e2
4
+ data.tar.gz: f88d0b9da96a0ad9f697268c9b7bc0a6842e29c19fbc4f95d7749a49cdbecdff
5
5
  SHA512:
6
- metadata.gz: d4cf8a641a8446757ddb990bb9787a0a4a25f66debe44f3bc740052958fd3417df64efeb9c2a6fd1d8d0ff8e3296bc47eb65f8f97c10b22c89efb613aead4d1b
7
- data.tar.gz: a18945dca650e7f6c0834badfd2f8f1c816654e39737666b2b17963017f7a97249b19bc99fb7f02661b66aca03c6ff44c260782030b43e2d7bf5ba6fecc8f040
6
+ metadata.gz: 52707339211591e65592b3704e520f750bc48607499a6c495242acedafda28b2af84d80595b1ef0c765eb0c96bf6c305ad799f7607c4ccff0f9f0938e9dbd086
7
+ data.tar.gz: 3b56000f6a1ca551d2c5ba6495e0caf71836e707229676c086ccabe423397e3312bc8f6efb08aeb119282f9b6b0d0bafe58b3a5701b205f2c2178c5e8c6e33bf
@@ -1,3 +1,9 @@
1
+ ## 2.7.1 / 2020-10-18
2
+
3
+ ### Development Fixes
4
+
5
+ * refactor: mutate site payload instead of duplicating it (#419)
6
+
1
7
  ## 2.7.0 / 2020-10-18
2
8
 
3
9
  ### Minor Enhancements
@@ -36,7 +42,6 @@
36
42
  * HTTPS links to schema.org (#350)
37
43
  * use example.com for example URL (#351)
38
44
 
39
-
40
45
  ## 2.6.1 / 2019-05-17
41
46
 
42
47
  ### Development Fixes
@@ -47,12 +47,11 @@ module Jekyll
47
47
 
48
48
  def payload
49
49
  # site_payload is an instance of UnifiedPayloadDrop. See https://git.io/v5ajm
50
- Jekyll::Utils.deep_merge_hashes(
51
- context.registers[:site].site_payload,
52
- "page" => context.registers[:page],
53
- "paginator" => context["paginator"],
54
- "seo_tag" => drop
55
- )
50
+ context.registers[:site].site_payload.tap do |site_payload|
51
+ site_payload["page"] = context.registers[:page]
52
+ site_payload["paginator"] = context["paginator"]
53
+ site_payload["seo_tag"] = drop
54
+ end
56
55
  end
57
56
 
58
57
  def drop
@@ -5,6 +5,6 @@ module Liquid; class Tag; end; end
5
5
 
6
6
  module Jekyll
7
7
  class SeoTag < Liquid::Tag
8
- VERSION = "2.7.0"
8
+ VERSION = "2.7.1"
9
9
  end
10
10
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-seo-tag
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.7.0
4
+ version: 2.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Balter