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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d0b2379061e419ebd39b78bcff31a60598ef063f
4
- data.tar.gz: 83523c243bfba37160fd902940a89338ff3318ce
3
+ metadata.gz: 89d39118369c6a6ae9d1ddf7c95b2bc71ccd0b4f
4
+ data.tar.gz: d3c9d42a9b782b4712d94ede91c8f3d9a594b3b7
5
5
  SHA512:
6
- metadata.gz: bf7f2cac8b836a140ec030d7c701c92de0b66f313ccbb3d563524901cf41710f5856954a7477788f4b112f5d48f842f7ffeb44304920a58b93e9be91c6b393b9
7
- data.tar.gz: 3f0d2b1f7879d12082c787a204e9b65fa8f5cfdc990641f686a4afb65b4e90849ee512802d3526e25393e1fab2bf11c46f46c3775dc64efd2ebcd10b78d50d32
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/1kapxktmMI605BhStCNd6F4Hst1A3HuNEfA4945_Mqa0/gviz/tq?tqx=out:csv&sheet=#{sheet_name}&access_token=#{authorization.access_token}"
70
- puts "https://docs.google.com/spreadsheets/d/1kapxktmMI605BhStCNd6F4Hst1A3HuNEfA4945_Mqa0/gviz/tq?tqx=out:csv&sheet=#{sheet_name}&access_token=xxxxx"
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/1kapxktmMI605BhStCNd6F4Hst1A3HuNEfA4945_Mqa0/export?format=csv&gid=#{sheetMap[sheet_name]}&access_token=#{authorization.access_token}"
82
- puts "https://docs.google.com/spreadsheets/d/1kapxktmMI605BhStCNd6F4Hst1A3HuNEfA4945_Mqa0/export?format=csv&gid=#{sheetMap[sheet_name]}&access_token=xxxxx"
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
@@ -1,3 +1,3 @@
1
1
  module Applocale
2
- VERSION = "0.4.2"
2
+ VERSION = "0.4.3"
3
3
  end
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.2
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-08-16 00:00:00.000000000 Z
11
+ date: 2019-11-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler