spritz_for_jekyll 0.2.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/spritz_for_jekyll.rb +0 -5
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c2e73e94bd936630fda4a2ca7313f80344f9b9ee
|
|
4
|
+
data.tar.gz: 79270dc542363a1e52fbb662b0bb2a6c3295ae9f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4b8c1ae7e8b5310f0ff03872ef7957305b606d25244ef7d8fbbaaddbf7a38ca8a6c6d96c7a084da5675240225b40bc81a96ec7171b9424e1d7aa15dc132a1657
|
|
7
|
+
data.tar.gz: 8ff3431641164407692eefb080240f8f0485d3a01208110004d284369177ad1686a64346a7d2856912eb8ccb528f28b0b656256836eb1313a07f8668c1164318
|
data/lib/spritz_for_jekyll.rb
CHANGED
|
@@ -4,10 +4,7 @@ module Spritz
|
|
|
4
4
|
return if site.config["spritz_client_id"].nil?
|
|
5
5
|
return unless site.config["spritz_auto_mode"].nil? or site.config["spritz_auto_mode"]
|
|
6
6
|
|
|
7
|
-
puts "url should be defined in order for Spritz to work." if site.config["url"].nil?
|
|
8
|
-
|
|
9
7
|
client_id = site.config["spritz_client_id"]
|
|
10
|
-
base_url = site.config["url"]
|
|
11
8
|
|
|
12
9
|
snippet = <<HEREDOC
|
|
13
10
|
<script>
|
|
@@ -33,10 +30,8 @@ HEREDOC
|
|
|
33
30
|
return if site.nil?
|
|
34
31
|
|
|
35
32
|
client_id = site["spritz_client_id"]
|
|
36
|
-
base_url = site["url"]
|
|
37
33
|
|
|
38
34
|
return if client_id.nil?
|
|
39
|
-
puts "url should be defined in order for Spritz to work." if base_url.nil?
|
|
40
35
|
|
|
41
36
|
snippet = <<HEREDOC
|
|
42
37
|
<script>
|