astromapper 1.0.12 → 1.0.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/astromapper/svg.rb +1 -1
- data/lib/astromapper/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 68ccf0967c01414e3701a7f880100e769dbfab62
|
4
|
+
data.tar.gz: 7e2dc2c8a195f2149dd0140c20380b398eee54f8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 730288dc47c2f2d9a8e8a3e73e6b028f05e62028f0d519c3c5be5158ddd06cf0739fc8c826ff29304be51b172e244343c6d4e434c5760567cb4755fec3c7f072
|
7
|
+
data.tar.gz: 8a2722765a80d5f176b0d55eb24bb9789fde9d22d2ff9af3201825337f277dc6a8b294e5c97cd1084ebe643caa2b4619f964d025ea3e6751d523d3ded402856f
|
data/lib/astromapper/svg.rb
CHANGED
@@ -209,7 +209,7 @@ module Astromapper
|
|
209
209
|
output = ''
|
210
210
|
letters = ('A'..'P').to_a
|
211
211
|
5.times do |r|
|
212
|
-
h1 = ((height.floor * r) - (8*r); h2 = h1 + height - 8).to_i
|
212
|
+
h1 = ((height.floor * r) - (8*r)).to_i; h2 = (h1 + height - 8).to_i
|
213
213
|
w2 = 0
|
214
214
|
4.times do |c|
|
215
215
|
w1 = w2.to_i; w2 += (width - [-4,4,5,-4][c]).to_i
|
data/lib/astromapper/version.rb
CHANGED