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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 14b880c3136bc5a5d7dc563c34311a7ca42ad43578e531c7f8e1c659f71f743d
4
- data.tar.gz: 71b74ca9391969249cc1c769ae7c70688448f4d254bb1fa5f31a4953b0e1aacf
3
+ metadata.gz: 6e8870f9a4940f606bd6b74cc07a525333a8fae599c6d45716ca5c2fc75698ba
4
+ data.tar.gz: 21113626913fe0e6d0e6ac8b26a5e3a18f7e94cfb728861f16f7371ef3894020
5
5
  SHA512:
6
- metadata.gz: 6ad1e262b2291ada6cfcef173a4d29906bbf0e4137f3dc1a7c942c3ce1a84ddbc5ac3fbc0156c8b8079a18b343bd5a2b576748e983b7aae78093afc4ed1dcea0
7
- data.tar.gz: 10d41438b1a8fee4e84b10cf87c36f2a2d28a9e481d5af1f317c4bb3c53fad0727a0c19fdfb08f55c4d71a7d275e1f13e15555fe36e805ef0fcc2584362acc79
6
+ metadata.gz: 2dcd7e8a101bb33a090f93c0633d533f5f7452f2fa4cfea9cff312eb7389da26d42f87ac929eefe8de387999c68087a2e8cedfa192a193d8202748af38fd6c71
7
+ data.tar.gz: 6a5a6d4b4cdba7c389302c247fb735892ac6035e00e901b19ebdec1fff6c460df6db5b338936ec7d9a3a3ecc0dbe107de3f32af74078f64bb2c37db075664ee3
data/Gemfile.lock CHANGED
@@ -1,12 +1,14 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- youdao-translate (0.1.1)
4
+ youdao-translate (0.1.2)
5
+ singleton (~> 0.1.1)
5
6
 
6
7
  GEM
7
8
  remote: https://rubygems.org/
8
9
  specs:
9
10
  rake (13.0.6)
11
+ singleton (0.1.1)
10
12
 
11
13
  PLATFORMS
12
14
  x86_64-darwin-19
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://github.com/[USERNAME]/youdao-translate.
39
+ Bug reports and pull requests are welcome on GitHub at https://gitlab.com/suifeng2012/youdao-translate.
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Youdao
4
4
  module Translate
5
- VERSION = "0.1.1"
5
+ VERSION = "0.1.2"
6
6
  end
7
7
  end
@@ -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
- # spec.add_dependency "example-gem", "~> 1.0"
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.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