pyroscope 0.0.4 → 0.0.8

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: e357d9f0b7fec9228203361a6a587878cfb5287aab495cbfee4bc234819f1e41
4
- data.tar.gz: 1ec03dc3b03880a6c4ffad9ac43ae0e80423b61d5e8aa96e3189286be0774ce2
3
+ metadata.gz: 636e6eb94acda6f2898c25e4d086c93ae7d897fedc9d4bd57ac482baa6b1c7f7
4
+ data.tar.gz: 626bc1113cc58199c9591522a842e2a91d5a42f9b91753f53e327e234f1e191c
5
5
  SHA512:
6
- metadata.gz: c06c4e4493cc73f911a78bce641cf32770a9f4a85fc6dc565d6b61bd1f9c0891f2b4668dd4a361c41be4cd1c25eed7022d2ed9aee3c2b86dbad029f5d186a12f
7
- data.tar.gz: 9db95f732756997e6f6ba219371988504ba9b50de9e7f8afd915cdcb932070dd7cee2d34cf260e9c29a2a8252207c26c5d5a6a1b32bf959dbf195aa864998609
6
+ metadata.gz: a254c4e5702763ccdcf0350c1f5e4cf85a31fa26eae60a65028715e5b9acbc056711344f10dfa47161449953c87991c537007947cd24c5c95e75395c89a7f0a7
7
+ data.tar.gz: 8bd44ff1cc9588d2daebd43bb77e3a5bdb2ef9f567528aa0b0541993a7d977ad35e73a04e9bca0b539890ec81844868785606a0708cf07c5e54d105ebd08c23b
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- pyroscope (0.0.4)
4
+ pyroscope (0.0.8)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -9,7 +9,7 @@ HEADER_DIRS = [INCLUDEDIR]
9
9
 
10
10
  LIB_DIRS = [LIBDIR, File.expand_path(File.join(File.dirname(__FILE__), "lib"))]
11
11
 
12
- COMMIT = "ef35010"
12
+ COMMIT = "2e383e4"
13
13
 
14
14
  # TODO: this is not very accurate, but it works for now
15
15
  OS = RUBY_PLATFORM.include?("darwin") ? "mac" : "linux"
@@ -31,6 +31,9 @@ Net::HTTP.start("dl.pyroscope.io", 443, :use_ssl => true) do |http|
31
31
  File.binwrite(File.join(ROOT, "lib/librustdeps.a"), lib2)
32
32
  end
33
33
 
34
+ # TODO: figure out how to fix this bug
35
+ system "strip --strip-debug #{File.join(ROOT, "lib/libpyroscope.rbspy.a")}"
36
+
34
37
  # system "cp /Users/dmitry/Dev/ps/pyroscope/out/libpyroscope.rbspy.a #{File.join(ROOT, "lib/libpyroscope.rbspy.a")}"
35
38
  # system "cp /Users/dmitry/Dev/ps/pyroscope/third_party/rustdeps/target/release/librustdeps.a #{File.join(ROOT, "lib/librustdeps.a")}"
36
39
 
Binary file
data/lib/pyroscope.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  require "pyroscope/version"
2
- require_relative "./pyroscope_c"
2
+ require "pyroscope_c"
3
3
 
4
4
  module Pyroscope
5
5
  Config = Struct.new(:app_name, :server_address)
@@ -1,3 +1,3 @@
1
1
  module Pyroscope
2
- VERSION = "0.0.4".freeze
2
+ VERSION = "0.0.8".freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pyroscope
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pyroscope Team