will_paginate 3.0.8 → 3.0.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: 578bfcd70a16322ebd1801e1c4a8c76a4ed0a334
4
- data.tar.gz: 2cdd8ab00a1283414888adc8ed64bbd7446223cf
3
+ metadata.gz: 975dad572ef34968528d26e2e1b345cb5d2f8d3c
4
+ data.tar.gz: 6eee154e3527492a6d76a9d04bfffbc88f47c810
5
5
  SHA512:
6
- metadata.gz: 36e1ec8a34231aefd0a13ccc77afc09951762eefba81c11fb23561ebdff6914dc941e04b0c5209444afa1893e70463dc137f4b8eb1c0e6337cf35182a88faded
7
- data.tar.gz: 2bb06f172cdbc858e2bbbbce3582757b0b2f1a65fdcae9be930b44a00551ecd64ceb585f43279f5ebf9989e0c406fc4aa3399c7f2b2536041b1e86949a5bbef7
6
+ metadata.gz: 9c0dd733f25ddc7f00d8569c0403a22babeab49403211ba6393bf9887e601053ad43909dc48cfcebbff5e6883e64f906175fbf9dafd5545787ccec0e30170143
7
+ data.tar.gz: 188fa84891bd3ae2a1e63ceb347b9a57c23cf5c90cc2f0f367946d228615cf722f1b71ce1eae1e4c28b07045b75028f7f5418df50b7bd2841e6525c69c0014ac
@@ -2,7 +2,7 @@ module WillPaginate #:nodoc:
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 3
4
4
  MINOR = 0
5
- TINY = 8
5
+ TINY = 9
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  end
@@ -99,7 +99,7 @@ module WillPaginate
99
99
  class LinkRenderer < ViewHelpers::LinkRenderer
100
100
  protected
101
101
 
102
- GET_PARAMS_BLACKLIST = [:script_name]
102
+ GET_PARAMS_BLACKLIST = [:script_name, :original_script_name]
103
103
 
104
104
  def default_url_params
105
105
  {}
@@ -203,7 +203,7 @@ describe WillPaginate::ActionView do
203
203
  end
204
204
 
205
205
  it "doesn't allow tampering with script_name" do
206
- request.params :script_name => 'p0wned'
206
+ request.params :script_name => 'p0wned', :original_script_name => 'p0wned'
207
207
  paginate
208
208
  assert_links_match %r{^/foo/bar}
209
209
  assert_no_links_match /p0wned/
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: will_paginate
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.8
4
+ version: 3.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mislav Marohnić