Commit aab6e51b authored by Fabio Pelosin's avatar Fabio Pelosin

Improved support for CocoaPods-Core version.

parent 00fd3a3d
source "http://rubygems.org" source "http://rubygems.org"
BUNDLER_LOAD = true unless defined?(Pod::VERSION)
::BUNDLER_GEMSPEC = true unless defined?(::BUNDLER_GEMSPEC)
end
gemspec gemspec
group :development do group :development do
......
...@@ -4,7 +4,7 @@ $:.unshift File.expand_path('../lib', __FILE__) ...@@ -4,7 +4,7 @@ $:.unshift File.expand_path('../lib', __FILE__)
Gem::Specification.new do |s| Gem::Specification.new do |s|
# Use the version of CocoaPods-Core # Use the version of CocoaPods-Core
if BUNDLER_LOAD = true if !defined?(Pod::VERSION) && defined?(::BUNDLER_GEMSPEC)
s.version = '0.0.0' s.version = '0.0.0'
else else
require 'cocoapods-core' require 'cocoapods-core'
......
...@@ -11,8 +11,6 @@ unless Gem::Version::Requirement.new('>= 1.4.0').satisfied_by?(Gem::Version.new( ...@@ -11,8 +11,6 @@ unless Gem::Version::Requirement.new('>= 1.4.0').satisfied_by?(Gem::Version.new(
exit 1 exit 1
end end
require 'cocoapods/version'
module Pod module Pod
class PlainInformative < StandardError class PlainInformative < StandardError
end end
......
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