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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 31552ed751cd1b86fdd2c30a11e4ecb131e4e947
4
- data.tar.gz: 9afb5f219f579eef75b06f99d69bbacfa67fc8c6
3
+ metadata.gz: f2b9f4ff6d8273f3ccd60abcc64955f0d4cea84b
4
+ data.tar.gz: d8a87127df4ad6d976d843d6d5ea5761a8bb1078
5
5
  SHA512:
6
- metadata.gz: 335912fa3a5c4910004163a289e863467cde8eb5a5d96b9bade63287abd4e1c244944741a599c2c7f56c106d442b83eb7b8671916f7bdb61a6120316ea719588
7
- data.tar.gz: f7ec9e6be9ad4dc3cf67f96dbbf14d1fc2c6345c59ba4eddf1d11575b9ac2cf30dec32a6314cbc565b69997b7526b76b4ef66b3b4bbc6616d2d5879b873c1d54
6
+ metadata.gz: a1838a0ee5e588d62cbecf9071fb931da4469840c24f63392a61dc14d70d9b41ead63aa01dc5e51da25bd91924e246ebb146ed754c8cf3ad7c68bba6e23b3bee
7
+ data.tar.gz: 4cd72f33d9ed0dad1497983fb1a8fcef457d22c2e11fbb9b47637c20ea82c97ecd2f8c35296aba862388874595ebf8fbdfe35f6dd659db180537ea897e4bfe1a
@@ -2,6 +2,8 @@ AllCops:
2
2
  Exclude:
3
3
  - "test/tmp/**/*"
4
4
  - "tmp/**/*"
5
+ - "coverage/**/*"
6
+ - "gemfiles/**/*"
5
7
 
6
8
  Metrics/LineLength:
7
9
  Max: 120
@@ -1,7 +1,8 @@
1
1
  language: ruby
2
+ cache: bundler
2
3
  rvm:
3
- - 2.2.5
4
- - 2.3.2
4
+ - 2.2.6
5
+ - 2.3.3
5
6
  before_install: gem install bundler -v 1.13.6
6
7
  gemfile:
7
8
  - gemfiles/rails_3.gemfile
@@ -1,3 +1,8 @@
1
+ ### 0.5.3 - 2017-01-11
2
+
3
+ * bug fixes
4
+ * Fix javascript variable name error in serviceworker template (@amelzer)
5
+
1
6
  ### 0.5.2 - 2017-01-07
2
7
 
3
8
  * enhancements
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 key.indexOf(CACHE_VERSION) !== 0;
32
+ return cacheName.indexOf(CACHE_VERSION) !== 0;
33
33
  }).map(function(cacheName) {
34
34
  return caches.delete(cacheName);
35
35
  })
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
  module ServiceWorker
3
3
  module Rails
4
- VERSION = "0.5.2".freeze
4
+ VERSION = "0.5.3".freeze
5
5
  end
6
6
  end
@@ -29,4 +29,5 @@ Gem::Specification.new do |spec|
29
29
  spec.add_development_dependency "rubocop", "0.46.0"
30
30
  spec.add_development_dependency "rails"
31
31
  spec.add_development_dependency "appraisal", "~> 2.1.0"
32
+ spec.add_development_dependency "coveralls"
32
33
  end
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.2
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-07 00:00:00.000000000 Z
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