sauce 0.18.2 → 0.18.3
Sign up to get free protection for your applications and to get access to all the features.
- data/generators/sauce/sauce_generator.rb +1 -1
- data/sauce.gemspec +1 -1
- metadata +3 -3
@@ -5,7 +5,7 @@ class SauceGenerator < Rails::Generator::Base
|
|
5
5
|
def initialize(runtime_args, runtime_options = {})
|
6
6
|
config = Sauce::Config.new
|
7
7
|
if config.username.nil? || config.access_key.nil?
|
8
|
-
if runtime_args.size
|
8
|
+
if runtime_args.size < 2
|
9
9
|
puts "No username or API key specified. Assuming you're using Heroku Sauce"
|
10
10
|
else
|
11
11
|
system("sauce config #{runtime_args[0]} #{runtime_args[1]}")
|
data/sauce.gemspec
CHANGED
metadata
CHANGED