ad_localize 3.5.0 → 3.6.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/CHANGELOG.md +9 -0
- data/Gemfile.lock +10 -10
- data/README.md +10 -1
- data/ad_localize.gemspec +2 -2
- data/lib/ad_localize/version.rb +1 -1
- metadata +10 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 736260ad38d18773bf3b8ed6441534bb3467f49edeae2335c7ec5b8742f934e9
|
|
4
|
+
data.tar.gz: 38cb4f5d8647cc997dc2eb0c784b42469ae5dbb51aad9ba8f19f97907654a181
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5448a25049abad18258c563bd84809a3f38cfefa54a60ace5c80fd7f214af81dcb30effb3a1d907962e6fb7d5707de322159e7361ef80ae01925124914d1a9ac
|
|
7
|
+
data.tar.gz: a139d77e6c76386493c3cb8d7d39aaf2c3a9526cba30a05b9aff2adaaccf326cb71303919a888da7329b4d56bef72f51211b0ee7fd3aa21e1641e0156ea0461e
|
data/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,15 @@ All notable changes to this project will be documented in this file.
|
|
|
4
4
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
5
5
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
6
6
|
|
|
7
|
+
## [3.6.0] - 2020-06-23
|
|
8
|
+
### Added
|
|
9
|
+
- add documentation for service account usage by [@sjcqs](https://github.com/sjcqs)
|
|
10
|
+
- add compatibility with activesupport 6 by [@Hugo-Hache](https://github.com/Hugo-Hache)
|
|
11
|
+
|
|
12
|
+
### Changed
|
|
13
|
+
|
|
14
|
+
### Fixed
|
|
15
|
+
|
|
7
16
|
## [3.5.0] - 2020-05-12
|
|
8
17
|
### Added
|
|
9
18
|
- add support for private spreadsheet using google service acccount by [@sjcqs](https://github.com/sjcqs). Fixes [#31](https://github.com/applidium/ad_localize/issues/31)
|
data/Gemfile.lock
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
ad_localize (3.
|
|
5
|
-
activesupport (>=
|
|
4
|
+
ad_localize (3.5.0)
|
|
5
|
+
activesupport (>= 5.2, < 7.0)
|
|
6
6
|
colorize (~> 0.8)
|
|
7
|
-
googleauth (~> 0.12
|
|
8
|
-
nokogiri (~> 1.
|
|
7
|
+
googleauth (~> 0.12)
|
|
8
|
+
nokogiri (~> 1.10)
|
|
9
9
|
|
|
10
10
|
GEM
|
|
11
11
|
remote: https://rubygems.org/
|
|
12
12
|
specs:
|
|
13
|
-
activesupport (6.0.
|
|
13
|
+
activesupport (6.0.3.1)
|
|
14
14
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
|
15
15
|
i18n (>= 0.7, < 2)
|
|
16
16
|
minitest (~> 5.1)
|
|
17
17
|
tzinfo (~> 1.1)
|
|
18
|
-
zeitwerk (~> 2.2)
|
|
18
|
+
zeitwerk (~> 2.2, >= 2.2.2)
|
|
19
19
|
addressable (2.7.0)
|
|
20
20
|
public_suffix (>= 2.0.2, < 5.0)
|
|
21
21
|
ansi (1.5.0)
|
|
@@ -24,7 +24,7 @@ GEM
|
|
|
24
24
|
colorize (0.8.1)
|
|
25
25
|
concurrent-ruby (1.1.6)
|
|
26
26
|
diffy (3.3.0)
|
|
27
|
-
faraday (0.
|
|
27
|
+
faraday (1.0.1)
|
|
28
28
|
multipart-post (>= 1.2, < 3)
|
|
29
29
|
googleauth (0.12.0)
|
|
30
30
|
faraday (>= 0.17.3, < 2.0)
|
|
@@ -35,7 +35,7 @@ GEM
|
|
|
35
35
|
signet (~> 0.14)
|
|
36
36
|
i18n (1.8.2)
|
|
37
37
|
concurrent-ruby (~> 1.0)
|
|
38
|
-
jwt (2.1
|
|
38
|
+
jwt (2.2.1)
|
|
39
39
|
memoist (0.16.2)
|
|
40
40
|
mini_portile2 (2.4.0)
|
|
41
41
|
minitest (5.14.0)
|
|
@@ -45,11 +45,11 @@ GEM
|
|
|
45
45
|
minitest (>= 5.0)
|
|
46
46
|
ruby-progressbar
|
|
47
47
|
multi_json (1.14.1)
|
|
48
|
-
multipart-post (2.
|
|
48
|
+
multipart-post (2.1.1)
|
|
49
49
|
nokogiri (1.10.9)
|
|
50
50
|
mini_portile2 (~> 2.4.0)
|
|
51
51
|
os (1.1.0)
|
|
52
|
-
public_suffix (
|
|
52
|
+
public_suffix (4.0.5)
|
|
53
53
|
rake (12.3.3)
|
|
54
54
|
ruby-progressbar (1.10.1)
|
|
55
55
|
signet (0.14.0)
|
data/README.md
CHANGED
|
@@ -39,7 +39,16 @@ $ bundle exec ad_localize -k
|
|
|
39
39
|
$ bundle exec ad_localize -k <your-spreadsheet-drive-key> -s <your-specific-sheet-id>
|
|
40
40
|
```
|
|
41
41
|
|
|
42
|
-
* Export wording from a private google spreadsheet using
|
|
42
|
+
* Export wording from a private google spreadsheet using a Google Cloud Service Account.
|
|
43
|
+
1. Create a GCloud Service Account:
|
|
44
|
+
- Go to [Google Cloud Console](https://console.cloud.google.com/)
|
|
45
|
+
- Either create a new project or use an existing one (when using Firebase, a GCloud project is created)
|
|
46
|
+
- Go to *IAM & Admin / Service Account* and create a new service account.
|
|
47
|
+
- Store the created `client-secret.json` (in a password manager for example)
|
|
48
|
+
2. Enable Google Drive API for the projet
|
|
49
|
+
- Go to *API / Library* and enable the **Drive API** there.
|
|
50
|
+
3. Add the service account to a spreadsheet.
|
|
51
|
+
- In *IAM & Admin / Service Account*, the service account's email is listed. Invite it to the spreadsheet to export.
|
|
43
52
|
```
|
|
44
53
|
$ export GCLOUD_CLIENT_SECRET=$(cat <client-secret.json>)
|
|
45
54
|
$ bundle exec ad_localize -k <your-spreadsheet-drive-key> -a
|
data/ad_localize.gemspec
CHANGED
|
@@ -46,10 +46,10 @@ Gem::Specification.new do |spec|
|
|
|
46
46
|
spec.add_development_dependency 'minitest-reporters', '~> 1.3'
|
|
47
47
|
spec.add_development_dependency 'diffy', '~> 3.3'
|
|
48
48
|
|
|
49
|
-
spec.add_dependency 'activesupport', '
|
|
49
|
+
spec.add_dependency 'activesupport', '>= 5.2', '< 7.0'
|
|
50
50
|
spec.add_dependency 'nokogiri', '~> 1.10'
|
|
51
51
|
spec.add_dependency 'colorize', '~> 0.8'
|
|
52
52
|
spec.add_dependency 'googleauth', '~> 0.12'
|
|
53
53
|
|
|
54
|
-
spec.required_ruby_version
|
|
54
|
+
spec.required_ruby_version = '~> 2.3'
|
|
55
55
|
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: 3.
|
|
4
|
+
version: 3.6.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Edouard Siegel
|
|
@@ -116,16 +116,22 @@ dependencies:
|
|
|
116
116
|
name: activesupport
|
|
117
117
|
requirement: !ruby/object:Gem::Requirement
|
|
118
118
|
requirements:
|
|
119
|
-
- - "
|
|
119
|
+
- - ">="
|
|
120
120
|
- !ruby/object:Gem::Version
|
|
121
121
|
version: '5.2'
|
|
122
|
+
- - "<"
|
|
123
|
+
- !ruby/object:Gem::Version
|
|
124
|
+
version: '7.0'
|
|
122
125
|
type: :runtime
|
|
123
126
|
prerelease: false
|
|
124
127
|
version_requirements: !ruby/object:Gem::Requirement
|
|
125
128
|
requirements:
|
|
126
|
-
- - "
|
|
129
|
+
- - ">="
|
|
127
130
|
- !ruby/object:Gem::Version
|
|
128
131
|
version: '5.2'
|
|
132
|
+
- - "<"
|
|
133
|
+
- !ruby/object:Gem::Version
|
|
134
|
+
version: '7.0'
|
|
129
135
|
- !ruby/object:Gem::Dependency
|
|
130
136
|
name: nokogiri
|
|
131
137
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -228,7 +234,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
228
234
|
- !ruby/object:Gem::Version
|
|
229
235
|
version: '0'
|
|
230
236
|
requirements: []
|
|
231
|
-
rubygems_version: 3.0.
|
|
237
|
+
rubygems_version: 3.0.3
|
|
232
238
|
signing_key:
|
|
233
239
|
specification_version: 4
|
|
234
240
|
summary: AdLocalize helps with mobile and web applications wording
|