usps_flags 0.3.20 → 0.3.21
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/Gemfile.lock +4 -4
- data/README.md +1 -19
- data/lib/usps_flags/core/headers.rb +1 -1
- data/spec/usps_flags_spec.rb +1 -1
- data/usps_flags.gemspec +2 -5
- metadata +16 -40
- checksums.yaml.gz.sig +0 -2
- data.tar.gz.sig +0 -2
- data/certs/jfiander.pem +0 -21
- metadata.gz.sig +0 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: bf541aa71ee2a01c3724071f06efb694b3bf58e240b450104afef6382d71728f
|
4
|
+
data.tar.gz: 0abc1edd339417ffcacfdc54bee9fb61ac8eceb91cb8c0c89c4a25c2f1e59d0f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: db13871e83b170d494d2e9911a127c21895a93b9d22a6853d4a885a9a2f4861fa3ffad5b536272d3ad4143bd48e1d1b59d092c680060437672d56643d61c7c01
|
7
|
+
data.tar.gz: 3a30b23f0c721fe6a46448b360ab5c022f7e7e4ca7a5f87e3d2d5e69d3d641c082a1966c83113ab9c2dea0be69d5f67ebaa3a3af34853f059f15a340f00cc5c6
|
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.21)
|
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.
|
16
|
+
mini_magick (4.9.2)
|
17
17
|
rake (12.3.0)
|
18
18
|
rspec (3.7.0)
|
19
19
|
rspec-core (~> 3.7.0)
|
@@ -28,7 +28,7 @@ GEM
|
|
28
28
|
diff-lcs (>= 1.2.0, < 2.0)
|
29
29
|
rspec-support (~> 3.7.0)
|
30
30
|
rspec-support (3.7.0)
|
31
|
-
rubyzip (1.2.
|
31
|
+
rubyzip (1.2.2)
|
32
32
|
simplecov (0.15.1)
|
33
33
|
docile (~> 1.1.0)
|
34
34
|
json (>= 1.8, < 3)
|
@@ -45,4 +45,4 @@ DEPENDENCIES
|
|
45
45
|
usps_flags!
|
46
46
|
|
47
47
|
BUNDLED WITH
|
48
|
-
1.
|
48
|
+
1.17.3
|
data/README.md
CHANGED
@@ -4,7 +4,6 @@
|
|
4
4
|
[![Build Status](https://travis-ci.org/jfiander/usps-flags.svg)](https://travis-ci.org/jfiander/usps-flags)
|
5
5
|
[![Test Coverage](https://api.codeclimate.com/v1/badges/760b824f0edac3316a11/test_coverage)](https://codeclimate.com/github/jfiander/usps-flags/test_coverage)
|
6
6
|
[![Maintainability](https://api.codeclimate.com/v1/badges/760b824f0edac3316a11/maintainability)](https://codeclimate.com/github/jfiander/usps-flags/maintainability)
|
7
|
-
[![Dependencies](https://img.shields.io/gemnasium/jfiander/usps-flags.svg)](https://gemnasium.com/github.com/jfiander/usps-flags)
|
8
7
|
|
9
8
|
This gem allows you to generate precise SVG and PNG flag images based on
|
10
9
|
official specifications.
|
@@ -142,27 +141,10 @@ There is an extension to this gem for handling squadron burgees:
|
|
142
141
|
There is an extension to this gem for handling grade insignia:
|
143
142
|
[USPSFlags::Grades](https://github.com/jfiander/usps-flags_grades)
|
144
143
|
|
145
|
-
## Security
|
146
|
-
|
147
|
-
This gem is cryptographically signed. To be sure the gem code hasn’t been
|
148
|
-
tampered with:
|
149
|
-
|
150
|
-
Add my public key as a trusted certificate:
|
151
|
-
|
152
|
-
```sh
|
153
|
-
gem cert --add <(curl -Ls https://raw.github.com/jfiander/usps-flags/master/certs/jfiander.pem)
|
154
|
-
```
|
155
|
-
|
156
|
-
Then install the gem securely:
|
157
|
-
|
158
|
-
```sh
|
159
|
-
gem install usps_flags -P HighSecurity
|
160
|
-
```
|
161
|
-
|
162
144
|
## License
|
163
145
|
|
164
146
|
Actual images generated (other than the US Ensign) are
|
165
|
-
[registered trademarks](
|
147
|
+
[registered trademarks](https://www.usps.org/images/secretary/itcom/trademark.pdf) of
|
166
148
|
United States Power Squadrons.
|
167
149
|
|
168
150
|
This project is released under the
|
@@ -37,7 +37,7 @@ class USPSFlags::Core::Headers
|
|
37
37
|
unless @title == "US Ensign"
|
38
38
|
svg << <<~SVG
|
39
39
|
<desc id="trademark-desc">This image is a registered trademark of United States Power Squadrons.</desc>
|
40
|
-
<desc id="trademark-link">
|
40
|
+
<desc id="trademark-link">https://www.usps.org/images/secretary/itcom/trademark.pdf</desc>
|
41
41
|
SVG
|
42
42
|
end
|
43
43
|
|
data/spec/usps_flags_spec.rb
CHANGED
@@ -13,7 +13,7 @@ describe USPSFlags do
|
|
13
13
|
|
14
14
|
@valid_body = <<~SVG
|
15
15
|
<desc id="trademark-desc">This image is a registered trademark of United States Power Squadrons.</desc>
|
16
|
-
<desc id="trademark-link">
|
16
|
+
<desc id="trademark-link">https://www.usps.org/images/secretary/itcom/trademark.pdf</desc>
|
17
17
|
</metadata>
|
18
18
|
<g transform="translate(-512)">
|
19
19
|
<path d="M 1536 512
|
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 = '
|
3
|
+
s.version = '0.3.21'
|
4
|
+
s.date = '2019-02-08'
|
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'
|
@@ -12,9 +12,6 @@ Gem::Specification.new do |s|
|
|
12
12
|
s.files = `git ls-files`.split("\n")
|
13
13
|
s.test_files = `git ls-files -- spec/*`.split("\n")
|
14
14
|
|
15
|
-
s.cert_chain = ['certs/jfiander.pem']
|
16
|
-
s.signing_key = File.expand_path('~/.ssh/usps_flags-private_key.pem') if $0 =~ /gem\z/
|
17
|
-
|
18
15
|
s.required_ruby_version = '~> 2.4'
|
19
16
|
|
20
17
|
s.add_runtime_dependency 'file_utils', '~> 1.1', '>= 1.1.2'
|
metadata
CHANGED
@@ -1,36 +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.21
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Julian Fiander
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
|
-
cert_chain:
|
11
|
-
-
|
12
|
-
-----BEGIN CERTIFICATE-----
|
13
|
-
MIIDcDCCAligAwIBAgIBATANBgkqhkiG9w0BAQUFADA/MQ8wDQYDVQQDDAZqdWxp
|
14
|
-
YW4xFzAVBgoJkiaJk/IsZAEZFgdmaWFuZGVyMRMwEQYKCZImiZPyLGQBGRYDb25l
|
15
|
-
MB4XDTE3MTAxNzIwMzYwNVoXDTE4MTAxNzIwMzYwNVowPzEPMA0GA1UEAwwGanVs
|
16
|
-
aWFuMRcwFQYKCZImiZPyLGQBGRYHZmlhbmRlcjETMBEGCgmSJomT8ixkARkWA29u
|
17
|
-
ZTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKgyweLKJcXOZUJ/Y/fb
|
18
|
-
IjGIQzFgi0UUbIxc6BRP3BYCAr7MpflEq3sYaVsECs0ZyM27zLpyDN0oW73Wby6k
|
19
|
-
jaik/yBcsDMvrl58+6mjHnB3yIuk0BbEfQaijgMBzW2p0hToocMToMXigwZOGe4e
|
20
|
-
kPTAO6yTIIYLhhjWALA+nURCBcCNI8d1YAIjiEuF1lCr4pnV4aAq8tPBVrz7a8Fg
|
21
|
-
WpeLe0V1Blhkg9BDzNUmSrDxDxitO8oA5+A0z9Wm1xn8cJfn50103813SEK8gaXV
|
22
|
-
eb/zLRa/CNnTzQ8xUrySd10b1auLnKduXgewBhINcWYjDOT/C1FCjxpK5F6buJ6S
|
23
|
-
1ukCAwEAAaN3MHUwCQYDVR0TBAIwADALBgNVHQ8EBAMCBLAwHQYDVR0OBBYEFI/F
|
24
|
-
wfSc4YJ3gO9EnkvjGcT6fE3WMB0GA1UdEQQWMBSBEmp1bGlhbkBmaWFuZGVyLm9u
|
25
|
-
ZTAdBgNVHRIEFjAUgRJqdWxpYW5AZmlhbmRlci5vbmUwDQYJKoZIhvcNAQEFBQAD
|
26
|
-
ggEBAHddpCbrFKtf02u/4MPzRQQO+uTP9vlbNDxseQsMvpjIIzMjJzANGBqPeI+V
|
27
|
-
HCjLEnKtnUi9br+RqjtQWWc2jGBdZwrlhOFglKUcTVn60ZvBNrByUj8PeBHQR3U2
|
28
|
-
vEKSi1v2i/jlVVvrk+9z4DZ4QdrfARBcPCZhUSZcZBsDbnzjMeX6lhoknnqKn/oi
|
29
|
-
op1Z8vhtFmvxNk4UfHMG1bdUoxl6DDXKfodqWM//9mARZwSyVX9oV7snFP0nKUaD
|
30
|
-
3YzYAc+kXfD7kkzA2NMvLT6Q1v03qQyIZ8BS8SNk5wLGAdLM+IravFDLEs448fjz
|
31
|
-
lEAU0RHLFVbE+CXW6makIlWGHR0=
|
32
|
-
-----END CERTIFICATE-----
|
33
|
-
date: 2018-05-24 00:00:00.000000000 Z
|
10
|
+
cert_chain: []
|
11
|
+
date: 2019-02-08 00:00:00.000000000 Z
|
34
12
|
dependencies:
|
35
13
|
- !ruby/object:Gem::Dependency
|
36
14
|
name: file_utils
|
@@ -56,22 +34,22 @@ dependencies:
|
|
56
34
|
name: mini_magick
|
57
35
|
requirement: !ruby/object:Gem::Requirement
|
58
36
|
requirements:
|
59
|
-
- - "~>"
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: '4.8'
|
62
37
|
- - ">="
|
63
38
|
- !ruby/object:Gem::Version
|
64
39
|
version: 4.8.0
|
40
|
+
- - "~>"
|
41
|
+
- !ruby/object:Gem::Version
|
42
|
+
version: '4.8'
|
65
43
|
type: :runtime
|
66
44
|
prerelease: false
|
67
45
|
version_requirements: !ruby/object:Gem::Requirement
|
68
46
|
requirements:
|
69
|
-
- - "~>"
|
70
|
-
- !ruby/object:Gem::Version
|
71
|
-
version: '4.8'
|
72
47
|
- - ">="
|
73
48
|
- !ruby/object:Gem::Version
|
74
49
|
version: 4.8.0
|
50
|
+
- - "~>"
|
51
|
+
- !ruby/object:Gem::Version
|
52
|
+
version: '4.8'
|
75
53
|
- !ruby/object:Gem::Dependency
|
76
54
|
name: rubyzip
|
77
55
|
requirement: !ruby/object:Gem::Requirement
|
@@ -116,22 +94,22 @@ dependencies:
|
|
116
94
|
name: rspec
|
117
95
|
requirement: !ruby/object:Gem::Requirement
|
118
96
|
requirements:
|
119
|
-
- - "~>"
|
120
|
-
- !ruby/object:Gem::Version
|
121
|
-
version: '3.7'
|
122
97
|
- - ">="
|
123
98
|
- !ruby/object:Gem::Version
|
124
99
|
version: 3.7.0
|
100
|
+
- - "~>"
|
101
|
+
- !ruby/object:Gem::Version
|
102
|
+
version: '3.7'
|
125
103
|
type: :development
|
126
104
|
prerelease: false
|
127
105
|
version_requirements: !ruby/object:Gem::Requirement
|
128
106
|
requirements:
|
129
|
-
- - "~>"
|
130
|
-
- !ruby/object:Gem::Version
|
131
|
-
version: '3.7'
|
132
107
|
- - ">="
|
133
108
|
- !ruby/object:Gem::Version
|
134
109
|
version: 3.7.0
|
110
|
+
- - "~>"
|
111
|
+
- !ruby/object:Gem::Version
|
112
|
+
version: '3.7'
|
135
113
|
- !ruby/object:Gem::Dependency
|
136
114
|
name: simplecov
|
137
115
|
requirement: !ruby/object:Gem::Requirement
|
@@ -168,7 +146,6 @@ files:
|
|
168
146
|
- LICENSE
|
169
147
|
- README.md
|
170
148
|
- Rakefile
|
171
|
-
- certs/jfiander.pem
|
172
149
|
- lib/rational.rb
|
173
150
|
- lib/usps_flags.rb
|
174
151
|
- lib/usps_flags/config.rb
|
@@ -225,8 +202,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
225
202
|
- !ruby/object:Gem::Version
|
226
203
|
version: '0'
|
227
204
|
requirements: []
|
228
|
-
|
229
|
-
rubygems_version: 2.6.11
|
205
|
+
rubygems_version: 3.0.2
|
230
206
|
signing_key:
|
231
207
|
specification_version: 4
|
232
208
|
summary: Flag generator for United States Power Squadrons
|
checksums.yaml.gz.sig
DELETED
data.tar.gz.sig
DELETED
data/certs/jfiander.pem
DELETED
@@ -1,21 +0,0 @@
|
|
1
|
-
-----BEGIN CERTIFICATE-----
|
2
|
-
MIIDcDCCAligAwIBAgIBATANBgkqhkiG9w0BAQUFADA/MQ8wDQYDVQQDDAZqdWxp
|
3
|
-
YW4xFzAVBgoJkiaJk/IsZAEZFgdmaWFuZGVyMRMwEQYKCZImiZPyLGQBGRYDb25l
|
4
|
-
MB4XDTE3MTAxNzIwMzYwNVoXDTE4MTAxNzIwMzYwNVowPzEPMA0GA1UEAwwGanVs
|
5
|
-
aWFuMRcwFQYKCZImiZPyLGQBGRYHZmlhbmRlcjETMBEGCgmSJomT8ixkARkWA29u
|
6
|
-
ZTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKgyweLKJcXOZUJ/Y/fb
|
7
|
-
IjGIQzFgi0UUbIxc6BRP3BYCAr7MpflEq3sYaVsECs0ZyM27zLpyDN0oW73Wby6k
|
8
|
-
jaik/yBcsDMvrl58+6mjHnB3yIuk0BbEfQaijgMBzW2p0hToocMToMXigwZOGe4e
|
9
|
-
kPTAO6yTIIYLhhjWALA+nURCBcCNI8d1YAIjiEuF1lCr4pnV4aAq8tPBVrz7a8Fg
|
10
|
-
WpeLe0V1Blhkg9BDzNUmSrDxDxitO8oA5+A0z9Wm1xn8cJfn50103813SEK8gaXV
|
11
|
-
eb/zLRa/CNnTzQ8xUrySd10b1auLnKduXgewBhINcWYjDOT/C1FCjxpK5F6buJ6S
|
12
|
-
1ukCAwEAAaN3MHUwCQYDVR0TBAIwADALBgNVHQ8EBAMCBLAwHQYDVR0OBBYEFI/F
|
13
|
-
wfSc4YJ3gO9EnkvjGcT6fE3WMB0GA1UdEQQWMBSBEmp1bGlhbkBmaWFuZGVyLm9u
|
14
|
-
ZTAdBgNVHRIEFjAUgRJqdWxpYW5AZmlhbmRlci5vbmUwDQYJKoZIhvcNAQEFBQAD
|
15
|
-
ggEBAHddpCbrFKtf02u/4MPzRQQO+uTP9vlbNDxseQsMvpjIIzMjJzANGBqPeI+V
|
16
|
-
HCjLEnKtnUi9br+RqjtQWWc2jGBdZwrlhOFglKUcTVn60ZvBNrByUj8PeBHQR3U2
|
17
|
-
vEKSi1v2i/jlVVvrk+9z4DZ4QdrfARBcPCZhUSZcZBsDbnzjMeX6lhoknnqKn/oi
|
18
|
-
op1Z8vhtFmvxNk4UfHMG1bdUoxl6DDXKfodqWM//9mARZwSyVX9oV7snFP0nKUaD
|
19
|
-
3YzYAc+kXfD7kkzA2NMvLT6Q1v03qQyIZ8BS8SNk5wLGAdLM+IravFDLEs448fjz
|
20
|
-
lEAU0RHLFVbE+CXW6makIlWGHR0=
|
21
|
-
-----END CERTIFICATE-----
|
metadata.gz.sig
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
=u�ԛ�|��Q_g���<3N��Kʊ����E�\�/23j`W�����Qݠ�s&
|