liteguard 0.3.20260315 → 0.4.20260317

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +5 -1
  3. data/lib/liteguard/client.rb +1 -0
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c5639cf9bfedbd8a5410e0d33addc0c5d2668ef4048fd53562698af2d23b47d7
4
- data.tar.gz: 4f5160aae968869e16db59db5b687b9e3e314073cb48557c54c34e78dad80fb7
3
+ metadata.gz: 9c5c689f405afe521506111a670b47b74494ed547562a8e083f1c040bcf5b283
4
+ data.tar.gz: a873c10263763a6700a3fb7ac1ea355d829c927a885cfbc048abf9221d66559a
5
5
  SHA512:
6
- metadata.gz: 3da6c94e15e9638769a7a24608293ec1804d6267d99def6087614c4660808970a092aa4002c796717778fa638c6e7dcb63d0cbfc62fc5526fc5ad2c70f7b4f85
7
- data.tar.gz: eb8674f429b011190e951feed26376f88f5f27baa68331823eb841d8c282b9de89ab068e2dc15b7b7d8ffada8e89fd1133fd939b214262b57d5bde77c208270e
6
+ metadata.gz: 36ffdc869fa486befba275c7a7683879b6ec0014071ba17d6339f28bf173980d4d8d6755f6c19d825b32f215f486cd62f9cbe64887bf1a4fe2c13ddc5401f763
7
+ data.tar.gz: 44cbf8a627c3edb19bbc1d0152d7670661279a728774dbf72def1e28329a6e6c8a7779b598eb37a23f12bf974bd956a4d778902af9b7d94e078b66efefeda12b
data/README.md CHANGED
@@ -3,6 +3,10 @@
3
3
  [![Ruby SDK](https://github.com/liteguard/liteguard/actions/workflows/test-ruby.yml/badge.svg)](https://github.com/liteguard/liteguard/actions/workflows/test-ruby.yml)
4
4
  [![Gem Version](https://img.shields.io/gem/v/liteguard)](https://rubygems.org/gems/liteguard)
5
5
 
6
+ - Website: [liteguard.io](https://liteguard.io)
7
+ - Project Page: [https://github.com/liteguard/liteguard](https://github.com/liteguard/liteguard)
8
+ - Issues: [https://github.com/liteguard/liteguard/issues/new](https://github.com/liteguard/liteguard/issues/new)
9
+
6
10
  ## Installation
7
11
 
8
12
  ```bash
@@ -24,7 +28,7 @@ require "liteguard"
24
28
 
25
29
  client = Liteguard::Client.new(
26
30
  "pct-...",
27
- environment: "production"
31
+ environment: "env-production"
28
32
  )
29
33
  client.start
30
34
 
@@ -769,6 +769,7 @@ module Liteguard
769
769
  req = Net::HTTP::Post.new(uri)
770
770
  req["Authorization"] = "Bearer #{@project_client_token}"
771
771
  req["Content-Type"] = "application/json"
772
+ req["X-Liteguard-Environment"] = @environment unless @environment.empty?
772
773
  req["If-None-Match"] = bundle.etag unless bundle.etag.to_s.empty?
773
774
  req.body = JSON.generate(payload)
774
775
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: liteguard
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.20260315
4
+ version: 0.4.20260317
5
5
  platform: ruby
6
6
  authors:
7
7
  - Liteguard
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-03-16 00:00:00.000000000 Z
11
+ date: 2026-03-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec