limited_red 0.3.11 → 0.3.12
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/limited_red/client.rb +4 -5
- data/lib/limited_red/version.rb +1 -1
- metadata +53 -61
data/lib/limited_red/client.rb
CHANGED
@@ -25,11 +25,10 @@ module LimitedRed
|
|
25
25
|
:version => LimitedRed::Version::STRING,
|
26
26
|
:token => token_for(data.merge(:build_id => build_id))})
|
27
27
|
|
28
|
-
|
28
|
+
@thread_pool.with_a_thread_run do
|
29
29
|
response = @adapter.post("/projects/#{@project_id}/builds/#{build_id}/results", :body => data)
|
30
|
-
p response
|
31
30
|
log(response) if error?(response)
|
32
|
-
|
31
|
+
end
|
33
32
|
end
|
34
33
|
|
35
34
|
def log_build(build_id, data)
|
@@ -38,10 +37,10 @@ module LimitedRed
|
|
38
37
|
:version => LimitedRed::Version::STRING,
|
39
38
|
:build_id => build_id, :token => token_for(data)})
|
40
39
|
|
41
|
-
|
40
|
+
@thread_pool.with_a_thread_run do
|
42
41
|
response = @adapter.post("/projects/#{@project_id}/builds", :body => data)
|
43
42
|
log(response) if response && error?(response)
|
44
|
-
|
43
|
+
end
|
45
44
|
end
|
46
45
|
|
47
46
|
def find_failing_features
|
data/lib/limited_red/version.rb
CHANGED
metadata
CHANGED
@@ -1,60 +1,57 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: limited_red
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
|
6
|
-
- 0
|
7
|
-
- 3
|
8
|
-
- 11
|
9
|
-
version: 0.3.11
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.3.12
|
5
|
+
prerelease:
|
10
6
|
platform: ruby
|
11
|
-
authors:
|
7
|
+
authors:
|
12
8
|
- Joseph Wilk
|
13
9
|
autorequire:
|
14
10
|
bindir: bin
|
15
11
|
cert_chain: []
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
dependencies:
|
20
|
-
- !ruby/object:Gem::Dependency
|
12
|
+
date: 2012-08-17 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
21
15
|
name: httparty
|
22
|
-
|
23
|
-
|
24
|
-
requirements:
|
25
|
-
- -
|
26
|
-
- !ruby/object:Gem::Version
|
27
|
-
segments:
|
28
|
-
- 0
|
29
|
-
- 8
|
30
|
-
- 1
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - '='
|
20
|
+
- !ruby/object:Gem::Version
|
31
21
|
version: 0.8.1
|
32
22
|
type: :runtime
|
33
|
-
version_requirements: *id001
|
34
|
-
- !ruby/object:Gem::Dependency
|
35
|
-
name: cucumber
|
36
23
|
prerelease: false
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - '='
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: 0.8.1
|
30
|
+
- !ruby/object:Gem::Dependency
|
31
|
+
name: cucumber
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
34
|
+
requirements:
|
35
|
+
- - ! '>='
|
36
|
+
- !ruby/object:Gem::Version
|
45
37
|
version: 1.1.4
|
46
38
|
type: :runtime
|
47
|
-
|
48
|
-
|
39
|
+
prerelease: false
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ! '>='
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: 1.1.4
|
46
|
+
description: Learn and adapt from you test metrics. Used with the www.limited-red.com
|
47
|
+
service. Tests are priorited by the probability of failure
|
49
48
|
email: joe@josephwilk.net
|
50
49
|
executables: []
|
51
|
-
|
52
50
|
extensions: []
|
53
|
-
|
54
|
-
extra_rdoc_files:
|
51
|
+
extra_rdoc_files:
|
55
52
|
- LICENSE
|
56
53
|
- README.md
|
57
|
-
files:
|
54
|
+
files:
|
58
55
|
- lib/limited_red/adapter/httparty.rb
|
59
56
|
- lib/limited_red/client.rb
|
60
57
|
- lib/limited_red/config.rb
|
@@ -69,35 +66,30 @@ files:
|
|
69
66
|
- lib/limited_red.rb
|
70
67
|
- LICENSE
|
71
68
|
- README.md
|
72
|
-
has_rdoc: true
|
73
69
|
homepage: http://www.limited-red.com
|
74
|
-
licenses:
|
70
|
+
licenses:
|
75
71
|
- MIT
|
76
72
|
post_install_message:
|
77
|
-
rdoc_options:
|
73
|
+
rdoc_options:
|
78
74
|
- --charset=UTF-8
|
79
|
-
require_paths:
|
75
|
+
require_paths:
|
80
76
|
- lib
|
81
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
requirements:
|
90
|
-
- -
|
91
|
-
- !ruby/object:Gem::Version
|
92
|
-
|
93
|
-
- 0
|
94
|
-
version: "0"
|
77
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
78
|
+
none: false
|
79
|
+
requirements:
|
80
|
+
- - ! '>='
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
84
|
+
none: false
|
85
|
+
requirements:
|
86
|
+
- - ! '>='
|
87
|
+
- !ruby/object:Gem::Version
|
88
|
+
version: '0'
|
95
89
|
requirements: []
|
96
|
-
|
97
90
|
rubyforge_project:
|
98
|
-
rubygems_version: 1.
|
91
|
+
rubygems_version: 1.8.24
|
99
92
|
signing_key:
|
100
93
|
specification_version: 3
|
101
94
|
summary: Client for www.limited-red.com service
|
102
95
|
test_files: []
|
103
|
-
|