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 +4 -4
- data/lib/orientepodspecpush.rb +11 -9
- data/lib/orientepodspecpush/version.rb +1 -1
- 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: b607ec3b8f686bb9a11aa47b4ac83304012fd29fc8650f20c772a3c089eeef87
|
4
|
+
data.tar.gz: ae5fb9b3a4e5925cf5da07a5483436fa806c0c394c90d7b249df9b032b6a9cb0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ebf1e099a6e0c73c45e33c064cf824996c954c8d12ac03ac55afdf2aff1c8642dc161b19447436aaae6c5272868e36de51af417b2acc32b03b8f4a386f68e340
|
7
|
+
data.tar.gz: 99a43f3cf02ac14b1c72e80eee3dee3c7a96b792866dfcda7032a68f40910abdcfbc2573b838fde77d0d6cfbaa485774ac9c612135e3f8b0448e675690c58770
|
data/lib/orientepodspecpush.rb
CHANGED
@@ -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]
|
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]
|
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]
|
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
|
|