spatial_features 1.2.8 → 1.2.9
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.
- checksums.yaml +7 -0
- data/lib/spatial_features/import/arcgis_kmz_features.rb +2 -2
- data/lib/spatial_features/version.rb +1 -1
- metadata +12 -20
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 8587f98bdfed1f6729115073db7230737abad60c
|
4
|
+
data.tar.gz: 8559ebfda494aa30f91d7417de20dfa0d8b54055
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 6b7cc30cc9d23061e92a41a131c22c46524fc5d17594b96ce97b70911bc424d9a4f5abde750c3326607a04611b5f7ef052a6b6bf1e972b91e97b7eee65e9ef37
|
7
|
+
data.tar.gz: 692f673fe044720ad66bbf07f9b0629e163e173342a2c0810ed1233d577d193d86b7da53a0e30666ca86c983f6c6930a1d89ea6e8b5ad10bb025556536a86133
|
@@ -45,8 +45,8 @@ module ArcGISKmzFeatures
|
|
45
45
|
|
46
46
|
ActiveRecord::Base.transaction do
|
47
47
|
self.features.destroy_all
|
48
|
-
|
49
|
-
self.features
|
48
|
+
new_features.each(&:save)
|
49
|
+
self.clear_association_cache # clear_association_cache so after_feature_update knows about the new features
|
50
50
|
|
51
51
|
@feature_error_messages.concat new_features.collect {|feature| "Feature #{feature.name}: #{feature.errors.full_messages.to_sentence}" if feature.errors.present? }.compact.flatten
|
52
52
|
if @feature_error_messages.present?
|
metadata
CHANGED
@@ -1,8 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spatial_features
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
5
|
-
prerelease:
|
4
|
+
version: 1.2.9
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Ryan Wallace
|
@@ -10,12 +9,11 @@ authors:
|
|
10
9
|
autorequire:
|
11
10
|
bindir: bin
|
12
11
|
cert_chain: []
|
13
|
-
date: 2015-05-
|
12
|
+
date: 2015-05-08 00:00:00.000000000 Z
|
14
13
|
dependencies:
|
15
14
|
- !ruby/object:Gem::Dependency
|
16
15
|
name: rails
|
17
16
|
requirement: !ruby/object:Gem::Requirement
|
18
|
-
none: false
|
19
17
|
requirements:
|
20
18
|
- - "~>"
|
21
19
|
- !ruby/object:Gem::Version
|
@@ -23,7 +21,6 @@ dependencies:
|
|
23
21
|
type: :runtime
|
24
22
|
prerelease: false
|
25
23
|
version_requirements: !ruby/object:Gem::Requirement
|
26
|
-
none: false
|
27
24
|
requirements:
|
28
25
|
- - "~>"
|
29
26
|
- !ruby/object:Gem::Version
|
@@ -31,7 +28,6 @@ dependencies:
|
|
31
28
|
- !ruby/object:Gem::Dependency
|
32
29
|
name: delayed_job_active_record
|
33
30
|
requirement: !ruby/object:Gem::Requirement
|
34
|
-
none: false
|
35
31
|
requirements:
|
36
32
|
- - ">="
|
37
33
|
- !ruby/object:Gem::Version
|
@@ -39,7 +35,6 @@ dependencies:
|
|
39
35
|
type: :runtime
|
40
36
|
prerelease: false
|
41
37
|
version_requirements: !ruby/object:Gem::Requirement
|
42
|
-
none: false
|
43
38
|
requirements:
|
44
39
|
- - ">="
|
45
40
|
- !ruby/object:Gem::Version
|
@@ -47,7 +42,6 @@ dependencies:
|
|
47
42
|
- !ruby/object:Gem::Dependency
|
48
43
|
name: pg
|
49
44
|
requirement: !ruby/object:Gem::Requirement
|
50
|
-
none: false
|
51
45
|
requirements:
|
52
46
|
- - ">="
|
53
47
|
- !ruby/object:Gem::Version
|
@@ -55,7 +49,6 @@ dependencies:
|
|
55
49
|
type: :development
|
56
50
|
prerelease: false
|
57
51
|
version_requirements: !ruby/object:Gem::Requirement
|
58
|
-
none: false
|
59
52
|
requirements:
|
60
53
|
- - ">="
|
61
54
|
- !ruby/object:Gem::Version
|
@@ -67,7 +60,11 @@ executables: []
|
|
67
60
|
extensions: []
|
68
61
|
extra_rdoc_files: []
|
69
62
|
files:
|
63
|
+
- MIT-LICENSE
|
64
|
+
- README.rdoc
|
65
|
+
- Rakefile
|
70
66
|
- config/initializers/register_oids.rb
|
67
|
+
- lib/spatial_features.rb
|
71
68
|
- lib/spatial_features/caching.rb
|
72
69
|
- lib/spatial_features/controller_helpers/spatial_extensions.rb
|
73
70
|
- lib/spatial_features/engine.rb
|
@@ -79,11 +76,9 @@ files:
|
|
79
76
|
- lib/spatial_features/venn_polygons.rb
|
80
77
|
- lib/spatial_features/version.rb
|
81
78
|
- lib/spatial_features/workers/arcgis_update_features_job.rb
|
82
|
-
- lib/spatial_features.rb
|
83
79
|
- lib/tasks/spatial_features_tasks.rake
|
84
|
-
-
|
85
|
-
- Rakefile
|
86
|
-
- README.rdoc
|
80
|
+
- test/dummy/README.rdoc
|
81
|
+
- test/dummy/Rakefile
|
87
82
|
- test/dummy/app/assets/javascripts/application.js
|
88
83
|
- test/dummy/app/assets/stylesheets/application.css
|
89
84
|
- test/dummy/app/controllers/application_controller.rb
|
@@ -92,6 +87,7 @@ files:
|
|
92
87
|
- test/dummy/bin/bundle
|
93
88
|
- test/dummy/bin/rails
|
94
89
|
- test/dummy/bin/rake
|
90
|
+
- test/dummy/config.ru
|
95
91
|
- test/dummy/config/application.rb
|
96
92
|
- test/dummy/config/boot.rb
|
97
93
|
- test/dummy/config/database.yml
|
@@ -110,39 +106,35 @@ files:
|
|
110
106
|
- test/dummy/config/locales/en.yml
|
111
107
|
- test/dummy/config/routes.rb
|
112
108
|
- test/dummy/config/secrets.yml
|
113
|
-
- test/dummy/config.ru
|
114
109
|
- test/dummy/public/404.html
|
115
110
|
- test/dummy/public/422.html
|
116
111
|
- test/dummy/public/500.html
|
117
112
|
- test/dummy/public/favicon.ico
|
118
|
-
- test/dummy/Rakefile
|
119
|
-
- test/dummy/README.rdoc
|
120
113
|
- test/spatial_features_test.rb
|
121
114
|
- test/test_helper.rb
|
122
115
|
homepage: https://github.com/culturecode/spatial_features
|
123
116
|
licenses:
|
124
117
|
- MIT
|
118
|
+
metadata: {}
|
125
119
|
post_install_message:
|
126
120
|
rdoc_options: []
|
127
121
|
require_paths:
|
128
122
|
- lib
|
129
123
|
required_ruby_version: !ruby/object:Gem::Requirement
|
130
|
-
none: false
|
131
124
|
requirements:
|
132
125
|
- - ">="
|
133
126
|
- !ruby/object:Gem::Version
|
134
127
|
version: '0'
|
135
128
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
136
|
-
none: false
|
137
129
|
requirements:
|
138
130
|
- - ">="
|
139
131
|
- !ruby/object:Gem::Version
|
140
132
|
version: '0'
|
141
133
|
requirements: []
|
142
134
|
rubyforge_project:
|
143
|
-
rubygems_version:
|
135
|
+
rubygems_version: 2.4.6
|
144
136
|
signing_key:
|
145
|
-
specification_version:
|
137
|
+
specification_version: 4
|
146
138
|
summary: Adds spatial methods to a model.
|
147
139
|
test_files:
|
148
140
|
- test/dummy/app/assets/javascripts/application.js
|