carbon_ruby_sdk 0.2.38 → 0.2.39

Sign up to get free protection for your applications and to get access to all the features.
Files changed (78) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +1 -1
  3. data/README.md +310 -2
  4. data/lib/carbon_ruby_sdk/api/github_api.rb +825 -0
  5. data/lib/carbon_ruby_sdk/models/comments_input.rb +330 -0
  6. data/lib/carbon_ruby_sdk/models/comments_order_by.rb +36 -0
  7. data/lib/carbon_ruby_sdk/models/comments_response.rb +232 -0
  8. data/lib/carbon_ruby_sdk/models/commit.rb +282 -0
  9. data/lib/carbon_ruby_sdk/models/commit_user.rb +234 -0
  10. data/lib/carbon_ruby_sdk/models/commit_user_nullable.rb +234 -0
  11. data/lib/carbon_ruby_sdk/models/commits_input.rb +307 -0
  12. data/lib/carbon_ruby_sdk/models/commits_response.rb +232 -0
  13. data/lib/carbon_ruby_sdk/models/file_status.rb +41 -0
  14. data/lib/carbon_ruby_sdk/models/files_input.rb +307 -0
  15. data/lib/carbon_ruby_sdk/models/files_response.rb +232 -0
  16. data/lib/carbon_ruby_sdk/models/head_or_base.rb +248 -0
  17. data/lib/carbon_ruby_sdk/models/issue.rb +434 -0
  18. data/lib/carbon_ruby_sdk/models/issue_pr.rb +230 -0
  19. data/lib/carbon_ruby_sdk/models/issue_pr_nullable.rb +230 -0
  20. data/lib/carbon_ruby_sdk/models/issues_filter.rb +217 -0
  21. data/lib/carbon_ruby_sdk/models/issues_input.rb +325 -0
  22. data/lib/carbon_ruby_sdk/models/issues_order_by.rb +37 -0
  23. data/lib/carbon_ruby_sdk/models/issues_response.rb +232 -0
  24. data/lib/carbon_ruby_sdk/models/label.rb +234 -0
  25. data/lib/carbon_ruby_sdk/models/pr_comment.rb +358 -0
  26. data/lib/carbon_ruby_sdk/models/pr_commit.rb +264 -0
  27. data/lib/carbon_ruby_sdk/models/pr_file.rb +342 -0
  28. data/lib/carbon_ruby_sdk/models/pr_order_by.rb +37 -0
  29. data/lib/carbon_ruby_sdk/models/pr_state.rb +36 -0
  30. data/lib/carbon_ruby_sdk/models/pr_state_input.rb +37 -0
  31. data/lib/carbon_ruby_sdk/models/pull_request.rb +438 -0
  32. data/lib/carbon_ruby_sdk/models/pull_request_extended.rb +536 -0
  33. data/lib/carbon_ruby_sdk/models/pull_request_filters.rb +239 -0
  34. data/lib/carbon_ruby_sdk/models/pull_request_response.rb +232 -0
  35. data/lib/carbon_ruby_sdk/models/pull_requests_input.rb +325 -0
  36. data/lib/carbon_ruby_sdk/models/team.rb +234 -0
  37. data/lib/carbon_ruby_sdk/models/tree.rb +234 -0
  38. data/lib/carbon_ruby_sdk/models/user.rb +234 -0
  39. data/lib/carbon_ruby_sdk/models/user_nullable.rb +234 -0
  40. data/lib/carbon_ruby_sdk/version.rb +1 -1
  41. data/lib/carbon_ruby_sdk.rb +38 -0
  42. data/spec/api/github_api_spec.rb +112 -0
  43. data/spec/models/comments_input_spec.rb +76 -0
  44. data/spec/models/comments_order_by_spec.rb +22 -0
  45. data/spec/models/comments_response_spec.rb +34 -0
  46. data/spec/models/commit_spec.rb +58 -0
  47. data/spec/models/commit_user_nullable_spec.rb +34 -0
  48. data/spec/models/commit_user_spec.rb +34 -0
  49. data/spec/models/commits_input_spec.rb +64 -0
  50. data/spec/models/commits_response_spec.rb +34 -0
  51. data/spec/models/file_status_spec.rb +22 -0
  52. data/spec/models/files_input_spec.rb +64 -0
  53. data/spec/models/files_response_spec.rb +34 -0
  54. data/spec/models/head_or_base_spec.rb +40 -0
  55. data/spec/models/issue_pr_nullable_spec.rb +34 -0
  56. data/spec/models/issue_pr_spec.rb +34 -0
  57. data/spec/models/issue_spec.rb +124 -0
  58. data/spec/models/issues_filter_spec.rb +28 -0
  59. data/spec/models/issues_input_spec.rb +76 -0
  60. data/spec/models/issues_order_by_spec.rb +22 -0
  61. data/spec/models/issues_response_spec.rb +34 -0
  62. data/spec/models/label_spec.rb +34 -0
  63. data/spec/models/pr_comment_spec.rb +94 -0
  64. data/spec/models/pr_commit_spec.rb +52 -0
  65. data/spec/models/pr_file_spec.rb +82 -0
  66. data/spec/models/pr_order_by_spec.rb +22 -0
  67. data/spec/models/pr_state_input_spec.rb +22 -0
  68. data/spec/models/pr_state_spec.rb +22 -0
  69. data/spec/models/pull_request_extended_spec.rb +166 -0
  70. data/spec/models/pull_request_filters_spec.rb +40 -0
  71. data/spec/models/pull_request_response_spec.rb +34 -0
  72. data/spec/models/pull_request_spec.rb +124 -0
  73. data/spec/models/pull_requests_input_spec.rb +76 -0
  74. data/spec/models/team_spec.rb +34 -0
  75. data/spec/models/tree_spec.rb +34 -0
  76. data/spec/models/user_nullable_spec.rb +34 -0
  77. data/spec/models/user_spec.rb +34 -0
  78. metadata +301 -193
@@ -0,0 +1,34 @@
1
+ =begin
2
+ #Carbon
3
+
4
+ #Connect external data to LLMs, no matter the source.
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+ =end
8
+
9
+ require 'spec_helper'
10
+ require 'json'
11
+ require 'date'
12
+
13
+ # Unit tests for Carbon::UserNullable
14
+ describe Carbon::UserNullable do
15
+ let(:instance) { Carbon::UserNullable.new }
16
+
17
+ describe 'test an instance of UserNullable' do
18
+ it 'should create an instance of UserNullable' do
19
+ expect(instance).to be_instance_of(Carbon::UserNullable)
20
+ end
21
+ end
22
+ describe 'test attribute "id"' do
23
+ it 'should work' do
24
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
25
+ end
26
+ end
27
+
28
+ describe 'test attribute "login"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
+ end
32
+ end
33
+
34
+ end
@@ -0,0 +1,34 @@
1
+ =begin
2
+ #Carbon
3
+
4
+ #Connect external data to LLMs, no matter the source.
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+ =end
8
+
9
+ require 'spec_helper'
10
+ require 'json'
11
+ require 'date'
12
+
13
+ # Unit tests for Carbon::User
14
+ describe Carbon::User do
15
+ let(:instance) { Carbon::User.new }
16
+
17
+ describe 'test an instance of User' do
18
+ it 'should create an instance of User' do
19
+ expect(instance).to be_instance_of(Carbon::User)
20
+ end
21
+ end
22
+ describe 'test attribute "id"' do
23
+ it 'should work' do
24
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
25
+ end
26
+ end
27
+
28
+ describe 'test attribute "login"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
+ end
32
+ end
33
+
34
+ end