diffend 0.2.50 → 0.2.51

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: e37f23f8a6ea7efc0e730658b628aefdff0c8068f5409f8777f0b58153c702b9
4
- data.tar.gz: 0b5bc9bfd607bbfd1c3020934aef31805a4b96933a91b4279bc8ddeddebdcf79
3
+ metadata.gz: 97e3796e208b2e1228cfb269e19b4d12f9e32b1637c63b947214d4e3241e1e07
4
+ data.tar.gz: 93f8d609eeccd32d32155d7ea9c083247c3d973164c7953e5aa987c14900bc73
5
5
  SHA512:
6
- metadata.gz: d46a4b3fcba90acc11dd991a2f7adffee944c642823cdcd44b9269750666af48485686e37b983af81f4ec581181150a2259dbd403210340242a6987aae9e63b0
7
- data.tar.gz: 4657d78a13ae726ef2ed3023039153256ffba12bd07b80eb3df961f3a713ba1266bf8a242bf78ffde9220713593bbb0ef3079fd6975f1576820557a929f49734
6
+ metadata.gz: 397e83b478f55e1200f225b116d0f727deba9d08d3605458a6a5ae74403969a64914ee796d599d3b6a6bd55385331ebeb9fa2b72c4219a7e0f93fe6027ed9b16
7
+ data.tar.gz: 7339c9bd0e1e64572459bf6e083a2f12eaa16eabdea5975931d7e648dea4f1e5f352ba4487ff0c0e338f6fcdfd5e34f7304c69fa8e5581beb0dd1c3ba95c9d18
checksums.yaml.gz.sig CHANGED
Binary file
data/CHANGELOG.md CHANGED
@@ -1,8 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.2.51] (2021-09-09)
4
+ - Fix #172 - `bundle secure` not working without `.diffend.yml`
5
+
3
6
  ## [0.2.50] (2021-08-19)
4
7
  - Fix #132 - `bundle` without command name fails to recognize that first argument is an option
5
8
  - Bundler 2.2.26 specs support
9
+ - Bundler 2.2.27 specs support
6
10
 
7
11
  ## [0.2.49] (2021-08-11)
8
12
  - Bundler 2.2.20 specs support
@@ -17,7 +17,32 @@ module Diffend
17
17
 
18
18
  Diffend::LatestVersion.call(config)
19
19
 
20
+ return unless config.execute?
21
+
22
+ unless config.valid?
23
+ config.print_errors
24
+
25
+ exit 255
26
+ end
27
+
20
28
  Diffend::Execute.call(config)
29
+ rescue Diffend::Errors::HandledException
30
+ # config will not be initialized when configuration file is missing
31
+ return if config&.ignore_errors?
32
+
33
+ exit 255
34
+ rescue StandardError => e
35
+ Diffend::HandleErrors::Report.call(
36
+ exception: e,
37
+ config: config,
38
+ message: :unhandled_exception,
39
+ report: true,
40
+ raise_exception: false
41
+ )
42
+
43
+ return if config.ignore_errors?
44
+
45
+ exit 255
21
46
  end
22
47
  end
23
48
  end
@@ -2,5 +2,5 @@
2
2
 
3
3
  module Diffend
4
4
  # Current version
5
- VERSION = '0.2.50'
5
+ VERSION = '0.2.51'
6
6
  end
data.tar.gz.sig CHANGED
Binary file
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.50
4
+ version: 0.2.51
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tomasz Pajor
@@ -35,7 +35,7 @@ cert_chain:
35
35
  R2P11bWoCtr70BsccVrN8jEhzwXngMyI2gVt750Y+dbTu1KgRqZKp/ECe7ZzPzXj
36
36
  pIy9vHxTANKYVyI4qj8OrFdEM5BQNu8oQpL0iQ==
37
37
  -----END CERTIFICATE-----
38
- date: 2021-08-19 00:00:00.000000000 Z
38
+ date: 2021-09-09 00:00:00.000000000 Z
39
39
  dependencies:
40
40
  - !ruby/object:Gem::Dependency
41
41
  name: bundler
@@ -130,7 +130,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
130
130
  - !ruby/object:Gem::Version
131
131
  version: '0'
132
132
  requirements: []
133
- rubygems_version: 3.2.22
133
+ rubygems_version: 3.2.27
134
134
  signing_key:
135
135
  specification_version: 4
136
136
  summary: OSS supply chain security and management platform
metadata.gz.sig CHANGED
Binary file