sauce 0.12.3 → 0.12.4

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.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.12.3
1
+ 0.12.4
data/bin/sauce CHANGED
@@ -25,7 +25,7 @@ else
25
25
  configure = CmdParse::Command.new('configure', false)
26
26
  configure.short_desc = "Configure Sauce OnDemand credentials"
27
27
  configure.set_execution_block do |args|
28
- if args.length < 2:
28
+ if args.length < 2
29
29
  puts "Usage: sauce configure USERNAME ACCESS_KEY"
30
30
  exit 1
31
31
  end
@@ -8,6 +8,10 @@ class SauceGenerator < Rails::Generators::Base
8
8
  copy_file "sauce.rake", "lib/tasks/sauce.rake"
9
9
  end
10
10
 
11
+ def configure_credentials
12
+ system("sauce config #{username} #{api_key}")
13
+ end
14
+
11
15
  def setup_spec
12
16
  if File.directory? 'spec'
13
17
  empty_directory "spec/selenium"
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sauce
3
3
  version: !ruby/object:Gem::Version
4
- hash: 41
4
+ hash: 39
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 12
9
- - 3
10
- version: 0.12.3
9
+ - 4
10
+ version: 0.12.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - Sean Grove
@@ -16,7 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2010-12-16 00:00:00 -08:00
19
+ date: 2010-12-17 00:00:00 -08:00
20
20
  default_executable: sauce
21
21
  dependencies:
22
22
  - !ruby/object:Gem::Dependency