schemad 1.0.3 → 1.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -0
- data/lib/schemad.rb +0 -1
- data/lib/schemad/default_types.rb +1 -0
- data/lib/schemad/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c11280c8f5037b191b4d313265c0ccb2ed009302
|
4
|
+
data.tar.gz: 8cbcf77cd846be30909701a0e1cecb307370fbe7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 228f64747f5f15fc7f9b307aa4554948d0249c0fa01775201a92c02018b5fef3ba226110fe23d41c78546861da0dab550eb03833c23270b2fbb2dd0bd7967655
|
7
|
+
data.tar.gz: 998f51721618db194450536817ad59f453c4ce89dff59995b0197b29dc3eaadb4d61b332ccfa68899e4a0fea8196c12a8f8d463b23a602fd9e579c82d41c5a69
|
data/README.md
CHANGED
@@ -275,6 +275,9 @@ On a side note, we have a number of very simple type handlers, you can see them
|
|
275
275
|
It is _also_ possible to use these however you want in your own classes, but there are far more complete and complex type handlers elsewhere. If you find these types unsatisfactory or wish to use additional types, you can easily define your own.
|
276
276
|
|
277
277
|
```ruby
|
278
|
+
require 'schemad/type_handler'
|
279
|
+
require 'schemad/abstract_handler'
|
280
|
+
|
278
281
|
class YouMomHandler < Schemad::AbstractHandler
|
279
282
|
handle :your_mom
|
280
283
|
|
data/lib/schemad.rb
CHANGED
data/lib/schemad/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: schemad
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Luke van der Hoeven
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-01-
|
11
|
+
date: 2015-01-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|