pwa 4.0.0 → 4.0.1

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
  SHA256:
3
- metadata.gz: 79a9115e917a05a1ba27a01db53e8f0d992198f9748cc6e64727d569603cb0fb
4
- data.tar.gz: bc9e3b279f638a17abafa6101b09495ab612ee2a08eeea47ae940c2bf3127a37
3
+ metadata.gz: 33011e7673248868d65bdd8dbb7d54334c27aa1f3b6970b6eddf458db2f71783
4
+ data.tar.gz: 4c2daeedfd8bf55dd6805e26224623d52b5435c0cec3e49bd280df94c5281b70
5
5
  SHA512:
6
- metadata.gz: 3950e131101fbfc4c0c6364ae1c0941a22e375179d144b071e8a16a9bfcb87def85ded1526ea3586ad10a80dc0ceab7866e7970f02157ff7e574bd29dcd4a700
7
- data.tar.gz: 63e62558fa5234f5fa2f69125f6e2bbb2583cd3a10ab2c277cc354f06bbfee18f9990a83dec3bed1c6d1328115afa820c420b7b3e4a127199d32e4d1f4be5c6d
6
+ metadata.gz: 8c1641056e87eed22e4002a790993a7048587bc21319363fe8bc82b98e9a04ba81082bc97910931f43e68317295a6c8c9c35d49da1299b7238e0d8fe5b9c023d
7
+ data.tar.gz: 5e18c1d9bbeb4aa674e40b0ab59efffa7d36e8d6ca89d3af414a06f53834d9d9e05bc18c2e2987ce96bd94d2eb4f2fce18515fc211f4dab12371c0df7e4e0071
@@ -4,10 +4,15 @@
4
4
 
5
5
  * nothing yet
6
6
 
7
+ ### 4.0.1 - 2018/03/27
8
+
9
+ * bugfixes
10
+ * fixed manifest URL in manifest component
11
+
7
12
  ### 4.0.0 - 2018/03/27
8
13
 
9
14
  * features
10
- * add theme support
15
+ * NPM package overhaul
11
16
  * bugfixes
12
17
  * fixed manifest URL in manifest component
13
18
 
data/README.md CHANGED
@@ -84,7 +84,7 @@ end
84
84
  Add the following to the `head` tag of your layout file:
85
85
 
86
86
  ```haml
87
- = component 'pwa/manifest'
87
+ = component 'pwa/manifest', url: request.base_url
88
88
  ```
89
89
 
90
90
  Now add the `pwa-rails` NPM package and initialize it:
@@ -1 +1 @@
1
- <link rel='manifest' href="#{request.base_url}/manifest.json" />
1
+ <link rel='manifest' href="<%= options[:url] %>/manifest.json" />
@@ -6,7 +6,7 @@ module Pwa
6
6
 
7
7
  initializer 'pwa.mozaic' do
8
8
  Mozaic.configure do |config|
9
- config.define_component 'pwa/manifest'
9
+ config.define_component 'pwa/manifest', url: 'http://localhost:3000'
10
10
  config.define_component 'pwa/theme', default: '#FFFFFF'
11
11
  end
12
12
  end
@@ -1,5 +1,5 @@
1
1
  module Pwa
2
2
 
3
- VERSION = '4.0.0'
3
+ VERSION = '4.0.1'
4
4
 
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pwa
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.0
4
+ version: 4.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonas Hübotter