ad_localize 3.5.0 → 3.6.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e814ce7a840c1c9da11fc1f34574929e7ad4805f410319b3c6f79e8f8027024e
4
- data.tar.gz: 65864cb313e53121a7d9fc06028f944853f3842ee3eb060b7ccdff099b3477a2
3
+ metadata.gz: 736260ad38d18773bf3b8ed6441534bb3467f49edeae2335c7ec5b8742f934e9
4
+ data.tar.gz: 38cb4f5d8647cc997dc2eb0c784b42469ae5dbb51aad9ba8f19f97907654a181
5
5
  SHA512:
6
- metadata.gz: f84b9f8ef16b073e98c4e41a87575e35c5881586e1bebe44c226005bbdcf3b9704bc6b869ae4cb6fb4162866560a2e6c69e154b505b058f6923d852093ba1624
7
- data.tar.gz: 02fe755026fad1ef4bca910a6457ef7d2806b40077fe3acbfc4d7b469372b7382bb7c98098c3220d6fc977cef40255e2c3cf85cc8f927cc1b3f78d9bf7ff31b7
6
+ metadata.gz: 5448a25049abad18258c563bd84809a3f38cfefa54a60ace5c80fd7f214af81dcb30effb3a1d907962e6fb7d5707de322159e7361ef80ae01925124914d1a9ac
7
+ data.tar.gz: a139d77e6c76386493c3cb8d7d39aaf2c3a9526cba30a05b9aff2adaaccf326cb71303919a888da7329b4d56bef72f51211b0ee7fd3aa21e1641e0156ea0461e
@@ -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)
@@ -1,21 +1,21 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ad_localize (3.4.0)
5
- activesupport (>= 4.2.10)
4
+ ad_localize (3.5.0)
5
+ activesupport (>= 5.2, < 7.0)
6
6
  colorize (~> 0.8)
7
- googleauth (~> 0.12.0)
8
- nokogiri (~> 1.8, >= 1.8.2)
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.2.2)
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.17.3)
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.0)
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.0.0)
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 (2.0.5)
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 an authorized google account
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
@@ -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', '~> 5.2'
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 = '~> 2.3'
54
+ spec.required_ruby_version = '~> 2.3'
55
55
  end
@@ -1,3 +1,3 @@
1
1
  module AdLocalize
2
- VERSION = "3.5.0"
2
+ VERSION = "3.6.0"
3
3
  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: 3.5.0
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.2
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