limited_red 0.4.7 → 0.4.8

Sign up to get free protection for your applications and to get access to all the features.
@@ -20,9 +20,7 @@ module LimitedRed
20
20
  if supports_feature_hash?
21
21
  json = feature_hash.to_json
22
22
 
23
- without_fakeweb do
24
- @client.log_result(@build_id, :result => json, :uri => feature_hash['uri'])
25
- end
23
+ @client.log_result(@build_id, :result => json, :uri => feature_hash['uri'])
26
24
  else
27
25
  puts "[limited_red]:Error: Having trouble working with your Gherkin version. Is it upto date? Report this to joe@josephwilk.net, its his fault.", ""
28
26
  end
@@ -33,10 +31,8 @@ module LimitedRed
33
31
  end
34
32
 
35
33
  def print_summary
36
- without_fakeweb do
37
- @client.log_build(@build_id, {:fails => failing_files,
34
+ @client.log_build(@build_id, {:fails => failing_files,
38
35
  :passes => passing_files})
39
- end
40
36
 
41
37
  ThreadPool.wait_for_all_threads_to_finish
42
38
  end
@@ -65,12 +61,6 @@ module LimitedRed
65
61
  @gf
66
62
  end
67
63
 
68
- def without_fakeweb
69
- FakeWeb.allow_net_connect = true if defined?(FakeWeb)
70
- yield
71
- FakeWeb.allow_net_connect = false if defined?(FakeWeb)
72
- end
73
-
74
64
  end
75
65
  end
76
66
  end
@@ -16,9 +16,7 @@ RSpec.configure do |config|
16
16
 
17
17
  metadata.add_exception(example.exception)
18
18
 
19
- without_fakeweb do
20
- CLIENT.log_fail_result(BUILD_ID, :uri => metadata.uri, :result => metadata.to_json)
21
- end
19
+ CLIENT.log_fail_result(BUILD_ID, :uri => metadata.uri, :result => metadata.to_json)
22
20
  else # Pass
23
21
  passes << metadata.file_and_line
24
22
  CLIENT.log_pass_result(BUILD_ID, :uri => metadata.uri, :result => metadata.to_json)
@@ -1,5 +1,5 @@
1
1
  module LimitedRed # :nodoc:
2
2
  module Version # :nodoc:
3
- STRING = '0.4.7'
3
+ STRING = '0.4.8'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: limited_red
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.7
4
+ version: 0.4.8
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2012-09-23 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: httparty
16
- requirement: &70312255803060 !ruby/object:Gem::Requirement
16
+ requirement: &70350256835760 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - =
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 0.8.1
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70312255803060
24
+ version_requirements: *70350256835760
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: cucumber
27
- requirement: &70312255802540 !ruby/object:Gem::Requirement
27
+ requirement: &70350256835240 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,7 +32,7 @@ dependencies:
32
32
  version: 1.1.4
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *70312255802540
35
+ version_requirements: *70350256835240
36
36
  description: Learn and adapt from you test metrics. Used with the www.limited-red.com
37
37
  service. Tests are priorited by the probability of failure
38
38
  email: joe@josephwilk.net