deployios 1.0.0
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 +7 -0
- data/LICENSE +21 -0
- data/README.md +52 -0
- data/bin/deployios +12 -0
- data/lib/deployios/command/build.rb +12 -0
- data/lib/deployios/command/iap.rb +12 -0
- data/lib/deployios/command/init.rb +12 -0
- data/lib/deployios/command/publish.rb +12 -0
- data/lib/deployios/command.rb +47 -0
- data/lib/deployios/version.rb +3 -0
- data/lib/deployios.rb +8 -0
- metadata +125 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 6e8f61dc586b5e5f8b4f70c17efbea604fa9c5f78c41276f985d826e1a4dcc29
|
4
|
+
data.tar.gz: 513a2908c12305f34f466e5d5d1b62eed0639b48f163f92ff25f87096ab32213
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 213332a634b372d51461b3e8534322cb98a745267e91e537e17e51da395289c1fdffd3243ae7414069136abedd1d015bc8b5e8099f3607342d78a59ef40c10af
|
7
|
+
data.tar.gz: d2c900a81b7619ef4abad807928cbfb781842d695202ed9015f18f64452f474c3d7b87e1a836eedd2cfe8d8a9fa9b5a7644627bd838531300f7834b5dc631113
|
data/LICENSE
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
MIT License
|
2
|
+
|
3
|
+
Copyright (c) 2024 DeployiOS
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
13
|
+
copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
+
SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,52 @@
|
|
1
|
+
# DeployiOS
|
2
|
+
|
3
|
+
自动化iOS应用商店部署工具,简化应用提交、编译和发布流程。
|
4
|
+
|
5
|
+
## 安装
|
6
|
+
|
7
|
+
安装gem包:
|
8
|
+
|
9
|
+
```bash
|
10
|
+
gem install deployios
|
11
|
+
```
|
12
|
+
|
13
|
+
## 使用方法
|
14
|
+
|
15
|
+
### 初始化项目
|
16
|
+
```bash
|
17
|
+
deployios init
|
18
|
+
```
|
19
|
+
|
20
|
+
### 管理内购功能
|
21
|
+
```bash
|
22
|
+
deployios iap
|
23
|
+
```
|
24
|
+
|
25
|
+
### 构建iOS应用
|
26
|
+
```bash
|
27
|
+
deployios build
|
28
|
+
```
|
29
|
+
|
30
|
+
### 发布到App Store
|
31
|
+
```bash
|
32
|
+
deployios publish
|
33
|
+
```
|
34
|
+
|
35
|
+
## 跨平台支持
|
36
|
+
|
37
|
+
DeployiOS支持以下系统:
|
38
|
+
- macOS
|
39
|
+
- Windows
|
40
|
+
- Linux
|
41
|
+
|
42
|
+
## 功能特点
|
43
|
+
|
44
|
+
- 🚀 自动化App Store应用提交流程
|
45
|
+
- 🔨 简化iOS应用编译过程
|
46
|
+
- 📱 内购功能配置管理
|
47
|
+
- 🌍 跨平台兼容性支持
|
48
|
+
- ⚡ 基于CLAide构建,命令行操作简单高效
|
49
|
+
|
50
|
+
## 许可证
|
51
|
+
|
52
|
+
MIT License
|
data/bin/deployios
ADDED
@@ -0,0 +1,12 @@
|
|
1
|
+
module DeployiOS
|
2
|
+
class Command
|
3
|
+
class Build < Command
|
4
|
+
self.summary = 'Build iOS application'
|
5
|
+
self.description = 'Compile and build your iOS application for distribution'
|
6
|
+
|
7
|
+
def run
|
8
|
+
log_info('Building iOS application...')
|
9
|
+
end
|
10
|
+
end
|
11
|
+
end
|
12
|
+
end
|
@@ -0,0 +1,12 @@
|
|
1
|
+
module DeployiOS
|
2
|
+
class Command
|
3
|
+
class Iap < Command
|
4
|
+
self.summary = 'Manage In-App Purchases'
|
5
|
+
self.description = 'Configure and manage In-App Purchases for your iOS app'
|
6
|
+
|
7
|
+
def run
|
8
|
+
log_info('Managing In-App Purchases configuration...')
|
9
|
+
end
|
10
|
+
end
|
11
|
+
end
|
12
|
+
end
|
@@ -0,0 +1,12 @@
|
|
1
|
+
module DeployiOS
|
2
|
+
class Command
|
3
|
+
class Init < Command
|
4
|
+
self.summary = 'Initialize a new DeployiOS project'
|
5
|
+
self.description = 'Creates a new DeployiOS configuration file for iOS app deployment'
|
6
|
+
|
7
|
+
def run
|
8
|
+
log_info('Initializing DeployiOS project...')
|
9
|
+
end
|
10
|
+
end
|
11
|
+
end
|
12
|
+
end
|
@@ -0,0 +1,12 @@
|
|
1
|
+
module DeployiOS
|
2
|
+
class Command
|
3
|
+
class Publish < Command
|
4
|
+
self.summary = 'Publish iOS application to App Store'
|
5
|
+
self.description = 'Upload and submit your iOS application to the App Store for review'
|
6
|
+
|
7
|
+
def run
|
8
|
+
log_info('Publishing iOS application to App Store...')
|
9
|
+
end
|
10
|
+
end
|
11
|
+
end
|
12
|
+
end
|
@@ -0,0 +1,47 @@
|
|
1
|
+
require 'claide'
|
2
|
+
require_relative 'version'
|
3
|
+
|
4
|
+
module DeployiOS
|
5
|
+
class Command < CLAide::Command
|
6
|
+
self.abstract_command = false
|
7
|
+
self.command = 'deployios'
|
8
|
+
self.version = VERSION
|
9
|
+
self.summary = 'Automated iOS App Store deployment tool'
|
10
|
+
self.description = 'A command-line tool for automating iOS app submission, compilation, and publishing to the App Store'
|
11
|
+
|
12
|
+
def self.options
|
13
|
+
[
|
14
|
+
['--verbose', 'Show more debugging information']
|
15
|
+
].concat(super)
|
16
|
+
end
|
17
|
+
|
18
|
+
def initialize(argv)
|
19
|
+
@verbose = argv.flag?('verbose')
|
20
|
+
super
|
21
|
+
end
|
22
|
+
|
23
|
+
def run
|
24
|
+
log_info("DeployiOS v#{VERSION} - Automated iOS App Store deployment tool")
|
25
|
+
log_info("Use 'deployios --help' to see available commands")
|
26
|
+
end
|
27
|
+
|
28
|
+
private
|
29
|
+
|
30
|
+
def log_info(message)
|
31
|
+
puts "[DeployiOS] #{message}".green
|
32
|
+
end
|
33
|
+
|
34
|
+
def log_error(message)
|
35
|
+
puts "[DeployiOS ERROR] #{message}".red
|
36
|
+
end
|
37
|
+
|
38
|
+
def log_warning(message)
|
39
|
+
puts "[DeployiOS WARNING] #{message}".yellow
|
40
|
+
end
|
41
|
+
end
|
42
|
+
end
|
43
|
+
|
44
|
+
require_relative 'command/init'
|
45
|
+
require_relative 'command/iap'
|
46
|
+
require_relative 'command/build'
|
47
|
+
require_relative 'command/publish'
|
data/lib/deployios.rb
ADDED
metadata
ADDED
@@ -0,0 +1,125 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: deployios
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- DeployiOS Team
|
8
|
+
bindir: bin
|
9
|
+
cert_chain: []
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
11
|
+
dependencies:
|
12
|
+
- !ruby/object:Gem::Dependency
|
13
|
+
name: claide
|
14
|
+
requirement: !ruby/object:Gem::Requirement
|
15
|
+
requirements:
|
16
|
+
- - "~>"
|
17
|
+
- !ruby/object:Gem::Version
|
18
|
+
version: '1.1'
|
19
|
+
type: :runtime
|
20
|
+
prerelease: false
|
21
|
+
version_requirements: !ruby/object:Gem::Requirement
|
22
|
+
requirements:
|
23
|
+
- - "~>"
|
24
|
+
- !ruby/object:Gem::Version
|
25
|
+
version: '1.1'
|
26
|
+
- !ruby/object:Gem::Dependency
|
27
|
+
name: colored2
|
28
|
+
requirement: !ruby/object:Gem::Requirement
|
29
|
+
requirements:
|
30
|
+
- - "~>"
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '3.1'
|
33
|
+
type: :runtime
|
34
|
+
prerelease: false
|
35
|
+
version_requirements: !ruby/object:Gem::Requirement
|
36
|
+
requirements:
|
37
|
+
- - "~>"
|
38
|
+
- !ruby/object:Gem::Version
|
39
|
+
version: '3.1'
|
40
|
+
- !ruby/object:Gem::Dependency
|
41
|
+
name: bundler
|
42
|
+
requirement: !ruby/object:Gem::Requirement
|
43
|
+
requirements:
|
44
|
+
- - "~>"
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: '2.0'
|
47
|
+
type: :development
|
48
|
+
prerelease: false
|
49
|
+
version_requirements: !ruby/object:Gem::Requirement
|
50
|
+
requirements:
|
51
|
+
- - "~>"
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '2.0'
|
54
|
+
- !ruby/object:Gem::Dependency
|
55
|
+
name: rake
|
56
|
+
requirement: !ruby/object:Gem::Requirement
|
57
|
+
requirements:
|
58
|
+
- - "~>"
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
version: '13.0'
|
61
|
+
type: :development
|
62
|
+
prerelease: false
|
63
|
+
version_requirements: !ruby/object:Gem::Requirement
|
64
|
+
requirements:
|
65
|
+
- - "~>"
|
66
|
+
- !ruby/object:Gem::Version
|
67
|
+
version: '13.0'
|
68
|
+
- !ruby/object:Gem::Dependency
|
69
|
+
name: rspec
|
70
|
+
requirement: !ruby/object:Gem::Requirement
|
71
|
+
requirements:
|
72
|
+
- - "~>"
|
73
|
+
- !ruby/object:Gem::Version
|
74
|
+
version: '3.0'
|
75
|
+
type: :development
|
76
|
+
prerelease: false
|
77
|
+
version_requirements: !ruby/object:Gem::Requirement
|
78
|
+
requirements:
|
79
|
+
- - "~>"
|
80
|
+
- !ruby/object:Gem::Version
|
81
|
+
version: '3.0'
|
82
|
+
description: A command-line tool for automating iOS app submission, compilation, and
|
83
|
+
publishing to the App Store
|
84
|
+
email:
|
85
|
+
- team@deployios.com
|
86
|
+
executables:
|
87
|
+
- deployios
|
88
|
+
extensions: []
|
89
|
+
extra_rdoc_files: []
|
90
|
+
files:
|
91
|
+
- LICENSE
|
92
|
+
- README.md
|
93
|
+
- bin/deployios
|
94
|
+
- lib/deployios.rb
|
95
|
+
- lib/deployios/command.rb
|
96
|
+
- lib/deployios/command/build.rb
|
97
|
+
- lib/deployios/command/iap.rb
|
98
|
+
- lib/deployios/command/init.rb
|
99
|
+
- lib/deployios/command/publish.rb
|
100
|
+
- lib/deployios/version.rb
|
101
|
+
homepage: https://github.com/deployios/deployios
|
102
|
+
licenses:
|
103
|
+
- MIT
|
104
|
+
metadata:
|
105
|
+
homepage_uri: https://github.com/deployios/deployios
|
106
|
+
source_code_uri: https://github.com/deployios/deployios
|
107
|
+
changelog_uri: https://github.com/deployios/deployios/blob/main/CHANGELOG.md
|
108
|
+
rdoc_options: []
|
109
|
+
require_paths:
|
110
|
+
- lib
|
111
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
112
|
+
requirements:
|
113
|
+
- - ">="
|
114
|
+
- !ruby/object:Gem::Version
|
115
|
+
version: 2.6.0
|
116
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
117
|
+
requirements:
|
118
|
+
- - ">="
|
119
|
+
- !ruby/object:Gem::Version
|
120
|
+
version: '0'
|
121
|
+
requirements: []
|
122
|
+
rubygems_version: 3.6.9
|
123
|
+
specification_version: 4
|
124
|
+
summary: Automated iOS App Store deployment tool
|
125
|
+
test_files: []
|