orientepodspecpush 0.3.3 → 0.3.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/orientepodspecpush.rb +5 -0
- data/lib/orientepodspecpush/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f82f46292a2b29a6c4275f1b516f6da0388465cb32399d3fed3a82e62cc84942
|
4
|
+
data.tar.gz: e5fcd78377fc0282fa6c99fbc952281f2bdf1b7d57c8cd0b3eec908f0ed24d25
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9535b115f7be0bb08d4a743eee3efbdb1726b17d41ffdfd514727ee9c36b049c8f4ac0c68a9100dc7f5eee0aaa6e8cee6d62259f5066d1e46daeb76079fa1eeb
|
7
|
+
data.tar.gz: bea730425945e7a8c09c076eff25db520d232f635ad38b147a5fc2389a5a011b0d21113eeeb2660ffbc8598d320bec8bd217555311331ca037f793186a3a28ec
|
data/lib/orientepodspecpush.rb
CHANGED
@@ -188,6 +188,7 @@ module Orientepodspecpush
|
|
188
188
|
opt :package, "pod package 情况下所需要的参数,需要用引号括起来,例如'--force --no-mangle'",:type => :string
|
189
189
|
opt :push, "pod repo push 情况下所需要的参数,需要用引号括起来,例如'--verbose --use-libraries'",:type => :string
|
190
190
|
opt :noPackage, "If set, no need to package"
|
191
|
+
opt :version, "show the version number of this package", :type => :string
|
191
192
|
end
|
192
193
|
|
193
194
|
puts "lint:#{opts[:lint]}"
|
@@ -199,6 +200,10 @@ module Orientepodspecpush
|
|
199
200
|
Trollop::die :specRepo, "Spec Repo must be provided" if opts[:specRepo] == nil
|
200
201
|
Trollop::die :workspace, "Workspace path must be provided" if opts[:workspace] == nil
|
201
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
|
202
207
|
|
203
208
|
Dir.chdir(opts[:workspace]) do
|
204
209
|
# Check
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: orientepodspecpush
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- John wang
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-07-
|
11
|
+
date: 2018-07-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: trollop
|