aqila-mapas 0.4.8 → 0.4.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/aqila/mapas/version.rb +1 -1
- data/lib/map/download_tiles_service.rb +2 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e406ae5357f51c1506f762aee0167b6d00709aa8b17eef21be33fccdfa74f8a6
|
4
|
+
data.tar.gz: 0a69f0ea6367605a84d281612ec036cab176eddc0f5a0d3c15574ac2d22e56b3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7678ba4d7f1f88fc9278d3b4761c4dc0fbd8b9cba8528e7eb74551b4023856e525d5897e26ee4da51e8b8dd1354f954475ee55761eb3d56d9e505967b3327f2e
|
7
|
+
data.tar.gz: 7b9fbdaddb23d20c6bae237099cec337b3a1bdd762bcda35d959505823b469fd8ad977f30e367b3a677de62c3c943985a91ccee06ef5d2e174c89ba8d23f73f1
|
data/Gemfile.lock
CHANGED
data/lib/aqila/mapas/version.rb
CHANGED
@@ -58,7 +58,8 @@ class Map::DownloadTilesService
|
|
58
58
|
file_name = "#{dir}/#{points.second}.jpg"
|
59
59
|
Rails.logger.info "Baixando tile: #{file_name}"
|
60
60
|
|
61
|
-
|
61
|
+
# file_name.match(/-/) - retorna o nome do arquivo caso tenha algum "-" no nome
|
62
|
+
return file_name if file_name.match(/-/) || valid_file?(file_name)
|
62
63
|
|
63
64
|
FileUtils.mkdir_p(dir)
|
64
65
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aqila-mapas
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- lucasferronato
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-05-
|
11
|
+
date: 2023-05-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|