domainnameapi 1.0.0 → 1.0.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 +4 -4
- data/CHANGELOG.md +8 -0
- data/README.md +3 -5
- data/lib/domainnameapi/telemetry.rb +2 -2
- data/lib/domainnameapi/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 93a0f0240f006e62a4e07646f35b4be5116d19d4b2dd9bdef31f9007e2590dd8
|
|
4
|
+
data.tar.gz: 4156028762312555c6519776fedd744fd6e9cc4394fc28ee143824fab298f31d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 67ae0199573b634930c010ffd6fda6fde01021101c167b35dfb148e9827d3d19654012ebb9910e27b257355c292c30d8be4922ccd0223fbdd2d3f89f7a381ab6
|
|
7
|
+
data.tar.gz: 206c55fb9f73206df68c0a8004525b334423edfed82ccbfd3101a7a24bd3876dcdf75812d26d0a58176ce995ad2b0ad2131a78c0274cbeb9530161431b3e3260
|
data/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,14 @@ All notable changes to this project are documented in this file.
|
|
|
4
4
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
5
5
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
6
6
|
|
|
7
|
+
## [1.0.1] - 2026-11-14
|
|
8
|
+
|
|
9
|
+
### Changed
|
|
10
|
+
|
|
11
|
+
- Error reporting now has its own Sentry project: `DEFAULT_SENTRY_DSN` points to DomainNameAPI's
|
|
12
|
+
ruby-dna project, so telemetry is active by default as documented. Turn it off with
|
|
13
|
+
`set_error_reporting_enabled(false)`; `sentry_dsn:` still overrides the target.
|
|
14
|
+
|
|
7
15
|
## [1.0.0] - 2026-11-09
|
|
8
16
|
|
|
9
17
|
First release: a faithful Ruby port of [php-dna](https://github.com/domainreseller/php-dna)
|
data/README.md
CHANGED
|
@@ -31,7 +31,7 @@ Register, renew and transfer domains, manage contacts, nameservers, child namese
|
|
|
31
31
|
|
|
32
32
|
```ruby
|
|
33
33
|
# Gemfile
|
|
34
|
-
gem 'domainnameapi', git: 'https://github.com/domainreseller/ruby-dna.git', tag: 'v1.0.
|
|
34
|
+
gem 'domainnameapi', git: 'https://github.com/domainreseller/ruby-dna.git', tag: 'v1.0.1'
|
|
35
35
|
```
|
|
36
36
|
|
|
37
37
|
```bash
|
|
@@ -40,10 +40,10 @@ bundle install
|
|
|
40
40
|
|
|
41
41
|
### B) Gem file from the release
|
|
42
42
|
|
|
43
|
-
Download `domainnameapi-1.0.
|
|
43
|
+
Download `domainnameapi-1.0.1.gem` from the [latest release](https://github.com/domainreseller/ruby-dna/releases/latest), then:
|
|
44
44
|
|
|
45
45
|
```bash
|
|
46
|
-
gem install ./domainnameapi-1.0.
|
|
46
|
+
gem install ./domainnameapi-1.0.1.gem
|
|
47
47
|
```
|
|
48
48
|
|
|
49
49
|
### C) Manual usage
|
|
@@ -139,8 +139,6 @@ Pass `true` as the third constructor argument to use the OTE test gateway (`http
|
|
|
139
139
|
|
|
140
140
|
When an API call fails, the library can send an error report to DomainNameAPI's own error tracker (Sentry). A small random share of successful calls (4%, plus every call slower than 1 second) can be sent as a performance record. This helps DomainNameAPI find and fix problems. Error reporting is **on by default**.
|
|
141
141
|
|
|
142
|
-
> ℹ️ In version 1.0.0 the Sentry project for ruby-dna does not exist yet, so the built-in DSN is empty and **nothing is sent**. Reports start once a release ships the DSN. `DomainNameApi::Client.new(id, key, false, sentry_dsn: '...')` sets one explicitly.
|
|
143
|
-
|
|
144
142
|
**What is sent:**
|
|
145
143
|
|
|
146
144
|
- error code and message
|
|
@@ -12,8 +12,8 @@ module DomainNameApi
|
|
|
12
12
|
# last request/response state. Telemetry never raises into the caller and
|
|
13
13
|
# never blocks it: events are posted from a background thread.
|
|
14
14
|
module Telemetry
|
|
15
|
-
#
|
|
16
|
-
DEFAULT_SENTRY_DSN = ''
|
|
15
|
+
# DomainNameAPI's Sentry project for ruby-dna; set_error_reporting_enabled(false) turns reporting off.
|
|
16
|
+
DEFAULT_SENTRY_DSN = 'https://f73e957c11c042414614660c5fe09889@sentry.atakdomain.com/18'
|
|
17
17
|
|
|
18
18
|
APPLICATION = 'DomainNameAPI-Ruby'
|
|
19
19
|
|