appmap 0.68.1 → 0.68.2

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: 7da5837e4371cd2ce6aa6858e6ca88a50d38103657c054d0752ee7ec03d1f499
4
- data.tar.gz: 81a5b8d75c7b4f5bad51a9f12cf3ea37ea38d1d7ca07a67073739cc96038775c
3
+ metadata.gz: 7e87a42863f68312980ff6e9689b74489b147b283854463abbf1e2cf6be4fe29
4
+ data.tar.gz: 0d5a7e86d9cea6ba154e6bc1ceb920fcba978074afd4351663832946d0ab0f30
5
5
  SHA512:
6
- metadata.gz: 2c2b4f67ecaf2f47344635cf3d16cbc8ab8821e10cd24966ff708baaa8c35c6a71bdb6a76d0eaf9415596f6d05c8c5b04c57115fede5bd6f4a0b4a1743e4ebc9
7
- data.tar.gz: 712feeb618cea02bbaf17711a8c292f1670ef8c62974e2d3c706af88a31b27872afe139e7fc409f1da9800021035544736f2754970b4817234fabdf0190b113e
6
+ metadata.gz: bc509802c9b69cca4cc88560b23b0d56e6c72f852e21dc414f5732e6e4cbfe8867b7dcfa132673e2a647f072bcafbe0086e2cbc15b2280eb3b5e3fcaef2db577
7
+ data.tar.gz: e48934b5719439fa61970e7d239b163c6f42c0e9f5bd7c4a7959f73b62ff9e610fb967b124698129c96271a124d8288e9069e073f1cdeeffc53060270cf30c26
data/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## [0.68.2](https://github.com/applandinc/appmap-ruby/compare/v0.68.1...v0.68.2) (2021-11-25)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * Missing gems will no longer attempt to be hooked ([ac6cf26](https://github.com/applandinc/appmap-ruby/commit/ac6cf264897e492c73ba4b66233709eb4eaf7b36))
7
+
1
8
  ## [0.68.1](https://github.com/applandinc/appmap-ruby/compare/v0.68.0...v0.68.1) (2021-11-12)
2
9
 
3
10
 
data/lib/appmap/util.rb CHANGED
@@ -226,7 +226,9 @@ module AppMap
226
226
  elsif ENV['DEBUG'] == 'true'
227
227
  warn msg
228
228
  end
229
- end
229
+
230
+ nil
231
+ end
230
232
 
231
233
  def ruby_minor_version
232
234
  @ruby_minor_version ||= RUBY_VERSION.split('.')[0..1].join('.').to_f
@@ -3,7 +3,7 @@
3
3
  module AppMap
4
4
  URL = 'https://github.com/applandinc/appmap-ruby'
5
5
 
6
- VERSION = '0.68.1'
6
+ VERSION = '0.68.2'
7
7
 
8
8
  APPMAP_FORMAT_VERSION = '1.5.1'
9
9
 
data/spec/config_spec.rb CHANGED
@@ -243,6 +243,21 @@ describe AppMap::Config, docker: false do
243
243
  FIXTURE
244
244
  end
245
245
 
246
+ describe AppMap::Config::Package do
247
+ describe :build_from_gem do
248
+ let(:mock_rails) { double(logger: double(info: true)) }
249
+
250
+ before do
251
+ stub_const('Rails', mock_rails)
252
+ end
253
+
254
+ it 'does not return a truthy value on failure' do
255
+ result = AppMap::Config::Package.build_from_gem('some_missing_gem_name', optional: true)
256
+ expect(result).to_not be_truthy
257
+ end
258
+ end
259
+ end
260
+
246
261
  context do
247
262
  let(:warnings) { @warnings ||= [] }
248
263
  let(:warning) { warnings.join }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: appmap
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.68.1
4
+ version: 0.68.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kevin Gilpin
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-11-12 00:00:00.000000000 Z
11
+ date: 2021-11-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport