refinerycms 0.9.7.3 → 0.9.7.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,8 @@
1
+ ## 0.9.7.4 [07 July 2010]
2
+
3
+ - Fixed critical issue in the i18n routing pattern that was matching prefixes like /news/ as a locale incorrectly. [Philip Arndt]
4
+ - [See full list](http://github.com/resolve/refinerycms/compare/0.9.7.3...0.9.7.4)
5
+
1
6
  ## 0.9.7.3 [07 July 2010]
2
7
 
3
8
  - Falls back to default locale when a translation key can not be located in the current locale, only in production mode. [Philip Arndt]
@@ -4,7 +4,7 @@ module RoutingFilter
4
4
  def around_recognize(path, env, &block)
5
5
  if ::Refinery::I18n.enabled?
6
6
  locale = nil
7
- if path =~ %r{^\/#{::Refinery::I18n.locales.keys.join('|')}\/}
7
+ if path =~ %r{^/(#{::Refinery::I18n.locales.keys.join('|')})/}
8
8
  if path !~ %r{^/(sessions?|admin|refinery|wymiframe)}
9
9
  path.sub! %r(^/(([a-zA-Z\-_])*)(?=/|$)) do
10
10
  locale = $1
@@ -27,7 +27,7 @@ module Refinery
27
27
  MAJOR = 0
28
28
  MINOR = 9
29
29
  TINY = 7
30
- BUILD = 3
30
+ BUILD = 4
31
31
 
32
32
  STRING = [MAJOR, MINOR, TINY, BUILD].compact.join('.')
33
33
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: refinerycms
3
3
  version: !ruby/object:Gem::Version
4
- hash: 29
4
+ hash: 19
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 9
9
9
  - 7
10
- - 3
11
- version: 0.9.7.3
10
+ - 4
11
+ version: 0.9.7.4
12
12
  platform: ruby
13
13
  authors:
14
14
  - Resolve Digital