skylight 5.3.1 → 5.3.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: 25e5b7ab0cc3d787b7192d6ec29ea90ce7c1088f13660d58601cc00d30a88b27
4
- data.tar.gz: a171ca96752f9e2f6cf02a6fc18a3a64b7fa4c280d9d2c2428d489c6a3b46d85
3
+ metadata.gz: f70688b41eae2aba12100dfdc0fa2376de752498b870b951a215779dfab6f402
4
+ data.tar.gz: 07141a17727dd08c96059361ce86168ac45a34ff222ef8ebb77aa29ad6effce9
5
5
  SHA512:
6
- metadata.gz: a388dd96bd6253ae8db5b5dae947be514888714bdcd0d4a91d0a3e4d15b33c826da018637ce24e2341eeaab917ab6b84671eae481d872a99dc1bc7c8c2dbc400
7
- data.tar.gz: 41bcd860d6ae637670cc0b0abde0a4b9e4970cecfc19fab781fa15cdee24d73bcc2fec62dfa984f24568fc27d1b7379ff2791a5f49a4e7107992f620ab7a45cb
6
+ metadata.gz: 4cae620358ed7fa0eabad6464346899217813cdccacc68980a0abd6a4b31c0416b0b65b0d66b6cf7f7746f73ca0ff00e689b72011990d1482c012b22b8f5fdb5
7
+ data.tar.gz: 75cfe4636a13c3fa194788f5153b114c816b249c2f57e3a7358df44a9fef4818fa452fe02268f4a01c4b4a7703bacff5394dd256c194de1c586cd5a38802c3e2
data/CHANGELOG.md CHANGED
@@ -1,8 +1,12 @@
1
+ ## 5.3.2 (April 6, 2022)
2
+
3
+ - [BUGFIX] Fix case-sensitivity issue when computing relative paths
4
+
1
5
  ## 5.3.1 (February 28, 2022)
2
6
 
3
7
  - [BUGFIX] Fix Elasticsearch integration for gem versions >= 8.
4
8
 
5
- ## 5.3.0 (February, 9, 2022)
9
+ ## 5.3.0 (February 9, 2022)
6
10
 
7
11
  - [FEATURE] Support for Rails 7's `load_async`.
8
12
  - [IMPROVEMENT] `skylight doctor` now checks glibc compatibility.
@@ -21,7 +25,7 @@
21
25
 
22
26
  - [BUGFIX] Correct ruby version requirement in skylight.gemspec
23
27
 
24
- ## 5.1.0 (May 24, 2021)
28
+ ## 5.1.0 (May 24, 2021) [YANKED]
25
29
 
26
30
  - [FEATURE] Add experimental tcp-based `skylightd` (may be enabled with `SKYLIGHT_ENABLE_TCP=true`)
27
31
 
data/ext/libskylight.yml CHANGED
@@ -1,9 +1,9 @@
1
- version: "5.1.0-6812c12"
1
+ version: "5.1.0-cd7d6af"
2
2
  checksums:
3
- x86-linux: "d3acbbcd14209e8564226e005db2163b7d1ae49133eb250a7901ff2687abe330"
4
- x86_64-linux: "dfb1062572780285795eef2e99d32ff3ad6be1c944c1a6add442488f7a4a9b22"
5
- x86_64-linux-musl: "af09469f20c666a15ccbb910d8906c6a69a99f87f69db6cbba41908baf3fcef2"
6
- x86_64-darwin: "eb4cb7b9301e0b1f88623203a4476bdabf299ec62556dc40bedda78c5eeb1437"
7
- aarch64-linux: "3d5e8743c4dfdde5be3b6162c75b0351ff0be5658819c1fec9f3a936c4c81a32"
8
- aarch64-linux-musl: "30705f76e333f4883a9481a34bc2dfeb7e9fd6f98c0cf8afbe63f232f3ceb1e5"
9
- aarch64-darwin: "9f8ffc752b0e17bde587e5a5510b17554096b2b65fa2e19203ff1ee3a3145b1d"
3
+ x86-linux: "921381c014b87e67fa2049e9891377f737b5abb10963228ddcd65caede7b58d2"
4
+ x86_64-linux: "e89f0ec3f39ecca060b757fcd1b9d8f38e5846f65579785454bb69a968e8528f"
5
+ x86_64-linux-musl: "78239bc7581c124c2a00cfbc42ec6cf73e7ed280ed1a27d85bb915531a683f1a"
6
+ x86_64-darwin: "faa7363ada4bf476511f6700856fd91b9d61fed055297417ce41d83aa11fe07c"
7
+ aarch64-linux: "e172515a6f7923552e842d21319b3630bdc6e264b6a434b43d2db682dcde18cc"
8
+ aarch64-linux-musl: "1665adf149bd2c12e409f387de5d796ef9e55d4cfd9a886f69c42cab59a51926"
9
+ aarch64-darwin: "027bec103668e89f318b55ddc2a48ca5c84c7a6dcd1dd273cc9b7b46d918ef12"
@@ -78,15 +78,14 @@ module Skylight
78
78
  end
79
79
 
80
80
  def add_path(path)
81
- root = Pathname.new(path)
82
- Pathname
83
- .glob(root.join("./**/*.rb"))
84
- .each do |f|
85
- name = f.relative_path_from(root).sub_ext("").to_s
86
- raise "duplicate probe name: #{name}; original=#{available[name]}; new=#{f}" if available.key?(name)
87
-
88
- available[name] = f
89
- end
81
+ Dir.glob("**/*.rb", base: path) do |f|
82
+ name = Pathname.new(f).sub_ext("").to_s
83
+ full_path = File.expand_path(f, path)
84
+
85
+ raise "duplicate probe name: #{name}; original=#{available[name]}; new=#{full_path}" if available.key?(name)
86
+
87
+ available[name] = full_path
88
+ end
90
89
  end
91
90
 
92
91
  def available
@@ -3,5 +3,5 @@ module Skylight
3
3
  # for compatibility with semver when it is parsed by the rust agent.
4
4
  # This string will be transformed in the gemspec to "5.0.0.alpha"
5
5
  # to conform with rubygems.
6
- VERSION = "5.3.1".freeze
6
+ VERSION = "5.3.2".freeze
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: skylight
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.3.1
4
+ version: 5.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tilde, Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-03-01 00:00:00.000000000 Z
11
+ date: 2022-04-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -142,14 +142,14 @@ dependencies:
142
142
  requirements:
143
143
  - - "~>"
144
144
  - !ruby/object:Gem::Version
145
- version: 1.25.0
145
+ version: 1.26.1
146
146
  type: :development
147
147
  prerelease: false
148
148
  version_requirements: !ruby/object:Gem::Requirement
149
149
  requirements:
150
150
  - - "~>"
151
151
  - !ruby/object:Gem::Version
152
- version: 1.25.0
152
+ version: 1.26.1
153
153
  - !ruby/object:Gem::Dependency
154
154
  name: simplecov
155
155
  requirement: !ruby/object:Gem::Requirement