Class: Pod::Validator

Inherits:
Object
  • Object
show all
Defined in:
lib/cocoapods-util/command/cocoapods-extend/repo/push_helper.rb

Instance Method Summary collapse

Instance Method Details

#build_podObject



37
38
39
# File 'lib/cocoapods-util/command/cocoapods-extend/repo/push_helper.rb', line 37

def build_pod
  old_build_pod unless Pod::Validator.skip_build
end

#old_build_podObject



36
# File 'lib/cocoapods-util/command/cocoapods-extend/repo/push_helper.rb', line 36

alias_method :old_build_pod, :build_pod

#old_test_podObject



41
# File 'lib/cocoapods-util/command/cocoapods-extend/repo/push_helper.rb', line 41

alias_method :old_test_pod, :test_pod

#old_validated?Object



46
# File 'lib/cocoapods-util/command/cocoapods-extend/repo/push_helper.rb', line 46

alias_method :old_validated?, :validated?

#test_podObject



42
43
44
# File 'lib/cocoapods-util/command/cocoapods-extend/repo/push_helper.rb', line 42

def test_pod
  old_test_pod unless Pod::Validator.skip_build
end

#validated?Boolean

Returns:

  • (Boolean)


47
48
49
# File 'lib/cocoapods-util/command/cocoapods-extend/repo/push_helper.rb', line 47

def validated?
  Pod::Validator.skip_build || old_validated?
end