nlpcloud 1.0.44 → 1.0.45
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 +4 -4
- data/lib/nlpcloud.rb +0 -5
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 122370f7b283330f171b615d7ef59516d0e374e95e4ca343ad5b1b60471a0260
|
4
|
+
data.tar.gz: 4caab29a683543ce72edb7dc0154f55c5370cb904937512aab580d1fa3cc2905
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d321cf41dd4674a2fe58f4bdb34d4982e5a74c51f7c2a20ef46d683c517a8fcd5c47d6f008f8629db848b43dcfa590da712768021dfc045c365bb0b21176ea28
|
7
|
+
data.tar.gz: 47de972d3958002a6c4ec8025c3c1a3496250dcbd78e475a1ad68c0848e287f4e148f138ce9783ce4346b00e90942e09cd8e247b7fd011fce35a0fb6107172b2
|
data/lib/nlpcloud.rb
CHANGED
@@ -183,11 +183,6 @@ module NLPCloud
|
|
183
183
|
JSON.parse(response.body)
|
184
184
|
end
|
185
185
|
|
186
|
-
def lib_versions
|
187
|
-
response = RestClient.get("#{@root_url}/versions", @headers)
|
188
|
-
JSON.parse(response.body)
|
189
|
-
end
|
190
|
-
|
191
186
|
def paraphrasing(text)
|
192
187
|
payload = {
|
193
188
|
'text' => text
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nlpcloud
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.45
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Julien Salinas
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-03-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rest-client
|
@@ -61,7 +61,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
61
61
|
- !ruby/object:Gem::Version
|
62
62
|
version: '0'
|
63
63
|
requirements: []
|
64
|
-
rubygems_version: 3.1
|
64
|
+
rubygems_version: 3.0.3.1
|
65
65
|
signing_key:
|
66
66
|
specification_version: 4
|
67
67
|
summary: Ruby client for the NLP Cloud API
|