translator-text 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.travis.yml +2 -2
- data/CHANGELOG.md +5 -0
- data/Gemfile +2 -3
- data/Gemfile.lock +75 -75
- data/lib/translator_text/types/detection_result.rb +0 -2
- data/lib/translator_text/types.rb +1 -1
- data/lib/translator_text/version.rb +1 -1
- data/translator-text.gemspec +2 -2
- metadata +7 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: beb931c696d3d7ccbcafa3ff1fdfbfad976be0f2c31b54d87f71d61e980ddaa4
|
4
|
+
data.tar.gz: 8cd04286399ee904a25a81af6ebc941c8b187c894848cef65b9ec489678db68c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9f8573a6969215b1bfb8fe325d4cd818f99a84d8e4d85fc84bfbef6d8f88f5350ae8097b0d3ff9c6c0727f76cf6ef129b426f808cd7a92e7778defda69b01638
|
7
|
+
data.tar.gz: d91a8916221f79605592e75dbf6e72cce5e0f9e0122e4038e6daf79be144eb0001a9d5b9fa0a065e411915083b68fa7dbe570817ab065a80557c208362770764
|
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file.
|
|
4
4
|
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
|
5
5
|
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
|
6
6
|
|
7
|
+
## 0.2.0 (2023-04-19)
|
8
|
+
### Changed
|
9
|
+
- Use dry-struct 1+
|
10
|
+
- Switch to ruby 3.1 as default ruby version
|
11
|
+
|
7
12
|
## 0.1.0 (2018-08-28)
|
8
13
|
### Added
|
9
14
|
- Initial release
|
data/Gemfile
CHANGED
@@ -3,10 +3,9 @@ source 'https://rubygems.org'
|
|
3
3
|
# git_source(:github) {|repo_name| 'https://github.com/#{repo_name}' }
|
4
4
|
|
5
5
|
group :test do
|
6
|
-
gem 'bundler', '~> 1.16'
|
7
6
|
gem 'dotenv'
|
8
|
-
gem 'rake', '~>
|
9
|
-
gem 'rspec', '~> 3
|
7
|
+
gem 'rake', '~> 12'
|
8
|
+
gem 'rspec', '~> 3'
|
10
9
|
gem 'rubocop'
|
11
10
|
gem 'simplecov', require: false
|
12
11
|
gem 'webmock'
|
data/Gemfile.lock
CHANGED
@@ -1,104 +1,104 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
translator-text (0.
|
5
|
-
dry-struct (~>
|
6
|
-
httparty (~> 0.
|
4
|
+
translator-text (0.2.0)
|
5
|
+
dry-struct (~> 1)
|
6
|
+
httparty (~> 0.21)
|
7
7
|
|
8
8
|
GEM
|
9
9
|
remote: https://rubygems.org/
|
10
10
|
specs:
|
11
|
-
addressable (2.
|
12
|
-
public_suffix (>= 2.0.2, <
|
13
|
-
ast (2.4.
|
14
|
-
concurrent-ruby (1.
|
15
|
-
crack (0.4.
|
16
|
-
|
17
|
-
diff-lcs (1.
|
18
|
-
docile (1.
|
19
|
-
dotenv (2.
|
20
|
-
dry-
|
11
|
+
addressable (2.8.4)
|
12
|
+
public_suffix (>= 2.0.2, < 6.0)
|
13
|
+
ast (2.4.2)
|
14
|
+
concurrent-ruby (1.2.2)
|
15
|
+
crack (0.4.5)
|
16
|
+
rexml
|
17
|
+
diff-lcs (1.5.0)
|
18
|
+
docile (1.4.0)
|
19
|
+
dotenv (2.8.1)
|
20
|
+
dry-core (1.0.0)
|
21
21
|
concurrent-ruby (~> 1.0)
|
22
|
-
|
22
|
+
zeitwerk (~> 2.6)
|
23
|
+
dry-inflector (1.0.0)
|
24
|
+
dry-logic (1.5.0)
|
23
25
|
concurrent-ruby (~> 1.0)
|
24
|
-
dry-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
dry-logic (0.4.2)
|
30
|
-
dry-container (~> 0.2, >= 0.2.6)
|
31
|
-
dry-core (~> 0.2)
|
32
|
-
dry-equalizer (~> 0.2)
|
33
|
-
dry-struct (0.5.1)
|
34
|
-
dry-core (~> 0.4, >= 0.4.3)
|
35
|
-
dry-equalizer (~> 0.2)
|
36
|
-
dry-types (~> 0.13)
|
26
|
+
dry-core (~> 1.0, < 2)
|
27
|
+
zeitwerk (~> 2.6)
|
28
|
+
dry-struct (1.6.0)
|
29
|
+
dry-core (~> 1.0, < 2)
|
30
|
+
dry-types (>= 1.7, < 2)
|
37
31
|
ice_nine (~> 0.11)
|
38
|
-
|
32
|
+
zeitwerk (~> 2.6)
|
33
|
+
dry-types (1.7.1)
|
39
34
|
concurrent-ruby (~> 1.0)
|
40
|
-
dry-
|
41
|
-
dry-
|
42
|
-
dry-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
35
|
+
dry-core (~> 1.0)
|
36
|
+
dry-inflector (~> 1.0)
|
37
|
+
dry-logic (~> 1.4)
|
38
|
+
zeitwerk (~> 2.6)
|
39
|
+
hashdiff (1.0.1)
|
40
|
+
httparty (0.21.0)
|
41
|
+
mini_mime (>= 1.0.0)
|
47
42
|
multi_xml (>= 0.5.2)
|
48
43
|
ice_nine (0.11.2)
|
49
|
-
|
50
|
-
|
44
|
+
json (2.6.3)
|
45
|
+
mini_mime (1.1.2)
|
51
46
|
multi_xml (0.6.0)
|
52
|
-
parallel (1.
|
53
|
-
parser (2.
|
54
|
-
ast (~> 2.4.
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
rspec-
|
62
|
-
rspec-
|
63
|
-
|
64
|
-
|
65
|
-
|
47
|
+
parallel (1.23.0)
|
48
|
+
parser (3.2.2.0)
|
49
|
+
ast (~> 2.4.1)
|
50
|
+
public_suffix (5.0.1)
|
51
|
+
rainbow (3.1.1)
|
52
|
+
rake (12.3.3)
|
53
|
+
regexp_parser (2.8.0)
|
54
|
+
rexml (3.2.5)
|
55
|
+
rspec (3.12.0)
|
56
|
+
rspec-core (~> 3.12.0)
|
57
|
+
rspec-expectations (~> 3.12.0)
|
58
|
+
rspec-mocks (~> 3.12.0)
|
59
|
+
rspec-core (3.12.2)
|
60
|
+
rspec-support (~> 3.12.0)
|
61
|
+
rspec-expectations (3.12.2)
|
66
62
|
diff-lcs (>= 1.2.0, < 2.0)
|
67
|
-
rspec-support (~> 3.
|
68
|
-
rspec-mocks (3.
|
63
|
+
rspec-support (~> 3.12.0)
|
64
|
+
rspec-mocks (3.12.5)
|
69
65
|
diff-lcs (>= 1.2.0, < 2.0)
|
70
|
-
rspec-support (~> 3.
|
71
|
-
rspec-support (3.
|
72
|
-
rubocop (
|
73
|
-
|
66
|
+
rspec-support (~> 3.12.0)
|
67
|
+
rspec-support (3.12.0)
|
68
|
+
rubocop (1.50.2)
|
69
|
+
json (~> 2.3)
|
74
70
|
parallel (~> 1.10)
|
75
|
-
parser (>=
|
76
|
-
powerpack (~> 0.1)
|
71
|
+
parser (>= 3.2.0.0)
|
77
72
|
rainbow (>= 2.2.2, < 4.0)
|
73
|
+
regexp_parser (>= 1.8, < 3.0)
|
74
|
+
rexml (>= 3.2.5, < 4.0)
|
75
|
+
rubocop-ast (>= 1.28.0, < 2.0)
|
78
76
|
ruby-progressbar (~> 1.7)
|
79
|
-
unicode-display_width (
|
80
|
-
|
81
|
-
|
82
|
-
|
77
|
+
unicode-display_width (>= 2.4.0, < 3.0)
|
78
|
+
rubocop-ast (1.28.0)
|
79
|
+
parser (>= 3.2.1.0)
|
80
|
+
ruby-progressbar (1.13.0)
|
81
|
+
simplecov (0.22.0)
|
83
82
|
docile (~> 1.1)
|
84
|
-
|
85
|
-
|
86
|
-
simplecov-html (0.
|
87
|
-
|
88
|
-
|
89
|
-
|
83
|
+
simplecov-html (~> 0.11)
|
84
|
+
simplecov_json_formatter (~> 0.1)
|
85
|
+
simplecov-html (0.12.3)
|
86
|
+
simplecov_json_formatter (0.1.4)
|
87
|
+
unicode-display_width (2.4.2)
|
88
|
+
webmock (3.18.1)
|
89
|
+
addressable (>= 2.8.0)
|
90
90
|
crack (>= 0.3.2)
|
91
|
-
hashdiff
|
92
|
-
yard (0.9.
|
91
|
+
hashdiff (>= 0.4.0, < 2.0.0)
|
92
|
+
yard (0.9.34)
|
93
|
+
zeitwerk (2.6.7)
|
93
94
|
|
94
95
|
PLATFORMS
|
95
96
|
ruby
|
96
97
|
|
97
98
|
DEPENDENCIES
|
98
|
-
bundler (~> 1.16)
|
99
99
|
dotenv
|
100
|
-
rake (~>
|
101
|
-
rspec (~> 3
|
100
|
+
rake (~> 12)
|
101
|
+
rspec (~> 3)
|
102
102
|
rubocop
|
103
103
|
simplecov
|
104
104
|
translator-text!
|
@@ -106,4 +106,4 @@ DEPENDENCIES
|
|
106
106
|
yard
|
107
107
|
|
108
108
|
BUNDLED WITH
|
109
|
-
|
109
|
+
2.3.26
|
data/translator-text.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: translator-text
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Aymeric Brisse
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-04-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: dry-struct
|
@@ -16,28 +16,28 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: '1'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
26
|
+
version: '1'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: httparty
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '0.
|
33
|
+
version: '0.21'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '0.
|
40
|
+
version: '0.21'
|
41
41
|
description: API Wrapper for the Microsoft Translator Text API (Cognitive Services)
|
42
42
|
email:
|
43
43
|
- aymeric.brisse@perfect-memory.com
|
@@ -88,8 +88,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
88
88
|
- !ruby/object:Gem::Version
|
89
89
|
version: '0'
|
90
90
|
requirements: []
|
91
|
-
|
92
|
-
rubygems_version: 2.6.14.1
|
91
|
+
rubygems_version: 3.3.26
|
93
92
|
signing_key:
|
94
93
|
specification_version: 4
|
95
94
|
summary: API Wrapper for the Microsoft Translator Text API
|