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 +4 -4
- data/Gemfile.lock +2 -2
- data/README.md +1 -1
- data/lib/usps_flags/config.rb +14 -14
- data/lib/usps_flags/core/trident.rb +9 -9
- data/lib/usps_flags/core/trident_spec.rb +13 -13
- data/spec/usps_flags/config_spec.rb +0 -5
- data/spec/usps_flags_spec.rb +32 -32
- data/usps_flags.gemspec +2 -2
- 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: 00b1274e5de6b2bc905c00a08a32e9abb054d3898804b673addbaafcfb095c52
|
4
|
+
data.tar.gz: 4cef7e1109b4f56ba6532f8b3a34df5b190deff203f4526fea484fd1f53ff5f3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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.
|
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
data/lib/usps_flags/config.rb
CHANGED
@@ -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
|
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
|
-
|
33
|
-
|
34
|
-
bar_width =
|
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
|
-
|
43
|
+
center_point_height: center_point_height,
|
44
|
+
side_point_height: side_point_height,
|
45
45
|
|
46
|
-
main_point_barb: USPSFlags::Config::BASE_HOIST/
|
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-
|
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*
|
52
|
+
hash_width: USPSFlags::Config::BASE_FLY*47/528,
|
53
53
|
|
54
|
-
delta_height: USPSFlags::Config::BASE_FLY*
|
55
|
-
delta_gap_height: USPSFlags
|
56
|
-
delta_gap_width:
|
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*
|
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[:
|
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[:
|
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[:
|
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[:
|
91
|
-
[(@trident_config[:bar_width]+@side_spike_overhang), @trident_config[:
|
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[:
|
103
|
-
[-(@trident_config[:bar_width]+@side_spike_overhang), @trident_config[:
|
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[:
|
124
|
-
#{USPSFlags::Helpers::SpecArrows.vertical(box_right+@trident_config[:bar_width], box_top+@trident_config[:bar_width]*
|
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]*
|
127
|
-
#{USPSFlags::Helpers::SpecArrows.vertical(box_right+@trident_config[:bar_width], box_top+@trident_config[:bar_width]*
|
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[:
|
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[:
|
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[:
|
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[:
|
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[:
|
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[:
|
146
|
-
<line x1="#{@trident_config[:center_point]+@trident_config[:bar_width]/2}" y1="#{box_top+@trident_config[:
|
147
|
-
<text x="#{@trident_config[:center_point]+@trident_config[:bar_width]*
|
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
|
|
data/spec/usps_flags_spec.rb
CHANGED
@@ -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
|
21
|
-
l -40 -
|
22
|
-
l 0
|
20
|
+
l 80 184
|
21
|
+
l -40 -24
|
22
|
+
l 0 864
|
23
23
|
l -80 0
|
24
|
-
l 0 -
|
25
|
-
l -40
|
26
|
-
l 80 -
|
24
|
+
l 0 -864
|
25
|
+
l -40 24
|
26
|
+
l 80 -184
|
27
27
|
" fill="#E4002B" />
|
28
|
-
<path d="M 1296
|
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
|
35
|
-
l 0 -
|
36
|
-
l 120
|
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
|
41
|
-
l 0 -
|
42
|
-
l -120
|
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
|
47
|
-
l
|
46
|
+
<path d="M 1400 1200
|
47
|
+
l 273 0
|
48
48
|
l 0 80
|
49
|
-
l -
|
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
|
56
|
-
l -40 -
|
57
|
-
l 0
|
55
|
+
l 80 184
|
56
|
+
l -40 -24
|
57
|
+
l 0 864
|
58
58
|
l -80 0
|
59
|
-
l 0 -
|
60
|
-
l -40
|
61
|
-
l 80 -
|
59
|
+
l 0 -864
|
60
|
+
l -40 24
|
61
|
+
l 80 -184
|
62
62
|
" fill="#E4002B" />
|
63
|
-
<path d="M 1296
|
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
|
70
|
-
l 0 -
|
71
|
-
l 120
|
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
|
76
|
-
l 0 -
|
77
|
-
l -120
|
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
|
82
|
-
l
|
81
|
+
<path d="M 1400 1200
|
82
|
+
l 273 0
|
83
83
|
l 0 80
|
84
|
-
l -
|
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.
|
4
|
-
s.date = '2019-
|
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.
|
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-
|
11
|
+
date: 2019-03-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: file_utils
|