nlpcloud 1.0.33 → 1.0.35

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/nlpcloud.rb +4 -4
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4c28175e7facf332c54a9f656cd1f71764d6da8f126921f41e2f12501d9eb699
4
- data.tar.gz: 81c618dbc777f5441712060e75212f024bb21f87d2f097c5fa24cc071e8a4677
3
+ metadata.gz: 88bb6160d4ae67344a9797ccbb618d90b194e4bdfe5120bd767139cce68c33df
4
+ data.tar.gz: 7765aeb92321400605a67533a98ec4b039613e7d35d79822d3b3e929eae30534
5
5
  SHA512:
6
- metadata.gz: ff21d7011299947208a87ec374f88891376ef616df59eff21ab0dd85959425aa2f13cf328f20d72bd3324b40c89e12225cb6fa04a0737cda0fa5d8f71d59b977
7
- data.tar.gz: dea43da82e56a084e8e87ea6e9d808e5fac01c694a9a57a5c5588c2962d0e1418026b621d0de0b6fae85de8a02314ccf80245adfd4cc9cd20d96a45896f2bdec
6
+ metadata.gz: 5deeff42713be215589d7151149c82c819747559e39737e22d4b0085d911709622b16d4dba719de9d7fb5240712d6171e1c6ccc3dff0f1378b9287897ddf4c2e
7
+ data.tar.gz: 446e86941722b46e165d5e706e92459334542fbf1b8256fb84eeeb94944849f58895589d59b339edf40670ea94c8c201799328db34d25f036514ce8576df6e1e
data/lib/nlpcloud.rb CHANGED
@@ -26,14 +26,14 @@ module NLPCloud
26
26
  @root_url += "gpu/"
27
27
  end
28
28
 
29
- if lang
30
- @root_url += lang + "/"
31
- end
32
-
33
29
  if asynchronous
34
30
  @root_url += "async/"
35
31
  end
36
32
 
33
+ if lang != ""
34
+ @root_url += lang + "/"
35
+ end
36
+
37
37
  @root_url += model
38
38
 
39
39
  end
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.33
4
+ version: 1.0.35
5
5
  platform: ruby
6
6
  authors:
7
7
  - Julien Salinas
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-11-28 00:00:00.000000000 Z
11
+ date: 2022-12-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client