build_metrics_logger 0.0.7 → 0.0.8

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 +2 -2
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0e4de574bd4123d1d2c8526e2a590717657c0c0d
4
- data.tar.gz: 1f95496b6c4f7266fb107e779a4ead72d6ec52ae
3
+ metadata.gz: d4b716a7a204e4f11f6d383e58ca394b595b9e1a
4
+ data.tar.gz: 651692c7ac7f1388d3bd8462c97d3978a11e17c3
5
5
  SHA512:
6
- metadata.gz: 1a2e984337521a5bf98815db97c9447e83a6d85f60d7e9f0fc511900d98e06f6d1a122f490ebaad89e825ec500f29a13877a6486e0f25120cd3711fcce93723a
7
- data.tar.gz: cc81ada1c4869329705fb4a18491f1ec6a4b116cd4b82755934069a091b900c9f59a5f0b4e1b0bd13486e4ac746c288ef58ef0c3c616c7fa58d0b1bff9233462
6
+ metadata.gz: 9f931dfb42a78aea72c94eae3685b9a330a0aa735ef9686ab31cdbe06d02e19d4601e03c3eb01bedcbfd928b37db4fc2cea325c307951e94447deb8364415bc0
7
+ data.tar.gz: 075b0636564c1231b1903d9a1a5d14a00d6065c05740d2ee1481d97b73a5a4ea5ed7aa1a89fc62a9589e1d6f8e2bc34f7c427c0e4831d7da0df8eaf4272b5854
@@ -39,7 +39,7 @@ class BuildMetricsLogger
39
39
  # prev_result = notification.example.metadata[:last_run_status].to_s
40
40
  time = notification.example.execution_result.run_time.to_s
41
41
  exception = notification.example.execution_result.exception.to_s.empty? ? "nil" : notification.example.execution_result.exception.to_s
42
- test_data = [id, description, location, passed, prev_result, time, exception]
42
+ test_data = [id, description, location, passed, time, exception]
43
43
  if @token
44
44
  log_example_result(test_data)
45
45
  end
@@ -83,7 +83,7 @@ class BuildMetricsLogger
83
83
  end
84
84
 
85
85
  def log_build_result(data)
86
- response = HTTPart.post(build_result_url,
86
+ response = HTTParty.post(build_result_url,
87
87
  headers: {
88
88
  "Authorization" => "Bearer #{@token}"
89
89
  },
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.7
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Nelson