Sha256: 4c41eb5b753737a56d0521343574f27c74911459e969316422101a005275e234
Contents?: true
Size: 743 Bytes
Versions: 5
Compression:
Stored size: 743 Bytes
Contents
require 'open-uri' class RubossConfigGenerator < RubiGen::Base include Ruboss4Ruby::Configuration def manifest record do |m| framework_release = Ruboss4Ruby::RUBOSS_FRAMEWORK_VERSION framework_distribution_url = "http://ruboss.com/releases/ruboss-#{framework_release}.swc" framework_destination_file = "lib/ruboss-#{framework_release}.swc" if !options[:skip_framework] && !File.exist?(framework_destination_file) puts "fetching #{framework_release} framework binary from: #{framework_distribution_url} ..." open(framework_destination_file, "wb").write(open(framework_distribution_url).read) puts "done. saved to #{framework_destination_file}" end end end end
Version data entries
5 entries across 5 versions & 2 rubygems