orionx-sdk-ruby 1.0.0 → 1.0.2
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 +12 -0
- data/README.md +3 -3
- data/lib/orionx/configuration.rb +1 -1
- data/lib/orionx/version.rb +1 -1
- data/spec/client_spec.rb +1 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/spec_helper.rb +2 -2
- 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: 21402feba811a21c43f7a2f4dc953df77f210c8df2100b6854c841d9c487f1d1
|
4
|
+
data.tar.gz: b97c4b929fdcd9a5f85620d10b205114a4c9107c20549437d4a6ee92a576a318
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3cb2baed5a105b9f7fba034ee08363586f29df2bf334ebd4773261019b2bf76fa856586390c60c61dd04742f8d5581c199e942d4ade7f4c8850b5f8d989a1c78
|
7
|
+
data.tar.gz: c40e027be7e16fc0c6b399ae024e2e862c42c14dd9b70f8d355c49716e8d927fdaa58e03de384e0ea66f942a73b05549bc22015c868f46af8b8c16d4e043a8cb
|
data/CHANGELOG.md
CHANGED
@@ -5,6 +5,18 @@ All notable changes to this project will be documented in this file.
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
7
7
|
|
8
|
+
## [1.0.2] - 2025-10-03
|
9
|
+
|
10
|
+
### Changed
|
11
|
+
- Corrected API endpoint from `https://api2.orionx.io/graphql` to `https://api2.orionx.com/graphql`
|
12
|
+
- Updated all configuration files, examples, tests, and documentation to use the correct endpoint
|
13
|
+
|
14
|
+
## [1.0.1] - 2025-10-03
|
15
|
+
|
16
|
+
### Changed
|
17
|
+
- Updated default API endpoint from `https://api.orionx.com/graphql` to `https://api2.orionx.io/graphql`
|
18
|
+
- Updated all examples and tests to use the new API endpoint
|
19
|
+
|
8
20
|
## [1.0.0] - 2024-10-03
|
9
21
|
|
10
22
|
### Added
|
data/README.md
CHANGED
@@ -311,7 +311,7 @@ Comprehensive demonstration of debug features and error handling patterns.
|
|
311
311
|
### Setup
|
312
312
|
|
313
313
|
```bash
|
314
|
-
git clone https://github.com/
|
314
|
+
git clone https://github.com/PabloB07/orionx-sdk-ruby.git
|
315
315
|
cd orionx-sdk-ruby
|
316
316
|
bundle install
|
317
317
|
```
|
@@ -343,7 +343,7 @@ bundle exec rubocop -A
|
|
343
343
|
|
344
344
|
For detailed API documentation, visit:
|
345
345
|
- [OrionX API Documentation](http://docs.orionx.com/)
|
346
|
-
- [GraphQL Schema Reference](https://
|
346
|
+
- [GraphQL Schema Reference](https://api2.orionx.com/graphql)
|
347
347
|
|
348
348
|
## Important Notes
|
349
349
|
|
@@ -393,7 +393,7 @@ This project is licensed under the MIT License - see the [LICENSE](LICENSE) file
|
|
393
393
|
|
394
394
|
## Support
|
395
395
|
|
396
|
-
- **Issues**: [GitHub Issues](https://github.com/
|
396
|
+
- **Issues**: [GitHub Issues](https://github.com/PabloB07/orionx-sdk-ruby/issues)
|
397
397
|
- **Documentation**: [OrionX API Docs](http://docs.orionx.com/)
|
398
398
|
- **Email**: [support@orionx.com](mailto:support@orionx.com)
|
399
399
|
|
data/lib/orionx/configuration.rb
CHANGED
data/lib/orionx/version.rb
CHANGED
data/spec/client_spec.rb
CHANGED
@@ -65,7 +65,7 @@ RSpec.describe OrionX::Client do
|
|
65
65
|
it "returns error status" do
|
66
66
|
client = OrionX::Client.new
|
67
67
|
|
68
|
-
stub_request(:post, "https://
|
68
|
+
stub_request(:post, "https://api2.test.orionx.io/graphql")
|
69
69
|
.to_return(status: 401)
|
70
70
|
|
71
71
|
result = client.ping
|
data/spec/configuration_spec.rb
CHANGED
@@ -7,7 +7,7 @@ RSpec.describe OrionX::Configuration do
|
|
7
7
|
|
8
8
|
expect(config.api_key).to be_nil
|
9
9
|
expect(config.api_secret).to be_nil
|
10
|
-
expect(config.api_endpoint).to eq("https://
|
10
|
+
expect(config.api_endpoint).to eq("https://api2.orionx.com/graphql")
|
11
11
|
expect(config.debug).to be_falsey
|
12
12
|
expect(config.timeout).to eq(30)
|
13
13
|
expect(config.retries).to eq(3)
|
data/spec/spec_helper.rb
CHANGED
@@ -35,13 +35,13 @@ def configure_orionx(debug: false)
|
|
35
35
|
OrionX.configure do |config|
|
36
36
|
config.api_key = "test_api_key"
|
37
37
|
config.api_secret = "test_api_secret"
|
38
|
-
config.api_endpoint = "https://
|
38
|
+
config.api_endpoint = "https://api2.test.orionx.io/graphql"
|
39
39
|
config.debug = debug
|
40
40
|
end
|
41
41
|
end
|
42
42
|
|
43
43
|
def stub_graphql_request(query_match, response_body = {}, status: 200)
|
44
|
-
stub_request(:post, "https://
|
44
|
+
stub_request(:post, "https://api2.test.orionx.io/graphql")
|
45
45
|
.with(
|
46
46
|
body: hash_including("query" => a_string_matching(query_match)),
|
47
47
|
headers: {
|