lib/usps_flags.rb in usps_flags-0.1.22 vs lib/usps_flags.rb in usps_flags-0.1.23
- old
+ new
@@ -5,13 +5,19 @@
class USPSFlags
require 'fileutils'
require 'zip'
require 'mini_magick'
require 'rational'
+
require 'usps_flags/config'
require 'usps_flags/helpers'
require 'usps_flags/core'
require 'usps_flags/generate'
+
+ # Dir['./lib/usps_flags/core/**'].map { |d| d.split("/").last.split(".rb").first }
+ %w[anchor binoculars ensign field footer headers lighthouse pennant star trident trident_spec trumpet us wheel].each do |d|
+ require "usps_flags/core/#{d}"
+ end
# Constructor for individual flags.
#
# @example Generate insignia at default scale for Lt/C
# f = USPSFlags.new do