refinerycms-i18n 0.9.8.7 → 0.9.8.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/lib/gemspec.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env ruby
2
- version = '0.9.8.7'
2
+ version = '0.9.8.8'
3
3
  raise "Could not get version so gemspec can not be built" if version.nil?
4
4
  files = Dir.glob("**/*").flatten.reject do |file|
5
5
  file =~ /\.gem(spec)?$/
@@ -3,7 +3,7 @@ module RoutingFilter
3
3
 
4
4
  def around_recognize(path, env, &block)
5
5
  if ::Refinery::I18n.enabled?
6
- if path =~ %r{^/(#{::Refinery::I18n.locales.keys.join('|')})/?}
6
+ if path =~ %r{^/(#{::Refinery::I18n.locales.keys.join('|')})(/|$)}
7
7
  path.sub! %r(^/(([a-zA-Z\-_])*)(?=/|$)) do
8
8
  ::I18n.locale = $1
9
9
  ''
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: refinerycms-i18n
3
3
  version: !ruby/object:Gem::Version
4
- hash: 41
4
+ hash: 55
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 9
9
9
  - 8
10
- - 7
11
- version: 0.9.8.7
10
+ - 8
11
+ version: 0.9.8.8
12
12
  platform: ruby
13
13
  authors:
14
14
  - Resolve Digital
@@ -16,7 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2010-09-16 00:00:00 +12:00
19
+ date: 2010-10-08 00:00:00 +13:00
20
20
  default_executable:
21
21
  dependencies:
22
22
  - !ruby/object:Gem::Dependency