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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 639c4d7795e58dd7051db9edc8fc85565b56530aebe98e6f3c8ce3f6f805c6fb
4
- data.tar.gz: eb7b32da34d102a6fad336ec1a160acea46aa0836750252b8d83f73f6d286911
3
+ metadata.gz: 962b9f2f557bd02bdeee13dffb652387a673afc27ae2caf3228b33cbfdff084b
4
+ data.tar.gz: 02d76f125b76c01b8cd0f60e13da4074ffc1043d3a155c88bc0a407a80516e49
5
5
  SHA512:
6
- metadata.gz: d01a066b562fefb9f24ef77c22ee2df14546fb75e9e8a1a2f68f89128742b2139d61f4cb9afe867ccf8da2a4202f42ece2e1de94add1a6cf8437d9f83ae4990f
7
- data.tar.gz: f6d3723ff23c83f42f73dd391827b4b413850acf1a7ee49a61b927089c7b0e685cd41349c83a3896c24b328a5dfbb40320bec7b32ed5217325be19c06e895d09
6
+ metadata.gz: 4ac6178deb4475f543890428b96813c45d576b8e9519f23e49b6ef02dd9e25c0287106c892ac05738e35f8456ff737fa81f230e9a5d982e38458ccc4f73ac95d
7
+ data.tar.gz: 8354c5b9a7af7423d21bc1179833926369e61ee79ff57408115e497d218286b492c316996b5f20b31e284030fb2461f76291ba7665703a06638d95cbc3d8efd9
@@ -1,3 +1,3 @@
1
1
  module Orientepodspecpush
2
- VERSION = "0.1.8"
2
+ VERSION = "0.1.9"
3
3
  end
@@ -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!!
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.1.8
4
+ version: 0.1.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - John wang