geojsonlint 0.1.2 → 0.1.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 +1 -1
- data/lib/geojsonlint/geojson_validator.rb +1 -1
- data/lib/geojsonlint/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: 732e9a1eabc96a9eae5cf3102869989d498a3688
|
4
|
+
data.tar.gz: bae1df4103095141e8781c1a315c5c7f27d19f71
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a42bfe907165a0658236e47d65f48babd7745d21ce88bd9fffcc88beccc2c5fea7884cca76b085979045f3a5a8e0deff6e87b0455c43e533e2430f55dc45b617
|
7
|
+
data.tar.gz: 26b176ce0c333054f86db815b1ae36e877657bf2b952e003ff56bc23b336b7767ac224286f79f7ca84c23879797cf6becea24024cc7b842bc8bcb14e66ae853b
|
data/README.md
CHANGED
@@ -4,7 +4,7 @@ class GeojsonValidator < ActiveModel::EachValidator
|
|
4
4
|
|
5
5
|
def validate_each(record, attribute, value)
|
6
6
|
unless valid_geojson?(value)
|
7
|
-
message = options[:message] || "invalid"
|
7
|
+
message = options[:message] || "is invalid"
|
8
8
|
record.errors.add(attribute, message)
|
9
9
|
end
|
10
10
|
end
|
data/lib/geojsonlint/version.rb
CHANGED