lipsiadmin 5.0.9 → 5.1.0

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG CHANGED
@@ -1,3 +1,7 @@
1
+ 2009-12-16
2
+ * Bump to 5.1.0
3
+ * Fixed a problem with title helpers when a string contains dot chars.
4
+
1
5
  2009-12-1
2
6
  * Bump to 5.0.9
3
7
  * Fixed an error in lipsiadmin default locales
data/lib/version.rb CHANGED
@@ -1,8 +1,8 @@
1
1
  module Lipsiadmin
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 5
4
- MINOR = 0
5
- TINY = 9
4
+ MINOR = 1
5
+ TINY = 0
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  end
@@ -87,7 +87,7 @@ module Lipsiadmin
87
87
  # title :welcome_here
88
88
  #
89
89
  def title(title)
90
- title = I18n.t("backend.titles.#{title.to_s.downcase}", :default => title.to_s.humanize)
90
+ title = I18n.t("backend.titles.#{title.gsub(/\./,"").to_s.downcase}", :default => title.to_s.humanize)
91
91
  content_tag(:script, "Backend.app.setTitle(#{title.to_json})", :type => Mime::JS)
92
92
  end
93
93
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lipsiadmin
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.0.9
4
+ version: 5.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Davide D'Agostino
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-12-01 00:00:00 +01:00
12
+ date: 2009-12-16 00:00:00 +01:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency