usps_flags 0.3.17 → 0.3.18
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 +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/Gemfile.lock +1 -1
- data/lib/usps_flags/helpers.rb +4 -3
- data/usps_flags.gemspec +1 -1
- metadata +1 -1
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1a2fdbe5fb1bf48dd96dbf6e812cace8448d455d
|
|
4
|
+
data.tar.gz: dc2fc7b375372450ef44611c71639c7658597403
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c6d0cb544a0d70427970f94d881ceb3a5ddffe9e4d68d45a313768b8d8aa4f0ba745777bddfe1c6dae4abdb5fa63baee30288d405f0a70eed86d0ae5c637bb45
|
|
7
|
+
data.tar.gz: 4dbe22ede09b03d236f915637cfeb684bb11664790195290714ad77b93cbdebddcf6e9c7f06a58d48412e2cadfb751ce0724954b472f8655c2fbbf74043928d6
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data.tar.gz.sig
CHANGED
|
Binary file
|
data/Gemfile.lock
CHANGED
data/lib/usps_flags/helpers.rb
CHANGED
|
@@ -146,14 +146,15 @@ class USPSFlags::Helpers
|
|
|
146
146
|
@district_elected = %w[D1LT DLTC DC]
|
|
147
147
|
@district_swallowtail = %w[DLT DAIDE DFLT]
|
|
148
148
|
@national_past = %w[PSTFC PRC PVC PCC]
|
|
149
|
-
@national_elected = %w[
|
|
149
|
+
@national_elected = %w[STFC RC VC CC]
|
|
150
|
+
@national_swallowtail = %w[NAIDE NFLT]
|
|
150
151
|
@special = %w[CRUISE OIC ENSIGN WHEEL]
|
|
151
152
|
@us = %w[US]
|
|
152
153
|
|
|
153
154
|
@past = @squadron_past + @district_past + @national_past
|
|
154
155
|
@squadron = @squadron_past + @squadron_elected + @squadron_swallowtail
|
|
155
156
|
@district = @district_past + @district_elected + @district_swallowtail
|
|
156
|
-
@national = @national_past + @national_elected
|
|
157
|
+
@national = @national_past + @national_elected + @national_swallowtail
|
|
157
158
|
@officer = @squadron + @district + @national
|
|
158
159
|
end
|
|
159
160
|
|
|
@@ -170,7 +171,7 @@ class USPSFlags::Helpers
|
|
|
170
171
|
all: @officer + @special + @us,
|
|
171
172
|
officer: @officer,
|
|
172
173
|
insignia: @officer - @past,
|
|
173
|
-
swallowtail: @past + @squadron_swallowtail + @district_swallowtail,
|
|
174
|
+
swallowtail: @past + @squadron_swallowtail + @district_swallowtail + @national_swallowtail,
|
|
174
175
|
|
|
175
176
|
bridge: @squadron_elected.last(2) + @squadron_past.last(2) +
|
|
176
177
|
@district_elected.last(2) + @district_past.last(2) +
|
data/usps_flags.gemspec
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Gem::Specification.new do |s|
|
|
2
2
|
s.name = 'usps_flags'
|
|
3
|
-
s.version = '0.3.
|
|
3
|
+
s.version = '0.3.18'
|
|
4
4
|
s.date = '2018-01-10'
|
|
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.'
|
metadata
CHANGED
metadata.gz.sig
CHANGED
|
Binary file
|