hobo 1.3.0.RC → 1.3.0.RC1
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/generators/hobo/admin_subsite/USAGE +25 -0
- data/lib/generators/hobo/admin_subsite/admin_subsite_generator.rb +2 -1
- data/lib/generators/hobo/assets/USAGE +5 -0
- data/lib/generators/hobo/controller/USAGE +3 -0
- data/lib/generators/hobo/i18n/USAGE +3 -0
- data/lib/generators/hobo/rapid/templates/hobo-rapid.js +12 -8
- data/lib/generators/hobo/resource/USAGE +39 -0
- data/lib/generators/hobo/setup_wizard/setup_wizard_generator.rb +21 -8
- data/lib/generators/hobo/subsite.rb +13 -2
- data/lib/generators/hobo/subsite/USAGE +24 -0
- data/lib/generators/hobo/subsite_taglib/USAGE +4 -0
- data/lib/generators/hobo/test_framework/USAGE +2 -0
- data/lib/generators/hobo/user_controller/USAGE +3 -0
- data/lib/generators/hobo/user_mailer/USAGE +2 -0
- data/lib/generators/hobo/user_model/USAGE +2 -9
- data/lib/generators/hobo/user_resource/USAGE +10 -0
- data/lib/hobo/extensions/active_record/relation_with_origin.rb +4 -0
- data/lib/hobo/model.rb +4 -1
- data/lib/hobo/model/scopes/automatic_scopes.rb +0 -2
- data/lib/hobo/rapid/taglibs/rapid_core.dryml +1 -1
- data/lib/hobo/rapid/taglibs/rapid_forms.dryml +8 -6
- data/lib/hobo/rapid/taglibs/rapid_i18n.dryml +37 -36
- data/lib/hobo/rapid/taglibs/rapid_plus.dryml +43 -40
- metadata +16 -5
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.3.0.
|
1
|
+
1.3.0.RC1
|
@@ -0,0 +1,25 @@
|
|
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
|
+
|
@@ -5,7 +5,6 @@ module Hobo
|
|
5
5
|
# overrides the default
|
6
6
|
argument :name, :type => :string, :default => 'admin', :optional => true
|
7
7
|
|
8
|
-
include Generators::Hobo::Subsite
|
9
8
|
include Generators::Hobo::InviteOnly
|
10
9
|
include Generators::HoboSupport::EvalTemplate
|
11
10
|
|
@@ -31,5 +30,7 @@ module Hobo
|
|
31
30
|
append_file(destination) { eval_template('admin_tag_injection.erb') }
|
32
31
|
end
|
33
32
|
|
33
|
+
include Generators::Hobo::Subsite
|
34
|
+
|
34
35
|
end
|
35
36
|
end
|
@@ -571,17 +571,21 @@ HoboInputMany = {
|
|
571
571
|
|
572
572
|
initialize: function(ev) {
|
573
573
|
/* the second clause should be sufficient, but it isn't in IE7. See bug 603 */
|
574
|
-
Element.select(ev.target, ".input-many-template
|
575
|
-
|
576
|
-
input.disabled
|
577
|
-
|
578
|
-
|
574
|
+
Element.select(ev.target, ".input-many-template").each(function (templ) {
|
575
|
+
templ.select("input:hidden,select:hidden,textarea:hidden,button:hidden").each(function(input) {
|
576
|
+
if(!input.disabled) {
|
577
|
+
input.disabled = true;
|
578
|
+
input.addClassName("input_many_template_input");
|
579
|
+
}
|
580
|
+
})
|
579
581
|
});
|
580
582
|
|
581
583
|
// disable all elements inside our template, and mark them so we can find them later.
|
582
|
-
Element.select(ev.target, ".input-many-template
|
583
|
-
input.
|
584
|
-
|
584
|
+
Element.select(ev.target, ".input-many-template").each(function (templ) {
|
585
|
+
templ.select("input:enabled,select:enabled,textarea:enabled,button:enabled").each(function(input) {
|
586
|
+
input.disabled = true;
|
587
|
+
input.addClassName("input_many_template_input");
|
588
|
+
});
|
585
589
|
});
|
586
590
|
|
587
591
|
Element.select(ev.target, ".sortable-input-many").each(function(el) {
|
@@ -0,0 +1,39 @@
|
|
1
|
+
Description:
|
2
|
+
The model generator creates stubs for a new model, corresponding
|
3
|
+
controller and it's views.
|
4
|
+
|
5
|
+
The generator takes a model name as its argument. The model name
|
6
|
+
may be given in CamelCase or under_score and should not be
|
7
|
+
suffixed with anything.
|
8
|
+
|
9
|
+
As additional parameters, the generator will take attribute pairs
|
10
|
+
described by name and type. These attributes will be used to
|
11
|
+
prepopulate the migration to create the table for the model and
|
12
|
+
give you a set of predefined fixture. You don't have to think up
|
13
|
+
all attributes up front, but it's a good idea to add just the
|
14
|
+
baseline of what's needed to start really working with the
|
15
|
+
resource.
|
16
|
+
|
17
|
+
The generator creates a model class in app/models, a test suite in
|
18
|
+
test/unit and test fixtures in test/fixtures/singular_name.yml.
|
19
|
+
The generator creates a controller class in app/controllers with
|
20
|
+
view templates in app/views/controller_name, a helper class in
|
21
|
+
app/helpers, and a functional test suite in test/functional.
|
22
|
+
|
23
|
+
Examples:
|
24
|
+
rails generate hobo:resource account
|
25
|
+
|
26
|
+
This will create an Account model:
|
27
|
+
Model: app/models/account.rb
|
28
|
+
Controller: app/controllers/accounts_controller.rb
|
29
|
+
Helper: app/helpers/accounts_helper.rb
|
30
|
+
Views: app/views/accounts
|
31
|
+
Test: test/unit/account_test.rb
|
32
|
+
Test: test/functions/accounts_controller_test.rb
|
33
|
+
Fixtures: test/fixtures/accounts.yml
|
34
|
+
|
35
|
+
(files generated may vary depending on test suite & fixture configuration)
|
36
|
+
|
37
|
+
rails generate hobo:resource post title:string created_on:date body:text published:boolean
|
38
|
+
|
39
|
+
Creates post model, controller & views with predefined attributes.
|
@@ -23,9 +23,15 @@ module Hobo
|
|
23
23
|
class_option :front_controller_name, :type => :string,
|
24
24
|
:desc => "Front Controller Name", :default => 'front'
|
25
25
|
|
26
|
+
class_option :add_admin_subsite, :type => :boolean,
|
27
|
+
:desc => "Add an Admin Subsite"
|
28
|
+
|
26
29
|
class_option :admin_subsite_name, :type => :string,
|
27
30
|
:desc => "Admin Subsite Name", :default => 'admin'
|
28
31
|
|
32
|
+
class_option :make_front_site, :type => :boolean,
|
33
|
+
:desc => "Rename application.dryml to front_site.dryml", :default => 'true'
|
34
|
+
|
29
35
|
class_option :private_site, :type => :boolean,
|
30
36
|
:desc => "Make the site unaccessible to non-members"
|
31
37
|
|
@@ -154,12 +160,17 @@ EOI
|
|
154
160
|
end
|
155
161
|
|
156
162
|
def admin_subsite
|
157
|
-
return unless @invite_only
|
158
163
|
if wizard?
|
159
164
|
say_title 'Admin Subsite'
|
160
|
-
@
|
165
|
+
if @invite_only || (@add_admin_subsite = yes_no?("Do you want an admin subsite?"))
|
166
|
+
@admin_subsite_name = ask("Choose a name for the admin subsite: [<enter>=admin|<custom_name>]", 'admin')
|
167
|
+
@make_front_site = yes_no?("Do you want to use a separate front_site.dryml?")
|
168
|
+
end
|
161
169
|
else
|
162
|
-
@
|
170
|
+
if @invite_only || (@add_admin_subsite = options[:add_admin_subsite])
|
171
|
+
@admin_subsite_name = options[:admin_subsite_name]
|
172
|
+
@make_front_site = options[:make_front_site]
|
173
|
+
end
|
163
174
|
end
|
164
175
|
end
|
165
176
|
|
@@ -169,11 +180,13 @@ EOI
|
|
169
180
|
:invite_only => @invite_only,
|
170
181
|
:activation_email => @activation_email,
|
171
182
|
:admin_subsite_name => @admin_subsite_name
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
183
|
+
if @invite_only || @add_admin_subsite
|
184
|
+
say "Installing admin subsite..."
|
185
|
+
invoke 'hobo:admin_subsite', [@admin_subsite_name],
|
186
|
+
:user_resource_name => @user_resource_name,
|
187
|
+
:invite_only => @invite_only,
|
188
|
+
:make_front_site => @make_front_site
|
189
|
+
end
|
177
190
|
end
|
178
191
|
|
179
192
|
def generate_migration
|
@@ -1,4 +1,14 @@
|
|
1
1
|
require 'fileutils'
|
2
|
+
require 'thor/parser/option'
|
3
|
+
|
4
|
+
# we want the option :make_front_site required even if it is boolean
|
5
|
+
# Thor does not allow it, so we patch it
|
6
|
+
class Thor
|
7
|
+
class Option
|
8
|
+
def validate!; end
|
9
|
+
end
|
10
|
+
end
|
11
|
+
|
2
12
|
module Generators
|
3
13
|
module Hobo
|
4
14
|
Subsite = classy_module do
|
@@ -7,8 +17,9 @@ module Generators
|
|
7
17
|
include Generators::Hobo::Taglib
|
8
18
|
|
9
19
|
class_option :make_front_site,
|
10
|
-
|
11
|
-
|
20
|
+
:type => :boolean,
|
21
|
+
:required => true,
|
22
|
+
:desc => "Rename application.dryml to front_site.dryml"
|
12
23
|
|
13
24
|
# check_class_collision :suffix => 'SiteController'
|
14
25
|
|
@@ -0,0 +1,24 @@
|
|
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.
|
@@ -1,12 +1,5 @@
|
|
1
1
|
Description:
|
2
|
-
The model generator creates stubs for a new user model.
|
3
2
|
|
4
|
-
|
5
|
-
model
|
6
|
-
should not be suffixed with 'Model'.
|
3
|
+
This generator is used by the user_resource generator to generate a
|
4
|
+
user model file into app/models.
|
7
5
|
|
8
|
-
The generator creates a model class in app/models, invokes
|
9
|
-
the hobo:user_mailer andgenerator the test framework.
|
10
|
-
|
11
|
-
Examples:
|
12
|
-
$ rails generate hobo:user_model User
|
data/lib/hobo/model.rb
CHANGED
@@ -60,8 +60,11 @@ module Hobo
|
|
60
60
|
|
61
61
|
WillPaginate::Finders::Base.class_eval do
|
62
62
|
def paginate_with_hobo_metadata(*args, &block)
|
63
|
+
klass = Object.instance_method(:class).bind(self).call
|
64
|
+
is_relation = klass <= ActiveRecord::Relation
|
65
|
+
is_association_proxy = klass <= ActiveRecord::Associations::AssociationProxy
|
63
66
|
collection = paginate_without_hobo_metadata(*args, &block)
|
64
|
-
collection.member_class =
|
67
|
+
collection.member_class = (is_relation || is_association_proxy) ? member_class : self
|
65
68
|
collection.origin = try.proxy_owner
|
66
69
|
collection.origin_attribute = try.proxy_reflection._?.name
|
67
70
|
collection
|
@@ -458,7 +458,7 @@ Assuming the context is a blog post...
|
|
458
458
|
|
459
459
|
truncate = 30 if truncate == true
|
460
460
|
the_view = self.truncate(the_view, :length => truncate.to_i) if truncate
|
461
|
-
the_view = the_view.strip
|
461
|
+
the_view = the_view.html_safe? ? the_view.strip.html_safe : the_view.strip
|
462
462
|
|
463
463
|
if no_wrapper
|
464
464
|
the_view
|
@@ -383,14 +383,16 @@ The menus default to the current date if the current value is nil.
|
|
383
383
|
Examples:
|
384
384
|
|
385
385
|
- override the input for date tag in a form
|
386
|
-
|
387
|
-
|
388
|
-
|
386
|
+
|
387
|
+
<my-special-date-view:>
|
388
|
+
<input start-year="&1940" order="day,month,year" />
|
389
|
+
</my-special-date-view:>
|
389
390
|
|
390
391
|
- override the tag application-wide
|
391
|
-
|
392
|
-
<
|
393
|
-
|
392
|
+
|
393
|
+
<extend tag='input' for='date'>
|
394
|
+
<old-input merge order="day,month,year" start-year="&1940" />
|
395
|
+
</extend>
|
394
396
|
|
395
397
|
-->
|
396
398
|
<def tag="input" for="date" attrs="use-month-numbers, use-short-month, add-month-numbers, use-month-names, date-separator, start-year, end-year, discard-day, discard-month, discard-year, order, include-blank, default, disabled, prompt, prefix">
|
@@ -7,7 +7,6 @@
|
|
7
7
|
- model - (optional) should be a model class or a record object (default to this)
|
8
8
|
- count - (optional) used to pick the inflected string for the model. It should be an integer.
|
9
9
|
-->
|
10
|
-
|
11
10
|
<def tag="model-name-human" attrs="model, count"><%=
|
12
11
|
model ||= this
|
13
12
|
model = model.class unless model.kind_of? Class
|
@@ -28,7 +27,6 @@
|
|
28
27
|
- count - (optional) should be an integer
|
29
28
|
|
30
29
|
-->
|
31
|
-
|
32
30
|
<def tag="human-attribute-name" attrs="attribute, model"><%=
|
33
31
|
model ||= this
|
34
32
|
model = model.class unless model.kind_of? Class
|
@@ -53,41 +51,44 @@ With the `your` attribute and in the special case the context is a Hobo::Model::
|
|
53
51
|
### Example
|
54
52
|
|
55
53
|
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
54
|
+
it:
|
55
|
+
activerecord:
|
56
|
+
attributes:
|
57
|
+
post:
|
58
|
+
comments:
|
59
|
+
one: "Commento"
|
60
|
+
other: "Commenti"
|
61
|
+
user:
|
62
|
+
roles:
|
63
|
+
one: "Ruolo"
|
64
|
+
other: "Ruoli"
|
65
|
+
tags:
|
66
|
+
your:
|
64
67
|
roles:
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
I18n.locale = :en => "Role" or "Roles"
|
90
|
-
I18n.locale = :it => "Ruolo" or "Ruoli"
|
68
|
+
current_user:
|
69
|
+
one: "Il tuo Ruolo"
|
70
|
+
other: "I tuoi Ruoli"
|
71
|
+
other_user:
|
72
|
+
one: "Ruolo di {{name}}"
|
73
|
+
other: Ruoli di {{name}}"
|
74
|
+
|
75
|
+
context is a Post instance ('your' is ignored)
|
76
|
+
|
77
|
+
<human-collection-name collection="comments" count="&user.comments.count" your/>
|
78
|
+
I18n.locale = :en => "Comment" or "Comments"
|
79
|
+
I18n.locale = :it => "Commento" or "Commenti"
|
80
|
+
|
81
|
+
context is a User instance
|
82
|
+
|
83
|
+
<human-collection-name collection="roles' count="&user.roles.count" your/>
|
84
|
+
I18n.locale = :en => "Your Role" or "Jim's Role" or "Your Roles" or "Jim's Roles"
|
85
|
+
I18n.locale = :it => "Il tuo Ruolo" or "Il Ruolo di Jim" or "I tuoi Ruoli" or "I Ruoli di Jim"
|
86
|
+
|
87
|
+
(output is the same as `<Your key="roles" count=>"&user.roles.count"/>`)
|
88
|
+
|
89
|
+
<human-collection-name collection="roles" count="&user.roles.count"/>
|
90
|
+
I18n.locale = :en => "Role" or "Roles"
|
91
|
+
I18n.locale = :it => "Ruolo" or "Ruoli"
|
91
92
|
-->
|
92
93
|
<def tag="human-collection-name" attrs="collection, count, your"><%
|
93
94
|
raise Hobo::Error, "The 'collection' attribute must be defined" if collection.blank?
|
@@ -177,55 +177,58 @@ See [Filtering stories by status](/tutorials/agility#filtering_stories_by_status
|
|
177
177
|
|
178
178
|
### I18n
|
179
179
|
|
180
|
-
It lookups the options attributes in
|
181
|
-
with fallback to
|
180
|
+
It lookups the options attributes in `activerecord.attributes.#{model}.filter_menu.#{param\_name}.options`
|
181
|
+
with fallback to `filter_menu.#{param_name}.options`.
|
182
182
|
The passed options are used as a default in case the lookup fails.
|
183
|
-
Besides the
|
184
|
-
|
183
|
+
Besides the `activerecord.attributes.#{model}.filter_menu.#{param_name}.no_filter` or
|
184
|
+
`tags.filter_menu.default.no_filter` key is used as default of the attribute "no-filter"
|
185
185
|
(or "All" if no default is found)
|
186
186
|
|
187
187
|
### I18n Example
|
188
188
|
|
189
189
|
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
190
|
+
es:
|
191
|
+
activerecord:
|
192
|
+
attributes:
|
193
|
+
<model_name>:
|
194
|
+
filter_menu:
|
195
|
+
period:
|
196
|
+
no_filter: Todos Períodos
|
197
|
+
options:
|
198
|
+
- [ "Hoy", "today" ]
|
199
|
+
- [ "Ayer", "yesterday" ]
|
200
200
|
|
201
201
|
or
|
202
202
|
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
<
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
<
|
228
|
-
|
203
|
+
es:
|
204
|
+
tags:
|
205
|
+
filter_menu:
|
206
|
+
period:
|
207
|
+
no_filter: Todos Períodos
|
208
|
+
options:
|
209
|
+
- [ "Hoy", "today" ]
|
210
|
+
- [ "Ayer", "yesterday" ]
|
211
|
+
|
212
|
+
|
213
|
+
TIME_PERIODS = %w[today yesterday]
|
214
|
+
|
215
|
+
<t-filter-menu param-name="period" options="&TIME_PERIODS" no-filter="All Periods"/>
|
216
|
+
|
217
|
+
with I18n.locale == :es
|
218
|
+
|
219
|
+
<select name="period">
|
220
|
+
<option value="">Todos Períodos</option>
|
221
|
+
<option value="today">Hoy</option>
|
222
|
+
<option value="yesterday">Ayer</option>
|
223
|
+
</select>
|
224
|
+
|
225
|
+
with I18n.locale == :en (i.e no locale file)
|
226
|
+
|
227
|
+
<select name="period">
|
228
|
+
<option value="">All Periods</option>
|
229
|
+
<option value="today">today</option>
|
230
|
+
<option value="yesterday">yesterday</option>
|
231
|
+
</select>
|
229
232
|
|
230
233
|
-->
|
231
234
|
<def tag="filter-menu" attrs="model, param-name, options, no-filter, id, first-value">
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: hobo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease: 6
|
5
|
-
version: 1.3.0.
|
5
|
+
version: 1.3.0.RC1
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Tom Locke
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2011-05
|
13
|
+
date: 2011-07-05 00:00:00 -04:00
|
14
14
|
default_executable:
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
@@ -21,7 +21,7 @@ dependencies:
|
|
21
21
|
requirements:
|
22
22
|
- - "="
|
23
23
|
- !ruby/object:Gem::Version
|
24
|
-
version: 1.3.0.
|
24
|
+
version: 1.3.0.RC1
|
25
25
|
type: :runtime
|
26
26
|
version_requirements: *id001
|
27
27
|
- !ruby/object:Gem::Dependency
|
@@ -32,7 +32,7 @@ dependencies:
|
|
32
32
|
requirements:
|
33
33
|
- - "="
|
34
34
|
- !ruby/object:Gem::Version
|
35
|
-
version: 1.3.0.
|
35
|
+
version: 1.3.0.RC1
|
36
36
|
type: :runtime
|
37
37
|
version_requirements: *id002
|
38
38
|
- !ruby/object:Gem::Dependency
|
@@ -43,7 +43,7 @@ dependencies:
|
|
43
43
|
requirements:
|
44
44
|
- - "="
|
45
45
|
- !ruby/object:Gem::Version
|
46
|
-
version: 1.3.0.
|
46
|
+
version: 1.3.0.RC1
|
47
47
|
type: :runtime
|
48
48
|
version_requirements: *id003
|
49
49
|
- !ruby/object:Gem::Dependency
|
@@ -117,12 +117,14 @@ files:
|
|
117
117
|
- doctests/prepare_testapp.rb
|
118
118
|
- hobo.gemspec
|
119
119
|
- lib/generators/hobo/activation_email.rb
|
120
|
+
- lib/generators/hobo/admin_subsite/USAGE
|
120
121
|
- lib/generators/hobo/admin_subsite/admin_subsite_generator.rb
|
121
122
|
- lib/generators/hobo/admin_subsite/templates/admin.css
|
122
123
|
- lib/generators/hobo/admin_subsite/templates/admin_tag_injection.erb
|
123
124
|
- lib/generators/hobo/admin_subsite/templates/application.dryml
|
124
125
|
- lib/generators/hobo/admin_subsite/templates/controller.rb.erb
|
125
126
|
- lib/generators/hobo/admin_subsite/templates/users_index.dryml
|
127
|
+
- lib/generators/hobo/assets/USAGE
|
126
128
|
- lib/generators/hobo/assets/assets_generator.rb
|
127
129
|
- lib/generators/hobo/assets/templates/application.css
|
128
130
|
- lib/generators/hobo/assets/templates/application.dryml.erb
|
@@ -131,12 +133,14 @@ files:
|
|
131
133
|
- lib/generators/hobo/assets/templates/en_injection.yml
|
132
134
|
- lib/generators/hobo/assets/templates/guest.rb
|
133
135
|
- lib/generators/hobo/controller.rb
|
136
|
+
- lib/generators/hobo/controller/USAGE
|
134
137
|
- lib/generators/hobo/controller/controller_generator.rb
|
135
138
|
- lib/generators/hobo/controller/templates/controller.rb.erb
|
136
139
|
- lib/generators/hobo/front_controller/USAGE
|
137
140
|
- lib/generators/hobo/front_controller/front_controller_generator.rb
|
138
141
|
- lib/generators/hobo/front_controller/templates/controller.rb.erb
|
139
142
|
- lib/generators/hobo/front_controller/templates/index.dryml
|
143
|
+
- lib/generators/hobo/i18n/USAGE
|
140
144
|
- lib/generators/hobo/i18n/i18n_generator.rb
|
141
145
|
- lib/generators/hobo/i18n/templates/app.de.yml
|
142
146
|
- lib/generators/hobo/i18n/templates/app.en.yml
|
@@ -183,6 +187,7 @@ files:
|
|
183
187
|
- lib/generators/hobo/rapid/templates/themes/clean/public/stylesheets/clean.css
|
184
188
|
- lib/generators/hobo/rapid/templates/themes/clean/public/stylesheets/rapid-ui.css
|
185
189
|
- lib/generators/hobo/rapid/templates/themes/clean/views/clean.dryml
|
190
|
+
- lib/generators/hobo/resource/USAGE
|
186
191
|
- lib/generators/hobo/resource/resource_generator.rb
|
187
192
|
- lib/generators/hobo/routes/USAGE
|
188
193
|
- lib/generators/hobo/routes/router.rb
|
@@ -191,17 +196,22 @@ files:
|
|
191
196
|
- lib/generators/hobo/setup_wizard/USAGE
|
192
197
|
- lib/generators/hobo/setup_wizard/setup_wizard_generator.rb
|
193
198
|
- lib/generators/hobo/subsite.rb
|
199
|
+
- lib/generators/hobo/subsite/USAGE
|
194
200
|
- lib/generators/hobo/subsite/subsite_generator.rb
|
195
201
|
- lib/generators/hobo/subsite/templates/application.dryml
|
196
202
|
- lib/generators/hobo/subsite/templates/controller.rb.erb
|
203
|
+
- lib/generators/hobo/subsite_taglib/USAGE
|
197
204
|
- lib/generators/hobo/subsite_taglib/subsite_taglib_generator.rb
|
198
205
|
- lib/generators/hobo/subsite_taglib/templates/taglib.dryml.erb
|
199
206
|
- lib/generators/hobo/taglib.rb
|
207
|
+
- lib/generators/hobo/test_framework/USAGE
|
200
208
|
- lib/generators/hobo/test_framework/test_framework_generator.rb
|
201
209
|
- lib/generators/hobo/test_options.rb
|
210
|
+
- lib/generators/hobo/user_controller/USAGE
|
202
211
|
- lib/generators/hobo/user_controller/templates/accept_invitation.dryml
|
203
212
|
- lib/generators/hobo/user_controller/templates/controller.rb.erb
|
204
213
|
- lib/generators/hobo/user_controller/user_controller_generator.rb
|
214
|
+
- lib/generators/hobo/user_mailer/USAGE
|
205
215
|
- lib/generators/hobo/user_mailer/templates/activation.erb
|
206
216
|
- lib/generators/hobo/user_mailer/templates/forgot_password.erb
|
207
217
|
- lib/generators/hobo/user_mailer/templates/invite.erb
|
@@ -210,6 +220,7 @@ files:
|
|
210
220
|
- lib/generators/hobo/user_model/USAGE
|
211
221
|
- lib/generators/hobo/user_model/templates/model_injection.rb.erb
|
212
222
|
- lib/generators/hobo/user_model/user_model_generator.rb
|
223
|
+
- lib/generators/hobo/user_resource/USAGE
|
213
224
|
- lib/generators/hobo/user_resource/user_resource_generator.rb
|
214
225
|
- lib/hobo.rb
|
215
226
|
- lib/hobo/controller.rb
|