appmap 0.52.0 → 0.52.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: 91abfbaf6b18062625413f1a4ba9a465325af82734a04ab875bb8b4092f3bc34
4
- data.tar.gz: 9fb260bc1fb09cc1a6bc6771114b8306f596d1595bcaf1234dd346abe871d3b7
3
+ metadata.gz: 2ea77b709360095bcd2ee1333a2380e777a85c51856a13d603095be08649e5da
4
+ data.tar.gz: d1ba48dec0628ae81be4527371b20dcbc334ea59c925cc866f97ec6f73f5dc93
5
5
  SHA512:
6
- metadata.gz: 4eb0fe09e7657fbb3541c17b047e2c0c24cb171201828b684353fd2de94fcca216f84b2776ce4a1f57fe1e721aaeb66c55fbea5fc627d9529f4bf687805a1079
7
- data.tar.gz: 938da5ae0d846bc3e2c7f571ef836fe35f4d0fefebe5af9f5b5846b949c87c1cc1812881a973168c014cc789a0b6bb1ee9eb556d11406e846f99fdecd0eeb04a
6
+ metadata.gz: db175f34a2d019a010e2675184b216e339524f82508464d85468dac83cc259f8bd1df4a5ce9a4ff2bf17ab66fbce17da3609e3b7c387771918192a901b4c98a8
7
+ data.tar.gz: b48df26af2811d428107256326a1f4477857c2c151f3a1d6235054a3028f95ceb4fe25b78b2b90173522846b43d9f92ac71492e3bb7378b3f67899bf3441605e
data/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## [0.52.1](https://github.com/applandinc/appmap-ruby/compare/v0.52.0...v0.52.1) (2021-06-23)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * Better project name guesser ([d22f379](https://github.com/applandinc/appmap-ruby/commit/d22f379623bd3022ba34d7241838fe6abbbb61d6))
7
+
1
8
  # [0.52.0](https://github.com/applandinc/appmap-ruby/compare/v0.51.3...v0.52.0) (2021-06-22)
2
9
 
3
10
 
@@ -6,15 +6,8 @@ module AppMap
6
6
  POSSIBLE_PATHS = %w[app/controllers app/models lib]
7
7
  class << self
8
8
  def guess_name
9
- reponame = lambda do
10
- next unless File.directory?('.git')
11
-
12
- repo_name = `git config --get remote.origin.url`.strip
13
- repo_name.split('/').last.split('.').first unless repo_name == ''
14
- end
15
- dirname = -> { Dir.pwd.split('/').last }
16
-
17
- reponame.() || dirname.()
9
+ return Pathname.new(`git rev-parse --show-toplevel`.strip).basename.to_s if File.directory?('.git')
10
+ Dir.pwd.split('/').last
18
11
  end
19
12
 
20
13
  def guess_paths
@@ -3,7 +3,7 @@
3
3
  module AppMap
4
4
  URL = 'https://github.com/applandinc/appmap-ruby'
5
5
 
6
- VERSION = '0.52.0'
6
+ VERSION = '0.52.1'
7
7
 
8
8
  APPMAP_FORMAT_VERSION = '1.5.1'
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.52.0
4
+ version: 0.52.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: 2021-06-22 00:00:00.000000000 Z
11
+ date: 2021-06-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport