build_metrics_logger 0.0.13 → 0.0.14

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/build_metrics_logger.rb +0 -10
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1889f5e530180cd1d423f9a7a4e141d4af271d55
4
- data.tar.gz: 0efe259fc5d5160a2a56109b16b31cbc9959b5ac
3
+ metadata.gz: 9f546f9277f86ed0c07f2eb65988caedf2f37d89
4
+ data.tar.gz: 12f1f20f838d9b26677385b2659cc1eecb4260ed
5
5
  SHA512:
6
- metadata.gz: d3ec8e5e981fba709303a9fb87cb4da304d5d30ee2b68c6fc16eaf78d7199bfbb969d9ae644fec84ca67d0dbc72f63eca57ef1add0c0a02b7308a38d6603acad
7
- data.tar.gz: eecc979901f08c2683433bf708342c2edb638a8494ece9c567fad00385eaa7a0b42c389cee42147dcb072fb2725c0372961335b4293e967dd593677e6b0d3f18
6
+ metadata.gz: 46bc0ca68ab4287435d50300339b1fc875c0f9493321936e3699bc0da3b975989b3cce299e9ea7cbc6977dcec47e75ac5fd93b59e5892eb461d73356abc1f185
7
+ data.tar.gz: 811d3a18abc4c80bdee37564beeae1ffc2cf24ed7ae25394b10e4625eed9ad7687de58e1bcf5b734e3637689884cc6dff6eb0996b5039a2c87cccd52143face3
@@ -6,24 +6,15 @@ class BuildMetricsLogger
6
6
  @build_id = ENV.fetch('BUILD_METRICS_LOGGER_ID')
7
7
  end
8
8
 
9
- def start(notification)
10
- # "**Running before the entire suite**"
11
- end
12
-
13
9
  def dump_summary(notification)
14
- # "**Running after the entire suite finishes**"
15
10
  suite_finished(notification)
16
11
  end
17
12
 
18
13
  def example_passed(notification)
19
- # "**This example passed. Neat!**"
20
-
21
14
  example_finished(notification)
22
15
  end
23
16
 
24
17
  def example_failed(notification)
25
- # "**This example failed :(**"
26
-
27
18
  example_finished(notification)
28
19
  end
29
20
 
@@ -33,7 +24,6 @@ class BuildMetricsLogger
33
24
  description = notification.example.full_description.to_s
34
25
  location = notification.example.location.to_s
35
26
  passed = notification.example.execution_result.status.to_s == 'passed' ? true : false
36
- # prev_result = notification.example.metadata[:last_run_status].to_s
37
27
  time = notification.example.execution_result.run_time.to_s
38
28
  exception = notification.example.execution_result.exception.to_s.empty? ? "nil" : notification.example.execution_result.exception.to_s
39
29
  test_data = {id: id, description: description, location: location, passed: passed, time: time, exception: exception}
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: build_metrics_logger
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.13
4
+ version: 0.0.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Nelson