appmap 1.0.1 → 1.1.0

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: ef590ede8fe883183358cb975bb4531c07ee332de2708bfce4743c4cfc0c7f15
4
- data.tar.gz: 23d4c0d3c7fa26d5c298186d3e8c9e6318ffe8aa265dcd55358a02ace656db04
3
+ metadata.gz: 36058179944b8777d34f8fec3e4f6cd80f60d43a8b74a3c8ad4eeda58d503649
4
+ data.tar.gz: 739f7127f4a2af7dfb7655ba24fa08343cd22dfd1e09d225f6d5737808a30e4a
5
5
  SHA512:
6
- metadata.gz: 2dcfac0480a1e5cf59be2bfa03614d141135d1e2a06010e494fd8807e58803b2361627cd861a038cc4ea7b1e21013628ae04e4a75fadc7df877c9c143d5a8f5d
7
- data.tar.gz: bb9dadf2e3dae77b280497223544ffe84f9fed42cb742ea021e049be311a07f5e79b5715a59c523ff4ca7fff9ed37db301f243b5d6a722cde5d5b44ad8c98fc1
6
+ metadata.gz: a1874ff35b12f009623e6c00e2ba06a2a6a92ae95874ae57991375d764c0cc09f32f2aa77e6c7608d5e3c0398417cc807250397e77151aa9c7c5315a9915c82c
7
+ data.tar.gz: 3a79e6e01ebbc065c618a8f551c97ff26a5a7350d29003471b0be88828b523352c4b6204b2caf54035efb2923ded2721534fa8e5badac20a97bc992effa162bc
data/.travis.yml CHANGED
@@ -14,6 +14,7 @@ rvm:
14
14
  - 3.0.1 # doesn't show in pre-installed list
15
15
  - 3.1.2
16
16
  - 3.2.0
17
+ - 3.3.1
17
18
 
18
19
  addons:
19
20
  postgresql: "14"
data/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ # [1.1.0](https://github.com/getappmap/appmap-ruby/compare/v1.0.1...v1.1.0) (2024-05-22)
2
+
3
+
4
+ ### Features
5
+
6
+ * support Ruby 3.3 ([e25847a](https://github.com/getappmap/appmap-ruby/commit/e25847a509098b39fbe40d28d637832c920e87c7))
7
+
1
8
  ## [1.0.1](https://github.com/getappmap/appmap-ruby/compare/v1.0.0...v1.0.1) (2024-04-30)
2
9
 
3
10
 
data/ext/appmap/appmap.c CHANGED
@@ -1,6 +1,7 @@
1
1
  #include <ruby.h>
2
2
  #include <ruby/debug.h>
3
3
  #include <ruby/intern.h>
4
+ #include <ruby/version.h>
4
5
 
5
6
  // Seems like CLASS_OR_MODULE_P should really be in a header file in
6
7
  // the ruby source -- it's in object.c and duplicated in eval.c. In
@@ -17,7 +18,13 @@ static VALUE
17
18
  singleton_method_owner_name(VALUE klass, VALUE method)
18
19
  {
19
20
  VALUE owner = rb_funcall(method, rb_intern("owner"), 0);
21
+
22
+ #if RUBY_API_VERSION_CODE < 30200
20
23
  VALUE attached = rb_ivar_get(owner, rb_intern("__attached__"));
24
+ #else
25
+ VALUE attached = rb_class_attached_object(owner);
26
+ #endif
27
+
21
28
  if (!CLASS_OR_MODULE_P(attached)) {
22
29
  attached = rb_funcall(attached, rb_intern("class"), 0);
23
30
  }
@@ -3,11 +3,11 @@
3
3
  module AppMap
4
4
  URL = 'https://github.com/applandinc/appmap-ruby'
5
5
 
6
- VERSION = '1.0.1'
6
+ VERSION = '1.1.0'
7
7
 
8
8
  APPMAP_FORMAT_VERSION = '1.12.0'
9
9
 
10
- SUPPORTED_RUBY_VERSIONS = %w[2.5 2.6 2.7 3.0 3.1 3.2].freeze
10
+ SUPPORTED_RUBY_VERSIONS = %w[2.5 2.6 2.7 3.0 3.1 3.2 3.3].freeze
11
11
 
12
12
  DEFAULT_APPMAP_DIR = 'tmp/appmap'.freeze
13
13
  DEFAULT_CONFIG_FILE_PATH = 'appmap.yml'.freeze
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: 1.0.1
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kevin Gilpin
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-04-30 00:00:00.000000000 Z
11
+ date: 2024-05-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: method_source