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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ed4c66070a8ad82ab878ad33243410552cd1851c1a76e4963c563fee933fd626
4
- data.tar.gz: 1499809d859429c7e6cfac873f67cbf342c1808ffc95716b7f9e8bad21aebdf6
3
+ metadata.gz: 21402feba811a21c43f7a2f4dc953df77f210c8df2100b6854c841d9c487f1d1
4
+ data.tar.gz: b97c4b929fdcd9a5f85620d10b205114a4c9107c20549437d4a6ee92a576a318
5
5
  SHA512:
6
- metadata.gz: 44c135c8cfae47a8bce9421affd62caf2abeb7dd1f9f45b2e7bcde07bd80c15edd6a206047cc37674ab0a9109cbc81e961b26b5b552a31742d06fdfca9c7f79c
7
- data.tar.gz: 47f9f5629c9280706ccea0b23f8223028b5ce862be08e44212039739f9a10f040bdac4d8c2c73d4e369737d09462c95a201486fc52cd7c7d8a2851f0b769a3d3
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/orionx-dev/orionx-sdk-ruby.git
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://api.orionx.com/graphql)
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/orionx-dev/orionx-sdk-ruby/issues)
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
 
@@ -7,7 +7,7 @@ module OrionX
7
7
  def initialize
8
8
  @api_key = nil
9
9
  @api_secret = nil
10
- @api_endpoint = "https://api.orionx.com/graphql"
10
+ @api_endpoint = "https://api2.orionx.com/graphql"
11
11
  @debug = false
12
12
  @logger = nil
13
13
  @timeout = 30
@@ -1,3 +1,3 @@
1
1
  module OrionX
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  end
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://api.test.orionx.com/graphql")
68
+ stub_request(:post, "https://api2.test.orionx.io/graphql")
69
69
  .to_return(status: 401)
70
70
 
71
71
  result = client.ping
@@ -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://api.orionx.com/graphql")
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://api.test.orionx.com/graphql"
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://api.test.orionx.com/graphql")
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: {
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: orionx-sdk-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - PabloB07