fastlane-plugin-apprepo 0.2.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +0 -1
- data/Gemfile.lock +223 -0
- data/README.md +124 -5
- data/build-gem.sh +1 -0
- data/circle.yml +5 -7
- data/coverage/.last_run.json +1 -1
- data/coverage/.resultset.json +22 -198
- data/fastlane-plugin-apprepo.gemspec +4 -2
- data/fastlane/README.md +29 -0
- data/fastlane/Repofile +1 -1
- data/fastlane/report.xml +16 -0
- data/lib/fastlane/plugin/apprepo.rb +1 -1
- data/lib/fastlane/plugin/apprepo/actions/init.rb +7 -2
- data/lib/fastlane/plugin/apprepo/actions/run.rb +1 -2
- data/lib/fastlane/plugin/apprepo/actions/submit.rb +1 -1
- data/lib/fastlane/plugin/apprepo/version.rb +1 -1
- data/publish-gem.sh +3 -0
- metadata +61 -18
- data/lib/fastlane/plugin/apprepo/actions/apprepo_action.rb +0 -141
- data/lib/fastlane/plugin/apprepo/actions/rubocop.rb +0 -29
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bf5301c4aca0ef27c65d3acdbbbdb63febdb09a0
|
4
|
+
data.tar.gz: 88b1dd7db6c5d419af2982162580758e4c41ee01
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bde2e35006c665541b994f3a1f5aed48db8e8c73cee905fde0e14bea5980a95349653af9d38aa5f069a28f8a070ec29d688720bf104899aacc20bcede1c61957
|
7
|
+
data.tar.gz: 1488ae2ca0061bac3485366062dda99594310d687486e77f7405abec33c1f4408c5c1d37b3163e8e5fd8ec0393c99d9c69a71a840e551d390e9a2b4126ff61e4
|
data/Gemfile
CHANGED
data/Gemfile.lock
ADDED
@@ -0,0 +1,223 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
fastlane-plugin-apprepo (0.2.0)
|
5
|
+
fastlane
|
6
|
+
net-sftp (~> 2.1, >= 2.1.2)
|
7
|
+
net-ssh (~> 3.1, >= 3.1.1)
|
8
|
+
|
9
|
+
GEM
|
10
|
+
remote: https://rubygems.org/
|
11
|
+
specs:
|
12
|
+
CFPropertyList (2.3.4)
|
13
|
+
activesupport (4.2.7.1)
|
14
|
+
i18n (~> 0.7)
|
15
|
+
json (~> 1.7, >= 1.7.7)
|
16
|
+
minitest (~> 5.1)
|
17
|
+
thread_safe (~> 0.3, >= 0.3.4)
|
18
|
+
tzinfo (~> 1.1)
|
19
|
+
addressable (2.5.0)
|
20
|
+
public_suffix (~> 2.0, >= 2.0.2)
|
21
|
+
babosa (1.0.2)
|
22
|
+
builder (3.2.2)
|
23
|
+
claide (1.0.1)
|
24
|
+
coderay (1.1.1)
|
25
|
+
colored (1.2)
|
26
|
+
commander (4.4.1)
|
27
|
+
highline (~> 1.7.2)
|
28
|
+
coveralls (0.8.17)
|
29
|
+
json (>= 1.8, < 3)
|
30
|
+
simplecov (~> 0.12.0)
|
31
|
+
term-ansicolor (~> 1.3)
|
32
|
+
thor (~> 0.19.1)
|
33
|
+
tins (~> 1.6)
|
34
|
+
credentials_manager (0.16.2)
|
35
|
+
colored
|
36
|
+
commander (>= 4.3.5)
|
37
|
+
highline (>= 1.7.1)
|
38
|
+
security
|
39
|
+
diff-lcs (1.2.5)
|
40
|
+
docile (1.1.5)
|
41
|
+
domain_name (0.5.20161129)
|
42
|
+
unf (>= 0.0.5, < 1.0.0)
|
43
|
+
dotenv (2.1.1)
|
44
|
+
excon (0.54.0)
|
45
|
+
faraday (0.10.0)
|
46
|
+
multipart-post (>= 1.2, < 3)
|
47
|
+
faraday-cookie_jar (0.0.6)
|
48
|
+
faraday (>= 0.7.4)
|
49
|
+
http-cookie (~> 1.0.0)
|
50
|
+
faraday_middleware (0.10.1)
|
51
|
+
faraday (>= 0.7.4, < 1.0)
|
52
|
+
fastimage (2.0.1)
|
53
|
+
addressable (~> 2)
|
54
|
+
fastlane (2.0.5)
|
55
|
+
activesupport (< 5)
|
56
|
+
addressable (>= 2.3, < 3.0.0)
|
57
|
+
babosa (>= 1.0.2, < 2.0.0)
|
58
|
+
bundler (~> 1.12)
|
59
|
+
colored
|
60
|
+
commander (>= 4.4.0, < 5.0.0)
|
61
|
+
dotenv (>= 2.1.1, < 3.0.0)
|
62
|
+
excon (>= 0.45.0, < 1.0.0)
|
63
|
+
faraday (~> 0.9)
|
64
|
+
faraday-cookie_jar (~> 0.0.6)
|
65
|
+
faraday_middleware (~> 0.9)
|
66
|
+
fastimage (>= 1.6)
|
67
|
+
gh_inspector (>= 1.0.1, < 2.0.0)
|
68
|
+
google-api-client (~> 0.9.1)
|
69
|
+
highline (>= 1.7.2, < 2.0.0)
|
70
|
+
json (< 3.0.0)
|
71
|
+
mini_magick (~> 4.5.1)
|
72
|
+
multi_json
|
73
|
+
multi_xml (~> 0.5)
|
74
|
+
multipart-post (~> 2.0.0)
|
75
|
+
plist (>= 3.1.0, < 4.0.0)
|
76
|
+
rubyzip (>= 1.1.0, < 2.0.0)
|
77
|
+
security (= 0.1.3)
|
78
|
+
slack-notifier (>= 1.3, < 2.0.0)
|
79
|
+
terminal-notifier (>= 1.6.2, < 2.0.0)
|
80
|
+
terminal-table (>= 1.4.5, < 2.0.0)
|
81
|
+
word_wrap (~> 1.0.0)
|
82
|
+
xcode-install (~> 2.0.0)
|
83
|
+
xcodeproj (>= 0.20, < 2.0.0)
|
84
|
+
xcpretty (>= 0.2.4, < 1.0.0)
|
85
|
+
xcpretty-travis-formatter (>= 0.0.3)
|
86
|
+
gh_inspector (1.0.2)
|
87
|
+
google-api-client (0.9.20)
|
88
|
+
addressable (~> 2.3)
|
89
|
+
googleauth (~> 0.5)
|
90
|
+
httpclient (~> 2.7)
|
91
|
+
hurley (~> 0.1)
|
92
|
+
memoist (~> 0.11)
|
93
|
+
mime-types (>= 1.6)
|
94
|
+
representable (~> 2.3.0)
|
95
|
+
retriable (~> 2.0)
|
96
|
+
googleauth (0.5.1)
|
97
|
+
faraday (~> 0.9)
|
98
|
+
jwt (~> 1.4)
|
99
|
+
logging (~> 2.0)
|
100
|
+
memoist (~> 0.12)
|
101
|
+
multi_json (~> 1.11)
|
102
|
+
os (~> 0.9)
|
103
|
+
signet (~> 0.7)
|
104
|
+
highline (1.7.8)
|
105
|
+
http-cookie (1.0.3)
|
106
|
+
domain_name (~> 0.5)
|
107
|
+
httpclient (2.8.3)
|
108
|
+
hurley (0.2)
|
109
|
+
i18n (0.7.0)
|
110
|
+
json (1.8.1)
|
111
|
+
jwt (1.5.6)
|
112
|
+
little-plugger (1.1.4)
|
113
|
+
logging (2.1.0)
|
114
|
+
little-plugger (~> 1.1)
|
115
|
+
multi_json (~> 1.10)
|
116
|
+
memoist (0.15.0)
|
117
|
+
method_source (0.8.2)
|
118
|
+
mime-types (3.1)
|
119
|
+
mime-types-data (~> 3.2015)
|
120
|
+
mime-types-data (3.2016.0521)
|
121
|
+
mini_magick (4.5.1)
|
122
|
+
minitest (5.10.1)
|
123
|
+
multi_json (1.12.1)
|
124
|
+
multi_xml (0.6.0)
|
125
|
+
multipart-post (2.0.0)
|
126
|
+
nanaimo (0.2.3)
|
127
|
+
net-sftp (2.1.2)
|
128
|
+
net-ssh (>= 2.6.5)
|
129
|
+
net-ssh (3.2.0)
|
130
|
+
os (0.9.6)
|
131
|
+
plist (3.2.0)
|
132
|
+
pry (0.10.4)
|
133
|
+
coderay (~> 1.1.0)
|
134
|
+
method_source (~> 0.8.1)
|
135
|
+
slop (~> 3.4)
|
136
|
+
public_suffix (2.0.4)
|
137
|
+
representable (2.3.0)
|
138
|
+
uber (~> 0.0.7)
|
139
|
+
retriable (2.1.0)
|
140
|
+
rouge (1.11.1)
|
141
|
+
rspec (3.5.0)
|
142
|
+
rspec-core (~> 3.5.0)
|
143
|
+
rspec-expectations (~> 3.5.0)
|
144
|
+
rspec-mocks (~> 3.5.0)
|
145
|
+
rspec-core (3.5.4)
|
146
|
+
rspec-support (~> 3.5.0)
|
147
|
+
rspec-expectations (3.5.0)
|
148
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
149
|
+
rspec-support (~> 3.5.0)
|
150
|
+
rspec-mocks (3.5.0)
|
151
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
152
|
+
rspec-support (~> 3.5.0)
|
153
|
+
rspec-support (3.5.0)
|
154
|
+
rspec_junit_formatter (0.2.2)
|
155
|
+
builder (< 4)
|
156
|
+
rspec-core (>= 2, < 4, != 2.12.0)
|
157
|
+
rubyzip (1.2.0)
|
158
|
+
security (0.1.3)
|
159
|
+
signet (0.7.3)
|
160
|
+
addressable (~> 2.3)
|
161
|
+
faraday (~> 0.9)
|
162
|
+
jwt (~> 1.5)
|
163
|
+
multi_json (~> 1.10)
|
164
|
+
simplecov (0.12.0)
|
165
|
+
docile (~> 1.1.0)
|
166
|
+
json (>= 1.8, < 3)
|
167
|
+
simplecov-html (~> 0.10.0)
|
168
|
+
simplecov-html (0.10.0)
|
169
|
+
slack-notifier (1.5.1)
|
170
|
+
slop (3.6.0)
|
171
|
+
spaceship (0.39.0)
|
172
|
+
babosa (= 1.0.2)
|
173
|
+
colored
|
174
|
+
credentials_manager (>= 0.16.0)
|
175
|
+
faraday (~> 0.9)
|
176
|
+
faraday-cookie_jar (~> 0.0.6)
|
177
|
+
faraday_middleware (~> 0.9)
|
178
|
+
fastimage (>= 1.6)
|
179
|
+
multi_xml (~> 0.5)
|
180
|
+
plist (>= 3.1.0, < 4.0.0)
|
181
|
+
term-ansicolor (1.4.0)
|
182
|
+
tins (~> 1.0)
|
183
|
+
terminal-notifier (1.7.1)
|
184
|
+
terminal-table (1.7.3)
|
185
|
+
unicode-display_width (~> 1.1.1)
|
186
|
+
thor (0.19.4)
|
187
|
+
thread_safe (0.3.5)
|
188
|
+
tins (1.13.0)
|
189
|
+
tzinfo (1.2.2)
|
190
|
+
thread_safe (~> 0.1)
|
191
|
+
uber (0.0.15)
|
192
|
+
unf (0.1.4)
|
193
|
+
unf_ext
|
194
|
+
unf_ext (0.0.7.2)
|
195
|
+
unicode-display_width (1.1.2)
|
196
|
+
word_wrap (1.0.0)
|
197
|
+
xcode-install (2.0.9)
|
198
|
+
claide (>= 0.9.1, < 1.1.0)
|
199
|
+
spaceship (>= 0.25.1, < 1.0.0)
|
200
|
+
xcodeproj (1.4.1)
|
201
|
+
CFPropertyList (~> 2.3.3)
|
202
|
+
activesupport (>= 3)
|
203
|
+
claide (>= 1.0.1, < 2.0)
|
204
|
+
colored (~> 1.2)
|
205
|
+
nanaimo (~> 0.2.0)
|
206
|
+
xcpretty (0.2.4)
|
207
|
+
rouge (~> 1.8)
|
208
|
+
xcpretty-travis-formatter (0.0.4)
|
209
|
+
xcpretty (~> 0.2, >= 0.0.7)
|
210
|
+
|
211
|
+
PLATFORMS
|
212
|
+
ruby
|
213
|
+
|
214
|
+
DEPENDENCIES
|
215
|
+
coveralls
|
216
|
+
fastlane-plugin-apprepo!
|
217
|
+
json (= 1.8.1)
|
218
|
+
pry (~> 0)
|
219
|
+
rspec (~> 3.4, >= 3.4.0)
|
220
|
+
rspec_junit_formatter (= 0.2.2)
|
221
|
+
|
222
|
+
BUNDLED WITH
|
223
|
+
1.12.5
|
data/README.md
CHANGED
@@ -1,14 +1,133 @@
|
|
1
|
+
<p align="center">
|
2
|
+
<img src="assets/apprepo.png" height="110">
|
3
|
+
</p>
|
4
|
+
|
5
|
+
fastlane-plugin-apprepo
|
6
|
+
============
|
7
|
+
|
1
8
|
[![Twitter: @igraczech](https://img.shields.io/badge/contact-%40igraczech-green.svg?style=flat)](https://twitter.com/igraczech)
|
2
9
|
[![License](https://img.shields.io/badge/license-MIT-green.svg?style=flat)](https://github.com/suculent/fastlane-plugin-apprepo/blob/master/LICENSE)
|
3
|
-
![Status](https://img.shields.io/badge/_waiting--for_-_fastlane--plugins--manager_-yellow.svg)
|
4
10
|
[![Build Status](https://img.shields.io/circleci/project/suculent/fastlane-plugin-apprepo.svg?style=flat)](https://circleci.com/gh/suculent/fastlane-plugin-apprepo)
|
5
11
|
[![Gem](https://img.shields.io/gem/v/fastlane-plugin-apprepo.svg?style=flat)](http://rubygems.org/gems/fastlane-plugin-apprepo)
|
6
12
|
[![Coverage Status](https://coveralls.io/repos/github/suculent/fastlane-plugin-apprepo/badge.svg?branch=master)](https://coveralls.io/github/suculent/fastlane-plugin-apprepo?branch=master)
|
7
13
|
|
8
|
-
|
14
|
+
###### Deliver IPAs, icons & manifest.json to a SFTP server using a single command.
|
15
|
+
|
16
|
+
`fastlane-plugin-apprepo` can upload ipa files, app icons and manifest.json to your Enterprise iOS distribution site from the command line.
|
17
|
+
|
18
|
+
You can vote for Android support as well, Michal.
|
19
|
+
|
20
|
+
Get in contact with the developer on Twitter: [@igraczech](https://twitter.com/igraczech)
|
21
|
+
|
22
|
+
-------
|
23
|
+
<p align="center">
|
24
|
+
<a href="#features">Features</a> •
|
25
|
+
<a href="#installation">Installation</a> •
|
26
|
+
<a href="#quick-start">Quick Start</a> •
|
27
|
+
<a href="#usage">Usage</a> •
|
28
|
+
<a href="#tips">Tips</a> •
|
29
|
+
<a href="#need-help">Need help?</a>
|
30
|
+
</p>
|
31
|
+
|
32
|
+
-------
|
33
|
+
|
34
|
+
<h5 align="center"><code>fastlane-plugin-apprepo</code> is a 3rd party plugin to <a href="https://fastlane.tools">fastlane</a>: The easiest way to automate building and releasing your iOS and Android apps.</h5>
|
35
|
+
|
36
|
+
# Features
|
37
|
+
- Submit IPA to SFTP server (e.g. AppRepo Server) completely automatically
|
38
|
+
- Upload a new IPA file without Xcode from any Mac
|
39
|
+
- Maintain your app manifest locally and push changes to AppRepo Server (optionally)
|
40
|
+
- Easily implement a real Continuous Deployment process using [fastlane](https://fastlane.tools)
|
41
|
+
- Store the configuration in git to easily deploy from **any** Mac, including your Continuous Integration server.
|
42
|
+
|
43
|
+
To upload builds to AppStore check out [deliver](https://github.com/fastlane/fastlane/tree/master/deliver).
|
44
|
+
|
45
|
+
To upload builds to TestFlight check out [pilot](https://github.com/fastlane/fastlane/tree/master/pilot).
|
46
|
+
|
47
|
+
|
48
|
+
# Installation
|
49
|
+
|
50
|
+
Install using fastlane
|
51
|
+
|
52
|
+
fastlane add_plugin apprepo
|
53
|
+
|
54
|
+
Make sure, you have the latest version of the Fastlane tools installed.
|
55
|
+
|
56
|
+
|
57
|
+
# Quick Start (to be reviewed for plugin)
|
58
|
+
|
59
|
+
**Based on gem apprepo, supposed to change.**
|
60
|
+
|
61
|
+
The guide will create all the necessary files for you, [in future also] using the existing app manifest.json from AppRepo (if any). AppRepo on-premise service has nothing to do with iTunesConnect or AppStore Distribution. Its purpose is solely for Enterprise In-House distribution and can leverage your Apple Developer Account credentials to fetch currently valid applications and their bundle identifiers.
|
62
|
+
|
63
|
+
Delivery module for your custom SFTP server (e.g. AppRepo, where it specifically supports custom manifest.json format instead of default plist manifest [future todo]).
|
64
|
+
|
65
|
+
- ```cd [your_project_folder]```
|
66
|
+
- ```apprepo init```
|
67
|
+
- Enter your AppRepo Server credentials (absolute path to RSA private key for your SFTP server)
|
68
|
+
- Enter your `APPREPO` APPCODE for this application in AppRepo Server, you can omit this for own SFTP server (or expect it to be a directory at your SFTP home path as we don't want to limit your creativity).
|
69
|
+
- Enjoy a good drink, while the computer does all the work for you
|
70
|
+
|
71
|
+
From now on, you can run `apprepo` to deploy a new update, or just upload new app manifest.json and icons.
|
72
|
+
|
73
|
+
|
74
|
+
# Usage (to be reviewed for plugin)
|
75
|
+
|
76
|
+
**Based on gem apprepo, supposed to change.**
|
77
|
+
|
78
|
+
Initialize Repofile:
|
79
|
+
|
80
|
+
fastlane apprepo init
|
81
|
+
|
82
|
+
Upload IPA and manifest.json based on Repofile:
|
83
|
+
|
84
|
+
fastlane apprepo run
|
85
|
+
|
86
|
+
Download manifest.json from AppRepo Server:
|
87
|
+
|
88
|
+
fastlane apprepo download_manifest
|
89
|
+
|
90
|
+
Upload IPA and manifest:
|
91
|
+
|
92
|
+
fastlane apprepo submit
|
93
|
+
|
94
|
+
|
95
|
+
# Credentials
|
96
|
+
|
97
|
+
Matej Sychra
|
98
|
+
Felix Krause
|
99
|
+
|
100
|
+
# Fastlane Tips
|
101
|
+
|
102
|
+
## [`fastlane`](https://fastlane.tools) Toolchain
|
103
|
+
|
104
|
+
- [`fastlane`](https://fastlane.tools): The easiest way to automate building and releasing your iOS and Android apps
|
105
|
+
- [`snapshot`](https://github.com/fastlane/fastlane/tree/master/snapshot): Automate taking localized screenshots of your iOS app on every device
|
106
|
+
- [`frameit`](https://github.com/fastlane/fastlane/tree/master/frameit): Quickly put your screenshots into the right device frames
|
107
|
+
- [`pem`](https://github.com/fastlane/fastlane/tree/master/pem): Automatically generate and renew your push notification profiles
|
108
|
+
- [`sigh`](https://github.com/fastlane/fastlane/tree/master/sigh): Because you would rather spend your time building stuff than fighting provisioning
|
109
|
+
- [`produce`](https://github.com/fastlane/fastlane/tree/master/produce): Create new iOS apps on AppRepo and Dev Portal using the command line
|
110
|
+
- [`cert`](https://github.com/fastlane/fastlane/tree/master/cert): Automatically create and maintain iOS code signing certificates
|
111
|
+
- [`spaceship`](https://github.com/fastlane/fastlane/tree/master/spaceship): Ruby library to access the Apple Dev Center and AppRepo
|
112
|
+
- [`pilot`](https://github.com/fastlane/fastlane/tree/master/pilot): The best way to manage your TestFlight testers and builds from your terminal
|
113
|
+
- [`boarding`](https://github.com/fastlane/boarding): The easiest way to invite your TestFlight beta testers
|
114
|
+
- [`gym`](https://github.com/fastlane/fastlane/tree/master/gym): Building your iOS apps has never been easier
|
115
|
+
- [`scan`](https://github.com/fastlane/fastlane/tree/master/scan): The easiest way to run tests of your iOS and Mac app
|
116
|
+
- [`match`](https://github.com/fastlane/fastlane/tree/master/match): Easily sync your certificates and profiles across your team using git
|
117
|
+
|
118
|
+
##### [Like this tool? Be the first to know about updates and new fastlane tools](https://tinyletter.com/krausefx)
|
119
|
+
|
120
|
+
|
121
|
+
## Editing the ```Repofile```
|
122
|
+
Change syntax highlighting to *Ruby*.
|
123
|
+
|
124
|
+
# Need help?
|
125
|
+
Please submit an issue on GitHub and provide information about your setup
|
9
126
|
|
10
|
-
|
127
|
+
# Code of Conduct
|
128
|
+
Help us keep `apprepo` open and inclusive. Please read and follow our [Code of Conduct](https://github.com/suculent/apprepo/blob/master/CODE_OF_CONDUCT.md).
|
11
129
|
|
12
|
-
|
130
|
+
# License
|
131
|
+
This project is licensed under the terms of the MIT license. See the LICENSE file.
|
13
132
|
|
14
|
-
|
133
|
+
> This project and all fastlane tools are in no way affiliated with Apple Inc. This project is open source under the MIT license, which means you have full access to the source code and can modify it to fit your own needs. All fastlane tools run on your own computer or server, so your credentials or other sensitive information will never leave your own computer. You are responsible for how you use fastlane tools.
|
data/build-gem.sh
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
gem build fastlane-plugin-apprepo.gemspec
|
data/circle.yml
CHANGED
@@ -7,7 +7,6 @@ dependencies:
|
|
7
7
|
- gem install bundler
|
8
8
|
- gem install fastlane
|
9
9
|
- bundle update
|
10
|
-
- COVERALLS_REPO_TOKEN=3gibQQGsuI6OVgOdth7jMxhsP7tRQw2FD
|
11
10
|
|
12
11
|
override:
|
13
12
|
- bundle install: # note ':' here
|
@@ -16,12 +15,11 @@ dependencies:
|
|
16
15
|
test:
|
17
16
|
override:
|
18
17
|
- nslookup repo.teacloud.net
|
19
|
-
-
|
20
|
-
-
|
21
|
-
-
|
22
|
-
-
|
23
|
-
- COVERALLS_REPO_TOKEN=
|
24
|
-
- COVERALLS_REPO_TOKEN=3gibQQGsuI6OVgOdth7jMxhsP7tRQw2FD RAILS_ENV=test bundle exec rspec -r rspec_junit_formatter --format RspecJunitFormatter -o $CIRCLE_TEST_REPORTS/rspec/junit.xml
|
18
|
+
- fastlane add_plugin apprepo
|
19
|
+
- fastlane apprepo run
|
20
|
+
- fastlane apprepo download_manifest
|
21
|
+
- fastlane apprepo submit
|
22
|
+
- COVERALLS_REPO_TOKEN=5NIxBldNBfJzPgvlQnVojxNNW0197fUUf RAILS_ENV=test bundle exec rspec
|
25
23
|
- curl -X POST --data-urlencode 'payload={"text":"CirleCI Integration Completed."}' https://hooks.slack.com/services/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
|
26
24
|
|
27
25
|
## Custom notifications
|
data/coverage/.last_run.json
CHANGED
data/coverage/.resultset.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"RSpec": {
|
3
3
|
"coverage": {
|
4
|
-
"/Users/sychram/Desktop/fastlane-plugin-apprepo/lib/fastlane/plugin/apprepo.rb": [
|
4
|
+
"/Users/sychram/Desktop/Dropbox/fastlane-plugin-apprepo/lib/fastlane/plugin/apprepo.rb": [
|
5
5
|
null,
|
6
6
|
null,
|
7
7
|
null,
|
@@ -27,8 +27,7 @@
|
|
27
27
|
null,
|
28
28
|
null,
|
29
29
|
1,
|
30
|
-
|
31
|
-
15,
|
30
|
+
13,
|
32
31
|
null,
|
33
32
|
null,
|
34
33
|
null,
|
@@ -40,150 +39,7 @@
|
|
40
39
|
1,
|
41
40
|
null
|
42
41
|
],
|
43
|
-
"/Users/sychram/Desktop/fastlane-plugin-apprepo/lib/fastlane/plugin/apprepo/actions/
|
44
|
-
1,
|
45
|
-
null,
|
46
|
-
1,
|
47
|
-
1,
|
48
|
-
null,
|
49
|
-
null,
|
50
|
-
null,
|
51
|
-
null,
|
52
|
-
null,
|
53
|
-
null,
|
54
|
-
null,
|
55
|
-
1,
|
56
|
-
1,
|
57
|
-
0,
|
58
|
-
null,
|
59
|
-
0,
|
60
|
-
null,
|
61
|
-
0,
|
62
|
-
0,
|
63
|
-
null,
|
64
|
-
null,
|
65
|
-
null,
|
66
|
-
0,
|
67
|
-
0,
|
68
|
-
null,
|
69
|
-
null,
|
70
|
-
null,
|
71
|
-
1,
|
72
|
-
0,
|
73
|
-
null,
|
74
|
-
null,
|
75
|
-
1,
|
76
|
-
null,
|
77
|
-
null,
|
78
|
-
null,
|
79
|
-
null,
|
80
|
-
null,
|
81
|
-
null,
|
82
|
-
null,
|
83
|
-
null,
|
84
|
-
0,
|
85
|
-
0,
|
86
|
-
null,
|
87
|
-
null,
|
88
|
-
null,
|
89
|
-
0,
|
90
|
-
0,
|
91
|
-
null,
|
92
|
-
null,
|
93
|
-
null,
|
94
|
-
null,
|
95
|
-
null,
|
96
|
-
null,
|
97
|
-
null,
|
98
|
-
null,
|
99
|
-
null,
|
100
|
-
null,
|
101
|
-
null,
|
102
|
-
null,
|
103
|
-
null,
|
104
|
-
null,
|
105
|
-
null,
|
106
|
-
null,
|
107
|
-
null,
|
108
|
-
null,
|
109
|
-
null,
|
110
|
-
null,
|
111
|
-
null,
|
112
|
-
null,
|
113
|
-
null,
|
114
|
-
null,
|
115
|
-
null,
|
116
|
-
null,
|
117
|
-
null,
|
118
|
-
null,
|
119
|
-
null,
|
120
|
-
null,
|
121
|
-
null,
|
122
|
-
null,
|
123
|
-
null,
|
124
|
-
null,
|
125
|
-
null,
|
126
|
-
null,
|
127
|
-
null,
|
128
|
-
null,
|
129
|
-
null,
|
130
|
-
null,
|
131
|
-
null,
|
132
|
-
null,
|
133
|
-
null,
|
134
|
-
null,
|
135
|
-
null,
|
136
|
-
null,
|
137
|
-
null,
|
138
|
-
null,
|
139
|
-
null,
|
140
|
-
null,
|
141
|
-
null,
|
142
|
-
null,
|
143
|
-
null,
|
144
|
-
null,
|
145
|
-
null,
|
146
|
-
null,
|
147
|
-
null,
|
148
|
-
null,
|
149
|
-
null,
|
150
|
-
null,
|
151
|
-
null,
|
152
|
-
null,
|
153
|
-
null,
|
154
|
-
null,
|
155
|
-
null,
|
156
|
-
null,
|
157
|
-
null,
|
158
|
-
null,
|
159
|
-
0,
|
160
|
-
null,
|
161
|
-
null,
|
162
|
-
null,
|
163
|
-
null,
|
164
|
-
null,
|
165
|
-
null,
|
166
|
-
null,
|
167
|
-
null,
|
168
|
-
null,
|
169
|
-
0,
|
170
|
-
0,
|
171
|
-
null,
|
172
|
-
null,
|
173
|
-
null,
|
174
|
-
null,
|
175
|
-
1,
|
176
|
-
0,
|
177
|
-
null,
|
178
|
-
null,
|
179
|
-
1,
|
180
|
-
0,
|
181
|
-
null,
|
182
|
-
null,
|
183
|
-
null,
|
184
|
-
null
|
185
|
-
],
|
186
|
-
"/Users/sychram/Desktop/fastlane-plugin-apprepo/lib/fastlane/plugin/apprepo/actions/download_manifest.rb": [
|
42
|
+
"/Users/sychram/Desktop/Dropbox/fastlane-plugin-apprepo/lib/fastlane/plugin/apprepo/actions/download_manifest.rb": [
|
187
43
|
1,
|
188
44
|
1,
|
189
45
|
1,
|
@@ -225,7 +81,7 @@
|
|
225
81
|
null,
|
226
82
|
null
|
227
83
|
],
|
228
|
-
"/Users/sychram/Desktop/fastlane-plugin-apprepo/lib/fastlane/plugin/apprepo/actions/init.rb": [
|
84
|
+
"/Users/sychram/Desktop/Dropbox/fastlane-plugin-apprepo/lib/fastlane/plugin/apprepo/actions/init.rb": [
|
229
85
|
1,
|
230
86
|
1,
|
231
87
|
1,
|
@@ -273,38 +129,7 @@
|
|
273
129
|
null,
|
274
130
|
null
|
275
131
|
],
|
276
|
-
"/Users/sychram/Desktop/fastlane-plugin-apprepo/lib/fastlane/plugin/apprepo/actions/
|
277
|
-
1,
|
278
|
-
1,
|
279
|
-
1,
|
280
|
-
1,
|
281
|
-
0,
|
282
|
-
null,
|
283
|
-
null,
|
284
|
-
null,
|
285
|
-
null,
|
286
|
-
null,
|
287
|
-
null,
|
288
|
-
1,
|
289
|
-
0,
|
290
|
-
null,
|
291
|
-
null,
|
292
|
-
1,
|
293
|
-
0,
|
294
|
-
null,
|
295
|
-
null,
|
296
|
-
1,
|
297
|
-
0,
|
298
|
-
null,
|
299
|
-
null,
|
300
|
-
1,
|
301
|
-
0,
|
302
|
-
null,
|
303
|
-
null,
|
304
|
-
null,
|
305
|
-
null
|
306
|
-
],
|
307
|
-
"/Users/sychram/Desktop/fastlane-plugin-apprepo/lib/fastlane/plugin/apprepo/actions/run.rb": [
|
132
|
+
"/Users/sychram/Desktop/Dropbox/fastlane-plugin-apprepo/lib/fastlane/plugin/apprepo/actions/run.rb": [
|
308
133
|
1,
|
309
134
|
null,
|
310
135
|
1,
|
@@ -355,7 +180,6 @@
|
|
355
180
|
null,
|
356
181
|
null,
|
357
182
|
null,
|
358
|
-
null,
|
359
183
|
1,
|
360
184
|
0,
|
361
185
|
null,
|
@@ -375,7 +199,7 @@
|
|
375
199
|
null,
|
376
200
|
null
|
377
201
|
],
|
378
|
-
"/Users/sychram/Desktop/fastlane-plugin-apprepo/lib/fastlane/plugin/apprepo/actions/submit.rb": [
|
202
|
+
"/Users/sychram/Desktop/Dropbox/fastlane-plugin-apprepo/lib/fastlane/plugin/apprepo/actions/submit.rb": [
|
379
203
|
1,
|
380
204
|
1,
|
381
205
|
1,
|
@@ -418,7 +242,7 @@
|
|
418
242
|
null,
|
419
243
|
null
|
420
244
|
],
|
421
|
-
"/Users/sychram/Desktop/fastlane-plugin-apprepo/lib/fastlane/plugin/apprepo/helper/analyser.rb": [
|
245
|
+
"/Users/sychram/Desktop/Dropbox/fastlane-plugin-apprepo/lib/fastlane/plugin/apprepo/helper/analyser.rb": [
|
422
246
|
1,
|
423
247
|
1,
|
424
248
|
1,
|
@@ -455,7 +279,7 @@
|
|
455
279
|
null,
|
456
280
|
null
|
457
281
|
],
|
458
|
-
"/Users/sychram/Desktop/fastlane-plugin-apprepo/lib/fastlane/plugin/apprepo/helper/uploader.rb": [
|
282
|
+
"/Users/sychram/Desktop/Dropbox/fastlane-plugin-apprepo/lib/fastlane/plugin/apprepo/helper/uploader.rb": [
|
459
283
|
null,
|
460
284
|
null,
|
461
285
|
1,
|
@@ -597,7 +421,7 @@
|
|
597
421
|
1,
|
598
422
|
null,
|
599
423
|
1,
|
600
|
-
|
424
|
+
4,
|
601
425
|
null,
|
602
426
|
null,
|
603
427
|
null,
|
@@ -639,9 +463,9 @@
|
|
639
463
|
1,
|
640
464
|
1,
|
641
465
|
null,
|
642
|
-
|
643
|
-
|
644
|
-
|
466
|
+
1,
|
467
|
+
1,
|
468
|
+
1,
|
645
469
|
null,
|
646
470
|
0,
|
647
471
|
0,
|
@@ -758,7 +582,7 @@
|
|
758
582
|
null,
|
759
583
|
null
|
760
584
|
],
|
761
|
-
"/Users/sychram/Desktop/fastlane-plugin-apprepo/lib/fastlane/plugin/apprepo/helper/options.rb": [
|
585
|
+
"/Users/sychram/Desktop/Dropbox/fastlane-plugin-apprepo/lib/fastlane/plugin/apprepo/helper/options.rb": [
|
762
586
|
1,
|
763
587
|
null,
|
764
588
|
1,
|
@@ -880,7 +704,7 @@
|
|
880
704
|
null,
|
881
705
|
null
|
882
706
|
],
|
883
|
-
"/Users/sychram/Desktop/fastlane-plugin-apprepo/lib/fastlane/plugin/apprepo/helper/commands_generator.rb": [
|
707
|
+
"/Users/sychram/Desktop/Dropbox/fastlane-plugin-apprepo/lib/fastlane/plugin/apprepo/helper/commands_generator.rb": [
|
884
708
|
1,
|
885
709
|
null,
|
886
710
|
1,
|
@@ -1003,7 +827,7 @@
|
|
1003
827
|
null,
|
1004
828
|
null
|
1005
829
|
],
|
1006
|
-
"/Users/sychram/Desktop/fastlane-plugin-apprepo/lib/fastlane/plugin/apprepo/helper/detect_values.rb": [
|
830
|
+
"/Users/sychram/Desktop/Dropbox/fastlane-plugin-apprepo/lib/fastlane/plugin/apprepo/helper/detect_values.rb": [
|
1007
831
|
null,
|
1008
832
|
1,
|
1009
833
|
1,
|
@@ -1034,7 +858,7 @@
|
|
1034
858
|
null,
|
1035
859
|
null
|
1036
860
|
],
|
1037
|
-
"/Users/sychram/Desktop/fastlane-plugin-apprepo/lib/fastlane/plugin/apprepo/helper/loader.rb": [
|
861
|
+
"/Users/sychram/Desktop/Dropbox/fastlane-plugin-apprepo/lib/fastlane/plugin/apprepo/helper/loader.rb": [
|
1038
862
|
1,
|
1039
863
|
null,
|
1040
864
|
1,
|
@@ -1051,7 +875,7 @@
|
|
1051
875
|
null,
|
1052
876
|
null
|
1053
877
|
],
|
1054
|
-
"/Users/sychram/Desktop/fastlane-plugin-apprepo/lib/fastlane/plugin/apprepo/helper/manifest.rb": [
|
878
|
+
"/Users/sychram/Desktop/Dropbox/fastlane-plugin-apprepo/lib/fastlane/plugin/apprepo/helper/manifest.rb": [
|
1055
879
|
1,
|
1056
880
|
null,
|
1057
881
|
1,
|
@@ -1097,7 +921,7 @@
|
|
1097
921
|
null,
|
1098
922
|
null
|
1099
923
|
],
|
1100
|
-
"/Users/sychram/Desktop/fastlane-plugin-apprepo/lib/fastlane/plugin/apprepo/helper/runner.rb": [
|
924
|
+
"/Users/sychram/Desktop/Dropbox/fastlane-plugin-apprepo/lib/fastlane/plugin/apprepo/helper/runner.rb": [
|
1101
925
|
1,
|
1102
926
|
null,
|
1103
927
|
1,
|
@@ -1167,7 +991,7 @@
|
|
1167
991
|
null,
|
1168
992
|
null
|
1169
993
|
],
|
1170
|
-
"/Users/sychram/Desktop/fastlane-plugin-apprepo/lib/fastlane/plugin/apprepo/helper/setup.rb": [
|
994
|
+
"/Users/sychram/Desktop/Dropbox/fastlane-plugin-apprepo/lib/fastlane/plugin/apprepo/helper/setup.rb": [
|
1171
995
|
1,
|
1172
996
|
1,
|
1173
997
|
null,
|
@@ -1218,7 +1042,7 @@
|
|
1218
1042
|
null,
|
1219
1043
|
null
|
1220
1044
|
],
|
1221
|
-
"/Users/sychram/Desktop/fastlane-plugin-apprepo/spec/greeter_spec.rb": [
|
1045
|
+
"/Users/sychram/Desktop/Dropbox/fastlane-plugin-apprepo/spec/greeter_spec.rb": [
|
1222
1046
|
1,
|
1223
1047
|
null,
|
1224
1048
|
null,
|
@@ -1230,7 +1054,7 @@
|
|
1230
1054
|
null,
|
1231
1055
|
null
|
1232
1056
|
],
|
1233
|
-
"/Users/sychram/Desktop/fastlane-plugin-apprepo/greeter.rb": [
|
1057
|
+
"/Users/sychram/Desktop/Dropbox/fastlane-plugin-apprepo/greeter.rb": [
|
1234
1058
|
null,
|
1235
1059
|
1,
|
1236
1060
|
1,
|
@@ -1239,6 +1063,6 @@
|
|
1239
1063
|
null
|
1240
1064
|
]
|
1241
1065
|
},
|
1242
|
-
"timestamp":
|
1066
|
+
"timestamp": 1482013469
|
1243
1067
|
}
|
1244
1068
|
}
|
@@ -21,8 +21,10 @@ Gem::Specification.new do |spec|
|
|
21
21
|
spec.files = spec_files
|
22
22
|
spec.require_paths = ['lib']
|
23
23
|
|
24
|
+
spec.add_dependency 'fastlane'
|
25
|
+
spec.add_dependency 'net-ssh', '~> 3.1', '>= 3.1.1'
|
26
|
+
spec.add_dependency 'net-sftp', '~> 2.1', '>= 2.1.2'
|
24
27
|
spec.add_development_dependency 'json', '= 1.8.1'
|
25
|
-
spec.add_development_dependency 'rspec', '~> 3.4', '>= 3.4.0'
|
26
|
-
spec.add_development_dependency 'fastlane', '~> 1.89'
|
28
|
+
spec.add_development_dependency 'rspec', '~> 3.4', '>= 3.4.0'
|
27
29
|
spec.add_development_dependency 'pry', '~> 0'
|
28
30
|
end
|
data/fastlane/README.md
ADDED
@@ -0,0 +1,29 @@
|
|
1
|
+
fastlane documentation
|
2
|
+
================
|
3
|
+
# Installation
|
4
|
+
```
|
5
|
+
sudo gem install fastlane
|
6
|
+
```
|
7
|
+
# Available Actions
|
8
|
+
## Mac
|
9
|
+
### mac test
|
10
|
+
```
|
11
|
+
fastlane mac test
|
12
|
+
```
|
13
|
+
Runs all the tests
|
14
|
+
### mac build
|
15
|
+
```
|
16
|
+
fastlane mac build
|
17
|
+
```
|
18
|
+
Build a RubyGem
|
19
|
+
### mac deploy
|
20
|
+
```
|
21
|
+
fastlane mac deploy
|
22
|
+
```
|
23
|
+
Deploy a new version to the RubyGems.org
|
24
|
+
|
25
|
+
----
|
26
|
+
|
27
|
+
This README.md is auto-generated and will be re-generated every time to run [fastlane](https://fastlane.tools).
|
28
|
+
More information about fastlane can be found on [https://fastlane.tools](https://fastlane.tools).
|
29
|
+
The documentation of fastlane can be found on [GitHub](https://github.com/fastlane/fastlane/tree/master/fastlane).
|
data/fastlane/Repofile
CHANGED
@@ -16,7 +16,7 @@ manifest_path "./manifest.json" # Path to the manifest.json you want to use.
|
|
16
16
|
# You can use your '~/.ssh/config' file to setup RSA keys to AppRepo, or use following options:
|
17
17
|
|
18
18
|
|
19
|
-
repo_url "
|
19
|
+
repo_url "207.154.207.81"
|
20
20
|
repo_user "circle"
|
21
21
|
repo_key "assets/circle.key"
|
22
22
|
# repo_key "/Users/sychram/.ssh/circle.key" # should have 'chmod 600'
|
data/fastlane/report.xml
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<testsuites>
|
3
|
+
<testsuite name="fastlane.lanes">
|
4
|
+
|
5
|
+
|
6
|
+
<testcase classname="fastlane.lanes" name="0: Verifying required fastlane version" time="0.000413">
|
7
|
+
|
8
|
+
</testcase>
|
9
|
+
|
10
|
+
|
11
|
+
<testcase classname="fastlane.lanes" name="1: default_platform" time="0.000206">
|
12
|
+
|
13
|
+
</testcase>
|
14
|
+
|
15
|
+
</testsuite>
|
16
|
+
</testsuites>
|
@@ -1,9 +1,14 @@
|
|
1
1
|
module Fastlane
|
2
2
|
module Actions
|
3
|
+
class ApprepoAction < Action
|
4
|
+
def self.is_supported?(platform)
|
5
|
+
true
|
6
|
+
end
|
7
|
+
end
|
3
8
|
class InitAction < Action
|
4
9
|
def self.run(_params)
|
5
|
-
#sh 'bundle exec rubocop -D'
|
6
|
-
|
10
|
+
# sh 'bundle exec rubocop -D'
|
11
|
+
command :init do |c|
|
7
12
|
c.syntax = 'apprepo init'
|
8
13
|
c.description = 'Create the initial `apprepo` configuration'
|
9
14
|
c.action do |_args, options|
|
@@ -20,7 +20,7 @@ module Fastlane
|
|
20
20
|
|
21
21
|
puts _params
|
22
22
|
|
23
|
-
|
23
|
+
command :run do |c|
|
24
24
|
c.syntax = 'apprepo'
|
25
25
|
c.description = 'Upload IPA and metadata to SFTP (e.g. Apprepo)'
|
26
26
|
c.action do |_args, options|
|
@@ -42,7 +42,6 @@ module Fastlane
|
|
42
42
|
Apprepo::Runner.new(options).run
|
43
43
|
end
|
44
44
|
end
|
45
|
-
|
46
45
|
end
|
47
46
|
|
48
47
|
#####################################################
|
@@ -1,7 +1,7 @@
|
|
1
1
|
module Fastlane
|
2
2
|
# Static configuration values
|
3
3
|
module Apprepo
|
4
|
-
VERSION = '0.
|
4
|
+
VERSION = '0.3.0'.freeze
|
5
5
|
SUMMARY = 'experimental fastlane plugin'.freeze
|
6
6
|
DESCRIPTION = 'experimental fastlane plugin based on https://github.com/suculent/apprepo SFTP uploader'.freeze
|
7
7
|
end
|
data/publish-gem.sh
ADDED
metadata
CHANGED
@@ -1,15 +1,69 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fastlane-plugin-apprepo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matej Sychra
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-03-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: fastlane
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: net-ssh
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '3.1'
|
34
|
+
- - ">="
|
35
|
+
- !ruby/object:Gem::Version
|
36
|
+
version: 3.1.1
|
37
|
+
type: :runtime
|
38
|
+
prerelease: false
|
39
|
+
version_requirements: !ruby/object:Gem::Requirement
|
40
|
+
requirements:
|
41
|
+
- - "~>"
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: '3.1'
|
44
|
+
- - ">="
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: 3.1.1
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: net-sftp
|
49
|
+
requirement: !ruby/object:Gem::Requirement
|
50
|
+
requirements:
|
51
|
+
- - "~>"
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '2.1'
|
54
|
+
- - ">="
|
55
|
+
- !ruby/object:Gem::Version
|
56
|
+
version: 2.1.2
|
57
|
+
type: :runtime
|
58
|
+
prerelease: false
|
59
|
+
version_requirements: !ruby/object:Gem::Requirement
|
60
|
+
requirements:
|
61
|
+
- - "~>"
|
62
|
+
- !ruby/object:Gem::Version
|
63
|
+
version: '2.1'
|
64
|
+
- - ">="
|
65
|
+
- !ruby/object:Gem::Version
|
66
|
+
version: 2.1.2
|
13
67
|
- !ruby/object:Gem::Dependency
|
14
68
|
name: json
|
15
69
|
requirement: !ruby/object:Gem::Requirement
|
@@ -44,20 +98,6 @@ dependencies:
|
|
44
98
|
- - ">="
|
45
99
|
- !ruby/object:Gem::Version
|
46
100
|
version: 3.4.0
|
47
|
-
- !ruby/object:Gem::Dependency
|
48
|
-
name: fastlane
|
49
|
-
requirement: !ruby/object:Gem::Requirement
|
50
|
-
requirements:
|
51
|
-
- - "~>"
|
52
|
-
- !ruby/object:Gem::Version
|
53
|
-
version: '1.89'
|
54
|
-
type: :development
|
55
|
-
prerelease: false
|
56
|
-
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
requirements:
|
58
|
-
- - "~>"
|
59
|
-
- !ruby/object:Gem::Version
|
60
|
-
version: '1.89'
|
61
101
|
- !ruby/object:Gem::Dependency
|
62
102
|
name: pry
|
63
103
|
requirement: !ruby/object:Gem::Requirement
|
@@ -85,6 +125,7 @@ files:
|
|
85
125
|
- ".rspec"
|
86
126
|
- ".rubocop.yml"
|
87
127
|
- Gemfile
|
128
|
+
- Gemfile.lock
|
88
129
|
- LICENSE
|
89
130
|
- README.md
|
90
131
|
- assets/RepofileDefault
|
@@ -92,6 +133,7 @@ files:
|
|
92
133
|
- assets/circle.key
|
93
134
|
- assets/fastlane.png
|
94
135
|
- assets/manifest.png
|
136
|
+
- build-gem.sh
|
95
137
|
- circle.yml
|
96
138
|
- coverage/.last_run.json
|
97
139
|
- coverage/.resultset.json
|
@@ -100,13 +142,13 @@ files:
|
|
100
142
|
- fastlane/Appfile
|
101
143
|
- fastlane/Fastfile
|
102
144
|
- fastlane/Pluginfile
|
145
|
+
- fastlane/README.md
|
103
146
|
- fastlane/Repofile
|
147
|
+
- fastlane/report.xml
|
104
148
|
- greeter.rb
|
105
149
|
- lib/fastlane/plugin/apprepo.rb
|
106
|
-
- lib/fastlane/plugin/apprepo/actions/apprepo_action.rb
|
107
150
|
- lib/fastlane/plugin/apprepo/actions/download_manifest.rb
|
108
151
|
- lib/fastlane/plugin/apprepo/actions/init.rb
|
109
|
-
- lib/fastlane/plugin/apprepo/actions/rubocop.rb
|
110
152
|
- lib/fastlane/plugin/apprepo/actions/run.rb
|
111
153
|
- lib/fastlane/plugin/apprepo/actions/submit.rb
|
112
154
|
- lib/fastlane/plugin/apprepo/analyser.rb
|
@@ -130,6 +172,7 @@ files:
|
|
130
172
|
- lib/fastlane/plugin/apprepo/uploader.rb
|
131
173
|
- lib/fastlane/plugin/apprepo/version.rb
|
132
174
|
- manifest.json
|
175
|
+
- publish-gem.sh
|
133
176
|
- sampleapp.ipa
|
134
177
|
- test
|
135
178
|
homepage: https://github.com/suculent/fastlane-plugin-apprepo
|
@@ -1,141 +0,0 @@
|
|
1
|
-
require 'fastlane'
|
2
|
-
|
3
|
-
module Fastlane
|
4
|
-
module Actions
|
5
|
-
# Action subclass for the Fastlane plugin
|
6
|
-
|
7
|
-
# rubocop:disable Metrics/AbcSize
|
8
|
-
# rubocop:disable Metrics/AbcSize
|
9
|
-
# rubocop:disable Metrics/MethodLength
|
10
|
-
# rubocop:disable Metrics/CyclomaticComplexity
|
11
|
-
# rubocop:disable Metrics/PerceivedComplexity
|
12
|
-
class ApprepoAction < Action
|
13
|
-
def self.run(_params)
|
14
|
-
require 'Apprepo'
|
15
|
-
|
16
|
-
if defined?(::Apprepo::Command::Make)
|
17
|
-
# New `Apprepo make` command
|
18
|
-
puts 'New `Apprepo make` command'
|
19
|
-
::Apprepo::Command::Make.run
|
20
|
-
|
21
|
-
else
|
22
|
-
# Legacy `Apprepo` command
|
23
|
-
puts 'Legacy `Apprepo` command'
|
24
|
-
::Apprepo::Command.run
|
25
|
-
end
|
26
|
-
end
|
27
|
-
|
28
|
-
def self.description
|
29
|
-
'Runs `Apprepo` for the project'
|
30
|
-
end
|
31
|
-
|
32
|
-
def self.available_options
|
33
|
-
[
|
34
|
-
FastlaneCore::ConfigItem.new(key: :ipa,
|
35
|
-
short_option: '-i',
|
36
|
-
optional: true,
|
37
|
-
env_name: 'Apprepo_IPA_PATH',
|
38
|
-
description: 'Path to your ipa file',
|
39
|
-
default_value: Dir['*.ipa'].first,
|
40
|
-
verify_block: proc do |value|
|
41
|
-
UI.user_error!("Could not find ipa file at path '#{value}'") unless File.exist?(value)
|
42
|
-
UI.user_error!("'#{value}' doesn't seem to be an ipa file") unless value.end_with?('.ipa')
|
43
|
-
end,
|
44
|
-
conflicting_options: [:pkg],
|
45
|
-
conflict_block: proc do |value|
|
46
|
-
UI.user_error!("You can't use 'ipa' and '#{value.key}' options in one run.")
|
47
|
-
end),
|
48
|
-
FastlaneCore::ConfigItem.new(key: :app_identifier,
|
49
|
-
short_option: '-b',
|
50
|
-
optional: false,
|
51
|
-
env_name: 'Apprepo_APP_ID',
|
52
|
-
description: 'Your bundle identifier',
|
53
|
-
default_value: ''),
|
54
|
-
FastlaneCore::ConfigItem.new(key: :app_code,
|
55
|
-
short_option: '-c',
|
56
|
-
optional: true,
|
57
|
-
env_name: 'Apprepo_APPCODE',
|
58
|
-
description: 'APPCODE value for Apprepo'),
|
59
|
-
FastlaneCore::ConfigItem.new(key: :repo_url,
|
60
|
-
short_option: '-r',
|
61
|
-
optional: false,
|
62
|
-
env_name: 'Apprepo_URL',
|
63
|
-
description: 'URL of your Apprepo server'),
|
64
|
-
FastlaneCore::ConfigItem.new(key: :repo_user,
|
65
|
-
short_option: '-u',
|
66
|
-
optional: false,
|
67
|
-
env_name: 'Apprepo_USER',
|
68
|
-
description: 'USER of your Apprepo server'),
|
69
|
-
FastlaneCore::ConfigItem.new(key: :repo_key,
|
70
|
-
short_option: '-k',
|
71
|
-
optional: false,
|
72
|
-
env_name: 'Apprepo_KEY',
|
73
|
-
description: 'RSA key for your Apprepo server'),
|
74
|
-
FastlaneCore::ConfigItem.new(key: :repo_description,
|
75
|
-
short_option: '-d',
|
76
|
-
optional: true,
|
77
|
-
env_name: 'Apprepo_DESCRIPTION',
|
78
|
-
description: 'Long detailed description for your Apprepo server',
|
79
|
-
default_value: ''),
|
80
|
-
FastlaneCore::ConfigItem.new(key: :repo_summary,
|
81
|
-
short_option: '-s',
|
82
|
-
optional: true,
|
83
|
-
env_name: 'Apprepo_SUMMARY',
|
84
|
-
description: 'Short description for your Apprepo server',
|
85
|
-
default_value: ''),
|
86
|
-
FastlaneCore::ConfigItem.new(key: :manifest_path,
|
87
|
-
short_option: '-m',
|
88
|
-
description: 'Path to the folder containing the metadata files',
|
89
|
-
optional: true),
|
90
|
-
FastlaneCore::ConfigItem.new(key: :repo_title,
|
91
|
-
short_option: '-a',
|
92
|
-
description: 'Name of the app',
|
93
|
-
optional: false),
|
94
|
-
FastlaneCore::ConfigItem.new(key: :skip_binary_upload,
|
95
|
-
description: 'Skip uploading an ipa or pkg to Apprepo',
|
96
|
-
is_string: false,
|
97
|
-
default_value: false),
|
98
|
-
FastlaneCore::ConfigItem.new(key: :app_version,
|
99
|
-
short_option: '-z',
|
100
|
-
description: 'The version that should be edited or created',
|
101
|
-
optional: true),
|
102
|
-
FastlaneCore::ConfigItem.new(key: :skip_manifest,
|
103
|
-
description: "Don't upload the metadata (e.g. title, description), this will still upload screenshots",
|
104
|
-
is_string: false,
|
105
|
-
default_value: false),
|
106
|
-
FastlaneCore::ConfigItem.new(key: :notify,
|
107
|
-
description: 'Notify Apprepo users on update',
|
108
|
-
is_string: false,
|
109
|
-
default_value: false),
|
110
|
-
FastlaneCore::ConfigItem.new(key: :build_number,
|
111
|
-
short_option: '-n',
|
112
|
-
description: 'If set the given build number (already uploaded to iTC) will be used instead of the current built one',
|
113
|
-
optional: true,
|
114
|
-
conflicting_options: [:ipa, :pkg],
|
115
|
-
conflict_block: proc do |value|
|
116
|
-
UI.user_error!("You can't use 'build_number' and '#{value.key}' options in one run.")
|
117
|
-
end),
|
118
|
-
|
119
|
-
# App Metadata
|
120
|
-
# Non Localised
|
121
|
-
FastlaneCore::ConfigItem.new(key: :app_icon,
|
122
|
-
description: 'Metadata: The path to the app icon',
|
123
|
-
optional: true,
|
124
|
-
short_option: '-l',
|
125
|
-
verify_block: proc do |value|
|
126
|
-
UI.user_error!("Could not find png file at path '#{value}'") unless File.exist?(value)
|
127
|
-
UI.user_error!("'#{value}' doesn't seem to be a png file") unless value.end_with?('.png')
|
128
|
-
end)
|
129
|
-
]
|
130
|
-
end
|
131
|
-
|
132
|
-
def self.supported?(platform)
|
133
|
-
[:ios, :mac].include? platform
|
134
|
-
end
|
135
|
-
|
136
|
-
def self.authors
|
137
|
-
['suculent']
|
138
|
-
end
|
139
|
-
end
|
140
|
-
end
|
141
|
-
end
|
@@ -1,29 +0,0 @@
|
|
1
|
-
module Fastlane
|
2
|
-
module Actions
|
3
|
-
class RubocopAction < Action
|
4
|
-
def self.run(_params)
|
5
|
-
sh 'bundle exec rubocop -D'
|
6
|
-
end
|
7
|
-
|
8
|
-
#####################################################
|
9
|
-
# @!group Documentation
|
10
|
-
#####################################################
|
11
|
-
|
12
|
-
def self.description
|
13
|
-
'Runs the code style checks'
|
14
|
-
end
|
15
|
-
|
16
|
-
def self.available_options
|
17
|
-
[]
|
18
|
-
end
|
19
|
-
|
20
|
-
def self.authors
|
21
|
-
['KrauseFx']
|
22
|
-
end
|
23
|
-
|
24
|
-
def self.is_supported?(_platform)
|
25
|
-
true
|
26
|
-
end
|
27
|
-
end
|
28
|
-
end
|
29
|
-
end
|