docs/URL.md in lite-validators-1.1.0 vs docs/URL.md in lite-validators-1.1.1
- old
+ new
@@ -17,12 +17,12 @@
#### Usage
```ruby
class User < ActiveRecord::Base
- validates :input_0, url: true
- validates :input_1, url: { domain: [:com, 'org'] }
- validates :input_2, url: { scheme: :https }
- validates :input_3, url: { root_only: true }
+ validates :input0, url: true
+ validates :input1, url: { domain: [:com, 'org'] }
+ validates :input2, url: { scheme: :https }
+ validates :input3, url: { root_only: true }
end
```