localized_scaffold 0.9.5 → 0.9.6

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/Gemfile CHANGED
@@ -2,5 +2,5 @@
2
2
 
3
3
  source 'http://rubygems.org'
4
4
 
5
- gem 'rails', '>= 3.0.0.beta3'
6
- gem 'devise', '>= 1.1.rc1'
5
+ gem 'rails', '>= 3.0.0.beta4'
6
+ gem 'devise', '>= 1.1.rc2'
data/README.rdoc CHANGED
@@ -227,7 +227,7 @@ Here are the additional steps to run a localized version of devise in the
227
227
  application above:
228
228
 
229
229
  vi Gemfile
230
- gem 'devise', '>= 1.1.rc1'
230
+ gem 'devise', '>= 1.1.rc2'
231
231
 
232
232
  bundle install
233
233
 
@@ -308,8 +308,8 @@ rails generate localized_scaffold phone person_id:integer kind:string \\
308
308
  :select => 'lower(substr(#{searchbar}, 1, 1)) as #{searchbar}_chars,
309
309
  count(*) as count',
310
310
  :conditions => ['#{belongsto.file_name}_id == ?', #{belongsto.file_name}_id],
311
- :order => 'lower(substr(#{searchbar}_chars, 1, 1)) asc',
312
- :group => 'lower(substr(#{searchbar}_chars, 1, 1))').collect { |s|
311
+ :order => 'lower(substr(#{searchbar}, 1, 1)) asc',
312
+ :group => 'lower(substr(#{searchbar}, 1, 1))').collect { |s|
313
313
  [s.#{searchbar}_chars, s.count]
314
314
  }
315
315
  end
@@ -326,8 +326,8 @@ EOF
326
326
  return #{class_name}.find(:all,
327
327
  :select => 'lower(substr(#{searchbar}, 1, 1)) as #{searchbar}_chars,
328
328
  count(*) as count',
329
- :order => 'lower(substr(#{searchbar}_chars, 1, 1)) asc',
330
- :group => 'lower(substr(#{searchbar}_chars, 1, 1))').collect { |s|
329
+ :order => 'lower(substr(#{searchbar}, 1, 1)) asc',
330
+ :group => 'lower(substr(#{searchbar}, 1, 1))').collect { |s|
331
331
  [s.#{searchbar}_chars, s.count]
332
332
  }
333
333
  end
@@ -40,6 +40,9 @@ en:
40
40
  unlocked: "Ihr Account wurde erfolgreich entsperrt. Sie sind nun
41
41
  angemeldet."
42
42
  mailer:
43
- confirmation_instructions: "Anleitung für die Aktivierung Ihres Accounts"
44
- reset_password_instructions: "Anleitung für das Zurücksetzen Ihres Passworts"
45
- unlock_instructions: "Anleitung für das Entsperren Ihres Accounts"
43
+ confirmation_instructions:
44
+ subject: "Anleitung für die Aktivierung Ihres Accounts"
45
+ reset_password_instructions:
46
+ subject: "Anleitung für das Zurücksetzen Ihres Passworts"
47
+ unlock_instructions:
48
+ subject: "Anleitung für das Entsperren Ihres Accounts"
@@ -55,6 +55,9 @@ de:
55
55
  unlocked: "Dein Account wurde erfolgreich entsperrt. Du bist nun
56
56
  angemeldet."
57
57
  mailer:
58
- confirmation_instructions: "Anleitung für die Aktivierung Deines Accounts"
59
- reset_password_instructions: "Anleitung für das Zurücksetzen Deines Passworts"
60
- unlock_instructions: "Anleitung für das Entsperren Deines Accounts"
58
+ confirmation_instructions:
59
+ subject: "Anleitung für die Aktivierung Deines Accounts"
60
+ reset_password_instructions:
61
+ subject: "Anleitung für das Zurücksetzen Deines Passworts"
62
+ unlock_instructions:
63
+ subject: "Anleitung für das Entsperren Deines Accounts"
@@ -1,4 +1,4 @@
1
- <%%= t('devise.views.mailer.confirmation_instructions.text', :account => @resource.email) %>
1
+ <%%= raw(t('devise.views.mailer.confirmation_instructions.text', :account => @resource.email)) %>
2
2
 
3
3
  <p>
4
4
  <%%= link_to t('devise.views.cmds.confirm_account'),
@@ -1,8 +1,8 @@
1
- <%%= t('devise.views.mailer.reset_password_instructions.upper', :account => @resource.email) %>
1
+ <%%= raw(t('devise.views.mailer.reset_password_instructions.upper', :account => @resource.email)) %>
2
2
 
3
3
  <p>
4
4
  <%%= link_to t('devise.views.cmds.change_password'),
5
5
  edit_password_url(@resource, :reset_password_token => @resource.reset_password_token) %>
6
6
  </p>
7
7
 
8
- <%%= t('devise.views.mailer.reset_password_instructions.lower') %>
8
+ <%%= raw(t('devise.views.mailer.reset_password_instructions.lower')) %>
@@ -1,4 +1,4 @@
1
- <%%= t('devise.views.mailer.unlock_instructions.text', :account => @resource.email) %>
1
+ <%%= raw(t('devise.views.mailer.unlock_instructions.text', :account => @resource.email)) %>
2
2
 
3
3
  <p>
4
4
  <%%= link_to t('devise.views.cmds.unlock_account'),
@@ -126,7 +126,7 @@ div.pagination span.disabled {
126
126
  color: #808080;
127
127
  }
128
128
 
129
- a.small {
129
+ span.small, a.small {
130
130
  font-size: 10px;
131
131
  font-weight: normal !important;
132
132
  }
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 9
8
- - 5
9
- version: 0.9.5
8
+ - 6
9
+ version: 0.9.6
10
10
  platform: ruby
11
11
  authors:
12
12
  - Jan Ulbrich
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-07-01 00:00:00 +02:00
17
+ date: 2010-07-05 00:00:00 +02:00
18
18
  default_executable:
19
19
  dependencies: []
20
20
 
@@ -117,6 +117,5 @@ rubygems_version: 1.3.6
117
117
  signing_key:
118
118
  specification_version: 3
119
119
  summary: Localized Rails scaffolding with style...
120
- test_files:
121
- - test/localized_scaffold_test.rb
122
- - test/test_helper.rb
120
+ test_files: []
121
+