serviceworker-rails 0.5.2 → 0.5.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +2 -0
- data/.travis.yml +3 -2
- data/CHANGELOG.md +5 -0
- data/README.md +2 -0
- data/lib/generators/serviceworker/templates/serviceworker.js +1 -1
- data/lib/serviceworker/rails/version.rb +1 -1
- data/serviceworker-rails.gemspec +1 -0
- metadata +16 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f2b9f4ff6d8273f3ccd60abcc64955f0d4cea84b
|
4
|
+
data.tar.gz: d8a87127df4ad6d976d843d6d5ea5761a8bb1078
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a1838a0ee5e588d62cbecf9071fb931da4469840c24f63392a61dc14d70d9b41ead63aa01dc5e51da25bd91924e246ebb146ed754c8cf3ad7c68bba6e23b3bee
|
7
|
+
data.tar.gz: 4cd72f33d9ed0dad1497983fb1a8fcef457d22c2e11fbb9b47637c20ea82c97ecd2f8c35296aba862388874595ebf8fbdfe35f6dd659db180537ea897e4bfe1a
|
data/.rubocop.yml
CHANGED
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -1,6 +1,8 @@
|
|
1
1
|
# ServiceWorker::Rails
|
2
2
|
|
3
3
|
[![Build Status](https://travis-ci.org/rossta/serviceworker-rails.svg?branch=master)](https://travis-ci.org/rossta/serviceworker-rails)
|
4
|
+
[![Code Climate](https://codeclimate.com/github/rossta/serviceworker-rails/badges/gpa.svg)](https://codeclimate.com/github/rossta/serviceworker-rails)
|
5
|
+
[![Coverage Status](https://coveralls.io/repos/github/rossta/serviceworker-rails/badge.svg?branch=master)](https://coveralls.io/github/rossta/serviceworker-rails?branch=master)
|
4
6
|
|
5
7
|
Turn your Rails app into a Progressive Web App. Use [Service Worker](https://developer.mozilla.org/en-US/docs/Web/API/Service_Worker_API) with the Rails asset pipeline.
|
6
8
|
|
@@ -29,7 +29,7 @@ function onActivate(event) {
|
|
29
29
|
// Return true if you want to remove this cache,
|
30
30
|
// but remember that caches are shared across
|
31
31
|
// the whole origin
|
32
|
-
return
|
32
|
+
return cacheName.indexOf(CACHE_VERSION) !== 0;
|
33
33
|
}).map(function(cacheName) {
|
34
34
|
return caches.delete(cacheName);
|
35
35
|
})
|
data/serviceworker-rails.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: serviceworker-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ross Kaffenberger
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-01-
|
11
|
+
date: 2017-01-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: railties
|
@@ -136,6 +136,20 @@ dependencies:
|
|
136
136
|
- - "~>"
|
137
137
|
- !ruby/object:Gem::Version
|
138
138
|
version: 2.1.0
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: coveralls
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - ">="
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: '0'
|
146
|
+
type: :development
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - ">="
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '0'
|
139
153
|
description: Integrates ServiceWorker into the Rails asset pipeline.
|
140
154
|
email:
|
141
155
|
- rosskaff@gmail.com
|