fastlane-plugin-zhuixi_build_app 1.0.0 → 1.0.1
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 +4 -4
- data/lib/fastlane/plugin/zhuixi_build_app/actions/base_action.rb +13 -0
- data/lib/fastlane/plugin/zhuixi_build_app/actions/download_resources_action.rb +4 -1
- data/lib/fastlane/plugin/zhuixi_build_app/actions/get_game_list_action.rb +4 -1
- data/lib/fastlane/plugin/zhuixi_build_app/actions/get_pack_config_action.rb +4 -1
- data/lib/fastlane/plugin/zhuixi_build_app/actions/login_action.rb +4 -8
- data/lib/fastlane/plugin/zhuixi_build_app/actions/read_config_action.rb +4 -8
- data/lib/fastlane/plugin/zhuixi_build_app/actions/xcodeproj_merge_action.rb +4 -1
- data/lib/fastlane/plugin/zhuixi_build_app/actions/zhuixi_build_app_action.rb +2 -9
- data/lib/fastlane/plugin/zhuixi_build_app/version.rb +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 21314eed70a4f3ef64d41643999a871250f86f45bdefd2d86f6a7f563f97936a
|
4
|
+
data.tar.gz: 629d4031ebefb1c51c8625da6dfc8d3b3189df8325ff8fa689353d3f624b5d4b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 167ea3c5647944f52b26a75fd2e50cb0e0c5418d96cb1c840a1c8476c7bae6de945684de335e50eb2476c6243dd044d167120cfca342d92ff0fa69874ea0c318
|
7
|
+
data.tar.gz: 9b89a5d6141f9bb52c81a9f4b0499b8c1dce71d06d83e1a03e3daa2c9fd261626e077cced30e00524fa53e7be465b6d979dc414774cc6f60a1754696d96b293e
|
@@ -1,6 +1,9 @@
|
|
1
|
+
require "fastlane/action"
|
2
|
+
require_relative "../actions/base_action"
|
3
|
+
|
1
4
|
module Fastlane
|
2
5
|
module Actions
|
3
|
-
class DownloadResourcesAction <
|
6
|
+
class DownloadResourcesAction < BaseAction
|
4
7
|
def self.run(params)
|
5
8
|
#下载渠道资源
|
6
9
|
download_resource(params[:resourcesUrl])
|
@@ -1,6 +1,9 @@
|
|
1
|
+
require "fastlane/action"
|
2
|
+
require_relative "../actions/base_action"
|
3
|
+
|
1
4
|
module Fastlane
|
2
5
|
module Actions
|
3
|
-
class GetGameListAction <
|
6
|
+
class GetGameListAction < BaseAction
|
4
7
|
def self.run(params)
|
5
8
|
# 获取游戏列表并解析渠道信息
|
6
9
|
game_id = get_game_list_and_parse_channel_info(params[:user_info][:user_id], params[:user_info][:token], "2", params[:user_info][:platform_id])
|
@@ -1,6 +1,9 @@
|
|
1
|
+
require "fastlane/action"
|
2
|
+
require_relative "../actions/base_action"
|
3
|
+
|
1
4
|
module Fastlane
|
2
5
|
module Actions
|
3
|
-
class LoginAction <
|
6
|
+
class LoginAction < BaseAction
|
4
7
|
def self.run(params)
|
5
8
|
login_and_get_user_id_and_token(params[:credentials][:account], params[:credentials][:password], "2")
|
6
9
|
end
|
@@ -53,13 +56,6 @@ module Fastlane
|
|
53
56
|
type: Hash),
|
54
57
|
]
|
55
58
|
end
|
56
|
-
def self.is_supported?(platform)
|
57
|
-
# Adjust this if your plugin only works for a particular platform (iOS vs. Android, for example)
|
58
|
-
# See: https://docs.fastlane.tools/advanced/#control-configuration-by-lane-and-by-platform
|
59
|
-
#
|
60
|
-
# [:ios, :mac, :android].include?(platform)
|
61
|
-
true
|
62
|
-
end
|
63
59
|
end
|
64
60
|
end
|
65
61
|
end
|
@@ -1,6 +1,9 @@
|
|
1
|
+
require "fastlane/action"
|
2
|
+
require_relative "../actions/base_action"
|
3
|
+
|
1
4
|
module Fastlane
|
2
5
|
module Actions
|
3
|
-
class ReadConfigAction <
|
6
|
+
class ReadConfigAction < BaseAction
|
4
7
|
def self.run(params)
|
5
8
|
# 读取配置文件
|
6
9
|
app_file_path = params[:app_file_path]
|
@@ -30,13 +33,6 @@ module Fastlane
|
|
30
33
|
type: String),
|
31
34
|
]
|
32
35
|
end
|
33
|
-
def self.is_supported?(platform)
|
34
|
-
# Adjust this if your plugin only works for a particular platform (iOS vs. Android, for example)
|
35
|
-
# See: https://docs.fastlane.tools/advanced/#control-configuration-by-lane-and-by-platform
|
36
|
-
#
|
37
|
-
# [:ios, :mac, :android].include?(platform)
|
38
|
-
true
|
39
|
-
end
|
40
36
|
end
|
41
37
|
end
|
42
38
|
end
|
@@ -1,9 +1,10 @@
|
|
1
1
|
require "fastlane/action"
|
2
2
|
require_relative "../helper/zhuixi_build_app_helper"
|
3
|
+
require_relative "../actions/base_action"
|
3
4
|
|
4
5
|
module Fastlane
|
5
6
|
module Actions
|
6
|
-
class ZhuixiBuildAppAction <
|
7
|
+
class ZhuixiBuildAppAction < BaseAction
|
7
8
|
def self.run(params)
|
8
9
|
config = other_action.read_config(
|
9
10
|
app_file_path: params[:app_file_path],
|
@@ -27,14 +28,6 @@ module Fastlane
|
|
27
28
|
type: String),
|
28
29
|
]
|
29
30
|
end
|
30
|
-
|
31
|
-
def self.is_supported?(platform)
|
32
|
-
# Adjust this if your plugin only works for a particular platform (iOS vs. Android, for example)
|
33
|
-
# See: https://docs.fastlane.tools/advanced/#control-configuration-by-lane-and-by-platform
|
34
|
-
#
|
35
|
-
# [:ios, :mac, :android].include?(platform)
|
36
|
-
true
|
37
|
-
end
|
38
31
|
end
|
39
32
|
end
|
40
33
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fastlane-plugin-zhuixi_build_app
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- RedSevenMale
|
@@ -159,6 +159,7 @@ files:
|
|
159
159
|
- LICENSE
|
160
160
|
- README.md
|
161
161
|
- lib/fastlane/plugin/zhuixi_build_app.rb
|
162
|
+
- lib/fastlane/plugin/zhuixi_build_app/actions/base_action.rb
|
162
163
|
- lib/fastlane/plugin/zhuixi_build_app/actions/download_resources_action.rb
|
163
164
|
- lib/fastlane/plugin/zhuixi_build_app/actions/get_game_list_action.rb
|
164
165
|
- lib/fastlane/plugin/zhuixi_build_app/actions/get_pack_config_action.rb
|