typus 0.9.24 → 0.9.25

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.
Files changed (4) hide show
  1. data/VERSION +1 -1
  2. data/lib/typus/locale.rb +1 -1
  3. data/typus.gemspec +1 -1
  4. metadata +1 -1
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.9.24
1
+ 0.9.25
data/lib/typus/locale.rb CHANGED
@@ -12,7 +12,7 @@ module Typus
12
12
  begin
13
13
  I18n.locale = @current_user.preferences[:locale]
14
14
  rescue
15
- @current_user.update_attributes :preferences => { :locale => params[:locale] }
15
+ @current_user.update_attributes :preferences => { :locale => Typus.default_locale }
16
16
  retry
17
17
  end
18
18
  end
data/typus.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{typus}
8
- s.version = "0.9.24"
8
+ s.version = "0.9.25"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Francesc Esplugas"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: typus
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.24
4
+ version: 0.9.25
5
5
  platform: ruby
6
6
  authors:
7
7
  - Francesc Esplugas