jekyll_patternbot 0.16.0 → 0.17.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/_plugins/jekyll_patternbot/processors/brand.rb +2 -2
- data/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a5b1b48946d4900088590b0f4918e67e8ca2c9416cd3ff1f113e88bb85f3e32a
|
4
|
+
data.tar.gz: 9eea4a3a6c4b2f9d544d4eb8ea0d07a5aad159b68f48939dd91633d36618bf2d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 319b5d729cf3bd8e1cdd2479a2296d366ef2fae0bd2e142f1e604df64b41ffeefc9c5b2547a7a965221b45a098a050905f98a62984436f1426f4c8d94907f1d1
|
7
|
+
data.tar.gz: 0f4ac5c853d28a81550f98056ec792653b38b5440d370d8fb7eb195f6e829845854efbcfcdcd492df9f9f1931532f07ad8c64e383b5cd82d0909ef4a70e6fbdc
|
data/CHANGELOG.md
CHANGED
@@ -5,6 +5,14 @@ Jekyll Patternbot adheres to [Semantic Versioning](http://semver.org/).
|
|
5
5
|
|
6
6
|
---
|
7
7
|
|
8
|
+
## [0.17.0] — 2019-01-16
|
9
|
+
|
10
|
+
### Fixed
|
11
|
+
|
12
|
+
- Added more checking for missing fonts and colours inside `theme.css`
|
13
|
+
|
14
|
+
---
|
15
|
+
|
8
16
|
## [0.16.0] — 2019-01-16
|
9
17
|
|
10
18
|
### Added
|
@@ -2,13 +2,13 @@ module JekyllPatternbot
|
|
2
2
|
class BrandProcessor
|
3
3
|
|
4
4
|
def remove_colors
|
5
|
-
unless PatternbotData[:css].key? :theme and PatternbotData[:css][:theme].key? :colors
|
5
|
+
unless PatternbotData[:css].key? :theme and PatternbotData[:css][:theme].key? :colors and PatternbotData[:css][:theme][:colors] and PatternbotData[:css][:theme][:colors].key? :primary and PatternbotData[:css][:theme][:colors][:primary].length > 0
|
6
6
|
PatternbotData[:patterns][:internal]['brand'][:config]['patterns'].delete 'colors'
|
7
7
|
end
|
8
8
|
end
|
9
9
|
|
10
10
|
def remove_typefaces
|
11
|
-
unless PatternbotData[:css].key? :theme and PatternbotData[:css][:theme].key? :fonts and PatternbotData[:css][:theme][:fonts].key :primary
|
11
|
+
unless PatternbotData[:css].key? :theme and PatternbotData[:css][:theme].key? :fonts and PatternbotData[:css][:theme][:fonts].key? :primary
|
12
12
|
PatternbotData[:patterns][:internal]['brand'][:config]['patterns'].delete 'typefaces'
|
13
13
|
end
|
14
14
|
end
|
data/version.rb
CHANGED