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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0a536f2d3e5029cc589851035fe4eb5e135c1737ac0186cfcacad30ba4dc5cab
4
- data.tar.gz: 7f246148e801e7b08b5a0269553d966dc8028d7338890e731a38d0e6ef523a68
3
+ metadata.gz: b35ca4c3e1350ee911eac547565596e1b638e316bcce83cadac57384fb403df6
4
+ data.tar.gz: e09203bbb6258224e518c456adba13191d29b0c54543c0f03611af3ea4dc91f9
5
5
  SHA512:
6
- metadata.gz: 6e1e28ca20e2b12c2432358c600acace104c6ccd525046f4bccf368d2f71a428a61546c358ec9b9a863c2964562661a2d997e9419f32670b1d26c4ddbd3d9a3e
7
- data.tar.gz: 9677c29666c5941b8798af8adbb7b573ac4a08b51d9abf545d963b2452ea5ca0c35f650dd6236e36d9e6674b978189431af1e3c60e2811ac2de61f4497b9aaaf
6
+ metadata.gz: 8983411fa175bc84bc45a4a0f3133b1d7380328d5310871e089e2a074be9a01142822348049736ddd19cfd8ab41476da72fae1c032bd4562945f74a0255ff745
7
+ data.tar.gz: ce9ef8f17c7df5b2249a9592f6f984ff032dc5b4efb57f52ef7bbba61b77d70e596d8b33e1f243cc9dd6c8343d411aada3a7caed49dbde4f21932684b6743e01
@@ -1,29 +1,32 @@
1
- ## 4.0.0.alpha4 (January 15, 2018)
2
- * [BUGFIX] Do not overwrite endpoint names for nested inline background jobs
1
+ ## 4.0.beta (February 14, 2019)
3
2
 
4
- ## 4.0.0.alpha3 (January 9, 2018)
5
-
6
- * [BREAKING] Drop support for Ruby 2.2 since it is EOL
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
- ![Rubygems Version](https://img.shields.io/gem/v/skylight.svg)
2
+ [![Gem Version](https://badge.fury.io/rb/skylight.svg)](https://badge.fury.io/rb/skylight)
4
3
  [![SemVer](https://api.dependabot.com/badges/compatibility_score?dependency-name=skylight&package-manager=bundler&version-scheme=semver)](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
@@ -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
@@ -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
@@ -1,3 +1,3 @@
1
1
  module Skylight
2
- VERSION = "4.0.0-alpha4".freeze
2
+ VERSION = "4.0.0-beta".freeze
3
3
  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: 4.0.0.alpha4
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-01-16 00:00:00.000000000 Z
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.alpha4
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.alpha4
26
+ version: 4.0.0.beta
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: beefcake
29
29
  requirement: !ruby/object:Gem::Requirement