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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9b7d296c5595c172a30711b4d988c2864a0b70e1
4
- data.tar.gz: 73bb6154f331281a52680b34b34b5c1dd3c59af9
3
+ metadata.gz: f87e9c0da2b16a3cfac9b3402cc027d0f8097d28
4
+ data.tar.gz: dab918a366c0c2996fc71f8805c55902800eb29e
5
5
  SHA512:
6
- metadata.gz: 1aa0fe8b79a97c278a2bec204b6cedae8dc1ef3a992ad815db856383e0e4529ef3b613f59321d373307dae96676116c66dbed6389326340ba68f41556e81c8a6
7
- data.tar.gz: 720f8152bbbc43a04f4bfd0c47938d4cb97b532b054121988c75ff14f32aade71f41cd292fdbd64e39e348162919a8cda2ae707e7699560faedbf65c0bd3bae6
6
+ metadata.gz: 377bcb3282c21b7bd008701bba0722ae7f61c7113537cdde05caa2db5508c311bbebcf7ee99f3377665dbd97f890b515b36b5f0d23a99ba2e599c8dae3f78a3d
7
+ data.tar.gz: 4b1c1c89174e480f860c02decd77ddb120f11bb3919ba29fec85eefc4ddff219a1fe3c3a6d913a6e2e39207c2ba89b88915a909e38f0130225686d1a273e3367
@@ -36,6 +36,7 @@ class SimpleMappr
36
36
  'countries',
37
37
  'countrynames',
38
38
  'relief',
39
+ 'reliefalt',
39
40
  'reliefgrey',
40
41
  'stateprovinces',
41
42
  'stateprovnames',
@@ -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 values are #{PROJECTIONS.join(", ")}"
110
+ raise InvalidParameterValue, "Accepted projection value is one of #{PROJECTIONS.join(",")}"
111
111
  end
112
112
  end
113
113
 
@@ -1,5 +1,5 @@
1
1
  class SimpleMappr
2
- VERSION = "0.0.6"
2
+ VERSION = "0.0.7"
3
3
 
4
4
  def self.version
5
5
  VERSION
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.6
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-04 00:00:00.000000000 Z
11
+ date: 2016-08-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client