galaxy-ruby 0.2.0 → 0.4.0
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 +34 -0
- data/README.md +1 -1
- data/SKILL.md +1 -1
- data/api.md +2 -2
- data/lib/galaxy-ruby/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d83e2b91e932a6d5b7e2291af472253fa8418350223bbf2f9f30bdb180e9610d
|
|
4
|
+
data.tar.gz: 3c266079f127c2ebf2d109d40a7c879dc0e84fa7a6b3674fa4770585f2ab91e3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f8ea83fb309e8280304e999cbba6e2a40e60155d5cd6060196e52b4b3e9435fd3e350cabfd3b3384fc21a93b37526b6c164e370be6dcf5ae4c0d85cb7171a9f9
|
|
7
|
+
data.tar.gz: 7711073a7474ee59c277f82c92ebbea0e42091521676aac7756d5f6972b562d1c82ede7dbdfc1c8452c82b13c801a27746654f02d302e893e1f442a91115053b
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,39 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.4.0](https://github.com/scalar/galaxy-ruby/compare/v0.3.1...v0.4.0) (2026-09-15)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### ⚠ BREAKING CHANGES
|
|
7
|
+
|
|
8
|
+
* **api:** 3 breaking changes to the SDK surface.
|
|
9
|
+
- Property `planet.habitabilityIndex` type changed from `number<float>` to `number<float>`.
|
|
10
|
+
- Property `planet.physicalProperties` type changed from `object` to `object`.
|
|
11
|
+
- Property `planet.atmosphere` type changed from `Array<object>` to `Array<object>`.
|
|
12
|
+
|
|
13
|
+
### Features
|
|
14
|
+
|
|
15
|
+
* **api:** update property planet.habitabilityIndex (+3 more changes) ([0eec358](https://github.com/scalar/galaxy-ruby/commit/0eec3582bffe0684b4396a6c2e0863ad75665b23))
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Chores
|
|
19
|
+
|
|
20
|
+
* **api:** regenerate SDK ([8d78019](https://github.com/scalar/galaxy-ruby/commit/8d7801996c969c91f4099c3fe5975bc0e65ef6c1))
|
|
21
|
+
|
|
22
|
+
## [0.3.1](https://github.com/scalar/galaxy-ruby/compare/v0.3.0...v0.3.1) (2026-08-31)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### Chores
|
|
26
|
+
|
|
27
|
+
* **api:** regenerate SDK ([c5ce746](https://github.com/scalar/galaxy-ruby/commit/c5ce74622826433d321f8b77d294f90ec9e8472a))
|
|
28
|
+
* **api:** update generated SDK content ([c95aaf6](https://github.com/scalar/galaxy-ruby/commit/c95aaf64ee83cd6a0b56be2e987b17df32424caa))
|
|
29
|
+
|
|
30
|
+
## [0.3.0](https://github.com/scalar/galaxy-ruby/compare/v0.2.0...v0.3.0) (2026-08-28)
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
### Features
|
|
34
|
+
|
|
35
|
+
* **api:** initial SDK generation ([f5c29ae](https://github.com/scalar/galaxy-ruby/commit/f5c29ae59487047b27a0bfa78927f34e2f11f3db))
|
|
36
|
+
|
|
3
37
|
## [0.2.0](https://github.com/scalar/galaxy-ruby/compare/v0.1.0...v0.2.0) (2026-08-28)
|
|
4
38
|
|
|
5
39
|
|
data/README.md
CHANGED
|
@@ -26,7 +26,7 @@ The full API of this library can be found in [api.md](./api.md).
|
|
|
26
26
|
Add the gem to your application's `Gemfile`:
|
|
27
27
|
|
|
28
28
|
```ruby
|
|
29
|
-
gem "galaxy-ruby", "~> 0.
|
|
29
|
+
gem "galaxy-ruby", "~> 0.4.0" # x-release-please-version
|
|
30
30
|
```
|
|
31
31
|
|
|
32
32
|
Or install it directly:
|
data/SKILL.md
CHANGED
|
@@ -12,7 +12,7 @@ Generated Ruby client for Scalar Galaxy API, published as `galaxy-ruby`. Use the
|
|
|
12
12
|
Add the gem to your application's `Gemfile`:
|
|
13
13
|
|
|
14
14
|
```ruby
|
|
15
|
-
gem "galaxy-ruby", "~> 0.
|
|
15
|
+
gem "galaxy-ruby", "~> 0.4.0" # x-release-please-version
|
|
16
16
|
```
|
|
17
17
|
|
|
18
18
|
Or install it directly:
|
data/api.md
CHANGED
|
@@ -57,7 +57,7 @@ Time to play god and create a new planet. What do you think? Ah, don't think too
|
|
|
57
57
|
| Response | [`Planet`](././lib/galaxy-ruby/models/planet.rb) |
|
|
58
58
|
|
|
59
59
|
```ruby
|
|
60
|
-
response = client.planets.create({ id: 1, name: "Mars", atmosphere: [], creator: { }, description: "The red planet", discovered_at: "1610-01-07T00:00:00Z", failure_callback_url: "https://example.com/webhook", habitability_index: 0.68, image: "https://cdn.scalar.com/photos/mars.jpg", last_updated: "2024-01-15T14:30:00Z", physical_properties: { }, satellites: [], success_callback_url: "https://example.com/webhook", tags: [], type: "terrestrial" })
|
|
60
|
+
response = client.planets.create({ id: 1, name: "Mars", atmosphere: [{ }], creator: { }, description: "The red planet", discovered_at: "1610-01-07T00:00:00Z", failure_callback_url: "https://example.com/webhook", habitability_index: 0.68, image: "https://cdn.scalar.com/photos/mars.jpg", last_updated: "2024-01-15T14:30:00Z", physical_properties: { }, satellites: [{ "name" => "Phobos" }], success_callback_url: "https://example.com/webhook", tags: [""], type: "terrestrial" })
|
|
61
61
|
|
|
62
62
|
puts response.inspect
|
|
63
63
|
```
|
|
@@ -87,7 +87,7 @@ Sometimes you make mistakes, that's fine. No worries, you can update all planets
|
|
|
87
87
|
| Response | [`Planet`](././lib/galaxy-ruby/models/planet.rb) |
|
|
88
88
|
|
|
89
89
|
```ruby
|
|
90
|
-
response = client.planets.update(1, { id: 1, name: "Mars", atmosphere: [], creator: { }, description: "The red planet", discovered_at: "1610-01-07T00:00:00Z", failure_callback_url: "https://example.com/webhook", habitability_index: 0.68, image: "https://cdn.scalar.com/photos/mars.jpg", last_updated: "2024-01-15T14:30:00Z", physical_properties: { }, satellites: [], success_callback_url: "https://example.com/webhook", tags: [], type: "terrestrial" })
|
|
90
|
+
response = client.planets.update(1, { id: 1, name: "Mars", atmosphere: [{ }], creator: { }, description: "The red planet", discovered_at: "1610-01-07T00:00:00Z", failure_callback_url: "https://example.com/webhook", habitability_index: 0.68, image: "https://cdn.scalar.com/photos/mars.jpg", last_updated: "2024-01-15T14:30:00Z", physical_properties: { }, satellites: [{ "name" => "Phobos" }], success_callback_url: "https://example.com/webhook", tags: [""], type: "terrestrial" })
|
|
91
91
|
|
|
92
92
|
puts response.inspect
|
|
93
93
|
```
|
data/lib/galaxy-ruby/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: galaxy-ruby
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.4.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Scalar Galaxy
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-
|
|
11
|
+
date: 2026-09-15 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: base64
|