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

Version Path
testingbot-0.1.7 bin/testingbot
testingbot-0.1.6 bin/testingbot
testingbot-0.1.5 bin/testingbot
testingbot-0.1.4 bin/testingbot
testingbot-0.1.3 bin/testingbot
testingbot-0.1.2 bin/testingbot
testingbot-0.1.1 bin/testingbot
testingbot-0.1.0 bin/testingbot
testingbot-0.0.9 bin/testingbot
testingbot-0.0.8 bin/testingbot
testingbot-0.0.7 bin/testingbot
testingbot-0.0.6 bin/testingbot
testingbot-0.0.5 bin/testingbot
testingbot-0.0.4 bin/testingbot
testingbot-0.0.2 bin/testingbot