rgeoserver 0.7.9 → 0.7.10

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: c734e56f5c59d071e943b75c88a6858f9702bfa4
4
- data.tar.gz: 497738106e62ae7875c6dd6396ce395d0bf79ac8
3
+ metadata.gz: 2f2b67d93cb60edde03dc8a5d92491c0389ea5d6
4
+ data.tar.gz: c7c04d5fe100d2972a3569df7cc8920d1cedfa11
5
5
  SHA512:
6
- metadata.gz: 0db5305c827e8fe95cc4f200aa7e01445fe0460f85412996dbdc64be43361bd0b6de9bd21d8188a08a7bb886e967adaa3dab7ece2828903595f449368a8abe57
7
- data.tar.gz: 6ef916c5bdbcf137f328e6d4ad30672c2be9e0ea017af2a7347bb0dc96bc893b42f9723ce2e21d8910851f3a2f6aa662ec364ba5a8b185131e2fc9d6e3d2f303
6
+ metadata.gz: cdc3c99ceca28f9237ce12f84919bf2bcab446fa76c3a0b53bcb3aeb5858cbbf3c0c3a1a97347b5ba4481d8c24a05323b8550b93e1e23cf0dae114973f5f210d
7
+ data.tar.gz: 7ad766d7197264bc82852bfb2d1bc895cf113dee58cde3e0e53866dea402c9a86061b9e2863713b4764268da3d8b805cdc0c83a4bf8005ea648d0aaeec9bc4d1
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.7.9
1
+ 0.7.10
data/rgeoserver.gemspec CHANGED
@@ -21,7 +21,7 @@ Gem::Specification.new do |s|
21
21
  s.add_dependency 'activesupport', '~> 3.2.0'
22
22
  s.add_dependency 'confstruct', '~> 0.2.0'
23
23
  s.add_dependency 'nokogiri', '~> 1.6.0'
24
- s.add_dependency 'rest-client', '~> 1.6.0'
24
+ s.add_dependency 'rest-client', '~> 1.6'
25
25
  s.add_dependency 'rgeo', '~> 0.3.0'
26
26
  s.add_dependency 'rgeo-shapefile', '~> 0.2.0'
27
27
  s.add_dependency 'rubyzip', '~> 0.9.0'
@@ -1,11 +1,9 @@
1
1
  require 'spec_helper'
2
2
 
3
3
  describe RGeoServer::Catalog do
4
- subject {
5
- described_class.new
6
- }
7
4
  it 'responds to API' do
8
5
  %w(
6
+ config
9
7
  each_layer
10
8
  get_coverage
11
9
  get_coverage_store
@@ -29,7 +27,7 @@ describe RGeoServer::Catalog do
29
27
  set_default_workspace
30
28
  ).map(&:to_sym).each do |m|
31
29
  expect {
32
- fail "API is missing: #{m}" unless subject.respond_to?(m)
30
+ fail "API is missing: #{m}" unless described_class.public_instance_methods.include?(m)
33
31
  }.not_to raise_error
34
32
  end
35
33
  end
@@ -0,0 +1,24 @@
1
+ require 'spec_helper'
2
+
3
+ describe RGeoServer::Coverage do
4
+ it 'responds to API' do
5
+ %w(
6
+ abstract
7
+ catalog
8
+ coverage_store
9
+ enabled
10
+ keywords
11
+ metadata
12
+ metadata_links
13
+ name
14
+ route
15
+ save
16
+ title
17
+ workspace
18
+ ).map(&:to_sym).each do |m|
19
+ expect {
20
+ fail "API is missing: #{m}" unless described_class.public_instance_methods.include?(m)
21
+ }.not_to raise_error
22
+ end
23
+ end
24
+ end
@@ -0,0 +1,22 @@
1
+ require 'spec_helper'
2
+
3
+ describe RGeoServer::CoverageStore do
4
+ it 'responds to API' do
5
+ %w(
6
+ catalog
7
+ coverages
8
+ data_type
9
+ description
10
+ enabled
11
+ name
12
+ route
13
+ save
14
+ workspace
15
+ url
16
+ ).map(&:to_sym).each do |m|
17
+ expect {
18
+ fail "API is missing: #{m}" unless described_class.public_instance_methods.include?(m)
19
+ }.not_to raise_error
20
+ end
21
+ end
22
+ end
@@ -0,0 +1,26 @@
1
+ require 'spec_helper'
2
+
3
+ describe RGeoServer::DataStore do
4
+ it 'responds to API' do
5
+ %w(
6
+ catalog
7
+ connection_parameters
8
+ data_type
9
+ description
10
+ enabled
11
+ featuretypes
12
+ name
13
+ route
14
+ save
15
+ upload
16
+ upload_external
17
+ upload_file
18
+ upload_url
19
+ workspace
20
+ ).map(&:to_sym).each do |m|
21
+ expect {
22
+ fail "API is missing: #{m}" unless described_class.public_instance_methods.include?(m)
23
+ }.not_to raise_error
24
+ end
25
+ end
26
+ end
@@ -0,0 +1,31 @@
1
+ require 'spec_helper'
2
+
3
+ describe RGeoServer::FeatureType do
4
+ it 'responds to API' do
5
+ %w(
6
+ abstract
7
+ catalog
8
+ data_store
9
+ enabled
10
+ keywords
11
+ latlon_bounds
12
+ metadata
13
+ metadata_links
14
+ name
15
+ native_bounds
16
+ native_name
17
+ projection_policy
18
+ route
19
+ save
20
+ title
21
+ to_mimetype
22
+ valid_native_bounds?
23
+ valid_latlon_bounds?
24
+ workspace
25
+ ).map(&:to_sym).each do |m|
26
+ expect {
27
+ fail "API is missing: #{m}" unless described_class.public_instance_methods.include?(m)
28
+ }.not_to raise_error
29
+ end
30
+ end
31
+ end
@@ -0,0 +1,24 @@
1
+ require 'spec_helper'
2
+
3
+ describe RGeoServer::Layer do
4
+ it 'responds to API' do
5
+ %w(
6
+ alternate_styles
7
+ attribution
8
+ catalog
9
+ default_style
10
+ enabled
11
+ layer_type
12
+ metadata
13
+ name
14
+ path
15
+ queryable
16
+ route
17
+ save
18
+ ).map(&:to_sym).each do |m|
19
+ expect {
20
+ fail "API is missing: #{m}" unless described_class.public_instance_methods.include?(m)
21
+ }.not_to raise_error
22
+ end
23
+ end
24
+ end
@@ -0,0 +1,31 @@
1
+ require 'spec_helper'
2
+
3
+ describe RGeoServer do
4
+ it 'responds to API' do
5
+ %w(
6
+ catalog
7
+ ).map(&:to_sym).each do |m|
8
+ expect {
9
+ fail "API is missing: #{m}" unless described_class.respond_to?(m)
10
+ }.not_to raise_error
11
+ end
12
+ end
13
+ end
14
+
15
+ describe RGeoServer::RGeoServerError do
16
+ it 'responds to API' do
17
+ expect(described_class).to be_truthy
18
+ end
19
+ end
20
+
21
+ describe RGeoServer::GeoServerInvalidRequest do
22
+ it 'responds to API' do
23
+ expect(described_class).to be_truthy
24
+ end
25
+ end
26
+
27
+ describe RGeoServer::GeoServerArgumentError do
28
+ it 'responds to API' do
29
+ expect(described_class).to be_truthy
30
+ end
31
+ end
@@ -0,0 +1,20 @@
1
+ require 'spec_helper'
2
+
3
+ describe RGeoServer::Style do
4
+ it 'responds to API' do
5
+ %w(
6
+ catalog
7
+ enabled
8
+ filename
9
+ layers
10
+ name
11
+ route
12
+ save
13
+ sld_version
14
+ ).map(&:to_sym).each do |m|
15
+ expect {
16
+ fail "API is missing: #{m}" unless described_class.public_instance_methods.include?(m)
17
+ }.not_to raise_error
18
+ end
19
+ end
20
+ end
@@ -0,0 +1,20 @@
1
+ require 'spec_helper'
2
+
3
+ describe RGeoServer::Workspace do
4
+ it 'responds to API' do
5
+ %w(
6
+ catalog
7
+ coverage_stores
8
+ data_stores
9
+ enabled
10
+ name
11
+ route
12
+ save
13
+ wms_stores
14
+ ).map(&:to_sym).each do |m|
15
+ expect {
16
+ fail "API is missing: #{m}" unless described_class.public_instance_methods.include?(m)
17
+ }.not_to raise_error
18
+ end
19
+ end
20
+ end
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.9
4
+ version: 0.7.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Renzo Sanchez-Silva
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2015-07-02 00:00:00.000000000 Z
13
+ date: 2015-07-06 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: activemodel
@@ -74,14 +74,14 @@ dependencies:
74
74
  requirements:
75
75
  - - ~>
76
76
  - !ruby/object:Gem::Version
77
- version: 1.6.0
77
+ version: '1.6'
78
78
  type: :runtime
79
79
  prerelease: false
80
80
  version_requirements: !ruby/object:Gem::Requirement
81
81
  requirements:
82
82
  - - ~>
83
83
  - !ruby/object:Gem::Version
84
- version: 1.6.0
84
+ version: '1.6'
85
85
  - !ruby/object:Gem::Dependency
86
86
  name: rgeo
87
87
  requirement: !ruby/object:Gem::Requirement
@@ -305,6 +305,14 @@ files:
305
305
  - spec/integration/geoserver_spec.rb
306
306
  - spec/spec_helper.rb
307
307
  - spec/unit/catalog_spec.rb
308
+ - spec/unit/coverage_spec.rb
309
+ - spec/unit/coveragestore_spec.rb
310
+ - spec/unit/datastore_spec.rb
311
+ - spec/unit/featuretype_spec.rb
312
+ - spec/unit/layer_spec.rb
313
+ - spec/unit/rgeoserver_spec.rb
314
+ - spec/unit/style_spec.rb
315
+ - spec/unit/workspace_spec.rb
308
316
  - spec/utils/boundingbox_spec.rb
309
317
  - spec/utils/shapefile_info_spec.rb
310
318
  homepage: http://github.com/sul-dlss/rgeoserver
@@ -364,6 +372,14 @@ test_files:
364
372
  - spec/integration/geoserver_spec.rb
365
373
  - spec/spec_helper.rb
366
374
  - spec/unit/catalog_spec.rb
375
+ - spec/unit/coverage_spec.rb
376
+ - spec/unit/coveragestore_spec.rb
377
+ - spec/unit/datastore_spec.rb
378
+ - spec/unit/featuretype_spec.rb
379
+ - spec/unit/layer_spec.rb
380
+ - spec/unit/rgeoserver_spec.rb
381
+ - spec/unit/style_spec.rb
382
+ - spec/unit/workspace_spec.rb
367
383
  - spec/utils/boundingbox_spec.rb
368
384
  - spec/utils/shapefile_info_spec.rb
369
385
  has_rdoc: true