usps_flags 0.3.21 → 0.3.22

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bf541aa71ee2a01c3724071f06efb694b3bf58e240b450104afef6382d71728f
4
- data.tar.gz: 0abc1edd339417ffcacfdc54bee9fb61ac8eceb91cb8c0c89c4a25c2f1e59d0f
3
+ metadata.gz: 00b1274e5de6b2bc905c00a08a32e9abb054d3898804b673addbaafcfb095c52
4
+ data.tar.gz: 4cef7e1109b4f56ba6532f8b3a34df5b190deff203f4526fea484fd1f53ff5f3
5
5
  SHA512:
6
- metadata.gz: db13871e83b170d494d2e9911a127c21895a93b9d22a6853d4a885a9a2f4861fa3ffad5b536272d3ad4143bd48e1d1b59d092c680060437672d56643d61c7c01
7
- data.tar.gz: 3a30b23f0c721fe6a46448b360ab5c022f7e7e4ca7a5f87e3d2d5e69d3d641c082a1966c83113ab9c2dea0be69d5f67ebaa3a3af34853f059f15a340f00cc5c6
6
+ metadata.gz: a0cf8cfeba3a8b11612218939e1886e2f46a5e18c4a761b4b081850827ac390d5be5a31479a2faadd3f039a3ac50b4a9e37232697ae447efc289fc270f752ad7
7
+ data.tar.gz: 54730b9e5517c4043c7d0746cbae1232a4e446838e95b12f4bc451db80bf15a9b17a18bc38db8f977ff665696426dc7b585c7f1d9bfba966723bd5c2f9eded66
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- usps_flags (0.3.21)
4
+ usps_flags (0.3.22)
5
5
  file_utils (~> 1.1, >= 1.1.2)
6
6
  mini_magick (~> 4.8, >= 4.8.0)
7
7
  rubyzip (~> 1.2, >= 1.2.1)
@@ -13,7 +13,7 @@ GEM
13
13
  docile (1.1.5)
14
14
  file_utils (1.1.2)
15
15
  json (2.1.0)
16
- mini_magick (4.9.2)
16
+ mini_magick (4.9.3)
17
17
  rake (12.3.0)
18
18
  rspec (3.7.0)
19
19
  rspec-core (~> 3.7.0)
data/README.md CHANGED
@@ -22,7 +22,7 @@ Create the file `config/initializers/usps_flags.rb`:
22
22
 
23
23
  ```ruby
24
24
  USPSFlags.configure do |config|
25
- config.flags_dir "#{Rails.root}/app/assets/images/flags"
25
+ config.flags_dir = "#{Rails.root}/app/assets/images/flags"
26
26
  end
27
27
  ```
28
28
 
@@ -11,12 +11,11 @@ class USPSFlags::Config
11
11
  BASE_HOIST ||= BASE_FLY*2/3
12
12
  FRACTION_SCALE ||= 85
13
13
 
14
- attr_accessor :flags_dir, :clear, :use_larger_tridents
14
+ attr_accessor :flags_dir, :clear
15
15
 
16
16
  # Configuration constructor
17
17
  #
18
18
  # @param [String] flag_dir The path to the flags directory.
19
- # @param [Boolean] use_larger_tridents Whether to use the larger trident configuration.
20
19
  # @param [Boolean] clear Whether to clear out the specified flags_dir.
21
20
  def initialize
22
21
  get_defaults
@@ -29,9 +28,9 @@ class USPSFlags::Config
29
28
  #
30
29
  # @return [Hash] RThe configuration values for tridents.
31
30
  def trident
32
- point_height = USPSFlags::Config::BASE_FLY/48*17/8
33
- bar_width = USPSFlags::Config::BASE_FLY/48
34
- bar_width = bar_width*5/4 if USPSFlags.configuration.use_larger_tridents
31
+ center_point_height = USPSFlags::Config::BASE_FLY/48*23/8
32
+ side_point_height = USPSFlags::Config::BASE_FLY/48*21/8
33
+ bar_width = USPSFlags::Config::BASE_FLY/48*5/4
35
34
  {
36
35
  height: trident_heights,
37
36
 
@@ -41,21 +40,22 @@ class USPSFlags::Config
41
40
 
42
41
  bar_width: bar_width,
43
42
 
44
- point_height: point_height,
43
+ center_point_height: center_point_height,
44
+ side_point_height: side_point_height,
45
45
 
46
- main_point_barb: USPSFlags::Config::BASE_HOIST/240,
46
+ main_point_barb: USPSFlags::Config::BASE_HOIST/82,
47
47
 
48
- crossbar_from_top: USPSFlags::Config::BASE_HOIST/4,
48
+ crossbar_from_top: USPSFlags::Config::BASE_HOIST/4 + bar_width/5,
49
49
 
50
- side_spike_height: USPSFlags::Config::BASE_HOIST/4-point_height-bar_width,
50
+ side_spike_height: USPSFlags::Config::BASE_HOIST/4-side_point_height-bar_width*3/5,
51
51
 
52
- hash_width: USPSFlags::Config::BASE_FLY*3/32,
52
+ hash_width: USPSFlags::Config::BASE_FLY*47/528,
53
53
 
54
- delta_height: USPSFlags::Config::BASE_FLY*2/15,
55
- delta_gap_height: USPSFlags.configuration.use_larger_tridents ? USPSFlags::Config::BASE_FLY*14/256 : USPSFlags::Config::BASE_FLY*17/256,
56
- delta_gap_width: USPSFlags.configuration.use_larger_tridents ? bar_width*5/4 : bar_width*7/4,
54
+ delta_height: USPSFlags::Config::BASE_FLY*33/240,
55
+ delta_gap_height: USPSFlags::Config::BASE_FLY/16,
56
+ delta_gap_width: bar_width*5/4,
57
57
  delta_width: USPSFlags::Config::BASE_FLY*43/768,
58
- delta_from_bottom: USPSFlags::Config::BASE_HOIST*11/64,
58
+ delta_from_bottom: USPSFlags::Config::BASE_HOIST*10/64,
59
59
  delta_gap_scale: 0.40,
60
60
  delta_gap_x: USPSFlags::Config::BASE_HOIST*144/128,
61
61
  delta_gap_y: USPSFlags::Config::BASE_HOIST*221/256,
@@ -48,7 +48,7 @@ class USPSFlags::Core::Trident
48
48
  @crossbar_top = @top_point + @trident_config[:crossbar_from_top]
49
49
  @hash_from_top = @trident_config[:crossbar_from_top] + (@trident_config[:bar_width] * 2)
50
50
  @circle_from_top = @trident_config[:crossbar_from_top] + @trident_config[:bar_width]*123/128 + @trident_config[:width]/2
51
- @main_length = @trident_config[:height][@type] - (@trident_config[:point_height] - @trident_config[:main_point_barb])
51
+ @main_length = @trident_config[:height][@type] - (@trident_config[:center_point_height] - @trident_config[:main_point_barb])
52
52
  end
53
53
 
54
54
  def configure_trident_segments
@@ -60,13 +60,13 @@ class USPSFlags::Core::Trident
60
60
  {
61
61
  [@trident_config[:center_point], @top_point] =>
62
62
  [
63
- [@trident_config[:bar_width], @trident_config[:point_height]],
63
+ [@trident_config[:bar_width], @trident_config[:center_point_height]],
64
64
  [-@main_spike_overhang, -@trident_config[:main_point_barb]],
65
65
  [0, @main_length],
66
66
  [-(@trident_config[:bar_width]), 0],
67
67
  [0, -@main_length],
68
68
  [-@main_spike_overhang, @trident_config[:main_point_barb]],
69
- [@trident_config[:bar_width], -@trident_config[:point_height]]
69
+ [@trident_config[:bar_width], -@trident_config[:center_point_height]]
70
70
  ]
71
71
  }
72
72
  end
@@ -87,8 +87,8 @@ class USPSFlags::Core::Trident
87
87
  {
88
88
  [(@trident_config[:center_point] - @trident_config[:width]/2), (@crossbar_top + 1)] =>
89
89
  [
90
- [0, -(@trident_config[:side_spike_height]+@trident_config[:point_height])],
91
- [(@trident_config[:bar_width]+@side_spike_overhang), @trident_config[:point_height]],
90
+ [0, -(@trident_config[:side_spike_height]+@trident_config[:side_point_height])],
91
+ [(@trident_config[:bar_width]+@side_spike_overhang), @trident_config[:side_point_height]],
92
92
  [-@side_spike_overhang, 0],
93
93
  [0, @trident_config[:side_spike_height]]
94
94
  ]
@@ -99,8 +99,8 @@ class USPSFlags::Core::Trident
99
99
  {
100
100
  [(@trident_config[:center_point] + @trident_config[:width]/2), (@crossbar_top + 1)] =>
101
101
  [
102
- [0, -(@trident_config[:side_spike_height]+@trident_config[:point_height])],
103
- [-(@trident_config[:bar_width]+@side_spike_overhang), @trident_config[:point_height]],
102
+ [0, -(@trident_config[:side_spike_height]+@trident_config[:side_point_height])],
103
+ [-(@trident_config[:bar_width]+@side_spike_overhang), @trident_config[:side_point_height]],
104
104
  [@side_spike_overhang, 0],
105
105
  [0, @trident_config[:side_spike_height]]
106
106
  ]
@@ -143,8 +143,8 @@ class USPSFlags::Core::Trident
143
143
  <rect x="0" y="0" width="#{USPSFlags::Config::BASE_FLY}" height="#{USPSFlags::Config::BASE_FLY}" fill="#FFFFFF" />
144
144
  <polyline transform="scale(#{@trident_config[:delta_gap_scale]}) translate(#{@trident_config[:delta_gap_x]},#{@trident_config[:delta_gap_y]})" fill="#000000" points="
145
145
  #{@trident_config[:center_point]}, #{@top_point + @trident_config[:height][:d] - @trident_config[:delta_from_bottom] - @trident_config[:delta_height]}
146
- #{@trident_config[:center_point] + @trident_config[:width]/2}, #{@top_point + @trident_config[:height][:d] - @trident_config[:delta_from_bottom]}
147
- #{@trident_config[:center_point] - @trident_config[:width]/2}, #{@top_point + @trident_config[:height][:d] - @trident_config[:delta_from_bottom]}
146
+ #{@trident_config[:center_point] + @trident_config[:width]/2}, #{@top_point + @trident_config[:height][:d] - @trident_config[:delta_from_bottom]*17/20}
147
+ #{@trident_config[:center_point] - @trident_config[:width]/2}, #{@top_point + @trident_config[:height][:d] - @trident_config[:delta_from_bottom]*17/20}
148
148
  #{@trident_config[:center_point]}, #{@top_point + @trident_config[:height][:d] - @trident_config[:delta_from_bottom] - @trident_config[:delta_height]}" />
149
149
  </g>
150
150
  </mask>
@@ -119,32 +119,32 @@ class USPSFlags::Core::TridentSpec
119
119
  <rect x="#{box_left}" y="#{box_top}" width="#{box_right-box_left}" height="#{USPSFlags::Config::BASE_HOIST/2}" stroke="#666666" stroke-width="#{USPSFlags::Config::BASE_FLY/600}" stroke-dasharray="15, 15" fill="none" />
120
120
 
121
121
  <!-- Right -->
122
- #{USPSFlags::Helpers::SpecArrows.vertical(box_right+@trident_config[:bar_width], box_top, box_top+@trident_config[:bar_width], box_right, box_right, fly: @fly, unit: @unit)} <!-- Side spike top gap -->
123
- #{USPSFlags::Helpers::SpecArrows.vertical(box_right+@trident_config[:bar_width], box_top+@trident_config[:bar_width], box_top+@trident_config[:bar_width]*2+@trident_config[:point_height]+@trident_config[:side_spike_height], nil, box_right, fly: @fly, unit: @unit)} <!-- Top gap to hash gap -->
124
- #{USPSFlags::Helpers::SpecArrows.vertical(box_right+@trident_config[:bar_width], box_top+@trident_config[:bar_width]*2+@trident_config[:point_height]+@trident_config[:side_spike_height], box_top+@trident_config[:bar_width]*3+@trident_config[:point_height]+@trident_config[:side_spike_height], nil, @trident_config[:center_point]+@trident_config[:hash_width]/2, fly: @fly, unit: @unit)} <!-- Crossbar to hash gap -->
122
+ #{USPSFlags::Helpers::SpecArrows.vertical(box_right+@trident_config[:bar_width], box_top, box_top+@trident_config[:bar_width]*4/5, box_right, box_right, fly: @fly, unit: @unit)} <!-- Side spike top gap -->
123
+ #{USPSFlags::Helpers::SpecArrows.vertical(box_right+@trident_config[:bar_width], box_top+@trident_config[:bar_width]*4/5, box_top+@trident_config[:bar_width]*9/10*2+@trident_config[:side_point_height]+@trident_config[:side_spike_height], nil, box_right, fly: @fly, unit: @unit)} <!-- Top gap to hash gap -->
124
+ #{USPSFlags::Helpers::SpecArrows.vertical(box_right+@trident_config[:bar_width], box_top+@trident_config[:bar_width]*18/10+@trident_config[:side_point_height]+@trident_config[:side_spike_height], box_top+@trident_config[:bar_width]*28/10+@trident_config[:side_point_height]+@trident_config[:side_spike_height], nil, @trident_config[:center_point]+@trident_config[:hash_width]/2, fly: @fly, unit: @unit)} <!-- Crossbar to hash gap -->
125
125
 
126
- #{USPSFlags::Helpers::SpecArrows.vertical(box_right+@trident_config[:bar_width], box_top+@trident_config[:bar_width]*3+@trident_config[:point_height]+@trident_config[:side_spike_height], box_top+@trident_config[:bar_width]*4+@trident_config[:point_height]+@trident_config[:side_spike_height], nil, @trident_config[:center_point]+@trident_config[:hash_width]/2, fly: @fly, unit: @unit)} <!-- Hash -->
127
- #{USPSFlags::Helpers::SpecArrows.vertical(box_right+@trident_config[:bar_width], box_top+@trident_config[:bar_width]*4+@trident_config[:point_height]+@trident_config[:side_spike_height], box_bottom, nil, box_right, fly: @fly, unit: @unit)} <!-- Hash to bottom -->
126
+ #{USPSFlags::Helpers::SpecArrows.vertical(box_right+@trident_config[:bar_width], box_top+@trident_config[:bar_width]*28/10+@trident_config[:side_point_height]+@trident_config[:side_spike_height], box_top+@trident_config[:bar_width]*38/10+@trident_config[:side_point_height]+@trident_config[:side_spike_height], nil, @trident_config[:center_point]+@trident_config[:hash_width]/2, fly: @fly, unit: @unit)} <!-- Hash -->
127
+ #{USPSFlags::Helpers::SpecArrows.vertical(box_right+@trident_config[:bar_width], box_top+@trident_config[:bar_width]*38/10+@trident_config[:side_point_height]+@trident_config[:side_spike_height], box_bottom, nil, box_right, fly: @fly, unit: @unit)} <!-- Hash to bottom -->
128
128
 
129
129
  <!-- Left -->
130
130
  #{USPSFlags::Helpers::SpecArrows.vertical(box_left-@trident_config[:bar_width]*5.25, box_top, box_bottom, box_left, box_left, fly: @fly, unit: @unit)} <!-- Boundary height -->
131
- #{USPSFlags::Helpers::SpecArrows.vertical(box_left-@trident_config[:bar_width]*0.75, box_top, box_top+@trident_config[:point_height], nil, @trident_config[:center_point]-@trident_config[:bar_width], label_offset: -USPSFlags::Config::BASE_FLY/26, label_offset_y: -USPSFlags::Config::BASE_FLY/100, label_align: "middle", fly: @fly, unit: @unit)} <!-- Main point height -->
132
- #{USPSFlags::Helpers::SpecArrows.vertical(box_left-@trident_config[:bar_width]*1.5, box_top+@trident_config[:bar_width], box_top+@trident_config[:bar_width]+@trident_config[:point_height], box_left, box_left+@trident_config[:bar_width], label_offset: -USPSFlags::Config::BASE_FLY/24, label_align: "middle", fly: @fly, unit: @unit)} <!-- Side point height -->
131
+ #{USPSFlags::Helpers::SpecArrows.vertical(box_left-@trident_config[:bar_width]*0.75, box_top, box_top+@trident_config[:center_point_height], nil, @trident_config[:center_point]-@trident_config[:bar_width], label_offset: -USPSFlags::Config::BASE_FLY/24, label_offset_y: -USPSFlags::Config::BASE_FLY/60, label_align: "middle", fly: @fly, unit: @unit)} <!-- Main point height -->
132
+ #{USPSFlags::Helpers::SpecArrows.vertical(box_left-@trident_config[:bar_width]*1.5, box_top+@trident_config[:bar_width]*4/5, box_top+@trident_config[:bar_width]*4/5+@trident_config[:side_point_height], box_left, box_left+@trident_config[:bar_width], label_offset: -USPSFlags::Config::BASE_FLY/24, label_align: "middle", fly: @fly, unit: @unit)} <!-- Side point height -->
133
133
 
134
134
  <!-- Bottom -->
135
135
  #{USPSFlags::Helpers::SpecArrows.horizontal(box_bottom+@trident_config[:bar_width], @trident_config[:center_point]-@trident_config[:bar_width]/2, @trident_config[:center_point]+@trident_config[:bar_width]/2, box_bottom, box_bottom, fly: @fly, unit: @unit)} <!-- Bar width -->
136
- #{USPSFlags::Helpers::SpecArrows.horizontal(box_bottom+@trident_config[:bar_width]*2.5, @trident_config[:center_point]-@trident_config[:hash_width]/2, @trident_config[:center_point]+@trident_config[:hash_width]/2, box_top+@trident_config[:bar_width]*4+@trident_config[:point_height]+@trident_config[:side_spike_height], box_top+@trident_config[:bar_width]*4+@trident_config[:point_height]+@trident_config[:side_spike_height], fly: @fly, unit: @unit)} <!-- Hash width -->
136
+ #{USPSFlags::Helpers::SpecArrows.horizontal(box_bottom+@trident_config[:bar_width]*2.5, @trident_config[:center_point]-@trident_config[:hash_width]/2, @trident_config[:center_point]+@trident_config[:hash_width]/2, box_top+@trident_config[:bar_width]*4+@trident_config[:center_point_height]+@trident_config[:side_spike_height], box_top+@trident_config[:bar_width]*4+@trident_config[:center_point_height]+@trident_config[:side_spike_height], fly: @fly, unit: @unit)} <!-- Hash width -->
137
137
  #{USPSFlags::Helpers::SpecArrows.horizontal(box_bottom+@trident_config[:bar_width]*4, box_left, box_right, box_bottom, box_bottom, fly: @fly, unit: @unit)} <!-- Boundary width -->
138
138
 
139
139
  <!-- Top -->
140
- #{USPSFlags::Helpers::SpecArrows.horizontal(box_top-@trident_config[:bar_width], box_left, box_left+@trident_config[:bar_width]*3/2, box_top, box_top+@trident_config[:bar_width]+@trident_config[:point_height], label_offset: -USPSFlags::Config::BASE_FLY/60, fly: @fly, unit: @unit)} <!-- Side point width -->
141
- #{USPSFlags::Helpers::SpecArrows.horizontal(box_top-@trident_config[:bar_width]*2.5, @trident_config[:center_point]-@trident_config[:bar_width], @trident_config[:center_point]+@trident_config[:bar_width], box_top+@trident_config[:point_height], box_top+@trident_config[:point_height], label_offset: -USPSFlags::Config::BASE_FLY/60, fly: @fly, unit: @unit)} <!-- Main point width -->
140
+ #{USPSFlags::Helpers::SpecArrows.horizontal(box_top-@trident_config[:bar_width], box_left, box_left+@trident_config[:bar_width]*3/2, box_top, box_top+@trident_config[:bar_width]*4/5+@trident_config[:side_point_height], label_offset: -USPSFlags::Config::BASE_FLY/60, fly: @fly, unit: @unit)} <!-- Side point width -->
141
+ #{USPSFlags::Helpers::SpecArrows.horizontal(box_top-@trident_config[:bar_width]*2.5, @trident_config[:center_point]-@trident_config[:bar_width], @trident_config[:center_point]+@trident_config[:bar_width], box_top+@trident_config[:center_point_height], box_top+@trident_config[:center_point_height], label_offset: -USPSFlags::Config::BASE_FLY/60, fly: @fly, unit: @unit)} <!-- Main point width -->
142
142
 
143
143
  <!-- Overlay -->
144
144
  <!-- Main point barb -->
145
- <line x1="#{@trident_config[:center_point]+@trident_config[:bar_width]/2}" y1="#{box_top+@trident_config[:point_height]-@trident_config[:main_point_barb]}" x2="#{@trident_config[:center_point]+@trident_config[:bar_width]*3/2}" y2="#{box_top+@trident_config[:point_height]-@trident_config[:main_point_barb]*5}" stroke="#666666" stroke-width="2" stroke-dasharray="5, 5" />
146
- <line x1="#{@trident_config[:center_point]+@trident_config[:bar_width]/2}" y1="#{box_top+@trident_config[:point_height]}" x2="#{@trident_config[:center_point]+@trident_config[:bar_width]*3/2}" y2="#{box_top+@trident_config[:point_height]}" stroke="#666666" stroke-width="2" stroke-dasharray="5, 5" />
147
- <text x="#{@trident_config[:center_point]+@trident_config[:bar_width]*5/4}" y="#{box_top+@trident_config[:point_height]-@trident_config[:main_point_barb]}" font-family="sans-serif" font-size="#{USPSFlags::Config::BASE_FLY/100}px" fill="#041E42" text-anchor="left">#{@barb_label}</text>
145
+ <line x1="#{@trident_config[:center_point]+@trident_config[:bar_width]/2}" y1="#{box_top+@trident_config[:center_point_height]-@trident_config[:main_point_barb]}" x2="#{@trident_config[:center_point]+@trident_config[:bar_width]*3/2}" y2="#{box_top+@trident_config[:center_point_height]-@trident_config[:main_point_barb]*5}" stroke="#666666" stroke-width="2" stroke-dasharray="5, 5" />
146
+ <line x1="#{@trident_config[:center_point]+@trident_config[:bar_width]/2}" y1="#{box_top+@trident_config[:center_point_height]}" x2="#{@trident_config[:center_point]+@trident_config[:bar_width]*3/2}" y2="#{box_top+@trident_config[:center_point_height]}" stroke="#666666" stroke-width="2" stroke-dasharray="5, 5" />
147
+ <text x="#{@trident_config[:center_point]+@trident_config[:bar_width]*9/8}" y="#{box_top+@trident_config[:center_point_height]-@trident_config[:main_point_barb]}" font-family="sans-serif" font-size="#{USPSFlags::Config::BASE_FLY/100}px" fill="#041E42" text-anchor="left">#{@barb_label}</text>
148
148
  </g></g>
149
149
  SVG
150
150
  end
@@ -11,10 +11,6 @@ describe USPSFlags::Config do
11
11
  expect(USPSFlags.configuration.log_path).to eql(default_log_path)
12
12
  end
13
13
 
14
- it "should return a Boolean from use_larger_tridents" do
15
- expect([true, false]).to include(USPSFlags.configuration.use_larger_tridents)
16
- end
17
-
18
14
  it "should return a Boolean from clear" do
19
15
  expect([true, false]).to include(USPSFlags.configuration.clear)
20
16
  end
@@ -34,7 +30,6 @@ describe USPSFlags::Config do
34
30
 
35
31
  expect(USPSFlags.configuration.flags_dir).to eql($tmp_flags_dir)
36
32
  expect(USPSFlags.configuration.clear).to eql(true)
37
- expect(USPSFlags.configuration.use_larger_tridents).to eql(true)
38
33
  end
39
34
  end
40
35
 
@@ -17,71 +17,71 @@ describe USPSFlags do
17
17
  </metadata>
18
18
  <g transform="translate(-512)">
19
19
  <path d="M 1536 512
20
- l 80 136
21
- l -40 -8
22
- l 0 896
20
+ l 80 184
21
+ l -40 -24
22
+ l 0 864
23
23
  l -80 0
24
- l 0 -896
25
- l -40 8
26
- l 80 -136
24
+ l 0 -864
25
+ l -40 24
26
+ l 80 -184
27
27
  " fill="#E4002B" />
28
- <path d="M 1296 1024
28
+ <path d="M 1296 1040
29
29
  l 480 0
30
30
  l 0 80
31
31
  l -480 0
32
32
  l 0 -80
33
33
  " fill="#E4002B" />
34
- <path d="M 1296 1025
35
- l 0 -432
36
- l 120 136
34
+ <path d="M 1296 1041
35
+ l 0 -464
36
+ l 120 168
37
37
  l -40 0
38
38
  l 0 296
39
39
  " fill="#E4002B" />
40
- <path d="M 1776 1025
41
- l 0 -432
42
- l -120 136
40
+ <path d="M 1776 1041
41
+ l 0 -464
42
+ l -120 168
43
43
  l 40 0
44
44
  l 0 296
45
45
  " fill="#E4002B" />
46
- <path d="M 1392 1184
47
- l 288 0
46
+ <path d="M 1400 1200
47
+ l 273 0
48
48
  l 0 80
49
- l -288 0
49
+ l -273 0
50
50
  l 0 -80
51
51
  " fill="#E4002B" />
52
52
  </g>
53
53
  <g transform="translate(512)">
54
54
  <path d="M 1536 512
55
- l 80 136
56
- l -40 -8
57
- l 0 896
55
+ l 80 184
56
+ l -40 -24
57
+ l 0 864
58
58
  l -80 0
59
- l 0 -896
60
- l -40 8
61
- l 80 -136
59
+ l 0 -864
60
+ l -40 24
61
+ l 80 -184
62
62
  " fill="#E4002B" />
63
- <path d="M 1296 1024
63
+ <path d="M 1296 1040
64
64
  l 480 0
65
65
  l 0 80
66
66
  l -480 0
67
67
  l 0 -80
68
68
  " fill="#E4002B" />
69
- <path d="M 1296 1025
70
- l 0 -432
71
- l 120 136
69
+ <path d="M 1296 1041
70
+ l 0 -464
71
+ l 120 168
72
72
  l -40 0
73
73
  l 0 296
74
74
  " fill="#E4002B" />
75
- <path d="M 1776 1025
76
- l 0 -432
77
- l -120 136
75
+ <path d="M 1776 1041
76
+ l 0 -464
77
+ l -120 168
78
78
  l 40 0
79
79
  l 0 296
80
80
  " fill="#E4002B" />
81
- <path d="M 1392 1184
82
- l 288 0
81
+ <path d="M 1400 1200
82
+ l 273 0
83
83
  l 0 80
84
- l -288 0
84
+ l -273 0
85
85
  l 0 -80
86
86
  " fill="#E4002B" />
87
87
  </g>
data/usps_flags.gemspec CHANGED
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'usps_flags'
3
- s.version = '0.3.21'
4
- s.date = '2019-02-08'
3
+ s.version = '0.3.22'
4
+ s.date = '2019-03-05'
5
5
  s.summary = 'Flag generator for United States Power Squadrons'
6
6
  s.description = 'A flag image (PNG, SVG) generator for United States Power Squadrons.'
7
7
  s.homepage = 'http://rubygems.org/gems/usps_flags'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: usps_flags
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.21
4
+ version: 0.3.22
5
5
  platform: ruby
6
6
  authors:
7
7
  - Julian Fiander
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-02-08 00:00:00.000000000 Z
11
+ date: 2019-03-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: file_utils