appmap 0.102.0 → 0.102.1

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: 1df97ff2f7c62ce830193389327e102a89798678350dbc653aecc98157e502cb
4
- data.tar.gz: ff14a72537014f549a5094b592a6dd28e9a6658679e0c411529d7c4c12491822
3
+ metadata.gz: f20fcb36fbc33531a3bdf12d426bc3a53b55f0790f9e2bae84e3f14f5c65c53f
4
+ data.tar.gz: 31255bec4fb786d4f799cfeaf9aedbe14e581656e34f6aaf9b9930e64fd4c29f
5
5
  SHA512:
6
- metadata.gz: 21781f0d7b9d61d72cd6b442b1105a1eabd19ba07ccca62bb8fd5acaede9e6db2a3cf5594a80c1270ff574d977b709c22031a12a88361cd36fe3013e5238cb03
7
- data.tar.gz: bcc9fd8526da90172d0f7f159a1c4a61a0245e70d1d800f38b98e1d13f0a35ee26898c064107a0de5eb3f7d11d1eecf98c12df1f14a4c37cb72582a1a6bdcf1d
6
+ metadata.gz: 1c598b8c11737cb8421f63276330d0ca074d2e7be965a52b418b3162739f6a1e24cd8518613ca65f066b0e4fac7b7b927299efa42e97158285f767b3156cb73d
7
+ data.tar.gz: 25eb5d12d9d72b35716eae95c1b13b477fd05fc42af8db22e18f418509883ad4526c091350b1b55ae6c34130213bf05e61931f875e2503e81748915fb1e25e44
data/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## [0.102.1](https://github.com/getappmap/appmap-ruby/compare/v0.102.0...v0.102.1) (2023-07-25)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * Guard access to the :size method ([e0b53b2](https://github.com/getappmap/appmap-ruby/commit/e0b53b23d46f8467884c5c387a9081d98cb7cca7)), closes [#341](https://github.com/getappmap/appmap-ruby/issues/341)
7
+
1
8
  # [0.102.0](https://github.com/getappmap/appmap-ruby/compare/v0.101.0...v0.102.0) (2023-07-18)
2
9
 
3
10
 
@@ -7,7 +7,7 @@ module AppMap
7
7
 
8
8
  def detect_size(value)
9
9
  # Don't risk calling #size on things like data-access objects, which can and will issue queries for this information.
10
- if value.is_a?(Array) || value.is_a?(Hash)
10
+ if (value.is_a?(Array) || value.is_a?(Hash)) && value.respond_to?(:size)
11
11
  value.size
12
12
  end
13
13
  end
@@ -3,7 +3,7 @@
3
3
  module AppMap
4
4
  URL = 'https://github.com/applandinc/appmap-ruby'
5
5
 
6
- VERSION = '0.102.0'
6
+ VERSION = '0.102.1'
7
7
 
8
8
  APPMAP_FORMAT_VERSION = '1.12.0'
9
9
 
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.102.0
4
+ version: 0.102.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kevin Gilpin
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-07-18 00:00:00.000000000 Z
11
+ date: 2023-07-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: method_source