add-to-homescreen-rails 3.0.0 → 3.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
  SHA1:
3
- metadata.gz: 43848950e30ebbafde25389ad2d854996a5bc41c
4
- data.tar.gz: c7b0e65e26182693cd08415049890ff67d00860e
3
+ metadata.gz: b234924166fa28552179b592db5cd6ae38505aec
4
+ data.tar.gz: 3c5d670ddb7a1ec9609b2b756f47b07995ba19cd
5
5
  SHA512:
6
- metadata.gz: 653f4252b0dc5a2f012f7ba277d73c2861dbec2d29764d51c9780c3e2eb64bae53e2450b7eebe81107f0bb34578bac1c034f488677af0496efdc2ec977c5deb9
7
- data.tar.gz: 03321d356ed81b371acfa3df6193b4b44f92131f5395f80cad3cc75e07e45fdb851a3f280c5724dcf1f2c9773c12968da9ec71d28250146c13fb677ef41bc18d
6
+ metadata.gz: eac76e40c5acd1047610b30c6ccf34943377cf63476fc9302cf58805c86f985f21c9b135e40b20c159b5b397dc0f28f40128a9124a95d65cec0c7fa6246c959b
7
+ data.tar.gz: 96700f21952fb69e8528815b2fe0160b277f22ad2eb886dba4818981c6e672adbbc8a8c2b603f491b06d95b233d8b392199568f1655129edc1ad606cfbfdc1d9
@@ -1,4 +1,4 @@
1
- /* Add to Homescreen v3.0.0 ~ (c) 2014 Matteo Spinelli ~ @license: http://cubiq.org/license */
1
+ /* Add to Homescreen v3.0.1 ~ (c) 2014 Matteo Spinelli ~ @license: http://cubiq.org/license */
2
2
  (function (window, document) {
3
3
  /*
4
4
  _ _ _____ _____
@@ -38,6 +38,11 @@ ath.intl = {
38
38
  it_it: {
39
39
  message: 'Per Aggiungere questa web app alla schermata iniziale: premi %icon e poi <strong>%action</strong>.',
40
40
  action: { ios: 'Aggiungi a Home', android: 'Aggiungi alla homescreen', windows: 'pin to start' }
41
+ },
42
+
43
+ nl_nl: {
44
+ message: 'Om deze webapp op je telefoon te installeren, klik op %icon en dan <strong>%action</strong>.',
45
+ action: { ios: 'Voeg toe aan beginscherm', android: 'Toevoegen aan startscherm', windows: 'Aan startscherm vastmaken' }
41
46
  }
42
47
  };
43
48
 
@@ -77,6 +82,9 @@ _extend(ath, {
77
82
  language: _nav.language && _nav.language.toLowerCase().replace('-', '_')
78
83
  });
79
84
 
85
+ // normalize language string so it always looks like aa_bb
86
+ ath.language = ath.language.length == 2 && ath.language + '_' + ath.language;
87
+
80
88
  ath.isMobileSafari = ath.isIDevice && _ua.indexOf('Safari') > -1 && _ua.indexOf('CriOS') < 0;
81
89
  ath.OS = ath.isIDevice ? 'ios' : ath.isMobileChrome ? 'android' : ath.isMobileIE ? 'windows' : 'unsupported';
82
90
 
@@ -2,7 +2,7 @@ module Add
2
2
  module To
3
3
  module Homescreen
4
4
  module Rails
5
- VERSION = "3.0.0"
5
+ VERSION = "3.0.1"
6
6
  end
7
7
  end
8
8
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: add-to-homescreen-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0
4
+ version: 3.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - RogerE
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-05-02 00:00:00.000000000 Z
11
+ date: 2014-05-03 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Provides the 'Add to Home screen' assets for your Rails application.
14
14
  email: