hobo 0.9.105 → 0.9.106

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/bin/hobo CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  require 'fileutils'
4
4
  require 'pathname'
5
- require 'active_support'
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.present?
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'
@@ -33,7 +33,7 @@ module ActiveRecord
33
33
 
34
34
  # TODO: send this patch into Rails. There's no reason to load the collection just to find out it acts like an array.
35
35
  def is_a?(klass)
36
- Array.is_a?(klass)
36
+ [].is_a?(klass)
37
37
  end
38
38
 
39
39
  def member_class
@@ -16,7 +16,7 @@ class HoboError < RuntimeError; end
16
16
 
17
17
  module Hobo
18
18
 
19
- VERSION = "0.9.105"
19
+ VERSION = "0.9.106"
20
20
 
21
21
  class PermissionDeniedError < RuntimeError; end
22
22
 
@@ -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.105
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-22 00:00:00 -05:00
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.105
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.105
53
+ version: 0.9.106
54
54
  version:
55
55
  description:
56
56
  email: tom@tomlocke.com