geo_labels 0.3.2 → 0.3.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/app/models/geo_labels/contact.rb +1 -1
- data/lib/geo_labels/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5dc60b00eeb1b554f6ee06e242c3c3a31586cdd609552a8ca91172fcb18de91f
|
4
|
+
data.tar.gz: 39bfc36d4ff1551fb0ddd93596050f2381719e579f64df0398b1025f0866510f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b39847ef962187e6f3d81cfe80bb3b71cab106aad5328ade39740aaf7f58a72bb4e296dc596ecad94633722358941971c6da62e1037f1accd7e7ac7c75f40580
|
7
|
+
data.tar.gz: 4ea54296bf0b43579cd46deb8a58528b277eca56d12846ce3e3617a37f044ede01bc9e9901b6b402fd8a75e8c59fe76bea629fde46ab714f72ae75cb1afbc8f2
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,10 @@
|
|
1
1
|
CHANGELOG of geo\_labels
|
2
2
|
============================
|
3
3
|
|
4
|
+
2023-09-07 v0.3.3
|
5
|
+
-------------------------
|
6
|
+
* OpenStreetMap gives coordinates in the url after double click. Support copy paste of that format
|
7
|
+
|
4
8
|
2023-09-07 v0.3.2
|
5
9
|
-------------------------
|
6
10
|
* Add manual Google maps copy-paste string input option for complex locations
|
@@ -98,7 +98,7 @@ module GeoLabels
|
|
98
98
|
|
99
99
|
def lat_lng=(value)
|
100
100
|
case value
|
101
|
-
when String then self.latitude, self.longitude = value.split(/,\s?/)
|
101
|
+
when String then self.latitude, self.longitude = value.sub('/', ',').split(/,\s?/)
|
102
102
|
when Array then self.latitude, self.longitude = value
|
103
103
|
end
|
104
104
|
end
|
data/lib/geo_labels/version.rb
CHANGED