applocale 0.4.2 → 0.4.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/applocale/Core/GoogleHepler/google_helper.rb +4 -4
- data/lib/applocale/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 89d39118369c6a6ae9d1ddf7c95b2bc71ccd0b4f
|
4
|
+
data.tar.gz: d3c9d42a9b782b4712d94ede91c8f3d9a594b3b7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7e723751430ee1020f97c321008af236172775a3ff7242586612e2a880993744d9f85793a073451c453efc7c1c45cb0fb443b89c53a56f4c3718fb3e206f48ce
|
7
|
+
data.tar.gz: e76a9e83435f159ff246429e9bf8fecd2061a2c68a333f79d7ad468c7e1697d0a102c6d61e787355af5cb53a0c71ca8d88c8911dca3c01518928088167c79043
|
@@ -66,8 +66,8 @@ module Applocale
|
|
66
66
|
end
|
67
67
|
puts "to download sheet: #{sheet_name}"
|
68
68
|
if !sheet_obj.obj.use_export
|
69
|
-
link = "https://docs.google.com/spreadsheets/d/
|
70
|
-
puts "https://docs.google.com/spreadsheets/d/
|
69
|
+
link = "https://docs.google.com/spreadsheets/d/#{self.spreadsheet_id}/gviz/tq?tqx=out:csv&sheet=#{sheet_name}&access_token=#{authorization.access_token}"
|
70
|
+
puts "https://docs.google.com/spreadsheets/d/#{self.spreadsheet_id}/gviz/tq?tqx=out:csv&sheet=#{sheet_name}&access_token=xxxxx"
|
71
71
|
csv = open(link)
|
72
72
|
IO.copy_stream(csv, file_path)
|
73
73
|
else
|
@@ -78,8 +78,8 @@ module Applocale
|
|
78
78
|
puts "please wait .. "
|
79
79
|
sleep(2)
|
80
80
|
end
|
81
|
-
link = "https://docs.google.com/spreadsheets/d/
|
82
|
-
puts "https://docs.google.com/spreadsheets/d/
|
81
|
+
link = "https://docs.google.com/spreadsheets/d/#{self.spreadsheet_id}/export?format=csv&gid=#{sheetMap[sheet_name]}&access_token=#{authorization.access_token}"
|
82
|
+
puts "https://docs.google.com/spreadsheets/d/#{self.spreadsheet_id}/export?format=csv&gid=#{sheetMap[sheet_name]}&access_token=xxxxx"
|
83
83
|
File.open(file_path, "wb") do |file|
|
84
84
|
file.write open(link).read
|
85
85
|
end
|
data/lib/applocale/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: applocale
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kennix
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-11-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|