Skip to content

Instantly share code, notes, and snippets.

Pod::Spec.new do |s|
s.name = 'MKNetworkKit'
s.version = '0.83'
s.summary = 'Full ARC based Networking Kit for iOS 4+ devices.'
s.homepage = 'https://github.com/MugunthKumar/MKNetworkKit'
s.author = { 'MugunthKumar' => 'mknetworkkit@mk.sg' }
s.source = { :git => 'https://github.com/MugunthKumar/MKNetworkKit.git', :tag => 'v0.83' }
s.requires_arc = true
#s.prefix_header_contents = '#import "MKNetworkKit.h"'
s.header_mappings_dir = 'MKNetworkKit'
@fabiopelosin
fabiopelosin / gist:2385390
Created April 14, 2012 15:58
cat JBDeviceOwner.podspec
#
# Be sure to run `pod spec lint JBDeviceOwner.podspec' to ensure this is a
# valid spec.
#
# Remove all comments before submitting the spec.
#
Pod::Spec.new do |s|
# ――― REQUIRED VALUES ――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
@fabiopelosin
fabiopelosin / gist:2352834
Created April 10, 2012 16:53
Cocoapods RSS Generation
require 'rubygems'
require 'cocoapods'
require 'rss/maker'
class CocoapodsRSS
include Pod::Command::SetPresent
def run
sets = sets_by_time[0..29]
puts "\nProcessing #{sets.count} pods"
@fabiopelosin
fabiopelosin / Cocoapods rake error
Created March 15, 2012 10:46
Errno::ENOENT: No such file or directory - /Users/fabio/Documents/GitHub/CocoaPods/tmp/Pods/JSONKit/CHANGELOG.md
$ rake spec --trace
** Invoke spec (first_time)
** Invoke spec:all (first_time)
** Invoke ext:cleanbuild (first_time)
** Invoke ext:clean (first_time)
** Execute ext:clean
cd ./external/Xcodeproj && rake ext:clean
[!] Install the required dependencies to generate documentation: $ bundle install
cd ext/xcodeproj && rm -f Makefile *.o *.bundle
** Invoke ext:build (first_time)