sauce 0.15.0.alpha.1 → 0.15.0.alpha.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5,8 +5,8 @@ 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 != 2
9
- raise "Usage: #{$0} sauce <USERNAME> <ACCESS_KEY>"
8
+ if runtime_args.size >= 2
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]}")
12
12
  end
data/sauce.gemspec CHANGED
@@ -2,11 +2,11 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{sauce}
5
- s.version = "0.15.0.alpha.1"
5
+ s.version = "0.15.0.alpha.2"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Sean Grove", "Eric Allen", "Steven Hazel"]
9
- s.date = %q{2011-01-26}
9
+ s.date = %q{2011-01-31}
10
10
  s.default_executable = %q{sauce}
11
11
  s.description = %q{A Ruby interface to Sauce Labs' services. Start/stop tunnels, retrieve Selenium logs, access video replays, etc.}
12
12
  s.email = %q{help@saucelabs.com}
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sauce
3
3
  version: !ruby/object:Gem::Version
4
- hash: -3702664274
4
+ hash: -3702664280
5
5
  prerelease: 7
6
6
  segments:
7
7
  - 0
8
8
  - 15
9
9
  - 0
10
10
  - alpha
11
- - 1
12
- version: 0.15.0.alpha.1
11
+ - 2
12
+ version: 0.15.0.alpha.2
13
13
  platform: ruby
14
14
  authors:
15
15
  - Sean Grove
@@ -19,7 +19,7 @@ autorequire:
19
19
  bindir: bin
20
20
  cert_chain: []
21
21
 
22
- date: 2011-01-26 00:00:00 -08:00
22
+ date: 2011-01-31 00:00:00 -08:00
23
23
  default_executable: sauce
24
24
  dependencies:
25
25
  - !ruby/object:Gem::Dependency