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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7b585dde72ed5b4a9ac463be22847e032b21acd1c68f301a14c3fa43ce784c1f
4
- data.tar.gz: 5384452ad53c7f8255d1660bbed6d25a9067d42e5f407bb5256ed6c77f047fdc
3
+ metadata.gz: 2e28db2bd871d27acd98fe88472fd383dbda178fdbc91d09dae21a8b644be60e
4
+ data.tar.gz: 5baaebf8a8ce774f7285f70d9a522f5a57451caeaabbb6081a1cc4898587d317
5
5
  SHA512:
6
- metadata.gz: 3724f3e75a3336fc82a5e21a6ca2b35bd3351732c78abe7926b8b7f22b145ff15141992e3a292afc419dcf788baf040f8841bf8fab782a79855d708cb5e770b9
7
- data.tar.gz: 1b0a33037f0d559c83ec1373043ae930a42bc1b13304c9033464e179b8239534bbf31c813ee2b880aace99b075bcbc7a5d924f1c0b88e1d69cfc70d48c555975
6
+ metadata.gz: a7ae29824014dbd2c23d480f1d0441257a5c334e8bd0f7e3a7ddb0e98cdafcec06c44bd9ea32ec7f35471b415a6c05020c6391137ca0bd080d8de0440f8f9c0d
7
+ data.tar.gz: 8c38d9753cc91399d1856bdaca191f32e304f85bd8d94d45bbe2beb8324c99aab6319ef7736cda2e2dd684782b7451b436333f1a72edd4d79118326d0b1d3ce1
@@ -7,7 +7,7 @@ jobs:
7
7
  runs-on: ubuntu-latest
8
8
  strategy:
9
9
  matrix:
10
- ruby: ['3.0.6', '3.1.4', '3.2.0']
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.2.0' # Limit execution on latest ruby version to prevent reaching rate limits
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
@@ -1,5 +1,5 @@
1
1
  inherit_from: .rubocop_todo.yml
2
2
 
3
3
  AllCops:
4
- TargetRubyVersion: 2.7
4
+ TargetRubyVersion: 3.1
5
5
  NewCops: enable
data/CHANGELOG.md CHANGED
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## Unreleased
9
9
 
10
+ ## [6.3.0] - 2024-11-04
11
+
12
+ ### Removed
13
+
14
+ - Drop support for for ruby <3.1
15
+
10
16
  ## [6.2.0] - 2023-12-12
11
17
 
12
18
  ### Added
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ad_localize (6.1.0)
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.1.2)
13
+ activesupport (7.2.2)
14
14
  base64
15
+ benchmark (>= 0.3)
15
16
  bigdecimal
16
- concurrent-ruby (~> 1.0, >= 1.0.2)
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
- mutex_m
22
- tzinfo (~> 2.0)
23
- addressable (2.8.5)
24
- public_suffix (>= 2.0.2, < 6.0)
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
- bigdecimal (3.1.4)
29
- builder (3.2.4)
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.2.2)
34
+ concurrent-ruby (1.3.4)
32
35
  connection_pool (2.4.1)
33
- debug (1.8.0)
34
- irb (>= 1.5.0)
35
- reline (>= 0.3.1)
36
+ debug (1.9.2)
37
+ irb (~> 1.10)
38
+ reline (>= 0.3.8)
36
39
  declarative (0.0.20)
37
- diffy (3.4.2)
38
- drb (2.2.0)
39
- ruby2_keywords
40
- faraday (2.7.12)
41
- base64
42
- faraday-net_http (>= 2.0, < 3.1)
43
- ruby2_keywords (>= 0.0.4)
44
- faraday-net_http (3.0.2)
45
- google-apis-core (0.11.2)
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 (>= 0.16.2, < 2.a)
48
- httpclient (>= 2.8.1, < 3.a)
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.26.0)
57
- google-apis-core (>= 0.11.0, < 2.a)
58
- googleauth (1.8.1)
59
- faraday (>= 0.17.3, < 3.a)
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.1)
70
+ i18n (1.14.6)
66
71
  concurrent-ruby (~> 1.0)
67
- io-console (0.6.0)
68
- irb (1.10.1)
69
- rdoc
70
- reline (>= 0.3.8)
71
- json (2.7.1)
72
- jwt (2.7.1)
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.20.0)
76
- minitest-reporters (1.6.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.23.0)
85
- parser (3.2.2.4)
93
+ parallel (1.26.3)
94
+ parser (3.3.5.1)
86
95
  ast (~> 2.4.1)
87
96
  racc
88
- psych (5.1.1.1)
97
+ psych (5.1.2)
89
98
  stringio
90
- public_suffix (5.0.4)
91
- racc (1.7.3)
99
+ public_suffix (6.0.1)
100
+ racc (1.8.1)
92
101
  rainbow (3.1.1)
93
- rake (13.1.0)
94
- rdoc (6.6.1)
102
+ rake (13.2.1)
103
+ rdoc (6.7.0)
95
104
  psych (>= 4.0.0)
96
- regexp_parser (2.8.3)
97
- reline (0.4.1)
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
- rexml (3.2.6)
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.2.2.4)
117
+ parser (>= 3.3.0.2)
110
118
  rainbow (>= 2.2.2, < 4.0)
111
- regexp_parser (>= 1.8, < 3.0)
112
- rexml (>= 3.2.5, < 4.0)
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.30.0)
117
- parser (>= 3.2.1.0)
123
+ rubocop-ast (1.33.1)
124
+ parser (>= 3.3.1.0)
118
125
  ruby-progressbar (1.13.0)
119
- ruby2_keywords (0.0.5)
120
- signet (0.18.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.0)
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.5.0)
131
- webrick (1.8.1)
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.4.3
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::ExecuteExportRequest.new.call(export_request: export_request)
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 = '>= 2.7', '< 4.0'
47
+ spec.required_ruby_version = '>= 3.1', '< 4.0'
48
48
  spec.metadata['rubygems_mfa_required'] = 'true'
49
49
  end
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module AdLocalize
3
- VERSION = "6.2.0"
3
+ VERSION = "6.3.0"
4
4
  end
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.2.0
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: 2023-12-14 00:00:00.000000000 Z
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: '2.7'
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.4.10
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