pyroscope_beta 0.1.6 → 0.1.7

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: 6d409de9625e4f204a4d2477f7ecae0a249efe2fb13e7948d3beb5853522b18a
4
- data.tar.gz: fab14ceec8e0ae424a4864f2ff71c3b732f8f4d4b891d6cedb69574bbe6f88a4
3
+ metadata.gz: 1ed92a6ebe4f73b663e77c992950ec3e8608fa33d34c756aace54a3b0629b71a
4
+ data.tar.gz: 70c19cc237afaea2b4c90bd563df0f1d326849a0e0f304690c72df64e13ec002
5
5
  SHA512:
6
- metadata.gz: 31d3dd0df1f7aeab632b373085443b47146875877683ca0c0c09ba1061bed0cba1ecc390209f26d28e3f512a6a56ec3ede54aa76b99744ab5f100f1906847d00
7
- data.tar.gz: c2fecc2d4d15d385c19009d0fdd275aebaaa453de156c8ac0ca4c930a3c2ded896f5b45e3b7ca0a2bcf97bc6c618a31d91e2aca2c3ce9979e14779f30c6683db
6
+ metadata.gz: 84b0db48c1125447a061ac0fc3f9bb27dacf3909b39ab51cc49daf161c9b1cbb3a6de49726764fc5a6b8467911fec6c5b12f02f7c9211765712b829f72cf0f98
7
+ data.tar.gz: 03e1ba52e9a92556b05d82aa2b1d98199cdbf185b284ff71ac433656eb46e299ee214ee04d28f90212adf709c9a20f027a35d10d53918a8c5a2a43a53ba9209c
data/ext/rbspy/extconf.rb CHANGED
@@ -1,5 +1,11 @@
1
1
  require 'mkmf'
2
- require 'rb_sys/mkmf'
3
- #require 'rake'
2
+ require 'rake'
4
3
 
5
- create_rust_makefile('rbspy')
4
+ create_makefile('rbspy')
5
+
6
+ app = Rake.application
7
+ app.init
8
+ app.add_import 'Rakefile'
9
+ app.load_rakefile
10
+
11
+ app['default'].invoke
@@ -1,5 +1,11 @@
1
1
  require 'mkmf'
2
- require 'rb_sys/mkmf'
3
- #require 'rake'
2
+ require 'rake'
4
3
 
5
- create_rust_makefile('thread_id')
4
+ create_makefile('thread_id')
5
+
6
+ app = Rake.application
7
+ app.init
8
+ app.add_import 'Rakefile'
9
+ app.load_rakefile
10
+
11
+ app['default'].invoke
@@ -1,3 +1,3 @@
1
1
  module Pyroscope
2
- VERSION = '0.1.6'.freeze
2
+ VERSION = '0.1.7'.freeze
3
3
  end
@@ -1,12 +1,12 @@
1
1
  require 'ffi'
2
2
  require 'fiddle'
3
3
 
4
- $libm = Fiddle.dlopen(File.expand_path(File.dirname(__FILE__)) + "/thread_id.#{RbConfig::CONFIG["DLEXT"]}")
4
+ $libm = Fiddle.dlopen(File.expand_path(File.dirname(__FILE__)) + "/thread_id/thread_id.#{RbConfig::CONFIG["DLEXT"]}")
5
5
 
6
6
 
7
7
  module Rust
8
8
  extend FFI::Library
9
- ffi_lib File.expand_path(File.dirname(__FILE__)) + "/rbspy.#{RbConfig::CONFIG["DLEXT"]}"
9
+ ffi_lib File.expand_path(File.dirname(__FILE__)) + "/rbspy/rbspy.#{RbConfig::CONFIG["DLEXT"]}"
10
10
  attach_function :initialize_agent, [:string, :string, :int, :bool, :string], :bool
11
11
  attach_function :add_tag, [:uint64, :string, :string], :bool
12
12
  attach_function :remove_tag, [:uint64, :string, :string], :bool
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pyroscope_beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pyroscope Team
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-05-31 00:00:00.000000000 Z
11
+ date: 2022-06-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ffi
@@ -234,7 +234,7 @@ homepage: https://pyroscope.io
234
234
  licenses:
235
235
  - Apache-2.0
236
236
  metadata: {}
237
- post_install_message:
237
+ post_install_message:
238
238
  rdoc_options: []
239
239
  require_paths:
240
240
  - lib
@@ -250,7 +250,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
250
250
  version: '0'
251
251
  requirements: []
252
252
  rubygems_version: 3.3.7
253
- signing_key:
253
+ signing_key:
254
254
  specification_version: 4
255
255
  summary: Pyroscope Beta
256
256
  test_files: []