simple-mappr 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/simple-mappr/constants.rb +1 -0
- data/lib/simple-mappr/validator.rb +2 -2
- data/lib/simple-mappr/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: f87e9c0da2b16a3cfac9b3402cc027d0f8097d28
|
4
|
+
data.tar.gz: dab918a366c0c2996fc71f8805c55902800eb29e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 377bcb3282c21b7bd008701bba0722ae7f61c7113537cdde05caa2db5508c311bbebcf7ee99f3377665dbd97f890b515b36b5f0d23a99ba2e599c8dae3f78a3d
|
7
|
+
data.tar.gz: 4b1c1c89174e480f860c02decd77ddb120f11bb3919ba29fec85eefc4ddff219a1fe3c3a6d913a6e2e39207c2ba89b88915a909e38f0130225686d1a273e3367
|
@@ -101,13 +101,13 @@ class SimpleMappr
|
|
101
101
|
def self.validate_layers(data)
|
102
102
|
validate_type(data, 'String')
|
103
103
|
if !(data.split(",") - LAYERS).empty?
|
104
|
-
raise InvalidParameterValue, "Accepted layers are combinations of #{LAYERS.join(",
|
104
|
+
raise InvalidParameterValue, "Accepted layers are combinations of #{LAYERS.join(",")}"
|
105
105
|
end
|
106
106
|
end
|
107
107
|
|
108
108
|
def self.validate_projection(data)
|
109
109
|
if !PROJECTIONS.include?(data)
|
110
|
-
raise InvalidParameterValue, "Accepted projection
|
110
|
+
raise InvalidParameterValue, "Accepted projection value is one of #{PROJECTIONS.join(",")}"
|
111
111
|
end
|
112
112
|
end
|
113
113
|
|
data/lib/simple-mappr/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: simple-mappr
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David P. Shorthouse
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-08-
|
11
|
+
date: 2016-08-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rest-client
|