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
462d6a13
Commit
462d6a13
authored
May 14, 2012
by
Fabio Pelosin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor bug fixes.
parent
8bdb41f8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
local_pod.rb
lib/cocoapods/local_pod.rb
+1
-0
platform.rb
lib/cocoapods/platform.rb
+1
-1
No files found.
lib/cocoapods/local_pod.rb
View file @
462d6a13
...
@@ -169,6 +169,7 @@ module Pod
...
@@ -169,6 +169,7 @@ module Pod
end
end
def
expanded_paths
(
patterns
,
options
=
{})
def
expanded_paths
(
patterns
,
options
=
{})
patterns
=
[
patterns
]
if
patterns
.
is_a?
String
patterns
.
map
do
|
pattern
|
patterns
.
map
do
|
pattern
|
pattern
=
root
+
pattern
pattern
=
root
+
pattern
...
...
lib/cocoapods/platform.rb
View file @
462d6a13
...
@@ -10,7 +10,7 @@ module Pod
...
@@ -10,7 +10,7 @@ module Pod
attr_reader
:deployment_target
attr_reader
:deployment_target
def
initialize
(
symbolic_name
,
deployment_target
=
nil
)
def
initialize
(
symbolic_name
=
nil
,
deployment_target
=
nil
)
@symbolic_name
=
symbolic_name
@symbolic_name
=
symbolic_name
if
deployment_target
if
deployment_target
version
=
deployment_target
.
is_a?
(
Hash
)
?
deployment_target
[:
deployment_target
]
:
deployment_target
# backwards compatibility from 0.6
version
=
deployment_target
.
is_a?
(
Hash
)
?
deployment_target
[:
deployment_target
]
:
deployment_target
# backwards compatibility from 0.6
...
...
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