usps_flags 0.1.17 → 0.1.18
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/.gitignore +1 -0
- data/CONTRIBUTING.md +17 -0
- data/Gemfile.lock +1 -1
- data/README.md +8 -4
- data/usps_flags.gemspec +1 -1
- data.tar.gz.sig +0 -0
- metadata +2 -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: ff1c062ab821a82996d4b73098d7b0a2378520ca
|
4
|
+
data.tar.gz: df060b9c6e0a9b1b41290f85de6c6466b14f2be8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 14add4b6186e17a6198c36cc5f81bc4dfcf634ecadc2f6e1569c859f86c47e894565d9fbb151a21ed2b57554960d9d6ee208b88b81506ffa1cd647184cc2ea5c
|
7
|
+
data.tar.gz: ad717b0dfb3e1919767436c7ae7e4df502fa21bf5a1e56d75c102c10c840161fa561e30c41ad1af3d493f2b6e08674728a3ac28790b852c0da3b251cfa8971d4
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/.gitignore
CHANGED
data/CONTRIBUTING.md
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
# Welcome!
|
2
|
+
|
3
|
+
Thank you for your interest in improving the USPSFlags generator!
|
4
|
+
|
5
|
+
Please feel free to ask about anything or submit an issue or pull request.
|
6
|
+
|
7
|
+
If you would like to submit a pull request, please use atomic (rather than squashed) commits.
|
8
|
+
|
9
|
+
## Contact
|
10
|
+
|
11
|
+
You can contact me via GitHub, Twitter, or email.
|
12
|
+
|
13
|
+
# License
|
14
|
+
|
15
|
+
This project is released under the [GPLv3](https://raw.github.com/jfiander/usps-flags/master/LICENSE). All images generated (other than the US Ensign) are [registered trademarks](http://www.usps.org/national/itcom/trademark.html) of United States Power Squadrons.
|
16
|
+
|
17
|
+
All contributions to this project will be released under the same license. By submitting a pull request, you agree to release your code under the same license.
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -35,6 +35,10 @@ Run `require 'usps_flags'` then `USPSFlags::Config.flags_dir "path/to/flags/dir"
|
|
35
35
|
- Officer insignia
|
36
36
|
- Official pennants
|
37
37
|
|
38
|
+
## Testing
|
39
|
+
|
40
|
+
Tests are written in Rspec. To run all specs in a cloned repo, run 'rake'.
|
41
|
+
|
38
42
|
## Generation
|
39
43
|
|
40
44
|
### All files
|
@@ -91,9 +95,9 @@ USPSFlags::Generate.png svg_data, outfile: nil, trim: false
|
|
91
95
|
- `outfile` is required, and specifies where to save the file.
|
92
96
|
- `trim` specifies whether to trim blank space from around the image. (This is ideal for generating insignia.)
|
93
97
|
|
94
|
-
##
|
98
|
+
## Constructing
|
95
99
|
|
96
|
-
You can also
|
100
|
+
You can also construct individual flags using the following syntax:
|
97
101
|
|
98
102
|
```ruby
|
99
103
|
f = USPSFlags.new do
|
@@ -131,6 +135,6 @@ gem install usps_flags -P HighSecurity
|
|
131
135
|
|
132
136
|
## License
|
133
137
|
|
134
|
-
Actual images generated (other than the US Ensign) are
|
138
|
+
Actual images generated (other than the US Ensign) are [registered trademarks](http://www.usps.org/national/itcom/trademark.html) of United States Power Squadrons.
|
135
139
|
|
136
|
-
This
|
140
|
+
This project is released under the [GPLv3](https://raw.github.com/jfiander/usps-flags/master/LICENSE).
|
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.1.
|
3
|
+
s.version = '0.1.18'
|
4
4
|
s.date = '2017-10-18'
|
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.'
|
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: usps_flags
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.18
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Julian Fiander
|
@@ -167,6 +167,7 @@ files:
|
|
167
167
|
- ".yardoc/objects/root.dat"
|
168
168
|
- ".yardoc/proxy_types"
|
169
169
|
- ".yardopts"
|
170
|
+
- CONTRIBUTING.md
|
170
171
|
- Gemfile
|
171
172
|
- Gemfile.lock
|
172
173
|
- LICENSE
|
metadata.gz.sig
CHANGED
Binary file
|