Commit 5e0f3566 authored by Fabio Pelosin's avatar Fabio Pelosin

[Command::Spec] Revert template license to MIT (Example)

This is done to prevent an user to indicate the wrong license in the spec.
The linter checks for it and fails the validation if the example keyword is
present.

/c @orta
parent b5a8905d
...@@ -7,7 +7,7 @@ GIT ...@@ -7,7 +7,7 @@ GIT
GIT GIT
remote: https://github.com/CocoaPods/Core.git remote: https://github.com/CocoaPods/Core.git
revision: b56cbd3145fbf97ff9589d70f7bc6f8b88c9a626 revision: 92692426f9ed7a5daee4ee1521e47cc716dce3e9
branch: master branch: master
specs: specs:
cocoapods-core (0.22.3) cocoapods-core (0.22.3)
...@@ -17,7 +17,7 @@ GIT ...@@ -17,7 +17,7 @@ GIT
GIT GIT
remote: https://github.com/CocoaPods/Xcodeproj.git remote: https://github.com/CocoaPods/Xcodeproj.git
revision: da60c7e415f150846d3120e9e3b7310d534446ff revision: 465fd0a975fae85cc621ada84f89cc24f01748ef
branch: master branch: master
specs: specs:
xcodeproj (0.8.1) xcodeproj (0.8.1)
......
...@@ -448,7 +448,7 @@ Pod::Spec.new do |s| ...@@ -448,7 +448,7 @@ Pod::Spec.new do |s|
# ――― Spec Metadata ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― # # ――― Spec Metadata ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
# #
# These will help people to find your library, and whilst it # These will help people to find your library, and whilst it
# can feel like a chore to fill in it's definitely to your advantage. The # can feel like a chore to fill in it's definitely to your advantage. The
# summary should be tweet-length, and the description more in depth. # summary should be tweet-length, and the description more in depth.
# #
...@@ -459,9 +459,9 @@ Pod::Spec.new do |s| ...@@ -459,9 +459,9 @@ Pod::Spec.new do |s|
s.description = <<-DESC s.description = <<-DESC
A longer description of #{data[:name]} in Markdown format. A longer description of #{data[:name]} in Markdown format.
* Think: Why did you write this? What is the focus? What does it do? * Think: Why did you write this? What is the focus? What does it do?
* CocoaPods will be using this to generate tags, and improve search results. * CocoaPods will be using this to generate tags, and improve search results.
* Try to keep it short, snappy and to the point. * Try to keep it short, snappy and to the point.
* Finally, don't worry about the indent, CocoaPods strips it! * Finally, don't worry about the indent, CocoaPods strips it!
DESC DESC
...@@ -474,17 +474,17 @@ Pod::Spec.new do |s| ...@@ -474,17 +474,17 @@ Pod::Spec.new do |s|
# #
# Licensing your code is important. See http://choosealicense.com for more info. # Licensing your code is important. See http://choosealicense.com for more info.
# CocoaPods will detect a license file if there is a named LICENSE* # CocoaPods will detect a license file if there is a named LICENSE*
# Popular ones are 'MIT', 'BSD' and 'Apache License, Version 2.0'. # Popular ones are 'MIT', 'BSD' and 'Apache License, Version 2.0'.
# #
s.license = 'MIT' s.license = 'MIT (example)'
# s.license = { :type => 'MIT', :file => 'FILE_LICENSE' } # s.license = { :type => 'MIT', :file => 'FILE_LICENSE' }
# ――― Author Metadata ――――――――――――――――――――――――――――――――――――――――――――――――――――――――― # # ――― Author Metadata ――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
# #
# Specify the authors of the library, with email addresses. Email addresses # Specify the authors of the library, with email addresses. Email addresses
# of the authors by using the SCM log. E.g. $ git log. If no email can be # of the authors by using the SCM log. E.g. $ git log. If no email can be
# found CocoaPods accept just the names. # found CocoaPods accept just the names.
# #
...@@ -494,7 +494,7 @@ Pod::Spec.new do |s| ...@@ -494,7 +494,7 @@ Pod::Spec.new do |s|
# ――― Platform Specifics ――――――――――――――――――――――――――――――――――――――――――――――――――――――― # # ――― Platform Specifics ――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
# #
# If this Pod runs only on iOS or OS X, then specify the platform and # If this Pod runs only on iOS or OS X, then specify the platform and
# the deployment target. You can optionally include the target after the platform. # the deployment target. You can optionally include the target after the platform.
# #
...@@ -509,7 +509,7 @@ Pod::Spec.new do |s| ...@@ -509,7 +509,7 @@ Pod::Spec.new do |s|
# ――― Source Location ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― # # ――― Source Location ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
# #
# Specify the location from where the source should be retrieved. # Specify the location from where the source should be retrieved.
# Supports git, hg, svn and HTTP. # Supports git, hg, svn and HTTP.
# #
...@@ -517,9 +517,9 @@ Pod::Spec.new do |s| ...@@ -517,9 +517,9 @@ Pod::Spec.new do |s|
# ――― Source Code ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― # # ――― Source Code ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
# #
# CocoaPods is smart about how it include source code, for source files # CocoaPods is smart about how it include source code, for source files
# giving a folder will include any h, m, mm, c & cpp files. For header # giving a folder will include any h, m, mm, c & cpp files. For header
# files it will include any header in the folder. # files it will include any header in the folder.
# Not including the public_header_files will make all headers public. # Not including the public_header_files will make all headers public.
# #
...@@ -534,7 +534,7 @@ Pod::Spec.new do |s| ...@@ -534,7 +534,7 @@ Pod::Spec.new do |s|
# #
# A list of resources included with the Pod. These are copied into the # A list of resources included with the Pod. These are copied into the
# target bundle with a build phase script. Anything else will be cleaned. # target bundle with a build phase script. Anything else will be cleaned.
# You can preserve files from being cleaned, please don't preserve # You can preserve files from being cleaned, please don't preserve
# non-essential files like tests, examples and documentation. # non-essential files like tests, examples and documentation.
# #
...@@ -545,10 +545,10 @@ Pod::Spec.new do |s| ...@@ -545,10 +545,10 @@ Pod::Spec.new do |s|
# ――― Project Linking ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― # # ――― Project Linking ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
# #
# Link your library with frameworks, or libraries. Libraries do not include # Link your library with frameworks, or libraries. Libraries do not include
# the lib prefix of their name. # the lib prefix of their name.
# #
# s.framework = 'SomeFramework' # s.framework = 'SomeFramework'
# s.frameworks = 'SomeFramework', 'AnotherFramework' # s.frameworks = 'SomeFramework', 'AnotherFramework'
...@@ -558,9 +558,9 @@ Pod::Spec.new do |s| ...@@ -558,9 +558,9 @@ Pod::Spec.new do |s|
# ――― Project Settings ――――――――――――――――――――――――――――――――――――――――――――――――――――――――― # # ――― Project Settings ――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
# #
# If your library depends on compiler flags you can set them in the xcconfig hash # If your library depends on compiler flags you can set them in the xcconfig hash
# where they will only apply to your library. If you depend on other Podspecs # where they will only apply to your library. If you depend on other Podspecs
# you can include multiple dependencies to ensure it works. # you can include multiple dependencies to ensure it works.
# s.requires_arc = true # s.requires_arc = true
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment