cheminee 0.1.36 → 0.1.37

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: 6af426bbcd4778f0d0da91851010456e7ec6262e66dcbf367fa67674b3bbee24
4
- data.tar.gz: 0a38cf05b5f535ae644caff1ad0aa7d2876ebd7a1fdbe115829d568f3efc83c3
3
+ metadata.gz: 7ddd36c59df6b4a0f859c3add057653cda701fddbf2f28b86fc6f3f41087937e
4
+ data.tar.gz: '08aa55fcf8e7a310d4fbe44f58d98b7f84dcf6c86488e9e12b2f608f33b814e1'
5
5
  SHA512:
6
- metadata.gz: 75379d5f3605463f219e25963221c249f4fb76d0acb9b140186325aee1d07467fc0f8e6111ed7f67ae2e58c56b91aad93ac1a58a97f839eced55db6fb7f4f101
7
- data.tar.gz: f1769ec639ac34b1f0c6748aa1a0a4ea2038f3fbec48755ed07fedea857994e298e03326c0b61c6b0e8e74c93cd764146b5a86ea335ed0e35afbef956a93539d
6
+ metadata.gz: 2b66cbb84cfabbf06950f724e228d3776cf17a99c4f37a832abc6c49fcf2bf567e2e8b47fcd7b7985a51bc4e1f675bced8d73b3cb0ea54af0416eb22c26281cc
7
+ data.tar.gz: e18fa869193887951222fd4aa19845118b9077fd9f2931505fa72a1c402170531c915f20a21fcab94b2986ffd4387ff0d1db3e78175e602d3932702b79ceedd5
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- cheminee (0.1.36)
4
+ cheminee (0.1.37)
5
5
  faraday (>= 1.0.1, < 3.0)
6
6
  faraday-multipart
7
7
  marcel
data/README.md CHANGED
@@ -7,7 +7,7 @@ Cheminée: The Chemical Structure Search Engine
7
7
  This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
8
8
 
9
9
  - API version: 1.0
10
- - Package version: 0.1.36
10
+ - Package version: 0.1.37
11
11
  - Generator version: 7.9.0-SNAPSHOT
12
12
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
13
13
  For more information, please visit [https://github.com/rdkit-rs/cheminee](https://github.com/rdkit-rs/cheminee)
@@ -25,16 +25,16 @@ gem build cheminee.gemspec
25
25
  Then either install the gem locally:
26
26
 
27
27
  ```shell
28
- gem install ./cheminee-0.1.36.gem
28
+ gem install ./cheminee-0.1.37.gem
29
29
  ```
30
30
 
31
- (for development, run `gem install --dev ./cheminee-0.1.36.gem` to install the development dependencies)
31
+ (for development, run `gem install --dev ./cheminee-0.1.37.gem` to install the development dependencies)
32
32
 
33
33
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
34
34
 
35
35
  Finally add this to the Gemfile:
36
36
 
37
- gem 'cheminee', '~> 0.1.36'
37
+ gem 'cheminee', '~> 0.1.37'
38
38
 
39
39
  ### Install from Git
40
40
 
data/docs/DefaultApi.md CHANGED
@@ -740,11 +740,11 @@ api_instance = Cheminee::DefaultApi.new
740
740
  index = 'index_example' # String |
741
741
  smiles = 'smiles_example' # String |
742
742
  opts = {
743
- use_chirality: 'use_chirality_example', # String |
743
+ use_chirality: true, # Boolean |
744
744
  result_limit: 56, # Integer |
745
745
  tautomer_limit: 56, # Integer |
746
746
  extra_query: 'extra_query_example', # String |
747
- use_scaffolds: 'use_scaffolds_example' # String |
747
+ use_scaffolds: true # Boolean |
748
748
  }
749
749
 
750
750
  begin
@@ -780,11 +780,11 @@ end
780
780
  | ---- | ---- | ----------- | ----- |
781
781
  | **index** | **String** | | |
782
782
  | **smiles** | **String** | | |
783
- | **use_chirality** | **String** | | [optional] |
783
+ | **use_chirality** | **Boolean** | | [optional] |
784
784
  | **result_limit** | **Integer** | | [optional] |
785
785
  | **tautomer_limit** | **Integer** | | [optional] |
786
786
  | **extra_query** | **String** | | [optional] |
787
- | **use_scaffolds** | **String** | | [optional] |
787
+ | **use_scaffolds** | **Boolean** | | [optional] |
788
788
 
789
789
  ### Return type
790
790
 
@@ -4,7 +4,7 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **extra_data** | **String** | | |
7
+ | **extra_data** | **Object** | | |
8
8
  | **smiles** | **String** | | |
9
9
  | **query** | **String** | | |
10
10
 
@@ -4,7 +4,7 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **extra_data** | **String** | | |
7
+ | **extra_data** | **Object** | | |
8
8
  | **smiles** | **String** | | |
9
9
  | **score** | **Float** | | |
10
10
  | **query** | **String** | | |
@@ -760,11 +760,11 @@ module Cheminee
760
760
  # @param index [String]
761
761
  # @param smiles [String]
762
762
  # @param [Hash] opts the optional parameters
763
- # @option opts [String] :use_chirality
763
+ # @option opts [Boolean] :use_chirality
764
764
  # @option opts [Integer] :result_limit
765
765
  # @option opts [Integer] :tautomer_limit
766
766
  # @option opts [String] :extra_query
767
- # @option opts [String] :use_scaffolds
767
+ # @option opts [Boolean] :use_scaffolds
768
768
  # @return [Array<StructureSearchHit>]
769
769
  def v1_indexes_index_search_substructure_get(index, smiles, opts = {})
770
770
  data, _status_code, _headers = v1_indexes_index_search_substructure_get_with_http_info(index, smiles, opts)
@@ -775,11 +775,11 @@ module Cheminee
775
775
  # @param index [String]
776
776
  # @param smiles [String]
777
777
  # @param [Hash] opts the optional parameters
778
- # @option opts [String] :use_chirality
778
+ # @option opts [Boolean] :use_chirality
779
779
  # @option opts [Integer] :result_limit
780
780
  # @option opts [Integer] :tautomer_limit
781
781
  # @option opts [String] :extra_query
782
- # @option opts [String] :use_scaffolds
782
+ # @option opts [Boolean] :use_scaffolds
783
783
  # @return [Array<(Array<StructureSearchHit>, Integer, Hash)>] Array<StructureSearchHit> data, response status code and response headers
784
784
  def v1_indexes_index_search_substructure_get_with_http_info(index, smiles, opts = {})
785
785
  if @api_client.config.debugging
@@ -38,7 +38,7 @@ module Cheminee
38
38
  # Attribute type mapping.
39
39
  def self.openapi_types
40
40
  {
41
- :'extra_data' => :'String',
41
+ :'extra_data' => :'Object',
42
42
  :'smiles' => :'String',
43
43
  :'query' => :'String'
44
44
  }
@@ -47,6 +47,7 @@ module Cheminee
47
47
  # List of attributes with nullable: true
48
48
  def self.openapi_nullable
49
49
  Set.new([
50
+ :'extra_data',
50
51
  ])
51
52
  end
52
53
 
@@ -89,10 +90,6 @@ module Cheminee
89
90
  def list_invalid_properties
90
91
  warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
91
92
  invalid_properties = Array.new
92
- if @extra_data.nil?
93
- invalid_properties.push('invalid value for "extra_data", extra_data cannot be nil.')
94
- end
95
-
96
93
  if @smiles.nil?
97
94
  invalid_properties.push('invalid value for "smiles", smiles cannot be nil.')
98
95
  end
@@ -108,7 +105,6 @@ module Cheminee
108
105
  # @return true if the model is valid
109
106
  def valid?
110
107
  warn '[DEPRECATED] the `valid?` method is obsolete'
111
- return false if @extra_data.nil?
112
108
  return false if @smiles.nil?
113
109
  return false if @query.nil?
114
110
  true
@@ -44,7 +44,7 @@ module Cheminee
44
44
  # Attribute type mapping.
45
45
  def self.openapi_types
46
46
  {
47
- :'extra_data' => :'String',
47
+ :'extra_data' => :'Object',
48
48
  :'smiles' => :'String',
49
49
  :'score' => :'Float',
50
50
  :'query' => :'String',
@@ -55,6 +55,7 @@ module Cheminee
55
55
  # List of attributes with nullable: true
56
56
  def self.openapi_nullable
57
57
  Set.new([
58
+ :'extra_data',
58
59
  ])
59
60
  end
60
61
 
@@ -109,10 +110,6 @@ module Cheminee
109
110
  def list_invalid_properties
110
111
  warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
111
112
  invalid_properties = Array.new
112
- if @extra_data.nil?
113
- invalid_properties.push('invalid value for "extra_data", extra_data cannot be nil.')
114
- end
115
-
116
113
  if @smiles.nil?
117
114
  invalid_properties.push('invalid value for "smiles", smiles cannot be nil.')
118
115
  end
@@ -136,7 +133,6 @@ module Cheminee
136
133
  # @return true if the model is valid
137
134
  def valid?
138
135
  warn '[DEPRECATED] the `valid?` method is obsolete'
139
- return false if @extra_data.nil?
140
136
  return false if @smiles.nil?
141
137
  return false if @score.nil?
142
138
  return false if @query.nil?
@@ -11,5 +11,5 @@ Generator version: 7.9.0-SNAPSHOT
11
11
  =end
12
12
 
13
13
  module Cheminee
14
- VERSION = '0.1.36'
14
+ VERSION = '0.1.37'
15
15
  end
Binary file
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.1.36
4
+ version: 0.1.37
5
5
  platform: ruby
6
6
  authors:
7
7
  - Xavier Lange
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-09-27 00:00:00.000000000 Z
11
+ date: 2024-10-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -154,7 +154,7 @@ files:
154
154
  - lib/cheminee/version.rb
155
155
  - openapi-generator-config.json
156
156
  - openapi.json
157
- - pkg/cheminee-0.1.36.gem
157
+ - pkg/cheminee-0.1.37.gem
158
158
  - spec/api/default_api_spec.rb
159
159
  - spec/api_client_spec.rb
160
160
  - spec/configuration_spec.rb
Binary file