usps_flags 0.5.7 → 0.5.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/usps_flags/core/icons/trident.rb +1 -1
- data/lib/usps_flags/helpers.rb +1 -1
- 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: 7d178e622dbc6370cd277324673a7f9ee15c0adcf7e3b0d59a34f6499b73ca98
|
4
|
+
data.tar.gz: c3eb0cf858463f11624f4474ce5e13cffe5f75698f2c80cf3ad0558df3028d4c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bf09d8306ee9bc6da4405a89e79f71866c8a36041b003033c7f40bf6e8070f3feb7f12c5b1dad473beb57b7a0d26a641b093aef5828962e6df5fe3a84943d6dd
|
7
|
+
data.tar.gz: 9f312f4248f69039910e6d04f879a0eb733044101b0d76511e66cef06a9ecc83857aea05503a98eddcd225b7997d5eba7955741a15837799883bf051b0c95986
|
data/Gemfile.lock
CHANGED
@@ -13,7 +13,7 @@ class USPSFlags
|
|
13
13
|
|
14
14
|
def initialize(type, color: :blue, field_color: nil)
|
15
15
|
valid_types = %i[s d stf n]
|
16
|
-
raise "Error: Invalid trident type. Options are #{valid_types}." unless valid_types.include?(type)
|
16
|
+
raise "Error: Invalid trident type: #{type}. Options are #{valid_types}." unless valid_types.include?(type)
|
17
17
|
|
18
18
|
@type = type
|
19
19
|
|
data/lib/usps_flags/helpers.rb
CHANGED
@@ -179,7 +179,7 @@ class USPSFlags
|
|
179
179
|
end
|
180
180
|
|
181
181
|
def flag_type(rank)
|
182
|
-
specifics = { 'PORTCAP' => :pc, 'FLEETCAP' => :fc, 'STFC' => :stf }
|
182
|
+
specifics = { 'PORTCAP' => :pc, 'FLEETCAP' => :fc, 'STFC' => :stf, 'PSTFC' => :stf }
|
183
183
|
return specifics[rank] if specifics.key?(rank)
|
184
184
|
return :a if rank.match?(/.AIDE/)
|
185
185
|
return :f if rank.match?(/.?FLT/)
|
data/usps_flags.gemspec
CHANGED
@@ -2,8 +2,8 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = 'usps_flags'
|
5
|
-
s.version = '0.5.
|
6
|
-
s.date = '2019-12-
|
5
|
+
s.version = '0.5.8'
|
6
|
+
s.date = '2019-12-15'
|
7
7
|
s.summary = 'Flag generator for United States Power Squadrons'
|
8
8
|
s.description = 'A flag image (PNG, SVG) generator for United States Power Squadrons.'
|
9
9
|
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.5.
|
4
|
+
version: 0.5.8
|
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-12-
|
11
|
+
date: 2019-12-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: file_utils
|