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
2837753d
Commit
2837753d
authored
May 25, 2012
by
Will Pragnell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated CHANGELOG.md
parent
1845945e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
48 additions
and
0 deletions
+48
-0
CHANGELOG.md
CHANGELOG.md
+48
-0
No files found.
CHANGELOG.md
View file @
2837753d
...
@@ -65,6 +65,54 @@ See [#149](https://github.com/CocoaPods/CocoaPods/issues/149) and
...
@@ -65,6 +65,54 @@ See [#149](https://github.com/CocoaPods/CocoaPods/issues/149) and
[
#151
](
https://github.com/CocoaPods/CocoaPods/issues/151
)
for more info.
[
#151
](
https://github.com/CocoaPods/CocoaPods/issues/151
)
for more info.
### Licenses & Documentation
CocoaPods will now generate two 'Acknowledgements' files for each target specified
in your Podfile which contain the License details for each Pod used in that target
(assuming details have been specified in the Pod spec).
There is a markdown file, for general consumption, as well as a property list file
that can be added to a settings bundle for an iOS application.
You don't need to do anything for this to happen, it should just work.
If you're not happy with the default boilerplate text generated for the title, header
and footnotes in the files, it's possible to customise these by overriding the methods
that generate the text in your
`Podfile`
like this:
```
ruby
class
::
Pod
::
Generator
::
Acknowledgements
def
header_text
"My custom header text"
end
end
```
You can even go one step further and customise the text on a per target basis by
checking against the target name, like this:
```
ruby
class
::
Pod
::
Generator
::
Acknowledgements
def
header_text
if
@target_definition
.
label
.
end_with?
(
"MyTargetName"
)
"Custom header text for MyTargetName"
else
"Custom header text for other targets"
end
end
end
```
Finally, here's a list of the methods that are available to override:
```
ruby
header_title
header_text
footnote_title
footnote_text
```
### Introduced two new classes: LocalPod and Sandbox.
### Introduced two new classes: LocalPod and Sandbox.
The Sandbox represents the entire contents of the
`POD_ROOT`
(normally
The Sandbox represents the entire contents of the
`POD_ROOT`
(normally
...
...
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