diffend 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: ca45ede600a1ba9ef22e538d14f4de5be8c662e7b3c39211e52327fbf99b6f92
4
- data.tar.gz: 5054f7dfa57e79adb3734e30c6cecaa7865fe3b9c0aef345c146cad49019529f
3
+ metadata.gz: cc45142bb5d879748312afda05037afb9e404bedd0eef6ac22b62222b4877a81
4
+ data.tar.gz: 8fdefc71c114956828319e7b1add646bade02b56447dedb900e22161eec51611
5
5
  SHA512:
6
- metadata.gz: cede14b22f216cdf7c520d1455676dea8d0a911adf2206d59ba6fc4db8e880b38cd846aeb29cd8e82ec27f13db533442c3853433c7032336879eb7c05d5ddd4c
7
- data.tar.gz: 8f6e842c2b9557e76e7cf09e9ed62a8a9f251a7caa21cc2cae5a488aae928ae006df9f081429116d8df8e46acbf5c62e7e9f0097875813bcd0b8b75ef57a3b7b
6
+ metadata.gz: 359a68adcd4a1fd428510a2f9f37469fefca76b4fdd0e02415bf09b1a99b26d0080bb755e98a4a48c8be840f4dbdf13c6f50ed77af3dd2093f321a560835bdc6
7
+ data.tar.gz: a5dcef6929e7d63c2b66e237d790d51de2b17c12461ba3a91b3d4160decb35f79c11111bd4e5322f5e5a4ce748e32d0dd3abb993b7d77efc37792f413100e57a
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
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