diffend-monitor 0.2.33 → 0.2.34

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ba1c9bb7665b8c21fd45c17d75edf757fa23a07170d62182c12630705a465dc9
4
- data.tar.gz: ac0e9d69574c6b1fc7302ebada67570975f16e32c85c4f35caa5f2c11fa303d4
3
+ metadata.gz: f1c739e4cbf06a1ef55576728e684ab0bb639b4889748faa1d688ef1406024c0
4
+ data.tar.gz: fe58c9466fe5a532d445e8b5a0a8948b87489fbc9d49974aabb272bfd0ab14ed
5
5
  SHA512:
6
- metadata.gz: a2ab62a44ab9d8be96fd37eccb1af6d015645c34c2953c56f2481f3d91a49ea88df88962250554600a64d3e3b73140905c8fda755e8dbc66850c4d4b958a5206
7
- data.tar.gz: 86b2f1c7f0bb5b2fb23a2c590574f087bdc621fa13e59da09bdf4033218322c501df2f77e773a158939be7e9bda1cf114b78e5315cbfe0edb65b398e6d21d59f
6
+ metadata.gz: e44b5cd37e26197b11cb67dd3703984949a15d372b0623c2cc38ef346b47d14aad76ce1956d093304b3cc5cc6f6f952b7b45bce2808afed2fee76fbc124f0f9c
7
+ data.tar.gz: 28cb79ac18dc1aad9d535ab80d7c665aadea70cc77b35e6a04c63196a6844c7c62418a28bbdaa4a0e3b7c06480d36b4334fb9ad8023bf512faf1b51b74bdc421
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -2,6 +2,9 @@
2
2
 
3
3
  ## [Unreleased][master]
4
4
 
5
+ ## [0.2.34] (2020-10-25)
6
+ - handle `Bundler::GitError` ([#72](https://github.com/diffend-io/diffend-ruby/pull/72))
7
+
5
8
  ## [0.2.33] (2020-10-25)
6
9
  - fix an exception when configuration file is missing ([#65](https://github.com/diffend-io/diffend-ruby/pull/65))
7
10
  - silently exit when configuration file is missing in `Diffend::Monitor` ([#66](https://github.com/diffend-io/diffend-ruby/pull/66))
@@ -91,7 +94,8 @@
91
94
 
92
95
  - initial release
93
96
 
94
- [master]: https://github.com/diffend-io/diffend-ruby/compare/v0.2.33...HEAD
97
+ [master]: https://github.com/diffend-io/diffend-ruby/compare/v0.2.34...HEAD
98
+ [0.2.34]: https://github.com/diffend-io/diffend-ruby/compare/v0.2.33...v0.2.34
95
99
  [0.2.33]: https://github.com/diffend-io/diffend-ruby/compare/v0.2.32...v0.2.33
96
100
  [0.2.32]: https://github.com/diffend-io/diffend-ruby/compare/v0.2.31...v0.2.32
97
101
  [0.2.31]: https://github.com/diffend-io/diffend-ruby/compare/v0.2.30...v0.2.31
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- diffend (0.2.33)
4
+ diffend (0.2.34)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -14,13 +14,13 @@ GEM
14
14
  rspec-mocks (~> 3.9.0)
15
15
  rspec-core (3.9.3)
16
16
  rspec-support (~> 3.9.3)
17
- rspec-expectations (3.9.2)
17
+ rspec-expectations (3.9.4)
18
18
  diff-lcs (>= 1.2.0, < 2.0)
19
19
  rspec-support (~> 3.9.0)
20
20
  rspec-mocks (3.9.1)
21
21
  diff-lcs (>= 1.2.0, < 2.0)
22
22
  rspec-support (~> 3.9.0)
23
- rspec-support (3.9.3)
23
+ rspec-support (3.9.4)
24
24
 
25
25
  PLATFORMS
26
26
  java
@@ -5,6 +5,13 @@ require 'json'
5
5
  module Diffend
6
6
  # Module responsible for fetching diffend verdict on local context
7
7
  module RequestVerdict
8
+ # Exceptions that we handle when there is a resolve issue
9
+ RESOLVE_EXCEPTIONS = [
10
+ Bundler::GemNotFound,
11
+ Bundler::VersionConflict,
12
+ Bundler::GitError
13
+ ].freeze
14
+
8
15
  class << self
9
16
  # @param config [Diffend::Config]
10
17
  # @param definition [Bundler::Definition] definition for your source
@@ -16,7 +23,7 @@ module Diffend
16
23
  )
17
24
 
18
25
  JSON.parse(response.body)
19
- rescue Bundler::GemNotFound, Bundler::VersionConflict
26
+ rescue *RESOLVE_EXCEPTIONS
20
27
  raise ::Diffend::Errors::DependenciesResolveException
21
28
  rescue StandardError => e
22
29
  Diffend::HandleErrors::Report.call(
@@ -2,5 +2,5 @@
2
2
 
3
3
  module Diffend
4
4
  # Current version
5
- VERSION = '0.2.33'
5
+ VERSION = '0.2.34'
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: diffend-monitor
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.33
4
+ version: 0.2.34
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tomasz Pajor
@@ -34,7 +34,7 @@ cert_chain:
34
34
  9MmF6uCQa1EjK2p8tYT0MnbHrFkoehxdX4VO9y99GAkhZyJNKPYPtyAUFV27sT2V
35
35
  LfCJRk4ifKIN/FUCwDSn8Cz0m6oH265q0p6wdzI6qrWOjP8tGOMBTA==
36
36
  -----END CERTIFICATE-----
37
- date: 2020-10-25 00:00:00.000000000 Z
37
+ date: 2020-10-30 00:00:00.000000000 Z
38
38
  dependencies:
39
39
  - !ruby/object:Gem::Dependency
40
40
  name: bundler
metadata.gz.sig CHANGED
Binary file