codecov 0.5.0 → 0.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c3ac8f8595023909dff3989e3b5026a2f3959a1b5264f64abcbef36373535ec9
4
- data.tar.gz: dc49c63c9cf98c9052f558c1556bd00963086947580d2eb00deaef201ec31aa3
3
+ metadata.gz: eda9a2c15cf9bca5603e8da966b08f4e74a880d225b1e367581f231c41bc6c54
4
+ data.tar.gz: dd8dfbafe0b700149632bcc252154b64d56324e7539ff535cd1a5a354c93485d
5
5
  SHA512:
6
- metadata.gz: bcec7277a8f503f2db6365c1233075d0ecb6727acf2d97e557b40725e0a097735749f64470ea120071e65a6488794875309c19759d7297431f43ea5f6c61100a
7
- data.tar.gz: fb195f5011e4baa21f01a1c9131628d009b69ba500b499188bdf8c48b29b8630792307d955dedf4215e1f8ad16478bb5ef4a92cad011cf00e413e847a551153e
6
+ metadata.gz: 84fb4095ba5a0a99f7a4089ca1f391f32703aa5ce8f5e31bb2de1a59dd6b559609d7ca83fa33b44695d9b6b3d34f6828b63435665142ac94a3750c0947895978
7
+ data.tar.gz: 1278f5daa1420a6926352164efec3922099d81fce34f6dc6140aa7166ebc54f8ffd3c47c781c3d07ca3d7bbbf4eb589c3ca12145458d1f6edfa0a3c4c43a5184
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ ### `0.5.1`
2
+ - #138 Update pass_ci_if_error flag
3
+
1
4
  ### `0.5.0`
2
5
  - #137 Place uploader in try/rescue block and add pass_ci_if_error flag
3
6
 
@@ -0,0 +1,7 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Codecov
4
+ module Configuration
5
+ attr_accessor :pass_ci_if_error
6
+ end
7
+ end
@@ -43,7 +43,7 @@ class Codecov::Uploader
43
43
  rescue StandardError => e
44
44
  puts `#{e.message}`
45
45
  puts `#{e.backtrace.join("\n")}`
46
- raise e unless ::SimpleCov.pass_ci_if_error
46
+ raise e unless ::Codecov.pass_ci_if_error
47
47
 
48
48
  response = false
49
49
  end
@@ -544,3 +544,6 @@ class Codecov::Uploader
544
544
  str.nil? ? '' : "\e[32m#{str}\e[0m"
545
545
  end
546
546
  end
547
+
548
+ require_relative 'configuration'
549
+ Codecov.extend Codecov::Configuration
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Codecov
4
- VERSION = '0.5.0'
4
+ VERSION = '0.5.1'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: codecov
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steve Peak
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2021-03-01 00:00:00.000000000 Z
12
+ date: 2021-03-03 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: simplecov
@@ -126,6 +126,7 @@ files:
126
126
  - LICENSE
127
127
  - README.md
128
128
  - lib/codecov.rb
129
+ - lib/codecov/configuration.rb
129
130
  - lib/codecov/formatter.rb
130
131
  - lib/codecov/uploader.rb
131
132
  - lib/codecov/version.rb
@@ -134,8 +135,8 @@ licenses:
134
135
  - MIT
135
136
  metadata:
136
137
  bug_tracker_uri: https://github.com/codecov/codecov-ruby/issues
137
- changelog_uri: https://github.com/codecov/codecov-ruby/blob/v0.5.0/CHANGELOG.md
138
- documentation_uri: http://www.rubydoc.info/gems/codecov/0.5.0
138
+ changelog_uri: https://github.com/codecov/codecov-ruby/blob/v0.5.1/CHANGELOG.md
139
+ documentation_uri: http://www.rubydoc.info/gems/codecov/0.5.1
139
140
  homepage_uri: https://github.com/codecov/codecov-ruby
140
141
  source_code_uri: https://github.com/codecov/codecov-ruby
141
142
  post_install_message: