Sha256: 96921e17f1d8ce34068babafa60d2d55d6c36d22b35a63de4f6fe72b1515b55c
Contents?: true
Size: 772 Bytes
Versions: 2
Compression:
Stored size: 772 Bytes
Contents
require 'open-uri' class RxConfigGenerator < RubiGen::Base include RestfulX::Configuration def manifest record do |m| framework_release = RestfulX::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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
restfulx-1.3.1 | rxgen_generators/rx_config/rx_config_generator.rb |
restfulx-1.3.0 | rxgen_generators/rx_config/rx_config_generator.rb |