youdao-translate 0.1.1 → 0.1.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 +4 -4
- data/Gemfile.lock +3 -1
- data/README.md +1 -7
- data/lib/youdao/translate/version.rb +1 -1
- data/youdao-translate.gemspec +1 -1
- metadata +16 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6e8870f9a4940f606bd6b74cc07a525333a8fae599c6d45716ca5c2fc75698ba
|
|
4
|
+
data.tar.gz: 21113626913fe0e6d0e6ac8b26a5e3a18f7e94cfb728861f16f7371ef3894020
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2dcd7e8a101bb33a090f93c0633d533f5f7452f2fa4cfea9cff312eb7389da26d42f87ac929eefe8de387999c68087a2e8cedfa192a193d8202748af38fd6c71
|
|
7
|
+
data.tar.gz: 6a5a6d4b4cdba7c389302c247fb735892ac6035e00e901b19ebdec1fff6c460df6db5b338936ec7d9a3a3ecc0dbe107de3f32af74078f64bb2c37db075664ee3
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
|
@@ -34,12 +34,6 @@ Translate::Youdao.instance.get("hello")
|
|
|
34
34
|
Translate::Youdao.instance.get("hello", from: "zh-CHS", to: "ja")
|
|
35
35
|
```
|
|
36
36
|
|
|
37
|
-
## Development
|
|
38
|
-
|
|
39
|
-
After checking out the repo, run `bin/setup` to install dependencies. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
|
40
|
-
|
|
41
|
-
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and the created tag, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
|
42
|
-
|
|
43
37
|
## Contributing
|
|
44
38
|
|
|
45
|
-
Bug reports and pull requests are welcome on GitHub at https://
|
|
39
|
+
Bug reports and pull requests are welcome on GitHub at https://gitlab.com/suifeng2012/youdao-translate.
|
data/youdao-translate.gemspec
CHANGED
|
@@ -26,7 +26,7 @@ Gem::Specification.new do |spec|
|
|
|
26
26
|
spec.require_paths = ["lib"]
|
|
27
27
|
|
|
28
28
|
# Uncomment to register a new dependency of your gem
|
|
29
|
-
|
|
29
|
+
spec.add_dependency "singleton", "~> 0.1.1"
|
|
30
30
|
|
|
31
31
|
# For more information and examples about making a new gem, check out our
|
|
32
32
|
# guide at: https://bundler.io/guides/creating_gem.html
|
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.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- hfpp2012
|
|
@@ -9,7 +9,21 @@ autorequire:
|
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
11
|
date: 2022-03-09 00:00:00.000000000 Z
|
|
12
|
-
dependencies:
|
|
12
|
+
dependencies:
|
|
13
|
+
- !ruby/object:Gem::Dependency
|
|
14
|
+
name: singleton
|
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
|
16
|
+
requirements:
|
|
17
|
+
- - "~>"
|
|
18
|
+
- !ruby/object:Gem::Version
|
|
19
|
+
version: 0.1.1
|
|
20
|
+
type: :runtime
|
|
21
|
+
prerelease: false
|
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
23
|
+
requirements:
|
|
24
|
+
- - "~>"
|
|
25
|
+
- !ruby/object:Gem::Version
|
|
26
|
+
version: 0.1.1
|
|
13
27
|
description: Translate using youdao
|
|
14
28
|
email:
|
|
15
29
|
- hfpp2012@gmail.com
|