hobo 1.0.3 → 1.1.0.pre0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (64) hide show
  1. data/CHANGES.txt +0 -66
  2. data/README +3 -0
  3. data/Rakefile +7 -7
  4. data/doctest/model.rdoctest +0 -2
  5. data/doctest/multi_model_forms.rdoctest +0 -2
  6. data/doctest/scopes.rdoctest +13 -21
  7. data/lib/active_record/association_collection.rb +7 -16
  8. data/lib/hobo.rb +10 -65
  9. data/lib/hobo/accessible_associations.rb +1 -5
  10. data/lib/hobo/authentication_support.rb +1 -1
  11. data/lib/hobo/controller.rb +5 -5
  12. data/lib/hobo/hobo_helper.rb +0 -84
  13. data/lib/hobo/lifecycles/lifecycle.rb +37 -31
  14. data/lib/hobo/lifecycles/transition.rb +1 -2
  15. data/lib/hobo/model.rb +13 -21
  16. data/lib/hobo/model_controller.rb +8 -8
  17. data/lib/hobo/rapid_helper.rb +12 -1
  18. data/lib/hobo/scopes/automatic_scopes.rb +26 -13
  19. data/lib/hobo/scopes/named_scope_extensions.rb +16 -28
  20. data/lib/hobo/user_controller.rb +1 -0
  21. data/lib/hobo/view_hints.rb +1 -5
  22. data/rails_generators/hobo/templates/initializer.rb +1 -1
  23. data/rails_generators/hobo_front_controller/templates/summary.dryml +4 -2
  24. data/rails_generators/hobo_model/hobo_model_generator.rb +12 -0
  25. data/rails_generators/hobo_model/templates/model.rb +9 -2
  26. data/rails_generators/hobo_rapid/templates/hobo-rapid.js +98 -23
  27. data/rails_generators/hobo_rapid/templates/themes/clean/public/stylesheets/clean.css +1 -1
  28. data/rails_generators/hobo_rapid/templates/themes/clean/public/stylesheets/rapid-ui.css +3 -1
  29. data/{dryml_generators → rapid_generators}/rapid/cards.dryml.erb +0 -0
  30. data/{dryml_generators → rapid_generators}/rapid/forms.dryml.erb +0 -0
  31. data/{dryml_generators → rapid_generators}/rapid/pages.dryml.erb +1 -1
  32. data/taglibs/rapid.dryml +2 -0
  33. data/taglibs/rapid_core.dryml +10 -9
  34. data/taglibs/rapid_forms.dryml +70 -35
  35. data/taglibs/rapid_lifecycles.dryml +17 -4
  36. data/taglibs/rapid_plus.dryml +3 -3
  37. data/taglibs/rapid_summary.dryml +11 -0
  38. data/taglibs/rapid_user_pages.dryml +39 -28
  39. data/tasks/hobo_tasks.rake +1 -1
  40. metadata +45 -61
  41. data/hobo.gemspec +0 -226
  42. data/lib/hobo/dryml.rb +0 -188
  43. data/lib/hobo/dryml/dryml_builder.rb +0 -140
  44. data/lib/hobo/dryml/dryml_doc.rb +0 -159
  45. data/lib/hobo/dryml/dryml_generator.rb +0 -263
  46. data/lib/hobo/dryml/dryml_support_controller.rb +0 -13
  47. data/lib/hobo/dryml/parser.rb +0 -3
  48. data/lib/hobo/dryml/parser/attribute.rb +0 -41
  49. data/lib/hobo/dryml/parser/base_parser.rb +0 -254
  50. data/lib/hobo/dryml/parser/document.rb +0 -57
  51. data/lib/hobo/dryml/parser/element.rb +0 -27
  52. data/lib/hobo/dryml/parser/elements.rb +0 -45
  53. data/lib/hobo/dryml/parser/source.rb +0 -58
  54. data/lib/hobo/dryml/parser/text.rb +0 -13
  55. data/lib/hobo/dryml/parser/tree_parser.rb +0 -67
  56. data/lib/hobo/dryml/part_context.rb +0 -137
  57. data/lib/hobo/dryml/scoped_variables.rb +0 -42
  58. data/lib/hobo/dryml/tag_parameters.rb +0 -36
  59. data/lib/hobo/dryml/taglib.rb +0 -123
  60. data/lib/hobo/dryml/template.rb +0 -1019
  61. data/lib/hobo/dryml/template_environment.rb +0 -613
  62. data/lib/hobo/dryml/template_handler.rb +0 -187
  63. data/lib/hobo/static_tags +0 -98
  64. data/taglibs/core.dryml +0 -104
@@ -9,6 +9,11 @@
9
9
  - `label` - the label on the button. Defaults to the name of the transition
10
10
 
11
11
  All of the [standard ajax attributes](/api_taglibs/rapid_forms) are also supported.
12
+
13
+ ### Warning
14
+
15
+ Transitions with parameters are implemented using a form. HTML does not allow forms to be nested, so a transitions with parameters should not be placed inside of a form.
16
+
12
17
  -->
13
18
  <def tag="transition-button" attrs="transition, update, label"><%=
14
19
  if transition.is_a?(String)
@@ -39,11 +44,19 @@ All of the [standard ajax attributes](/api_taglibs/rapid_forms) are also support
39
44
  <!-- Renders a div containing transition buttons for every transition available to the current user.
40
45
 
41
46
  For example, you could use this on a `Friendship` card: the person invited to have friendship would automatically see 'Accept' and 'Decline' buttons, while the person initiating the invite would see 'Retract'.
47
+
48
+ This tag behaves similarly to repeat: an else tag may be used to handle the case of no buttons:
49
+
50
+ <transition-buttons/><else>Sorry, no buttons to press.</else>
42
51
  -->
43
52
  <def tag="transition-buttons">
44
- <div merge-attrs class="transitions">
45
- <% this.lifecycle.publishable_transitions_for(current_user).each do |t| %>
46
- <transition-button transition="&t"/>
47
- <% end %>
53
+ <% ajax_attrs, html_attrs = attributes.partition_hash(Hobo::RapidHelper::AJAX_ATTRS) %>
54
+ <div merge-attrs="&html_attrs" class="transitions">
55
+ <% transitions = this.lifecycle.publishable_transitions_for(current_user) %>
56
+ <if test="&transitions">
57
+ <% transitions.each do |t| %>
58
+ <transition-button merge-attrs="&ajax_attrs" transition="&t"/>
59
+ <% end %>
60
+ </if>
48
61
  </div>
49
62
  </def>
@@ -67,7 +67,7 @@ Each item in the collection has a `<div class="ordering-handle" param="handle">`
67
67
 
68
68
  ### Controller support
69
69
 
70
- This tag assumes the controller has a `reorder` action. This action is added automatically by Hobo's model-controller if the model declares `acts_as_list`. See also [Drag and Drop Reordering](/manual/controllers#drag_and_drop_reordering) in the [Controllers and Routing](/manual/controllers) chapter of the manual.
70
+ This tag assumes the controller has a `reorder` action and the model has a `position_column` method. This action is added automatically by Hobo's model-controller if the model declares `acts_as_list`. See also [Drag and Drop Reordering](/manual/controllers#drag_and_drop_reordering) in the [Controllers and Routing](/manual/controllers) chapter of the manual.
71
71
  -->
72
72
  <def tag="sortable-collection" attrs="sortable-options"><%
73
73
  singular_name = this.member_class.name.underscore
@@ -77,11 +77,11 @@ This tag assumes the controller has a `reorder` action. This action is added aut
77
77
  %>
78
78
  <collection class="sortable" merge>
79
79
  <item: id="#{singular_name}_#{this.id}" param>
80
- <div class="ordering-handle" param="handle" if="&can_edit?">&uarr;<br/>&darr;</div>
80
+ <div class="ordering-handle" param="handle" if="&can_edit?(this.position_column)">&uarr;<br/>&darr;</div>
81
81
  <do param="default"><card param/></do>
82
82
  </item:>
83
83
  </collection>
84
- <%= if Hobo::Dryml.last_if
84
+ <%= if Dryml.last_if
85
85
  opts = { :url => reorder_url,
86
86
  :constraint => :vertical,
87
87
  :overlap => :vertical,
@@ -256,6 +256,11 @@
256
256
  <%= this.try.table_name -%>
257
257
  </def>
258
258
 
259
+ <!-- given a model, returns the table comment, if it exists and if you have the activerecord-comments plugin installed. -->
260
+ <def tag="model-table-comment">
261
+ <%= this.try.comment -%>
262
+ </def>
263
+
259
264
  <!-- given a model, repeats on the database columns -->
260
265
  <def tag="with-model-columns">
261
266
  <repeat with="&this.try.content_columns">
@@ -273,6 +278,12 @@
273
278
  <%= this.name -%>
274
279
  </def>
275
280
 
281
+ <!-- given a column in the context and the model as an attribute, returns the comment for the column. It returns the SQL comment if that is available (using the activerecord-comments plugin). If that is not available, it returns the HoboFields comment. -->
282
+
283
+ <def tag="model-column-comment" attrs="model">
284
+ <%= this.try.comment || model.try.field_specs.try.get(this.name).try.comment -%>
285
+ </def>
286
+
276
287
  <!-- given a model, repeats on the associations -->
277
288
  <def tag="with-model-associations">
278
289
  <repeat with="&this.try.reflect_on_all_associations">
@@ -5,8 +5,44 @@
5
5
  <page without-live-search without-main-nav merge>
6
6
  <account-nav: replace />
7
7
  </page>
8
- </def>
8
+ </def>
9
9
 
10
+ <!-- Simple log-in form.
11
+
12
+ ### Attributes
13
+
14
+ - `user-model`: The User class
15
+ - all other attributes are passed on to `<form>`. You will probably need to set the action attribute: `action="&user_login_path"`.
16
+ -->
17
+ <def tag="login-form" attrs="user-model">
18
+ <% user_model ||= self.try.model -%>
19
+ <form action="&request.request_uri" class="login" merge>
20
+ <labelled-item-list param>
21
+ <labelled-item>
22
+ <item-label param="login-label"><ht key="hobo.login.email"><%= user_model.login_attribute.to_s.titleize %></ht></item-label>
23
+ <item-value><input type="text" name="login" id="login" class="string" param="login-input" /></item-value>
24
+ </labelled-item>
25
+
26
+ <labelled-item>
27
+ <item-label param="password-label"><ht key="hobo.login.password">Password</ht></item-label>
28
+ <item-value>
29
+ <input type="password" name="password" id="password" class="string" param="password-input"/>
30
+ </item-value>
31
+ </labelled-item>
32
+
33
+ <labelled-item param="remember-me">
34
+ <item-label class="field-label" param="remember-me-label"><ht key="hobo.login.remember_me">Remember me:</ht></item-label>
35
+ <item-value>
36
+ <input type="checkbox" name="remember_me" id="remember-me" param="remember-me-input" checked/>
37
+ </item-value>
38
+ </labelled-item>
39
+ </labelled-item-list>
40
+ <div param="actions">
41
+ <submit label="#{ht 'hobo.actions.login', :default=>['Log in'] }" param/><if test="&signup_url" class='nav-item'>
42
+ <ht key="hobo.support.or">or</ht> <a param="signup" href="&signup_url"><ht key="hobo.login.signup">Sign up</ht></a></if>
43
+ </div>
44
+ </form>
45
+ </def>
10
46
 
11
47
  <!-- Simple log-in page -->
12
48
  <def tag="login-page">
@@ -21,32 +57,7 @@
21
57
  </header>
22
58
 
23
59
  <section param="content-body">
24
- <form action="&request.request_uri" class="login" param>
25
- <labelled-item-list param>
26
- <labelled-item>
27
- <item-label param="login-label"><ht key="hobo.login.email"><%= model.login_attribute.to_s.titleize %></ht></item-label>
28
- <item-value><input type="text" name="login" id="login" class="string" param="login-input" /></item-value>
29
- </labelled-item>
30
-
31
- <labelled-item>
32
- <item-label param="password-label"><ht key="hobo.login.password">Password</ht></item-label>
33
- <item-value>
34
- <input type="password" name="password" id="password" class="string" param="password-input"/>
35
- </item-value>
36
- </labelled-item>
37
-
38
- <labelled-item param="remember-me">
39
- <item-label class="field-label" param="remember-me-label"><ht key="hobo.login.remember_me">Remember me:</ht></item-label>
40
- <item-value>
41
- <input type="checkbox" name="remember_me" id="remember-me" param="remember-me-input" checked/>
42
- </item-value>
43
- </labelled-item>
44
- </labelled-item-list>
45
- <div param="actions">
46
- <submit label="#{ht 'hobo.actions.login', :default=>['Log in'] }" param/><if test="&signup_url" class='nav-item'>
47
- <ht key="hobo.support.or">or</ht> <a param="signup" href="&signup_url"><ht key="hobo.login.signup">Sign up</ht></a></if>
48
- </div>
49
- </form>
60
+ <login-form param="form" user-model="&model"/>
50
61
  <a href="&forgot_password_url" param="forgot-password" if="&forgot_password_url"><ht key="hobo.login.forgot_password">Forgot your password?</ht></a>
51
62
  </section>
52
63
  </content:>
@@ -54,7 +65,7 @@
54
65
  </def>
55
66
 
56
67
 
57
- <!-- The page that initiates the forgotten password process. Contians a single text-input where the user can provide
68
+ <!-- The page that initiates the forgotten password process. Contains a single text-input where the user can provide
58
69
  their email address -->
59
70
  <def tag="forgot-password-page">
60
71
  <simple-page title="#{ht 'hobo.forgot_password.title', :default=>['Forgotten Password'] }" merge>
@@ -30,7 +30,7 @@ namespace :hobo do
30
30
 
31
31
  desc "Run the DRYML generators to generate taglibs in app/views/taglibs/auto"
32
32
  task :generate_taglibs => :environment do
33
- Hobo::Dryml::DrymlGenerator.run
33
+ Dryml::DrymlGenerator.run
34
34
  end
35
35
 
36
36
  desc "Run the standard generators that the hobo command runs."
metadata CHANGED
@@ -1,13 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hobo
3
3
  version: !ruby/object:Gem::Version
4
- hash: 17
5
- prerelease:
4
+ hash: -1876988165
5
+ prerelease: true
6
6
  segments:
7
7
  - 1
8
+ - 1
8
9
  - 0
9
- - 3
10
- version: 1.0.3
10
+ - pre0
11
+ version: 1.1.0.pre0
11
12
  platform: ruby
12
13
  authors:
13
14
  - Tom Locke
@@ -15,7 +16,7 @@ autorequire:
15
16
  bindir: bin
16
17
  cert_chain: []
17
18
 
18
- date: 2011-02-25 00:00:00 -05:00
19
+ date: 2010-11-12 00:00:00 -05:00
19
20
  default_executable: hobo
20
21
  dependencies:
21
22
  - !ruby/object:Gem::Dependency
@@ -32,14 +33,6 @@ dependencies:
32
33
  - 2
33
34
  - 2
34
35
  version: 2.2.2
35
- - - <
36
- - !ruby/object:Gem::Version
37
- hash: 7
38
- segments:
39
- - 3
40
- - 0
41
- - 0
42
- version: 3.0.0
43
36
  type: :runtime
44
37
  version_requirements: *id001
45
38
  - !ruby/object:Gem::Dependency
@@ -56,12 +49,6 @@ dependencies:
56
49
  - 3
57
50
  - 11
58
51
  version: 2.3.11
59
- - - ~>
60
- - !ruby/object:Gem::Version
61
- hash: 7
62
- segments:
63
- - 2
64
- version: "2"
65
52
  type: :runtime
66
53
  version_requirements: *id002
67
54
  - !ruby/object:Gem::Dependency
@@ -72,12 +59,13 @@ dependencies:
72
59
  requirements:
73
60
  - - "="
74
61
  - !ruby/object:Gem::Version
75
- hash: 17
62
+ hash: -1876988165
76
63
  segments:
77
64
  - 1
65
+ - 1
78
66
  - 0
79
- - 3
80
- version: 1.0.3
67
+ - pre0
68
+ version: 1.1.0.pre0
81
69
  type: :runtime
82
70
  version_requirements: *id003
83
71
  - !ruby/object:Gem::Dependency
@@ -88,22 +76,40 @@ dependencies:
88
76
  requirements:
89
77
  - - "="
90
78
  - !ruby/object:Gem::Version
91
- hash: 17
79
+ hash: -1876988165
92
80
  segments:
93
81
  - 1
82
+ - 1
94
83
  - 0
95
- - 3
96
- version: 1.0.3
84
+ - pre0
85
+ version: 1.1.0.pre0
97
86
  type: :runtime
98
87
  version_requirements: *id004
88
+ - !ruby/object:Gem::Dependency
89
+ name: dryml
90
+ prerelease: false
91
+ requirement: &id005 !ruby/object:Gem::Requirement
92
+ none: false
93
+ requirements:
94
+ - - "="
95
+ - !ruby/object:Gem::Version
96
+ hash: -1876988165
97
+ segments:
98
+ - 1
99
+ - 1
100
+ - 0
101
+ - pre0
102
+ version: 1.1.0.pre0
103
+ type: :runtime
104
+ version_requirements: *id005
99
105
  description:
100
106
  email: tom@tomlocke.com
101
107
  executables:
102
108
  - hobo
103
109
  extensions: []
104
110
 
105
- extra_rdoc_files:
106
- - README
111
+ extra_rdoc_files: []
112
+
107
113
  files:
108
114
  - CHANGES.txt
109
115
  - LICENSE.txt
@@ -115,10 +121,6 @@ files:
115
121
  - doctest/model.rdoctest
116
122
  - doctest/multi_model_forms.rdoctest
117
123
  - doctest/scopes.rdoctest
118
- - dryml_generators/rapid/cards.dryml.erb
119
- - dryml_generators/rapid/forms.dryml.erb
120
- - dryml_generators/rapid/pages.dryml.erb
121
- - hobo.gemspec
122
124
  - lib/action_view_extensions/helpers/tag_helper.rb
123
125
  - lib/active_record/association_collection.rb
124
126
  - lib/active_record/association_proxy.rb
@@ -129,27 +131,6 @@ files:
129
131
  - lib/hobo/authentication_support.rb
130
132
  - lib/hobo/controller.rb
131
133
  - lib/hobo/dev_controller.rb
132
- - lib/hobo/dryml.rb
133
- - lib/hobo/dryml/dryml_builder.rb
134
- - lib/hobo/dryml/dryml_doc.rb
135
- - lib/hobo/dryml/dryml_generator.rb
136
- - lib/hobo/dryml/dryml_support_controller.rb
137
- - lib/hobo/dryml/parser.rb
138
- - lib/hobo/dryml/parser/attribute.rb
139
- - lib/hobo/dryml/parser/base_parser.rb
140
- - lib/hobo/dryml/parser/document.rb
141
- - lib/hobo/dryml/parser/element.rb
142
- - lib/hobo/dryml/parser/elements.rb
143
- - lib/hobo/dryml/parser/source.rb
144
- - lib/hobo/dryml/parser/text.rb
145
- - lib/hobo/dryml/parser/tree_parser.rb
146
- - lib/hobo/dryml/part_context.rb
147
- - lib/hobo/dryml/scoped_variables.rb
148
- - lib/hobo/dryml/tag_parameters.rb
149
- - lib/hobo/dryml/taglib.rb
150
- - lib/hobo/dryml/template.rb
151
- - lib/hobo/dryml/template_environment.rb
152
- - lib/hobo/dryml/template_handler.rb
153
134
  - lib/hobo/find_for.rb
154
135
  - lib/hobo/generator.rb
155
136
  - lib/hobo/guest.rb
@@ -172,7 +153,6 @@ files:
172
153
  - lib/hobo/scopes/association_proxy_extensions.rb
173
154
  - lib/hobo/scopes/automatic_scopes.rb
174
155
  - lib/hobo/scopes/named_scope_extensions.rb
175
- - lib/hobo/static_tags
176
156
  - lib/hobo/tasks/rails.rb
177
157
  - lib/hobo/translations.rb
178
158
  - lib/hobo/undefined.rb
@@ -258,9 +238,11 @@ files:
258
238
  - rails_generators/hobo_user_model/templates/mailer.rb
259
239
  - rails_generators/hobo_user_model/templates/model.rb
260
240
  - rails_generators/hobo_user_model/templates/unit_test.rb
241
+ - rapid_generators/rapid/cards.dryml.erb
242
+ - rapid_generators/rapid/forms.dryml.erb
243
+ - rapid_generators/rapid/pages.dryml.erb
261
244
  - script/destroy
262
245
  - script/generate
263
- - taglibs/core.dryml
264
246
  - taglibs/rapid.dryml
265
247
  - taglibs/rapid_core.dryml
266
248
  - taglibs/rapid_document_tags.dryml
@@ -288,8 +270,8 @@ homepage: http://hobocentral.net/
288
270
  licenses: []
289
271
 
290
272
  post_install_message:
291
- rdoc_options: []
292
-
273
+ rdoc_options:
274
+ - --charset=UTF-8
293
275
  require_paths:
294
276
  - lib
295
277
  required_ruby_version: !ruby/object:Gem::Requirement
@@ -304,16 +286,18 @@ required_ruby_version: !ruby/object:Gem::Requirement
304
286
  required_rubygems_version: !ruby/object:Gem::Requirement
305
287
  none: false
306
288
  requirements:
307
- - - ">="
289
+ - - ">"
308
290
  - !ruby/object:Gem::Version
309
- hash: 3
291
+ hash: 25
310
292
  segments:
311
- - 0
312
- version: "0"
293
+ - 1
294
+ - 3
295
+ - 1
296
+ version: 1.3.1
313
297
  requirements: []
314
298
 
315
299
  rubyforge_project: hobo
316
- rubygems_version: 1.4.2
300
+ rubygems_version: 1.3.7
317
301
  signing_key:
318
302
  specification_version: 3
319
303
  summary: The web app builder for Rails
@@ -1,226 +0,0 @@
1
- # Generated by jeweler
2
- # DO NOT EDIT THIS FILE DIRECTLY
3
- # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
- # -*- encoding: utf-8 -*-
5
-
6
- Gem::Specification.new do |s|
7
- s.name = %q{hobo}
8
- s.version = "1.0.3"
9
-
10
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
- s.authors = ["Tom Locke"]
12
- s.date = %q{2011-02-25}
13
- s.default_executable = %q{hobo}
14
- s.email = %q{tom@tomlocke.com}
15
- s.executables = ["hobo"]
16
- s.extra_rdoc_files = [
17
- "README"
18
- ]
19
- s.files = [
20
- "CHANGES.txt",
21
- "LICENSE.txt",
22
- "README",
23
- "Rakefile",
24
- "bin/hobo",
25
- "doctest/hobo/hobo_helper.rdoctest",
26
- "doctest/hobo/lifecycles.rdoctest",
27
- "doctest/model.rdoctest",
28
- "doctest/multi_model_forms.rdoctest",
29
- "doctest/scopes.rdoctest",
30
- "dryml_generators/rapid/cards.dryml.erb",
31
- "dryml_generators/rapid/forms.dryml.erb",
32
- "dryml_generators/rapid/pages.dryml.erb",
33
- "hobo.gemspec",
34
- "lib/action_view_extensions/helpers/tag_helper.rb",
35
- "lib/active_record/association_collection.rb",
36
- "lib/active_record/association_proxy.rb",
37
- "lib/active_record/association_reflection.rb",
38
- "lib/active_record/viewhints_validations_interceptor.rb",
39
- "lib/hobo.rb",
40
- "lib/hobo/accessible_associations.rb",
41
- "lib/hobo/authentication_support.rb",
42
- "lib/hobo/controller.rb",
43
- "lib/hobo/dev_controller.rb",
44
- "lib/hobo/dryml.rb",
45
- "lib/hobo/dryml/dryml_builder.rb",
46
- "lib/hobo/dryml/dryml_doc.rb",
47
- "lib/hobo/dryml/dryml_generator.rb",
48
- "lib/hobo/dryml/dryml_support_controller.rb",
49
- "lib/hobo/dryml/parser.rb",
50
- "lib/hobo/dryml/parser/attribute.rb",
51
- "lib/hobo/dryml/parser/base_parser.rb",
52
- "lib/hobo/dryml/parser/document.rb",
53
- "lib/hobo/dryml/parser/element.rb",
54
- "lib/hobo/dryml/parser/elements.rb",
55
- "lib/hobo/dryml/parser/source.rb",
56
- "lib/hobo/dryml/parser/text.rb",
57
- "lib/hobo/dryml/parser/tree_parser.rb",
58
- "lib/hobo/dryml/part_context.rb",
59
- "lib/hobo/dryml/scoped_variables.rb",
60
- "lib/hobo/dryml/tag_parameters.rb",
61
- "lib/hobo/dryml/taglib.rb",
62
- "lib/hobo/dryml/template.rb",
63
- "lib/hobo/dryml/template_environment.rb",
64
- "lib/hobo/dryml/template_handler.rb",
65
- "lib/hobo/find_for.rb",
66
- "lib/hobo/generator.rb",
67
- "lib/hobo/guest.rb",
68
- "lib/hobo/hobo_helper.rb",
69
- "lib/hobo/include_in_save.rb",
70
- "lib/hobo/lifecycles.rb",
71
- "lib/hobo/lifecycles/actions.rb",
72
- "lib/hobo/lifecycles/creator.rb",
73
- "lib/hobo/lifecycles/lifecycle.rb",
74
- "lib/hobo/lifecycles/state.rb",
75
- "lib/hobo/lifecycles/transition.rb",
76
- "lib/hobo/model.rb",
77
- "lib/hobo/model_controller.rb",
78
- "lib/hobo/model_router.rb",
79
- "lib/hobo/permissions.rb",
80
- "lib/hobo/permissions/associations.rb",
81
- "lib/hobo/rapid_helper.rb",
82
- "lib/hobo/scopes.rb",
83
- "lib/hobo/scopes/apply_scopes.rb",
84
- "lib/hobo/scopes/association_proxy_extensions.rb",
85
- "lib/hobo/scopes/automatic_scopes.rb",
86
- "lib/hobo/scopes/named_scope_extensions.rb",
87
- "lib/hobo/static_tags",
88
- "lib/hobo/tasks/rails.rb",
89
- "lib/hobo/translations.rb",
90
- "lib/hobo/undefined.rb",
91
- "lib/hobo/undefined_access_error.rb",
92
- "lib/hobo/user.rb",
93
- "lib/hobo/user_controller.rb",
94
- "lib/hobo/view_hints.rb",
95
- "rails/init.rb",
96
- "rails_generators/hobo/USAGE",
97
- "rails_generators/hobo/hobo_generator.rb",
98
- "rails_generators/hobo/templates/application.css",
99
- "rails_generators/hobo/templates/application.dryml",
100
- "rails_generators/hobo/templates/dryml-support.js",
101
- "rails_generators/hobo/templates/guest.rb",
102
- "rails_generators/hobo/templates/initializer.rb",
103
- "rails_generators/hobo_admin_site/USAGE",
104
- "rails_generators/hobo_admin_site/hobo_admin_site_generator.rb",
105
- "rails_generators/hobo_admin_site/templates/admin.css",
106
- "rails_generators/hobo_admin_site/templates/application.dryml",
107
- "rails_generators/hobo_admin_site/templates/controller.rb",
108
- "rails_generators/hobo_admin_site/templates/site_taglib.dryml",
109
- "rails_generators/hobo_admin_site/templates/users_index.dryml",
110
- "rails_generators/hobo_front_controller/USAGE",
111
- "rails_generators/hobo_front_controller/hobo_front_controller_generator.rb",
112
- "rails_generators/hobo_front_controller/templates/controller.rb",
113
- "rails_generators/hobo_front_controller/templates/functional_test.rb",
114
- "rails_generators/hobo_front_controller/templates/helper.rb",
115
- "rails_generators/hobo_front_controller/templates/index.dryml",
116
- "rails_generators/hobo_front_controller/templates/summary.dryml",
117
- "rails_generators/hobo_model/USAGE",
118
- "rails_generators/hobo_model/hobo_model_generator.rb",
119
- "rails_generators/hobo_model/templates/fixtures.yml",
120
- "rails_generators/hobo_model/templates/hints.rb",
121
- "rails_generators/hobo_model/templates/model.rb",
122
- "rails_generators/hobo_model/templates/unit_test.rb",
123
- "rails_generators/hobo_model_controller/USAGE",
124
- "rails_generators/hobo_model_controller/hobo_model_controller_generator.rb",
125
- "rails_generators/hobo_model_controller/templates/controller.rb",
126
- "rails_generators/hobo_model_controller/templates/functional_test.rb",
127
- "rails_generators/hobo_model_controller/templates/helper.rb",
128
- "rails_generators/hobo_model_resource/USAGE",
129
- "rails_generators/hobo_model_resource/hobo_model_resource_generator.rb",
130
- "rails_generators/hobo_model_resource/templates/controller.rb",
131
- "rails_generators/hobo_model_resource/templates/functional_test.rb",
132
- "rails_generators/hobo_model_resource/templates/helper.rb",
133
- "rails_generators/hobo_rapid/USAGE",
134
- "rails_generators/hobo_rapid/hobo_rapid_generator.rb",
135
- "rails_generators/hobo_rapid/templates/IE7.js",
136
- "rails_generators/hobo_rapid/templates/blank.gif",
137
- "rails_generators/hobo_rapid/templates/hobo-rapid.css",
138
- "rails_generators/hobo_rapid/templates/hobo-rapid.js",
139
- "rails_generators/hobo_rapid/templates/ie7-recalc.js",
140
- "rails_generators/hobo_rapid/templates/lowpro.js",
141
- "rails_generators/hobo_rapid/templates/reset.css",
142
- "rails_generators/hobo_rapid/templates/themes/clean/public/images/101-3B5F87-ACD3E6.png",
143
- "rails_generators/hobo_rapid/templates/themes/clean/public/images/30-3E547A-242E42.png",
144
- "rails_generators/hobo_rapid/templates/themes/clean/public/images/30-DBE1E5-FCFEF5.png",
145
- "rails_generators/hobo_rapid/templates/themes/clean/public/images/300-ACD3E6-fff.png",
146
- "rails_generators/hobo_rapid/templates/themes/clean/public/images/50-ACD3E6-fff.png",
147
- "rails_generators/hobo_rapid/templates/themes/clean/public/images/fieldbg.gif",
148
- "rails_generators/hobo_rapid/templates/themes/clean/public/images/pencil.png",
149
- "rails_generators/hobo_rapid/templates/themes/clean/public/images/small_close.png",
150
- "rails_generators/hobo_rapid/templates/themes/clean/public/images/spinner.gif",
151
- "rails_generators/hobo_rapid/templates/themes/clean/public/stylesheets/clean.css",
152
- "rails_generators/hobo_rapid/templates/themes/clean/public/stylesheets/rapid-ui.css",
153
- "rails_generators/hobo_rapid/templates/themes/clean/views/clean.dryml",
154
- "rails_generators/hobo_subsite/USAGE",
155
- "rails_generators/hobo_subsite/hobo_subsite_generator.rb",
156
- "rails_generators/hobo_subsite/templates/application.dryml",
157
- "rails_generators/hobo_subsite/templates/controller.rb",
158
- "rails_generators/hobo_subsite/templates/site_taglib.dryml",
159
- "rails_generators/hobo_user_controller/USAGE",
160
- "rails_generators/hobo_user_controller/hobo_user_controller_generator.rb",
161
- "rails_generators/hobo_user_controller/templates/accept_invitation.dryml",
162
- "rails_generators/hobo_user_controller/templates/controller.rb",
163
- "rails_generators/hobo_user_controller/templates/functional_test.rb",
164
- "rails_generators/hobo_user_controller/templates/helper.rb",
165
- "rails_generators/hobo_user_model/USAGE",
166
- "rails_generators/hobo_user_model/hobo_user_model_generator.rb",
167
- "rails_generators/hobo_user_model/templates/fixtures.yml",
168
- "rails_generators/hobo_user_model/templates/forgot_password.erb",
169
- "rails_generators/hobo_user_model/templates/invite.erb",
170
- "rails_generators/hobo_user_model/templates/mailer.rb",
171
- "rails_generators/hobo_user_model/templates/model.rb",
172
- "rails_generators/hobo_user_model/templates/unit_test.rb",
173
- "script/destroy",
174
- "script/generate",
175
- "taglibs/core.dryml",
176
- "taglibs/rapid.dryml",
177
- "taglibs/rapid_core.dryml",
178
- "taglibs/rapid_document_tags.dryml",
179
- "taglibs/rapid_editing.dryml",
180
- "taglibs/rapid_forms.dryml",
181
- "taglibs/rapid_generics.dryml",
182
- "taglibs/rapid_lifecycles.dryml",
183
- "taglibs/rapid_navigation.dryml",
184
- "taglibs/rapid_pages.dryml",
185
- "taglibs/rapid_plus.dryml",
186
- "taglibs/rapid_summary.dryml",
187
- "taglibs/rapid_support.dryml",
188
- "taglibs/rapid_translations.dryml",
189
- "taglibs/rapid_user_pages.dryml",
190
- "tasks/environments.rake",
191
- "tasks/hobo_tasks.rake",
192
- "test/generators/test_generator_helper.rb",
193
- "test/generators/test_helper.rb",
194
- "test/generators/test_hobo_model_controller_generator.rb",
195
- "test/permissions/models/models.rb",
196
- "test/permissions/models/schema.rb",
197
- "test/permissions/test_permissions.rb"
198
- ]
199
- s.homepage = %q{http://hobocentral.net/}
200
- s.require_paths = ["lib"]
201
- s.rubyforge_project = %q{hobo}
202
- s.rubygems_version = %q{1.4.2}
203
- s.summary = %q{The web app builder for Rails}
204
-
205
- if s.respond_to? :specification_version then
206
- s.specification_version = 3
207
-
208
- if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
209
- s.add_runtime_dependency(%q<rails>, [">= 2.2.2", "< 3.0.0"])
210
- s.add_runtime_dependency(%q<will_paginate>, [">= 2.3.11", "~> 2"])
211
- s.add_runtime_dependency(%q<hobosupport>, ["= 1.0.3"])
212
- s.add_runtime_dependency(%q<hobofields>, ["= 1.0.3"])
213
- else
214
- s.add_dependency(%q<rails>, [">= 2.2.2", "< 3.0.0"])
215
- s.add_dependency(%q<will_paginate>, [">= 2.3.11", "~> 2"])
216
- s.add_dependency(%q<hobosupport>, ["= 1.0.3"])
217
- s.add_dependency(%q<hobofields>, ["= 1.0.3"])
218
- end
219
- else
220
- s.add_dependency(%q<rails>, [">= 2.2.2", "< 3.0.0"])
221
- s.add_dependency(%q<will_paginate>, [">= 2.3.11", "~> 2"])
222
- s.add_dependency(%q<hobosupport>, ["= 1.0.3"])
223
- s.add_dependency(%q<hobofields>, ["= 1.0.3"])
224
- end
225
- end
226
-