Skip to content
Browse files

[Fix] NSArray+Functional

  • Loading branch information...
1 parent 7d289ad commit e1039a11d896bfb9ce62405fea55d4038f9192a1 @fabiopelosin fabiopelosin committed Nov 2, 2012
Showing with 25 additions and 75 deletions.
  1. +25 −75 NSArray+Functional/1.0.0/NSArray+Functional.podspec
View
100 NSArray+Functional/1.0.0/NSArray+Functional.podspec
@@ -1,79 +1,29 @@
-#
-# Be sure to run `pod spec lint NSArray+Functional.podspec' to ensure this is a
-# valid spec.
-#
-# Remove all comments before submitting the spec.
-#
Pod::Spec.new do |s|
- s.name = 'NSArray+Functional'
- s.version = '1.0.0'
- s.license = 'MIT'
- s.summary = 'ObjC category that adds functional programming methods to NSArray'
- s.homepage = 'https://github.com/grav/nsarray-functional'
- s.author = { 'Mikkel Gravgaard' => 'mikkelg@gmail.com' }
-
- # Specify the location from where the source should be retreived.
- #
- s.source = { :git => 'https://github.com/grav/nsarray-functional.git', :tag => '1.0.0' }
-
-
- # If this Pod runs only on iOS or OS X, then specify that with one of
- # these, or none if it runs on both platforms.
- #
- # s.platform = :ios
- # s.platform = :osx
-
- # A list of file patterns which select the source files that should be
- # added to the Pods project. If the pattern is a directory then the
- # path will automatically have '*.{h,m,mm,c,cpp}' appended.
- #
- # Alternatively, you can use the FileList class for even more control
- # over the selected files.
- # (See http://rake.rubyforge.org/classes/Rake/FileList.html.)
- #
+ s.name = 'NSArray+Functional'
+ s.version = '1.0.0'
+ s.summary = 'ObjC category that adds functional programming methods to NSArray.'
+ s.homepage = 'https://github.com/grav/nsarray-functional'
+ s.author = { 'Mikkel Gravgaard' => 'mikkelg@gmail.com' }
+ s.source = { :git => 'https://github.com/grav/nsarray-functional.git', :tag => '1.0.0' }
s.source_files = 'NSArray+Functional.*'
-
- # A list of resources included with the Pod. These are copied into the
- # target bundle with a build phase script.
- #
- # Also allows the use of the FileList class like `source_files does.
- #
- # s.resource = "icon.png"
- # s.resources = "Resources/*.png"
-
- # A list of paths to remove after installing the Pod without the
- # `--no-clean' option. These can be examples, docs, and any other type
- # of files that are not needed to build the Pod.
- #
- # *NOTE*: Never remove license and README files.
- #
- # Also allows the use of the FileList class like `source_files does.
- #
- # s.clean_path = "examples"
- # s.clean_paths = "examples", "doc"
-
- # Specify a list of frameworks that the application needs to link
- # against for this Pod to work.
- #
- # s.framework = 'SomeFramework'
- # s.frameworks = 'SomeFramework', 'AnotherFramework'
-
- # Specify a list of libraries that the application needs to link
- # against for this Pod to work.
- #
- # s.library = 'iconv'
- # s.libraries = 'iconv', 'xml2'
-
- # If this Pod uses ARC, specify it like so.
- #
s.requires_arc = true
-
- # If you need to specify any other build settings, add them to the
- # xcconfig hash.
- #
- # s.xcconfig = { 'HEADER_SEARCH_PATHS' => '$(SDKROOT)/usr/include/libxml2' }
-
- # Finally, specify any Pods that this Pod depends on.
- #
- # s.dependency 'JSONKit', '~> 1.4'
+ s.license = { :type => 'MIT', :text => <<-LIC
+ Copyright (c) 2012 Mikkel Gravgaard
+
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
+ associated documentation files (the "Software"), to deal in the Software without restriction,
+ including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so,
+ subject to the following conditions:
+
+ The above copyright notice and this permission notice shall be included in all copies or substantial
+ portions of the Software.
+
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
+ LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+ WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+ LIC
+ }
end

0 comments on commit e1039a1

Please sign in to comment.
Something went wrong with that request. Please try again.