padrino-admin 0.9.10 → 0.9.11

Sign up to get free protection for your applications and to get access to all the features.
Files changed (37) hide show
  1. data/README.rdoc +1 -1
  2. data/Rakefile +4 -53
  3. data/lib/padrino-admin/access_control.rb +11 -21
  4. data/lib/padrino-admin/generators/admin_app.rb +1 -1
  5. data/lib/padrino-admin/generators/orm.rb +5 -5
  6. data/lib/padrino-admin/generators/templates/account/activerecord.rb.tt +3 -1
  7. data/lib/padrino-admin/generators/templates/account/couchrest.rb.tt +13 -6
  8. data/lib/padrino-admin/generators/templates/account/datamapper.rb.tt +22 -19
  9. data/lib/padrino-admin/generators/templates/account/mongoid.rb.tt +4 -2
  10. data/lib/padrino-admin/generators/templates/account/mongomapper.rb.tt +3 -1
  11. data/lib/padrino-admin/generators/templates/account/sequel.rb.tt +9 -6
  12. data/lib/padrino-admin/generators/templates/app/app.rb +23 -25
  13. data/lib/padrino-admin/generators/templates/app/controllers/base.rb +1 -1
  14. data/lib/padrino-admin/helpers/authentication_helpers.rb +2 -2
  15. data/lib/padrino-admin/locale/admin/cz.yml +16 -0
  16. data/lib/padrino-admin/locale/admin/es.yml +16 -0
  17. data/lib/padrino-admin/locale/admin/tr.yml +16 -0
  18. data/lib/padrino-admin/locale/admin/uk.yml +16 -0
  19. data/lib/padrino-admin/locale/orm/cz.yml +26 -0
  20. data/lib/padrino-admin/locale/orm/da.yml +9 -9
  21. data/lib/padrino-admin/locale/orm/de.yml +15 -15
  22. data/lib/padrino-admin/locale/orm/en.yml +9 -9
  23. data/lib/padrino-admin/locale/orm/es.yml +26 -0
  24. data/lib/padrino-admin/locale/orm/fr.yml +9 -9
  25. data/lib/padrino-admin/locale/orm/it.yml +9 -9
  26. data/lib/padrino-admin/locale/orm/pt_br.yml +9 -9
  27. data/lib/padrino-admin/locale/orm/ru.yml +9 -9
  28. data/lib/padrino-admin/locale/orm/tr.yml +26 -0
  29. data/lib/padrino-admin/locale/orm/uk.yml +26 -0
  30. data/lib/padrino-admin.rb +2 -7
  31. data/padrino-admin.gemspec +17 -128
  32. data/test/fixtures/data_mapper.rb +11 -9
  33. data/test/generators/test_admin_app_generator.rb +1 -1
  34. data/test/generators/test_admin_page_generator.rb +2 -2
  35. data/test/helper.rb +4 -4
  36. data/test/test_admin_application.rb +8 -8
  37. metadata +79 -42
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 9
8
- - 10
9
- version: 0.9.10
8
+ - 11
9
+ version: 0.9.11
10
10
  platform: ruby
11
11
  authors:
12
12
  - Padrino Team
@@ -17,119 +17,144 @@ autorequire:
17
17
  bindir: bin
18
18
  cert_chain: []
19
19
 
20
- date: 2010-04-22 00:00:00 +02:00
20
+ date: 2010-06-17 00:00:00 -07:00
21
21
  default_executable:
22
22
  dependencies:
23
23
  - !ruby/object:Gem::Dependency
24
24
  name: padrino-core
25
- prerelease: false
26
25
  requirement: &id001 !ruby/object:Gem::Requirement
26
+ none: false
27
27
  requirements:
28
28
  - - "="
29
29
  - !ruby/object:Gem::Version
30
30
  segments:
31
31
  - 0
32
32
  - 9
33
- - 10
34
- version: 0.9.10
33
+ - 11
34
+ version: 0.9.11
35
35
  type: :runtime
36
+ prerelease: false
36
37
  version_requirements: *id001
37
38
  - !ruby/object:Gem::Dependency
38
39
  name: padrino-gen
39
- prerelease: false
40
40
  requirement: &id002 !ruby/object:Gem::Requirement
41
+ none: false
41
42
  requirements:
42
43
  - - "="
43
44
  - !ruby/object:Gem::Version
44
45
  segments:
45
46
  - 0
46
47
  - 9
47
- - 10
48
- version: 0.9.10
48
+ - 11
49
+ version: 0.9.11
49
50
  type: :runtime
51
+ prerelease: false
50
52
  version_requirements: *id002
51
53
  - !ruby/object:Gem::Dependency
52
54
  name: padrino-helpers
53
- prerelease: false
54
55
  requirement: &id003 !ruby/object:Gem::Requirement
56
+ none: false
55
57
  requirements:
56
58
  - - "="
57
59
  - !ruby/object:Gem::Version
58
60
  segments:
59
61
  - 0
60
62
  - 9
61
- - 10
62
- version: 0.9.10
63
+ - 11
64
+ version: 0.9.11
63
65
  type: :runtime
66
+ prerelease: false
64
67
  version_requirements: *id003
65
68
  - !ruby/object:Gem::Dependency
66
- name: haml
67
- prerelease: false
69
+ name: rake
68
70
  requirement: &id004 !ruby/object:Gem::Requirement
71
+ none: false
69
72
  requirements:
70
73
  - - ">="
71
74
  - !ruby/object:Gem::Version
72
75
  segments:
73
- - 2
74
- - 2
75
- - 1
76
- version: 2.2.1
76
+ - 0
77
+ - 8
78
+ - 7
79
+ version: 0.8.7
77
80
  type: :development
81
+ prerelease: false
78
82
  version_requirements: *id004
79
83
  - !ruby/object:Gem::Dependency
80
- name: shoulda
81
- prerelease: false
84
+ name: mocha
82
85
  requirement: &id005 !ruby/object:Gem::Requirement
86
+ none: false
83
87
  requirements:
84
88
  - - ">="
85
89
  - !ruby/object:Gem::Version
86
90
  segments:
87
91
  - 0
88
- version: "0"
92
+ - 9
93
+ - 8
94
+ version: 0.9.8
89
95
  type: :development
96
+ prerelease: false
90
97
  version_requirements: *id005
91
98
  - !ruby/object:Gem::Dependency
92
- name: mocha
93
- prerelease: false
99
+ name: rack-test
94
100
  requirement: &id006 !ruby/object:Gem::Requirement
101
+ none: false
95
102
  requirements:
96
103
  - - ">="
97
104
  - !ruby/object:Gem::Version
98
105
  segments:
99
106
  - 0
100
- - 9
101
- - 7
102
- version: 0.9.7
107
+ - 5
108
+ - 0
109
+ version: 0.5.0
103
110
  type: :development
111
+ prerelease: false
104
112
  version_requirements: *id006
105
113
  - !ruby/object:Gem::Dependency
106
- name: rack-test
107
- prerelease: false
114
+ name: webrat
108
115
  requirement: &id007 !ruby/object:Gem::Requirement
116
+ none: false
109
117
  requirements:
110
118
  - - ">="
111
119
  - !ruby/object:Gem::Version
112
120
  segments:
113
121
  - 0
114
122
  - 5
115
- - 0
116
- version: 0.5.0
123
+ - 1
124
+ version: 0.5.1
117
125
  type: :development
126
+ prerelease: false
118
127
  version_requirements: *id007
119
128
  - !ruby/object:Gem::Dependency
120
- name: webrat
121
- prerelease: false
129
+ name: haml
122
130
  requirement: &id008 !ruby/object:Gem::Requirement
131
+ none: false
123
132
  requirements:
124
133
  - - ">="
125
134
  - !ruby/object:Gem::Version
126
135
  segments:
127
- - 0
128
- - 5
129
- - 1
130
- version: 0.5.1
136
+ - 2
137
+ - 2
138
+ - 22
139
+ version: 2.2.22
131
140
  type: :development
141
+ prerelease: false
132
142
  version_requirements: *id008
143
+ - !ruby/object:Gem::Dependency
144
+ name: shoulda
145
+ requirement: &id009 !ruby/object:Gem::Requirement
146
+ none: false
147
+ requirements:
148
+ - - ">="
149
+ - !ruby/object:Gem::Version
150
+ segments:
151
+ - 2
152
+ - 10
153
+ - 3
154
+ version: 2.10.3
155
+ type: :development
156
+ prerelease: false
157
+ version_requirements: *id009
133
158
  description: Admin View for Padrino applications
134
159
  email: padrinorb@gmail.com
135
160
  executables: []
@@ -144,7 +169,7 @@ files:
144
169
  - LICENSE
145
170
  - README.rdoc
146
171
  - Rakefile
147
- - lib/padrino-admin.rb
172
+ - padrino-admin.gemspec
148
173
  - lib/padrino-admin/access_control.rb
149
174
  - lib/padrino-admin/generators/actions.rb
150
175
  - lib/padrino-admin/generators/admin_app.rb
@@ -162,8 +187,8 @@ files:
162
187
  - lib/padrino-admin/generators/templates/app/controllers/sessions.rb
163
188
  - lib/padrino-admin/generators/templates/assets/stylesheets/base.css
164
189
  - lib/padrino-admin/generators/templates/assets/stylesheets/themes/amro/style.css
165
- - lib/padrino-admin/generators/templates/assets/stylesheets/themes/bec-green/style.css
166
190
  - lib/padrino-admin/generators/templates/assets/stylesheets/themes/bec/style.css
191
+ - lib/padrino-admin/generators/templates/assets/stylesheets/themes/bec-green/style.css
167
192
  - lib/padrino-admin/generators/templates/assets/stylesheets/themes/blue/style.css
168
193
  - lib/padrino-admin/generators/templates/assets/stylesheets/themes/default/style.css
169
194
  - lib/padrino-admin/generators/templates/assets/stylesheets/themes/djime-cerulean/style.css
@@ -192,22 +217,30 @@ files:
192
217
  - lib/padrino-admin/generators/templates/page/controller.rb.tt
193
218
  - lib/padrino-admin/helpers/authentication_helpers.rb
194
219
  - lib/padrino-admin/helpers/view_helpers.rb
220
+ - lib/padrino-admin/locale/admin/cz.yml
195
221
  - lib/padrino-admin/locale/admin/da.yml
196
222
  - lib/padrino-admin/locale/admin/de.yml
197
223
  - lib/padrino-admin/locale/admin/en.yml
224
+ - lib/padrino-admin/locale/admin/es.yml
198
225
  - lib/padrino-admin/locale/admin/fr.yml
199
226
  - lib/padrino-admin/locale/admin/it.yml
200
227
  - lib/padrino-admin/locale/admin/pt_br.yml
201
228
  - lib/padrino-admin/locale/admin/ru.yml
229
+ - lib/padrino-admin/locale/admin/tr.yml
230
+ - lib/padrino-admin/locale/admin/uk.yml
231
+ - lib/padrino-admin/locale/orm/cz.yml
202
232
  - lib/padrino-admin/locale/orm/da.yml
203
233
  - lib/padrino-admin/locale/orm/de.yml
204
234
  - lib/padrino-admin/locale/orm/en.yml
235
+ - lib/padrino-admin/locale/orm/es.yml
205
236
  - lib/padrino-admin/locale/orm/fr.yml
206
237
  - lib/padrino-admin/locale/orm/it.yml
207
238
  - lib/padrino-admin/locale/orm/pt_br.yml
208
239
  - lib/padrino-admin/locale/orm/ru.yml
240
+ - lib/padrino-admin/locale/orm/tr.yml
241
+ - lib/padrino-admin/locale/orm/uk.yml
209
242
  - lib/padrino-admin/utils/crypt.rb
210
- - padrino-admin.gemspec
243
+ - lib/padrino-admin.rb
211
244
  - test/fixtures/data_mapper.rb
212
245
  - test/generators/test_admin_app_generator.rb
213
246
  - test/generators/test_admin_page_generator.rb
@@ -223,6 +256,7 @@ rdoc_options:
223
256
  require_paths:
224
257
  - lib
225
258
  required_ruby_version: !ruby/object:Gem::Requirement
259
+ none: false
226
260
  requirements:
227
261
  - - ">="
228
262
  - !ruby/object:Gem::Version
@@ -230,16 +264,19 @@ required_ruby_version: !ruby/object:Gem::Requirement
230
264
  - 0
231
265
  version: "0"
232
266
  required_rubygems_version: !ruby/object:Gem::Requirement
267
+ none: false
233
268
  requirements:
234
269
  - - ">="
235
270
  - !ruby/object:Gem::Version
236
271
  segments:
237
- - 0
238
- version: "0"
272
+ - 1
273
+ - 3
274
+ - 6
275
+ version: 1.3.6
239
276
  requirements: []
240
277
 
241
278
  rubyforge_project: padrino-admin
242
- rubygems_version: 1.3.6
279
+ rubygems_version: 1.3.7
243
280
  signing_key:
244
281
  specification_version: 3
245
282
  summary: Admin Dashboard for Padrino