Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
C
cocoapods
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gengmeiios
cocoapods
Commits
85a078dc
Commit
85a078dc
authored
Nov 11, 2013
by
Orta Therox
Browse files
Options
Browse Files
Download
Plain Diff
merge
parents
65cbcce2
525180c8
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
26 additions
and
13 deletions
+26
-13
CHANGELOG.md
CHANGELOG.md
+4
-0
Gemfile.lock
Gemfile.lock
+9
-6
command.rb
lib/cocoapods/command.rb
+1
-0
lib.rb
lib/cocoapods/command/lib.rb
+11
-6
validator.rb
lib/cocoapods/validator.rb
+1
-1
No files found.
CHANGELOG.md
View file @
85a078dc
...
@@ -50,6 +50,10 @@ To install or update CocoaPods see this [guide](http://docs.cocoapods.org/guides
...
@@ -50,6 +50,10 @@ To install or update CocoaPods see this [guide](http://docs.cocoapods.org/guides
[
orta
](
http://orta.github.io
)
[
orta
](
http://orta.github.io
)
[
#1561
](
https://github.com/CocoaPods/CocoaPods/pull/1561
)
[
#1561
](
https://github.com/CocoaPods/CocoaPods/pull/1561
)
*
Vendored Libraries and Vendored Frameworks now have their paths validated correctly.
[
Joshua Kalpin
](
https://github.com/Kapin
)
[
#1567
](
https://github.com/CocoaPods/CocoaPods/pull/1567
)
## 0.27.1
## 0.27.1
[
CocoaPods
](
https://github.com/CocoaPods/CocoaPods/compare/0.26.2...0.27.1
)
[
CocoaPods
](
https://github.com/CocoaPods/CocoaPods/compare/0.26.2...0.27.1
)
...
...
Gemfile.lock
View file @
85a078dc
GIT
GIT
remote: https://github.com/CocoaPods/CLAide.git
remote: https://github.com/CocoaPods/CLAide.git
revision:
7fae7e88dea3cb93748e0c5356e5a0314c8cca7a
revision:
2de0aea368f02407540138bb3ec284b88fbde2ce
branch: master
branch: master
specs:
specs:
claide (0.3.2)
claide (0.3.2)
GIT
GIT
remote: https://github.com/CocoaPods/Core.git
remote: https://github.com/CocoaPods/Core.git
revision:
77399f24469bee9a6f196914b538e4c51cb8ca37
revision:
a777f7fb09d486ef54bfd1a1c14adc7e4380c50c
branch: master
branch: master
specs:
specs:
cocoapods-core (0.27.1)
cocoapods-core (0.27.1)
activesupport (>= 3.2.15, < 4)
activesupport (>= 3.2.15, < 4)
json_pure (~> 1.8)
fuzzy_match (~> 2.0.4)
json (~> 1.8)
nap (~> 0.5)
nap (~> 0.5)
GIT
GIT
...
@@ -27,7 +28,7 @@ GIT
...
@@ -27,7 +28,7 @@ GIT
GIT
GIT
remote: https://github.com/CocoaPods/cocoapods-downloader.git
remote: https://github.com/CocoaPods/cocoapods-downloader.git
revision:
899f3face9d432b4084e78842776e249b77a1b8a
revision:
b3a95be1468bd6d8a46a82a027460965581e2c21
branch: master
branch: master
specs:
specs:
cocoapods-downloader (0.2.0)
cocoapods-downloader (0.2.0)
...
@@ -81,8 +82,10 @@ GEM
...
@@ -81,8 +82,10 @@ GEM
diffy (3.0.1)
diffy (3.0.1)
escape (0.0.4)
escape (0.0.4)
ffi (1.9.3)
ffi (1.9.3)
fuzzy_match (2.0.4)
github-markup (0.7.5)
github-markup (0.7.5)
i18n (0.6.5)
i18n (0.6.5)
json (1.8.1)
json_pure (1.8.1)
json_pure (1.8.1)
listen (1.1.6)
listen (1.1.6)
rb-fsevent (>= 0.9.3)
rb-fsevent (>= 0.9.3)
...
@@ -103,7 +106,7 @@ GEM
...
@@ -103,7 +106,7 @@ GEM
coderay (~> 1.0.5)
coderay (~> 1.0.5)
method_source (~> 0.8)
method_source (~> 0.8)
slop (~> 3.4)
slop (~> 3.4)
pygments.rb (0.5.
2
)
pygments.rb (0.5.
4
)
posix-spawn (~> 0.3.6)
posix-spawn (~> 0.3.6)
yajl-ruby (~> 1.1.0)
yajl-ruby (~> 1.1.0)
rake (10.1.0)
rake (10.1.0)
...
@@ -126,7 +129,7 @@ GEM
...
@@ -126,7 +129,7 @@ GEM
thor (0.18.1)
thor (0.18.1)
tins (0.12.0)
tins (0.12.0)
yajl-ruby (1.1.0)
yajl-ruby (1.1.0)
yard (0.8.7.
2
)
yard (0.8.7.
3
)
PLATFORMS
PLATFORMS
ruby
ruby
...
...
lib/cocoapods/command.rb
View file @
85a078dc
...
@@ -26,6 +26,7 @@ module Pod
...
@@ -26,6 +26,7 @@ module Pod
self
.
default_subcommand
=
'install'
self
.
default_subcommand
=
'install'
self
.
command
=
'pod'
self
.
command
=
'pod'
self
.
description
=
'CocoaPods, the Objective-C library package manager.'
self
.
description
=
'CocoaPods, the Objective-C library package manager.'
self
.
plugin_prefix
=
'cocoapods'
def
self
.
options
def
self
.
options
[
[
...
...
lib/cocoapods/command/lib.rb
View file @
85a078dc
...
@@ -113,16 +113,21 @@ module Pod
...
@@ -113,16 +113,21 @@ module Pod
validator
.
only_errors
=
@only_errors
validator
.
only_errors
=
@only_errors
validator
.
validate
validator
.
validate
if
validator
.
validated?
UI
.
puts
"
#{
validator
.
spec
.
name
}
passed validation."
.
green
else
raise
Informative
,
"
#{
validator
.
spec
.
name
}
did not pass validation."
end
unless
@clean
unless
@clean
UI
.
puts
"Pods project available at `
#{
validator
.
validation_dir
}
/Pods/Pods.xcodeproj` for inspection."
UI
.
puts
"Pods project available at `
#{
validator
.
validation_dir
}
/Pods/Pods.xcodeproj` for inspection."
UI
.
puts
UI
.
puts
end
end
if
validator
.
validated?
UI
.
puts
"
#{
validator
.
spec
.
name
}
passed validation."
.
green
else
message
=
"
#{
validator
.
spec
.
name
}
did not pass validation."
if
@clean
message
<<
"
\n
You can use the `--no-clean` option to inspect "
\
"any issue."
end
raise
Informative
,
message
end
end
end
private
private
...
...
lib/cocoapods/validator.rb
View file @
85a078dc
...
@@ -250,7 +250,7 @@ module Pod
...
@@ -250,7 +250,7 @@ module Pod
# @return [void]
# @return [void]
#
#
def
check_file_patterns
def
check_file_patterns
[
:source_files
,
:resources
,
:preserve_paths
].
each
do
|
attr_name
|
[
:source_files
,
:resources
,
:preserve_paths
,
:vendored_libraries
,
:vendored_frameworks
].
each
do
|
attr_name
|
# file_attr = Specification::DSL.attributes.values.find{|attr| attr.name == attr_name }
# file_attr = Specification::DSL.attributes.values.find{|attr| attr.name == attr_name }
if
!
file_accessor
.
spec_consumer
.
send
(
attr_name
).
empty?
&&
file_accessor
.
send
(
attr_name
).
empty?
if
!
file_accessor
.
spec_consumer
.
send
(
attr_name
).
empty?
&&
file_accessor
.
send
(
attr_name
).
empty?
error
"The `
#{
attr_name
}
` pattern did not match any file."
error
"The `
#{
attr_name
}
` pattern did not match any file."
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment