cocoapods-aqara-localzedLoader 0.0.2 → 0.0.3
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
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 043dab4e49c95b7029800c2ae30f24c39f04a8a6fb88cd8a8303b94ece75d1ef
|
|
4
|
+
data.tar.gz: 502c17dbf070aa3ed55fe991ff88d9a71cbe7a0d28a33aa9ecd915cffcd09e23
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2bdc3b207825defbfabcc7b1dca6bebb76af9fcb3678976191d747db6c8022db05d5f84142b7d36bc2892fcc4026613678ed0c660c4927052ce63694211fbbb4
|
|
7
|
+
data.tar.gz: c853960b8a2b8e14da4e4b42656fdecb9130b19c40502c568368a3a158ec024b58ffcf17777acb4ba74e98cd116578ed76665a6b063ce09abcb25420707ca1aa
|
data/Gemfile
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
require_relative './LanguageDownloader'
|
|
3
3
|
require_relative './File_util'
|
|
4
4
|
require 'fileutils'
|
|
5
|
+
require 'open3'
|
|
5
6
|
# require 'colored2'
|
|
6
7
|
class BundleGenerater
|
|
7
8
|
|
|
@@ -9,7 +10,9 @@ class BundleGenerater
|
|
|
9
10
|
INFO_PLIST_MAP = {:common_app_name=>["CFBundleDisplayName"],other_perm_camera_permission_description:["NSCameraUsageDescription"],other_perm_location_permission_description:["NSLocationAlwaysAndWhenInUseUsageDescription","NSLocationWhenInUseUsageDescription","NSLocationAlwaysUsageDescription"],other_perm_bluetooth_permission_description:["NSBluetoothPeripheralUsageDescription","NSBluetoothAlwaysUsageDescription"],access_content_permssion_storage:["NSPhotoLibraryUsageDescription"],other_perm_mic_permission_description:["NSMicrophoneUsageDescription"],other_set_permissions_homedata_desc:["NSHomeKitUsageDescription"],other_set_permissions_asr_text:["NSSpeechRecognitionUsageDescription"],device_add_device:["Add_Device_Title"],automation_add:["Add_Automation_Title"],device_create_scene:["Add_Scene_Title"]}
|
|
10
11
|
def self.generate(project_path)
|
|
11
12
|
# 下载excel
|
|
12
|
-
|
|
13
|
+
puts "开始下载多语言文件...".green
|
|
14
|
+
Open3.capture3("cd #{File.dirname(__FILE__)};python3 DownloadNewLanguage.py #{project_path}")
|
|
15
|
+
# system "cd #{File.dirname(__FILE__)};python3 DownloadNewLanguage.py #{project_path}"
|
|
13
16
|
f_path = "#{project_path}/download.xlsx"
|
|
14
17
|
print(f_path)
|
|
15
18
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: cocoapods-aqara-localzedLoader
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- zhaoxifan
|
|
@@ -156,6 +156,20 @@ dependencies:
|
|
|
156
156
|
- - ">="
|
|
157
157
|
- !ruby/object:Gem::Version
|
|
158
158
|
version: '0'
|
|
159
|
+
- !ruby/object:Gem::Dependency
|
|
160
|
+
name: open3
|
|
161
|
+
requirement: !ruby/object:Gem::Requirement
|
|
162
|
+
requirements:
|
|
163
|
+
- - ">="
|
|
164
|
+
- !ruby/object:Gem::Version
|
|
165
|
+
version: '0'
|
|
166
|
+
type: :runtime
|
|
167
|
+
prerelease: false
|
|
168
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
169
|
+
requirements:
|
|
170
|
+
- - ">="
|
|
171
|
+
- !ruby/object:Gem::Version
|
|
172
|
+
version: '0'
|
|
159
173
|
description: Aqara 多语言插件
|
|
160
174
|
email:
|
|
161
175
|
- 179988305@qq.com
|