spatial_features 2.18.0 → 2.19.0
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 +4 -4
- data/lib/spatial_features/version.rb +1 -1
- metadata +2 -17
- data/config/initializers/chroma_serializers.rb +0 -15
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a0d49ba8050fb39cb929127a633f92bddc901d7851e5e02ac7459db8edbfe790
|
|
4
|
+
data.tar.gz: 3f0c2d8ed22051efe5e11f0735c5430d8f9a0d11c94550b2719be338531e0f1e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c6d53a0c2c448b51f9344e39be1e271f8a084ccee0e1d3aeefd0252c3d9dfb2b7afcb8ab0b6822e1485a44aecdf79f62615f59f6f169073c74fc61ce70107d32
|
|
7
|
+
data.tar.gz: 7dc96d943a8a8695d05ad246c4ffaaa166ff4be40fe10745a671ac4ae89b72ecbae810241fd1dde605d72c57989695d7cbb07a55575799dd8b65eb32d8819d61
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: spatial_features
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.
|
|
4
|
+
version: 2.19.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ryan Wallace
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2021-11-
|
|
12
|
+
date: 2021-11-25 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: rails
|
|
@@ -87,20 +87,6 @@ dependencies:
|
|
|
87
87
|
- - "~>"
|
|
88
88
|
- !ruby/object:Gem::Version
|
|
89
89
|
version: '1.6'
|
|
90
|
-
- !ruby/object:Gem::Dependency
|
|
91
|
-
name: chroma
|
|
92
|
-
requirement: !ruby/object:Gem::Requirement
|
|
93
|
-
requirements:
|
|
94
|
-
- - "~>"
|
|
95
|
-
- !ruby/object:Gem::Version
|
|
96
|
-
version: 0.1.0
|
|
97
|
-
type: :runtime
|
|
98
|
-
prerelease: false
|
|
99
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
100
|
-
requirements:
|
|
101
|
-
- - "~>"
|
|
102
|
-
- !ruby/object:Gem::Version
|
|
103
|
-
version: 0.1.0
|
|
104
90
|
- !ruby/object:Gem::Dependency
|
|
105
91
|
name: pg
|
|
106
92
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -144,7 +130,6 @@ files:
|
|
|
144
130
|
- app/models/feature.rb
|
|
145
131
|
- app/models/spatial_cache.rb
|
|
146
132
|
- app/models/spatial_proximity.rb
|
|
147
|
-
- config/initializers/chroma_serializers.rb
|
|
148
133
|
- config/initializers/mime_types.rb
|
|
149
134
|
- config/initializers/register_oids.rb
|
|
150
135
|
- lib/spatial_features.rb
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
module Chroma
|
|
2
|
-
class Color
|
|
3
|
-
module Serializers
|
|
4
|
-
# Google's Fusion Table colouring expects the alpha value in the last position, not the first
|
|
5
|
-
def to_ft_hex
|
|
6
|
-
[
|
|
7
|
-
to_2char_hex(@rgb.r),
|
|
8
|
-
to_2char_hex(@rgb.g),
|
|
9
|
-
to_2char_hex(@rgb.b),
|
|
10
|
-
to_2char_hex(alpha * 255)
|
|
11
|
-
].join('')
|
|
12
|
-
end
|
|
13
|
-
end
|
|
14
|
-
end
|
|
15
|
-
end
|