cocoapods 0.29.0 → 0.30.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +33 -0
- data/README.md +9 -9
- data/bin/pod +12 -3
- data/lib/cocoapods.rb +31 -0
- data/lib/cocoapods/command.rb +3 -3
- data/lib/cocoapods/command/init.rb +6 -3
- data/lib/cocoapods/command/lib.rb +13 -4
- data/lib/cocoapods/command/push.rb +1 -17
- data/lib/cocoapods/command/repo.rb +16 -2
- data/lib/cocoapods/command/search.rb +13 -5
- data/lib/cocoapods/command/setup.rb +10 -4
- data/lib/cocoapods/command/spec.rb +24 -21
- data/lib/cocoapods/external_sources.rb +1 -1
- data/lib/cocoapods/gem_version.rb +1 -1
- data/lib/cocoapods/installer.rb +5 -3
- data/lib/cocoapods/installer/target_installer/pod_target_installer.rb +0 -1
- data/lib/cocoapods/installer/user_project_integrator/target_integrator.rb +1 -1
- data/lib/cocoapods/sources_manager.rb +2 -1
- data/lib/cocoapods/validator.rb +4 -3
- metadata +69 -116
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b7da31cc1aefccdebe1937c19e68ddfd24014c4d
|
4
|
+
data.tar.gz: 66fa0d2be3fa736c6511b40d76c29833675ac095
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ca7481bebd6c5012ddc01b9ea4a0eaca597cae0de7fb56cfee509e93f25edb4f4255d14600ccd38309ac1e8fd0b25feefddd5b5df9e60785b48fa776165e529b
|
7
|
+
data.tar.gz: 7de6abd68b98abf119b6e1b9d5e43f4d57158e8e1069ee7b0de6df025e4934ff8a91d4c9d49e79e4bdda382ca9aa08a7d0e382abbb9b98c2a8976c506dbdb9a7
|
data/CHANGELOG.md
CHANGED
@@ -2,6 +2,39 @@
|
|
2
2
|
|
3
3
|
To install or update CocoaPods see this [guide](http://docs.cocoapods.org/guides/installing_cocoapods.html).
|
4
4
|
|
5
|
+
## 0.30.0
|
6
|
+
[CocoaPods](https://github.com/jverkoey/CocoaPods/compare/0.29.0...0.30.0)
|
7
|
+
|
8
|
+
###### Enhancements
|
9
|
+
|
10
|
+
* Radically reduce first run pod setup bandwidth by creating a shallow clone of
|
11
|
+
the ‘master’ repo by default. Use the `--no-shallow` option to perform a full
|
12
|
+
clone instead.
|
13
|
+
[Jeff Verkoeyen](https://github.com/jverkoey)
|
14
|
+
[#1803](https://github.com/CocoaPods/CocoaPods/pull/1803)
|
15
|
+
|
16
|
+
* Improves the error message when searching with an invalid regular expression.
|
17
|
+
[Kyle Fuller](https://github.com/kylef)
|
18
|
+
|
19
|
+
* Improves `pod init` to save Xcode project file in Podfile when one was supplied.
|
20
|
+
[Kyle Fuller](https://github.com/kylef)
|
21
|
+
|
22
|
+
* Adds functionality to specify a template URL for the `pod lib create` command.
|
23
|
+
[Piet Brauer](https://github.com/pietbrauer)
|
24
|
+
|
25
|
+
###### Bug Fixes
|
26
|
+
|
27
|
+
* Fixes a bug with `pod repo remove` silently handling permission errors.
|
28
|
+
[Kyle Fuller](https://github.com/kylef)
|
29
|
+
#1778
|
30
|
+
|
31
|
+
* `pod push` now properly checks that the repo has changed before attempting
|
32
|
+
to commit. This only affected pods with special characters (such as `+`) in
|
33
|
+
their names.
|
34
|
+
[Gordon Fontenot](https://github.com/gfontenot)
|
35
|
+
[#1739](https://github.com/CocoaPods/CocoaPods/pull/1739)
|
36
|
+
|
37
|
+
|
5
38
|
## 0.29.0
|
6
39
|
[CocoaPods](https://github.com/CocoaPods/CocoaPods/compare/0.28.0...0.29.0)
|
7
40
|
• [CocoaPods-core](https://github.com/CocoaPods/Core/compare/0.28.0...0.29.0)
|
data/README.md
CHANGED
@@ -2,9 +2,9 @@
|
|
2
2
|
|
3
3
|
### CocoaPods: The Objective-C dependency manager
|
4
4
|
|
5
|
-
[](https://travis-ci.org/CocoaPods/CocoaPods)
|
6
|
+
[](http://badge.fury.io/rb/cocoapods)
|
7
|
+
[](https://codeclimate.com/github/CocoaPods/CocoaPods)
|
8
8
|
|
9
9
|
CocoaPods manages dependencies for your Xcode projects.
|
10
10
|
|
@@ -50,10 +50,10 @@ CocoaPods is composed by the following projects:
|
|
50
50
|
|
51
51
|
| Status | Project | Description | Info |
|
52
52
|
| :----- | :------ | :--- | :--- |
|
53
|
-
| [](http://travis-ci.org/CocoaPods/CocoaPods) | [CocoaPods](https://github.com/CocoaPods/CocoaPods) | The CocoaPods command line tool. | [docs](http://docs.cocoapods.org/cocoapods)
|
54
|
+
| [](http://travis-ci.org/CocoaPods/Core) | [CocoaPods Core](https://github.com/CocoaPods/Core) | Support for working with specifications and podfiles. | [docs](http://docs.cocoapods.org/cocoapods_core)
|
55
|
+
| [](http://travis-ci.org/CocoaPods/cocoapods-downloader) |[CocoaPods Downloader](https://github.com/CocoaPods/cocoapods-downloader) | Downloaders for various source types. | [docs](http://docs.cocoapods.org/cocoapods_downloader/index.html)
|
56
|
+
| [](https://travis-ci.org/CocoaPods/Xcodeproj) | [Xcodeproj](https://github.com/CocoaPods/Xcodeproj) | Create and modify Xcode projects from Ruby. | [docs](http://docs.cocoapods.org/xcodeproj/index.html)
|
57
|
+
| [](https://travis-ci.org/CocoaPods/CLAide) | [CLAide](https://github.com/CocoaPods/CLAide) | A small command-line interface framework. | [docs](http://docs.cocoapods.org/claide/index.html)
|
58
|
+
| [](http://travis-ci.org/CocoaPods/Specs) | [Master Repo ](https://github.com/CocoaPods/Specs) | Master repository of specifications. | [guide](http://docs.cocoapods.org/guides/contributing_to_the_master_repo.html)
|
59
59
|
|
data/bin/pod
CHANGED
@@ -1,11 +1,20 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
|
3
3
|
if RUBY_VERSION > '1.8.7' && Encoding.default_external != Encoding::UTF_8
|
4
|
-
puts
|
5
|
-
|
4
|
+
puts "\e[33mWARNING: CocoaPods requires your terminal to be using UTF-8 encoding."
|
5
|
+
if ENV["TRAVIS"]
|
6
|
+
puts <<-DOC
|
7
|
+
Consider adding the following settings to .travis.yml
|
8
|
+
|
9
|
+
before_script:
|
10
|
+
- export LANG=en_US.UTF-8\e[0m\n
|
11
|
+
DOC
|
12
|
+
else
|
13
|
+
puts <<-DOC
|
6
14
|
See https://github.com/CocoaPods/guides.cocoapods.org/issues/26 for
|
7
15
|
possible solutions.\e[0m\n
|
8
|
-
|
16
|
+
DOC
|
17
|
+
end
|
9
18
|
end
|
10
19
|
|
11
20
|
if $PROGRAM_NAME == __FILE__ && !ENV['COCOAPODS_NO_BUNDLER']
|
data/lib/cocoapods.rb
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
require 'rubygems'
|
2
2
|
require 'xcodeproj'
|
3
3
|
|
4
|
+
# It is very likely that we'll need these and as some of those paths will atm
|
5
|
+
# result in a I18n deprecation warning, we load those here now so that we can
|
6
|
+
# get rid of that warning.
|
7
|
+
require 'active_support/core_ext/string/strip'
|
8
|
+
require 'active_support/core_ext/string/inflections'
|
9
|
+
require 'active_support/core_ext/array/conversions'
|
10
|
+
# TODO check what this actually does by the time we're going to add support for
|
11
|
+
# other locales.
|
12
|
+
I18n.enforce_available_locales = false
|
13
|
+
|
4
14
|
module Pod
|
5
15
|
require 'pathname'
|
6
16
|
|
@@ -55,3 +65,24 @@ if ENV['COCOA_PODS_ENV'] == 'development'
|
|
55
65
|
# require 'awesome_print'
|
56
66
|
# require 'pry'
|
57
67
|
end
|
68
|
+
|
69
|
+
# TODO remove for CocoaPods 0.31
|
70
|
+
#
|
71
|
+
module Pod
|
72
|
+
class Specification
|
73
|
+
def pre_install(&block)
|
74
|
+
UI.warn "[#{self}] The pre install hook of the specification " \
|
75
|
+
"DSL has been deprecated, use the `resource_bundles` or the " \
|
76
|
+
"`prepare_command` attributes."
|
77
|
+
UI.puts "[#{self}] The pre_install hook will be removed in the next release".red
|
78
|
+
@pre_install_callback = block
|
79
|
+
end
|
80
|
+
def post_install(&block)
|
81
|
+
UI.warn "[#{self}] The post install hook of the specification " \
|
82
|
+
"DSL has been deprecated, use the `resource_bundles` or the " \
|
83
|
+
"`prepare_command` attributes."
|
84
|
+
UI.puts "[#{self}] The post_install hook will be removed in the next release".red
|
85
|
+
@post_install_callback = block
|
86
|
+
end
|
87
|
+
end
|
88
|
+
end
|
data/lib/cocoapods/command.rb
CHANGED
@@ -45,8 +45,8 @@ module Pod
|
|
45
45
|
def self.run(argv)
|
46
46
|
argv = CLAide::ARGV.new(argv)
|
47
47
|
if argv.flag?('version')
|
48
|
-
puts VERSION
|
49
|
-
exit
|
48
|
+
UI.puts VERSION
|
49
|
+
exit 0
|
50
50
|
end
|
51
51
|
super(argv)
|
52
52
|
UI.print_warnings
|
@@ -80,7 +80,7 @@ module Pod
|
|
80
80
|
super
|
81
81
|
config.silent = argv.flag?('silent', config.silent)
|
82
82
|
config.verbose = self.verbose? unless self.verbose.nil?
|
83
|
-
unless self.
|
83
|
+
unless self.ansi_output?
|
84
84
|
String.send(:define_method, :colorize) { |string , _| string }
|
85
85
|
end
|
86
86
|
end
|
@@ -31,12 +31,13 @@ module Pod
|
|
31
31
|
raise Informative, "Existing Podfile found in directory" unless config.podfile.nil?
|
32
32
|
if @project_path
|
33
33
|
help! "Xcode project at #{@project_path} does not exist" unless File.exist? @project_path
|
34
|
+
project_path = @project_path
|
34
35
|
else
|
35
36
|
raise Informative, "No xcode project found, please specify one" unless @project_paths.length > 0
|
36
37
|
raise Informative, "Multiple xcode projects found, please specify one" unless @project_paths.length == 1
|
37
|
-
|
38
|
+
project_path = @project_paths.first
|
38
39
|
end
|
39
|
-
@xcode_project = Xcodeproj::Project.open(
|
40
|
+
@xcode_project = Xcodeproj::Project.open(project_path)
|
40
41
|
end
|
41
42
|
|
42
43
|
def run
|
@@ -51,7 +52,9 @@ module Pod
|
|
51
52
|
# @return [String] the text of the Podfile for the provided project
|
52
53
|
#
|
53
54
|
def podfile_template(project)
|
54
|
-
podfile =
|
55
|
+
podfile = ''
|
56
|
+
podfile << "xcodeproj '#{@project_path}'\n\n" if @project_path
|
57
|
+
podfile << <<-PLATFORM.strip_heredoc
|
55
58
|
# Uncomment this line to define a global platform for your project
|
56
59
|
# platform :ios, "6.0"
|
57
60
|
PLATFORM
|
@@ -10,13 +10,15 @@ module Pod
|
|
10
10
|
self.summary = 'Creates a new Pod'
|
11
11
|
|
12
12
|
self.description = <<-DESC
|
13
|
-
Creates a
|
13
|
+
Creates a scaffold for the development of a new Pod according to the CocoaPods best practices.
|
14
|
+
If a `TEMPLATE_URL`, pointing to a git repo containing a compatible template, is specified, it will be used in place of the default one.
|
14
15
|
DESC
|
15
16
|
|
16
|
-
self.arguments = '[
|
17
|
+
self.arguments = 'NAME [TEMPLATE_URL]'
|
17
18
|
|
18
19
|
def initialize(argv)
|
19
20
|
@name = argv.shift_argument
|
21
|
+
@template_url = argv.shift_argument
|
20
22
|
super
|
21
23
|
end
|
22
24
|
|
@@ -53,7 +55,7 @@ module Pod
|
|
53
55
|
#
|
54
56
|
def clone_template
|
55
57
|
UI.section("Creating `#{@name}` Pod") do
|
56
|
-
git!"clone '#{
|
58
|
+
git!"clone '#{template_repo_url}' #{@name}"
|
57
59
|
end
|
58
60
|
end
|
59
61
|
|
@@ -74,10 +76,17 @@ module Pod
|
|
74
76
|
# @return [void]
|
75
77
|
#
|
76
78
|
def print_info
|
77
|
-
UI.puts "\nTo learn more about the template see `#{
|
79
|
+
UI.puts "\nTo learn more about the template see `#{template_repo_url}`."
|
78
80
|
UI.puts "To learn more about creating a new pod, see `#{CREATE_NEW_POD_INFO_URL}`."
|
79
81
|
end
|
80
82
|
|
83
|
+
# Checks if a template URL is given else returns the TEMPLATE_REPO URL
|
84
|
+
#
|
85
|
+
# @return String
|
86
|
+
#
|
87
|
+
def template_repo_url
|
88
|
+
@template_url || TEMPLATE_REPO
|
89
|
+
end
|
81
90
|
end
|
82
91
|
|
83
92
|
#-----------------------------------------------------------------------#
|
@@ -42,7 +42,6 @@ module Pod
|
|
42
42
|
|
43
43
|
def run
|
44
44
|
validate_podspec_files
|
45
|
-
test_trunk
|
46
45
|
check_repo_status
|
47
46
|
update_repo
|
48
47
|
add_specs_to_repo
|
@@ -58,21 +57,6 @@ module Pod
|
|
58
57
|
extend Executable
|
59
58
|
executable :git
|
60
59
|
|
61
|
-
# @return [void] Silently test the CocoaPods trunk service.
|
62
|
-
#
|
63
|
-
def test_trunk
|
64
|
-
return unless @repo == "master"
|
65
|
-
require 'rest'
|
66
|
-
base_url = 'https://trunk.cocoapods.org/api/v1'
|
67
|
-
podspec_files.each do |spec_file|
|
68
|
-
spec = Pod::Specification.from_file(spec_file)
|
69
|
-
REST.post("#{base_url}/pods", spec.to_json, 'Content-Type' => 'application/json; charset=utf-8',
|
70
|
-
'Authorization' => "Token 9300632274827cd3e6dde24bf9c608c3")
|
71
|
-
end
|
72
|
-
rescue Exception
|
73
|
-
# Nothing
|
74
|
-
end
|
75
|
-
|
76
60
|
# Performs a full lint against the podspecs.
|
77
61
|
#
|
78
62
|
def validate_podspec_files
|
@@ -138,7 +122,7 @@ module Pod
|
|
138
122
|
FileUtils.cp(spec_file, output_path)
|
139
123
|
Dir.chdir(repo_dir) do
|
140
124
|
# only commit if modified
|
141
|
-
if git!("status --porcelain 2>&1")
|
125
|
+
if git!("status --porcelain 2>&1").include?(spec.name)
|
142
126
|
UI.puts " - #{message}"
|
143
127
|
git!("add #{spec.name}")
|
144
128
|
git!("commit --no-verify -m '#{message}'")
|
@@ -19,7 +19,14 @@ module Pod
|
|
19
19
|
|
20
20
|
self.arguments = 'NAME URL [BRANCH]'
|
21
21
|
|
22
|
+
def self.options
|
23
|
+
[
|
24
|
+
["--shallow", "Create a shallow clone (fast clone, but no push capabilities)"],
|
25
|
+
].concat(super)
|
26
|
+
end
|
27
|
+
|
22
28
|
def initialize(argv)
|
29
|
+
@shallow = argv.flag?('shallow', false)
|
23
30
|
@name, @url, @branch = argv.shift_argument, argv.shift_argument, argv.shift_argument
|
24
31
|
super
|
25
32
|
end
|
@@ -32,9 +39,14 @@ module Pod
|
|
32
39
|
end
|
33
40
|
|
34
41
|
def run
|
35
|
-
|
42
|
+
prefix = @shallow ? 'Creating shallow clone of' : 'Cloning'
|
43
|
+
UI.section("#{prefix} spec repo `#{@name}` from `#{@url}`#{" (branch `#{@branch}`)" if @branch}") do
|
36
44
|
config.repos_dir.mkpath
|
37
|
-
Dir.chdir(config.repos_dir)
|
45
|
+
Dir.chdir(config.repos_dir) do
|
46
|
+
command = "clone '#{@url}' #{@name}"
|
47
|
+
command << ' --depth=1' if @shallow
|
48
|
+
git!(command)
|
49
|
+
end
|
38
50
|
Dir.chdir(dir) { git!("checkout #{@branch}") } if @branch
|
39
51
|
SourcesManager.check_version_information(dir)
|
40
52
|
end
|
@@ -151,6 +163,8 @@ module Pod
|
|
151
163
|
super
|
152
164
|
help! 'Deleting a repo needs a `NAME`.' unless @name
|
153
165
|
help! "repo #{@name} does not exist" unless File.directory?(dir)
|
166
|
+
help! "You do not have permission to delete the #{@name} repository." \
|
167
|
+
"Perhaps try prefixing this command with sudo." unless File.writable?(dir)
|
154
168
|
end
|
155
169
|
|
156
170
|
def run
|
@@ -9,7 +9,7 @@ module Pod
|
|
9
9
|
description of the pods.
|
10
10
|
DESC
|
11
11
|
|
12
|
-
self.arguments = '
|
12
|
+
self.arguments = 'QUERY'
|
13
13
|
|
14
14
|
def self.options
|
15
15
|
[
|
@@ -35,6 +35,14 @@ module Pod
|
|
35
35
|
def validate!
|
36
36
|
super
|
37
37
|
help! "A search query is required." unless @query
|
38
|
+
|
39
|
+
unless @web
|
40
|
+
begin
|
41
|
+
/#{@query.join(' ').strip}/
|
42
|
+
rescue RegexpError
|
43
|
+
help! "A valid regular expression is required."
|
44
|
+
end
|
45
|
+
end
|
38
46
|
end
|
39
47
|
|
40
48
|
def run
|
@@ -50,11 +58,11 @@ module Pod
|
|
50
58
|
|
51
59
|
def web_search
|
52
60
|
query_parameter = [
|
53
|
-
('on
|
54
|
-
('on
|
61
|
+
('on:osx' if @supported_on_osx),
|
62
|
+
('on:ios' if @supported_on_ios),
|
55
63
|
@query
|
56
|
-
].compact.flatten.join('
|
57
|
-
url = "http://cocoapods.org/?q=#{query_parameter}"
|
64
|
+
].compact.flatten.join(' ')
|
65
|
+
url = "http://cocoapods.org/?q=#{CGI.escape(query_parameter).gsub("+", "%20")}"
|
58
66
|
UI.puts("Opening #{url}")
|
59
67
|
open!(url)
|
60
68
|
end
|
@@ -15,14 +15,18 @@ module Pod
|
|
15
15
|
DESC
|
16
16
|
|
17
17
|
def self.options
|
18
|
-
[
|
18
|
+
[
|
19
|
+
["--no-shallow", "Clone full history so push will work"],
|
20
|
+
["--push", "Use this option to enable push access once granted"],
|
21
|
+
].concat(super)
|
19
22
|
end
|
20
23
|
|
21
24
|
extend Executable
|
22
25
|
executable :git
|
23
26
|
|
24
27
|
def initialize(argv)
|
25
|
-
@push_option
|
28
|
+
@push_option = argv.flag?('push')
|
29
|
+
@shallow = argv.flag?('shallow', !@push_option)
|
26
30
|
super
|
27
31
|
end
|
28
32
|
|
@@ -77,7 +81,9 @@ module Pod
|
|
77
81
|
# @return [void]
|
78
82
|
#
|
79
83
|
def add_master_repo
|
80
|
-
|
84
|
+
cmd = ['master', url, 'master']
|
85
|
+
cmd << '--shallow' if @shallow
|
86
|
+
Repo::Add.parse(cmd).run
|
81
87
|
end
|
82
88
|
|
83
89
|
# Updates the master repo against the remote.
|
@@ -109,7 +115,7 @@ module Pod
|
|
109
115
|
# be enabled.
|
110
116
|
#
|
111
117
|
def url
|
112
|
-
|
118
|
+
push? ? read_write_url : read_only_url
|
113
119
|
end
|
114
120
|
|
115
121
|
# @return [String] the read only url of the master repo.
|
@@ -207,7 +207,7 @@ module Pod
|
|
207
207
|
get_path_of_spec(@spec)
|
208
208
|
end
|
209
209
|
|
210
|
-
UI.puts File.
|
210
|
+
UI.puts File.read(filepath)
|
211
211
|
end
|
212
212
|
end
|
213
213
|
|
@@ -485,21 +485,24 @@ Pod::Spec.new do |s|
|
|
485
485
|
# Popular ones are 'MIT', 'BSD' and 'Apache License, Version 2.0'.
|
486
486
|
#
|
487
487
|
|
488
|
-
s.license =
|
489
|
-
# s.license = { :type =>
|
488
|
+
s.license = "MIT (example)"
|
489
|
+
# s.license = { :type => "MIT", :file => "FILE_LICENSE" }
|
490
490
|
|
491
491
|
|
492
492
|
# ――― Author Metadata ――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
|
493
493
|
#
|
494
494
|
# Specify the authors of the library, with email addresses. Email addresses
|
495
|
-
# of the authors
|
496
|
-
#
|
495
|
+
# of the authors are extracted from the SCM log. E.g. $ git log. CocoaPods also
|
496
|
+
# accepts just a name if you'd rather not provide an email address.
|
497
497
|
#
|
498
|
-
|
498
|
+
# Specify a social_media_url where others can refer to, for example a twitter
|
499
|
+
# profile URL.
|
500
|
+
#
|
501
|
+
|
499
502
|
s.author = { "#{data[:author_name]}" => "#{data[:author_email]}" }
|
500
|
-
# s.
|
501
|
-
# s.
|
502
|
-
# s.social_media_url
|
503
|
+
# Or just: s.author = "#{data[:author_name]}"
|
504
|
+
# s.authors = { "#{data[:author_name]}" => "#{data[:author_email]}" }
|
505
|
+
# s.social_media_url = "http://twitter.com/#{data[:author_name]}"
|
503
506
|
|
504
507
|
# ――― Platform Specifics ――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
|
505
508
|
#
|
@@ -508,11 +511,11 @@ Pod::Spec.new do |s|
|
|
508
511
|
#
|
509
512
|
|
510
513
|
# s.platform = :ios
|
511
|
-
# s.platform = :ios,
|
514
|
+
# s.platform = :ios, "5.0"
|
512
515
|
|
513
516
|
# When using multiple platforms
|
514
|
-
# s.ios.deployment_target =
|
515
|
-
# s.osx.deployment_target =
|
517
|
+
# s.ios.deployment_target = "5.0"
|
518
|
+
# s.osx.deployment_target = "10.7"
|
516
519
|
|
517
520
|
|
518
521
|
# ――― Source Location ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
|
@@ -532,10 +535,10 @@ Pod::Spec.new do |s|
|
|
532
535
|
# Not including the public_header_files will make all headers public.
|
533
536
|
#
|
534
537
|
|
535
|
-
s.source_files =
|
536
|
-
s.exclude_files =
|
538
|
+
s.source_files = "Classes", "Classes/**/*.{h,m}"
|
539
|
+
s.exclude_files = "Classes/Exclude"
|
537
540
|
|
538
|
-
# s.public_header_files =
|
541
|
+
# s.public_header_files = "Classes/**/*.h"
|
539
542
|
|
540
543
|
|
541
544
|
# ――― Resources ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
|
@@ -558,11 +561,11 @@ Pod::Spec.new do |s|
|
|
558
561
|
# the lib prefix of their name.
|
559
562
|
#
|
560
563
|
|
561
|
-
# s.framework =
|
562
|
-
# s.frameworks =
|
564
|
+
# s.framework = "SomeFramework"
|
565
|
+
# s.frameworks = "SomeFramework", "AnotherFramework"
|
563
566
|
|
564
|
-
# s.library =
|
565
|
-
# s.libraries =
|
567
|
+
# s.library = "iconv"
|
568
|
+
# s.libraries = "iconv", "xml2"
|
566
569
|
|
567
570
|
|
568
571
|
# ――― Project Settings ――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
|
@@ -573,8 +576,8 @@ Pod::Spec.new do |s|
|
|
573
576
|
|
574
577
|
# s.requires_arc = true
|
575
578
|
|
576
|
-
# s.xcconfig = {
|
577
|
-
# s.dependency
|
579
|
+
# s.xcconfig = { "HEADER_SEARCH_PATHS" => "$(SDKROOT)/usr/include/libxml2" }
|
580
|
+
# s.dependency "JSONKit", "~> 1.4"
|
578
581
|
|
579
582
|
end
|
580
583
|
SPEC
|
@@ -378,7 +378,7 @@ module Pod
|
|
378
378
|
pathname = Pathname.new(absolute_path)
|
379
379
|
|
380
380
|
unless pathname.exist?
|
381
|
-
raise Informative, "No podspec found for `#{name}` in `#{
|
381
|
+
raise Informative, "No podspec found for `#{name}` in `#{declared_path}`"
|
382
382
|
end
|
383
383
|
pathname
|
384
384
|
end
|
data/lib/cocoapods/installer.rb
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
require 'active_support/core_ext/string/inflections'
|
2
|
+
|
1
3
|
module Pod
|
2
4
|
|
3
5
|
# The Installer is responsible of taking a Podfile and transform it in the
|
@@ -155,15 +157,15 @@ module Pod
|
|
155
157
|
|
156
158
|
# @return [void]
|
157
159
|
#
|
158
|
-
# @note The warning about the version of the Lockfile doesn't
|
160
|
+
# @note The warning about the version of the Lockfile doesn't use the
|
159
161
|
# `UI.warn` method because it prints the output only at the end
|
160
162
|
# of the installation. At that time CocoaPods could have crashed.
|
161
163
|
#
|
162
164
|
def analyze
|
163
165
|
if lockfile && lockfile.cocoapods_version > Version.new(VERSION)
|
164
166
|
STDERR.puts '[!] The version of CocoaPods used to generate the lockfile is '\
|
165
|
-
'higher
|
166
|
-
'issues
|
167
|
+
'higher than the version of the current executable. Incompatibility ' \
|
168
|
+
'issues may arise.'.yellow
|
167
169
|
end
|
168
170
|
|
169
171
|
analyzer = Analyzer.new(sandbox, podfile, lockfile)
|
@@ -206,7 +206,8 @@ module Pod
|
|
206
206
|
end
|
207
207
|
|
208
208
|
if config.new_version_message? && cocoapods_update?(versions)
|
209
|
-
UI.puts "\nCocoaPods #{versions['last']} is available.\n"
|
209
|
+
UI.puts "\nCocoaPods #{versions['last']} is available.\n" \
|
210
|
+
"To update use: [sudo] gem update cocoapods\n".green
|
210
211
|
end
|
211
212
|
end
|
212
213
|
|
data/lib/cocoapods/validator.rb
CHANGED
@@ -60,8 +60,8 @@ module Pod
|
|
60
60
|
# Replace default spec with a subspec if asked for
|
61
61
|
a_spec = spec
|
62
62
|
if spec && @only_subspec
|
63
|
-
|
64
|
-
|
63
|
+
a_spec = spec.subspec_by_name(@only_subspec)
|
64
|
+
@subspec_name = a_spec.name
|
65
65
|
end
|
66
66
|
|
67
67
|
UI.print " -> #{a_spec ? a_spec.name : file.basename}\r" unless config.silent?
|
@@ -392,9 +392,10 @@ module Pod
|
|
392
392
|
end
|
393
393
|
|
394
394
|
# @return [String] Executes xcodebuild in the current working directory and
|
395
|
-
# returns its output (
|
395
|
+
# returns its output (both STDOUT and STDERR).
|
396
396
|
#
|
397
397
|
def xcodebuild
|
398
|
+
UI.puts 'xcodebuild clean build -target Pods' if config.verbose?
|
398
399
|
`xcodebuild clean build -target Pods 2>&1`
|
399
400
|
end
|
400
401
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cocoapods
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.30.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eloy Duran
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2014-03-29 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: cocoapods-core
|
@@ -17,172 +17,172 @@ dependencies:
|
|
17
17
|
requirements:
|
18
18
|
- - '='
|
19
19
|
- !ruby/object:Gem::Version
|
20
|
-
version: 0.
|
20
|
+
version: 0.30.0
|
21
21
|
type: :runtime
|
22
22
|
prerelease: false
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
24
24
|
requirements:
|
25
25
|
- - '='
|
26
26
|
- !ruby/object:Gem::Version
|
27
|
-
version: 0.
|
27
|
+
version: 0.30.0
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
29
|
name: claide
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|
31
31
|
requirements:
|
32
|
-
- - ~>
|
32
|
+
- - "~>"
|
33
33
|
- !ruby/object:Gem::Version
|
34
|
-
version: 0.
|
34
|
+
version: 0.5.0
|
35
35
|
type: :runtime
|
36
36
|
prerelease: false
|
37
37
|
version_requirements: !ruby/object:Gem::Requirement
|
38
38
|
requirements:
|
39
|
-
- - ~>
|
39
|
+
- - "~>"
|
40
40
|
- !ruby/object:Gem::Version
|
41
|
-
version: 0.
|
41
|
+
version: 0.5.0
|
42
42
|
- !ruby/object:Gem::Dependency
|
43
43
|
name: cocoapods-downloader
|
44
44
|
requirement: !ruby/object:Gem::Requirement
|
45
45
|
requirements:
|
46
|
-
- - ~>
|
46
|
+
- - "~>"
|
47
47
|
- !ruby/object:Gem::Version
|
48
|
-
version: 0.
|
48
|
+
version: 0.4.0
|
49
49
|
type: :runtime
|
50
50
|
prerelease: false
|
51
51
|
version_requirements: !ruby/object:Gem::Requirement
|
52
52
|
requirements:
|
53
|
-
- - ~>
|
53
|
+
- - "~>"
|
54
54
|
- !ruby/object:Gem::Version
|
55
|
-
version: 0.
|
55
|
+
version: 0.4.0
|
56
56
|
- !ruby/object:Gem::Dependency
|
57
57
|
name: xcodeproj
|
58
58
|
requirement: !ruby/object:Gem::Requirement
|
59
59
|
requirements:
|
60
|
-
- - ~>
|
60
|
+
- - "~>"
|
61
61
|
- !ruby/object:Gem::Version
|
62
|
-
version: 0.
|
62
|
+
version: 0.15.0
|
63
63
|
type: :runtime
|
64
64
|
prerelease: false
|
65
65
|
version_requirements: !ruby/object:Gem::Requirement
|
66
66
|
requirements:
|
67
|
-
- - ~>
|
67
|
+
- - "~>"
|
68
68
|
- !ruby/object:Gem::Version
|
69
|
-
version: 0.
|
69
|
+
version: 0.15.0
|
70
70
|
- !ruby/object:Gem::Dependency
|
71
|
-
name: cocoapods-try
|
71
|
+
name: cocoapods-try
|
72
72
|
requirement: !ruby/object:Gem::Requirement
|
73
73
|
requirements:
|
74
|
-
- - ~>
|
74
|
+
- - "~>"
|
75
75
|
- !ruby/object:Gem::Version
|
76
|
-
version: 0.
|
76
|
+
version: 0.2.0
|
77
77
|
type: :runtime
|
78
78
|
prerelease: false
|
79
79
|
version_requirements: !ruby/object:Gem::Requirement
|
80
80
|
requirements:
|
81
|
-
- - ~>
|
81
|
+
- - "~>"
|
82
82
|
- !ruby/object:Gem::Version
|
83
|
-
version: 0.
|
83
|
+
version: 0.2.0
|
84
84
|
- !ruby/object:Gem::Dependency
|
85
85
|
name: colored
|
86
86
|
requirement: !ruby/object:Gem::Requirement
|
87
87
|
requirements:
|
88
|
-
- - ~>
|
88
|
+
- - "~>"
|
89
89
|
- !ruby/object:Gem::Version
|
90
90
|
version: '1.2'
|
91
91
|
type: :runtime
|
92
92
|
prerelease: false
|
93
93
|
version_requirements: !ruby/object:Gem::Requirement
|
94
94
|
requirements:
|
95
|
-
- - ~>
|
95
|
+
- - "~>"
|
96
96
|
- !ruby/object:Gem::Version
|
97
97
|
version: '1.2'
|
98
98
|
- !ruby/object:Gem::Dependency
|
99
99
|
name: escape
|
100
100
|
requirement: !ruby/object:Gem::Requirement
|
101
101
|
requirements:
|
102
|
-
- - ~>
|
102
|
+
- - "~>"
|
103
103
|
- !ruby/object:Gem::Version
|
104
104
|
version: 0.0.4
|
105
105
|
type: :runtime
|
106
106
|
prerelease: false
|
107
107
|
version_requirements: !ruby/object:Gem::Requirement
|
108
108
|
requirements:
|
109
|
-
- - ~>
|
109
|
+
- - "~>"
|
110
110
|
- !ruby/object:Gem::Version
|
111
111
|
version: 0.0.4
|
112
112
|
- !ruby/object:Gem::Dependency
|
113
113
|
name: json_pure
|
114
114
|
requirement: !ruby/object:Gem::Requirement
|
115
115
|
requirements:
|
116
|
-
- - ~>
|
116
|
+
- - "~>"
|
117
117
|
- !ruby/object:Gem::Version
|
118
118
|
version: '1.8'
|
119
119
|
type: :runtime
|
120
120
|
prerelease: false
|
121
121
|
version_requirements: !ruby/object:Gem::Requirement
|
122
122
|
requirements:
|
123
|
-
- - ~>
|
123
|
+
- - "~>"
|
124
124
|
- !ruby/object:Gem::Version
|
125
125
|
version: '1.8'
|
126
126
|
- !ruby/object:Gem::Dependency
|
127
127
|
name: open4
|
128
128
|
requirement: !ruby/object:Gem::Requirement
|
129
129
|
requirements:
|
130
|
-
- - ~>
|
130
|
+
- - "~>"
|
131
131
|
- !ruby/object:Gem::Version
|
132
132
|
version: '1.3'
|
133
133
|
type: :runtime
|
134
134
|
prerelease: false
|
135
135
|
version_requirements: !ruby/object:Gem::Requirement
|
136
136
|
requirements:
|
137
|
-
- - ~>
|
137
|
+
- - "~>"
|
138
138
|
- !ruby/object:Gem::Version
|
139
139
|
version: '1.3'
|
140
140
|
- !ruby/object:Gem::Dependency
|
141
141
|
name: activesupport
|
142
142
|
requirement: !ruby/object:Gem::Requirement
|
143
143
|
requirements:
|
144
|
-
- -
|
144
|
+
- - ">="
|
145
145
|
- !ruby/object:Gem::Version
|
146
146
|
version: 3.2.15
|
147
|
-
- - <
|
147
|
+
- - "<"
|
148
148
|
- !ruby/object:Gem::Version
|
149
149
|
version: '4'
|
150
150
|
type: :runtime
|
151
151
|
prerelease: false
|
152
152
|
version_requirements: !ruby/object:Gem::Requirement
|
153
153
|
requirements:
|
154
|
-
- -
|
154
|
+
- - ">="
|
155
155
|
- !ruby/object:Gem::Version
|
156
156
|
version: 3.2.15
|
157
|
-
- - <
|
157
|
+
- - "<"
|
158
158
|
- !ruby/object:Gem::Version
|
159
159
|
version: '4'
|
160
160
|
- !ruby/object:Gem::Dependency
|
161
161
|
name: nap
|
162
162
|
requirement: !ruby/object:Gem::Requirement
|
163
163
|
requirements:
|
164
|
-
- - ~>
|
164
|
+
- - "~>"
|
165
165
|
- !ruby/object:Gem::Version
|
166
166
|
version: '0.5'
|
167
167
|
type: :runtime
|
168
168
|
prerelease: false
|
169
169
|
version_requirements: !ruby/object:Gem::Requirement
|
170
170
|
requirements:
|
171
|
-
- - ~>
|
171
|
+
- - "~>"
|
172
172
|
- !ruby/object:Gem::Version
|
173
173
|
version: '0.5'
|
174
174
|
- !ruby/object:Gem::Dependency
|
175
175
|
name: bacon
|
176
176
|
requirement: !ruby/object:Gem::Requirement
|
177
177
|
requirements:
|
178
|
-
- - ~>
|
178
|
+
- - "~>"
|
179
179
|
- !ruby/object:Gem::Version
|
180
180
|
version: '1.1'
|
181
181
|
type: :development
|
182
182
|
prerelease: false
|
183
183
|
version_requirements: !ruby/object:Gem::Requirement
|
184
184
|
requirements:
|
185
|
-
- - ~>
|
185
|
+
- - "~>"
|
186
186
|
- !ruby/object:Gem::Version
|
187
187
|
version: '1.1'
|
188
188
|
description: |-
|
@@ -200,6 +200,13 @@ executables:
|
|
200
200
|
extensions: []
|
201
201
|
extra_rdoc_files: []
|
202
202
|
files:
|
203
|
+
- CHANGELOG.md
|
204
|
+
- LICENSE
|
205
|
+
- README.md
|
206
|
+
- bin/pod
|
207
|
+
- bin/sandbox-pod
|
208
|
+
- lib/cocoapods.rb
|
209
|
+
- lib/cocoapods/command.rb
|
203
210
|
- lib/cocoapods/command/help.rb
|
204
211
|
- lib/cocoapods/command/init.rb
|
205
212
|
- lib/cocoapods/command/inter_process_communication.rb
|
@@ -212,138 +219,84 @@ files:
|
|
212
219
|
- lib/cocoapods/command/search.rb
|
213
220
|
- lib/cocoapods/command/setup.rb
|
214
221
|
- lib/cocoapods/command/spec.rb
|
215
|
-
- lib/cocoapods/command.rb
|
216
222
|
- lib/cocoapods/config.rb
|
217
223
|
- lib/cocoapods/downloader.rb
|
218
224
|
- lib/cocoapods/executable.rb
|
219
225
|
- lib/cocoapods/external_sources.rb
|
220
226
|
- lib/cocoapods/gem_version.rb
|
227
|
+
- lib/cocoapods/generator/acknowledgements.rb
|
221
228
|
- lib/cocoapods/generator/acknowledgements/markdown.rb
|
222
229
|
- lib/cocoapods/generator/acknowledgements/plist.rb
|
223
|
-
- lib/cocoapods/generator/acknowledgements.rb
|
224
230
|
- lib/cocoapods/generator/bridge_support.rb
|
225
231
|
- lib/cocoapods/generator/copy_resources_script.rb
|
226
232
|
- lib/cocoapods/generator/dummy_source.rb
|
227
233
|
- lib/cocoapods/generator/prefix_header.rb
|
228
234
|
- lib/cocoapods/generator/target_environment_header.rb
|
235
|
+
- lib/cocoapods/generator/xcconfig.rb
|
229
236
|
- lib/cocoapods/generator/xcconfig/aggregate_xcconfig.rb
|
230
237
|
- lib/cocoapods/generator/xcconfig/private_pod_xcconfig.rb
|
231
238
|
- lib/cocoapods/generator/xcconfig/public_pod_xcconfig.rb
|
232
239
|
- lib/cocoapods/generator/xcconfig/xcconfig_helper.rb
|
233
|
-
- lib/cocoapods/generator/xcconfig.rb
|
234
240
|
- lib/cocoapods/hooks/installer_representation.rb
|
235
241
|
- lib/cocoapods/hooks/library_representation.rb
|
236
242
|
- lib/cocoapods/hooks/pod_representation.rb
|
237
|
-
- lib/cocoapods/installer
|
243
|
+
- lib/cocoapods/installer.rb
|
238
244
|
- lib/cocoapods/installer/analyzer.rb
|
245
|
+
- lib/cocoapods/installer/analyzer/sandbox_analyzer.rb
|
239
246
|
- lib/cocoapods/installer/file_references_installer.rb
|
240
247
|
- lib/cocoapods/installer/pod_source_installer.rb
|
248
|
+
- lib/cocoapods/installer/target_installer.rb
|
241
249
|
- lib/cocoapods/installer/target_installer/aggregate_target_installer.rb
|
242
250
|
- lib/cocoapods/installer/target_installer/pod_target_installer.rb
|
243
|
-
- lib/cocoapods/installer/target_installer.rb
|
244
|
-
- lib/cocoapods/installer/user_project_integrator/target_integrator.rb
|
245
251
|
- lib/cocoapods/installer/user_project_integrator.rb
|
246
|
-
- lib/cocoapods/installer.rb
|
252
|
+
- lib/cocoapods/installer/user_project_integrator/target_integrator.rb
|
247
253
|
- lib/cocoapods/open_uri.rb
|
248
254
|
- lib/cocoapods/project.rb
|
249
255
|
- lib/cocoapods/resolver.rb
|
256
|
+
- lib/cocoapods/sandbox.rb
|
250
257
|
- lib/cocoapods/sandbox/file_accessor.rb
|
251
258
|
- lib/cocoapods/sandbox/headers_store.rb
|
252
259
|
- lib/cocoapods/sandbox/path_list.rb
|
253
|
-
- lib/cocoapods/sandbox.rb
|
254
260
|
- lib/cocoapods/sources_manager.rb
|
261
|
+
- lib/cocoapods/target.rb
|
255
262
|
- lib/cocoapods/target/aggregate_target.rb
|
256
263
|
- lib/cocoapods/target/pod_target.rb
|
257
|
-
- lib/cocoapods/target.rb
|
258
|
-
- lib/cocoapods/user_interface/error_report.rb
|
259
264
|
- lib/cocoapods/user_interface.rb
|
265
|
+
- lib/cocoapods/user_interface/error_report.rb
|
260
266
|
- lib/cocoapods/validator.rb
|
261
|
-
- lib/cocoapods.rb
|
262
|
-
- bin/pod
|
263
|
-
- bin/sandbox-pod
|
264
|
-
- README.md
|
265
|
-
- LICENSE
|
266
|
-
- CHANGELOG.md
|
267
267
|
homepage: https://github.com/CocoaPods/CocoaPods
|
268
268
|
licenses:
|
269
269
|
- MIT
|
270
270
|
metadata: {}
|
271
|
-
post_install_message: "\nCHANGELOG:\n\n## 0.
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
\ [
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
navigator, and never under the\n user target. \n [Swizzlr](https://github.com/swizzlr)\n
|
285
|
-
\ [#1596](https://github.com/CocoaPods/CocoaPods/pull/1596)\n\n* Support LZMA2 compressed
|
286
|
-
tarballs in the downloader. \n [Kyle Fuller](https://github.com/kylef)\n [cocoapods-downloader#5](https://github.com/CocoaPods/cocoapods-downloader/pull/5)\n\n*
|
287
|
-
Add Bazaar support for installing directly from a repo. \n [Fred McCann](https://github.com/fmccann)\n
|
288
|
-
\ [#1632](https://github.com/CocoaPods/CocoaPods/pull/1632)\n\n* The `pod search
|
289
|
-
<query>` command now supports regular expressions\n for the query parameter when
|
290
|
-
searching using the option `--full`. \n [Florian Hanke](https://github.com/floere)\n
|
291
|
-
\ [#1643](https://github.com/CocoaPods/CocoaPods/pull/1643)\n\n* Pod lib lint now
|
292
|
-
accepts multiple podspecs in the same folder. \n [kra Larivain/OpenTable](https://github.com/opentable)\n
|
293
|
-
\ [#1635](https://github.com/CocoaPods/CocoaPods/pull/1635)\n\n* The `pod push`
|
294
|
-
command will now silently test the upcoming CocoaPods trunk\n service. The service
|
295
|
-
is only tested when pushing to the master repo and the\n test doesn't affect the
|
296
|
-
normal workflow. \n [Fabio Pelosin](https://github.com/irrationalfab)\n\n* The
|
297
|
-
`pod search <query>` command now supports searching on cocoapods.org\n when searching
|
298
|
-
using the option `--web`. Options `--ios` and `--osx` are\n fully supported.\n
|
299
|
-
\ [Florian Hanke](https://github.com/floere)\n [#1643](https://github.com/CocoaPods/CocoaPods/pull/1682)\n\n*
|
300
|
-
The `pod search <query>` command now supports multiword queries when using\n the
|
301
|
-
`--web` option.\n [Florian Hanke](https://github.com/floere)\n [#1643](https://github.com/CocoaPods/CocoaPods/pull/1682)\n\n######
|
302
|
-
Bug Fixes\n\n* Fixed a bug which resulted in `pod lib lint` not being able to find
|
303
|
-
the\n headers. \n [Fabio Pelosin](https://github.com/irrationalfab)\n [#1566](https://github.com/CocoaPods/CocoaPods/issues/1566)\n\n*
|
304
|
-
Fixed the developer frameworks search paths so that\n `$(SDKROOT)/Developer/Library/Frameworks`
|
305
|
-
is used for iOS and\n `$(DEVELOPER_LIBRARY_DIR)/Frameworks` is used for OS X. \n
|
306
|
-
\ [Kevin Wales](https://github.com/kwales)\n [#1562](https://github.com/CocoaPods/CocoaPods/pull/1562)\n\n*
|
307
|
-
When updating the pod repos, repositories with unreachable remotes\n are now ignored.
|
308
|
-
This fixes an issue with certain private repositories. \n [Joshua Kalpin](https://github.com/Kapin)\n
|
309
|
-
\ [#1595](https://github.com/CocoaPods/CocoaPods/pull/1595)\n [#1571](https://github.com/CocoaPods/CocoaPods/issues/1571)\n\n*
|
310
|
-
The linter will now display an error if a Pod's name contains whitespace. \n [Joshua
|
311
|
-
Kalpin](https://github.com/Kapin)\n [Core#39](https://github.com/CocoaPods/Core/pull/39)\n
|
312
|
-
\ [#1610](https://github.com/CocoaPods/CocoaPods/issues/1610)\n \n* Having the
|
313
|
-
silent flag enabled in the config will no longer cause issues\n with `pod search`.
|
314
|
-
In addition, the flag `--silent` is no longer supported\n for the command. \n
|
315
|
-
\ [Joshua Kalpin](https://github.com/Kapin)\n [#1627](https://github.com/CocoaPods/CocoaPods/pull/1627)\n\n*
|
316
|
-
The linter will now display an error if a framework ends with `.framework`\n (i.e.
|
317
|
-
`QuartzCore.framework`). \n [Joshua Kalpin](https://github.com/Kapin)\n [#1331](https://github.com/CocoaPods/CocoaPods/issues/1336)\n
|
318
|
-
\ [Core#45](https://github.com/CocoaPods/Core/pull/45)\n\n* The linter will now
|
319
|
-
display an error if a library ends with `.a` or `.dylib`\n (i.e. `z.dylib`). It
|
320
|
-
will also display an error if it begins with `lib`\n (i.e. `libxml`). \n [Joshua
|
321
|
-
Kalpin](https://github.com/Kapin)\n [Core#44](https://github.com/CocoaPods/Core/issues/44)\n\n*
|
322
|
-
The ARCHS build setting can come back as an array when more than one\n architecture
|
323
|
-
is specified. \n [Carson McDonald](https://github.com/carsonmcdonald)\n [#1628](https://github.com/CocoaPods/CocoaPods/issues/1628)\n\n*
|
324
|
-
Fixed all issues caused by `/tmp` being a symlink to `/private/tmp`. \n This affected
|
325
|
-
mostly `pod lib lint`, causing it to fail when the \n Pod used `prefix_header_*`
|
326
|
-
or when the pod headers imported headers \n using the namespaced syntax (e.g. `#import
|
327
|
-
<MyPod/Header.h>`). \n [kra Larivain/OpenTable](https://github.com/opentable)\n
|
328
|
-
\ [#1514](https://github.com/CocoaPods/CocoaPods/pull/1514)\n\n* Fixed an incorrect
|
329
|
-
path being used in the example app Podfile generated by\n `pod lib create`.\n [Eloy
|
330
|
-
Durán](https://github.com/alloy)\n [cocoapods-try#5](https://github.com/CocoaPods/cocoapods-try/issues/5)\n\n\n"
|
271
|
+
post_install_message: "\nCHANGELOG:\n\n## 0.30.0\n[CocoaPods](https://github.com/jverkoey/CocoaPods/compare/0.29.0...0.30.0)\n\n######
|
272
|
+
Enhancements\n\n* Radically reduce first run pod setup bandwidth by creating a shallow
|
273
|
+
clone of\n the ‘master’ repo by default. Use the `--no-shallow` option to perform
|
274
|
+
a full\n clone instead. \n [Jeff Verkoeyen](https://github.com/jverkoey)\n [#1803](https://github.com/CocoaPods/CocoaPods/pull/1803)\n\n*
|
275
|
+
Improves the error message when searching with an invalid regular expression. \n
|
276
|
+
\ [Kyle Fuller](https://github.com/kylef)\n\n* Improves `pod init` to save Xcode
|
277
|
+
project file in Podfile when one was supplied. \n [Kyle Fuller](https://github.com/kylef)\n\n*
|
278
|
+
Adds functionality to specify a template URL for the `pod lib create` command. \n
|
279
|
+
\ [Piet Brauer](https://github.com/pietbrauer)\n\n###### Bug Fixes\n\n* Fixes a
|
280
|
+
bug with `pod repo remove` silently handling permission errors. \n [Kyle Fuller](https://github.com/kylef)\n
|
281
|
+
\ #1778\n\n* `pod push` now properly checks that the repo has changed before attempting\n
|
282
|
+
\ to commit. This only affected pods with special characters (such as `+`) in\n
|
283
|
+
\ their names. \n [Gordon Fontenot](https://github.com/gfontenot)\n [#1739](https://github.com/CocoaPods/CocoaPods/pull/1739)\n\n\n"
|
331
284
|
rdoc_options: []
|
332
285
|
require_paths:
|
333
286
|
- lib
|
334
287
|
required_ruby_version: !ruby/object:Gem::Requirement
|
335
288
|
requirements:
|
336
|
-
- -
|
289
|
+
- - ">="
|
337
290
|
- !ruby/object:Gem::Version
|
338
291
|
version: 1.8.7
|
339
292
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
340
293
|
requirements:
|
341
|
-
- -
|
294
|
+
- - ">="
|
342
295
|
- !ruby/object:Gem::Version
|
343
296
|
version: '0'
|
344
297
|
requirements: []
|
345
298
|
rubyforge_project:
|
346
|
-
rubygems_version: 2.
|
299
|
+
rubygems_version: 2.2.2
|
347
300
|
signing_key:
|
348
301
|
specification_version: 3
|
349
302
|
summary: An Objective-C library package manager.
|