orientepodspecpush 0.2.0 → 0.2.1
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 +2 -6
- 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: 545902910d002e5a67a04346a312c673e97420e2aa3998e76295e9077bbc6bac
|
4
|
+
data.tar.gz: ad438f6fcde6c8b1245d1791ce1247a35c6ccab33a786d5950b3f94c6c034d18
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 76c555279d0c304acc8c055d29a8209bd115a8435a34ba56aea2e57a17de40284301cc1fec696ca85bd934a33ab583428e1259d25fe16649ff6510941d88024a
|
7
|
+
data.tar.gz: ed471ed9aa4a6d318dd988951e7fda62841dea9ea2be177caa5f22384c63483664a3a30494dba6e5fd252a6e2098ce5ed8425fd04f39d929889319fa1a155c05
|
data/lib/orientepodspecpush.rb
CHANGED
@@ -25,10 +25,8 @@ module Orientepodspecpush
|
|
25
25
|
cmd = []
|
26
26
|
cmd << ['bundle exec'] if shouldUseBundleExec
|
27
27
|
podPackage = "pod package #{specfile}"
|
28
|
-
unless opts[:package] == nil
|
29
|
-
podPackage + "#{opts[:package]}"
|
30
|
-
end
|
31
28
|
cmd << [podPackage]
|
29
|
+
lintCmd << opts[:package] unless opts[:package] == nil
|
32
30
|
|
33
31
|
system cmd.join(' ')
|
34
32
|
|
@@ -84,10 +82,8 @@ module Orientepodspecpush
|
|
84
82
|
cmd = []
|
85
83
|
cmd << ['bundle exec'] if shouldUseBundleExec
|
86
84
|
podRepoPush = "pod repo push #{opts[:specRepo]} #{specfile}"
|
87
|
-
unless opts[:push] == nil
|
88
|
-
podRepoPush + "#{opts[:push]}"
|
89
|
-
end
|
90
85
|
cmd << [podRepoPush]
|
86
|
+
lintCmd << opts[:push] unless opts[:push] == nil
|
91
87
|
|
92
88
|
cmd.join(' ')
|
93
89
|
end
|