prerender_rails 1.10.0 → 1.11.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 +2 -1
- data/prerender_rails.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 23266eb3f46a326d34802a4a2247537f9794b4b7428d7d4d81ecb71b6c8101ba
|
4
|
+
data.tar.gz: caf65db5d119ab225768ea7ae84922e256a11b82f627e27da628e252e0c77d89
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 93be45b42222d8ab64cf99ef599bfe040ecc8213327ae6ca475f651c421f7467d1b3569acc136f6d97d71b53a52f7dd7aaaae605429dd04fec6bf8b481ac6129
|
7
|
+
data.tar.gz: b00ace9d2921238fdbf7621471c9aa942dfe6d47e24c502cd8dab9d1f67bcc95faf2a2ecf1e821b499fde77fe4eddca99855c0d793f7e2a562ce24a7abc42fcf
|
data/lib/prerender_rails.rb
CHANGED
@@ -176,7 +176,8 @@ module Rack
|
|
176
176
|
url = URI.parse(build_api_url(env))
|
177
177
|
headers = {
|
178
178
|
'User-Agent' => env['HTTP_USER_AGENT'],
|
179
|
-
'Accept-Encoding' => 'gzip'
|
179
|
+
'Accept-Encoding' => 'gzip',
|
180
|
+
'X-Prerender-Int-Type' => 'Ruby'
|
180
181
|
}
|
181
182
|
headers['X-Prerender-Token'] = ENV['PRERENDER_TOKEN'] if ENV['PRERENDER_TOKEN']
|
182
183
|
headers['X-Prerender-Token'] = @options[:prerender_token] if @options[:prerender_token]
|
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.11.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.11.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: 2024-02-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rack
|