Commit e703252d authored by Eloy Durán's avatar Eloy Durán

[push] It's like I never did Ruby before.

parent d2f8cb19
......@@ -61,7 +61,6 @@ module Pod
# @return [void] Silently test the CocoaPods trunk service.
#
def test_trunk
return if skip_test_trunk
return unless @repo == "master"
require 'rest'
base_url = 'https://trunk.cocoapods.org/api/v1'
......@@ -73,7 +72,6 @@ module Pod
rescue Exception
# Nothing
end
attr_accessor :skip_test_trunk
# Performs a full lint against the podspecs.
#
......
......@@ -7,7 +7,7 @@ module Pod
# Don't test push the spec to the trunk app
def command(*a)
super.tap { |cmd| cmd.send(:skip_test_trunk=, true) }
super.tap { |cmd| cmd.stubs(:test_trunk) }
end
before do
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment