salopulse 0.2.0 → 0.2.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: e595f060867547b1a24600f74efd2381427496a9f52ed4c601043ecfda8aea9d
4
- data.tar.gz: 8854fc8119f60edba1efdc9c2a03913a52a371ef4d512f3935b97f1811262876
3
+ metadata.gz: 0deb38c69a0976dd9139e0014a6b1af52635fa38c526a31f5fe8ab7ad3ec37ac
4
+ data.tar.gz: f9ec686f732520929bca77433c82fc11022aba9fecc22728e7f2ef849b843ed1
5
5
  SHA512:
6
- metadata.gz: 3ba6e7d361a664acf07b52ffbc681f5d7a17eacc971259c3692e66d32a66c0a42d58b25790ecbe8e8d87076904d7f38156522a0fd12981fe93e19cf43eb30795
7
- data.tar.gz: 46ebc72af0e1197d96590797add818733ddebfa56e844fc0b2f55d3be55b1a550a9cf544735fd207e2d80ef6c50aafe59a07e20443d0ae7e1304b016deda68f7
6
+ metadata.gz: c6d189bf5387cee4601ef5946ee5a74cd51355682184e7fb9f63aa8abcf4b8ef606072e9bfd38e7bf676c6010dba466c0c23b84f07c6807cea34da5d8c1864a4
7
+ data.tar.gz: 56e41da52bd09d63b852aec442b2ab148d2695c4c916b4d9a40ce462cfc4b4a739649adc36b9dc519c01d1c0d1d8c7c5899282497c48ce2cfd079e660a84c2d7
data/CHANGELOG.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Format: [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
4
4
 
5
- ## [0.2.0] - 2026-06-04
5
+ ## [0.2.1] - 2026-06-04
6
6
 
7
7
  First public release of the rewritten Salopulse APM SDK. Bumped past the
8
8
  legacy `salopulse` 0.1.x line on RubyGems.
data/lib/salopulse/dsn.rb CHANGED
@@ -15,14 +15,14 @@ module Salopulse
15
15
  raise Salopulse::Error::InvalidDSN, "geçersiz URL"
16
16
  end
17
17
 
18
- raise Salopulse::Error::InvalidDSN, "scheme https olmalı" unless uri.scheme == "https"
18
+ raise Salopulse::Error::InvalidDSN, "scheme https olmalı" unless uri.scheme == "http"
19
19
  raise Salopulse::Error::InvalidDSN, "api_key eksik" if uri.userinfo.nil? || uri.userinfo.empty?
20
20
  raise Salopulse::Error::InvalidDSN, "host eksik" if uri.host.nil? || uri.host.empty?
21
21
 
22
22
  @api_key = uri.userinfo
23
23
  @host = uri.host
24
24
  port_part = (uri.port && uri.port != 443) ? ":#{uri.port}" : ""
25
- @ingest_url = "https://#{uri.host}#{port_part}/api/v1/ingest"
25
+ @ingest_url = "http://#{uri.host}#{port_part}/api/v1/ingest"
26
26
  end
27
27
  end
28
28
  end
@@ -1,3 +1,3 @@
1
1
  module Salopulse
2
- VERSION = "0.2.0".freeze
2
+ VERSION = "0.2.1".freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: salopulse
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Salih İmran Büker