Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Whoops...got my logic inverted

  • Loading branch information...
commit 1eed84cd16b5dce2ebf8d070890de392593e5517 1 parent 7e8b1b9
Eric Allen epall authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  generators/sauce/sauce_generator.rb
  2. +1 −1  sauce.gemspec
2  generators/sauce/sauce_generator.rb
View
@@ -5,7 +5,7 @@ class SauceGenerator < Rails::Generator::Base
def initialize(runtime_args, runtime_options = {})
config = Sauce::Config.new
if config.username.nil? || config.access_key.nil?
- if runtime_args.size >= 2
+ if runtime_args.size < 2
puts "No username or API key specified. Assuming you're using Heroku Sauce"
else
system("sauce config #{runtime_args[0]} #{runtime_args[1]}")
2  sauce.gemspec
View
@@ -2,7 +2,7 @@
Gem::Specification.new do |s|
s.name = %q{sauce}
- s.version = "0.18.2"
+ s.version = "0.18.3"
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Eric Allen", "Sean Grove", "Steven Hazel"]
Please sign in to comment.
Something went wrong with that request. Please try again.