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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bcc5c2d1d3af457ac21d1d823be9d08e3ae5c90a
4
- data.tar.gz: fbb39e52e2132a0c92361a579d9305f6c898828d
3
+ metadata.gz: a9d96230c4ec2e7cd7dda750c2b19bdc27eb79f4
4
+ data.tar.gz: 84efebaba3b2ae4671bc7c77ccab7a05acd859f7
5
5
  SHA512:
6
- metadata.gz: a6939e8936b8542545f230dec0c742617570a58a3edaae1fffc90a9caa14567a7d01c272875d96b25ead520057feb04260cbadcf8ddcff432da7767c0a1b74a2
7
- data.tar.gz: e5982947979f0c3e44fa74d18e29d90a10fe2e72de073bef007c0f34cfd1479c40e62feedb0a993448fc8bf42f9a5bb44559e6222246f79bc66575b55b41e022
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.6)
5
- usps_flags (~> 0.3, >= 0.3.9)
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.9)
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 = USPSFlags::Config.flags_dir
14
- c.reset = USPSFlags::Config.reset
15
- c.use_larger_tridents = USPSFlags::Config.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? # This appears to be overwriting the parent variables with defaults
21
+ yield self if block_given?
18
22
  @@burgees_dir = @burgees_dir
19
23
  end
20
24
 
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'usps_flags-burgees'
3
- s.version = '0.0.7'
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
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: usps_flags-burgees
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Julian Fiander
metadata.gz.sig CHANGED
Binary file