appmap 0.89.0 → 0.90.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 +4 -4
- data/.travis.yml +0 -1
- data/CHANGELOG.md +8 -0
- data/appmap.gemspec +2 -0
- data/lib/appmap/config.rb +18 -12
- data/lib/appmap/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 463d826fad7ff1f1f143f350e329e0d9f58c649c6a517b519c42e852d620318a
|
|
4
|
+
data.tar.gz: f1429c965be9a9913c2163245e3cee99b6b014d73c85d77c19b1d1198b5e92ec
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8fb3886bd1f864f4619f5dc0bd158381b4c959a385990d786d45228c0a2f01169511ef0a3ebafec6e01874af566bb286edfb38367f34b83facb7959ded3bd4ae
|
|
7
|
+
data.tar.gz: 96adc82206bf8fb319675a6107281c1ebfb19c8254daac59ae9e88ebceeec8adc446b459a68fa3483108426cb5a65bfbecb42205b4b797ae3301777b6e473233
|
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
# [0.90.0](https://github.com/applandinc/appmap-ruby/compare/v0.89.0...v0.90.0) (2022-09-15)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* Include required_ruby_version in the gemspec ([a5d7c6b](https://github.com/applandinc/appmap-ruby/commit/a5d7c6b7b255f817f3ceec5924cd799d2565daa4))
|
|
7
|
+
* Save default appmap.yml ([77a08d5](https://github.com/applandinc/appmap-ruby/commit/77a08d5ebbe2f49f19237242a62d05aadcc84228))
|
|
8
|
+
|
|
1
9
|
# [0.89.0](https://github.com/applandinc/appmap-ruby/compare/v0.88.0...v0.89.0) (2022-09-07)
|
|
2
10
|
|
|
3
11
|
|
data/appmap.gemspec
CHANGED
|
@@ -12,6 +12,8 @@ Gem::Specification.new do |spec|
|
|
|
12
12
|
spec.authors = ['Kevin Gilpin']
|
|
13
13
|
spec.email = ['kgilpin@gmail.com']
|
|
14
14
|
|
|
15
|
+
spec.required_ruby_version = '>= 2.6.0'
|
|
16
|
+
|
|
15
17
|
spec.summary = %q{Record the operation of a Ruby program, using the AppLand 'AppMap' format.}
|
|
16
18
|
spec.homepage = AppMap::URL
|
|
17
19
|
spec.license = 'MIT'
|
data/lib/appmap/config.rb
CHANGED
|
@@ -338,28 +338,34 @@ module AppMap
|
|
|
338
338
|
AppMap uses this file to customize its behavior. For example, you can use
|
|
339
339
|
the 'packages' setting to indicate which local file paths and dependency
|
|
340
340
|
gems you want to include in the AppMap. Since you haven't provided specific
|
|
341
|
-
settings, the appmap gem will
|
|
342
|
-
To suppress this message, create the file:
|
|
343
|
-
|
|
344
|
-
#{Pathname.new(config_file_name).expand_path}
|
|
345
|
-
|
|
346
|
-
Here are the default settings that will be used in the meantime. You can
|
|
347
|
-
copy and paste this example to start your appmap.yml.
|
|
341
|
+
settings, the appmap gem will use these default options:
|
|
348
342
|
MISSING_FILE_MSG
|
|
349
343
|
{}
|
|
350
344
|
end
|
|
351
345
|
|
|
352
346
|
load(config_data).tap do |config|
|
|
353
|
-
|
|
347
|
+
{
|
|
354
348
|
'name' => config.name,
|
|
355
349
|
'packages' => config.packages.select{|p| p.path}.map do |pkg|
|
|
356
350
|
{ 'path' => pkg.path }
|
|
357
351
|
end,
|
|
358
352
|
'exclude' => []
|
|
359
|
-
}.compact
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
353
|
+
}.compact.tap do |config_yaml|
|
|
354
|
+
unless config_present
|
|
355
|
+
warn Util.color(YAML.dump(config_yaml), :magenta)
|
|
356
|
+
dirname = Pathname.new(config_file_name).dirname.expand_path
|
|
357
|
+
if Dir.exists?(dirname) && File.writable?(dirname)
|
|
358
|
+
warn Util.color(<<~CONFIG_FILE_MSG, :magenta)
|
|
359
|
+
This file will be saved to #{Pathname.new(config_file_name).expand_path},
|
|
360
|
+
where you can customize it.
|
|
361
|
+
CONFIG_FILE_MSG
|
|
362
|
+
File.write(config_file_name, YAML.dump(config_yaml))
|
|
363
|
+
end
|
|
364
|
+
warn Util.color(<<~CONFIG_FILE_MSG, :magenta)
|
|
365
|
+
For more information, see https://appmap.io/docs/reference/appmap-ruby.html#configuration
|
|
366
|
+
CONFIG_FILE_MSG
|
|
367
|
+
warn logo.()
|
|
368
|
+
end
|
|
363
369
|
end
|
|
364
370
|
end
|
|
365
371
|
end
|
data/lib/appmap/version.rb
CHANGED
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.
|
|
4
|
+
version: 0.90.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: 2022-09-
|
|
11
|
+
date: 2022-09-15 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: method_source
|
|
@@ -446,7 +446,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
446
446
|
requirements:
|
|
447
447
|
- - ">="
|
|
448
448
|
- !ruby/object:Gem::Version
|
|
449
|
-
version:
|
|
449
|
+
version: 2.6.0
|
|
450
450
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
451
451
|
requirements:
|
|
452
452
|
- - ">="
|