$git_root = "https://github.com/passepartoutvpn" def pod_version(name, specs, version) specs.each { |s| pod "#{name}/#{s}", version } end def pod_git(name, specs, sha) specs.each { |s| pod "#{name}/#{s}", :git => "#{$git_root}/#{name.downcase}", :commit => sha } end def pod_path(name, specs, root) specs.each { |s| pod "#{name}/#{s}", :path => "#{root}/#{name.downcase}" } end