libddprof 0.2.0.1.0.beta3 → 0.3.0.1.0

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: 5d9bb3c14c273e270cb43d493b4259fd7f9950762dea55d63d3a97032b70448c
4
- data.tar.gz: '092644440dd9ca231b5871230639f8b5c705cb6a55f85ff6022335d4547d9db4'
3
+ metadata.gz: b2ce92269c1d416dd614fd809ab2b278ebd49f507a24964cedad595d5b3dd355
4
+ data.tar.gz: 7b1ada468fde22067ef96ecdbab50eb044be99beef546e00aa22c1b966b270d9
5
5
  SHA512:
6
- metadata.gz: 667a095c8f6591fb153e7b46dea4d84cea052658c48dbc39dc6f96eb64257eb75f7997c14120562ba3afc620ebaae12e48e5ea0d7a852a218d9caac72230e225
7
- data.tar.gz: 1963e924cc0cf814a7d106c3cf2666a44a414931b926331bfb365fab99f3b06ba210efcd3610b6c1aa0ab76d623d1a12a5e948342b37ed4906fc6098dee4db71
6
+ metadata.gz: cfc894ce6c67a01dfa9c907c8e998deae664b14649c360e3d267ba29d915da250c21ff5a46208ed568db98a651ef43a43881dbf86ec018c83ea767b0494d0688
7
+ data.tar.gz: 1bc31cca3ae4722c278578b45ca367e902b53c4dec5be17eb9fcfb72ad00714524bf7225ef3dddad4991f65d92b01bd2193b58e0d7603e9c27c4d4920c4ae80f
data/README.md CHANGED
@@ -3,8 +3,8 @@
3
3
  `libddprof` provides a shared library containing common code used in the implementation of Datadog's
4
4
  [Continuous Profilers](https://docs.datadoghq.com/tracing/profiler/).
5
5
 
6
- **NOTE**: If you're building a new profiler or want to contribute to Datadog's existing profilers, you've come to the
7
- right place!
6
+ **NOTE**: If you're building a new profiler or want to contribute to Datadog's existing profilers,
7
+ you've come to the right place!
8
8
  Otherwise, this is possibly not the droid you were looking for.
9
9
 
10
10
  ## Development
@@ -16,12 +16,14 @@ You can also run `bundle exec pry` for an interactive prompt that will allow you
16
16
 
17
17
  Note: No Ruby needed to run this! It all runs inside docker :)
18
18
 
19
+ Note: Publishing new releases to rubygems.org can only be done by Datadog employees.
20
+
19
21
  1. [ ] Locate the new libddprof release on GitHub: <https://github.com/DataDog/libddprof/releases>
20
22
  2. [ ] Update the `LIB_GITHUB_RELEASES` section of the <Rakefile> with the new version
21
23
  3. [ ] Update the <lib/libddprof/version.rb> file with the `LIB_VERSION` and `VERSION` to use
22
24
  4. [ ] Commit change, open PR, get it merged
23
25
  5. [ ] Release by running `docker-compose run push_to_rubygems`.
24
- (When asked for rubygems credentials, check your local friendly 1Password.)
26
+ (When asked for rubygems credentials, check your local friendly Datadog 1Password.)
25
27
  6. [ ] Verify that release shows up correctly on: <https://rubygems.org/gems/libddprof>
26
28
 
27
29
  ## Contributing
data/Rakefile CHANGED
@@ -5,7 +5,7 @@ require "rspec/core/rake_task"
5
5
  require "standard/rake" unless RUBY_VERSION < "2.5"
6
6
 
7
7
  require "fileutils"
8
- require "http"
8
+ require "http" unless RUBY_VERSION < "2.5"
9
9
  require "pry"
10
10
  require "rubygems/package"
11
11
 
@@ -13,15 +13,27 @@ RSpec::Core::RakeTask.new(:spec)
13
13
 
14
14
  LIB_GITHUB_RELEASES = {
15
15
  "0.2.0" => [
16
+ {
17
+ file: "libddprof-x86_64-alpine-linux-musl.tar.gz",
18
+ sha256: "d519a6241d78260522624b8e79e98502510f11d5d9551f5f80fc1134e95fa146",
19
+ ruby_platform: "x86_64-linux-musl"
20
+ },
16
21
  {
17
22
  file: "libddprof-x86_64-unknown-linux-gnu.tar.gz",
18
23
  sha256: "cba0f24074d44781d7252b912faff50d330957e84a8f40a172a8138e81001f27",
19
24
  ruby_platform: "x86_64-linux"
20
- },
25
+ }
26
+ ],
27
+ "0.3.0" => [
21
28
  {
22
29
  file: "libddprof-x86_64-alpine-linux-musl.tar.gz",
23
- sha256: "d519a6241d78260522624b8e79e98502510f11d5d9551f5f80fc1134e95fa146",
30
+ sha256: "854609c1acc86f6653f539b3fe8780ad1e60d8738f85efdb3b1aa0054e75a217",
24
31
  ruby_platform: "x86_64-linux-musl"
32
+ },
33
+ {
34
+ file: "libddprof-x86_64-unknown-linux-gnu.tar.gz",
35
+ sha256: "d9c64567e7ef5f957581dd81892b144b81e1f52fdf5671430c7af0b039b48929",
36
+ ruby_platform: "x86_64-linux"
25
37
  }
26
38
  ]
27
39
  # Add more versions here
data/gems.rb CHANGED
@@ -5,9 +5,9 @@ source "https://rubygems.org"
5
5
  # Specify your gem's dependencies in libddprof.gemspec
6
6
  gemspec
7
7
 
8
- gem "rake", "~> 13.0"
8
+ gem "rake", ">= 12.0", "< 14"
9
9
  gem "rspec", "~> 3.10"
10
10
  gem "standard", "~> 1.3" unless RUBY_VERSION < "2.5"
11
- gem "http", "~> 5.0"
11
+ gem "http", "~> 5.0" unless RUBY_VERSION < "2.5"
12
12
  gem "pry"
13
- gem "pry-byebug"
13
+ gem "pry-byebug" unless RUBY_VERSION > "3.1"
@@ -2,11 +2,11 @@
2
2
 
3
3
  module Libddprof
4
4
  # Current libddprof version
5
- LIB_VERSION = "0.2.0"
5
+ LIB_VERSION = "0.3.0"
6
6
 
7
7
  GEM_MAJOR_VERSION = "1"
8
8
  GEM_MINOR_VERSION = "0"
9
- GEM_PRERELEASE_VERSION = ".beta3"
9
+ GEM_PRERELEASE_VERSION = "" # remember to include dot prefix, if needed!
10
10
  private_constant :GEM_MAJOR_VERSION, :GEM_MINOR_VERSION, :GEM_PRERELEASE_VERSION
11
11
 
12
12
  # The gem version scheme is lib_version.gem_major.gem_minor[.prerelease].
data/lib/libddprof.rb CHANGED
@@ -10,7 +10,7 @@ module Libddprof
10
10
 
11
11
  # This should only be used for debugging/logging
12
12
  def self.available_binaries
13
- File.directory?(vendor_directory) ? Dir.children(vendor_directory) : []
13
+ File.directory?(vendor_directory) ? (Dir.entries(vendor_directory) - [".", ".."]) : []
14
14
  end
15
15
 
16
16
  def self.pkgconfig_folder
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: libddprof
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0.1.0.beta3
4
+ version: 0.3.0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Datadog, Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-02-02 00:00:00.000000000 Z
11
+ date: 2022-02-04 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: libddprof contains implementation bits used by Datadog's ddtrace gem
14
14
  as part of its Continuous Profiler feature.
@@ -45,9 +45,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
45
45
  version: 2.1.0
46
46
  required_rubygems_version: !ruby/object:Gem::Requirement
47
47
  requirements:
48
- - - ">"
48
+ - - ">="
49
49
  - !ruby/object:Gem::Version
50
- version: 1.3.1
50
+ version: '0'
51
51
  requirements: []
52
52
  rubygems_version: 3.3.3
53
53
  signing_key: