appmap 0.70.1 → 0.70.2

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: e422b7f6bd3e851eea84202adfba2e8b33eb9e2c942eb7ffca3285a937dda7d0
4
- data.tar.gz: 1ef8422eff3e6b1603746f07cb3a4f6a90256c917a064bb1d0cd5f2303deadfc
3
+ metadata.gz: d65574736497b9626d5d45bedee98bf5b4e810dada23199cb3b6857928c609a7
4
+ data.tar.gz: d90ebdbb5978d36a9fa78aab06df63578645d600dc26e8a3c3e78e5a9c3f198d
5
5
  SHA512:
6
- metadata.gz: e2a542ee8155931b63fe07388ff8b9ca40e5c58a505fe41e302a0f2018caf20646fcfc1fbfcf7f7f58e1242c071a70324654980097818281e07f054af9ce5cbb
7
- data.tar.gz: a92a8b40984e4410715cb9f1965741e113c21cdee75ef17e18c6e2d7de90a7a1e8e4a8c11329d3e0428611f25f4b087f74ce5c4a34c418b547fe2ccc2589819e
6
+ metadata.gz: e6645bda09b9fb033825c4230518322b537b013d96ec5c76de25736729a10d2338fd3361481901c804472c23f68552f5f6822d487dbd935ab8c45b67810b4a7a
7
+ data.tar.gz: a831e8748e982cf7ebb65f0a3bc0a9209a7e8b1991b85716d4fc43898685749304eeb5450b5e84a4657187b95f38b05c936a49b35ad18e30e8070110ddccf7ee
data/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## [0.70.2](https://github.com/applandinc/appmap-ruby/compare/v0.70.1...v0.70.2) (2022-01-12)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * switch to activesupport's deep_dup implementation ([7715f28](https://github.com/applandinc/appmap-ruby/commit/7715f28285fbdabdb4c8d652fb9ac31eb8d86eab))
7
+
1
8
  ## [0.70.1](https://github.com/applandinc/appmap-ruby/compare/v0.70.0...v0.70.1) (2021-12-10)
2
9
 
3
10
 
data/lib/appmap/util.rb CHANGED
@@ -195,8 +195,7 @@ module AppMap
195
195
  end
196
196
 
197
197
  def deep_dup(hash)
198
- # This is a simple way to avoid the need for deep_dup from activesupport.
199
- Marshal.load(Marshal.dump(hash))
198
+ hash.deep_dup
200
199
  end
201
200
 
202
201
  def blank?(obj)
@@ -3,7 +3,7 @@
3
3
  module AppMap
4
4
  URL = 'https://github.com/applandinc/appmap-ruby'
5
5
 
6
- VERSION = '0.70.1'
6
+ VERSION = '0.70.2'
7
7
 
8
8
  APPMAP_FORMAT_VERSION = '1.5.1'
9
9
 
data/lib/appmap.rb CHANGED
@@ -20,6 +20,13 @@
20
20
  # - appmap/swagger (Rake task)
21
21
  # - appmap/depends (Rake task)
22
22
 
23
+ begin
24
+ require 'active_support'
25
+ require 'active_support/core_ext'
26
+ rescue NameError
27
+ warn 'active_support is not available. AppMap execution will continue optimistically without it...'
28
+ end
29
+
23
30
  require 'appmap/version'
24
31
  require 'appmap/agent'
25
32
 
@@ -60,11 +67,11 @@ lambda do
60
67
  if defined?(::Rails)
61
68
  require 'appmap/railtie'
62
69
  end
63
-
70
+
64
71
  if defined?(::RSpec)
65
72
  require 'appmap/rspec'
66
73
  end
67
-
74
+
68
75
  if defined?(::Minitest)
69
76
  require 'appmap/minitest'
70
77
  end
@@ -73,7 +80,7 @@ lambda do
73
80
  require 'appmap/swagger'
74
81
  require 'appmap/depends'
75
82
  end
76
-
83
+
77
84
  end.call unless ENV['APPMAP_AUTOREQUIRE'] == 'false'
78
85
 
79
86
  AppMap.initialize_configuration if ENV['APPMAP'] == 'true' && ENV['APPMAP_INITIALIZE'] != 'false'
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.70.1
4
+ version: 0.70.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-12-10 00:00:00.000000000 Z
11
+ date: 2022-01-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport