sauce_whisk 0.2.2 → 0.3.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b4ba57b3ef6871946459e938ca0ec2c4ce6b768a
4
- data.tar.gz: 56b1374f459c02c1b462efe3da7a26cbb09b5e68
3
+ metadata.gz: 90cb9dbe4266fabab40f60da2f5bdbe3c6f354fe
4
+ data.tar.gz: 7fb0cf509ab60486ff950c8dd74fd77e5506c887
5
5
  SHA512:
6
- metadata.gz: e6b1cbaffdd9e2c4790c8fe3ea4b5b7be3fb2557b018f9798228d3d06b57e267ad3e54d8d73242bde866210dda1ec9988b7d15537e35b52849da42683edf59e5
7
- data.tar.gz: 383483e7a75c2da27ea6966bcd7f4e0aab3557bc0af3d3b6a05ccafe5ed3284c6f801a56818d452d3badb146c2d0bfe645f3c7446a438566d860174899dc4d4d
6
+ metadata.gz: c86f6d6572173fec8cce303c49668fa80a59dea66e3473936e0ffaf6c6877dc83f3096a7b0247de214aeba9ff2fd8d6826a63bac1531b81e8aac438a75c8d5fb
7
+ data.tar.gz: 017ef365807713a07732d569d31bb4134250bcb8c9b5e13c0534a324b048d74afa1d6cabc057d158cb6cf3a8cfc5de874b3bfda9a586023eabde2883e4bcff10
data/README.md CHANGED
@@ -32,6 +32,7 @@ As Sauce Labs now has two data centers, you'll need to select the DC your accoun
32
32
  Choose `:EU_VDC` for the European Data Center.
33
33
  Choose `:US_WEST` for the US West Coast Data Center.
34
34
  Choose `:US_EAST` for the US East Coast Data Center (currently only in use with Headless).
35
+ Choose `:APAC` for the Australian Data Center.
35
36
 
36
37
  Read more about the data center options [here](https://wiki.saucelabs.com/display/DOCS/Accessing+the+API).
37
38
 
@@ -81,6 +82,9 @@ SAUCE_ACCESS_KEY=Your Access Key, found on the lower left of your Account page
81
82
  ### HTTP Proxies
82
83
  To configure a proxy, set the 'HTTP_PROXY' or 'http_proxy' environment variable. Proxies need to be a valid URI; HTTP Authentication can be included.
83
84
 
85
+ ## Support
86
+ For support, please visit [The Sauce Labs Community Hub](https://community.saucelabs.com)
87
+
84
88
  ## Usage
85
89
 
86
90
  ### Marking jobs passed or failed
@@ -1,3 +1,3 @@
1
1
  module SauceWhisk
2
- VERSION = "0.2.2"
2
+ VERSION = "0.3.2"
3
3
  end
data/lib/sauce_whisk.rb CHANGED
@@ -21,6 +21,8 @@ module SauceWhisk
21
21
  "https://us-east-1.saucelabs.com/rest/v1"
22
22
  when :EU_VDC
23
23
  "https://eu-central-1.saucelabs.com/rest/v1"
24
+ when :APAC
25
+ "https://apac-southeast-1.saucelabs.com/rest/v1"
24
26
  else
25
27
  raise ::ArgumentError.new "No Data Center Selected (Which should not happen?)"
26
28
  end
@@ -99,7 +101,7 @@ module SauceWhisk
99
101
 
100
102
  ucdc = dc.to_s.upcase.to_sym
101
103
 
102
- if ![:EU_VDC, :US_EAST, :US_WEST].include? ucdc
104
+ if ![:EU_VDC, :US_EAST, :US_WEST, :APAC].include? ucdc
103
105
  raise ::ArgumentError.new("Invalid data center requested: #{ucdc}. Value values are :EU_VDC, :US_EAST and :US_WEST.")
104
106
  end
105
107
 
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.2.2
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dylan Lacey
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-08-09 00:00:00.000000000 Z
11
+ date: 2022-03-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client
@@ -127,7 +127,7 @@ homepage: http://www.github.com/saucelabs/sauce_whisk
127
127
  licenses:
128
128
  - MIT
129
129
  metadata: {}
130
- post_install_message:
130
+ post_install_message:
131
131
  rdoc_options: []
132
132
  require_paths:
133
133
  - lib
@@ -142,9 +142,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
142
142
  - !ruby/object:Gem::Version
143
143
  version: '0'
144
144
  requirements: []
145
- rubyforge_project:
146
- rubygems_version: 2.6.11
147
- signing_key:
145
+ rubyforge_project:
146
+ rubygems_version: 2.6.8
147
+ signing_key:
148
148
  specification_version: 4
149
149
  summary: Sauce_Whisk lets you mix extra data into your Sauce test results! Fetch and
150
150
  update Job details, screenshots, videos and logs.