Sha256: 40aa2dc554f063decbb392bd28eba003924928f255150b26efc028c7cb4b8740
Contents?: true
Size: 579 Bytes
Versions: 15
Compression:
Stored size: 579 Bytes
Contents
#!/usr/bin/env ruby if ARGV.any? api_key, api_secret = ARGV.first.split(':') else p "This utility will help you set up your system to use testingbot.com's infrastructure." p "Once you have entered your api key and secret you will be ready to use our grid" p "Please enter your testingbot API KEY:" api_key = gets.chomp p "Please enter your testingbot API SECRET:" api_secret = gets.chomp end File.open(File.expand_path("~/.testingbot"), 'w') {|f| f.write("#{api_key}:#{api_secret}") } p "Your system is now ready to use testingbot.com's grid infrastructure."
Version data entries
15 entries across 15 versions & 1 rubygems