diffend 0.2.33 → 0.2.34
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 +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/CHANGELOG.md +5 -1
- data/Gemfile.lock +3 -3
- data/lib/diffend/request_verdict.rb +8 -1
- data/lib/diffend/version.rb +1 -1
- metadata +2 -2
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: cc45142bb5d879748312afda05037afb9e404bedd0eef6ac22b62222b4877a81
|
|
4
|
+
data.tar.gz: 8fdefc71c114956828319e7b1add646bade02b56447dedb900e22161eec51611
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 359a68adcd4a1fd428510a2f9f37469fefca76b4fdd0e02415bf09b1a99b26d0080bb755e98a4a48c8be840f4dbdf13c6f50ed77af3dd2093f321a560835bdc6
|
|
7
|
+
data.tar.gz: a5dcef6929e7d63c2b66e237d790d51de2b17c12461ba3a91b3d4160decb35f79c11111bd4e5322f5e5a4ce748e32d0dd3abb993b7d77efc37792f413100e57a
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data.tar.gz.sig
CHANGED
|
Binary file
|
data/CHANGELOG.md
CHANGED
|
@@ -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.
|
|
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
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
diffend (0.2.
|
|
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.
|
|
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.
|
|
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
|
|
26
|
+
rescue *RESOLVE_EXCEPTIONS
|
|
20
27
|
raise ::Diffend::Errors::DependenciesResolveException
|
|
21
28
|
rescue StandardError => e
|
|
22
29
|
Diffend::HandleErrors::Report.call(
|
data/lib/diffend/version.rb
CHANGED
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.
|
|
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-
|
|
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
|