Sha256: ca18819d8c545a7e45b6bfb3c56758a896d45517623d6d6c030259d39dec3956
Contents?: true
Size: 719 Bytes
Versions: 1
Compression:
Stored size: 719 Bytes
Contents
#!/usr/bin/env rake require "bundler/gem_tasks" namespace :test do desc "Install an empty config file for testing iremix" task :config do unless File.exists?('spec/support/iremix_config.rb') system "mkdir spec/support" unless File.directory?('spec/support') file = File.open('spec/support/iremix_config.rb', 'w') do |f| f.write <<-CODE require 'iremix' HYDRA = Typhoeus::Hydra.new key = 'fill in your key' secret = 'fill in your secret' protocol = 'http://' host = 'dev.iremix.me' Iremix::Config.hydra = HYDRA Iremix::Config.consumer_key = key Iremix::Config.consumer_secret = secret Iremix::Config.protocol = protocol Iremix::Config.host = host CODE end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
iremix-ruby-0.0.1 | Rakefile |