Sha256: 9c4136c15112b43f2280f35cce136fe2fd39bbb4518bc0d6d6b1ca82ecb4d212
Contents?: true
Size: 480 Bytes
Versions: 4
Compression:
Stored size: 480 Bytes
Contents
class Updater module Images def update_image_assets log_status 'Updating images...' save_to = @save_to[:images] contents = {} tabler_image_files = get_paths_by_type('src/assets/images', /\.(?:svg|png|gif|jpg|jpeg)$/) read_files('src/assets/images', tabler_image_files).each do |name, file| contents[name] = file save_file("#{save_to}/#{name}", file) end log_processed "#{tabler_image_files * ' '}" end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
tabler-rubygem-0.1.4 | tasks/updater/images.rb |
tabler-rubygem-0.1.3 | tasks/updater/images.rb |
tabler-rubygem-0.1.2 | tasks/updater/images.rb |
tabler-rubygem-0.1.1 | tasks/updater/images.rb |