usps_flags-grades 0.0.3 → 0.0.4

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
  SHA1:
3
- metadata.gz: 598462b7120ba7ac72d8ea934a5479d69961333f
4
- data.tar.gz: ee42236dcd5587e30e8dcf7c2e80eee4587dd9f5
3
+ metadata.gz: bb32cbc2b1cb5e1b3b1af09878a0a53e06faf787
4
+ data.tar.gz: 0d2842aaf12d1ba716f6547a1337ecfbd3b44753
5
5
  SHA512:
6
- metadata.gz: 27bee93c0b91ea2850de069935f3942429f2f1ab1d1bf565490ce7b76ce33a326147f073ff2f2767910c1b3d07db1d36226d355dcda7aeb19ff08f7afbb33bd8
7
- data.tar.gz: ad895c3ffdbbd158e51704047c82dacca34db0f2361678480f623f011c616acb629995e397160ede9c77eed391d64903d77c2917c82e8ee30dbdebc718e05001
6
+ metadata.gz: 7d52c4fccf5f86a7e8edf5d5d6d017cb3e956490f86c661bc4ce38b3ccb95b71da8f8fafcb8c852d902b26c68f124e9e5e88a9239def781b7dd1a3d28e583cfc
7
+ data.tar.gz: c56300217f53842f1fc2efe07e8ce39a956523146aa88afe66f2b675b80ace57965e621bb2ce4a8a298de6c59e5f8da5fb222e1a9e3bb54717c2b5d2b47a88df
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -1,8 +1,8 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- usps_flags-grades (0.0.3)
5
- usps_flags (~> 0.3, >= 0.3.17)
4
+ usps_flags-grades (0.0.4)
5
+ usps_flags (~> 0.3, >= 0.3.18)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
@@ -32,7 +32,7 @@ GEM
32
32
  json (>= 1.8, < 3)
33
33
  simplecov-html (~> 0.10.0)
34
34
  simplecov-html (0.10.2)
35
- usps_flags (0.3.17)
35
+ usps_flags (0.3.18)
36
36
  file_utils (~> 1.1, >= 1.1.2)
37
37
  mini_magick (~> 4.8, >= 4.8.0)
38
38
  rubyzip (~> 1.2, >= 1.2.1)
@@ -2,6 +2,6 @@
2
2
  #
3
3
  # @private
4
4
  class USPSFlags::Config
5
- GOLD ||= "#FFD700"
5
+ GOLD ||= "#FFBF3F"
6
6
  GRADE_SPACING ||= 125
7
7
  end
@@ -24,7 +24,7 @@ describe USPSFlags::Grades do
24
24
  expect(@insignia.svg).to include(
25
25
  <<~SVG
26
26
  <g transform="translate(0, 50)">
27
- <rect x="0" y="0" width="100" height="35" fill="#FFD700" />
27
+ <rect x="0" y="0" width="100" height="35" fill="#FFBF3F" />
28
28
  SVG
29
29
  )
30
30
  end
@@ -42,9 +42,9 @@ describe USPSFlags::Grades do
42
42
  expect(@insignia.svg).to include(
43
43
  <<~SVG
44
44
  <g transform="translate(0, 50)">
45
- <rect x="0" y="0" width="100" height="35" fill="#FFD700" />
45
+ <rect x="0" y="0" width="100" height="35" fill="#FFBF3F" />
46
46
 
47
- <g transform="translate(125)"><rect x="0" y="0" width="100" height="35" fill="#FFD700" />
47
+ <g transform="translate(125)"><rect x="0" y="0" width="100" height="35" fill="#FFBF3F" />
48
48
  </g>
49
49
  SVG
50
50
  )
@@ -64,7 +64,7 @@ describe USPSFlags::Grades do
64
64
  expect(@insignia.svg).to include(
65
65
  <<~SVG
66
66
  <g transform="translate(0, 50)">
67
- <rect x="0" y="0" width="100" height="35" fill="#FFD700" />
67
+ <rect x="0" y="0" width="100" height="35" fill="#FFBF3F" />
68
68
 
69
69
  <g transform="translate(192.5)"><g transform="scale(0.25) translate(0, 150)">
70
70
  <path d="M 0 0
@@ -78,11 +78,11 @@ describe USPSFlags::Grades do
78
78
  l 114.125 86.525
79
79
  l -41.47 137.085
80
80
  l 117.555 -81.805
81
- " fill="#FFD700" />
81
+ " fill="#FFBF3F" />
82
82
 
83
83
  </g>
84
84
  </g>
85
- <g transform="translate(281.25)"><rect x="0" y="0" width="100" height="35" fill="#FFD700" />
85
+ <g transform="translate(281.25)"><rect x="0" y="0" width="100" height="35" fill="#FFBF3F" />
86
86
  </g>
87
87
  SVG
88
88
  )
@@ -91,7 +91,7 @@ describe USPSFlags::Grades do
91
91
  it "should have the AP EdPro bar" do
92
92
  expect(@insignia.svg).to include(
93
93
  <<~SVG
94
- <rect x="0" y="100" width="381.25" height="15" fill="#FFD700" />
94
+ <rect x="0" y="100" width="381.25" height="15" fill="#FFBF3F" />
95
95
  SVG
96
96
  )
97
97
  end
@@ -124,11 +124,11 @@ describe USPSFlags::Grades do
124
124
  l 114.125 86.525
125
125
  l -41.47 137.085
126
126
  l 117.555 -81.805
127
- " fill="#FFD700" />
127
+ " fill="#FFBF3F" />
128
128
 
129
129
  </g>
130
130
 
131
- <g transform="translate(87)"><rect x="0" y="0" width="100" height="35" fill="#FFD700" />
131
+ <g transform="translate(87)"><rect x="0" y="0" width="100" height="35" fill="#FFBF3F" />
132
132
  </g>
133
133
  <g transform="translate(270)"><g transform="scale(0.25) translate(0, 150)">
134
134
  <path d="M 0 0
@@ -142,7 +142,7 @@ describe USPSFlags::Grades do
142
142
  l 114.125 86.525
143
143
  l -41.47 137.085
144
144
  l 117.555 -81.805
145
- " fill="#FFD700" />
145
+ " fill="#FFBF3F" />
146
146
 
147
147
  </g>
148
148
  </g>
@@ -152,17 +152,17 @@ describe USPSFlags::Grades do
152
152
  end
153
153
 
154
154
  it "should have a 5th position merit mark" do
155
- expect(@insignia.svg).to include("<rect x=\"180\" y=\"0\" width=\"35\" height=\"80\" fill=\"#FFD700\" />")
155
+ expect(@insignia.svg).to include("<rect x=\"180\" y=\"0\" width=\"35\" height=\"80\" fill=\"#FFBF3F\" />")
156
156
  end
157
157
 
158
158
  it "should not have a 6th position merit mark" do
159
- expect(@insignia.svg).to_not include("<rect x=\"225\" y=\"0\" width=\"35\" height=\"80\" fill=\"#FFD700\" />")
159
+ expect(@insignia.svg).to_not include("<rect x=\"225\" y=\"0\" width=\"35\" height=\"80\" fill=\"#FFBF3F\" />")
160
160
  end
161
161
 
162
162
  it "should have the JN EdPro bar" do
163
163
  expect(@insignia.svg).to include(
164
164
  <<~SVG
165
- <rect x="0" y="100" width="365" height="15" fill="#FFD700" />
165
+ <rect x="0" y="100" width="365" height="15" fill="#FFBF3F" />
166
166
  SVG
167
167
  )
168
168
  end
@@ -194,11 +194,11 @@ describe USPSFlags::Grades do
194
194
  l 114.125 86.525
195
195
  l -41.47 137.085
196
196
  l 117.555 -81.805
197
- " fill="#FFD700" />
197
+ " fill="#FFBF3F" />
198
198
 
199
199
  </g>
200
200
 
201
- <g transform="translate(87)"><rect x="0" y="0" width="100" height="35" fill="#FFD700" />
201
+ <g transform="translate(87)"><rect x="0" y="0" width="100" height="35" fill="#FFBF3F" />
202
202
  </g>
203
203
  <g transform="translate(270)"><g transform="scale(0.25) translate(0, 150)">
204
204
  <path d="M 0 0
@@ -212,11 +212,11 @@ describe USPSFlags::Grades do
212
212
  l 114.125 86.525
213
213
  l -41.47 137.085
214
214
  l 117.555 -81.805
215
- " fill="#FFD700" />
215
+ " fill="#FFBF3F" />
216
216
 
217
217
  </g>
218
218
  </g>
219
- <g transform="translate(365)"><rect x="0" y="0" width="100" height="35" fill="#FFD700" />
219
+ <g transform="translate(365)"><rect x="0" y="0" width="100" height="35" fill="#FFBF3F" />
220
220
  </g>
221
221
  <g transform="translate(550)"><g transform="scale(0.25) translate(0, 150)">
222
222
  <path d="M 0 0
@@ -230,7 +230,7 @@ describe USPSFlags::Grades do
230
230
  l 114.125 86.525
231
231
  l -41.47 137.085
232
232
  l 117.555 -81.805
233
- " fill="#FFD700" />
233
+ " fill="#FFBF3F" />
234
234
 
235
235
  </g>
236
236
  </g>
@@ -259,7 +259,7 @@ describe USPSFlags::Grades do
259
259
  it "should have the SN insignia box" do
260
260
  expect(@insignia.svg).to include(
261
261
  <<~SVG
262
- <polyline points="20,-10 735,-10 735,150 20,150 20,-10" fill="none" stroke-width="15" stroke="#FFD700" />
262
+ <polyline points="20,-10 735,-10 735,150 20,150 20,-10" fill="none" stroke-width="15" stroke="#FFBF3F" />
263
263
  SVG
264
264
  )
265
265
  end
@@ -267,18 +267,18 @@ describe USPSFlags::Grades do
267
267
  it "should have a senior member arrow" do
268
268
  expect(@insignia.svg).to include(
269
269
  <<~SVG
270
- <polyline points="0,250 75,220 75,240 150,240 150,260 75,260 75,280 0,250" fill="#FFD700" />
271
- <polyline points="145,240 350,240 350,260 145,260 145,240" fill="#FFD700" />
272
- <polyline points="400,240 610,240 610,260 400,260 400,240" fill="#FFD700" />
273
- <polyline points="600,240 675,240 675,220 750,250 675,280 675,260 600,260 600,240" fill="#FFD700" />
270
+ <polyline points="0,250 75,220 75,240 150,240 150,260 75,260 75,280 0,250" fill="#FFBF3F" />
271
+ <polyline points="145,240 350,240 350,260 145,260 145,240" fill="#FFBF3F" />
272
+ <polyline points="400,240 610,240 610,260 400,260 400,240" fill="#FFBF3F" />
273
+ <polyline points="600,240 675,240 675,220 750,250 675,280 675,260 600,260 600,240" fill="#FFBF3F" />
274
274
 
275
- <polyline points="325,200 350,200 375,275 400,200 425,200 390,300 360,300 325,200" fill="#FFD700" />
275
+ <polyline points="325,200 350,200 375,275 400,200 425,200 390,300 360,300 325,200" fill="#FFBF3F" />
276
276
  SVG
277
277
  )
278
278
  end
279
279
 
280
280
  it "should have a 20th position merit mark" do
281
- expect(@insignia.svg).to include("<rect x=\"855\" y=\"0\" width=\"35\" height=\"80\" fill=\"#FFD700\" />")
281
+ expect(@insignia.svg).to include("<rect x=\"855\" y=\"0\" width=\"35\" height=\"80\" fill=\"#FFBF3F\" />")
282
282
  end
283
283
  end
284
284
  end
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'usps_flags-grades'
3
- s.version = '0.0.3'
3
+ s.version = '0.0.4'
4
4
  s.date = '2018-01-10'
5
5
  s.summary = 'Insignia generator for United States Power Squadrons'
6
6
  s.description = 'An extension to the flag image (PNG, SVG) generator for United States Power Squadrons to generate grade insignia.'
@@ -17,7 +17,7 @@ Gem::Specification.new do |s|
17
17
 
18
18
  s.required_ruby_version = '~> 2.4'
19
19
 
20
- s.add_runtime_dependency 'usps_flags', '~> 0.3', '>= 0.3.17'
20
+ s.add_runtime_dependency 'usps_flags', '~> 0.3', '>= 0.3.18'
21
21
 
22
22
  s.add_development_dependency 'rake', '~> 12.2', '>= 12.2.1'
23
23
  s.add_development_dependency 'rspec', '~> 3.7', '>= 3.7.0'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: usps_flags-grades
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Julian Fiander
@@ -41,7 +41,7 @@ dependencies:
41
41
  version: '0.3'
42
42
  - - ">="
43
43
  - !ruby/object:Gem::Version
44
- version: 0.3.17
44
+ version: 0.3.18
45
45
  type: :runtime
46
46
  prerelease: false
47
47
  version_requirements: !ruby/object:Gem::Requirement
@@ -51,7 +51,7 @@ dependencies:
51
51
  version: '0.3'
52
52
  - - ">="
53
53
  - !ruby/object:Gem::Version
54
- version: 0.3.17
54
+ version: 0.3.18
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rake
57
57
  requirement: !ruby/object:Gem::Requirement
metadata.gz.sig CHANGED
@@ -1 +1,2 @@
1
- ��T�p�U1Ϟ��c��8Io��T˯<��R�.�z�)JƬ�w>;��c�ZH鉵v������W�<�k$������X���E2~�R w)$���:�-��[�U��bV�������;�/0)�� ��s+ؗ�P�� 3��^(�1��Bϵ��PBmm�����Q�ߴ��;A���=25��t|}�G�+7*݀�<XЋ�C�nu1:�Z����Y��|Oo�{n�2�H3�ΩO
1
+ o�>��6$ �����/�X���80�_?�C@l����t\)^�!������&�T����r���P8:�����=�~�[m����R������ч�g��� UO�y�^$���o��-cq9������"���J�!������Т��#Zwj��4����֬��Y��U�$H�8��z^?�g�-�8 ��ݲ�0��'��^�<�k�|�^t���
2
+ �Y=����kk7�˔}9FpEHc:ZAk�s���� T�