sauce_whisk 0.0.7 → 0.0.8

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- Mjk5OWJjYTU5ZDI4Nzc2NWI1MzliODZkNzQyNWI0YmNiNDUzM2U1YQ==
4
+ ZWVmNTYxMjQxNzdjYTRmMWQwNjIxNTFhZjQwYjM1M2IxZWMzNzkzYQ==
5
5
  data.tar.gz: !binary |-
6
- ZWY3ZWY5ZDk4ZTlmYTM1NmUxYjFmMmYwMGI3YTdmZDU5YzJjZWI5Yw==
6
+ ZDVlOTFhNWEwYzM2OWI4MTM2Y2I5YTJhZmYyMTRmNDdhZDljMTIwOQ==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- M2NkNmY3ZGY4OTM0YTI5YTBkZTVmZWY5ZGFiZGE3NGI5ZGIyZDRmNzBlYjVk
10
- ODIxMTJjYzQzZTNkMjcyNGFjYTJkNWMzYzY4NjRmZjI4NWM4OGUwZTNlMzZl
11
- MmU5MDM4NDkwYTU3ZjFlNTczY2ZjMTdjODZmZDZkYzJmMTkzNGI=
9
+ ZTdlMzRiMTk1ZTljM2Q3ODhmMGNiZDcwMzE2ZDAwZTkyYTE4Y2ZkYTdmMzdh
10
+ YTBiNWMzOWIxNzA3NWJmMTk5OWQzMDhlNzJkMGI4NTU5NmRjYzM0Yzc3ODY3
11
+ ODMxMTc4MjdiMWYyMjM0Mzc2NDEzYjUxYjcyODZjZmUxNWFjMDQ=
12
12
  data.tar.gz: !binary |-
13
- MDA0YzI3MWYzMzExYjk5NGUxYTQwM2UwMTc4MmJhOWU3ZTJmYTYyMmRmNWE1
14
- N2UyNGJmOTljYTZiZWI3N2M1MDc5ODgxYmUyMmRhNmM3YTUxMWYzNDVjYzg3
15
- YzQxZDE5YzI4ODFmNGMyYjY5OTU0MzliMzc3YzJmNWIxOTZlZDA=
13
+ Y2ZmZmM3ZWFlODljZDI0NGI1YTU1NjhkNmQxNmZhMDI2YmMxZmFiOWZjOGJh
14
+ YjQ4M2Y5OGQ2MzE5NjJmOTQxNmFhYTRhMjU1ZGE1NDAyZTkzYWYzNDIzMTNk
15
+ MDI4OGYwNGUxYjRjZTU3YmQyMjhlNmU3YjJiMTY3ODA0ZDYxOTg=
data/Gemfile CHANGED
@@ -2,8 +2,8 @@ source 'https://rubygems.org'
2
2
 
3
3
  gem "pry"
4
4
 
5
- group :test do
6
- gem 'psych', "2.0.0", :path => "./vendor/psych"
7
- end
5
+ #group :test do
6
+ # gem 'psych', "2.0.0", :path => "./vendor/psych"
7
+ #end
8
8
 
9
9
  gemspec
data/changelog.markdown CHANGED
@@ -1,4 +1,7 @@
1
1
  # Major Version 0
2
+ ### 0.0.8
3
+ * Correctly read Sauce Config
4
+
2
5
  ### 0.0.6
3
6
  * Correct RestClient -- Actually require it
4
7
  ### 0.0.5
@@ -18,7 +18,7 @@ module SauceWhisk
18
18
  def self.change_status(job_id, status)
19
19
  put job_id, {"passed" => status}.to_json
20
20
  rescue StandardError => e
21
- SauceWhisk.logger "Unable to change_status for #{job_id} to #{status}\nReason: #{e.to_s}"
21
+ SauceWhisk.logger.puts "Unable to change_status for #{job_id} to #{status}\nReason: #{e.to_s}"
22
22
  end
23
23
 
24
24
  def self.pass_job(job_id)
@@ -1,3 +1,3 @@
1
1
  module SauceWhisk
2
- VERSION = "0.0.7"
2
+ VERSION = "0.0.8"
3
3
  end
data/lib/sauce_whisk.rb CHANGED
@@ -16,7 +16,7 @@ module SauceWhisk
16
16
 
17
17
  def self.username
18
18
  if defined? ::Sauce
19
- return Sauce.get_config.username
19
+ return ::Sauce::Config.new[:username]
20
20
  else
21
21
  return ENV["SAUCE_USERNAME"]
22
22
  end
@@ -24,7 +24,7 @@ module SauceWhisk
24
24
 
25
25
  def self.password
26
26
  if defined? ::Sauce
27
- return Sauce.get_config.password
27
+ return ::Sauce::Config.new[:access_key]
28
28
  else
29
29
  return ENV["SAUCE_ACCESS_KEY"]
30
30
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sauce_whisk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dylan Lacey
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-06-19 00:00:00.000000000 Z
11
+ date: 2013-06-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client