Skip to content

Instantly share code, notes, and snippets.

View chukitow's full-sized avatar

Ivan velasquez chukitow

View GitHub Profile
@TheNaoX
TheNaoX / generate_sdk_files.rb
Last active August 29, 2015 14:14
Generate unfingerprinted version of assets and uploading them to s3
class GenerateSDKFiles
FILE_NAMES = [ "application.js" ]
ONE_HOUR = 3600
def generate
Rails.logger.info "Started to sync libraries #{FILE_NAMES}"
FILE_NAMES.each do |file_name|