jekyll-pwa-plugin 2.2.2 → 2.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/jekyll-pwa-plugin.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c132723df3b31e796b6d80c550a26d54cb26080f
|
4
|
+
data.tar.gz: 4607a59468caadfb7b5602bf45af709c7af0b42b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0e60ac91004ff4c7f5428f907a0553e579295c9aaf7c1d6a3def99f63c781a8c548b39242f5084c7401da240b0d0c77b292eb025b705f7e1705a6ad75ac3c03d
|
7
|
+
data.tar.gz: ed937fb5e122e034776bdf8f07e96d46ac56726945a90aca24ddb1eb64e5adfb58b801219b719b9b0081678e79150050cd6d10719730c273f7f89a9b10a2cd73
|
data/lib/jekyll-pwa-plugin.rb
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
class SWHelper
|
2
|
-
WORKBOX_VERSION = 'v3.6.
|
2
|
+
WORKBOX_VERSION = 'v3.6.3'
|
3
3
|
def initialize(site, config)
|
4
4
|
@site = site
|
5
5
|
@config = config
|
@@ -112,7 +112,7 @@ class SWHelper
|
|
112
112
|
# write service-worker.js
|
113
113
|
sw_src_file_str = File.read(@site.in_source_dir(@sw_src_filepath))
|
114
114
|
workbox_dir = File.join(@site.baseurl.to_s, dest_js_directory, "workbox-#{SWHelper::WORKBOX_VERSION}")
|
115
|
-
import_scripts_str =
|
115
|
+
import_scripts_str =
|
116
116
|
<<-SCRIPT
|
117
117
|
importScripts("#{workbox_dir}/workbox-sw.js");
|
118
118
|
workbox.setConfig({modulePathPrefix: "#{workbox_dir}"});
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-pwa-plugin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.2.
|
4
|
+
version: 2.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pan Yuqi
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2019-01-
|
12
|
+
date: 2019-01-23 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: This plugin provides PWA support for Jekyll. Generate a service worker
|
15
15
|
and provides precache with Google Workbox.
|