applocale 0.1.5 → 0.1.6
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
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d8a3d2e9639b64d0195e08d56c8eb4bddad5047e
|
|
4
|
+
data.tar.gz: bf35772ae682f62e3d25a1306ccb35846a99ca0a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b832d97fbca33447d720741edc8b6f49cedfe66e1d5fb0ce2329085c593c924ba117b31b83a5eef4efb5d24aedeba7bd53acb97cd331a978531a88595f39a82b
|
|
7
|
+
data.tar.gz: 953267d9af703d35d4ec785441deec78b1766fec7edca5e9af97d5f80b6bb3b4f28c5f69e9104f85da7dead678924fa3245e93ea151e2c55451731a847ab9e1b
|
|
@@ -40,9 +40,7 @@ module Applocale
|
|
|
40
40
|
option :local, :desc => "Convert local xlsx file to localization string file"
|
|
41
41
|
def update()
|
|
42
42
|
is_local = !options[:local].nil?
|
|
43
|
-
|
|
44
|
-
Setting.printlog
|
|
45
|
-
Applocale.start_update(is_local, Applocale::Setting)
|
|
43
|
+
Applocale.start_update(is_local)
|
|
46
44
|
end
|
|
47
45
|
|
|
48
46
|
desc "reverse", "Convert localization string file to xlsx"
|
data/lib/applocale/Core/init.rb
CHANGED
|
@@ -4,7 +4,12 @@ require File.expand_path('../ParseXLSX/parse_xlsx', __FILE__)
|
|
|
4
4
|
require File.expand_path('../convert_to_localefile', __FILE__)
|
|
5
5
|
|
|
6
6
|
module Applocale
|
|
7
|
-
|
|
7
|
+
|
|
8
|
+
def self.start_update(is_localupdate)
|
|
9
|
+
is_local = is_localupdate
|
|
10
|
+
ConfigUtil.load_and_validate_xlsx_to_localefile(is_local)
|
|
11
|
+
Setting.printlog
|
|
12
|
+
setting = Applocale::Setting
|
|
8
13
|
unless is_localupdate
|
|
9
14
|
google_file_id = GoogleHelper.is_googlelink(setting.link)
|
|
10
15
|
unless google_file_id.nil?
|
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.1.
|
|
4
|
+
version: 0.1.6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Kennix
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-05-
|
|
11
|
+
date: 2017-05-19 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -72,34 +72,14 @@ dependencies:
|
|
|
72
72
|
requirements:
|
|
73
73
|
- - "~>"
|
|
74
74
|
- !ruby/object:Gem::Version
|
|
75
|
-
version: 0.
|
|
75
|
+
version: 0.9.2
|
|
76
76
|
type: :runtime
|
|
77
77
|
prerelease: false
|
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
|
79
79
|
requirements:
|
|
80
80
|
- - "~>"
|
|
81
81
|
- !ruby/object:Gem::Version
|
|
82
|
-
version: 0.
|
|
83
|
-
- !ruby/object:Gem::Dependency
|
|
84
|
-
name: google_drive
|
|
85
|
-
requirement: !ruby/object:Gem::Requirement
|
|
86
|
-
requirements:
|
|
87
|
-
- - "~>"
|
|
88
|
-
- !ruby/object:Gem::Version
|
|
89
|
-
version: '2.1'
|
|
90
|
-
- - ">="
|
|
91
|
-
- !ruby/object:Gem::Version
|
|
92
|
-
version: 2.1.3
|
|
93
|
-
type: :runtime
|
|
94
|
-
prerelease: false
|
|
95
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
96
|
-
requirements:
|
|
97
|
-
- - "~>"
|
|
98
|
-
- !ruby/object:Gem::Version
|
|
99
|
-
version: '2.1'
|
|
100
|
-
- - ">="
|
|
101
|
-
- !ruby/object:Gem::Version
|
|
102
|
-
version: 2.1.3
|
|
82
|
+
version: 0.9.2
|
|
103
83
|
- !ruby/object:Gem::Dependency
|
|
104
84
|
name: colorize
|
|
105
85
|
requirement: !ruby/object:Gem::Requirement
|