prerender_rails 1.5.1 → 1.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/prerender_rails.rb +3 -6
- data/prerender_rails.gemspec +1 -1
- 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: 36a3029c1de75fb7b187616ac46496d07b2d94c5
|
4
|
+
data.tar.gz: 079201e429e97e5f685803b598dc8d4a9f2feaa9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 38bc5e92f8a00198af548acaf7cea4f1b5e3ea0c53c193ae7af1b43ddbb0f5af5535055ab61e828730b2809fea5f7c6c926dd7e9789fd624ddd4e15c3d354374
|
7
|
+
data.tar.gz: 494a34b1c97c77a5a25f128e35695e51258c850eaa8741c4edc96c6ebaa40844c1c76b4cb182417bdeb483a05f6a20c1578444dc5b98e070a24182823ad657ac
|
data/lib/prerender_rails.rb
CHANGED
@@ -4,13 +4,10 @@ module Rack
|
|
4
4
|
require 'active_support'
|
5
5
|
|
6
6
|
def initialize(app, options={})
|
7
|
-
# googlebot, yahoo, and bingbot are not in this list because
|
8
|
-
# we support _escaped_fragment_ and want to ensure people aren't
|
9
|
-
# penalized for cloaking.
|
10
7
|
@crawler_user_agents = [
|
11
|
-
|
12
|
-
|
13
|
-
|
8
|
+
'googlebot',
|
9
|
+
'yahoo',
|
10
|
+
'bingbot',
|
14
11
|
'baiduspider',
|
15
12
|
'facebookexternalhit',
|
16
13
|
'twitterbot',
|
data/prerender_rails.gemspec
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |spec|
|
4
4
|
spec.name = "prerender_rails"
|
5
|
-
spec.version = "1.
|
5
|
+
spec.version = "1.6.0"
|
6
6
|
spec.authors = ["Todd Hooper"]
|
7
7
|
spec.email = ["todd@prerender.io"]
|
8
8
|
spec.description = %q{Rails middleware to prerender your javascript heavy pages on the fly by a phantomjs service}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: prerender_rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Todd Hooper
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-07-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rack
|