testswarm-client 0.2.0 → 0.2.1

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.
@@ -13,11 +13,11 @@ module TestSwarm
13
13
 
14
14
  def payload(job, params = {})
15
15
  cgi = {
16
- 'action' => 'addjob',
17
- 'authUsername' => @name,
18
- 'authToken' => @options[:auth],
19
- 'jobName' => params[:name],
20
- 'runMax' => params[:max] || DEFAULT_MAX
16
+ 'action' => 'addjob',
17
+ 'authID' => @name,
18
+ 'authToken' => @options[:auth],
19
+ 'jobName' => params[:name],
20
+ 'runMax' => params[:max] || DEFAULT_MAX
21
21
  }
22
22
 
23
23
  query = ''
@@ -15,8 +15,8 @@ describe TestSwarm::Project do
15
15
  it "returns CGI-encoded data to be submitted to the server" do
16
16
  project.payload(job, :name => "Job Name").should == [
17
17
  "action=addjob",
18
+ "authID=skweb",
18
19
  "authToken=123abc",
19
- "authUsername=skweb",
20
20
  "jobName=Job+Name",
21
21
  "runMax=1",
22
22
  "browserSets[]=all",
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: testswarm-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-01-02 00:00:00.000000000 Z
12
+ date: 2013-06-30 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: fakeweb
@@ -84,4 +84,3 @@ signing_key:
84
84
  specification_version: 3
85
85
  summary: Client library for Mozilla TestSwarm
86
86
  test_files: []
87
- has_rdoc: