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 +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +5 -5
- data/lib/youdao/translate/version.rb +1 -1
- data/youdao-translate.gemspec +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 14b880c3136bc5a5d7dc563c34311a7ca42ad43578e531c7f8e1c659f71f743d
|
4
|
+
data.tar.gz: 71b74ca9391969249cc1c769ae7c70688448f4d254bb1fa5f31a4953b0e1aacf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6ad1e262b2291ada6cfcef173a4d29906bbf0e4137f3dc1a7c942c3ce1a84ddbc5ac3fbc0156c8b8079a18b343bd5a2b576748e983b7aae78093afc4ed1dcea0
|
7
|
+
data.tar.gz: 10d41438b1a8fee4e84b10cf87c36f2a2d28a9e481d5af1f317c4bb3c53fad0727a0c19fdfb08f55c4d71a7d275e1f13e15555fe36e805ef0fcc2584362acc79
|
data/Gemfile.lock
CHANGED
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
|
data/youdao-translate.gemspec
CHANGED
@@ -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://
|
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.
|
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://
|
28
|
+
homepage: https://gitlab.com/suifeng2012/youdao-tranlsate
|
29
29
|
licenses: []
|
30
30
|
metadata:
|
31
|
-
homepage_uri: https://
|
32
|
-
source_code_uri: https://
|
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:
|