Sha256: 5c231d134009603fb515b0e5da1b8dd9db2566c7cd97b8510256acdfd2352c58
Contents?: true
Size: 782 Bytes
Versions: 7
Compression:
Stored size: 782 Bytes
Contents
require 'open-uri' class RxConfigGenerator < RubiGen::Base include RestfulX::Configuration def manifest record do |m| framework_release = RestfulX::FRAMEWORK_VERSION framework_distribution_url = "http://restfulx.github.com/releases/restfulx-#{framework_release}.swc" framework_destination_file = "lib/restfulx-#{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 m.dependency 'rx_controller', @args end end end
Version data entries
7 entries across 7 versions & 4 rubygems