youdao-translate 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 163db4ee09cf33010d8731e0a1628bece3ae671f9c5c9d251f9210df147d4154
4
- data.tar.gz: e67e8f9932e919e133e3ff5e7a24c5c0069fa874f89f693ba959b3bb16dd3334
3
+ metadata.gz: 14b880c3136bc5a5d7dc563c34311a7ca42ad43578e531c7f8e1c659f71f743d
4
+ data.tar.gz: 71b74ca9391969249cc1c769ae7c70688448f4d254bb1fa5f31a4953b0e1aacf
5
5
  SHA512:
6
- metadata.gz: ad2ebc94f688b5d6a2f51004077d9baccb9e15ecd42ef70faaff614878fc4ea50e8cc140c2ffee346a28ae2c4686b50d49544f079817e4daf3b17746b31be15e
7
- data.tar.gz: 7c84153cec840297ee5e7d23856c9e1403d8de0b9caa35d364815fce0f0992c9bc2ea62ac43518630401f11ed3c021b38362c49c05f404566508e8e0d7590e10
6
+ metadata.gz: 6ad1e262b2291ada6cfcef173a4d29906bbf0e4137f3dc1a7c942c3ce1a84ddbc5ac3fbc0156c8b8079a18b343bd5a2b576748e983b7aae78093afc4ed1dcea0
7
+ data.tar.gz: 10d41438b1a8fee4e84b10cf87c36f2a2d28a9e481d5af1f317c4bb3c53fad0727a0c19fdfb08f55c4d71a7d275e1f13e15555fe36e805ef0fcc2584362acc79
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- youdao-translate (0.1.0)
4
+ youdao-translate (0.1.1)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/README.md CHANGED
@@ -23,15 +23,15 @@ Or install it yourself as:
23
23
  ## Usage
24
24
 
25
25
  ```ruby
26
- Translate.get("hello")
26
+ Translate::Youdao.get("hello")
27
27
 
28
- Translate.get("hello", from: "zh-CHS", to: "ja")
28
+ Translate::Youdao.get("hello", from: "zh-CHS", to: "ja")
29
29
 
30
- Translate.get("hello", to: "ko")
30
+ Translate::Youdao.get("hello", to: "ko")
31
31
 
32
- Translate.instance.get("hello")
32
+ Translate::Youdao.instance.get("hello")
33
33
 
34
- Translate.instance.get("hello", from: "zh-CHS", to: "ja")
34
+ Translate::Youdao.instance.get("hello", from: "zh-CHS", to: "ja")
35
35
  ```
36
36
 
37
37
  ## Development
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Youdao
4
4
  module Translate
5
- VERSION = "0.1.0"
5
+ VERSION = "0.1.1"
6
6
  end
7
7
  end
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
10
10
 
11
11
  spec.summary = "Translate using youdao"
12
12
  spec.description = "Translate using youdao"
13
- spec.homepage = "https://github.com/hfpp2012/youdao-translate"
13
+ spec.homepage = "https://gitlab.com/suifeng2012/youdao-tranlsate"
14
14
  spec.required_ruby_version = ">= 2.6.0"
15
15
 
16
16
  spec.metadata["homepage_uri"] = spec.homepage
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: youdao-translate
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - hfpp2012
@@ -25,11 +25,11 @@ files:
25
25
  - lib/youdao/translate/version.rb
26
26
  - lib/youdao/translate/youdao.rb
27
27
  - youdao-translate.gemspec
28
- homepage: https://github.com/hfpp2012/youdao-translate
28
+ homepage: https://gitlab.com/suifeng2012/youdao-tranlsate
29
29
  licenses: []
30
30
  metadata:
31
- homepage_uri: https://github.com/hfpp2012/youdao-translate
32
- source_code_uri: https://github.com/hfpp2012/youdao-translate
31
+ homepage_uri: https://gitlab.com/suifeng2012/youdao-tranlsate
32
+ source_code_uri: https://gitlab.com/suifeng2012/youdao-tranlsate
33
33
  post_install_message:
34
34
  rdoc_options: []
35
35
  require_paths: