results_keeper_rspec 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/results_keeper_rspec.rb +3 -6
  3. metadata +8 -8
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 13493f8995a21d5c64155dcea66c093c8a534247
4
- data.tar.gz: 0c87e74790883e2afe40b2ad7791570941eb2eaa
3
+ metadata.gz: 88e0148433349bed5f71bd8de80b772c810b86fd
4
+ data.tar.gz: 18d79328b1f0c2e38be8b57805fb5dd263b81957
5
5
  SHA512:
6
- metadata.gz: 12e0f787e9e2d76c1d4476a3d1a4adbcef26908986324ab6d65a5392717fa16ed634a06eb904f096d9d8b0d2c9fe2f6868b5d1b54fffeceb04303f168d2039c8
7
- data.tar.gz: a0d84baf93866e121da31b4b9600360ab5449b41aafd67594025d4a696e81edeca18e62d0d1dd619f9e33ff23b8cebcdade2ca2212edeab1d489c8b3c069116d
6
+ metadata.gz: 6df7c7111dd05d3c38d5a8c46af44eb2b44ab4e6dd6ae0591b1904a3ad9830c66a9181d04abb712881edb801fd60904a75a520b88e876b115b86991ec83bf6cc
7
+ data.tar.gz: ce21a631a988f299c0d2cf559cca36ffce3a438c9c99630aa1b5380c46e9d0727cc54e27d8f0a0b9dfc0c8baee6bd5ed1daba65abefa76778030cdc320fa947e
@@ -73,12 +73,9 @@ class ResultsKeeperRspec
73
73
 
74
74
  def send_screenshot(screenshot_path)
75
75
  if ENV['SEND_SCREENSHOTS']
76
- t1 = Thread.new do
77
- params = { project: @revision['project_id'], revision: @revision['revision_id'], test: @test['id'] }
78
- RestClient.post("http://#{@host}:#{@port}/api/tests/upload_screenshot",
79
- :name_of_file_param => File.new(screenshot_path), :body => params)
80
- end
81
- t1.join
76
+ params = { project: @revision['project_id'], revision: @revision['revision_id'], test: @test['id'] }
77
+ RestClient.post("http://#{@host}:#{@port}/api/tests/upload_screenshot",
78
+ :name_of_file_param => File.new(screenshot_path), :body => params)
82
79
  File.delete(screenshot_path)
83
80
  end
84
81
  end
metadata CHANGED
@@ -1,41 +1,41 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: results_keeper_rspec
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ivan Kozakov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-03-28 00:00:00.000000000 Z
11
+ date: 2016-03-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: flickraw
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ">="
17
+ - - '>='
18
18
  - !ruby/object:Gem::Version
19
19
  version: '0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ">="
24
+ - - '>='
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rest-client
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ">="
31
+ - - '>='
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ">="
38
+ - - '>='
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  description: Results Keeper is a application which can help you to track and manage
@@ -57,12 +57,12 @@ require_paths:
57
57
  - lib
58
58
  required_ruby_version: !ruby/object:Gem::Requirement
59
59
  requirements:
60
- - - ">="
60
+ - - '>='
61
61
  - !ruby/object:Gem::Version
62
62
  version: '0'
63
63
  required_rubygems_version: !ruby/object:Gem::Requirement
64
64
  requirements:
65
- - - ">="
65
+ - - '>='
66
66
  - !ruby/object:Gem::Version
67
67
  version: '0'
68
68
  requirements: []