orientepodspecpush 0.3.4 → 0.3.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/orientepodspecpush/version.rb +1 -1
- data/lib/orientepodspecpush.rb +1 -5
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 03dbf9a5f2ee102fbf5d6b69eeabcbf22b9e3200439b1824b281519a7136f1de
|
4
|
+
data.tar.gz: bf6c36ee7eb5219ed9bf6a953ad0dee57c7907e09d74ae7ee7537d992d6c16f6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cf7a6b50c61a17a4e7f8481ed77e6b668f7d46dc50b40722c6fe974db7c1b7015bea9bf4775a1d155266c8d83796d5099c3c2344220bb9ed7d31c89437ea5e38
|
7
|
+
data.tar.gz: 58dfbd8ce137651ae1e3328576aaad1cd3362220c419f3ba3a92776ea2bfb0159276343038feda802a2a1dc853a0170115113f6717cc3da1978843f06f8baf37
|
data/lib/orientepodspecpush.rb
CHANGED
@@ -178,6 +178,7 @@ module Orientepodspecpush
|
|
178
178
|
|
179
179
|
def push
|
180
180
|
opts = Trollop::options do
|
181
|
+
version "9.9.9"
|
181
182
|
opt :specRepo, "Name of the repo to push to. See pod repo list for available repos", :type => :string
|
182
183
|
opt :workspace, "Path to cocoapod workspace", :type => :string
|
183
184
|
opt :sources, "Comma delimited list of private repo sources to consider when linting private repo. Master is included by default so private repos can source master", :type => :string
|
@@ -188,7 +189,6 @@ module Orientepodspecpush
|
|
188
189
|
opt :package, "pod package 情况下所需要的参数,需要用引号括起来,例如'--force --no-mangle'",:type => :string
|
189
190
|
opt :push, "pod repo push 情况下所需要的参数,需要用引号括起来,例如'--verbose --use-libraries'",:type => :string
|
190
191
|
opt :noPackage, "If set, no need to package"
|
191
|
-
opt :version, "show the version number of this package", :type => :string
|
192
192
|
end
|
193
193
|
|
194
194
|
puts "lint:#{opts[:lint]}"
|
@@ -200,10 +200,6 @@ module Orientepodspecpush
|
|
200
200
|
Trollop::die :specRepo, "Spec Repo must be provided" if opts[:specRepo] == nil
|
201
201
|
Trollop::die :workspace, "Workspace path must be provided" if opts[:workspace] == nil
|
202
202
|
Trollop::die :tag, "tag must be provided" if opts[:tag] == nil
|
203
|
-
if opts[:version] != nil
|
204
|
-
puts Orientepodspecpush::VERSION
|
205
|
-
exit
|
206
|
-
end
|
207
203
|
|
208
204
|
Dir.chdir(opts[:workspace]) do
|
209
205
|
# Check
|