astromapper 1.0.14 → 1.0.15

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bd37e769365972cf1d07c0646232ef187dcb772d
4
- data.tar.gz: c278e01a9760d72532061854f09e15ce63896865
3
+ metadata.gz: aad04f9e9be6ec73c9f9c160ef53e65b9e7e3832
4
+ data.tar.gz: '08704ef32b7955d37d727cbfe1b26c67131e98f0'
5
5
  SHA512:
6
- metadata.gz: 66bb649697262d03492747f9666d869f24bf351bfdb8054630013769a351d70a66563b003ac20cc2b2342a889ae2f1e6c37abbe0ee7e2e050aa4496c9e3ca197
7
- data.tar.gz: 04fdf6754e9d6eba6fa1d42f5863ece660300b5f56896cb628a45e97bf0c08d63136e28b64d1b440bfc3ca5061c21e9d19e463ed3ea4914b713eece44a498f8c
6
+ metadata.gz: 9476ba73839ffda7f633ee785e1733da7c5add0ce91dba6ac0bf83cd7d8922706773e31dcb3ec85a347aabf24ff48ff0876385b0774ad0400a5c641e0bfe020d
7
+ data.tar.gz: 3b2e3483d7f53f922f63c627162415dad8fd96ab7f9a4f2e37116e2ebc97682b67ad334d8713f07503c012fddae82d6a3de1c3b89ba10e2b19453322821e66c7
@@ -91,7 +91,7 @@ module Astromapper
91
91
  stroke-width:1;
92
92
  }
93
93
  g.gas-giant ellipse {
94
- fill: #034;
94
+ stroke: #034;
95
95
  stroke-width: 1;
96
96
  }
97
97
  circle {
@@ -99,11 +99,6 @@ module Astromapper
99
99
  stroke: #fff;
100
100
  stroke-width: 1;
101
101
  }
102
- circle.belt {
103
- stroke: #222;
104
- belt: #fff;
105
- stroke-width: 1;
106
- }
107
102
  .lowsec {
108
103
  fill: none;
109
104
  stroke: #B90;
@@ -154,9 +149,9 @@ module Astromapper
154
149
 
155
150
  output = "<!-- Volume: #{volume.strip.gsub(/\t/,' // ')} -->\n"
156
151
  output += (size == '0') ? draw_belt(c) : draw_planet(c,uwp)
157
- output += " <text class='spaceport' x='#{c[0]}' y='#{(c[1] + @side / 2).tweak}'>#{spaceport.strip}</text>\n"
158
- output += " <text x='#{c[0].to_i}' y='#{(c[1]+(@side/1.3)).tweak}'>#{uwp.strip}</text>\n"
159
- output += " <text x='#{c[0].to_i}' y='#{(c[1]-(@side/2.1)).tweak}'>#{name.strip}</text>\n"
152
+ output += " <text class='spaceport' x='#{c[0].to_i}' y='#{(c[1] + @side / 2).tweak.to_i}'>#{spaceport.strip}</text>\n"
153
+ output += " <text x='#{c[0].to_i}' y='#{(c[1]+(@side/1.3)).tweak.to_i}'>#{uwp.strip}</text>\n"
154
+ output += " <text x='#{c[0].to_i}' y='#{(c[1]-(@side/2.1)).tweak.to_i}'>#{name.strip}</text>\n"
160
155
  unless zone == '..'
161
156
  style = zone + '_zone'
162
157
  output += " <path d='M #{(c[0] - curve/2).to_i} #{(c[1] - (curve/1.4)).to_i} a #{curve} #{curve} 0 1 0 20 0' />\n"
@@ -239,7 +234,7 @@ module Astromapper
239
234
  x = (c[0]+(@side/1.8)).tweak; y = (c[1]+(@side/3)).tweak;
240
235
  return<<-GIANT
241
236
  <g class='gas-giant'><!-- Has Gas Giant -->
242
- <ellipse cx='#{x.to_i}' cy='#{y.to_i}' rx='#{(@side/(@mark * 0.5)).tweak.to_i}' ry='#{(@side/@mark * 0.3).tweak.to_i}' />
237
+ <ellipse cx='#{x.to_i}' cy='#{y.to_i}' rx='#{(@side/(@mark * 0.5)).tweak.to_i}' ry='#{(@side/@mark * 0.3).tweak}' />
243
238
  <circle cx='#{x.to_i}' cy='#{y.to_i}' r='#{(@side/(@mark * 1.2)).tweak.to_i}' />
244
239
  </g>
245
240
  GIANT
@@ -1,3 +1,3 @@
1
1
  module Astromapper
2
- VERSION = "1.0.14"
2
+ VERSION = "1.0.15"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: astromapper
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.14
4
+ version: 1.0.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Merovex