raygun-apm 1.0.72-universal-darwin → 1.0.73-universal-darwin

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: 3565dbdbccdc6806b3ed687192e8e76bed6562dcb61171483527c4590920fa1c
4
- data.tar.gz: 744748741ddbe07254e96f66225d64ecbd76c730042728f07b7d312e4f7390d9
3
+ metadata.gz: 3109880e231e5f948a3e3c611a470cb13c1adc6b2d740d5e3dc2ed6c1ea50379
4
+ data.tar.gz: 0d46823c23dfb7ac1894b7ca1811df38948b71a9e34597227f3ba77780f4b3ec
5
5
  SHA512:
6
- metadata.gz: 55a875cfc1715e08580eeccf96190e2efacc134face5caec25ef576a782ef19686e3428f97fc7c4742bb976dfe8c0a3f975fdb1012c7a4469375b39941bebd73
7
- data.tar.gz: 261e96b1e6dbc6b7f9f3e8a00a43bb700755cdf1d6332a23dcf1cd1eee8242bcaf5a63404080f473ab52afafe6ea7aaaedbabfbc6d3d159f273309a0de5a91e4
6
+ metadata.gz: 400ebf87606212e9bcc5e81e990f3e88bcd695392a040d3dbd1faf94a0a605031e951d92e2f007f27e3f76aa18d039faadfdff1d340e71fc385ec92b71197771
7
+ data.tar.gz: 91ec6fae1e522bcd95b55d631edad675fc7adbf327d8b5f472ef72dbecee79f42ab1ff9bef692a0cea2d287627ee0cead94dde6914146afcf47e9e014b631d9c
@@ -1,6 +1,8 @@
1
1
  # encoding: utf-8
2
2
 
3
+ # Makefile generator helper - from standard library
3
4
  require 'mkmf'
5
+ # References core headers extracted by Ruby minor version in https://github.com/os97673/debase-ruby_core_source . Required for some of the lower level profiler features
4
6
  require 'debase/ruby_core_source'
5
7
 
6
8
  headers = proc do
@@ -11,12 +13,15 @@ end
11
13
 
12
14
  dir_config('raygun')
13
15
 
16
+ # To allow for swapping out the compiler - clang in favour of gcc for example
14
17
  RbConfig::MAKEFILE_CONFIG['CC'] = ENV['CC'] if ENV['CC']
15
18
 
19
+ # Pendatic about all the things
16
20
  append_cflags '-pedantic'
17
21
  append_cflags '-Wall'
18
22
  append_cflags '-Werror=switch'
19
23
  append_cflags '-std=c99'
24
+ # Enables additional flags, stack protection and debug symbols
20
25
  if ENV['DEBUG']
21
26
  have_library 'ssp'
22
27
  have_func '__stack_chk_guard'
@@ -33,6 +38,7 @@ else
33
38
  append_cflags '-O3'
34
39
  end
35
40
 
41
+ # Renders an ASCII presentation of the shadow stack at runtime
36
42
  if ENV['DEBUG_SHADOW_STACK']
37
43
  append_cflags '-DRB_RG_DEBUG_SHADOW_STACK'
38
44
  end
@@ -42,6 +48,7 @@ unless create_header
42
48
  exit(1)
43
49
  end
44
50
 
51
+ # Check for the presence of headers in ruby_core_headers for the version currently compiled for
45
52
  unless Debase::RubyCoreSource.create_makefile_with_core(headers, 'raygun_ext')
46
53
  STDERR.print("Makefile creation failed\n")
47
54
  STDERR.print("One or more ruby headers not found\n")
@@ -1,6 +1,6 @@
1
1
  module Raygun
2
2
  module Apm
3
- VERSION = "1.0.72"
3
+ VERSION = "1.0.73"
4
4
  MINIMUM_AGENT_VERSION = "1.0.1190.0"
5
5
  end
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: raygun-apm
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.72
4
+ version: 1.0.73
5
5
  platform: universal-darwin
6
6
  authors:
7
7
  - Raygun
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2020-09-30 00:00:00.000000000 Z
12
+ date: 2020-10-11 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: debase-ruby_core_source