cheminee 0.0.15 → 0.1.6

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 (52) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +4 -4
  3. data/README.md +25 -9
  4. data/cheminee.gemspec +1 -1
  5. data/docs/BulkRequest.md +18 -0
  6. data/docs/BulkRequestDoc.md +20 -0
  7. data/docs/CreateIndexError.md +18 -0
  8. data/docs/DefaultApi.md +392 -10
  9. data/docs/GetIndexesResponseError.md +18 -0
  10. data/docs/IndexMeta.md +20 -0
  11. data/docs/ListIndexResponseErr.md +18 -0
  12. data/docs/PostIndexBulkResponseError.md +18 -0
  13. data/docs/PostIndexBulkResponseOk.md +18 -0
  14. data/docs/PostIndexBulkResponseOkStatus.md +20 -0
  15. data/docs/Schema.md +20 -0
  16. data/docs/SubstructureSearchHit.md +24 -0
  17. data/lib/cheminee/api/default_api.rb +379 -9
  18. data/lib/cheminee/api_client.rb +3 -2
  19. data/lib/cheminee/api_error.rb +1 -1
  20. data/lib/cheminee/configuration.rb +6 -5
  21. data/lib/cheminee/models/bulk_request.rb +223 -0
  22. data/lib/cheminee/models/bulk_request_doc.rb +231 -0
  23. data/lib/cheminee/models/create_index_error.rb +221 -0
  24. data/lib/cheminee/models/get_indexes_response_error.rb +221 -0
  25. data/lib/cheminee/models/index_meta.rb +237 -0
  26. data/lib/cheminee/models/list_index_response_err.rb +221 -0
  27. data/lib/cheminee/models/post_index_bulk_response_error.rb +221 -0
  28. data/lib/cheminee/models/post_index_bulk_response_ok.rb +223 -0
  29. data/lib/cheminee/models/post_index_bulk_response_ok_status.rb +223 -0
  30. data/lib/cheminee/models/schema.rb +233 -0
  31. data/lib/cheminee/models/smile.rb +1 -1
  32. data/lib/cheminee/models/standardized_smile.rb +1 -1
  33. data/lib/cheminee/models/substructure_search_hit.rb +265 -0
  34. data/lib/cheminee/version.rb +2 -2
  35. data/lib/cheminee.rb +12 -1
  36. data/pkg/cheminee-0.1.6.gem +0 -0
  37. data/spec/api_client_spec.rb +1 -1
  38. data/spec/configuration_spec.rb +4 -4
  39. data/spec/models/bulk_request_doc_spec.rb +42 -0
  40. data/spec/models/bulk_request_spec.rb +36 -0
  41. data/spec/models/create_index_error_spec.rb +36 -0
  42. data/spec/models/get_indexes_response_error_spec.rb +36 -0
  43. data/spec/models/index_meta_spec.rb +42 -0
  44. data/spec/models/list_index_response_err_spec.rb +36 -0
  45. data/spec/models/post_index_bulk_response_error_spec.rb +36 -0
  46. data/spec/models/post_index_bulk_response_ok_spec.rb +36 -0
  47. data/spec/models/post_index_bulk_response_ok_status_spec.rb +42 -0
  48. data/spec/models/schema_spec.rb +42 -0
  49. data/spec/models/substructure_search_hit_spec.rb +54 -0
  50. data/spec/spec_helper.rb +1 -1
  51. metadata +47 -3
  52. data/pkg/cheminee-0.0.15.gem +0 -0
@@ -0,0 +1,36 @@
1
+ =begin
2
+ #Cheminée
3
+
4
+ #Cheminée: The Chemical Structure Search Engine
5
+
6
+ The version of the OpenAPI document: 1.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 7.1.0-SNAPSHOT
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for Cheminee::CreateIndexError
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe Cheminee::CreateIndexError do
21
+ let(:instance) { Cheminee::CreateIndexError.new }
22
+
23
+ describe 'test an instance of CreateIndexError' do
24
+ it 'should create an instance of CreateIndexError' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(Cheminee::CreateIndexError)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "error"' do
31
+ it 'should work' do
32
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
+ end
34
+ end
35
+
36
+ end
@@ -0,0 +1,36 @@
1
+ =begin
2
+ #Cheminée
3
+
4
+ #Cheminée: The Chemical Structure Search Engine
5
+
6
+ The version of the OpenAPI document: 1.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 7.1.0-SNAPSHOT
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for Cheminee::GetIndexesResponseError
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe Cheminee::GetIndexesResponseError do
21
+ let(:instance) { Cheminee::GetIndexesResponseError.new }
22
+
23
+ describe 'test an instance of GetIndexesResponseError' do
24
+ it 'should create an instance of GetIndexesResponseError' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(Cheminee::GetIndexesResponseError)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "error"' do
31
+ it 'should work' do
32
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
+ end
34
+ end
35
+
36
+ end
@@ -0,0 +1,42 @@
1
+ =begin
2
+ #Cheminée
3
+
4
+ #Cheminée: The Chemical Structure Search Engine
5
+
6
+ The version of the OpenAPI document: 1.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 7.1.0-SNAPSHOT
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for Cheminee::IndexMeta
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe Cheminee::IndexMeta do
21
+ let(:instance) { Cheminee::IndexMeta.new }
22
+
23
+ describe 'test an instance of IndexMeta' do
24
+ it 'should create an instance of IndexMeta' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(Cheminee::IndexMeta)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "name"' do
31
+ it 'should work' do
32
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
+ end
34
+ end
35
+
36
+ describe 'test attribute "schema"' do
37
+ it 'should work' do
38
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
39
+ end
40
+ end
41
+
42
+ end
@@ -0,0 +1,36 @@
1
+ =begin
2
+ #Cheminée
3
+
4
+ #Cheminée: The Chemical Structure Search Engine
5
+
6
+ The version of the OpenAPI document: 1.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 7.1.0-SNAPSHOT
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for Cheminee::ListIndexResponseErr
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe Cheminee::ListIndexResponseErr do
21
+ let(:instance) { Cheminee::ListIndexResponseErr.new }
22
+
23
+ describe 'test an instance of ListIndexResponseErr' do
24
+ it 'should create an instance of ListIndexResponseErr' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(Cheminee::ListIndexResponseErr)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "error"' do
31
+ it 'should work' do
32
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
+ end
34
+ end
35
+
36
+ end
@@ -0,0 +1,36 @@
1
+ =begin
2
+ #Cheminée
3
+
4
+ #Cheminée: The Chemical Structure Search Engine
5
+
6
+ The version of the OpenAPI document: 1.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 7.1.0-SNAPSHOT
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for Cheminee::PostIndexBulkResponseError
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe Cheminee::PostIndexBulkResponseError do
21
+ let(:instance) { Cheminee::PostIndexBulkResponseError.new }
22
+
23
+ describe 'test an instance of PostIndexBulkResponseError' do
24
+ it 'should create an instance of PostIndexBulkResponseError' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(Cheminee::PostIndexBulkResponseError)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "error"' do
31
+ it 'should work' do
32
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
+ end
34
+ end
35
+
36
+ end
@@ -0,0 +1,36 @@
1
+ =begin
2
+ #Cheminée
3
+
4
+ #Cheminée: The Chemical Structure Search Engine
5
+
6
+ The version of the OpenAPI document: 1.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 7.1.0-SNAPSHOT
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for Cheminee::PostIndexBulkResponseOk
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe Cheminee::PostIndexBulkResponseOk do
21
+ let(:instance) { Cheminee::PostIndexBulkResponseOk.new }
22
+
23
+ describe 'test an instance of PostIndexBulkResponseOk' do
24
+ it 'should create an instance of PostIndexBulkResponseOk' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(Cheminee::PostIndexBulkResponseOk)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "statuses"' do
31
+ it 'should work' do
32
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
+ end
34
+ end
35
+
36
+ end
@@ -0,0 +1,42 @@
1
+ =begin
2
+ #Cheminée
3
+
4
+ #Cheminée: The Chemical Structure Search Engine
5
+
6
+ The version of the OpenAPI document: 1.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 7.1.0-SNAPSHOT
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for Cheminee::PostIndexBulkResponseOkStatus
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe Cheminee::PostIndexBulkResponseOkStatus do
21
+ let(:instance) { Cheminee::PostIndexBulkResponseOkStatus.new }
22
+
23
+ describe 'test an instance of PostIndexBulkResponseOkStatus' do
24
+ it 'should create an instance of PostIndexBulkResponseOkStatus' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(Cheminee::PostIndexBulkResponseOkStatus)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "opcode"' do
31
+ it 'should work' do
32
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
+ end
34
+ end
35
+
36
+ describe 'test attribute "error"' do
37
+ it 'should work' do
38
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
39
+ end
40
+ end
41
+
42
+ end
@@ -0,0 +1,42 @@
1
+ =begin
2
+ #Cheminée
3
+
4
+ #Cheminée: The Chemical Structure Search Engine
5
+
6
+ The version of the OpenAPI document: 1.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 7.1.0-SNAPSHOT
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for Cheminee::Schema
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe Cheminee::Schema do
21
+ let(:instance) { Cheminee::Schema.new }
22
+
23
+ describe 'test an instance of Schema' do
24
+ it 'should create an instance of Schema' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(Cheminee::Schema)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "name"' do
31
+ it 'should work' do
32
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
+ end
34
+ end
35
+
36
+ describe 'test attribute "schema"' do
37
+ it 'should work' do
38
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
39
+ end
40
+ end
41
+
42
+ end
@@ -0,0 +1,54 @@
1
+ =begin
2
+ #Cheminée
3
+
4
+ #Cheminée: The Chemical Structure Search Engine
5
+
6
+ The version of the OpenAPI document: 1.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 7.1.0-SNAPSHOT
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for Cheminee::SubstructureSearchHit
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe Cheminee::SubstructureSearchHit do
21
+ let(:instance) { Cheminee::SubstructureSearchHit.new }
22
+
23
+ describe 'test an instance of SubstructureSearchHit' do
24
+ it 'should create an instance of SubstructureSearchHit' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(Cheminee::SubstructureSearchHit)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "extra_data"' do
31
+ it 'should work' do
32
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
+ end
34
+ end
35
+
36
+ describe 'test attribute "smiles"' do
37
+ it 'should work' do
38
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
39
+ end
40
+ end
41
+
42
+ describe 'test attribute "score"' do
43
+ it 'should work' do
44
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
45
+ end
46
+ end
47
+
48
+ describe 'test attribute "query"' do
49
+ it 'should work' do
50
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
51
+ end
52
+ end
53
+
54
+ end
data/spec/spec_helper.rb CHANGED
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 7.0.0-SNAPSHOT
9
+ OpenAPI Generator version: 7.1.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cheminee
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.15
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Xavier Lange
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-08-12 00:00:00.000000000 Z
11
+ date: 2023-10-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -62,26 +62,59 @@ files:
62
62
  - README.md
63
63
  - Rakefile
64
64
  - cheminee.gemspec
65
+ - docs/BulkRequest.md
66
+ - docs/BulkRequestDoc.md
67
+ - docs/CreateIndexError.md
65
68
  - docs/DefaultApi.md
69
+ - docs/GetIndexesResponseError.md
70
+ - docs/IndexMeta.md
71
+ - docs/ListIndexResponseErr.md
72
+ - docs/PostIndexBulkResponseError.md
73
+ - docs/PostIndexBulkResponseOk.md
74
+ - docs/PostIndexBulkResponseOkStatus.md
75
+ - docs/Schema.md
66
76
  - docs/Smile.md
67
77
  - docs/StandardizedSmile.md
78
+ - docs/SubstructureSearchHit.md
68
79
  - git_push.sh
69
80
  - lib/cheminee.rb
70
81
  - lib/cheminee/api/default_api.rb
71
82
  - lib/cheminee/api_client.rb
72
83
  - lib/cheminee/api_error.rb
73
84
  - lib/cheminee/configuration.rb
85
+ - lib/cheminee/models/bulk_request.rb
86
+ - lib/cheminee/models/bulk_request_doc.rb
87
+ - lib/cheminee/models/create_index_error.rb
88
+ - lib/cheminee/models/get_indexes_response_error.rb
89
+ - lib/cheminee/models/index_meta.rb
90
+ - lib/cheminee/models/list_index_response_err.rb
91
+ - lib/cheminee/models/post_index_bulk_response_error.rb
92
+ - lib/cheminee/models/post_index_bulk_response_ok.rb
93
+ - lib/cheminee/models/post_index_bulk_response_ok_status.rb
94
+ - lib/cheminee/models/schema.rb
74
95
  - lib/cheminee/models/smile.rb
75
96
  - lib/cheminee/models/standardized_smile.rb
97
+ - lib/cheminee/models/substructure_search_hit.rb
76
98
  - lib/cheminee/version.rb
77
99
  - openapi-generator-config.json
78
100
  - openapi.json
79
- - pkg/cheminee-0.0.15.gem
101
+ - pkg/cheminee-0.1.6.gem
80
102
  - spec/api/default_api_spec.rb
81
103
  - spec/api_client_spec.rb
82
104
  - spec/configuration_spec.rb
105
+ - spec/models/bulk_request_doc_spec.rb
106
+ - spec/models/bulk_request_spec.rb
107
+ - spec/models/create_index_error_spec.rb
108
+ - spec/models/get_indexes_response_error_spec.rb
109
+ - spec/models/index_meta_spec.rb
110
+ - spec/models/list_index_response_err_spec.rb
111
+ - spec/models/post_index_bulk_response_error_spec.rb
112
+ - spec/models/post_index_bulk_response_ok_spec.rb
113
+ - spec/models/post_index_bulk_response_ok_status_spec.rb
114
+ - spec/models/schema_spec.rb
83
115
  - spec/models/smile_spec.rb
84
116
  - spec/models/standardized_smile_spec.rb
117
+ - spec/models/substructure_search_hit_spec.rb
85
118
  - spec/spec_helper.rb
86
119
  homepage: https://github.com/rdkit-rs/cheminee-ruby
87
120
  licenses:
@@ -110,6 +143,17 @@ test_files:
110
143
  - spec/api/default_api_spec.rb
111
144
  - spec/api_client_spec.rb
112
145
  - spec/configuration_spec.rb
146
+ - spec/models/post_index_bulk_response_ok_spec.rb
147
+ - spec/models/post_index_bulk_response_error_spec.rb
113
148
  - spec/models/standardized_smile_spec.rb
114
149
  - spec/models/smile_spec.rb
150
+ - spec/models/get_indexes_response_error_spec.rb
151
+ - spec/models/bulk_request_spec.rb
152
+ - spec/models/substructure_search_hit_spec.rb
153
+ - spec/models/bulk_request_doc_spec.rb
154
+ - spec/models/post_index_bulk_response_ok_status_spec.rb
155
+ - spec/models/schema_spec.rb
156
+ - spec/models/list_index_response_err_spec.rb
157
+ - spec/models/index_meta_spec.rb
158
+ - spec/models/create_index_error_spec.rb
115
159
  - spec/spec_helper.rb
Binary file