appmap 0.54.1 → 0.54.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: 8b56559bdbc9f98b310e94efce7e6eaa45bedbf4e7fffaa2c8a09167b5985d64
4
- data.tar.gz: 72762bf8b3e9352d13841ce33bf61c4ebc77fc5db445c76333f8c910b0e37e0e
3
+ metadata.gz: b5368ab640de6fdf14f35502a5c756b7c6f681ee8d9a87c5fd9cd13d2b1036d9
4
+ data.tar.gz: 15806ff9cfa6256bb29c9ed2d8cb7d4ff5f62cfc3354e313e3b6f52b4cd96c12
5
5
  SHA512:
6
- metadata.gz: 79a3f92811ad61cd4e7f52c3d72b4e2277772a0e25789cccc50b63f069c43f78d2492ed37d43b073a98b0debcfc60d5d21af776d1bd6d445783c18f7ffefde81
7
- data.tar.gz: 73a14b0bde0abba5463fd2068bd88290a1f97a673174b5732a892a867ae77af7a13e8e0374a2a07655c76b49c647005d4624501568f40f932bac868ec019e1e6
6
+ metadata.gz: d078fcb6e1bf1942462be38f2547b73e34c6f9a0313aabdd8919070218701937bd53bec4207c34c48c37e7b67f69500fbd6339f6fc26ad11eed86e2027ca4acf
7
+ data.tar.gz: f5493735794a3385287721a30021996bc66ac44e19bc4e2214823eb78a730f07213989c93dadf8f38f0163c6c21fc39d375511b4ccd87b33974a54e667898b22
data/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## [0.54.2](https://github.com/applandinc/appmap-ruby/compare/v0.54.1...v0.54.2) (2021-06-25)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * Require appmap/railtie if Rails is defined ([66b4cbd](https://github.com/applandinc/appmap-ruby/commit/66b4cbd4d418695b0e69150d253dfd5a6f9096cf))
7
+
1
8
  ## [0.54.1](https://github.com/applandinc/appmap-ruby/compare/v0.54.0...v0.54.1) (2021-06-25)
2
9
 
3
10
 
data/lib/appmap.rb CHANGED
@@ -26,7 +26,8 @@ lambda do
26
26
  Initializer = Struct.new(:class_name, :module_name, :gem_module_name)
27
27
 
28
28
  INITIALIZERS = {
29
- 'Rails::Railtie' => Initializer.new('AppMap::Railtie', 'appmap/railtie', 'railtie'),
29
+ # In a Rails app, Rails is always defined by the time the other gems are loaded. Therefore, we
30
+ # don't try and trap the loading of Rails itself here.
30
31
  'RSpec' => Initializer.new('AppMap::RSpec', 'appmap/rspec', 'rspec-core'),
31
32
  'Minitest::Unit::TestCase' => Initializer.new('AppMap::Minitest', 'appmap/minitest', 'minitest'),
32
33
  'Rake' => [
@@ -57,7 +58,7 @@ lambda do
57
58
  end
58
59
  end.enable
59
60
 
60
- if defined?(::Rails::Railtie)
61
+ if defined?(::Rails)
61
62
  require 'appmap/railtie'
62
63
  end
63
64
 
@@ -68,7 +69,7 @@ lambda do
68
69
  if defined?(::Minitest)
69
70
  require 'appmap/minitest'
70
71
  end
71
-
72
+
72
73
  if defined?(::Rake)
73
74
  require 'appmap/swagger'
74
75
  end
@@ -3,7 +3,7 @@
3
3
  module AppMap
4
4
  URL = 'https://github.com/applandinc/appmap-ruby'
5
5
 
6
- VERSION = '0.54.1'
6
+ VERSION = '0.54.2'
7
7
 
8
8
  APPMAP_FORMAT_VERSION = '1.5.1'
9
9
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: appmap
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.54.1
4
+ version: 0.54.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kevin Gilpin