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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5c6397f9344c7b8830cd1787c3205f8366979260289ee793fe7483399d76f3bd
4
- data.tar.gz: f34cd8c29d9bc592afd25add9a9c958c1d7159eb98873917b0307d36ab29b8b3
3
+ metadata.gz: f82f46292a2b29a6c4275f1b516f6da0388465cb32399d3fed3a82e62cc84942
4
+ data.tar.gz: e5fcd78377fc0282fa6c99fbc952281f2bdf1b7d57c8cd0b3eec908f0ed24d25
5
5
  SHA512:
6
- metadata.gz: e7488f27982e79261ed997508b9642a607d682eb8da1c14611a2722a08b956e30b949c4302922b5aaf33fe0ceebf48e1a610aaac1e741b3ab8100c9ce9ed82ee
7
- data.tar.gz: 10c168a613096654908addc5b17fe0eb1878ed9f36378db123a26b415203645d3dc7be8a85b1885e020240ca8ea3cc7b4a886bf17b7993f7aa62af803f0db56b
6
+ metadata.gz: 9535b115f7be0bb08d4a743eee3efbdb1726b17d41ffdfd514727ee9c36b049c8f4ac0c68a9100dc7f5eee0aaa6e8cee6d62259f5066d1e46daeb76079fa1eeb
7
+ data.tar.gz: bea730425945e7a8c09c076eff25db520d232f635ad38b147a5fc2389a5a011b0d21113eeeb2660ffbc8598d320bec8bd217555311331ca037f793186a3a28ec
@@ -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
@@ -1,3 +1,3 @@
1
1
  module Orientepodspecpush
2
- VERSION = "0.3.3"
2
+ VERSION = "0.3.4"
3
3
  end
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.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-16 00:00:00.000000000 Z
11
+ date: 2018-07-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: trollop