usps_flags-burgees 0.0.7 → 0.0.8
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/Gemfile.lock +3 -3
- data/lib/usps_flags/burgees/config.rb +8 -4
- data/usps_flags-burgees.gemspec +1 -1
- data.tar.gz.sig +0 -0
- 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: a9d96230c4ec2e7cd7dda750c2b19bdc27eb79f4
|
4
|
+
data.tar.gz: 84efebaba3b2ae4671bc7c77ccab7a05acd859f7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f73ed8e9f2284807ad85620a98fec987f9547404296621628122d8af15bbbca1c92666f0eff8a3ccfb9235efb62013c09301dd6d3a356f4f88112c3b635d3a91
|
7
|
+
data.tar.gz: 59cf106b71371dd4a0f31712bd00495691ab422cb82173eb363a29a90a9210d46a34d89729e69c534c9fe2fbaaaf0156665f393882596256c60eb7b2569a96e9
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/Gemfile.lock
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
usps_flags-burgees (0.0.
|
5
|
-
usps_flags (~> 0.3, >= 0.3.
|
4
|
+
usps_flags-burgees (0.0.8)
|
5
|
+
usps_flags (~> 0.3, >= 0.3.10)
|
6
6
|
|
7
7
|
GEM
|
8
8
|
remote: https://rubygems.org/
|
@@ -34,7 +34,7 @@ GEM
|
|
34
34
|
json (>= 1.8, < 3)
|
35
35
|
simplecov-html (~> 0.10.0)
|
36
36
|
simplecov-html (0.10.2)
|
37
|
-
usps_flags (0.3.
|
37
|
+
usps_flags (0.3.10)
|
38
38
|
file_utils (~> 1.1, >= 1.1.2)
|
39
39
|
mini_magick (~> 4.8, >= 4.8.0)
|
40
40
|
rubyzip (~> 1.2, >= 1.2.1)
|
@@ -4,17 +4,21 @@
|
|
4
4
|
class USPSFlags::Config
|
5
5
|
@@burgees_dir ||= defined?(::Rails) ? "#{::Rails.root}/app/lib/usps-burgees" : "#{File.dirname(__dir__)}/output"
|
6
6
|
|
7
|
+
@@flags_dir ||= USPSFlags::Config.flags_dir
|
8
|
+
@@reset ||= USPSFlags::Config.reset
|
9
|
+
@@use_larger_tridents ||= USPSFlags::Config.use_larger_tridents
|
10
|
+
|
7
11
|
attr_accessor :burgees_dir
|
8
12
|
|
9
13
|
alias :parent_initialize :initialize
|
10
14
|
def initialize
|
11
15
|
@burgees_dir = @@burgees_dir
|
12
16
|
parent_initialize do |c|
|
13
|
-
c.flags_dir =
|
14
|
-
c.reset =
|
15
|
-
c.use_larger_tridents =
|
17
|
+
c.flags_dir = @@flags_dir
|
18
|
+
c.reset = @@reset
|
19
|
+
c.use_larger_tridents = @@use_larger_tridents
|
16
20
|
end
|
17
|
-
yield self if block_given?
|
21
|
+
yield self if block_given?
|
18
22
|
@@burgees_dir = @burgees_dir
|
19
23
|
end
|
20
24
|
|
data/usps_flags-burgees.gemspec
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = 'usps_flags-burgees'
|
3
|
-
s.version = '0.0.
|
3
|
+
s.version = '0.0.8'
|
4
4
|
s.date = '2017-11-08'
|
5
5
|
s.summary = 'Flag generator for United States Power Squadrons burgees'
|
6
6
|
s.description = 'An extension to the flag image (PNG, SVG) generator for United States Power Squadrons to generate burgees.'
|
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
metadata.gz.sig
CHANGED
Binary file
|