fesplugas-typus 0.9.0
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/.gitignore +7 -0
- data/MIT-LICENSE +20 -0
- data/README.rdoc +80 -0
- data/Rakefile +61 -0
- data/VERSION +1 -0
- data/app/controllers/admin/master_controller.rb +324 -0
- data/app/controllers/typus_controller.rb +127 -0
- data/app/helpers/admin/form_helper.rb +351 -0
- data/app/helpers/admin/master_helper.rb +99 -0
- data/app/helpers/admin/public_helper.rb +24 -0
- data/app/helpers/admin/sidebar_helper.rb +259 -0
- data/app/helpers/admin/table_helper.rb +227 -0
- data/app/helpers/typus_helper.rb +169 -0
- data/app/models/typus_mailer.rb +14 -0
- data/app/models/typus_user.rb +5 -0
- data/app/views/admin/dashboard/_sidebar.html.erb +9 -0
- data/app/views/admin/resources/edit.html.erb +29 -0
- data/app/views/admin/resources/index.html.erb +28 -0
- data/app/views/admin/resources/new.html.erb +27 -0
- data/app/views/admin/resources/show.html.erb +21 -0
- data/app/views/admin/shared/_footer.html.erb +1 -0
- data/app/views/admin/shared/_pagination.html.erb +28 -0
- data/app/views/layouts/admin.html.erb +72 -0
- data/app/views/layouts/typus.html.erb +29 -0
- data/app/views/typus/dashboard.html.erb +13 -0
- data/app/views/typus/recover_password.html.erb +7 -0
- data/app/views/typus/reset_password.html.erb +13 -0
- data/app/views/typus/sign_in.html.erb +9 -0
- data/app/views/typus/sign_up.html.erb +7 -0
- data/app/views/typus_mailer/reset_password_link.erb +11 -0
- data/config/locales/es.yml +106 -0
- data/config/locales/pt-BR.yml +108 -0
- data/config/locales/typus_hacks.yml +14 -0
- data/config/routes.rb +14 -0
- data/generators/typus/templates/config/initializers/typus.rb +27 -0
- data/generators/typus/templates/config/typus/application.yml +45 -0
- data/generators/typus/templates/config/typus/application_roles.yml +23 -0
- data/generators/typus/templates/config/typus/typus.yml +14 -0
- data/generators/typus/templates/config/typus/typus_roles.yml +2 -0
- data/generators/typus/templates/db/create_typus_users.rb +21 -0
- data/generators/typus/templates/public/images/admin/arrow_down.gif +0 -0
- data/generators/typus/templates/public/images/admin/arrow_up.gif +0 -0
- data/generators/typus/templates/public/images/admin/spinner.gif +0 -0
- data/generators/typus/templates/public/images/admin/status_false.gif +0 -0
- data/generators/typus/templates/public/images/admin/status_true.gif +0 -0
- data/generators/typus/templates/public/images/admin/trash.gif +0 -0
- data/generators/typus/templates/public/javascripts/admin/application.js +14 -0
- data/generators/typus/templates/public/stylesheets/admin/reset.css +68 -0
- data/generators/typus/templates/public/stylesheets/admin/screen.css +709 -0
- data/generators/typus/typus_generator.rb +141 -0
- data/generators/typus_update_schema_to_01/templates/config/typus.yml +14 -0
- data/generators/typus_update_schema_to_01/templates/migration.rb +11 -0
- data/generators/typus_update_schema_to_01/typus_update_schema_to_01_generator.rb +19 -0
- data/init.rb +19 -0
- data/lib/typus/active_record.rb +298 -0
- data/lib/typus/authentication.rb +155 -0
- data/lib/typus/configuration.rb +92 -0
- data/lib/typus/format.rb +56 -0
- data/lib/typus/generator.rb +173 -0
- data/lib/typus/hash.rb +10 -0
- data/lib/typus/locale.rb +17 -0
- data/lib/typus/object.rb +22 -0
- data/lib/typus/quick_edit.rb +33 -0
- data/lib/typus/reloader.rb +17 -0
- data/lib/typus/string.rb +11 -0
- data/lib/typus/user.rb +137 -0
- data/lib/typus.rb +133 -0
- data/lib/vendor/active_record.rb +15 -0
- data/lib/vendor/paginator.rb +143 -0
- data/tasks/typus_tasks.rake +26 -0
- data/test/config/broken/application.yml +68 -0
- data/test/config/broken/application_roles.yml +20 -0
- data/test/config/broken/empty.yml +0 -0
- data/test/config/broken/empty_roles.yml +0 -0
- data/test/config/broken/undefined.yml +3 -0
- data/test/config/broken/undefined_roles.yml +6 -0
- data/test/config/default/typus.yml +14 -0
- data/test/config/default/typus_roles.yml +2 -0
- data/test/config/empty/empty_01.yml +0 -0
- data/test/config/empty/empty_01_roles.yml +0 -0
- data/test/config/empty/empty_02.yml +0 -0
- data/test/config/empty/empty_02_roles.yml +0 -0
- data/test/config/locales/es.yml +10 -0
- data/test/config/ordered/001_roles.yml +2 -0
- data/test/config/ordered/002_roles.yml +2 -0
- data/test/config/unordered/app_one_roles.yml +2 -0
- data/test/config/unordered/app_two_roles.yml +2 -0
- data/test/config/working/application.yml +67 -0
- data/test/config/working/application_roles.yml +22 -0
- data/test/config/working/typus.yml +14 -0
- data/test/config/working/typus_roles.yml +2 -0
- data/test/fixtures/app/controllers/admin/assets_controller.rb +2 -0
- data/test/fixtures/app/controllers/admin/categories_controller.rb +2 -0
- data/test/fixtures/app/controllers/admin/comments_controller.rb +2 -0
- data/test/fixtures/app/controllers/admin/pages_controller.rb +2 -0
- data/test/fixtures/app/controllers/admin/posts_controller.rb +2 -0
- data/test/fixtures/app/controllers/admin/status_controller.rb +6 -0
- data/test/fixtures/app/controllers/admin/typus_users_controller.rb +2 -0
- data/test/fixtures/app/controllers/admin/watch_dog_controller.rb +6 -0
- data/test/fixtures/app/views/admin/comments/_edit_bottom.html.erb +1 -0
- data/test/fixtures/app/views/admin/comments/_edit_sidebar.html.erb +1 -0
- data/test/fixtures/app/views/admin/comments/_edit_top.html.erb +1 -0
- data/test/fixtures/app/views/admin/comments/_index_bottom.html.erb +1 -0
- data/test/fixtures/app/views/admin/comments/_index_sidebar.html.erb +1 -0
- data/test/fixtures/app/views/admin/comments/_index_top.html.erb +1 -0
- data/test/fixtures/app/views/admin/comments/_new_bottom.html.erb +1 -0
- data/test/fixtures/app/views/admin/comments/_new_sidebar.html.erb +1 -0
- data/test/fixtures/app/views/admin/comments/_new_top.html.erb +1 -0
- data/test/fixtures/app/views/admin/comments/_show_bottom.html.erb +1 -0
- data/test/fixtures/app/views/admin/comments/_show_sidebar.html.erb +1 -0
- data/test/fixtures/app/views/admin/comments/_show_top.html.erb +1 -0
- data/test/fixtures/app/views/admin/dashboard/_bottom.html.erb +1 -0
- data/test/fixtures/app/views/admin/dashboard/_sidebar.html.erb +1 -0
- data/test/fixtures/app/views/admin/dashboard/_top.html.erb +1 -0
- data/test/fixtures/app/views/admin/shared/_footer.html.erb +1 -0
- data/test/fixtures/app/views/admin/status/index.html.erb +1 -0
- data/test/fixtures/app/views/admin/templates/_datepicker.html.erb +1 -0
- data/test/fixtures/assets.yml +11 -0
- data/test/fixtures/categories.yml +14 -0
- data/test/fixtures/comments.yml +27 -0
- data/test/fixtures/pages.yml +41 -0
- data/test/fixtures/posts.yml +37 -0
- data/test/fixtures/typus_users.yml +54 -0
- data/test/functional/admin/assets_controller_test.rb +57 -0
- data/test/functional/admin/categories_controller_test.rb +106 -0
- data/test/functional/admin/comments_controller_test.rb +121 -0
- data/test/functional/admin/master_controller_test.rb +5 -0
- data/test/functional/admin/posts_controller_test.rb +278 -0
- data/test/functional/admin/status_controller_test.rb +43 -0
- data/test/functional/admin/typus_users_controller_test.rb +239 -0
- data/test/functional/typus_controller_test.rb +315 -0
- data/test/helper.rb +51 -0
- data/test/helpers/admin/form_helper_test.rb +316 -0
- data/test/helpers/admin/master_helper_test.rb +65 -0
- data/test/helpers/admin/public_helper_test.rb +22 -0
- data/test/helpers/admin/sidebar_helper_test.rb +351 -0
- data/test/helpers/admin/table_helper_test.rb +255 -0
- data/test/helpers/typus_helper_test.rb +106 -0
- data/test/lib/active_record_test.rb +372 -0
- data/test/lib/configuration_test.rb +91 -0
- data/test/lib/hash_test.rb +11 -0
- data/test/lib/routes_test.rb +82 -0
- data/test/lib/string_test.rb +25 -0
- data/test/lib/typus_test.rb +105 -0
- data/test/models.rb +51 -0
- data/test/schema.rb +64 -0
- data/test/unit/typus_mailer_test.rb +33 -0
- data/test/unit/typus_test.rb +17 -0
- data/test/unit/typus_user_roles_test.rb +90 -0
- data/test/unit/typus_user_test.rb +177 -0
- data/test/vendor/active_record_test.rb +18 -0
- data/test/vendor/paginator_test.rb +138 -0
- data/typus.gemspec +225 -0
- metadata +241 -0
data/typus.gemspec
ADDED
|
@@ -0,0 +1,225 @@
|
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
|
2
|
+
|
|
3
|
+
Gem::Specification.new do |s|
|
|
4
|
+
s.name = %q{typus}
|
|
5
|
+
s.version = "0.9.0"
|
|
6
|
+
|
|
7
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
8
|
+
s.authors = ["Francesc Esplugas"]
|
|
9
|
+
s.date = %q{2009-05-23}
|
|
10
|
+
s.description = %q{Effortless backend interface for Ruby on Rails applications. (Admin scaffold generator.)}
|
|
11
|
+
s.email = %q{francesc@intraducibles.com}
|
|
12
|
+
s.extra_rdoc_files = [
|
|
13
|
+
"README.rdoc"
|
|
14
|
+
]
|
|
15
|
+
s.files = [
|
|
16
|
+
".gitignore",
|
|
17
|
+
"MIT-LICENSE",
|
|
18
|
+
"README.rdoc",
|
|
19
|
+
"Rakefile",
|
|
20
|
+
"VERSION",
|
|
21
|
+
"app/controllers/admin/master_controller.rb",
|
|
22
|
+
"app/controllers/typus_controller.rb",
|
|
23
|
+
"app/helpers/admin/form_helper.rb",
|
|
24
|
+
"app/helpers/admin/master_helper.rb",
|
|
25
|
+
"app/helpers/admin/public_helper.rb",
|
|
26
|
+
"app/helpers/admin/sidebar_helper.rb",
|
|
27
|
+
"app/helpers/admin/table_helper.rb",
|
|
28
|
+
"app/helpers/typus_helper.rb",
|
|
29
|
+
"app/models/typus_mailer.rb",
|
|
30
|
+
"app/models/typus_user.rb",
|
|
31
|
+
"app/views/admin/dashboard/_sidebar.html.erb",
|
|
32
|
+
"app/views/admin/resources/edit.html.erb",
|
|
33
|
+
"app/views/admin/resources/index.html.erb",
|
|
34
|
+
"app/views/admin/resources/new.html.erb",
|
|
35
|
+
"app/views/admin/resources/show.html.erb",
|
|
36
|
+
"app/views/admin/shared/_footer.html.erb",
|
|
37
|
+
"app/views/admin/shared/_pagination.html.erb",
|
|
38
|
+
"app/views/layouts/admin.html.erb",
|
|
39
|
+
"app/views/layouts/typus.html.erb",
|
|
40
|
+
"app/views/typus/dashboard.html.erb",
|
|
41
|
+
"app/views/typus/recover_password.html.erb",
|
|
42
|
+
"app/views/typus/reset_password.html.erb",
|
|
43
|
+
"app/views/typus/sign_in.html.erb",
|
|
44
|
+
"app/views/typus/sign_up.html.erb",
|
|
45
|
+
"app/views/typus_mailer/reset_password_link.erb",
|
|
46
|
+
"config/locales/es.yml",
|
|
47
|
+
"config/locales/pt-BR.yml",
|
|
48
|
+
"config/locales/typus_hacks.yml",
|
|
49
|
+
"config/routes.rb",
|
|
50
|
+
"generators/typus/templates/config/initializers/typus.rb",
|
|
51
|
+
"generators/typus/templates/config/typus/application.yml",
|
|
52
|
+
"generators/typus/templates/config/typus/application_roles.yml",
|
|
53
|
+
"generators/typus/templates/config/typus/typus.yml",
|
|
54
|
+
"generators/typus/templates/config/typus/typus_roles.yml",
|
|
55
|
+
"generators/typus/templates/db/create_typus_users.rb",
|
|
56
|
+
"generators/typus/templates/public/images/admin/arrow_down.gif",
|
|
57
|
+
"generators/typus/templates/public/images/admin/arrow_up.gif",
|
|
58
|
+
"generators/typus/templates/public/images/admin/spinner.gif",
|
|
59
|
+
"generators/typus/templates/public/images/admin/status_false.gif",
|
|
60
|
+
"generators/typus/templates/public/images/admin/status_true.gif",
|
|
61
|
+
"generators/typus/templates/public/images/admin/trash.gif",
|
|
62
|
+
"generators/typus/templates/public/javascripts/admin/application.js",
|
|
63
|
+
"generators/typus/templates/public/stylesheets/admin/reset.css",
|
|
64
|
+
"generators/typus/templates/public/stylesheets/admin/screen.css",
|
|
65
|
+
"generators/typus/typus_generator.rb",
|
|
66
|
+
"generators/typus_update_schema_to_01/templates/config/typus.yml",
|
|
67
|
+
"generators/typus_update_schema_to_01/templates/migration.rb",
|
|
68
|
+
"generators/typus_update_schema_to_01/typus_update_schema_to_01_generator.rb",
|
|
69
|
+
"init.rb",
|
|
70
|
+
"lib/typus.rb",
|
|
71
|
+
"lib/typus/active_record.rb",
|
|
72
|
+
"lib/typus/authentication.rb",
|
|
73
|
+
"lib/typus/configuration.rb",
|
|
74
|
+
"lib/typus/format.rb",
|
|
75
|
+
"lib/typus/generator.rb",
|
|
76
|
+
"lib/typus/hash.rb",
|
|
77
|
+
"lib/typus/locale.rb",
|
|
78
|
+
"lib/typus/object.rb",
|
|
79
|
+
"lib/typus/quick_edit.rb",
|
|
80
|
+
"lib/typus/reloader.rb",
|
|
81
|
+
"lib/typus/string.rb",
|
|
82
|
+
"lib/typus/user.rb",
|
|
83
|
+
"lib/vendor/active_record.rb",
|
|
84
|
+
"lib/vendor/paginator.rb",
|
|
85
|
+
"tasks/typus_tasks.rake",
|
|
86
|
+
"test/config/broken/application.yml",
|
|
87
|
+
"test/config/broken/application_roles.yml",
|
|
88
|
+
"test/config/broken/empty.yml",
|
|
89
|
+
"test/config/broken/empty_roles.yml",
|
|
90
|
+
"test/config/broken/undefined.yml",
|
|
91
|
+
"test/config/broken/undefined_roles.yml",
|
|
92
|
+
"test/config/default/typus.yml",
|
|
93
|
+
"test/config/default/typus_roles.yml",
|
|
94
|
+
"test/config/empty/empty_01.yml",
|
|
95
|
+
"test/config/empty/empty_01_roles.yml",
|
|
96
|
+
"test/config/empty/empty_02.yml",
|
|
97
|
+
"test/config/empty/empty_02_roles.yml",
|
|
98
|
+
"test/config/locales/es.yml",
|
|
99
|
+
"test/config/ordered/001_roles.yml",
|
|
100
|
+
"test/config/ordered/002_roles.yml",
|
|
101
|
+
"test/config/unordered/app_one_roles.yml",
|
|
102
|
+
"test/config/unordered/app_two_roles.yml",
|
|
103
|
+
"test/config/working/application.yml",
|
|
104
|
+
"test/config/working/application_roles.yml",
|
|
105
|
+
"test/config/working/typus.yml",
|
|
106
|
+
"test/config/working/typus_roles.yml",
|
|
107
|
+
"test/fixtures/app/controllers/admin/assets_controller.rb",
|
|
108
|
+
"test/fixtures/app/controllers/admin/categories_controller.rb",
|
|
109
|
+
"test/fixtures/app/controllers/admin/comments_controller.rb",
|
|
110
|
+
"test/fixtures/app/controllers/admin/pages_controller.rb",
|
|
111
|
+
"test/fixtures/app/controllers/admin/posts_controller.rb",
|
|
112
|
+
"test/fixtures/app/controllers/admin/status_controller.rb",
|
|
113
|
+
"test/fixtures/app/controllers/admin/typus_users_controller.rb",
|
|
114
|
+
"test/fixtures/app/controllers/admin/watch_dog_controller.rb",
|
|
115
|
+
"test/fixtures/app/views/admin/comments/_edit_bottom.html.erb",
|
|
116
|
+
"test/fixtures/app/views/admin/comments/_edit_sidebar.html.erb",
|
|
117
|
+
"test/fixtures/app/views/admin/comments/_edit_top.html.erb",
|
|
118
|
+
"test/fixtures/app/views/admin/comments/_index_bottom.html.erb",
|
|
119
|
+
"test/fixtures/app/views/admin/comments/_index_sidebar.html.erb",
|
|
120
|
+
"test/fixtures/app/views/admin/comments/_index_top.html.erb",
|
|
121
|
+
"test/fixtures/app/views/admin/comments/_new_bottom.html.erb",
|
|
122
|
+
"test/fixtures/app/views/admin/comments/_new_sidebar.html.erb",
|
|
123
|
+
"test/fixtures/app/views/admin/comments/_new_top.html.erb",
|
|
124
|
+
"test/fixtures/app/views/admin/comments/_show_bottom.html.erb",
|
|
125
|
+
"test/fixtures/app/views/admin/comments/_show_sidebar.html.erb",
|
|
126
|
+
"test/fixtures/app/views/admin/comments/_show_top.html.erb",
|
|
127
|
+
"test/fixtures/app/views/admin/dashboard/_bottom.html.erb",
|
|
128
|
+
"test/fixtures/app/views/admin/dashboard/_sidebar.html.erb",
|
|
129
|
+
"test/fixtures/app/views/admin/dashboard/_top.html.erb",
|
|
130
|
+
"test/fixtures/app/views/admin/shared/_footer.html.erb",
|
|
131
|
+
"test/fixtures/app/views/admin/status/index.html.erb",
|
|
132
|
+
"test/fixtures/app/views/admin/templates/_datepicker.html.erb",
|
|
133
|
+
"test/fixtures/assets.yml",
|
|
134
|
+
"test/fixtures/categories.yml",
|
|
135
|
+
"test/fixtures/comments.yml",
|
|
136
|
+
"test/fixtures/pages.yml",
|
|
137
|
+
"test/fixtures/posts.yml",
|
|
138
|
+
"test/fixtures/typus_users.yml",
|
|
139
|
+
"test/functional/admin/assets_controller_test.rb",
|
|
140
|
+
"test/functional/admin/categories_controller_test.rb",
|
|
141
|
+
"test/functional/admin/comments_controller_test.rb",
|
|
142
|
+
"test/functional/admin/master_controller_test.rb",
|
|
143
|
+
"test/functional/admin/posts_controller_test.rb",
|
|
144
|
+
"test/functional/admin/status_controller_test.rb",
|
|
145
|
+
"test/functional/admin/typus_users_controller_test.rb",
|
|
146
|
+
"test/functional/typus_controller_test.rb",
|
|
147
|
+
"test/helper.rb",
|
|
148
|
+
"test/helpers/admin/form_helper_test.rb",
|
|
149
|
+
"test/helpers/admin/master_helper_test.rb",
|
|
150
|
+
"test/helpers/admin/public_helper_test.rb",
|
|
151
|
+
"test/helpers/admin/sidebar_helper_test.rb",
|
|
152
|
+
"test/helpers/admin/table_helper_test.rb",
|
|
153
|
+
"test/helpers/typus_helper_test.rb",
|
|
154
|
+
"test/lib/active_record_test.rb",
|
|
155
|
+
"test/lib/configuration_test.rb",
|
|
156
|
+
"test/lib/hash_test.rb",
|
|
157
|
+
"test/lib/routes_test.rb",
|
|
158
|
+
"test/lib/string_test.rb",
|
|
159
|
+
"test/lib/typus_test.rb",
|
|
160
|
+
"test/models.rb",
|
|
161
|
+
"test/schema.rb",
|
|
162
|
+
"test/unit/typus_mailer_test.rb",
|
|
163
|
+
"test/unit/typus_test.rb",
|
|
164
|
+
"test/unit/typus_user_roles_test.rb",
|
|
165
|
+
"test/unit/typus_user_test.rb",
|
|
166
|
+
"test/vendor/active_record_test.rb",
|
|
167
|
+
"test/vendor/paginator_test.rb",
|
|
168
|
+
"typus.gemspec"
|
|
169
|
+
]
|
|
170
|
+
s.has_rdoc = true
|
|
171
|
+
s.homepage = %q{http://intraducibles.com/projects/typus}
|
|
172
|
+
s.rdoc_options = ["--charset=UTF-8"]
|
|
173
|
+
s.require_paths = ["lib"]
|
|
174
|
+
s.rubygems_version = %q{1.3.1}
|
|
175
|
+
s.summary = %q{Effortless backend interface for Ruby on Rails applications. (Admin scaffold generator.)}
|
|
176
|
+
s.test_files = [
|
|
177
|
+
"test/fixtures/app/controllers/admin/assets_controller.rb",
|
|
178
|
+
"test/fixtures/app/controllers/admin/categories_controller.rb",
|
|
179
|
+
"test/fixtures/app/controllers/admin/comments_controller.rb",
|
|
180
|
+
"test/fixtures/app/controllers/admin/pages_controller.rb",
|
|
181
|
+
"test/fixtures/app/controllers/admin/posts_controller.rb",
|
|
182
|
+
"test/fixtures/app/controllers/admin/status_controller.rb",
|
|
183
|
+
"test/fixtures/app/controllers/admin/typus_users_controller.rb",
|
|
184
|
+
"test/fixtures/app/controllers/admin/watch_dog_controller.rb",
|
|
185
|
+
"test/functional/admin/assets_controller_test.rb",
|
|
186
|
+
"test/functional/admin/categories_controller_test.rb",
|
|
187
|
+
"test/functional/admin/comments_controller_test.rb",
|
|
188
|
+
"test/functional/admin/master_controller_test.rb",
|
|
189
|
+
"test/functional/admin/posts_controller_test.rb",
|
|
190
|
+
"test/functional/admin/status_controller_test.rb",
|
|
191
|
+
"test/functional/admin/typus_users_controller_test.rb",
|
|
192
|
+
"test/functional/typus_controller_test.rb",
|
|
193
|
+
"test/helper.rb",
|
|
194
|
+
"test/helpers/admin/form_helper_test.rb",
|
|
195
|
+
"test/helpers/admin/master_helper_test.rb",
|
|
196
|
+
"test/helpers/admin/public_helper_test.rb",
|
|
197
|
+
"test/helpers/admin/sidebar_helper_test.rb",
|
|
198
|
+
"test/helpers/admin/table_helper_test.rb",
|
|
199
|
+
"test/helpers/typus_helper_test.rb",
|
|
200
|
+
"test/lib/active_record_test.rb",
|
|
201
|
+
"test/lib/configuration_test.rb",
|
|
202
|
+
"test/lib/hash_test.rb",
|
|
203
|
+
"test/lib/routes_test.rb",
|
|
204
|
+
"test/lib/string_test.rb",
|
|
205
|
+
"test/lib/typus_test.rb",
|
|
206
|
+
"test/models.rb",
|
|
207
|
+
"test/schema.rb",
|
|
208
|
+
"test/unit/typus_mailer_test.rb",
|
|
209
|
+
"test/unit/typus_test.rb",
|
|
210
|
+
"test/unit/typus_user_roles_test.rb",
|
|
211
|
+
"test/unit/typus_user_test.rb",
|
|
212
|
+
"test/vendor/active_record_test.rb",
|
|
213
|
+
"test/vendor/paginator_test.rb"
|
|
214
|
+
]
|
|
215
|
+
|
|
216
|
+
if s.respond_to? :specification_version then
|
|
217
|
+
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
|
218
|
+
s.specification_version = 2
|
|
219
|
+
|
|
220
|
+
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
|
|
221
|
+
else
|
|
222
|
+
end
|
|
223
|
+
else
|
|
224
|
+
end
|
|
225
|
+
end
|
metadata
ADDED
|
@@ -0,0 +1,241 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: fesplugas-typus
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.9.0
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- Francesc Esplugas
|
|
8
|
+
autorequire:
|
|
9
|
+
bindir: bin
|
|
10
|
+
cert_chain: []
|
|
11
|
+
|
|
12
|
+
date: 2009-05-23 00:00:00 -07:00
|
|
13
|
+
default_executable:
|
|
14
|
+
dependencies: []
|
|
15
|
+
|
|
16
|
+
description: Effortless backend interface for Ruby on Rails applications. (Admin scaffold generator.)
|
|
17
|
+
email: francesc@intraducibles.com
|
|
18
|
+
executables: []
|
|
19
|
+
|
|
20
|
+
extensions: []
|
|
21
|
+
|
|
22
|
+
extra_rdoc_files:
|
|
23
|
+
- README.rdoc
|
|
24
|
+
files:
|
|
25
|
+
- .gitignore
|
|
26
|
+
- MIT-LICENSE
|
|
27
|
+
- README.rdoc
|
|
28
|
+
- Rakefile
|
|
29
|
+
- VERSION
|
|
30
|
+
- app/controllers/admin/master_controller.rb
|
|
31
|
+
- app/controllers/typus_controller.rb
|
|
32
|
+
- app/helpers/admin/form_helper.rb
|
|
33
|
+
- app/helpers/admin/master_helper.rb
|
|
34
|
+
- app/helpers/admin/public_helper.rb
|
|
35
|
+
- app/helpers/admin/sidebar_helper.rb
|
|
36
|
+
- app/helpers/admin/table_helper.rb
|
|
37
|
+
- app/helpers/typus_helper.rb
|
|
38
|
+
- app/models/typus_mailer.rb
|
|
39
|
+
- app/models/typus_user.rb
|
|
40
|
+
- app/views/admin/dashboard/_sidebar.html.erb
|
|
41
|
+
- app/views/admin/resources/edit.html.erb
|
|
42
|
+
- app/views/admin/resources/index.html.erb
|
|
43
|
+
- app/views/admin/resources/new.html.erb
|
|
44
|
+
- app/views/admin/resources/show.html.erb
|
|
45
|
+
- app/views/admin/shared/_footer.html.erb
|
|
46
|
+
- app/views/admin/shared/_pagination.html.erb
|
|
47
|
+
- app/views/layouts/admin.html.erb
|
|
48
|
+
- app/views/layouts/typus.html.erb
|
|
49
|
+
- app/views/typus/dashboard.html.erb
|
|
50
|
+
- app/views/typus/recover_password.html.erb
|
|
51
|
+
- app/views/typus/reset_password.html.erb
|
|
52
|
+
- app/views/typus/sign_in.html.erb
|
|
53
|
+
- app/views/typus/sign_up.html.erb
|
|
54
|
+
- app/views/typus_mailer/reset_password_link.erb
|
|
55
|
+
- config/locales/es.yml
|
|
56
|
+
- config/locales/pt-BR.yml
|
|
57
|
+
- config/locales/typus_hacks.yml
|
|
58
|
+
- config/routes.rb
|
|
59
|
+
- generators/typus/templates/config/initializers/typus.rb
|
|
60
|
+
- generators/typus/templates/config/typus/application.yml
|
|
61
|
+
- generators/typus/templates/config/typus/application_roles.yml
|
|
62
|
+
- generators/typus/templates/config/typus/typus.yml
|
|
63
|
+
- generators/typus/templates/config/typus/typus_roles.yml
|
|
64
|
+
- generators/typus/templates/db/create_typus_users.rb
|
|
65
|
+
- generators/typus/templates/public/images/admin/arrow_down.gif
|
|
66
|
+
- generators/typus/templates/public/images/admin/arrow_up.gif
|
|
67
|
+
- generators/typus/templates/public/images/admin/spinner.gif
|
|
68
|
+
- generators/typus/templates/public/images/admin/status_false.gif
|
|
69
|
+
- generators/typus/templates/public/images/admin/status_true.gif
|
|
70
|
+
- generators/typus/templates/public/images/admin/trash.gif
|
|
71
|
+
- generators/typus/templates/public/javascripts/admin/application.js
|
|
72
|
+
- generators/typus/templates/public/stylesheets/admin/reset.css
|
|
73
|
+
- generators/typus/templates/public/stylesheets/admin/screen.css
|
|
74
|
+
- generators/typus/typus_generator.rb
|
|
75
|
+
- generators/typus_update_schema_to_01/templates/config/typus.yml
|
|
76
|
+
- generators/typus_update_schema_to_01/templates/migration.rb
|
|
77
|
+
- generators/typus_update_schema_to_01/typus_update_schema_to_01_generator.rb
|
|
78
|
+
- init.rb
|
|
79
|
+
- lib/typus.rb
|
|
80
|
+
- lib/typus/active_record.rb
|
|
81
|
+
- lib/typus/authentication.rb
|
|
82
|
+
- lib/typus/configuration.rb
|
|
83
|
+
- lib/typus/format.rb
|
|
84
|
+
- lib/typus/generator.rb
|
|
85
|
+
- lib/typus/hash.rb
|
|
86
|
+
- lib/typus/locale.rb
|
|
87
|
+
- lib/typus/object.rb
|
|
88
|
+
- lib/typus/quick_edit.rb
|
|
89
|
+
- lib/typus/reloader.rb
|
|
90
|
+
- lib/typus/string.rb
|
|
91
|
+
- lib/typus/user.rb
|
|
92
|
+
- lib/vendor/active_record.rb
|
|
93
|
+
- lib/vendor/paginator.rb
|
|
94
|
+
- tasks/typus_tasks.rake
|
|
95
|
+
- test/config/broken/application.yml
|
|
96
|
+
- test/config/broken/application_roles.yml
|
|
97
|
+
- test/config/broken/empty.yml
|
|
98
|
+
- test/config/broken/empty_roles.yml
|
|
99
|
+
- test/config/broken/undefined.yml
|
|
100
|
+
- test/config/broken/undefined_roles.yml
|
|
101
|
+
- test/config/default/typus.yml
|
|
102
|
+
- test/config/default/typus_roles.yml
|
|
103
|
+
- test/config/empty/empty_01.yml
|
|
104
|
+
- test/config/empty/empty_01_roles.yml
|
|
105
|
+
- test/config/empty/empty_02.yml
|
|
106
|
+
- test/config/empty/empty_02_roles.yml
|
|
107
|
+
- test/config/locales/es.yml
|
|
108
|
+
- test/config/ordered/001_roles.yml
|
|
109
|
+
- test/config/ordered/002_roles.yml
|
|
110
|
+
- test/config/unordered/app_one_roles.yml
|
|
111
|
+
- test/config/unordered/app_two_roles.yml
|
|
112
|
+
- test/config/working/application.yml
|
|
113
|
+
- test/config/working/application_roles.yml
|
|
114
|
+
- test/config/working/typus.yml
|
|
115
|
+
- test/config/working/typus_roles.yml
|
|
116
|
+
- test/fixtures/app/controllers/admin/assets_controller.rb
|
|
117
|
+
- test/fixtures/app/controllers/admin/categories_controller.rb
|
|
118
|
+
- test/fixtures/app/controllers/admin/comments_controller.rb
|
|
119
|
+
- test/fixtures/app/controllers/admin/pages_controller.rb
|
|
120
|
+
- test/fixtures/app/controllers/admin/posts_controller.rb
|
|
121
|
+
- test/fixtures/app/controllers/admin/status_controller.rb
|
|
122
|
+
- test/fixtures/app/controllers/admin/typus_users_controller.rb
|
|
123
|
+
- test/fixtures/app/controllers/admin/watch_dog_controller.rb
|
|
124
|
+
- test/fixtures/app/views/admin/comments/_edit_bottom.html.erb
|
|
125
|
+
- test/fixtures/app/views/admin/comments/_edit_sidebar.html.erb
|
|
126
|
+
- test/fixtures/app/views/admin/comments/_edit_top.html.erb
|
|
127
|
+
- test/fixtures/app/views/admin/comments/_index_bottom.html.erb
|
|
128
|
+
- test/fixtures/app/views/admin/comments/_index_sidebar.html.erb
|
|
129
|
+
- test/fixtures/app/views/admin/comments/_index_top.html.erb
|
|
130
|
+
- test/fixtures/app/views/admin/comments/_new_bottom.html.erb
|
|
131
|
+
- test/fixtures/app/views/admin/comments/_new_sidebar.html.erb
|
|
132
|
+
- test/fixtures/app/views/admin/comments/_new_top.html.erb
|
|
133
|
+
- test/fixtures/app/views/admin/comments/_show_bottom.html.erb
|
|
134
|
+
- test/fixtures/app/views/admin/comments/_show_sidebar.html.erb
|
|
135
|
+
- test/fixtures/app/views/admin/comments/_show_top.html.erb
|
|
136
|
+
- test/fixtures/app/views/admin/dashboard/_bottom.html.erb
|
|
137
|
+
- test/fixtures/app/views/admin/dashboard/_sidebar.html.erb
|
|
138
|
+
- test/fixtures/app/views/admin/dashboard/_top.html.erb
|
|
139
|
+
- test/fixtures/app/views/admin/shared/_footer.html.erb
|
|
140
|
+
- test/fixtures/app/views/admin/status/index.html.erb
|
|
141
|
+
- test/fixtures/app/views/admin/templates/_datepicker.html.erb
|
|
142
|
+
- test/fixtures/assets.yml
|
|
143
|
+
- test/fixtures/categories.yml
|
|
144
|
+
- test/fixtures/comments.yml
|
|
145
|
+
- test/fixtures/pages.yml
|
|
146
|
+
- test/fixtures/posts.yml
|
|
147
|
+
- test/fixtures/typus_users.yml
|
|
148
|
+
- test/functional/admin/assets_controller_test.rb
|
|
149
|
+
- test/functional/admin/categories_controller_test.rb
|
|
150
|
+
- test/functional/admin/comments_controller_test.rb
|
|
151
|
+
- test/functional/admin/master_controller_test.rb
|
|
152
|
+
- test/functional/admin/posts_controller_test.rb
|
|
153
|
+
- test/functional/admin/status_controller_test.rb
|
|
154
|
+
- test/functional/admin/typus_users_controller_test.rb
|
|
155
|
+
- test/functional/typus_controller_test.rb
|
|
156
|
+
- test/helper.rb
|
|
157
|
+
- test/helpers/admin/form_helper_test.rb
|
|
158
|
+
- test/helpers/admin/master_helper_test.rb
|
|
159
|
+
- test/helpers/admin/public_helper_test.rb
|
|
160
|
+
- test/helpers/admin/sidebar_helper_test.rb
|
|
161
|
+
- test/helpers/admin/table_helper_test.rb
|
|
162
|
+
- test/helpers/typus_helper_test.rb
|
|
163
|
+
- test/lib/active_record_test.rb
|
|
164
|
+
- test/lib/configuration_test.rb
|
|
165
|
+
- test/lib/hash_test.rb
|
|
166
|
+
- test/lib/routes_test.rb
|
|
167
|
+
- test/lib/string_test.rb
|
|
168
|
+
- test/lib/typus_test.rb
|
|
169
|
+
- test/models.rb
|
|
170
|
+
- test/schema.rb
|
|
171
|
+
- test/unit/typus_mailer_test.rb
|
|
172
|
+
- test/unit/typus_test.rb
|
|
173
|
+
- test/unit/typus_user_roles_test.rb
|
|
174
|
+
- test/unit/typus_user_test.rb
|
|
175
|
+
- test/vendor/active_record_test.rb
|
|
176
|
+
- test/vendor/paginator_test.rb
|
|
177
|
+
- typus.gemspec
|
|
178
|
+
has_rdoc: true
|
|
179
|
+
homepage: http://intraducibles.com/projects/typus
|
|
180
|
+
post_install_message:
|
|
181
|
+
rdoc_options:
|
|
182
|
+
- --charset=UTF-8
|
|
183
|
+
require_paths:
|
|
184
|
+
- lib
|
|
185
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
186
|
+
requirements:
|
|
187
|
+
- - ">="
|
|
188
|
+
- !ruby/object:Gem::Version
|
|
189
|
+
version: "0"
|
|
190
|
+
version:
|
|
191
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
192
|
+
requirements:
|
|
193
|
+
- - ">="
|
|
194
|
+
- !ruby/object:Gem::Version
|
|
195
|
+
version: "0"
|
|
196
|
+
version:
|
|
197
|
+
requirements: []
|
|
198
|
+
|
|
199
|
+
rubyforge_project:
|
|
200
|
+
rubygems_version: 1.2.0
|
|
201
|
+
signing_key:
|
|
202
|
+
specification_version: 2
|
|
203
|
+
summary: Effortless backend interface for Ruby on Rails applications. (Admin scaffold generator.)
|
|
204
|
+
test_files:
|
|
205
|
+
- test/fixtures/app/controllers/admin/assets_controller.rb
|
|
206
|
+
- test/fixtures/app/controllers/admin/categories_controller.rb
|
|
207
|
+
- test/fixtures/app/controllers/admin/comments_controller.rb
|
|
208
|
+
- test/fixtures/app/controllers/admin/pages_controller.rb
|
|
209
|
+
- test/fixtures/app/controllers/admin/posts_controller.rb
|
|
210
|
+
- test/fixtures/app/controllers/admin/status_controller.rb
|
|
211
|
+
- test/fixtures/app/controllers/admin/typus_users_controller.rb
|
|
212
|
+
- test/fixtures/app/controllers/admin/watch_dog_controller.rb
|
|
213
|
+
- test/functional/admin/assets_controller_test.rb
|
|
214
|
+
- test/functional/admin/categories_controller_test.rb
|
|
215
|
+
- test/functional/admin/comments_controller_test.rb
|
|
216
|
+
- test/functional/admin/master_controller_test.rb
|
|
217
|
+
- test/functional/admin/posts_controller_test.rb
|
|
218
|
+
- test/functional/admin/status_controller_test.rb
|
|
219
|
+
- test/functional/admin/typus_users_controller_test.rb
|
|
220
|
+
- test/functional/typus_controller_test.rb
|
|
221
|
+
- test/helper.rb
|
|
222
|
+
- test/helpers/admin/form_helper_test.rb
|
|
223
|
+
- test/helpers/admin/master_helper_test.rb
|
|
224
|
+
- test/helpers/admin/public_helper_test.rb
|
|
225
|
+
- test/helpers/admin/sidebar_helper_test.rb
|
|
226
|
+
- test/helpers/admin/table_helper_test.rb
|
|
227
|
+
- test/helpers/typus_helper_test.rb
|
|
228
|
+
- test/lib/active_record_test.rb
|
|
229
|
+
- test/lib/configuration_test.rb
|
|
230
|
+
- test/lib/hash_test.rb
|
|
231
|
+
- test/lib/routes_test.rb
|
|
232
|
+
- test/lib/string_test.rb
|
|
233
|
+
- test/lib/typus_test.rb
|
|
234
|
+
- test/models.rb
|
|
235
|
+
- test/schema.rb
|
|
236
|
+
- test/unit/typus_mailer_test.rb
|
|
237
|
+
- test/unit/typus_test.rb
|
|
238
|
+
- test/unit/typus_user_roles_test.rb
|
|
239
|
+
- test/unit/typus_user_test.rb
|
|
240
|
+
- test/vendor/active_record_test.rb
|
|
241
|
+
- test/vendor/paginator_test.rb
|