hobofields 1.1.0.pre2 → 1.1.0.pre3
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/lib/hobo_fields.rb +1 -1
- data/test/hobofields_api.rdoctest +1 -1
- metadata +7 -7
data/lib/hobo_fields.rb
CHANGED
|
@@ -169,7 +169,7 @@ In your HoboFields models you can also give type information to "virtual fields"
|
|
|
169
169
|
|
|
170
170
|
## Field validations
|
|
171
171
|
|
|
172
|
-
HoboFields gives you some shorthands for declaring some common validations right in the field declaration
|
|
172
|
+
HoboFields gives you some shorthands for declaring some common validations right in the field declaration. HoboFields also supports all of the options supported by the [Rails column declaration](http://api.rubyonrails.org/classes/ActiveRecord/ConnectionAdapters/TableDefinition.html#method-i-column)
|
|
173
173
|
|
|
174
174
|
### Required fields
|
|
175
175
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: hobofields
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash: -
|
|
4
|
+
hash: -1876988186
|
|
5
5
|
prerelease: true
|
|
6
6
|
segments:
|
|
7
7
|
- 1
|
|
8
8
|
- 1
|
|
9
9
|
- 0
|
|
10
|
-
-
|
|
11
|
-
version: 1.1.0.
|
|
10
|
+
- pre3
|
|
11
|
+
version: 1.1.0.pre3
|
|
12
12
|
platform: ruby
|
|
13
13
|
authors:
|
|
14
14
|
- Tom Locke
|
|
@@ -16,7 +16,7 @@ autorequire:
|
|
|
16
16
|
bindir: bin
|
|
17
17
|
cert_chain: []
|
|
18
18
|
|
|
19
|
-
date:
|
|
19
|
+
date: 2011-01-16 00:00:00 -05:00
|
|
20
20
|
default_executable:
|
|
21
21
|
dependencies:
|
|
22
22
|
- !ruby/object:Gem::Dependency
|
|
@@ -51,13 +51,13 @@ dependencies:
|
|
|
51
51
|
requirements:
|
|
52
52
|
- - "="
|
|
53
53
|
- !ruby/object:Gem::Version
|
|
54
|
-
hash: -
|
|
54
|
+
hash: -1876988186
|
|
55
55
|
segments:
|
|
56
56
|
- 1
|
|
57
57
|
- 1
|
|
58
58
|
- 0
|
|
59
|
-
-
|
|
60
|
-
version: 1.1.0.
|
|
59
|
+
- pre3
|
|
60
|
+
version: 1.1.0.pre3
|
|
61
61
|
type: :runtime
|
|
62
62
|
version_requirements: *id002
|
|
63
63
|
description:
|