pageflow 0.11.1 → 0.11.2

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of pageflow might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ecf6ba9f315745f843e7d90128a9fba8aa6476bc
4
- data.tar.gz: fb95b521c8b1ae2e6e24dee2f8ea7599175b6977
3
+ metadata.gz: 0b91fd4ba440ef942f86425cd12308b20c8e2f92
4
+ data.tar.gz: ac4be79835e029f436cd645ae7a12340844eff99
5
5
  SHA512:
6
- metadata.gz: 4d080636d5f6623ec718f75882005d510d0fbc830b098d1d0029e8b894875fcdc14462c18cb81fda8d6352237f247ff9d545f51ef3a516b54afe58f806e4caac
7
- data.tar.gz: 4e8afe5e547caa2c5e49ec0912e9cf45929346b16491386a57996fac8855bdcebb92d774b37bcc150ebfb457264a74ce5ff088843cd11d8eaf5c4ff7d5b9f978
6
+ metadata.gz: 4d412f94f284985d712bb83f1abb67a1a9150e8aa9b9ef77deb27cd498109794624b71624d8b8bf0be1705be873be71e4111f3ad566d2fa350179f662e8f34f8
7
+ data.tar.gz: 03188f0ac965c97e01d7f1b13edda03b3115c0f573de609c366eb37b4ec083412d32fd82034f7c680a92361f7d6b54d3bd361092aaef42caec62e373753511e7
data/CHANGELOG.md CHANGED
@@ -1,5 +1,16 @@
1
1
  # CHANGELOG
2
2
 
3
+ ### Version 0.11.2
4
+
5
+ 2016-10-24
6
+
7
+ [Compare changes](https://github.com/codevise/pageflow/compare/v0.11.1...v0.11.2)
8
+
9
+ - Bug fix: Fix video loop on safari 10 on el capitan.
10
+ ([#664](https://github.com/codevise/pageflow/pull/664))
11
+ - Bug fix: Fix sharing menu in mobile navigation
12
+ ([#662](https://github.com/codevise/pageflow/pull/662))
13
+
3
14
  ### Version 0.11.1
4
15
 
5
16
  2016-10-05
@@ -11,6 +11,10 @@ pageflow.browser.agent = {
11
11
  return this.matchesSafari9() && !this.matchesMobilePlatform();
12
12
  },
13
13
 
14
+ matchesDesktopSafari10: function() {
15
+ return this.matchesSafari10() && !this.matchesMobilePlatform();
16
+ },
17
+
14
18
  matchesSafari9: function() {
15
19
  var matchers = [/Safari\//i, /Version\/9/i];
16
20
 
@@ -19,6 +23,14 @@ pageflow.browser.agent = {
19
23
  });
20
24
  },
21
25
 
26
+ matchesSafari10: function() {
27
+ var matchers = [/Safari\//i, /Version\/10/i];
28
+
29
+ return _.all(matchers, function(matcher) {
30
+ return navigator.userAgent.match(matcher);
31
+ });
32
+ },
33
+
22
34
  /**
23
35
  * Returns true on iOS Safari.
24
36
  * @return {boolean}
@@ -18,6 +18,9 @@ pageflow.browser.feature('prebuffering support', function(has) {
18
18
  pageflow.browser.feature('mp4 support only', function(has) {
19
19
  // - Silk does not play videos with hls source
20
20
  // - Desktop Safari 9.1 does not loop hls videos
21
+ // - Desktop Safari 10 does not loop hls videos on El
22
+ // Capitan. Appears to be fixed on Sierra
21
23
  return pageflow.browser.agent.matchesSilk() ||
22
- pageflow.browser.agent.matchesDesktopSafari9();
24
+ pageflow.browser.agent.matchesDesktopSafari9() ||
25
+ pageflow.browser.agent.matchesDesktopSafari10();
23
26
  });
@@ -43,6 +43,7 @@
43
43
  var sharingMobile = $(this).parents('.sharing_mobile');
44
44
 
45
45
  scroller = new IScroll(this, {
46
+ preventDefault: false,
46
47
  mouseWheel: true,
47
48
  bounce: false,
48
49
  probeType: 3
@@ -1,3 +1,3 @@
1
1
  module Pageflow
2
- VERSION = '0.11.1'
2
+ VERSION = '0.11.2'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pageflow
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.1
4
+ version: 0.11.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Codevise Solutions Ltd
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-10-05 00:00:00.000000000 Z
11
+ date: 2016-10-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails