README.md in schemacop-2.3.0 vs README.md in schemacop-2.3.1
- old
+ new
@@ -106,11 +106,11 @@
```ruby
s = Schema.new do
type :integer
type :hash do
- req 'name' do
+ req 'present' do
type :boolean
end
end
end
```
@@ -180,11 +180,11 @@
- No limitations for even integers
The corresponding schema would look as follows:
```ruby
-Schma.new do
+Schema.new do
type :integer, if: proc { |data| data.odd? }, max: 15
type :integer
end
```
@@ -567,6 +567,6 @@
concerning their name and the structure of their README file. And special thanks
to [SubGit](http://www.subgit.com/) for their great open source licensing.
## Copyright
-Copyright (c) 2017 Sitrox. See `LICENSE` for further details.
+Copyright (c) 2019 Sitrox. See `LICENSE` for further details.