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.
- checksums.yaml +4 -4
- data/lib/results_keeper_rspec.rb +3 -6
- metadata +8 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 88e0148433349bed5f71bd8de80b772c810b86fd
|
4
|
+
data.tar.gz: 18d79328b1f0c2e38be8b57805fb5dd263b81957
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6df7c7111dd05d3c38d5a8c46af44eb2b44ab4e6dd6ae0591b1904a3ad9830c66a9181d04abb712881edb801fd60904a75a520b88e876b115b86991ec83bf6cc
|
7
|
+
data.tar.gz: ce21a631a988f299c0d2cf559cca36ffce3a438c9c99630aa1b5380c46e9d0727cc54e27d8f0a0b9dfc0c8baee6bd5ed1daba65abefa76778030cdc320fa947e
|
data/lib/results_keeper_rspec.rb
CHANGED
@@ -73,12 +73,9 @@ class ResultsKeeperRspec
|
|
73
73
|
|
74
74
|
def send_screenshot(screenshot_path)
|
75
75
|
if ENV['SEND_SCREENSHOTS']
|
76
|
-
|
77
|
-
|
78
|
-
|
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.
|
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-
|
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: []
|