mini_autobot 0.5.0 → 0.6.0

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: e3d3f8c199d91925344353710e03c578672d7b81
4
- data.tar.gz: a382bb4d189785fdd3bc0246fea2f9932bcb4c31
3
+ metadata.gz: 375e8e003a97b43d1c639877d97766003a767cdc
4
+ data.tar.gz: 4dabbc2febe6d98b6599733e201b30d7ee1e1d3c
5
5
  SHA512:
6
- metadata.gz: 1ff48851c618fc2ded94312117c6f158ffc3ab3b2c579d24f53a9ea5a678c15abccbd1b6c32cb541b10a227c8208e5f968444a69b72fdf955730add380cd99ca
7
- data.tar.gz: 290267038060aa30ce6da5d93ac7558b4b76fabc6b2fa1b8e72373cfcf371491ee5ccf514048e99da4a498ecb3b99805f7278ca3f100fd263967536a41152f96
6
+ metadata.gz: 2af148d816590b65acea3f074cc76cdcfbe080aa00bc42e6f65dac1e318cb8a88e864f2613657cecc66245053e4dd0857f32425072128703ffc7a274595d8497
7
+ data.tar.gz: 146fadf5c55476a8955ad5da9f6a93629d2f546b5cfe08032d74a1475755b5748a086023946da94c4d8adf0b703d36bea6d6ea46a13fb9b4b04e31b3c34a56e6
@@ -128,10 +128,13 @@ module MiniAutobot
128
128
  end
129
129
  end
130
130
 
131
- # Update SauceLabs session(job) name
131
+ # Update SauceLabs session(job) name and build number/name
132
132
  def update_sauce_session_name
133
133
  http_auth = MiniAutobot.settings.sauce_session_http_auth(@driver)
134
- body = { "name" => name() }
134
+ body = { 'name' => name() }
135
+ unless (build_number = ENV['JENKINS_BUILD_NUMBER']).nil?
136
+ body['build'] = build_number
137
+ end
135
138
  RestClient.put(http_auth, body.to_json, {:content_type => "application/json"})
136
139
  end
137
140
 
@@ -1,3 +1,3 @@
1
1
  module MiniAutobot
2
- VERSION = '0.5.0'
2
+ VERSION = '0.6.0'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mini_autobot
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ripta Pasay
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2015-12-29 00:00:00.000000000 Z
13
+ date: 2016-01-13 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: activesupport