rack-rewrite-dynamic 0.0.7 → 0.0.8

Sign up to get free protection for your applications and to get access to all the features.
@@ -30,7 +30,7 @@ module Rack
30
30
  if url_part[1] == 'slug'
31
31
  scope_slug = slug_type?(match[index+1], url_part[0])
32
32
  elsif url_part[1] == 'scoped_slug'
33
- scope_slug = scoped_slug_type?(match[index+1], url_part[0], scope_slug)
33
+ scope_slug = scoped_slug_type?(match[index+1].split('?').first, url_part[0], scope_slug)
34
34
  else
35
35
  'static'
36
36
  end
@@ -1,7 +1,7 @@
1
1
  module Rack
2
2
  class Rewrite
3
3
  module Dynamic
4
- VERSION = "0.0.7"
4
+ VERSION = "0.0.8"
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rack-rewrite-dynamic
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-03-26 00:00:00.000000000 Z
12
+ date: 2013-07-24 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rack-rewrite
@@ -119,7 +119,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
119
119
  version: '0'
120
120
  requirements: []
121
121
  rubyforge_project:
122
- rubygems_version: 1.8.24
122
+ rubygems_version: 1.8.23
123
123
  signing_key:
124
124
  specification_version: 3
125
125
  summary: SEO urls based on slugs