orientepodspecpush 0.1.8 → 0.1.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/orientepodspecpush/version.rb +1 -1
- data/lib/orientepodspecpush.rb +3 -3
- 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: 962b9f2f557bd02bdeee13dffb652387a673afc27ae2caf3228b33cbfdff084b
|
4
|
+
data.tar.gz: 02d76f125b76c01b8cd0f60e13da4074ffc1043d3a155c88bc0a407a80516e49
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4ac6178deb4475f543890428b96813c45d576b8e9519f23e49b6ef02dd9e25c0287106c892ac05738e35f8456ff737fa81f230e9a5d982e38458ccc4f73ac95d
|
7
|
+
data.tar.gz: 8354c5b9a7af7423d21bc1179833926369e61ee79ff57408115e497d218286b492c316996b5f20b31e284030fb2461f76291ba7665703a06638d95cbc3d8efd9
|
data/lib/orientepodspecpush.rb
CHANGED
@@ -130,7 +130,7 @@ module Orientepodspecpush
|
|
130
130
|
exit
|
131
131
|
end
|
132
132
|
|
133
|
-
def executeLint(withWarnings)
|
133
|
+
def executeLint(withWarnings,opts)
|
134
134
|
cmd = [@lintCmd]
|
135
135
|
# cmd << "--allow-warnings" unless withWarnings == false
|
136
136
|
|
@@ -142,7 +142,7 @@ module Orientepodspecpush
|
|
142
142
|
if success == false && withWarnings == false
|
143
143
|
# Try again?
|
144
144
|
puts "Linting failed, try again by allowing warnings? [Y/n]".blue
|
145
|
-
gets.chomp.downcase == "y" ? executeLint(true) : rollbackTag
|
145
|
+
gets.chomp.downcase == "y" ? executeLint(true,opts) : rollbackTag
|
146
146
|
elsif success == false && withWarnings == true
|
147
147
|
puts "Even with warnings, something is wrong. Look for any errors".red
|
148
148
|
rollbackTag
|
@@ -205,7 +205,7 @@ module Orientepodspecpush
|
|
205
205
|
@pushCmd = makePushCmd(opts)
|
206
206
|
|
207
207
|
# execute
|
208
|
-
executeLint(true)
|
208
|
+
executeLint(true,opts)
|
209
209
|
executePush
|
210
210
|
|
211
211
|
# Tidy up this repo!!
|