ad_localize 6.2.0 → 6.3.0
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 +3 -3
- data/.rubocop.yml +1 -1
- data/CHANGELOG.md +6 -0
- data/Gemfile.lock +69 -62
- data/README.md +2 -2
- data/ad_localize.gemspec +1 -1
- data/lib/ad_localize/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2e28db2bd871d27acd98fe88472fd383dbda178fdbc91d09dae21a8b644be60e
|
4
|
+
data.tar.gz: 5baaebf8a8ce774f7285f70d9a522f5a57451caeaabbb6081a1cc4898587d317
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a7ae29824014dbd2c23d480f1d0441257a5c334e8bd0f7e3a7ddb0e98cdafcec06c44bd9ea32ec7f35471b415a6c05020c6391137ca0bd080d8de0440f8f9c0d
|
7
|
+
data.tar.gz: 8c38d9753cc91399d1856bdaca191f32e304f85bd8d94d45bbe2beb8324c99aab6319ef7736cda2e2dd684782b7451b436333f1a72edd4d79118326d0b1d3ce1
|
data/.github/workflows/ruby.yml
CHANGED
@@ -7,7 +7,7 @@ jobs:
|
|
7
7
|
runs-on: ubuntu-latest
|
8
8
|
strategy:
|
9
9
|
matrix:
|
10
|
-
ruby: ['3.
|
10
|
+
ruby: ['3.1.4', '3.2.0', '3.3.5']
|
11
11
|
|
12
12
|
steps:
|
13
13
|
- uses: actions/checkout@v2
|
@@ -19,7 +19,7 @@ jobs:
|
|
19
19
|
gem install bundler
|
20
20
|
bundle install --jobs 4 --retry 3
|
21
21
|
- name: Run linter
|
22
|
-
run: bundle exec rubocop
|
22
|
+
run: bundle exec rubocop --lint
|
23
23
|
- name: Run tests
|
24
24
|
run: bundle exec rake test
|
25
25
|
- run: 'echo "$GOOGLE_APPLICATION_CREDENTIALS" > account_secret.json'
|
@@ -27,7 +27,7 @@ jobs:
|
|
27
27
|
env:
|
28
28
|
GOOGLE_APPLICATION_CREDENTIALS: ${{secrets.GOOGLE_APPLICATION_CREDENTIALS}}
|
29
29
|
- name: Run private google sheet tests
|
30
|
-
if: matrix.ruby == '3.
|
30
|
+
if: matrix.ruby == '3.3.5' # Limit execution on latest ruby version to prevent reaching rate limits
|
31
31
|
run: bundle exec rake test_private_google_sheet
|
32
32
|
env:
|
33
33
|
GOOGLE_APPLICATION_CREDENTIALS: 'account_secret.json'
|
data/.rubocop.yml
CHANGED
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
ad_localize (6.
|
4
|
+
ad_localize (6.2.0)
|
5
5
|
activesupport (>= 6.1.3.2, < 8.0)
|
6
6
|
colorize (~> 1.0)
|
7
7
|
google-apis-drive_v3 (~> 0.33.0)
|
@@ -10,125 +10,132 @@ PATH
|
|
10
10
|
GEM
|
11
11
|
remote: https://rubygems.org/
|
12
12
|
specs:
|
13
|
-
activesupport (7.
|
13
|
+
activesupport (7.2.2)
|
14
14
|
base64
|
15
|
+
benchmark (>= 0.3)
|
15
16
|
bigdecimal
|
16
|
-
concurrent-ruby (~> 1.0, >= 1.
|
17
|
+
concurrent-ruby (~> 1.0, >= 1.3.1)
|
17
18
|
connection_pool (>= 2.2.5)
|
18
19
|
drb
|
19
20
|
i18n (>= 1.6, < 2)
|
21
|
+
logger (>= 1.4.2)
|
20
22
|
minitest (>= 5.1)
|
21
|
-
|
22
|
-
tzinfo (~> 2.0)
|
23
|
-
addressable (2.8.
|
24
|
-
public_suffix (>= 2.0.2, <
|
23
|
+
securerandom (>= 0.3)
|
24
|
+
tzinfo (~> 2.0, >= 2.0.5)
|
25
|
+
addressable (2.8.7)
|
26
|
+
public_suffix (>= 2.0.2, < 7.0)
|
25
27
|
ansi (1.5.0)
|
26
28
|
ast (2.4.2)
|
27
29
|
base64 (0.2.0)
|
28
|
-
|
29
|
-
|
30
|
+
benchmark (0.3.0)
|
31
|
+
bigdecimal (3.1.8)
|
32
|
+
builder (3.3.0)
|
30
33
|
colorize (1.1.0)
|
31
|
-
concurrent-ruby (1.
|
34
|
+
concurrent-ruby (1.3.4)
|
32
35
|
connection_pool (2.4.1)
|
33
|
-
debug (1.
|
34
|
-
irb (
|
35
|
-
reline (>= 0.3.
|
36
|
+
debug (1.9.2)
|
37
|
+
irb (~> 1.10)
|
38
|
+
reline (>= 0.3.8)
|
36
39
|
declarative (0.0.20)
|
37
|
-
diffy (3.4.
|
38
|
-
drb (2.2.
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
google-apis-core (0.
|
40
|
+
diffy (3.4.3)
|
41
|
+
drb (2.2.1)
|
42
|
+
faraday (2.12.0)
|
43
|
+
faraday-net_http (>= 2.0, < 3.4)
|
44
|
+
json
|
45
|
+
logger
|
46
|
+
faraday-net_http (3.3.0)
|
47
|
+
net-http
|
48
|
+
google-apis-core (0.15.1)
|
46
49
|
addressable (~> 2.5, >= 2.5.1)
|
47
|
-
googleauth (
|
48
|
-
httpclient (>= 2.8.
|
50
|
+
googleauth (~> 1.9)
|
51
|
+
httpclient (>= 2.8.3, < 3.a)
|
49
52
|
mini_mime (~> 1.0)
|
53
|
+
mutex_m
|
50
54
|
representable (~> 3.0)
|
51
55
|
retriable (>= 2.0, < 4.a)
|
52
|
-
rexml
|
53
|
-
webrick
|
54
56
|
google-apis-drive_v3 (0.33.0)
|
55
57
|
google-apis-core (>= 0.9.1, < 2.a)
|
56
|
-
google-apis-sheets_v4 (0.
|
57
|
-
google-apis-core (>= 0.
|
58
|
-
|
59
|
-
faraday (>= 0
|
58
|
+
google-apis-sheets_v4 (0.38.0)
|
59
|
+
google-apis-core (>= 0.15.0, < 2.a)
|
60
|
+
google-cloud-env (2.2.1)
|
61
|
+
faraday (>= 1.0, < 3.a)
|
62
|
+
googleauth (1.11.2)
|
63
|
+
faraday (>= 1.0, < 3.a)
|
64
|
+
google-cloud-env (~> 2.1)
|
60
65
|
jwt (>= 1.4, < 3.0)
|
61
66
|
multi_json (~> 1.11)
|
62
67
|
os (>= 0.9, < 2.0)
|
63
68
|
signet (>= 0.16, < 2.a)
|
64
69
|
httpclient (2.8.3)
|
65
|
-
i18n (1.14.
|
70
|
+
i18n (1.14.6)
|
66
71
|
concurrent-ruby (~> 1.0)
|
67
|
-
io-console (0.
|
68
|
-
irb (1.
|
69
|
-
rdoc
|
70
|
-
reline (>= 0.
|
71
|
-
json (2.7.
|
72
|
-
jwt (2.
|
72
|
+
io-console (0.7.2)
|
73
|
+
irb (1.14.1)
|
74
|
+
rdoc (>= 4.0.0)
|
75
|
+
reline (>= 0.4.2)
|
76
|
+
json (2.7.5)
|
77
|
+
jwt (2.9.3)
|
78
|
+
base64
|
73
79
|
language_server-protocol (3.17.0.3)
|
80
|
+
logger (1.6.1)
|
74
81
|
mini_mime (1.1.5)
|
75
|
-
minitest (5.
|
76
|
-
minitest-reporters (1.
|
82
|
+
minitest (5.25.1)
|
83
|
+
minitest-reporters (1.7.1)
|
77
84
|
ansi
|
78
85
|
builder
|
79
86
|
minitest (>= 5.0)
|
80
87
|
ruby-progressbar
|
81
88
|
multi_json (1.15.0)
|
82
89
|
mutex_m (0.2.0)
|
90
|
+
net-http (0.4.1)
|
91
|
+
uri
|
83
92
|
os (1.1.4)
|
84
|
-
parallel (1.
|
85
|
-
parser (3.
|
93
|
+
parallel (1.26.3)
|
94
|
+
parser (3.3.5.1)
|
86
95
|
ast (~> 2.4.1)
|
87
96
|
racc
|
88
|
-
psych (5.1.
|
97
|
+
psych (5.1.2)
|
89
98
|
stringio
|
90
|
-
public_suffix (
|
91
|
-
racc (1.
|
99
|
+
public_suffix (6.0.1)
|
100
|
+
racc (1.8.1)
|
92
101
|
rainbow (3.1.1)
|
93
|
-
rake (13.1
|
94
|
-
rdoc (6.
|
102
|
+
rake (13.2.1)
|
103
|
+
rdoc (6.7.0)
|
95
104
|
psych (>= 4.0.0)
|
96
|
-
regexp_parser (2.
|
97
|
-
reline (0.
|
105
|
+
regexp_parser (2.9.2)
|
106
|
+
reline (0.5.10)
|
98
107
|
io-console (~> 0.5)
|
99
108
|
representable (3.2.0)
|
100
109
|
declarative (< 0.1.0)
|
101
110
|
trailblazer-option (>= 0.1.1, < 0.2.0)
|
102
111
|
uber (< 0.2.0)
|
103
112
|
retriable (3.1.2)
|
104
|
-
|
105
|
-
rubocop (1.58.0)
|
113
|
+
rubocop (1.68.0)
|
106
114
|
json (~> 2.3)
|
107
115
|
language_server-protocol (>= 3.17.0)
|
108
116
|
parallel (~> 1.10)
|
109
|
-
parser (>= 3.
|
117
|
+
parser (>= 3.3.0.2)
|
110
118
|
rainbow (>= 2.2.2, < 4.0)
|
111
|
-
regexp_parser (>=
|
112
|
-
|
113
|
-
rubocop-ast (>= 1.30.0, < 2.0)
|
119
|
+
regexp_parser (>= 2.4, < 3.0)
|
120
|
+
rubocop-ast (>= 1.32.2, < 2.0)
|
114
121
|
ruby-progressbar (~> 1.7)
|
115
122
|
unicode-display_width (>= 2.4.0, < 3.0)
|
116
|
-
rubocop-ast (1.
|
117
|
-
parser (>= 3.
|
123
|
+
rubocop-ast (1.33.1)
|
124
|
+
parser (>= 3.3.1.0)
|
118
125
|
ruby-progressbar (1.13.0)
|
119
|
-
|
120
|
-
signet (0.
|
126
|
+
securerandom (0.3.1)
|
127
|
+
signet (0.19.0)
|
121
128
|
addressable (~> 2.8)
|
122
129
|
faraday (>= 0.17.5, < 3.a)
|
123
130
|
jwt (>= 1.5, < 3.0)
|
124
131
|
multi_json (~> 1.10)
|
125
|
-
stringio (3.1.
|
132
|
+
stringio (3.1.1)
|
126
133
|
trailblazer-option (0.1.2)
|
127
134
|
tzinfo (2.0.6)
|
128
135
|
concurrent-ruby (~> 1.0)
|
129
136
|
uber (0.1.0)
|
130
|
-
unicode-display_width (2.
|
131
|
-
|
137
|
+
unicode-display_width (2.6.0)
|
138
|
+
uri (0.13.1)
|
132
139
|
|
133
140
|
PLATFORMS
|
134
141
|
ruby
|
@@ -144,4 +151,4 @@ DEPENDENCIES
|
|
144
151
|
rubocop (~> 1.0)
|
145
152
|
|
146
153
|
BUNDLED WITH
|
147
|
-
2.
|
154
|
+
2.3.10
|
data/README.md
CHANGED
@@ -106,9 +106,9 @@ If you want more examples, please open a documentation issue.
|
|
106
106
|
export_request.verbose = true
|
107
107
|
begin
|
108
108
|
# download files - be sure that GOOGLE_APPLICATION_CREDENTIALS is set if you use service account
|
109
|
-
export_request.downloaded_csvs = DownloadSpreadsheets.new.call(export_request: export_request)
|
109
|
+
export_request.downloaded_csvs = AdLocalize::Interactors::DownloadSpreadsheets.new.call(export_request: export_request)
|
110
110
|
# execute request
|
111
|
-
AdLocalize::Interactors::
|
111
|
+
AdLocalize::Interactors::ProcessExportRequest.new.call(export_request: export_request)
|
112
112
|
ensure
|
113
113
|
export_request.downloaded_csvs.each do |file|
|
114
114
|
file.close
|
data/ad_localize.gemspec
CHANGED
@@ -44,6 +44,6 @@ Gem::Specification.new do |spec|
|
|
44
44
|
spec.add_dependency 'google-apis-sheets_v4', '~> 0.9'
|
45
45
|
spec.add_dependency 'google-apis-drive_v3', '~> 0.33.0'
|
46
46
|
|
47
|
-
spec.required_ruby_version = '>=
|
47
|
+
spec.required_ruby_version = '>= 3.1', '< 4.0'
|
48
48
|
spec.metadata['rubygems_mfa_required'] = 'true'
|
49
49
|
end
|
data/lib/ad_localize/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ad_localize
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 6.
|
4
|
+
version: 6.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Edouard Siegel
|
@@ -21,7 +21,7 @@ authors:
|
|
21
21
|
autorequire:
|
22
22
|
bindir: exe
|
23
23
|
cert_chain: []
|
24
|
-
date:
|
24
|
+
date: 2024-11-04 00:00:00.000000000 Z
|
25
25
|
dependencies:
|
26
26
|
- !ruby/object:Gem::Dependency
|
27
27
|
name: activesupport
|
@@ -177,7 +177,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
177
177
|
requirements:
|
178
178
|
- - ">="
|
179
179
|
- !ruby/object:Gem::Version
|
180
|
-
version: '
|
180
|
+
version: '3.1'
|
181
181
|
- - "<"
|
182
182
|
- !ruby/object:Gem::Version
|
183
183
|
version: '4.0'
|
@@ -187,7 +187,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
187
187
|
- !ruby/object:Gem::Version
|
188
188
|
version: '0'
|
189
189
|
requirements: []
|
190
|
-
rubygems_version: 3.
|
190
|
+
rubygems_version: 3.5.16
|
191
191
|
signing_key:
|
192
192
|
specification_version: 4
|
193
193
|
summary: AdLocalize helps with mobile and web applications wording
|