hobo 0.9.105 → 0.9.106
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/hobo +2 -2
- data/lib/active_record/association_collection.rb +1 -1
- data/lib/hobo.rb +1 -1
- data/taglibs/rapid_forms.dryml +14 -0
- metadata +4 -4
data/bin/hobo
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
require 'fileutils'
|
4
4
|
require 'pathname'
|
5
|
-
|
5
|
+
|
6
6
|
require 'rbconfig'
|
7
7
|
|
8
8
|
RUBY = File.join(Config::CONFIG['bindir'], Config::CONFIG['ruby_install_name']).sub(/.*\s.*/m, '"\&"')
|
@@ -124,7 +124,7 @@ Dir.chdir(app_path) do
|
|
124
124
|
end
|
125
125
|
end
|
126
126
|
|
127
|
-
if invite_only.
|
127
|
+
if !invite_only.empty?
|
128
128
|
puts %(
|
129
129
|
Invite-only website
|
130
130
|
If you wish to prevent all access to the site to non-members, add 'before_filter :login_required'
|
data/lib/hobo.rb
CHANGED
data/taglibs/rapid_forms.dryml
CHANGED
@@ -115,6 +115,20 @@ AJAX based submission can be enabled by simply adding an `update` attribute. e.g
|
|
115
115
|
|
116
116
|
### Attributes
|
117
117
|
|
118
|
+
- [all AJAX attributes](/api_taglibs/rapid_forms)
|
119
|
+
|
120
|
+
- action: the controller action. Default is create or update as appropriate
|
121
|
+
|
122
|
+
- method: PUT or POST
|
123
|
+
|
124
|
+
- web-method
|
125
|
+
|
126
|
+
- lifecycle
|
127
|
+
|
128
|
+
- owner
|
129
|
+
|
130
|
+
- multipart: if set, the encoding is set to multipart/form-data. The default is x-www-form-urlencoded
|
131
|
+
|
118
132
|
- reset-form: Clear the form after submission (only makes sense for ajax forms)
|
119
133
|
|
120
134
|
- refocus-form: Refocus the first form-field after submission (only makes sense for ajax forms)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hobo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.106
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tom Locke
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2010-01-
|
12
|
+
date: 2010-01-26 00:00:00 -05:00
|
13
13
|
default_executable: hobo
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -40,7 +40,7 @@ dependencies:
|
|
40
40
|
requirements:
|
41
41
|
- - "="
|
42
42
|
- !ruby/object:Gem::Version
|
43
|
-
version: 0.9.
|
43
|
+
version: 0.9.106
|
44
44
|
version:
|
45
45
|
- !ruby/object:Gem::Dependency
|
46
46
|
name: hobofields
|
@@ -50,7 +50,7 @@ dependencies:
|
|
50
50
|
requirements:
|
51
51
|
- - "="
|
52
52
|
- !ruby/object:Gem::Version
|
53
|
-
version: 0.9.
|
53
|
+
version: 0.9.106
|
54
54
|
version:
|
55
55
|
description:
|
56
56
|
email: tom@tomlocke.com
|