hyperdx-ruby 0.1.0 → 0.1.1

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: 4933bb0e69a1ad181315c58d286df867e1c657f3571fae7b1deeda5d731ca630
4
- data.tar.gz: 97bbb1208f0052283abee07c27a04a0005590e3dd06097e62644f04d86857014
3
+ metadata.gz: 176213e2d7b15e2625ef951acca0b65f927cdc59c4fe5a2f5eb1320ce85fce8d
4
+ data.tar.gz: 523d4a7e9c4454e97f69940205bf01c08ffd9364bc1c6f2273958310997f1713
5
5
  SHA512:
6
- metadata.gz: b8fab542413e3d0ff9fd02f58356e0ae238bf37fe2e235052b02b735b64d5332dd415777571228dcf24ae5de2755ec9c0f2fbc991984bba780d62f07ee12eb27
7
- data.tar.gz: 357382ef8d18d2dbdf412c7595d85cfc48d5e287d719a5b34210bc9989f2a56672cc54f7f951bf2e071503c8d1b23558f778cf2963380915a03d752572c2383f
6
+ metadata.gz: 1ccb1ce02441cda566f015ae07674057e7b48582f1a7020d2bb15f98007ad088dd115933dafdf116c9a8859f7d4780d6f5c52a241881423f0a7a7442d03e7eb7
7
+ data.tar.gz: fdedb2fad5201d20b478dc2e4224086e1f1e6dd5397757c2ea16db936fd48dea66b41da3b94d1956c9af714b4f1d7d953fc7899c68ff170c9e7be7eee461f7a1
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Hyperdx
4
- VERSION = "0.1.0"
4
+ VERSION = "0.1.1"
5
5
  end
data/lib/hyperdx/ruby.rb CHANGED
@@ -36,7 +36,7 @@ module Hyperdx
36
36
 
37
37
  ip = opts.key?(:ip) ? "&ip=#{opts[:ip]}" : ""
38
38
  mac = opts.key?(:mac) ? "&mac=#{opts[:mac]}" : ""
39
- url = "#{endpoint}?hostname=#{hostname}#{mac}#{ip}"
39
+ url = "#{endpoint}?hostname=#{hostname}#{mac}#{ip}&hdx_platform=ruby"
40
40
  uri = URI(url)
41
41
 
42
42
  request = Net::HTTP::Post.new(uri.request_uri, "Content-Type" => "application/json")
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hyperdx-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Warren Lee