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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e882987aea99da75e1dec09b2c375816169d24622a93978f100656bd6b2e11ba
4
- data.tar.gz: 2f04a5b7a53d52426f8f93a8f5b6707dcc49e644292ebac45b56b209546257ef
3
+ metadata.gz: e5c93bf049f7b483d245a2cafdb5e415353ab919ca765fbaaee0308735953518
4
+ data.tar.gz: 2eefd4ed2c593d2e067dc83066c846f127453884a9cd1ffe61aec1f91660721d
5
5
  SHA512:
6
- metadata.gz: 696b17977bb4fd596f77056d65a6db83b87f098addd18d71b73e5a2feff8c6545410fbf42050807604e7eefc1385666a500b3e4620f69956ad2a79a6a6d042fd
7
- data.tar.gz: a7143248566554a754e05d0e0cd9a487ee81f413ab39672d3f7afeec53add2925d32b1f17ab98053701d8ea1eae7b52c7e4c6293c39fd676329d80845089ece5
6
+ metadata.gz: f180d81786c78f3a30b07ec9505c83c16beb8293a3b65195d8672950b2f6c4794b7f2dc227db42af0cd01b78b03bbdb680efe028bb296f47afe2218a59f02850
7
+ data.tar.gz: f500e5685e28dd8b8b16fe6b37e6d9d1b11bdc3106bc9e0288d4ea6e25c260893871d1c04bfddddfcb4bd07c18c0a927d4b0303a96c5565a0c29eb4831262530
@@ -7,7 +7,7 @@
7
7
 
8
8
  name: Ruby
9
9
 
10
- on: [push, pull_request]
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
- # To automatically get bug fixes and new Ruby versions for ruby/setup-ruby,
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
@@ -1,5 +1,6 @@
1
1
  AllCops:
2
- TargetRubyVersion: 2.4
2
+ TargetRubyVersion: 2.5
3
+ NewCops: enable
3
4
 
4
5
  Style/StringLiterals:
5
6
  Enabled: true
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", "~> 13.0"
8
+ gem "rake"
9
9
 
10
- gem "rspec", "~> 3.0"
11
- gem "rspec-temp_dir", "~> 1.1"
10
+ gem "rspec"
11
+ gem "rspec-temp_dir"
12
12
 
13
- gem "rubocop", "~> 1.7"
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.0)
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.8)
13
- diff-lcs (1.4.4)
14
- i18n (1.8.9)
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.20.1)
17
- parser (3.0.0.0)
16
+ parallel (1.21.0)
17
+ parser (3.1.1.0)
18
18
  ast (~> 2.4.1)
19
- rainbow (3.0.0)
20
- rake (13.0.3)
21
- regexp_parser (2.0.3)
22
- rexml (3.2.4)
23
- rspec (3.10.0)
24
- rspec-core (~> 3.10.0)
25
- rspec-expectations (~> 3.10.0)
26
- rspec-mocks (~> 3.10.0)
27
- rspec-core (3.10.1)
28
- rspec-support (~> 3.10.0)
29
- rspec-expectations (3.10.1)
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.10.0)
32
- rspec-mocks (3.10.2)
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.10.0)
35
- rspec-support (3.10.2)
36
- rspec-temp_dir (1.1.0)
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.9.1)
38
+ rubocop (1.25.1)
39
39
  parallel (~> 1.10)
40
- parser (>= 3.0.0.0)
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.2.0, < 2.0)
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.4.1)
48
- parser (>= 2.7.1.5)
49
- rubocop-rake (0.5.1)
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
- rubocop-ast (>= 1.1.0)
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.0)
58
- unicode-display_width (2.0.0)
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 (~> 13.0)
66
- rspec (~> 3.0)
67
- rspec-temp_dir (~> 1.1)
68
- rubocop (~> 1.7)
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.9
72
+ 2.2.20
data/Rakefile CHANGED
@@ -10,3 +10,8 @@ require "rubocop/rake_task"
10
10
  RuboCop::RakeTask.new
11
11
 
12
12
  task default: %i[spec rubocop]
13
+
14
+ # Generate documentation
15
+ task :doc do |_t|
16
+ system "rdoc"
17
+ end
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.4.0")
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module DeeplAPI
4
- VERSION = "0.2.0"
4
+ VERSION = "0.2.1"
5
5
  end
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.0
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: 2021-05-23 00:00:00.000000000 Z
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.4.0
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.0.9
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