rschema 3.0.2 → 3.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +7 -8
- data/lib/rschema/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7bd4da520ac3e5fb967d27652e353cd91bf9d3f6
|
4
|
+
data.tar.gz: d36b77ea5fd9224c85850be67c8af4eb9d1a9f11
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 18a5ca5072280a91495b6c12040097c7eed60e9722c5ef7395634a16c932568b428d20fff49f95672e3fd063cf3ef4fa4e7c6262909213eb20607940624488af
|
7
|
+
data.tar.gz: 43353ceb29e8959d554eac95e8ed8519af08ccceba308a4b8a15786f8cc5edbbd8d2af205e73ca1397a3235950a0a51380328a786a3e5408c0e57bf48285d95c
|
data/README.md
CHANGED
@@ -1,11 +1,6 @@
|
|
1
1
|
[![Build Status](https://travis-ci.org/tomdalling/rschema.svg?branch=master)](https://travis-ci.org/tomdalling/rschema)
|
2
2
|
[![Test Coverage](https://codeclimate.com/github/tomdalling/rschema/badges/coverage.svg)](https://codeclimate.com/github/tomdalling/rschema/coverage)
|
3
|
-
|
4
|
-
NOTE: These are the docs for the version 3 prerelease
|
5
|
-
=====================================================
|
6
|
-
|
7
|
-
For earlier versions, see the tags.
|
8
|
-
|
3
|
+
[![Yard Docs](http://img.shields.io/badge/yard-docs-blue.svg)](http://www.rubydoc.info/gems/rschema)
|
9
4
|
|
10
5
|
RSchema
|
11
6
|
=======
|
@@ -110,7 +105,7 @@ DSL, and `schema2` is created manually.
|
|
110
105
|
You will probably not need to create schemas manually unless you are doing
|
111
106
|
something advanced.
|
112
107
|
|
113
|
-
For a full list of DSL methods, see the API documentation for `RSchema::DSL`.
|
108
|
+
For a full list of DSL methods, see the [API documentation][] for `RSchema::DSL`.
|
114
109
|
|
115
110
|
|
116
111
|
Errors (When Validation Fails)
|
@@ -308,7 +303,7 @@ RSchema provides a few other schema types through its DSL:
|
|
308
303
|
pipeline_schema.valid?(5.1) #=> true
|
309
304
|
pipeline_schema.valid?(-24) #=> false
|
310
305
|
|
311
|
-
For a full list of built-in schema types, see the API documentation for all
|
306
|
+
For a full list of built-in schema types, see the [API documentation][] for all
|
312
307
|
classes in the `RSchema::Schemas` module.
|
313
308
|
|
314
309
|
Extending The DSL
|
@@ -524,3 +519,7 @@ correctly.
|
|
524
519
|
result.valid? #=> true
|
525
520
|
result.value #=> [1.0, 2.0]
|
526
521
|
|
522
|
+
|
523
|
+
|
524
|
+
[API documentation]: http://www.rubydoc.info/gems/rschema
|
525
|
+
|
data/lib/rschema/version.rb
CHANGED