prerender_rails 0.1.15 → 0.1.16
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/lib/prerender_rails.rb +4 -1
- data/prerender_rails.gemspec +3 -3
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a4e4b759f45b4c50892e48fab8a71a46888988e0
|
4
|
+
data.tar.gz: bf5185b7e8c5bac65afc226b5536cc5593667e90
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d9e2e4e7347da9ae115139517f26b03d55a91b2f8e9b4a165b86d971cfedaf1d5eacb488e7597d3eb9f81cead484628afd780db73bbf325d8b7fe17b4aaab9e3
|
7
|
+
data.tar.gz: 45f83dc9a8b8b0d85889132715c177b977bed42a5e4765bb3266803259b0e39315e323aef25b660c7b2c39a86aea297511115203774f869c85eba106f793ed73
|
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
Prerender Rails [![Build Status](https://travis-ci.org/
|
1
|
+
Prerender Rails [![Build Status](https://travis-ci.org/prerender/prerender_rails.png)](https://travis-ci.org/prerender/prerender_rails) [![Gem Version](https://badge.fury.io/rb/prerender_rails.png)](http://badge.fury.io/rb/prerender_rails)
|
2
2
|
===========================
|
3
3
|
|
4
4
|
Google, Facebook, Twitter, Yahoo, and Bing are constantly trying to view your website... but they don't execute javascript. That's why we built Prerender. Prerender is perfect for AngularJS SEO, BackboneJS SEO, EmberJS SEO, and any other javascript framework.
|
@@ -28,7 +28,7 @@ or if you have an account on [prerender.io](http://prerender.io) and want to use
|
|
28
28
|
config.middleware.use Rack::Prerender, prerender_token: 'YOUR_TOKEN'
|
29
29
|
```
|
30
30
|
|
31
|
-
`Note` If you're testing locally, you'll need to run the [prerender server](https://github.com/
|
31
|
+
`Note` If you're testing locally, you'll need to run the [prerender server](https://github.com/prerender/prerender) locally so that it has access to your server.
|
32
32
|
|
33
33
|
## Testing
|
34
34
|
|
@@ -48,7 +48,7 @@ If your URLs use push-state:
|
|
48
48
|
2. The middleware checks to make sure we aren't requesting a resource (js, css, etc...)
|
49
49
|
3. (optional) The middleware checks to make sure the url is in the whitelist
|
50
50
|
4. (optional) The middleware checks to make sure the url isn't in the blacklist
|
51
|
-
2. The middleware makes a `GET` request to the [prerender service](https://github.com/
|
51
|
+
2. The middleware makes a `GET` request to the [prerender service](https://github.com/prerender/prerender)(phantomjs server) for the page's prerendered HTML
|
52
52
|
3. Return that HTML to the crawler
|
53
53
|
|
54
54
|
# Customization
|
@@ -146,7 +146,7 @@ config.middleware.use Rack::Prerender, prerender_service_url: '<new url>'
|
|
146
146
|
|
147
147
|
The MIT License (MIT)
|
148
148
|
|
149
|
-
Copyright (c) 2013 Todd Hooper <todd@
|
149
|
+
Copyright (c) 2013 Todd Hooper <todd@prerender.io>
|
150
150
|
|
151
151
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
152
152
|
of this software and associated documentation files (the "Software"), to deal
|
data/lib/prerender_rails.rb
CHANGED
data/prerender_rails.gemspec
CHANGED
@@ -2,12 +2,12 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |spec|
|
4
4
|
spec.name = "prerender_rails"
|
5
|
-
spec.version = "0.1.
|
5
|
+
spec.version = "0.1.16"
|
6
6
|
spec.authors = ["Todd Hooper"]
|
7
|
-
spec.email = ["todd@
|
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}
|
9
9
|
spec.summary = %q{Prerender your backbone/angular/javascript rendered application on the fly when search engines crawl}
|
10
|
-
spec.homepage = "https://github.com/
|
10
|
+
spec.homepage = "https://github.com/prerender/prerender_rails"
|
11
11
|
spec.license = "MIT"
|
12
12
|
|
13
13
|
spec.files = `git ls-files`.split($/)
|
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: 0.1.
|
4
|
+
version: 0.1.16
|
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: 2014-02-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rack
|
@@ -69,7 +69,7 @@ dependencies:
|
|
69
69
|
description: Rails middleware to prerender your javascript heavy pages on the fly
|
70
70
|
by a phantomjs service
|
71
71
|
email:
|
72
|
-
- todd@
|
72
|
+
- todd@prerender.io
|
73
73
|
executables: []
|
74
74
|
extensions: []
|
75
75
|
extra_rdoc_files: []
|
@@ -84,7 +84,7 @@ files:
|
|
84
84
|
- prerender_rails.gemspec
|
85
85
|
- test/lib/prerender_rails.rb
|
86
86
|
- test/test_helper.rb
|
87
|
-
homepage: https://github.com/
|
87
|
+
homepage: https://github.com/prerender/prerender_rails
|
88
88
|
licenses:
|
89
89
|
- MIT
|
90
90
|
metadata: {}
|
@@ -104,7 +104,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
104
104
|
version: '0'
|
105
105
|
requirements: []
|
106
106
|
rubyforge_project:
|
107
|
-
rubygems_version: 2.
|
107
|
+
rubygems_version: 2.0.3
|
108
108
|
signing_key:
|
109
109
|
specification_version: 4
|
110
110
|
summary: Prerender your backbone/angular/javascript rendered application on the fly
|