jekyll-make-sitemap 1.2.0 → 1.2.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: 16db4afb3d3c11c391bb3b66415273fc85911357a5a9fd9032f740533925c3b2
4
- data.tar.gz: 448cffe8ddb49bf4945a08192214eacb11bde3892670d8a4a0cc1d61658b2ee3
3
+ metadata.gz: 463bbed9ec6b232b18f6570ee9050a516847d2c9ffae1c2c85cf92e63b341ba8
4
+ data.tar.gz: 0ef72dc954b89249c113b1f5cd3c7419d2fcd2b873bb5e04623343f609ffb6ca
5
5
  SHA512:
6
- metadata.gz: f4458b5ea17b2942cc5381c94789a97167457c17b577b7d00e67e7ec4b9a40f1aea0f3247e7c742bf514a4a9cacdf61e4ac3673df52d54a43254b58604a0c818
7
- data.tar.gz: 024267fbca6c40efc38cf0da7fc691cc0650f432e662d8dff0657fb8baf13b22730f4230d0d3a4c47499de5a551db965bf0d876758344dbcf3845d1986b2b615
6
+ metadata.gz: bf72ce53cb0ec9d5b7a1002e8cf0f59e41566bf8362fa69f1793991704e47532310fdc478bfdbc16b43c7fedb3212f4b4f5d8217bed4d3859f7426e041ccd45c
7
+ data.tar.gz: c7023a625232bfb50b2f96de78284e26748ba69abc33500f6fdf4dae75d4c264c74494942588d9143231b73158bd81a86a571909efc6b962f1b8461f0fa0265f
@@ -4,11 +4,14 @@ All notable changes to this project will be documented in this file.
4
4
  The format is based on [Keep a Changelog](http://keepachangelog.com/)
5
5
  and this project adheres to [Semantic Versioning](http://semver.org/).
6
6
 
7
- ## [1.2.0] - 2020-07-19
7
+ ## [1.2.1] - 2020-07-19
8
8
 
9
9
  Added
10
10
  - Ability to include posts by category in configuration
11
11
 
12
+ Fixed
13
+ - Bug where default env config is lost if there are config settings but none for envs
14
+
12
15
  ## [1.1.1] - 2020-07-12
13
16
 
14
17
  Added
@@ -7,8 +7,8 @@ module Jekyll
7
7
  class << self
8
8
  def generate(site, payload, file)
9
9
  default_config = { 'pages' => true, 'posts' => true, 'environments' => ['production'] }
10
- config = site.config.has_key?("jekyll-make-sitemap") ? site.config["jekyll-make-sitemap"] : default_config
11
- if config['environments'].include?(payload.jekyll.environment)
10
+ config = site.config.has_key?("jekyll-make-sitemap") ? default_config.merge(site.config["jekyll-make-sitemap"]) : default_config
11
+ if config["environments"].include?(payload.jekyll.environment)
12
12
  baseurl = site.config["url"]
13
13
  collections = config.has_key?("collections") ? config["collections"] : []
14
14
  unless config.has_key?("pages") && config["pages"] == false
@@ -1,7 +1,7 @@
1
1
  module Jekyll
2
2
  module Make
3
3
  class Sitemap
4
- VERSION = "1.2.0"
4
+ VERSION = "1.2.1"
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-make-sitemap
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sean Hofer