hobo 1.3.0.RC → 1.3.0.RC1

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/VERSION CHANGED
@@ -1 +1 @@
1
- 1.3.0.RC
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
@@ -0,0 +1,5 @@
1
+ Description:
2
+
3
+ This generator copies the files `application.dryml`,
4
+ `application.css`, `dryml-support.js`,
5
+ `config/initializers/dryml_taglibs.rb`, `app/models/guest.rb`.
@@ -0,0 +1,3 @@
1
+ Description:
2
+
3
+ Creates a Hobo model controller. Called from the Hobo `resource` generator.
@@ -0,0 +1,3 @@
1
+ Description:
2
+
3
+ Copies the locale files for the specified locales.
@@ -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 input:hidden, .input-many-template select:hidden, .input-many-template textarea:hidden, .input-many-template button:hidden").each(function(input) {
575
- if(!input.disabled) {
576
- input.disabled = true;
577
- input.addClassName("input_many_template_input");
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 input:enabled, .input-many-template select:enabled, .input-many-template textarea:enabled, .input-many-template button:enabled").each(function(input) {
583
- input.disabled = true;
584
- input.addClassName("input_many_template_input");
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
- @admin_subsite_name = ask("Choose a name for the admin subsite: [<enter>=admin|<custom_name>]", 'admin')
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
- @admin_subsite_name = options[:admin_subsite_name]
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
- return unless @invite_only
173
- say "Installing admin subsite..."
174
- invoke 'hobo:admin_subsite', [@admin_subsite_name],
175
- :user_resource_name => @user_resource_name,
176
- :invite_only => @invite_only
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
- :type => :boolean,
11
- :desc => "Rename application.dryml to front_site.dryml"
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.
@@ -0,0 +1,4 @@
1
+ Description:
2
+ This generator is used to generate
3
+ app/views/taglibs/<subsite_name>_site.dryml, and is used by the
4
+ subsite and admin_site generators. Do not use directly.
@@ -0,0 +1,2 @@
1
+ Description:
2
+ This generator is used by the setup_wizard generator to set up the test framework.
@@ -0,0 +1,3 @@
1
+ USAGE:
2
+ This generator is used by the user_resource generator to generate
3
+ app/controllers/users_controller.rb
@@ -0,0 +1,2 @@
1
+ Description:
2
+ This generator is used by the user_resource generator to generate user_mailer.rb.
@@ -1,12 +1,5 @@
1
1
  Description:
2
- The model generator creates stubs for a new user model.
3
2
 
4
- The generator takes a model name as its argument. The
5
- model name may be given in CamelCase or under_score and
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
@@ -0,0 +1,10 @@
1
+ Description:
2
+
3
+ This generator invokes the user_model, user_mailer and
4
+ user_controller generators. It is invoked by the setup_wizard
5
+ generator.
6
+
7
+ Usage:
8
+
9
+ rails generate hobo:user_resource [NAME=user] [options]
10
+
@@ -2,6 +2,10 @@ module ActiveRecord
2
2
 
3
3
  class Relation
4
4
  attr_accessor :origin, :origin_attribute
5
+
6
+ def member_class
7
+ @klass
8
+ end
5
9
  end
6
10
 
7
11
  module Associations
@@ -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 = self.is_a?(ActiveRecord::Relation) ? member_class : self
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
@@ -288,8 +288,6 @@ module Hobo
288
288
  end
289
289
 
290
290
  when name == "order_by"
291
- # DEPRECATED: use :order instead.
292
- Rails.logger.warn "Automatic scope :order_by has been deprecated: use :order instead."
293
291
  return true if check_only
294
292
 
295
293
  klass = @klass
@@ -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
- <my-special-date-view:>
387
- <input start-year="&1940" order="day,month,year" />
388
- </my-special-date-view:>
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
- <extend tag='input' for='date'>
392
- <old-input merge order="day,month,year" start-year="&1940" />
393
- </extend>
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
- it:
57
- activerecord:
58
- attributes:
59
- post:
60
- comments:
61
- one: "Commento"
62
- other: "Commenti"
63
- user:
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
- one: "Ruolo"
66
- other: "Ruoli"
67
- tags:
68
- your:
69
- roles:
70
- current_user:
71
- one: "Il tuo Ruolo"
72
- other: "I tuoi Ruoli"
73
- other_user:
74
- one: "Ruolo di {{name}}"
75
- other: Ruoli di {{name}}"
76
-
77
- # context is a Post instance ('your' is ignored)
78
- <human-collection-name collection="comments" count="&user.comments.count" your/>
79
- I18n.locale = :en => "Comment" or "Comments"
80
- I18n.locale = :it => "Commento" or "Commenti"
81
-
82
- # context is an User instance
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
- (output is the same as <Your key="roles" count=>"&user.roles.count"/> )
87
-
88
- <human-collection-name collection="roles" count="&user.roles.count"/>
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 "activerecord.attributes.#{model}.filter_menu.#{param\_name}.options"
181
- with fallback to "filter_menu.#{param_name}.options".
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 "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"
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
- 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" ]
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
- es:
204
- tags:
205
- filter_menu:
206
- period:
207
- no_filter: Todos Períodos
208
- options:
209
- - [ "Hoy", "today" ]
210
- - [ "Ayer", "yesterday" ]
211
-
212
- TIME_PERIODS = %w[today yesterday]
213
-
214
- <t-filter-menu param-name="period" options="&TIME_PERIODS" no-filter="All Periods"/>
215
-
216
- with I18n.locale == :es
217
- <select name="period">
218
- <option value="">Todos Períodos</option>
219
- <option value="today">Hoy</option>
220
- <option value="yesterday">Ayer</option>
221
- </select>
222
-
223
- with I18n.locale == :en (i.e no locale file)
224
- <select name="period">
225
- <option value="">All Periods</option>
226
- <option value="today">today</option>
227
- <option value="yesterday">yesterday</option>
228
- </select>
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.RC
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-10 00:00:00 -04:00
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.RC
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.RC
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.RC
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