skylight 4.0.0.alpha4 → 4.0.0.beta
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/CHANGELOG.md +16 -13
- data/README.md +1 -2
- data/ext/extconf.rb +4 -7
- data/lib/skylight/util/deploy.rb +1 -1
- data/lib/skylight/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b35ca4c3e1350ee911eac547565596e1b638e316bcce83cadac57384fb403df6
|
4
|
+
data.tar.gz: e09203bbb6258224e518c456adba13191d29b0c54543c0f03611af3ea4dc91f9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8983411fa175bc84bc45a4a0f3133b1d7380328d5310871e089e2a074be9a01142822348049736ddd19cfd8ab41476da72fae1c032bd4562945f74a0255ff745
|
7
|
+
data.tar.gz: ce9ef8f17c7df5b2249a9592f6f984ff032dc5b4efb57f52ef7bbba61b77d70e596d8b33e1f243cc9dd6c8343d411aada3a7caed49dbde4f21932684b6743e01
|
data/CHANGELOG.md
CHANGED
@@ -1,29 +1,32 @@
|
|
1
|
-
## 4.0.
|
2
|
-
* [BUGFIX] Do not overwrite endpoint names for nested inline background jobs
|
1
|
+
## 4.0.beta (February 14, 2019)
|
3
2
|
|
4
|
-
|
5
|
-
|
6
|
-
* [
|
3
|
+
* [FEATURE] Skylight for Background Jobs
|
4
|
+
* [FEATURE] instrument ActiveStorage notifications
|
5
|
+
* [FEATURE] Probe for Delayed::Job (standalone)
|
7
6
|
* [FEATURE] Add Skylight#started? method
|
8
7
|
* [IMPROVEMENT] Better handle some things in Ruby 2.6
|
9
8
|
* [IMPROVEMENT] Better logging in a couple places
|
10
9
|
* [IMPROVEMENT] Fixed a couple Ruby warnings (thanks, @y-yagi!)
|
11
|
-
|
12
|
-
## 4.0.0.alpha2 (December 19, 2018)
|
13
|
-
* [BUGFIX] skylightd should close cloned file descriptors on startup
|
14
|
-
* [FEATURE] instrument ActiveStorage notifications
|
15
|
-
|
16
|
-
## 4.0.0.alpha (December 3, 2018)
|
17
|
-
* [FEATURE] Skylight for Background Jobs
|
18
|
-
* [FEATURE] Probe for Delayed::Job (standalone)
|
19
10
|
* [IMPROVEMENT] Handle 403 config validation response
|
20
11
|
* [IMPROVEMENT] Config for `prune_large_traces` is now true by default
|
12
|
+
* [BREAKING] Drop support for Ruby 2.2 since it is EOL
|
21
13
|
* [BREAKING] New method for assigning 'segment' to a trace endpoint name
|
22
14
|
|
15
|
+
## 3.1.4 (January 24, 2019)
|
16
|
+
|
17
|
+
* [BUGFIX] ActiveJob#perform_now should not reassign the endpoint name
|
18
|
+
|
19
|
+
## 3.1.3 (January 23, 2019)
|
20
|
+
|
21
|
+
* [BUGFIX] skylightd correctly closes cloned file descriptors on startup
|
22
|
+
* [BUGFIX] Convert numeric git shas to strings
|
23
|
+
|
23
24
|
## 3.1.2 (November 29, 2018)
|
25
|
+
|
24
26
|
* [BUGFIX] Fix derived endpoint names under Grape 1.2
|
25
27
|
|
26
28
|
## 3.1.1 (October 25, 2018)
|
29
|
+
|
27
30
|
* [IMPROVEMENT] Get AMS version from `Gem.loaded_specs` (thanks @mattias-lundell!)
|
28
31
|
|
29
32
|
## 3.1.0 (October 22, 2018)
|
data/README.md
CHANGED
@@ -1,6 +1,5 @@
|
|
1
1
|
# Skylight Ruby Agent
|
2
|
-
|
3
|
-

|
2
|
+
[](https://badge.fury.io/rb/skylight)
|
4
3
|
[](https://dependabot.com/compatibility-score.html?dependency-name=skylight&package-manager=bundler&version-scheme=semver)
|
5
4
|
|
6
5
|
Instrument your ruby application and send the data to the Skylight
|
data/ext/extconf.rb
CHANGED
@@ -230,13 +230,6 @@ end
|
|
230
230
|
# potential issues.
|
231
231
|
if SKYLIGHT_EXT_STRICT
|
232
232
|
$CFLAGS << " -Werror"
|
233
|
-
|
234
|
-
if Platform::OS == "darwin"
|
235
|
-
# Enabling unused-parameter causes failures in Ruby 2.6
|
236
|
-
# ruby/ruby.h:2186:35: error: unused parameter 'allow_transient'
|
237
|
-
# For some reason this only seems to be an issue on macOS
|
238
|
-
$CFLAGS << ",-Wunused-parameter"
|
239
|
-
end
|
240
233
|
end
|
241
234
|
|
242
235
|
checking_for "fast thread local storage" do
|
@@ -252,6 +245,10 @@ $CFLAGS << " -std=c99 -Wall -fno-strict-aliasing"
|
|
252
245
|
# Allow stricter checks to be turned on for development or debugging
|
253
246
|
if SKYLIGHT_EXT_STRICT
|
254
247
|
$CFLAGS << " -Wextra"
|
248
|
+
|
249
|
+
# Enabling unused-parameter causes failures in Ruby 2.6+
|
250
|
+
# ruby/ruby.h:2186:35: error: unused parameter 'allow_transient'
|
251
|
+
$CFLAGS << " -Wno-error=unused-parameter"
|
255
252
|
end
|
256
253
|
|
257
254
|
# TODO: Compute the relative path to the location
|
data/lib/skylight/util/deploy.rb
CHANGED
@@ -38,7 +38,7 @@ module Skylight
|
|
38
38
|
timestamp: timestamp,
|
39
39
|
deploy_id: id.to_s[0..100] # Keep this sane
|
40
40
|
}
|
41
|
-
hash[:git_sha] = git_sha[0..40] if git_sha # A valid SHA will never exceed 40
|
41
|
+
hash[:git_sha] = git_sha.to_s[0..40] if git_sha # A valid SHA will never exceed 40
|
42
42
|
hash[:description] = description[0..255] if description # Avoid massive descriptions
|
43
43
|
hash
|
44
44
|
end
|
data/lib/skylight/version.rb
CHANGED
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: 4.0.0.
|
4
|
+
version: 4.0.0.beta
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tilde, Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-02-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: skylight-core
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 4.0.0.
|
19
|
+
version: 4.0.0.beta
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - '='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 4.0.0.
|
26
|
+
version: 4.0.0.beta
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: beefcake
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|