deepl_api 0.2.0 → 0.2.1
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/.github/workflows/ruby.yml +5 -5
- data/.rubocop.yml +2 -1
- data/CHANGELOG.md +3 -0
- data/Gemfile +4 -4
- data/Gemfile.lock +37 -38
- data/Rakefile +5 -0
- data/deepl_api.gemspec +2 -1
- data/lib/deepl_api/version.rb +1 -1
- metadata +5 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e5c93bf049f7b483d245a2cafdb5e415353ab919ca765fbaaee0308735953518
|
4
|
+
data.tar.gz: 2eefd4ed2c593d2e067dc83066c846f127453884a9cd1ffe61aec1f91660721d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f180d81786c78f3a30b07ec9505c83c16beb8293a3b65195d8672950b2f6c4794b7f2dc227db42af0cd01b78b03bbdb680efe028bb296f47afe2218a59f02850
|
7
|
+
data.tar.gz: f500e5685e28dd8b8b16fe6b37e6d9d1b11bdc3106bc9e0288d4ea6e25c260893871d1c04bfddddfcb4bd07c18c0a927d4b0303a96c5565a0c29eb4831262530
|
data/.github/workflows/ruby.yml
CHANGED
@@ -7,7 +7,7 @@
|
|
7
7
|
|
8
8
|
name: Ruby
|
9
9
|
|
10
|
-
on: [push
|
10
|
+
on: [push]
|
11
11
|
|
12
12
|
jobs:
|
13
13
|
test:
|
@@ -16,14 +16,14 @@ jobs:
|
|
16
16
|
strategy:
|
17
17
|
matrix:
|
18
18
|
ruby-version: ['2.6', '2.7', '3.0']
|
19
|
+
# 3.1 still has problems with the did_you_mean gem.
|
20
|
+
# https://github.com/rubygems/rubygems/issues/5234
|
21
|
+
# ruby-version: ['2.6', '2.7', '3.0', '3.1']
|
19
22
|
|
20
23
|
steps:
|
21
24
|
- uses: actions/checkout@v2
|
22
25
|
- name: Set up Ruby
|
23
|
-
|
24
|
-
# change this to (see https://github.com/ruby/setup-ruby#versioning):
|
25
|
-
# uses: ruby/setup-ruby@v1
|
26
|
-
uses: ruby/setup-ruby@473e4d8fe5dd94ee328fdfca9f8c9c7afc9dae5e
|
26
|
+
uses: ruby/setup-ruby@v1
|
27
27
|
with:
|
28
28
|
ruby-version: ${{ matrix.ruby-version }}
|
29
29
|
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
|
data/.rubocop.yml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,6 @@
|
|
1
|
+
## [0.2.1] - 2022-02-21
|
2
|
+
- Updated dependencies.
|
3
|
+
|
1
4
|
## [0.2.0] - 2021-05-23
|
2
5
|
- Added support for the DeepL free tier which requires a different API endpoint, which will be automatically selected based on the provided API key.
|
3
6
|
- Removed erroneous limitation of this gem to the darwin-20 platform. It supports all platforms that Ruby runs on.
|
data/Gemfile
CHANGED
@@ -5,11 +5,11 @@ source "https://rubygems.org"
|
|
5
5
|
# Specify your gem's dependencies in deepl_api.gemspec
|
6
6
|
gemspec
|
7
7
|
|
8
|
-
gem "rake"
|
8
|
+
gem "rake"
|
9
9
|
|
10
|
-
gem "rspec"
|
11
|
-
gem "rspec-temp_dir"
|
10
|
+
gem "rspec"
|
11
|
+
gem "rspec-temp_dir"
|
12
12
|
|
13
|
-
gem "rubocop"
|
13
|
+
gem "rubocop"
|
14
14
|
gem "rubocop-rake"
|
15
15
|
gem "rubocop-rspec"
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
deepl_api (0.2.
|
4
|
+
deepl_api (0.2.1)
|
5
5
|
ruby-enum (~> 0.9)
|
6
6
|
thor (~> 1.1)
|
7
7
|
|
@@ -9,65 +9,64 @@ GEM
|
|
9
9
|
remote: https://rubygems.org/
|
10
10
|
specs:
|
11
11
|
ast (2.4.2)
|
12
|
-
concurrent-ruby (1.1.
|
13
|
-
diff-lcs (1.
|
14
|
-
i18n (1.
|
12
|
+
concurrent-ruby (1.1.9)
|
13
|
+
diff-lcs (1.5.0)
|
14
|
+
i18n (1.10.0)
|
15
15
|
concurrent-ruby (~> 1.0)
|
16
|
-
parallel (1.
|
17
|
-
parser (3.
|
16
|
+
parallel (1.21.0)
|
17
|
+
parser (3.1.1.0)
|
18
18
|
ast (~> 2.4.1)
|
19
|
-
rainbow (3.
|
20
|
-
rake (13.0.
|
21
|
-
regexp_parser (2.
|
22
|
-
rexml (3.2.
|
23
|
-
rspec (3.
|
24
|
-
rspec-core (~> 3.
|
25
|
-
rspec-expectations (~> 3.
|
26
|
-
rspec-mocks (~> 3.
|
27
|
-
rspec-core (3.
|
28
|
-
rspec-support (~> 3.
|
29
|
-
rspec-expectations (3.
|
19
|
+
rainbow (3.1.1)
|
20
|
+
rake (13.0.6)
|
21
|
+
regexp_parser (2.2.1)
|
22
|
+
rexml (3.2.5)
|
23
|
+
rspec (3.11.0)
|
24
|
+
rspec-core (~> 3.11.0)
|
25
|
+
rspec-expectations (~> 3.11.0)
|
26
|
+
rspec-mocks (~> 3.11.0)
|
27
|
+
rspec-core (3.11.0)
|
28
|
+
rspec-support (~> 3.11.0)
|
29
|
+
rspec-expectations (3.11.0)
|
30
30
|
diff-lcs (>= 1.2.0, < 2.0)
|
31
|
-
rspec-support (~> 3.
|
32
|
-
rspec-mocks (3.
|
31
|
+
rspec-support (~> 3.11.0)
|
32
|
+
rspec-mocks (3.11.0)
|
33
33
|
diff-lcs (>= 1.2.0, < 2.0)
|
34
|
-
rspec-support (~> 3.
|
35
|
-
rspec-support (3.
|
36
|
-
rspec-temp_dir (1.1.
|
34
|
+
rspec-support (~> 3.11.0)
|
35
|
+
rspec-support (3.11.0)
|
36
|
+
rspec-temp_dir (1.1.1)
|
37
37
|
rspec (>= 3.0)
|
38
|
-
rubocop (1.
|
38
|
+
rubocop (1.25.1)
|
39
39
|
parallel (~> 1.10)
|
40
|
-
parser (>= 3.
|
40
|
+
parser (>= 3.1.0.0)
|
41
41
|
rainbow (>= 2.2.2, < 4.0)
|
42
42
|
regexp_parser (>= 1.8, < 3.0)
|
43
43
|
rexml
|
44
|
-
rubocop-ast (>= 1.
|
44
|
+
rubocop-ast (>= 1.15.1, < 2.0)
|
45
45
|
ruby-progressbar (~> 1.7)
|
46
46
|
unicode-display_width (>= 1.4.0, < 3.0)
|
47
|
-
rubocop-ast (1.
|
48
|
-
parser (>=
|
49
|
-
rubocop-rake (0.
|
50
|
-
rubocop
|
51
|
-
rubocop-rspec (2.3.0)
|
47
|
+
rubocop-ast (1.15.2)
|
48
|
+
parser (>= 3.0.1.1)
|
49
|
+
rubocop-rake (0.6.0)
|
52
50
|
rubocop (~> 1.0)
|
53
|
-
|
51
|
+
rubocop-rspec (2.8.0)
|
52
|
+
rubocop (~> 1.19)
|
54
53
|
ruby-enum (0.9.0)
|
55
54
|
i18n
|
56
55
|
ruby-progressbar (1.11.0)
|
57
|
-
thor (1.1
|
58
|
-
unicode-display_width (2.
|
56
|
+
thor (1.2.1)
|
57
|
+
unicode-display_width (2.1.0)
|
59
58
|
|
60
59
|
PLATFORMS
|
61
60
|
ruby
|
62
61
|
|
63
62
|
DEPENDENCIES
|
64
63
|
deepl_api!
|
65
|
-
rake
|
66
|
-
rspec
|
67
|
-
rspec-temp_dir
|
68
|
-
rubocop
|
64
|
+
rake
|
65
|
+
rspec
|
66
|
+
rspec-temp_dir
|
67
|
+
rubocop
|
69
68
|
rubocop-rake
|
70
69
|
rubocop-rspec
|
71
70
|
|
72
71
|
BUNDLED WITH
|
73
|
-
2.2.
|
72
|
+
2.2.20
|
data/Rakefile
CHANGED
data/deepl_api.gemspec
CHANGED
@@ -12,7 +12,7 @@ Gem::Specification.new do |spec|
|
|
12
12
|
spec.description = "Bindings and a commandline tool for the DeepL REST API (https://www.deepl.com/docs-api/)"
|
13
13
|
spec.homepage = "https://github.com/mgruner/deepl-api-rb"
|
14
14
|
spec.license = "MIT"
|
15
|
-
spec.required_ruby_version = Gem::Requirement.new(">= 2.
|
15
|
+
spec.required_ruby_version = Gem::Requirement.new(">= 2.5.0")
|
16
16
|
|
17
17
|
spec.metadata["allowed_push_host"] = "https://rubygems.org"
|
18
18
|
|
@@ -34,4 +34,5 @@ Gem::Specification.new do |spec|
|
|
34
34
|
|
35
35
|
# For more information and examples about making a new gem, checkout our
|
36
36
|
# guide at: https://bundler.io/guides/creating_gem.html
|
37
|
+
spec.metadata["rubygems_mfa_required"] = "true"
|
37
38
|
end
|
data/lib/deepl_api/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: deepl_api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Martin Gruner
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-02-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ruby-enum
|
@@ -74,6 +74,7 @@ metadata:
|
|
74
74
|
homepage_uri: https://github.com/mgruner/deepl-api-rb
|
75
75
|
source_code_uri: https://github.com/mgruner/deepl-api-rb
|
76
76
|
changelog_uri: https://github.com/mgruner/deepl-api-rb/blob/next/CHANGELOG.md
|
77
|
+
rubygems_mfa_required: 'true'
|
77
78
|
post_install_message:
|
78
79
|
rdoc_options: []
|
79
80
|
require_paths:
|
@@ -82,14 +83,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
82
83
|
requirements:
|
83
84
|
- - ">="
|
84
85
|
- !ruby/object:Gem::Version
|
85
|
-
version: 2.
|
86
|
+
version: 2.5.0
|
86
87
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
87
88
|
requirements:
|
88
89
|
- - ">="
|
89
90
|
- !ruby/object:Gem::Version
|
90
91
|
version: '0'
|
91
92
|
requirements: []
|
92
|
-
rubygems_version: 3.
|
93
|
+
rubygems_version: 3.1.6
|
93
94
|
signing_key:
|
94
95
|
specification_version: 4
|
95
96
|
summary: Bindings and a commandline tool for the DeepL REST API
|