Commit a13aa847 authored by Fabio Pelosin's avatar Fabio Pelosin

Link the version to CocoaPods-core in a more robust way.

parent b40494e6
# -*- encoding: utf-8 -*- # -*- encoding: utf-8 -*-
$:.unshift File.expand_path('../lib', __FILE__) require File.expand_path('../lib/cocoapods/gem_version', __FILE__)
Gem::Specification.new do |s|
# Use the version of CocoaPods-Core
if !defined?(Pod::VERSION) && defined?(::BUNDLER_GEMSPEC)
s.version = '0.0.0'
else
require 'cocoapods-core'
s.version = Pod::VERSION
end
Gem::Specification.new do |s|
s.name = "cocoapods" s.name = "cocoapods"
s.version = Pod::VERSION
s.date = Date.today s.date = Date.today
s.license = "MIT" s.license = "MIT"
s.email = ["eloy.de.enige@gmail.com", "fabiopelosin@gmail.com"] s.email = ["eloy.de.enige@gmail.com", "fabiopelosin@gmail.com"]
...@@ -33,9 +26,11 @@ Gem::Specification.new do |s| ...@@ -33,9 +26,11 @@ Gem::Specification.new do |s|
s.executables = %w{ pod } s.executables = %w{ pod }
s.require_paths = %w{ lib } s.require_paths = %w{ lib }
s.add_runtime_dependency 'cocoapods-core' # Link with the version of CocoaPods-Core
s.add_runtime_dependency 'claide', '~> 0.1' s.add_runtime_dependency 'cocoapods-core', "= #{Pod::VERSION}"
s.add_runtime_dependency 'xcodeproj', '~> 0.4.1'
s.add_runtime_dependency 'claide', '~> 0.1'
s.add_runtime_dependency 'xcodeproj', '~> 0.4.1'
s.add_runtime_dependency 'faraday', '~> 0.8.1' s.add_runtime_dependency 'faraday', '~> 0.8.1'
s.add_runtime_dependency 'octokit', '~> 1.7' s.add_runtime_dependency 'octokit', '~> 1.7'
......
module Pod
# The version of the cocoapods command line tool.
#
VERSION = '0.17.0.alpha'
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