orientepodspecpush 0.3.7 → 0.3.8

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: 4fa26e81068f8215cdaf67dae7fb391b57927638b19e7a9688aac99a020c3557
4
- data.tar.gz: 2e677e8f5f521d305009605724c9c7a73d50d831b3ae7aa48c0bf2b9cf661f09
3
+ metadata.gz: b607ec3b8f686bb9a11aa47b4ac83304012fd29fc8650f20c772a3c089eeef87
4
+ data.tar.gz: ae5fb9b3a4e5925cf5da07a5483436fa806c0c394c90d7b249df9b032b6a9cb0
5
5
  SHA512:
6
- metadata.gz: b3b575e62e189f99f411d70f4b7b5f9121ff0f396d19e0184f23447086176825af0638d9fb117fb3af976ac39eacec301a861b55afabe1fa9d44446b55f35284
7
- data.tar.gz: b587bfe4e54447ff0db10746eb0effbd20ecdfb720f3eb84bd26232e9141ec2ef15b2b61e9342e492c3d5ad91a934efb865946fd8d9acd65728fc48f92df003f
6
+ metadata.gz: ebf1e099a6e0c73c45e33c064cf824996c954c8d12ac03ac55afdf2aff1c8642dc161b19447436aaae6c5272868e36de51af417b2acc32b03b8f4a386f68e340
7
+ data.tar.gz: 99a43f3cf02ac14b1c72e80eee3dee3c7a96b792866dfcda7032a68f40910abdcfbc2573b838fde77d0d6cfbaa485774ac9c612135e3f8b0448e675690c58770
@@ -70,10 +70,10 @@ module Orientepodspecpush
70
70
  podPackage = "pod package #{specfile}"
71
71
  cmd << [podPackage]
72
72
  packageCmd = "--force --spec-sources='ssh://git-codecommit.ap-southeast-1.amazonaws.com/v1/repos/ios-OrienteSpecs, https://github.com/CocoaPods/Specs.git'"
73
- if opts[:package].included? "--spec-sources"
74
- cmd << opts[:package] unless opts[:package] == nil
75
- else
73
+ if opts[:package] == nil
76
74
  cmd << packageCmd
75
+ else
76
+ cmd << opts[:package]
77
77
  end
78
78
 
79
79
 
@@ -120,11 +120,12 @@ module Orientepodspecpush
120
120
  lintCmd << specfile
121
121
 
122
122
  lintCommand = "--allow-warnings --sources='ssh://git-codecommit.ap-southeast-1.amazonaws.com/v1/repos/ios-OrienteSpecs,https://github.com/CocoaPods/Specs.git'"
123
- if opts[:lint].included? "--sources"
124
- lintCmd << ["#{opts[:lint]}"]
125
- else
123
+ if opts[:lint] == nil
126
124
  lintCmd << [lintCommand]
125
+ else
126
+ lintCmd << ["#{opts[:lint]}"]
127
127
  end
128
+
128
129
  # lintCmd << sourcesArg
129
130
  # lintCmd << opts[:sources] unless opts[:sources] == nil
130
131
 
@@ -146,10 +147,11 @@ module Orientepodspecpush
146
147
  # cmd << [podRepoPush]
147
148
  cmd << podRepoPush
148
149
  pushCommand = "--allow-warnings --sources='ssh://git-codecommit.ap-southeast-1.amazonaws.com/v1/repos/ios-OrienteSpecs,https://github.com/CocoaPods/Specs.git'"
149
- if opts[:push].included? "--sources"
150
- cmd << opts[:push]
151
- else
150
+ if opts[:push] == nil
152
151
  cmd << pushCommand
152
+ else
153
+ cmd << opts[:push]
154
+
153
155
  end
154
156
  # cmd << opts[:push] unless opts[:push] == nil
155
157
 
@@ -1,3 +1,3 @@
1
1
  module Orientepodspecpush
2
- VERSION = "0.3.7"
2
+ VERSION = "0.3.8"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: orientepodspecpush
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.7
4
+ version: 0.3.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - John wang