tx_nlp 0.0.1 → 0.0.2

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: '04249444767c3dff3f079144380ad90df4cf1ab42776326429cd14f2cb3cdd55'
4
- data.tar.gz: 8814c83fee866fc6010f5a15567a7b625ba56b330733d36477d64427fa72f708
3
+ metadata.gz: 1313dd90366286c56789dc8339a0482aac1c60aece0763bf0aae3895d5ccb229
4
+ data.tar.gz: 263ea98e1397ae6fad73579c327d63cd1f31545364f4b08de731b83a190e02ae
5
5
  SHA512:
6
- metadata.gz: 74133e300d9089e98d26a60490d12b8c9439f489eca213a1cb435596e6319226b99f435137da6965b69f45d390c1627c89a783960069f9375042b0a4e08f4694
7
- data.tar.gz: 6bc1f51e500639d87cc7e48efe8b139448f9277dfcb5f31b5993b300a8986a198b8517526389260f000ea321ee6caadea1f1836276f680cceadbdfb200186d31
6
+ metadata.gz: 6e742b5f4dc40c55749cf3294f151680070ef80eb9441269c759e9b7bb6280fa320da15709aeec7e58838dd889a471042f3b426973ff998e3508b6d52ca0563f
7
+ data.tar.gz: 93673bf6c8a646322b1dd41a738585d49951021b02c1ac550768a498caeb9711032a1370eef2264a5ae20344629b5836e2449c48b27adb161ae1a84e73173ae5
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- tx_nlp (0.0.1)
4
+ tx_nlp (0.0.2)
5
5
  activesupport
6
6
  httparty
7
7
  json
@@ -11,32 +11,37 @@ PATH
11
11
  GEM
12
12
  remote: http://rubygems.org/
13
13
  specs:
14
- activesupport (5.2.3)
14
+ activesupport (6.0.1)
15
15
  concurrent-ruby (~> 1.0, >= 1.0.2)
16
16
  i18n (>= 0.7, < 2)
17
17
  minitest (~> 5.1)
18
18
  tzinfo (~> 1.1)
19
+ zeitwerk (~> 2.2)
19
20
  colorize (0.8.1)
20
21
  concurrent-ruby (1.1.5)
21
- domain_name (0.5.20180417)
22
+ domain_name (0.5.20190701)
22
23
  unf (>= 0.0.5, < 1.0.0)
24
+ http-accept (1.7.0)
23
25
  http-cookie (1.0.3)
24
26
  domain_name (~> 0.5)
25
- httparty (0.16.4)
27
+ httparty (0.17.1)
26
28
  mime-types (~> 3.0)
27
29
  multi_xml (>= 0.5.2)
28
- i18n (1.1.1)
30
+ i18n (1.7.0)
29
31
  concurrent-ruby (~> 1.0)
32
+ ipaddr (1.2.2)
30
33
  json (2.2.0)
31
- mime-types (3.2.2)
34
+ mime-types (3.3)
32
35
  mime-types-data (~> 3.2015)
33
- mime-types-data (3.2019.0331)
34
- minitest (5.11.3)
36
+ mime-types-data (3.2019.1009)
37
+ minitest (5.13.0)
35
38
  multi_xml (0.6.0)
36
39
  netrc (0.11.0)
37
40
  openssl (2.1.2)
41
+ ipaddr
38
42
  rake (10.5.0)
39
- rest-client (2.0.2)
43
+ rest-client (2.1.0)
44
+ http-accept (>= 1.7.0, < 2.0)
40
45
  http-cookie (>= 1.0.2, < 2.0)
41
46
  mime-types (>= 1.16, < 4.0)
42
47
  netrc (~> 0.8)
@@ -50,7 +55,8 @@ GEM
50
55
  thread_safe (~> 0.1)
51
56
  unf (0.1.4)
52
57
  unf_ext
53
- unf_ext (0.0.7.5)
58
+ unf_ext (0.0.7.6)
59
+ zeitwerk (2.2.1)
54
60
 
55
61
  PLATFORMS
56
62
  ruby
data/README.md CHANGED
@@ -31,6 +31,7 @@ gem 'tx_nlp'
31
31
 
32
32
  * tx_nlp word 詞 # 推薦相似詞
33
33
 
34
+ 更多詳情請見 https://cloud.tencent.com/document/product/271/35493
34
35
 
35
36
 
36
37
  ## Other 其他说明
@@ -24,7 +24,9 @@ module TxNlp
24
24
  # use user settings
25
25
  config_path
26
26
  else
27
- raise "Can't find config directory. please init by command: 'mygem config'.'"
27
+ system "mkdir #{config_path}"
28
+ config_path
29
+ #raise "Can't find config directory. please init by command: 'mygem config'.'"
28
30
  end
29
31
  end
30
32
 
@@ -1,3 +1,3 @@
1
1
  module TxNlp
2
- VERSION = '0.0.1'.freeze
2
+ VERSION = '0.0.2'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tx_nlp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - xdite