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
57fb7838
Commit
57fb7838
authored
Feb 19, 2013
by
Fabio Pelosin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove old todos
parent
1546afe6
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
15 deletions
+7
-15
spec.rb
lib/cocoapods/command/spec.rb
+6
-8
copy_resources_script.rb
lib/cocoapods/generator/copy_resources_script.rb
+1
-1
xcconfig.rb
lib/cocoapods/generator/xcconfig.rb
+0
-1
file_references_installer.rb
lib/cocoapods/installer/file_references_installer.rb
+0
-3
integration_spec.rb
spec/integration_spec.rb
+0
-2
No files found.
lib/cocoapods/command/spec.rb
View file @
57fb7838
...
...
@@ -262,7 +262,8 @@ module Pod
#-----------------------------------------------------------------------#
# TODO some of the following methods can probably move to one of the subclasses.
# @todo some of the following methods can probably move to one of the
# subclasses.
private
...
...
@@ -345,8 +346,6 @@ module Pod
return
best_source
.
specification
(
set
.
name
,
best_version
),
best_source
end
def
podspecs_to_lint
@podspecs_to_lint
||=
begin
files
=
[]
...
...
@@ -380,11 +379,10 @@ module Pod
#--------------------------------------#
# Templates and github information retrieval for spec create
# TODO it would be nice to have a template class that accepts options and
# uses the default ones if not provided.
# TODO The template is outdated.
#
# @todo It would be nice to have a template class that accepts options
# and uses the default ones if not provided.
# @todo The template is outdated.
def
default_data_for_template
(
name
)
data
=
{}
...
...
lib/cocoapods/generator/copy_resources_script.rb
View file @
57fb7838
...
...
@@ -41,7 +41,7 @@ EOS
script
.
puts
"install_resource '
#{
resource
}
'"
end
end
#
TODO
use File api
#
@todo
use File api
system
(
"chmod +x '
#{
pathname
}
'"
)
end
end
...
...
lib/cocoapods/generator/xcconfig.rb
View file @
57fb7838
...
...
@@ -56,7 +56,6 @@ module Pod
'HEADER_SEARCH_PATHS'
=>
'${PODS_HEADERS_SEARCH_PATHS}'
,
'PODS_ROOT'
=>
relative_pods_root
,
'PODS_HEADERS_SEARCH_PATHS'
=>
'${PODS_PUBLIC_HEADERS_SEARCH_PATHS}'
,
# TODO With this setup every targets gets the headers of the previus targets.
'PODS_BUILD_HEADERS_SEARCH_PATHS'
=>
quote
(
sandbox
.
build_headers
.
search_paths
),
'PODS_PUBLIC_HEADERS_SEARCH_PATHS'
=>
quote
(
sandbox
.
public_headers
.
search_paths
),
})
...
...
lib/cocoapods/installer/file_references_installer.rb
View file @
57fb7838
...
...
@@ -145,9 +145,6 @@ module Pod
# headers folders as the keys and the absolute paths of the
# header files as the values.
#
# TODO This is being overridden in the RestKit 0.9.4 spec and that
# override should be fixed.
#
def
header_mappings
(
headers_sandbox
,
consumer
,
headers
)
dir
=
headers_sandbox
dir
=
dir
+
consumer
.
header_dir
if
consumer
.
header_dir
...
...
spec/integration_spec.rb
View file @
57fb7838
...
...
@@ -169,7 +169,6 @@ module Pod
#--------------------------------------#
# TODO add a simple source file which uses the compiled lib to check that it really really works
it
"activates required pods and create a working static library xcode project"
do
podfile
=
Podfile
.
new
do
platform
test_platform
...
...
@@ -202,7 +201,6 @@ module Pod
# No Reachability is required by ASIHTTPRequest on OSX
lockfile_contents
[
'DEPENDENCIES'
].
delete_at
(
1
)
lockfile_contents
[
'PODS'
].
delete_at
(
1
)
# lockfile_contents['PODS'][0] = 'ASIHTTPRequest (1.8.1)'
end
lockfile
=
installer
.
lockfile
.
to_hash
lockfile
.
delete
(
"SPEC CHECKSUMS"
)
...
...
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