rgeoserver 0.7.1 → 0.7.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/VERSION +1 -1
- data/lib/rgeoserver/featuretype.rb +0 -14
- metadata +2 -2
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.7.
|
|
1
|
+
0.7.2
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
|
|
2
1
|
module RGeoServer
|
|
3
2
|
# A feature type is a vector based spatial resource or data set that originates from a data store.
|
|
4
3
|
# In some cases, like Shapefile, a feature type has a one-to-one relationship with its data store.
|
|
@@ -133,21 +132,9 @@ module RGeoServer
|
|
|
133
132
|
|
|
134
133
|
xml.projectionPolicy get_projection_policy_message(projection_policy) if projection_policy and new? or projection_policy_changed?
|
|
135
134
|
|
|
136
|
-
if new? # XXX: hard coded attributes
|
|
137
|
-
xml.attributes {
|
|
138
|
-
xml.attribute {
|
|
139
|
-
xml.name 'the_geom'
|
|
140
|
-
xml.minOccurs 0
|
|
141
|
-
xml.maxOccurs 1
|
|
142
|
-
xml.nillable true
|
|
143
|
-
xml.binding 'com.vividsolutions.jts.geom.Point'
|
|
144
|
-
}
|
|
145
|
-
}
|
|
146
|
-
end
|
|
147
135
|
}
|
|
148
136
|
end
|
|
149
137
|
@message = builder.doc.to_xml
|
|
150
|
-
ap({:message => @message}) if $DEBUG
|
|
151
138
|
@message
|
|
152
139
|
end
|
|
153
140
|
|
|
@@ -227,7 +214,6 @@ module RGeoServer
|
|
|
227
214
|
}
|
|
228
215
|
}
|
|
229
216
|
}.freeze
|
|
230
|
-
ap({:h => h}) if $DEBUG
|
|
231
217
|
h
|
|
232
218
|
end
|
|
233
219
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rgeoserver
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.7.
|
|
4
|
+
version: 0.7.2
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -11,7 +11,7 @@ authors:
|
|
|
11
11
|
autorequire:
|
|
12
12
|
bindir: bin
|
|
13
13
|
cert_chain: []
|
|
14
|
-
date: 2014-
|
|
14
|
+
date: 2014-10-15 00:00:00.000000000 Z
|
|
15
15
|
dependencies:
|
|
16
16
|
- !ruby/object:Gem::Dependency
|
|
17
17
|
name: activemodel
|