prerender_rails 0.1.8 → 0.1.9

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 480c6d3189a06dc2343b3339fac868bb03ae5d45
4
- data.tar.gz: 283c51d78e87ba863f53b2a0be089db9ba0e0f90
3
+ metadata.gz: dd646cf6503266ed2db50c786e116d740e63c4c9
4
+ data.tar.gz: 07cea4440350844c52ae3a29a483a00baefc1dba
5
5
  SHA512:
6
- metadata.gz: 9b0b9b470a46328f7ab4c7e18c47b34523e4b23a1c76416c1ff2417434d8faaf198d562f8fa7ea40361076a8049a854ab8b48655733b20382edce87112792d58
7
- data.tar.gz: d6a0e6b6a9cffbb781106e6182545fe7dfa3298f3a3460c6c6c8e3c37c830f87dfd31313499a182b669291f51700794cde207069571cc513b32975e4092a721b
6
+ metadata.gz: a37f41bb0b7535a9b0386191a231697be90e468614875dd4cf8a3b75781407ca8784b33051f08e539eb0a18f5d345f0bde8c611896abcd5faf08e6862efe3909
7
+ data.tar.gz: 447741f462ae27b1a4f11fc8a4f6c72ffbc92153e69a682c0eb3b24e74f6ba007166bc574fdc1388c49f61efa1dea7b4d407c1316ba0976bcc4e1e1eab52012c
@@ -57,6 +57,8 @@ module Rack
57
57
  @options = options
58
58
  @options[:whitelist] = [@options[:whitelist]] if @options[:whitelist].is_a? String
59
59
  @options[:blacklist] = [@options[:blacklist]] if @options[:blacklist].is_a? String
60
+ @extensions_to_ignore = @options[:extensions_to_ignore] if @options[:extensions_to_ignore]
61
+ @crawler_user_agents = @options[:crawler_user_agents] if @options[:crawler_user_agents]
60
62
  @app = app
61
63
  end
62
64
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = "prerender_rails"
5
- spec.version = "0.1.8"
5
+ spec.version = "0.1.9"
6
6
  spec.authors = ["Todd Hooper"]
7
7
  spec.email = ["todd@collectiveip.com"]
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: 0.1.8
4
+ version: 0.1.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Todd Hooper
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-11-13 00:00:00.000000000 Z
11
+ date: 2013-11-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rack