pagespeedhelper 0.4.4 → 0.4.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/pagespeedhelper.rb +3 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1f37514e450ee77f283240ba967ed23381aa0daf
|
4
|
+
data.tar.gz: 4955b3a3fcdab3b69eb9d564712cc4338e35eef6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2996b843e85596a6944357a8cd5baa872eedad7fd1ff4a383a4067191a7c4c46cf0149ca3d6303a003b06f621200ca927dea2f5a45e77db44a833454d4954a64
|
7
|
+
data.tar.gz: f03e5cd2fbdda45fc73dfeaf5d19a5f5e91af57cdf08a2c5163f7bff12efbee7eb7281c8fcf8af5146af837e854c8f4dc0f64cc1125ad1a0aadf9f5df9533720
|
data/lib/pagespeedhelper.rb
CHANGED
@@ -22,8 +22,9 @@ class PagespeedHelper
|
|
22
22
|
data = Array.new
|
23
23
|
|
24
24
|
urls = [urls] if !urls.is_a?(Array)
|
25
|
-
|
26
|
-
|
25
|
+
|
26
|
+
urls = urls.map { |url| add_protocol_if_absent(url, secure) }
|
27
|
+
|
27
28
|
urls.each_slice(20).to_a.each do |url_list|
|
28
29
|
|
29
30
|
begin
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pagespeedhelper
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kirk Stennett
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-08-
|
11
|
+
date: 2016-08-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-api-client
|