apiverve_codedetector 1.2.0

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 ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 1864f578d0d297e09a45df027b6ca446477658cbd5cb17c451bb564b1ba37778
4
+ data.tar.gz: 5881974ab287bd42e5274f7b39d7fd394ff3fceccc2f869d81461461a34d3579
5
+ SHA512:
6
+ metadata.gz: d07449eeade901f72594d99fa6703d460794af5a7bd1fb3c13000fed05f94c4596ba6b7115efe31e6052e5cca483ad7893edd19a539a8cce735dad7820f207a5
7
+ data.tar.gz: 266b967150561585f20bad52b7d104884fb0470c942e2b5df401175284df48a943b793d6c977ca7dc1c469b053d6325778f47934bf6efe89eef0bc0da44dabab
data/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) {{year}} APIVerve
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,116 @@
1
+ # Code Detector API - Ruby Gem
2
+
3
+ Code Detector is a simple tool for detecting the language of code in text. It returns details such as extension, language, family, and more.
4
+
5
+ ## Installation
6
+
7
+ Add this line to your application's Gemfile:
8
+
9
+ ```ruby
10
+ gem 'apiverve_codedetector'
11
+ ```
12
+
13
+ And then execute:
14
+
15
+ ```bash
16
+ $ bundle install
17
+ ```
18
+
19
+ Or install it yourself as:
20
+
21
+ ```bash
22
+ $ gem install apiverve_codedetector
23
+ ```
24
+
25
+ ## Getting Started
26
+
27
+ Get your API key at [APIVerve](https://apiverve.com)
28
+
29
+ ### Basic Usage
30
+
31
+ ```ruby
32
+ require 'apiverve_codedetector'
33
+
34
+ # Initialize the client
35
+ client = APIVerve::Codedetector::Client.new(api_key: "YOUR_API_KEY")
36
+
37
+ # Make a request
38
+ response = client.execute({ code: "a = 5
39
+ b = 6
40
+ c = 7
41
+
42
+ # calculate the semi-perimeter
43
+ s = (a + b + c) / 2
44
+
45
+ # calculate the area
46
+ area = (s*(s-a)*(s-b)*(s-c)) ** 0.5
47
+ print('The area of the triangle is %0.2f' %area)" })
48
+
49
+ # Print the response
50
+ puts response
51
+ ```
52
+
53
+
54
+ ### Error Handling
55
+
56
+ ```ruby
57
+ begin
58
+ response = client.execute({ code: "a = 5
59
+ b = 6
60
+ c = 7
61
+
62
+ # calculate the semi-perimeter
63
+ s = (a + b + c) / 2
64
+
65
+ # calculate the area
66
+ area = (s*(s-a)*(s-b)*(s-c)) ** 0.5
67
+ print('The area of the triangle is %0.2f' %area)" })
68
+ puts response["data"]
69
+ rescue APIVerve::Codedetector::ValidationError => e
70
+ puts "Validation error: #{e.errors.join(', ')}"
71
+ rescue APIVerve::Codedetector::APIError => e
72
+ puts "API error: #{e.message}"
73
+ puts "Status code: #{e.status_code}"
74
+ end
75
+ ```
76
+
77
+ ### Debug Mode
78
+
79
+ ```ruby
80
+ # Enable debug logging
81
+ client = APIVerve::Codedetector::Client.new(
82
+ api_key: "YOUR_API_KEY",
83
+ debug: true
84
+ )
85
+ ```
86
+
87
+ ## Example Response
88
+
89
+ ```json
90
+ {
91
+ "status": "ok",
92
+ "error": null,
93
+ "data": {
94
+ "likelihood": 0.99,
95
+ "family": "PYTHON",
96
+ "current": "python",
97
+ "readable": "Python Code",
98
+ "extension": ".py",
99
+ "paradigm": "multi-paradigm",
100
+ "isCompiled": false
101
+ }
102
+ }
103
+ ```
104
+
105
+ ## Documentation
106
+
107
+ For more information, visit the [API Documentation](https://docs.apiverve.com/ref/codedetector?utm_source=rubygems&utm_medium=readme).
108
+
109
+ ## Support
110
+
111
+ - Website: [https://apiverve.com/marketplace/codedetector?utm_source=ruby&utm_medium=readme](https://apiverve.com/marketplace/codedetector?utm_source=ruby&utm_medium=readme)
112
+ - Email: hello@apiverve.com
113
+
114
+ ## License
115
+
116
+ This gem is available under the [MIT License](LICENSE).
@@ -0,0 +1,193 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "faraday"
4
+ require "faraday/multipart"
5
+ require "json"
6
+
7
+ module APIVerve
8
+ module Codedetector
9
+ # Client for the Code Detector API
10
+ #
11
+ # @example Basic usage
12
+ # client = APIVerve::Codedetector::Client.new(api_key: "your_api_key")
13
+ # response = client.execute({ code: "a = 5
14
+ b = 6
15
+ c = 7
16
+
17
+ # calculate the semi-perimeter
18
+ s = (a + b + c) / 2
19
+
20
+ # calculate the area
21
+ area = (s*(s-a)*(s-b)*(s-c)) ** 0.5
22
+ print('The area of the triangle is %0.2f' %area)" })
23
+ # puts response
24
+ #
25
+ # @see https://apiverve.com/marketplace/codedetector?utm_source=ruby&utm_medium=readme
26
+ class Client
27
+ BASE_URL = "https://api.apiverve.com/v1/codedetector"
28
+ DEFAULT_TIMEOUT = 30
29
+
30
+ # Validation rules for parameters
31
+ VALIDATION_RULES = { 'code' => { type: 'string', required: true } }
32
+
33
+ # Format validation patterns
34
+ FORMAT_PATTERNS = {
35
+ 'email' => /^[^\s@]+@[^\s@]+\.[^\s@]+$/,
36
+ 'url' => /^https?:\/\/.+/,
37
+ 'ip' => /^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$|^([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}$/,
38
+ 'date' => /^\d{4}-\d{2}-\d{2}$/,
39
+ 'hexColor' => /^#?([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$/
40
+ }.freeze
41
+
42
+ # Initialize the client
43
+ #
44
+ # @param api_key [String] Your APIVerve API key
45
+ # @param timeout [Integer] Request timeout in seconds (default: 30)
46
+ # @param debug [Boolean] Enable debug logging (default: false)
47
+ # @raise [ArgumentError] If API key is invalid
48
+ def initialize(api_key:, timeout: DEFAULT_TIMEOUT, debug: false)
49
+ validate_api_key!(api_key)
50
+
51
+ @api_key = api_key
52
+ @timeout = timeout
53
+ @debug = debug
54
+
55
+ @connection = Faraday.new(url: BASE_URL) do |conn|
56
+ conn.request :multipart
57
+ conn.request :url_encoded
58
+ conn.adapter Faraday.default_adapter
59
+ conn.options.timeout = @timeout
60
+ conn.headers["x-api-key"] = @api_key
61
+ conn.headers["auth-mode"] = "rubygems-package"
62
+ conn.headers["Content-Type"] = "application/json"
63
+ end
64
+ end
65
+
66
+ # Execute the API request
67
+ #
68
+ # @param params [Hash] Query parameters or request body
69
+ # @return [Hash] API response
70
+ # @raise [APIError] If the request fails
71
+ # @raise [ValidationError] If parameter validation fails
72
+ def execute(params = {})
73
+ validate_params!(params)
74
+
75
+ log("Making POST request to #{BASE_URL}")
76
+ log("Parameters: #{params.inspect}") if params.any?
77
+
78
+ response = @connection.post do |req|
79
+ req.body = params.to_json
80
+ end
81
+
82
+ handle_response(response)
83
+ end
84
+
85
+ private
86
+
87
+ def validate_api_key!(api_key)
88
+ raise ArgumentError, "API key is required. Get your API key at: https://apiverve.com" if api_key.nil? || api_key.strip.empty?
89
+
90
+ unless api_key.match?(/^[a-zA-Z0-9_-]+$/)
91
+ raise ArgumentError, "Invalid API key format. API key should only contain letters, numbers, hyphens, and underscores."
92
+ end
93
+ end
94
+
95
+ def validate_params!(params)
96
+ return if VALIDATION_RULES.empty?
97
+
98
+ errors = []
99
+
100
+ VALIDATION_RULES.each do |param_name, rules|
101
+ value = params[param_name.to_sym] || params[param_name]
102
+
103
+ # Check required
104
+ if rules[:required] && (value.nil? || value.to_s.empty?)
105
+ errors << "Required parameter [#{param_name}] is missing."
106
+ next
107
+ end
108
+
109
+ next if value.nil?
110
+
111
+ case rules[:type]
112
+ when "integer", "number"
113
+ begin
114
+ num_value = rules[:type] == "number" ? Float(value) : Integer(value)
115
+ errors << "Parameter [#{param_name}] must be at least #{rules[:min]}." if rules[:min] && num_value < rules[:min]
116
+ errors << "Parameter [#{param_name}] must be at most #{rules[:max]}." if rules[:max] && num_value > rules[:max]
117
+ rescue ArgumentError, TypeError
118
+ errors << "Parameter [#{param_name}] must be a valid #{rules[:type]}."
119
+ end
120
+ when "string"
121
+ unless value.is_a?(String)
122
+ errors << "Parameter [#{param_name}] must be a string."
123
+ next
124
+ end
125
+ errors << "Parameter [#{param_name}] must be at least #{rules[:min_length]} characters." if rules[:min_length] && value.length < rules[:min_length]
126
+ errors << "Parameter [#{param_name}] must be at most #{rules[:max_length]} characters." if rules[:max_length] && value.length > rules[:max_length]
127
+
128
+ if rules[:format] && FORMAT_PATTERNS[rules[:format]]
129
+ unless value.match?(FORMAT_PATTERNS[rules[:format]])
130
+ errors << "Parameter [#{param_name}] must be a valid #{rules[:format]}."
131
+ end
132
+ end
133
+ when "boolean"
134
+ unless [true, false, "true", "false"].include?(value)
135
+ errors << "Parameter [#{param_name}] must be a boolean."
136
+ end
137
+ end
138
+
139
+ # Enum validation
140
+ if rules[:enum] && !rules[:enum].include?(value)
141
+ errors << "Parameter [#{param_name}] must be one of: #{rules[:enum].join(', ')}."
142
+ end
143
+ end
144
+
145
+ raise ValidationError, errors unless errors.empty?
146
+ end
147
+
148
+ def handle_response(response)
149
+ log("Response status: #{response.status}")
150
+
151
+ data = JSON.parse(response.body)
152
+
153
+ if data["status"] == "error"
154
+ raise APIError.new(data["error"] || "Unknown API error", response.status, data)
155
+ end
156
+
157
+ unless response.success?
158
+ raise APIError.new(data["error"] || "HTTP #{response.status} error", response.status, data)
159
+ end
160
+
161
+ log("Request successful")
162
+ data
163
+ rescue JSON::ParserError => e
164
+ raise APIError.new("Invalid JSON response: #{e.message}", response.status)
165
+ end
166
+
167
+ def log(message)
168
+ puts "[APIVerve::Codedetector] #{message}" if @debug
169
+ end
170
+ end
171
+
172
+ # Custom error class for API errors
173
+ class APIError < StandardError
174
+ attr_reader :status_code, :response
175
+
176
+ def initialize(message, status_code = nil, response = nil)
177
+ @status_code = status_code
178
+ @response = response
179
+ super(message)
180
+ end
181
+ end
182
+
183
+ # Custom error class for validation errors
184
+ class ValidationError < StandardError
185
+ attr_reader :errors
186
+
187
+ def initialize(errors)
188
+ @errors = errors
189
+ super("Validation failed: #{errors.join(' ')}")
190
+ end
191
+ end
192
+ end
193
+ end
@@ -0,0 +1,195 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "faraday"
4
+ require "faraday/multipart"
5
+ require "json"
6
+
7
+ module APIVerve
8
+ module Codedetector
9
+ # Client for the Code Detector API
10
+ #
11
+ # @example Basic usage
12
+ # client = APIVerve::Codedetector::Client.new(api_key: "your_api_key")
13
+ # response = client.execute({ code: "a = 5
14
+ b = 6
15
+ c = 7
16
+
17
+ # calculate the semi-perimeter
18
+ s = (a + b + c) / 2
19
+
20
+ # calculate the area
21
+ area = (s*(s-a)*(s-b)*(s-c)) ** 0.5
22
+ print('The area of the triangle is %0.2f' %area)" })
23
+ # puts response
24
+ #
25
+ # @see https://apiverve.com/marketplace/codedetector?utm_source=ruby&utm_medium=readme
26
+ class Client
27
+ BASE_URL = "https://api.apiverve.com/v1/codedetector"
28
+ DEFAULT_TIMEOUT = 30
29
+
30
+ # Validation rules for parameters
31
+ VALIDATION_RULES = {
32
+ 'code' => { type: 'string', required: true }
33
+ }
34
+
35
+ # Format validation patterns
36
+ FORMAT_PATTERNS = {
37
+ 'email' => /^[^\s@]+@[^\s@]+\.[^\s@]+$/,
38
+ 'url' => /^https?:\/\/.+/,
39
+ 'ip' => /^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$|^([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}$/,
40
+ 'date' => /^\d{4}-\d{2}-\d{2}$/,
41
+ 'hexColor' => /^#?([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$/
42
+ }.freeze
43
+
44
+ # Initialize the client
45
+ #
46
+ # @param api_key [String] Your APIVerve API key
47
+ # @param timeout [Integer] Request timeout in seconds (default: 30)
48
+ # @param debug [Boolean] Enable debug logging (default: false)
49
+ # @raise [ArgumentError] If API key is invalid
50
+ def initialize(api_key:, timeout: DEFAULT_TIMEOUT, debug: false)
51
+ validate_api_key!(api_key)
52
+
53
+ @api_key = api_key
54
+ @timeout = timeout
55
+ @debug = debug
56
+
57
+ @connection = Faraday.new(url: BASE_URL) do |conn|
58
+ conn.request :multipart
59
+ conn.request :url_encoded
60
+ conn.adapter Faraday.default_adapter
61
+ conn.options.timeout = @timeout
62
+ conn.headers["x-api-key"] = @api_key
63
+ conn.headers["auth-mode"] = "rubygems-package"
64
+ conn.headers["Content-Type"] = "application/json"
65
+ end
66
+ end
67
+
68
+ # Execute the API request
69
+ #
70
+ # @param params [Hash] Query parameters or request body
71
+ # @return [Hash] API response
72
+ # @raise [APIError] If the request fails
73
+ # @raise [ValidationError] If parameter validation fails
74
+ def execute(params = {})
75
+ validate_params!(params)
76
+
77
+ log("Making POST request to #{BASE_URL}")
78
+ log("Parameters: #{params.inspect}") if params.any?
79
+
80
+ response = @connection.post do |req|
81
+ req.body = params.to_json
82
+ end
83
+
84
+ handle_response(response)
85
+ end
86
+
87
+ private
88
+
89
+ def validate_api_key!(api_key)
90
+ raise ArgumentError, "API key is required. Get your API key at: https://apiverve.com" if api_key.nil? || api_key.strip.empty?
91
+
92
+ unless api_key.match?(/^[a-zA-Z0-9_-]+$/)
93
+ raise ArgumentError, "Invalid API key format. API key should only contain letters, numbers, hyphens, and underscores."
94
+ end
95
+ end
96
+
97
+ def validate_params!(params)
98
+ return if VALIDATION_RULES.empty?
99
+
100
+ errors = []
101
+
102
+ VALIDATION_RULES.each do |param_name, rules|
103
+ value = params[param_name.to_sym] || params[param_name]
104
+
105
+ # Check required
106
+ if rules[:required] && (value.nil? || value.to_s.empty?)
107
+ errors << "Required parameter [#{param_name}] is missing."
108
+ next
109
+ end
110
+
111
+ next if value.nil?
112
+
113
+ case rules[:type]
114
+ when "integer", "number"
115
+ begin
116
+ num_value = rules[:type] == "number" ? Float(value) : Integer(value)
117
+ errors << "Parameter [#{param_name}] must be at least #{rules[:min]}." if rules[:min] && num_value < rules[:min]
118
+ errors << "Parameter [#{param_name}] must be at most #{rules[:max]}." if rules[:max] && num_value > rules[:max]
119
+ rescue ArgumentError, TypeError
120
+ errors << "Parameter [#{param_name}] must be a valid #{rules[:type]}."
121
+ end
122
+ when "string"
123
+ unless value.is_a?(String)
124
+ errors << "Parameter [#{param_name}] must be a string."
125
+ next
126
+ end
127
+ errors << "Parameter [#{param_name}] must be at least #{rules[:min_length]} characters." if rules[:min_length] && value.length < rules[:min_length]
128
+ errors << "Parameter [#{param_name}] must be at most #{rules[:max_length]} characters." if rules[:max_length] && value.length > rules[:max_length]
129
+
130
+ if rules[:format] && FORMAT_PATTERNS[rules[:format]]
131
+ unless value.match?(FORMAT_PATTERNS[rules[:format]])
132
+ errors << "Parameter [#{param_name}] must be a valid #{rules[:format]}."
133
+ end
134
+ end
135
+ when "boolean"
136
+ unless [true, false, "true", "false"].include?(value)
137
+ errors << "Parameter [#{param_name}] must be a boolean."
138
+ end
139
+ end
140
+
141
+ # Enum validation
142
+ if rules[:enum] && !rules[:enum].include?(value)
143
+ errors << "Parameter [#{param_name}] must be one of: #{rules[:enum].join(', ')}."
144
+ end
145
+ end
146
+
147
+ raise ValidationError, errors unless errors.empty?
148
+ end
149
+
150
+ def handle_response(response)
151
+ log("Response status: #{response.status}")
152
+
153
+ data = JSON.parse(response.body)
154
+
155
+ if data["status"] == "error"
156
+ raise APIError.new(data["error"] || "Unknown API error", response.status, data)
157
+ end
158
+
159
+ unless response.success?
160
+ raise APIError.new(data["error"] || "HTTP #{response.status} error", response.status, data)
161
+ end
162
+
163
+ log("Request successful")
164
+ data
165
+ rescue JSON::ParserError => e
166
+ raise APIError.new("Invalid JSON response: #{e.message}", response.status)
167
+ end
168
+
169
+ def log(message)
170
+ puts "[APIVerve::Codedetector] #{message}" if @debug
171
+ end
172
+ end
173
+
174
+ # Custom error class for API errors
175
+ class APIError < StandardError
176
+ attr_reader :status_code, :response
177
+
178
+ def initialize(message, status_code = nil, response = nil)
179
+ @status_code = status_code
180
+ @response = response
181
+ super(message)
182
+ end
183
+ end
184
+
185
+ # Custom error class for validation errors
186
+ class ValidationError < StandardError
187
+ attr_reader :errors
188
+
189
+ def initialize(errors)
190
+ @errors = errors
191
+ super("Validation failed: #{errors.join(' ')}")
192
+ end
193
+ end
194
+ end
195
+ end
@@ -0,0 +1,9 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative "apiverve_codedetector/client"
4
+
5
+ module APIVerve
6
+ module Codedetector
7
+ VERSION = "1.2.0"
8
+ end
9
+ end
metadata ADDED
@@ -0,0 +1,98 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: apiverve_codedetector
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.2.0
5
+ platform: ruby
6
+ authors:
7
+ - APIVerve
8
+ bindir: bin
9
+ cert_chain: []
10
+ date: 1980-01-02 00:00:00.000000000 Z
11
+ dependencies:
12
+ - !ruby/object:Gem::Dependency
13
+ name: faraday
14
+ requirement: !ruby/object:Gem::Requirement
15
+ requirements:
16
+ - - ">="
17
+ - !ruby/object:Gem::Version
18
+ version: '1.0'
19
+ - - "<"
20
+ - !ruby/object:Gem::Version
21
+ version: '3.0'
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ requirements:
26
+ - - ">="
27
+ - !ruby/object:Gem::Version
28
+ version: '1.0'
29
+ - - "<"
30
+ - !ruby/object:Gem::Version
31
+ version: '3.0'
32
+ - !ruby/object:Gem::Dependency
33
+ name: faraday-multipart
34
+ requirement: !ruby/object:Gem::Requirement
35
+ requirements:
36
+ - - "~>"
37
+ - !ruby/object:Gem::Version
38
+ version: '1.0'
39
+ type: :runtime
40
+ prerelease: false
41
+ version_requirements: !ruby/object:Gem::Requirement
42
+ requirements:
43
+ - - "~>"
44
+ - !ruby/object:Gem::Version
45
+ version: '1.0'
46
+ - !ruby/object:Gem::Dependency
47
+ name: json
48
+ requirement: !ruby/object:Gem::Requirement
49
+ requirements:
50
+ - - "~>"
51
+ - !ruby/object:Gem::Version
52
+ version: '2.0'
53
+ type: :runtime
54
+ prerelease: false
55
+ version_requirements: !ruby/object:Gem::Requirement
56
+ requirements:
57
+ - - "~>"
58
+ - !ruby/object:Gem::Version
59
+ version: '2.0'
60
+ description: Code Detector is a simple tool for detecting the language of code in
61
+ text. It returns details such as extension, language, family, and more.
62
+ email:
63
+ - hello@apiverve.com
64
+ executables: []
65
+ extensions: []
66
+ extra_rdoc_files: []
67
+ files:
68
+ - LICENSE
69
+ - README.md
70
+ - lib/apiverve/client.rb
71
+ - lib/apiverve_codedetector.rb
72
+ - lib/apiverve_codedetector/client.rb
73
+ homepage: https://apiverve.com/marketplace/codedetector?utm_source=ruby&utm_medium=homepage
74
+ licenses:
75
+ - MIT
76
+ metadata:
77
+ homepage_uri: https://apiverve.com/marketplace/codedetector?utm_source=ruby&utm_medium=homepage
78
+ source_code_uri: https://github.com/apiverve/codedetector-API/tree/main/ruby
79
+ changelog_uri: https://apiverve.com/changelog
80
+ documentation_uri: https://docs.apiverve.com/ref/codedetector
81
+ rdoc_options: []
82
+ require_paths:
83
+ - lib
84
+ required_ruby_version: !ruby/object:Gem::Requirement
85
+ requirements:
86
+ - - ">="
87
+ - !ruby/object:Gem::Version
88
+ version: 2.7.0
89
+ required_rubygems_version: !ruby/object:Gem::Requirement
90
+ requirements:
91
+ - - ">="
92
+ - !ruby/object:Gem::Version
93
+ version: '0'
94
+ requirements: []
95
+ rubygems_version: 3.6.9
96
+ specification_version: 4
97
+ summary: Code Detector API - Ruby Client
98
+ test_files: []