moatlight 1.1.0 → 1.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 +4 -4
- data/README.md +3 -3
- data/lib/moatlight/version.rb +1 -1
- data/lib/moatlight.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4bbba8d5d93cb229e0a5352ab0b6f5f6921d97fa44303ee73d3c21a5df746661
|
|
4
|
+
data.tar.gz: 2f0387b9a3c8224f5c910ddce4d499f0fcbca134631f265f26816ab9d8659fa7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8e19a23dcf554277fb321be4d6b60674f4c171e1eef39c5203a5dcc433bef9035a21da045153109c3d7e5c3c43e4cb4624f4a2ba63661aae15968569a298fb48
|
|
7
|
+
data.tar.gz: 51e0da37f9957d626fd0bf240867234b6d94d584799a90db5fbdcfccf61e601873c5adcf19bec9b93d7dbde3c0f083150c208b72eac81a8e4ef103a5f9bdd494
|
data/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# moatlight (Ruby)
|
|
2
2
|
|
|
3
|
-
Official Ruby client for the [Moatlight API](https://
|
|
3
|
+
Official Ruby client for the [Moatlight API](https://moatlight.com/docs). Standard library only.
|
|
4
4
|
|
|
5
5
|
```ruby
|
|
6
6
|
require "moatlight"
|
|
@@ -13,8 +13,8 @@ report = client.create_report(website: "yourcompany.com")
|
|
|
13
13
|
client.start_report(report["id"])
|
|
14
14
|
```
|
|
15
15
|
|
|
16
|
-
Try it with no login against the sandbox: `Moatlight::Client.new(base_url: "https://
|
|
16
|
+
Try it with no login against the sandbox: `Moatlight::Client.new(base_url: "https://moatlight.com/api/v1/sandbox")` is not needed, the sandbox shares the paths under `/api/v1/sandbox`; see https://moatlight.com/docs#sandbox.
|
|
17
17
|
|
|
18
18
|
Writes send an `Idempotency-Key`, so a retry never starts a second report. `429` and `5xx` are retried and `Retry-After` is honoured. Errors raise `Moatlight::Error` with `status`, `code`, `message`, `hint`.
|
|
19
19
|
|
|
20
|
-
Homepage: https://
|
|
20
|
+
Homepage: https://moatlight.com. Source: https://github.com/Moatlight/moatlight-agent-kit. License: MIT.
|
data/lib/moatlight/version.rb
CHANGED
data/lib/moatlight.rb
CHANGED
|
@@ -9,7 +9,7 @@ require "uri"
|
|
|
9
9
|
require_relative "moatlight/version"
|
|
10
10
|
|
|
11
11
|
module Moatlight
|
|
12
|
-
DEFAULT_BASE_URL = "https://
|
|
12
|
+
DEFAULT_BASE_URL = "https://moatlight.com".freeze
|
|
13
13
|
|
|
14
14
|
# An API error: HTTP status plus the code, message and hint from the JSON error body.
|
|
15
15
|
class Error < StandardError
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: moatlight
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.1.
|
|
4
|
+
version: 1.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Moatlight
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-11-
|
|
11
|
+
date: 2026-11-07 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: Measure whether ChatGPT and Google AI Overview name a business. Standard
|
|
14
14
|
library only; writes carry an Idempotency-Key and 429/5xx are retried.
|
|
@@ -21,13 +21,13 @@ files:
|
|
|
21
21
|
- README.md
|
|
22
22
|
- lib/moatlight.rb
|
|
23
23
|
- lib/moatlight/version.rb
|
|
24
|
-
homepage: https://
|
|
24
|
+
homepage: https://moatlight.com
|
|
25
25
|
licenses:
|
|
26
26
|
- MIT
|
|
27
27
|
metadata:
|
|
28
|
-
homepage_uri: https://
|
|
28
|
+
homepage_uri: https://moatlight.com
|
|
29
29
|
source_code_uri: https://github.com/Moatlight/moatlight-agent-kit
|
|
30
|
-
documentation_uri: https://
|
|
30
|
+
documentation_uri: https://moatlight.com/docs
|
|
31
31
|
bug_tracker_uri: https://github.com/Moatlight/moatlight-agent-kit/issues
|
|
32
32
|
rubygems_mfa_required: 'true'
|
|
33
33
|
post_install_message:
|