|
| 1 | +# encoding: UTF-8 |
| 2 | +require File.expand_path('../lib/cocoapods/gem_version', __FILE__) |
| 3 | +require 'date' |
| 4 | + |
| 5 | +Gem::Specification.new do |s| |
| 6 | + s.name = "cocoapods" |
| 7 | + s.version = Pod::VERSION |
| 8 | + s.date = Date.today |
| 9 | + s.license = "MIT" |
| 10 | + s.email = ["eloy.de.enige@gmail.com", "fabiopelosin@gmail.com", "kyle@fuller.li", "segiddins@segiddins.me"] |
| 11 | + s.homepage = "https://github.com/CocoaPods/CocoaPods" |
| 12 | + s.authors = ["Eloy Duran", "Fabio Pelosin", "Kyle Fuller", "Samuel Giddins"] |
| 13 | + |
| 14 | + s.summary = "The Cocoa library package manager." |
| 15 | + s.description = "CocoaPods manages library dependencies for your Xcode project.\n\n" \ |
| 16 | + "You specify the dependencies for your project in one easy text file. " \ |
| 17 | + "CocoaPods resolves dependencies between libraries, fetches source " \ |
| 18 | + "code for the dependencies, and creates and maintains an Xcode " \ |
| 19 | + "workspace to build your project.\n\n" \ |
| 20 | + "Ultimately, the goal is to improve discoverability of, and engagement " \ |
| 21 | + "in, third party open-source libraries, by creating a more centralized " \ |
| 22 | + "ecosystem." |
| 23 | + |
| 24 | + s.files = Dir["lib/**/*.rb"] + %w{ bin/pod bin/sandbox-pod README.md LICENSE CHANGELOG.md } |
| 25 | + |
| 26 | + s.executables = %w{ pod sandbox-pod } |
| 27 | + s.require_paths = %w{ lib } |
| 28 | + |
| 29 | + # Link with the version of CocoaPods-Core |
| 30 | + s.add_runtime_dependency 'cocoapods-core', "= #{Pod::VERSION}" |
| 31 | + |
| 32 | + s.add_runtime_dependency 'claide', '>= 1.0.2', '< 2.0' |
| 33 | + s.add_runtime_dependency 'cocoapods-deintegrate', '>= 1.0.3', '< 2.0' |
| 34 | + s.add_runtime_dependency 'cocoapods-downloader', '>= 1.2.2', '< 2.0' |
| 35 | + s.add_runtime_dependency 'cocoapods-plugins', '>= 1.0.0', '< 2.0' |
| 36 | + s.add_runtime_dependency 'cocoapods-search', '>= 1.0.0', '< 2.0' |
| 37 | + s.add_runtime_dependency 'cocoapods-trunk', '>= 1.4.0', '< 2.0' |
| 38 | + s.add_runtime_dependency 'cocoapods-try', '>= 1.1.0', '< 2.0' |
| 39 | + s.add_runtime_dependency 'molinillo', '~> 0.6.6' |
| 40 | + s.add_runtime_dependency 'xcodeproj', '>= 1.14.0', '< 2.0' |
| 41 | + |
| 42 | + ## Version 5 needs Ruby 2.2, so we specify an upper bound to stay compatible with system ruby |
| 43 | + s.add_runtime_dependency 'activesupport', '>= 4.0.2', '< 5' |
| 44 | + s.add_runtime_dependency 'colored2', '~> 3.1' |
| 45 | + s.add_runtime_dependency 'escape', '~> 0.0.4' |
| 46 | + s.add_runtime_dependency 'fourflusher', '>= 2.3.0', '< 3.0' |
| 47 | + s.add_runtime_dependency 'gh_inspector', '~> 1.0' |
| 48 | + s.add_runtime_dependency 'nap', '~> 1.0' |
| 49 | + s.add_runtime_dependency 'ruby-macho', '~> 1.4' |
| 50 | + |
| 51 | + s.add_runtime_dependency 'addressable', '~> 2.6' |
| 52 | + |
| 53 | + s.add_development_dependency 'bacon', '~> 1.1' |
| 54 | + s.add_development_dependency 'bundler', '~> 1.3' |
| 55 | + s.add_development_dependency 'rake', '~> 10.0' |
| 56 | + |
| 57 | + ## Make sure you can build the gem on older versions of RubyGems too: |
| 58 | + s.rubygems_version = "1.6.2" |
| 59 | + s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version= |
| 60 | + s.required_ruby_version = '>= 2.0.0' |
| 61 | + s.specification_version = 3 if s.respond_to? :specification_version |
| 62 | +end |
0 commit comments