hobo 1.3.0.RC4 → 1.3.0.pre10
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGES.txt +234 -282
- data/Rakefile +3 -3
- data/VERSION +1 -1
- data/app/controllers/dev_controller.rb +2 -2
- data/bin/hobo +3 -3
- data/config/routes.rb +1 -1
- data/doctests/hobo/lifecycles.rdoctest +1 -0
- data/doctests/hobo/model.rdoctest +5 -0
- data/doctests/hobo/multi_model_forms.rdoctest +5 -4
- data/doctests/hobo/scopes.rdoctest +8 -11
- data/doctests/prepare_testapp.rb +1 -2
- data/hobo.gemspec +2 -2
- data/lib/generators/hobo/admin_subsite/admin_subsite_generator.rb +11 -5
- data/lib/generators/hobo/admin_subsite/templates/admin.css +2 -20
- data/lib/generators/hobo/admin_subsite/templates/admin_tag_injection.erb +1 -3
- data/lib/generators/hobo/admin_subsite/templates/controller.rb.erb +5 -5
- data/lib/generators/hobo/admin_subsite/templates/users_index.dryml +1 -3
- data/lib/generators/hobo/basic/basic_generator.rb +17 -0
- data/lib/generators/hobo/{assets → basic}/templates/application.css +0 -0
- data/lib/generators/hobo/{assets → basic}/templates/application.dryml.erb +1 -1
- data/lib/generators/hobo/{assets → basic}/templates/dryml-support.js +2 -2
- data/lib/generators/hobo/{assets → basic}/templates/en_injection.yml +0 -0
- data/lib/generators/hobo/{assets → basic}/templates/guest.rb +0 -0
- data/lib/generators/hobo/controller.rb +1 -6
- data/lib/generators/hobo/front_controller/front_controller_generator.rb +3 -2
- data/{app/views/dev → lib/generators/hobo/front_controller/templates}/summary.dryml +10 -7
- data/lib/generators/hobo/hints/hints_generator.rb +12 -0
- data/lib/generators/hobo/hints/templates/hints.rb.erb +5 -0
- data/lib/generators/hobo/hints/templates/model_injection.rb.erb +36 -0
- data/lib/generators/hobo/i18n/i18n_generator.rb +9 -1
- data/lib/generators/hobo/i18n/templates/app.en.yml +1 -1
- data/lib/generators/hobo/i18n/templates/app.es-DO.yml +24 -0
- data/lib/generators/hobo/i18n/templates/app.it.yml +1 -5
- data/lib/generators/hobo/i18n/templates/app.pt-PT.yml +0 -1
- data/lib/generators/hobo/i18n/templates/default_count_injection.rb +10 -0
- data/lib/generators/hobo/i18n/templates/hobo.en.yml +10 -26
- data/lib/generators/hobo/i18n/templates/{hobo.es.yml → hobo.es-DO.yml} +10 -27
- data/lib/generators/hobo/i18n/templates/hobo.it.yml +4 -20
- data/lib/generators/hobo/i18n/templates/hobo.pt-PT.yml +9 -25
- data/lib/generators/hobo/model.rb +13 -0
- data/lib/generators/hobo/model/USAGE +3 -2
- data/lib/generators/hobo/model/model_generator.rb +1 -2
- data/lib/generators/hobo/rapid/rapid_generator.rb +0 -2
- data/lib/generators/hobo/rapid/templates/hobo-rapid.js +93 -78
- data/lib/generators/hobo/rapid/templates/ie7-recalc.js +21 -21
- data/lib/generators/hobo/rapid/templates/lowpro.js +31 -31
- data/lib/generators/hobo/rapid/templates/reset.css +1 -1
- data/lib/generators/hobo/rapid/templates/themes/clean/public/stylesheets/clean.css +16 -17
- data/lib/generators/hobo/rapid/templates/themes/clean/public/stylesheets/rapid-ui.css +3 -3
- data/lib/generators/hobo/rapid/templates/themes/clean/views/clean.dryml +1 -1
- data/lib/generators/hobo/resource/resource_generator.rb +1 -1
- data/lib/generators/hobo/routes/router.rb +4 -4
- data/lib/generators/hobo/routes/routes_generator.rb +1 -12
- data/lib/generators/hobo/routes/templates/hobo_routes.rb.erb +1 -1
- data/lib/generators/hobo/setup_wizard/setup_wizard_generator.rb +43 -88
- data/lib/generators/hobo/subsite.rb +5 -18
- data/lib/generators/hobo/subsite/subsite_generator.rb +1 -1
- data/lib/generators/hobo/subsite/templates/controller.rb.erb +1 -1
- data/lib/generators/hobo/subsite_taglib/templates/taglib.dryml.erb +2 -2
- data/lib/generators/hobo/test_framework/test_framework_generator.rb +7 -7
- data/lib/generators/hobo/user_controller/templates/controller.rb.erb +3 -8
- data/lib/generators/hobo/user_mailer/templates/activation.erb +2 -2
- data/lib/generators/hobo/user_mailer/templates/forgot_password.erb +2 -2
- data/lib/generators/hobo/user_mailer/templates/invite.erb +2 -2
- data/lib/generators/hobo/user_mailer/templates/mailer.rb.erb +17 -10
- data/lib/generators/hobo/user_mailer/user_mailer_generator.rb +1 -1
- data/lib/generators/hobo/user_model/USAGE +9 -2
- data/lib/generators/hobo/user_model/user_model_generator.rb +1 -2
- data/lib/hobo.rb +7 -13
- data/lib/hobo/controller.rb +14 -21
- data/lib/hobo/controller/authentication_support.rb +23 -1
- data/lib/hobo/controller/model.rb +53 -48
- data/lib/hobo/controller/{user_base.rb → user.rb} +36 -47
- data/lib/hobo/engine.rb +11 -25
- data/lib/hobo/extensions/action_controller/hobo_methods.rb +1 -25
- data/lib/hobo/extensions/active_model/translation.rb +1 -1
- data/lib/hobo/extensions/active_record/{associations/collection.rb → association_collection.rb} +3 -12
- data/lib/hobo/extensions/active_record/{associations/proxy.rb → association_proxy.rb} +7 -6
- data/lib/hobo/extensions/active_record/association_reflection.rb +19 -0
- data/lib/hobo/extensions/active_record/hobo_methods.rb +1 -1
- data/lib/hobo/extensions/active_record/scopes.rb +31 -0
- data/lib/hobo/extensions/array.rb +1 -13
- data/lib/hobo/helper.rb +6 -27
- data/lib/hobo/helper/translations.rb +90 -39
- data/lib/hobo/model.rb +20 -72
- data/lib/hobo/model/lifecycles.rb +11 -12
- data/lib/hobo/model/lifecycles/lifecycle.rb +4 -12
- data/lib/hobo/model/lifecycles/transition.rb +0 -1
- data/lib/hobo/model/permissions.rb +3 -2
- data/lib/hobo/model/scopes/apply_scopes.rb +1 -1
- data/lib/hobo/model/scopes/automatic_scopes.rb +80 -78
- data/lib/hobo/model/{user_base.rb → user.rb} +7 -9
- data/lib/hobo/rapid/generators/rapid/cards.dryml.erb +2 -2
- data/lib/hobo/rapid/generators/rapid/forms.dryml.erb +4 -5
- data/lib/hobo/rapid/generators/rapid/pages.dryml.erb +27 -26
- data/lib/hobo/rapid/helper.rb +5 -10
- data/lib/hobo/rapid/taglibs/rapid.dryml +1 -1
- data/lib/hobo/rapid/taglibs/rapid_core.dryml +42 -72
- data/lib/hobo/rapid/taglibs/rapid_document_tags.dryml +2 -2
- data/lib/hobo/rapid/taglibs/rapid_editing.dryml +16 -36
- data/lib/hobo/rapid/taglibs/rapid_forms.dryml +49 -87
- data/lib/hobo/rapid/taglibs/rapid_generics.dryml +2 -2
- data/lib/hobo/rapid/taglibs/rapid_i18n.dryml +75 -50
- data/lib/hobo/rapid/taglibs/rapid_lifecycles.dryml +5 -7
- data/lib/hobo/rapid/taglibs/rapid_navigation.dryml +2 -2
- data/lib/hobo/rapid/taglibs/rapid_pages.dryml +7 -8
- data/lib/hobo/rapid/taglibs/rapid_plus.dryml +43 -66
- data/lib/hobo/rapid/taglibs/rapid_summary.dryml +45 -16
- data/lib/hobo/rapid/taglibs/rapid_translations.dryml +36 -0
- data/lib/hobo/rapid/taglibs/rapid_user_pages.dryml +8 -8
- data/lib/hobo/routes.rb +23 -22
- data/lib/hobo/view_hints.rb +101 -0
- data/test/irt/generators/admin_subsite.irt +1 -1
- data/test/irt/generators/{assets.irt → basic.irt} +2 -2
- data/test/irt/generators/front_controller.irt +4 -2
- data/test/irt/generators/partials/_subsite_taglib_variables.rb +1 -1
- data/test/irt/generators/subsite.irt +1 -1
- data/test/permissions/test_permissions.rb +103 -103
- metadata +108 -69
- data/lib/generators/hobo/admin_subsite/USAGE +0 -25
- data/lib/generators/hobo/admin_subsite/templates/application.dryml +0 -1
- data/lib/generators/hobo/assets/USAGE +0 -5
- data/lib/generators/hobo/assets/assets_generator.rb +0 -18
- data/lib/generators/hobo/assets/templates/dryml_taglibs_initializer.rb +0 -1
- data/lib/generators/hobo/controller/USAGE +0 -3
- data/lib/generators/hobo/i18n/USAGE +0 -3
- data/lib/generators/hobo/i18n/templates/app.de.yml +0 -30
- data/lib/generators/hobo/i18n/templates/app.es.yml +0 -31
- data/lib/generators/hobo/i18n/templates/app.fr.yml +0 -26
- data/lib/generators/hobo/i18n/templates/app.nb.yml +0 -25
- data/lib/generators/hobo/i18n/templates/app.ru.yml +0 -24
- data/lib/generators/hobo/i18n/templates/hobo.de.yml +0 -204
- data/lib/generators/hobo/i18n/templates/hobo.fr.yml +0 -195
- data/lib/generators/hobo/i18n/templates/hobo.nb.yml +0 -198
- data/lib/generators/hobo/i18n/templates/hobo.ru.yml +0 -200
- data/lib/generators/hobo/rapid/templates/themes/clean-sidemenu/public/images/100-ACD3E6-DBE1E5-H.png +0 -0
- data/lib/generators/hobo/rapid/templates/themes/clean-sidemenu/public/images/100-DBE1E5-FCFEF5-H.png +0 -0
- data/lib/generators/hobo/rapid/templates/themes/clean-sidemenu/public/images/300-3B5F87-ACD3E6-H.png +0 -0
- data/lib/generators/hobo/rapid/templates/themes/clean-sidemenu/public/images/spinner.gif +0 -0
- data/lib/generators/hobo/rapid/templates/themes/clean-sidemenu/public/stylesheets/clean-sidemenu.css +0 -81
- data/lib/generators/hobo/rapid/templates/themes/clean-sidemenu/views/clean-sidemenu.dryml +0 -30
- data/lib/generators/hobo/resource/USAGE +0 -39
- data/lib/generators/hobo/subsite/USAGE +0 -24
- data/lib/generators/hobo/subsite_taglib/USAGE +0 -4
- data/lib/generators/hobo/test_framework/USAGE +0 -2
- data/lib/generators/hobo/user_controller/USAGE +0 -3
- data/lib/generators/hobo/user_mailer/USAGE +0 -2
- data/lib/generators/hobo/user_resource/USAGE +0 -10
- data/lib/hobo/extensions/action_view/translation_helper.rb +0 -25
- data/lib/hobo/extensions/active_record/associations/reflection.rb +0 -23
- data/lib/hobo/extensions/active_record/associations/scope.rb +0 -35
- data/lib/hobo/extensions/active_record/relation_with_origin.rb +0 -32
- data/lib/hobo/extensions/i18n.rb +0 -17
- data/lib/hobo/helper/translations/normalizer.rb +0 -39
- data/lib/hobo/model/view_hints.rb +0 -123
metadata
CHANGED
@@ -1,8 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hobo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
|
4
|
+
hash: -1637175975
|
5
|
+
prerelease: true
|
6
|
+
segments:
|
7
|
+
- 1
|
8
|
+
- 3
|
9
|
+
- 0
|
10
|
+
- pre10
|
11
|
+
version: 1.3.0.pre10
|
6
12
|
platform: ruby
|
7
13
|
authors:
|
8
14
|
- Tom Locke
|
@@ -10,86 +16,136 @@ autorequire:
|
|
10
16
|
bindir: bin
|
11
17
|
cert_chain: []
|
12
18
|
|
13
|
-
date:
|
19
|
+
date: 2010-10-10 00:00:00 -04:00
|
14
20
|
default_executable:
|
15
21
|
dependencies:
|
16
22
|
- !ruby/object:Gem::Dependency
|
17
|
-
name:
|
23
|
+
name: rails
|
18
24
|
prerelease: false
|
19
25
|
requirement: &id001 !ruby/object:Gem::Requirement
|
20
26
|
none: false
|
21
27
|
requirements:
|
22
|
-
- - "
|
28
|
+
- - ">="
|
23
29
|
- !ruby/object:Gem::Version
|
24
|
-
|
30
|
+
hash: 7
|
31
|
+
segments:
|
32
|
+
- 3
|
33
|
+
- 0
|
34
|
+
- 0
|
35
|
+
version: 3.0.0
|
25
36
|
type: :runtime
|
26
37
|
version_requirements: *id001
|
27
38
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
39
|
+
name: will_paginate
|
29
40
|
prerelease: false
|
30
41
|
requirement: &id002 !ruby/object:Gem::Requirement
|
31
42
|
none: false
|
32
43
|
requirements:
|
33
|
-
- - "
|
44
|
+
- - ">="
|
34
45
|
- !ruby/object:Gem::Version
|
35
|
-
|
46
|
+
hash: 961915916
|
47
|
+
segments:
|
48
|
+
- 3
|
49
|
+
- 0
|
50
|
+
- pre
|
51
|
+
version: 3.0.pre
|
36
52
|
type: :runtime
|
37
53
|
version_requirements: *id002
|
38
54
|
- !ruby/object:Gem::Dependency
|
39
|
-
name:
|
55
|
+
name: hobo_support
|
40
56
|
prerelease: false
|
41
57
|
requirement: &id003 !ruby/object:Gem::Requirement
|
42
58
|
none: false
|
43
59
|
requirements:
|
44
60
|
- - "="
|
45
61
|
- !ruby/object:Gem::Version
|
46
|
-
|
62
|
+
hash: -1637175975
|
63
|
+
segments:
|
64
|
+
- 1
|
65
|
+
- 3
|
66
|
+
- 0
|
67
|
+
- pre10
|
68
|
+
version: 1.3.0.pre10
|
47
69
|
type: :runtime
|
48
70
|
version_requirements: *id003
|
49
71
|
- !ruby/object:Gem::Dependency
|
50
|
-
name:
|
72
|
+
name: hobo_fields
|
51
73
|
prerelease: false
|
52
74
|
requirement: &id004 !ruby/object:Gem::Requirement
|
53
75
|
none: false
|
54
76
|
requirements:
|
55
|
-
- - "
|
77
|
+
- - "="
|
56
78
|
- !ruby/object:Gem::Version
|
57
|
-
|
79
|
+
hash: -1637175975
|
80
|
+
segments:
|
81
|
+
- 1
|
82
|
+
- 3
|
83
|
+
- 0
|
84
|
+
- pre10
|
85
|
+
version: 1.3.0.pre10
|
58
86
|
type: :runtime
|
59
87
|
version_requirements: *id004
|
60
88
|
- !ruby/object:Gem::Dependency
|
61
|
-
name:
|
89
|
+
name: dryml
|
62
90
|
prerelease: false
|
63
91
|
requirement: &id005 !ruby/object:Gem::Requirement
|
92
|
+
none: false
|
93
|
+
requirements:
|
94
|
+
- - "="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
hash: -1637175975
|
97
|
+
segments:
|
98
|
+
- 1
|
99
|
+
- 3
|
100
|
+
- 0
|
101
|
+
- pre10
|
102
|
+
version: 1.3.0.pre10
|
103
|
+
type: :runtime
|
104
|
+
version_requirements: *id005
|
105
|
+
- !ruby/object:Gem::Dependency
|
106
|
+
name: rubydoctest
|
107
|
+
prerelease: false
|
108
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
64
109
|
none: false
|
65
110
|
requirements:
|
66
111
|
- - ">="
|
67
112
|
- !ruby/object:Gem::Version
|
113
|
+
hash: 3
|
114
|
+
segments:
|
115
|
+
- 0
|
68
116
|
version: "0"
|
69
117
|
type: :development
|
70
|
-
version_requirements: *
|
118
|
+
version_requirements: *id006
|
71
119
|
- !ruby/object:Gem::Dependency
|
72
120
|
name: shoulda
|
73
121
|
prerelease: false
|
74
|
-
requirement: &
|
122
|
+
requirement: &id007 !ruby/object:Gem::Requirement
|
75
123
|
none: false
|
76
124
|
requirements:
|
77
125
|
- - ">="
|
78
126
|
- !ruby/object:Gem::Version
|
127
|
+
hash: 3
|
128
|
+
segments:
|
129
|
+
- 0
|
79
130
|
version: "0"
|
80
131
|
type: :development
|
81
|
-
version_requirements: *
|
132
|
+
version_requirements: *id007
|
82
133
|
- !ruby/object:Gem::Dependency
|
83
134
|
name: irt
|
84
135
|
prerelease: false
|
85
|
-
requirement: &
|
136
|
+
requirement: &id008 !ruby/object:Gem::Requirement
|
86
137
|
none: false
|
87
138
|
requirements:
|
88
139
|
- - ">="
|
89
140
|
- !ruby/object:Gem::Version
|
141
|
+
hash: 9
|
142
|
+
segments:
|
143
|
+
- 0
|
144
|
+
- 7
|
145
|
+
- 5
|
90
146
|
version: 0.7.5
|
91
147
|
type: :development
|
92
|
-
version_requirements: *
|
148
|
+
version_requirements: *id008
|
93
149
|
description: The web app builder for Rails
|
94
150
|
email: tom@tomlocke.com
|
95
151
|
executables:
|
@@ -106,7 +162,6 @@ files:
|
|
106
162
|
- VERSION
|
107
163
|
- app/controllers/dev_controller.rb
|
108
164
|
- app/controllers/dryml_support_controller.rb
|
109
|
-
- app/views/dev/summary.dryml
|
110
165
|
- bin/hobo
|
111
166
|
- config/initializers/inflections.rb
|
112
167
|
- config/routes.rb
|
@@ -117,48 +172,40 @@ files:
|
|
117
172
|
- doctests/prepare_testapp.rb
|
118
173
|
- hobo.gemspec
|
119
174
|
- lib/generators/hobo/activation_email.rb
|
120
|
-
- lib/generators/hobo/admin_subsite/USAGE
|
121
175
|
- lib/generators/hobo/admin_subsite/admin_subsite_generator.rb
|
122
176
|
- lib/generators/hobo/admin_subsite/templates/admin.css
|
123
177
|
- lib/generators/hobo/admin_subsite/templates/admin_tag_injection.erb
|
124
|
-
- lib/generators/hobo/admin_subsite/templates/application.dryml
|
125
178
|
- lib/generators/hobo/admin_subsite/templates/controller.rb.erb
|
126
179
|
- lib/generators/hobo/admin_subsite/templates/users_index.dryml
|
127
|
-
- lib/generators/hobo/
|
128
|
-
- lib/generators/hobo/
|
129
|
-
- lib/generators/hobo/
|
130
|
-
- lib/generators/hobo/
|
131
|
-
- lib/generators/hobo/
|
132
|
-
- lib/generators/hobo/
|
133
|
-
- lib/generators/hobo/assets/templates/en_injection.yml
|
134
|
-
- lib/generators/hobo/assets/templates/guest.rb
|
180
|
+
- lib/generators/hobo/basic/basic_generator.rb
|
181
|
+
- lib/generators/hobo/basic/templates/application.css
|
182
|
+
- lib/generators/hobo/basic/templates/application.dryml.erb
|
183
|
+
- lib/generators/hobo/basic/templates/dryml-support.js
|
184
|
+
- lib/generators/hobo/basic/templates/en_injection.yml
|
185
|
+
- lib/generators/hobo/basic/templates/guest.rb
|
135
186
|
- lib/generators/hobo/controller.rb
|
136
|
-
- lib/generators/hobo/controller/USAGE
|
137
187
|
- lib/generators/hobo/controller/controller_generator.rb
|
138
188
|
- lib/generators/hobo/controller/templates/controller.rb.erb
|
139
189
|
- lib/generators/hobo/front_controller/USAGE
|
140
190
|
- lib/generators/hobo/front_controller/front_controller_generator.rb
|
141
191
|
- lib/generators/hobo/front_controller/templates/controller.rb.erb
|
142
192
|
- lib/generators/hobo/front_controller/templates/index.dryml
|
143
|
-
- lib/generators/hobo/
|
193
|
+
- lib/generators/hobo/front_controller/templates/summary.dryml
|
194
|
+
- lib/generators/hobo/hints/hints_generator.rb
|
195
|
+
- lib/generators/hobo/hints/templates/hints.rb.erb
|
196
|
+
- lib/generators/hobo/hints/templates/model_injection.rb.erb
|
144
197
|
- lib/generators/hobo/i18n/i18n_generator.rb
|
145
|
-
- lib/generators/hobo/i18n/templates/app.de.yml
|
146
198
|
- lib/generators/hobo/i18n/templates/app.en.yml
|
147
|
-
- lib/generators/hobo/i18n/templates/app.es.yml
|
148
|
-
- lib/generators/hobo/i18n/templates/app.fr.yml
|
199
|
+
- lib/generators/hobo/i18n/templates/app.es-DO.yml
|
149
200
|
- lib/generators/hobo/i18n/templates/app.it.yml
|
150
|
-
- lib/generators/hobo/i18n/templates/app.nb.yml
|
151
201
|
- lib/generators/hobo/i18n/templates/app.pt-PT.yml
|
152
|
-
- lib/generators/hobo/i18n/templates/
|
153
|
-
- lib/generators/hobo/i18n/templates/hobo.de.yml
|
202
|
+
- lib/generators/hobo/i18n/templates/default_count_injection.rb
|
154
203
|
- lib/generators/hobo/i18n/templates/hobo.en.yml
|
155
|
-
- lib/generators/hobo/i18n/templates/hobo.es.yml
|
156
|
-
- lib/generators/hobo/i18n/templates/hobo.fr.yml
|
204
|
+
- lib/generators/hobo/i18n/templates/hobo.es-DO.yml
|
157
205
|
- lib/generators/hobo/i18n/templates/hobo.it.yml
|
158
|
-
- lib/generators/hobo/i18n/templates/hobo.nb.yml
|
159
206
|
- lib/generators/hobo/i18n/templates/hobo.pt-PT.yml
|
160
|
-
- lib/generators/hobo/i18n/templates/hobo.ru.yml
|
161
207
|
- lib/generators/hobo/invite_only.rb
|
208
|
+
- lib/generators/hobo/model.rb
|
162
209
|
- lib/generators/hobo/model/USAGE
|
163
210
|
- lib/generators/hobo/model/model_generator.rb
|
164
211
|
- lib/generators/hobo/model/templates/model_injection.rb.erb
|
@@ -171,12 +218,6 @@ files:
|
|
171
218
|
- lib/generators/hobo/rapid/templates/ie7-recalc.js
|
172
219
|
- lib/generators/hobo/rapid/templates/lowpro.js
|
173
220
|
- lib/generators/hobo/rapid/templates/reset.css
|
174
|
-
- lib/generators/hobo/rapid/templates/themes/clean-sidemenu/public/images/100-ACD3E6-DBE1E5-H.png
|
175
|
-
- lib/generators/hobo/rapid/templates/themes/clean-sidemenu/public/images/100-DBE1E5-FCFEF5-H.png
|
176
|
-
- lib/generators/hobo/rapid/templates/themes/clean-sidemenu/public/images/300-3B5F87-ACD3E6-H.png
|
177
|
-
- lib/generators/hobo/rapid/templates/themes/clean-sidemenu/public/images/spinner.gif
|
178
|
-
- lib/generators/hobo/rapid/templates/themes/clean-sidemenu/public/stylesheets/clean-sidemenu.css
|
179
|
-
- lib/generators/hobo/rapid/templates/themes/clean-sidemenu/views/clean-sidemenu.dryml
|
180
221
|
- lib/generators/hobo/rapid/templates/themes/clean/public/images/101-3B5F87-ACD3E6.png
|
181
222
|
- lib/generators/hobo/rapid/templates/themes/clean/public/images/30-3E547A-242E42.png
|
182
223
|
- lib/generators/hobo/rapid/templates/themes/clean/public/images/30-DBE1E5-FCFEF5.png
|
@@ -189,7 +230,6 @@ files:
|
|
189
230
|
- lib/generators/hobo/rapid/templates/themes/clean/public/stylesheets/clean.css
|
190
231
|
- lib/generators/hobo/rapid/templates/themes/clean/public/stylesheets/rapid-ui.css
|
191
232
|
- lib/generators/hobo/rapid/templates/themes/clean/views/clean.dryml
|
192
|
-
- lib/generators/hobo/resource/USAGE
|
193
233
|
- lib/generators/hobo/resource/resource_generator.rb
|
194
234
|
- lib/generators/hobo/routes/USAGE
|
195
235
|
- lib/generators/hobo/routes/router.rb
|
@@ -198,22 +238,17 @@ files:
|
|
198
238
|
- lib/generators/hobo/setup_wizard/USAGE
|
199
239
|
- lib/generators/hobo/setup_wizard/setup_wizard_generator.rb
|
200
240
|
- lib/generators/hobo/subsite.rb
|
201
|
-
- lib/generators/hobo/subsite/USAGE
|
202
241
|
- lib/generators/hobo/subsite/subsite_generator.rb
|
203
242
|
- lib/generators/hobo/subsite/templates/application.dryml
|
204
243
|
- lib/generators/hobo/subsite/templates/controller.rb.erb
|
205
|
-
- lib/generators/hobo/subsite_taglib/USAGE
|
206
244
|
- lib/generators/hobo/subsite_taglib/subsite_taglib_generator.rb
|
207
245
|
- lib/generators/hobo/subsite_taglib/templates/taglib.dryml.erb
|
208
246
|
- lib/generators/hobo/taglib.rb
|
209
|
-
- lib/generators/hobo/test_framework/USAGE
|
210
247
|
- lib/generators/hobo/test_framework/test_framework_generator.rb
|
211
248
|
- lib/generators/hobo/test_options.rb
|
212
|
-
- lib/generators/hobo/user_controller/USAGE
|
213
249
|
- lib/generators/hobo/user_controller/templates/accept_invitation.dryml
|
214
250
|
- lib/generators/hobo/user_controller/templates/controller.rb.erb
|
215
251
|
- lib/generators/hobo/user_controller/user_controller_generator.rb
|
216
|
-
- lib/generators/hobo/user_mailer/USAGE
|
217
252
|
- lib/generators/hobo/user_mailer/templates/activation.erb
|
218
253
|
- lib/generators/hobo/user_mailer/templates/forgot_password.erb
|
219
254
|
- lib/generators/hobo/user_mailer/templates/invite.erb
|
@@ -222,33 +257,28 @@ files:
|
|
222
257
|
- lib/generators/hobo/user_model/USAGE
|
223
258
|
- lib/generators/hobo/user_model/templates/model_injection.rb.erb
|
224
259
|
- lib/generators/hobo/user_model/user_model_generator.rb
|
225
|
-
- lib/generators/hobo/user_resource/USAGE
|
226
260
|
- lib/generators/hobo/user_resource/user_resource_generator.rb
|
227
261
|
- lib/hobo.rb
|
228
262
|
- lib/hobo/controller.rb
|
229
263
|
- lib/hobo/controller/authentication_support.rb
|
230
264
|
- lib/hobo/controller/model.rb
|
231
|
-
- lib/hobo/controller/
|
265
|
+
- lib/hobo/controller/user.rb
|
232
266
|
- lib/hobo/engine.rb
|
233
267
|
- lib/hobo/extensions/action_controller/hobo_methods.rb
|
234
268
|
- lib/hobo/extensions/action_mailer/helper.rb
|
235
269
|
- lib/hobo/extensions/action_view/tag_helper.rb
|
236
|
-
- lib/hobo/extensions/action_view/translation_helper.rb
|
237
270
|
- lib/hobo/extensions/active_model/name.rb
|
238
271
|
- lib/hobo/extensions/active_model/translation.rb
|
239
|
-
- lib/hobo/extensions/active_record/
|
240
|
-
- lib/hobo/extensions/active_record/
|
241
|
-
- lib/hobo/extensions/active_record/
|
242
|
-
- lib/hobo/extensions/active_record/associations/scope.rb
|
272
|
+
- lib/hobo/extensions/active_record/association_collection.rb
|
273
|
+
- lib/hobo/extensions/active_record/association_proxy.rb
|
274
|
+
- lib/hobo/extensions/active_record/association_reflection.rb
|
243
275
|
- lib/hobo/extensions/active_record/hobo_methods.rb
|
244
276
|
- lib/hobo/extensions/active_record/permissions.rb
|
245
|
-
- lib/hobo/extensions/active_record/
|
277
|
+
- lib/hobo/extensions/active_record/scopes.rb
|
246
278
|
- lib/hobo/extensions/array.rb
|
247
279
|
- lib/hobo/extensions/enumerable.rb
|
248
|
-
- lib/hobo/extensions/i18n.rb
|
249
280
|
- lib/hobo/helper.rb
|
250
281
|
- lib/hobo/helper/translations.rb
|
251
|
-
- lib/hobo/helper/translations/normalizer.rb
|
252
282
|
- lib/hobo/model.rb
|
253
283
|
- lib/hobo/model/accessible_associations.rb
|
254
284
|
- lib/hobo/model/find_for.rb
|
@@ -264,8 +294,7 @@ files:
|
|
264
294
|
- lib/hobo/model/scopes.rb
|
265
295
|
- lib/hobo/model/scopes/apply_scopes.rb
|
266
296
|
- lib/hobo/model/scopes/automatic_scopes.rb
|
267
|
-
- lib/hobo/model/
|
268
|
-
- lib/hobo/model/view_hints.rb
|
297
|
+
- lib/hobo/model/user.rb
|
269
298
|
- lib/hobo/rapid/generators/rapid/cards.dryml.erb
|
270
299
|
- lib/hobo/rapid/generators/rapid/forms.dryml.erb
|
271
300
|
- lib/hobo/rapid/generators/rapid/pages.dryml.erb
|
@@ -283,12 +312,14 @@ files:
|
|
283
312
|
- lib/hobo/rapid/taglibs/rapid_plus.dryml
|
284
313
|
- lib/hobo/rapid/taglibs/rapid_summary.dryml
|
285
314
|
- lib/hobo/rapid/taglibs/rapid_support.dryml
|
315
|
+
- lib/hobo/rapid/taglibs/rapid_translations.dryml
|
286
316
|
- lib/hobo/rapid/taglibs/rapid_user_pages.dryml
|
287
317
|
- lib/hobo/routes.rb
|
288
318
|
- lib/hobo/undefined.rb
|
319
|
+
- lib/hobo/view_hints.rb
|
289
320
|
- test/doctest/hobo/hobo_helper.rdoctest
|
290
321
|
- test/irt/generators/admin_subsite.irt
|
291
|
-
- test/irt/generators/
|
322
|
+
- test/irt/generators/basic.irt
|
292
323
|
- test/irt/generators/controller.irt
|
293
324
|
- test/irt/generators/front_controller.irt
|
294
325
|
- test/irt/generators/helper.rb
|
@@ -331,17 +362,25 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
331
362
|
requirements:
|
332
363
|
- - ">="
|
333
364
|
- !ruby/object:Gem::Version
|
365
|
+
hash: 3
|
366
|
+
segments:
|
367
|
+
- 0
|
334
368
|
version: "0"
|
335
369
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
336
370
|
none: false
|
337
371
|
requirements:
|
338
372
|
- - ">="
|
339
373
|
- !ruby/object:Gem::Version
|
374
|
+
hash: 23
|
375
|
+
segments:
|
376
|
+
- 1
|
377
|
+
- 3
|
378
|
+
- 6
|
340
379
|
version: 1.3.6
|
341
380
|
requirements: []
|
342
381
|
|
343
382
|
rubyforge_project: hobo
|
344
|
-
rubygems_version: 1.
|
383
|
+
rubygems_version: 1.3.7
|
345
384
|
signing_key:
|
346
385
|
specification_version: 3
|
347
386
|
summary: The web app builder for Rails
|
@@ -1,25 +0,0 @@
|
|
1
|
-
Description:
|
2
|
-
|
3
|
-
Creates a subsite, a namespaced section of your application.
|
4
|
-
|
5
|
-
Controllers for the subsite are created in
|
6
|
-
app/controllers/<subsite_name>/ and views are also in their own
|
7
|
-
subdirectory. This allows you to have two different controllers
|
8
|
-
and two different sets of views for the same model.
|
9
|
-
|
10
|
-
The subsite will use app/views/taglibs/<subsite_name>_site.dryml
|
11
|
-
as well as app/views/taglibs/application.dryml. This allows you
|
12
|
-
to customize the look and feel of a portion of your site. The
|
13
|
-
remaining views of your application that are not under a subsite
|
14
|
-
load both application.dryml and front_site.dryml.
|
15
|
-
|
16
|
-
It is thus recommended that you ensure that
|
17
|
-
<subsite_name>_site.dryml and application.dryml do not repeat
|
18
|
-
code, such as the inclusion of rapid or the setting of the theme.
|
19
|
-
One easy way of ensuring this is to use the --make-front-site
|
20
|
-
option. If you have already accounted for this, use
|
21
|
-
--make-front-site=false.
|
22
|
-
|
23
|
-
The difference between hobo:admin_site and hobo:subsite is that
|
24
|
-
hobo:admin_site limits the subsite to use by administrators only.
|
25
|
-
|
@@ -1 +0,0 @@
|
|
1
|
-
<!-- Global taglib - these tags are shared across all subsites -->
|
@@ -1,18 +0,0 @@
|
|
1
|
-
module Hobo
|
2
|
-
class AssetsGenerator < Rails::Generators::Base
|
3
|
-
source_root File.expand_path('../templates', __FILE__)
|
4
|
-
|
5
|
-
def self.banner
|
6
|
-
"rails generate hobo:assets"
|
7
|
-
end
|
8
|
-
|
9
|
-
def copy_rapid_files
|
10
|
-
template 'application.dryml.erb', 'app/views/taglibs/application.dryml'
|
11
|
-
copy_file 'application.css', 'public/stylesheets/application.css'
|
12
|
-
copy_file 'dryml-support.js', 'public/javascripts/dryml-support.js'
|
13
|
-
copy_file 'dryml_taglibs_initializer.rb', 'config/initializers/dryml_taglibs.rb'
|
14
|
-
copy_file 'guest.rb', 'app/models/guest.rb'
|
15
|
-
end
|
16
|
-
|
17
|
-
end
|
18
|
-
end
|
@@ -1 +0,0 @@
|
|
1
|
-
Dryml.precompile_taglibs if File.basename($0) != "rake" && Rails.env.production?
|
@@ -1,30 +0,0 @@
|
|
1
|
-
# Hobo application translation file for German.
|
2
|
-
# Translated by Matthias Wächter (matthias@waechter.wiz.at)
|
3
|
-
|
4
|
-
# Please, add the specific models and attributes for your application.
|
5
|
-
|
6
|
-
# If you find any error, or if you have any more specific translation,
|
7
|
-
# please post it to http://hobousers.googlegroups.com. Thank you!
|
8
|
-
|
9
|
-
de:
|
10
|
-
|
11
|
-
attributes:
|
12
|
-
created_at: Erzeugt
|
13
|
-
updated_at: Geändert
|
14
|
-
|
15
|
-
activerecord:
|
16
|
-
models:
|
17
|
-
user:
|
18
|
-
one: Benutzer
|
19
|
-
other: Benutzer
|
20
|
-
attributes:
|
21
|
-
user:
|
22
|
-
name: Name
|
23
|
-
password: Passwort
|
24
|
-
current_password: Derzeitiges Passwort
|
25
|
-
password_confirmation: Passwort Bestätigt
|
26
|
-
email_address: Email-Adresse
|
27
|
-
attribute_help:
|
28
|
-
user:
|
29
|
-
email_address: Ihre e-mail-Adresse wird nie an Andere weiter gegeben
|
30
|
-
|