wms_getcapabilities 0.1.0.5 → 0.1.0.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -21,7 +21,7 @@ module WmsGetcapabilities
21
21
  description = children.at("Abstract").text
22
22
  dimension = children.at("Dimension")
23
23
  box = children.search("BoundingBox").last
24
- bbox = [box.attr("minx"), box.attr("miny"), box.attr("maxx"), box.attr("maxy")]
24
+ bbox = {minx: box.attr("minx"), miny: box.attr("miny"), maxx: box.attr("maxx"), maxy: box.attr("maxy")}
25
25
  dimension_type = dimension ? dimension.attr("name") : nil
26
26
  dimension_values = dimension ? dimension.text : nil
27
27
 
@@ -1,3 +1,3 @@
1
1
  module WmsGetcapabilities
2
- VERSION = "0.1.0.5"
2
+ VERSION = "0.1.0.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wms_getcapabilities
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0.5
4
+ version: 0.1.0.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-10-22 00:00:00.000000000 Z
12
+ date: 2013-01-03 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: nokogiri
16
- requirement: &2152302900 !ruby/object:Gem::Requirement
16
+ requirement: &2152068280 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,7 +21,7 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *2152302900
24
+ version_requirements: *2152068280
25
25
  description: Interface between ruby and Geoserver WMS GetCapabilities
26
26
  email:
27
27
  - jchapron@dotgee.fr