natgal-dl 1.0.1 → 1.0.2

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.
Files changed (2) hide show
  1. data/bin/natgal-dl +1 -1
  2. metadata +1 -1
data/bin/natgal-dl CHANGED
@@ -102,7 +102,7 @@ private
102
102
  end
103
103
 
104
104
  def tile_uri(x, y)
105
- key = "%02d0%04d%02d0%d" % [y, content_id, x, zoom]
105
+ key = "%02d%05d%02d%02d" % [y, content_id, x, zoom]
106
106
  obfuscated = key.gsub(/\d/){ |m| OBFUSCATOR[m.to_i] }
107
107
  TILE_URI % obfuscated
108
108
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: natgal-dl
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 1.0.1
5
+ version: 1.0.2
6
6
  platform: ruby
7
7
  authors:
8
8
  - Paul Battley