Skip to content

Commit

Permalink
Add RestKit's components and its dependency LibComponentLogging.
Browse files Browse the repository at this point in the history
  • Loading branch information
alloy committed Oct 2, 2011
1 parent 4f7278a commit 8064337
Show file tree
Hide file tree
Showing 8 changed files with 120 additions and 0 deletions.
13 changes: 13 additions & 0 deletions LibComponentLogging-Core/1.1.4/LibComponentLogging-Core.podspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
Pod::Spec.new do |s|
s.name = 'LibComponentLogging-Core'
s.version = '1.1.4'
s.summary = 'Part of LibComponentLogging, which is a small open source logging library for Objective-C applications on Mac OS X and iOS.'
s.homepage = 'http://0xc0.de/LibComponentLogging'
s.author = { 'Arne Harren' => 'ah@0xc0.de' }
s.source = { :git => 'https://github.com/aharren/LibComponentLogging-Core.git', :tag => '1.1.4' }

s.description = 'LibComponentLogging is a small open source logging library for Objective-C applications on Mac OS X and iPhone OS / iOS which provides conditional logging based on log levels and log components. Additionally, different logging strategies can be used, e.g. writing log messages to a file or sending them to the system log, while using the same logging interface.'

s.source_files = 'lcl.{h,m}'
s.header_dir = 'LibComponentLogging'
end
15 changes: 15 additions & 0 deletions LibComponentLogging-NSLog/1.0.2/LibComponentLogging-NSLog.podspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
Pod::Spec.new do |s|
s.name = 'LibComponentLogging-NSLog'
s.version = '1.0.2'
s.summary = 'LibComponentLogging-NSLog is a simple LibComponentLogging logger implementation which redirects logging to NSLog.'
s.homepage = 'http://0xc0.de/LibComponentLogging'
s.author = { 'Arne Harren' => 'ah@0xc0.de' }
s.source = { :git => 'https://github.com/aharren/LibComponentLogging-NSLog.git', :tag => '1.0.2' }

s.description = 'LibComponentLogging is a small open source logging library for Objective-C applications on Mac OS X and iPhone OS / iOS which provides conditional logging based on log levels and log components. Additionally, different logging strategies can be used, e.g. writing log messages to a file or sending them to the system log, while using the same logging interface.'

s.dependency 'LibComponentLogging-Core', '>= 1.1.4'
s.source_files = 'LCLNSLog.{h,m}'
s.header_dir = 'LibComponentLogging'
end

1 change: 1 addition & 0 deletions Reachability/2.0.4/Reachability.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ Pod::Spec.new do |s|
s.authors = 'Apple', 'Donoho Design Group, LLC'
s.summary = 'A wrapper for the SystemConfiguration Reachablity APIs.'
s.source_files = 'External/Reachability'
s.header_dir = s.name
end
18 changes: 18 additions & 0 deletions RestKit-JSON-JSONKit/0.9.3/RestKit-JSON-JSONKit.podspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
Pod::Spec.new do |s|
s.name = 'RestKit-JSON-JSONKit'
s.version = '0.9.3'
s.summary = 'Part of RestKit, which is a framework for consuming and modeling RESTful web resources on iOS and OS X.'
s.homepage = 'http://www.restkit.org'
s.author = { 'Blake Watters' => 'blakewatters@gmail.com' }
s.part_of = 'RestKit', '0.9.3'

s.description = 'The RestKit JSON parser which wraps JSONKit.'

s.source_files = 'Code/Support/Parsers/JSON/RKJSONParserJSONKit.{h,m}'
s.dependency 'JSONKit'

def s.copy_header_mapping(from)
from.relative_path_from(Pathname.new('Code'))
end
end

19 changes: 19 additions & 0 deletions RestKit-Network/0.9.3/RestKit-Network.podspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
Pod::Spec.new do |s|
s.name = 'RestKit-Network'
s.version = '0.9.3'
s.summary = 'Part of RestKit, which is a framework for consuming and modeling RESTful web resources on iOS and OS X.'
s.homepage = 'http://www.restkit.org'
s.author = { 'Blake Watters' => 'blakewatters@gmail.com' }
s.part_of = 'RestKit', '0.9.3'

s.description = 'The network layer provides a request/response abstraction on top of NSURLConnection. The main interface for the end developer is the RKClient, which provides an interface for sending GET, POST, PUT, and DELETE requests asynchronously. This wraps the construction and dispatch of RKRequest and RKResponse objects, that provide a nice interface for working with HTTP requests. Sending parameters with your request is as easy as providing an NSDictionary of key/value pairs. File uploading support from NSData and files is supported through the use of an RKParams object, which serializes into a multipart form representation suitable for submission to a remote web server for processing. SSL & HTTP AUTH is fully supported for requests. RKResponse objects provide access to the string of JSON parsed versions of the response body in one line of code. There are also a number of helpful method for inspecting the request and response such as isXHTML, isJSON, isRedirect, isOK, etc.'

s.dependency 'LibComponentLogging-NSLog'

s.source_files = 'Code/RestKit.h', 'Code/{Network,Support}/*.{h,m}'
s.xcconfig = { 'OTHER_LDFLAGS' => '-ObjC -all_load' }

def s.copy_header_mapping(from)
from.relative_path_from(Pathname.new('Code'))
end
end
19 changes: 19 additions & 0 deletions RestKit-ObjectMapping/0.9.3/RestKit-ObjectMapping.podspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
Pod::Spec.new do |s|
s.name = 'RestKit-ObjectMapping'
s.version = '0.9.3'
s.summary = 'Part of RestKit, which is a framework for consuming and modeling RESTful web resources on iOS and OS X.'
s.homepage = 'http://www.restkit.org'
s.author = { 'Blake Watters' => 'blakewatters@gmail.com' }
s.part_of = 'RestKit', '0.9.3'

s.description = %{The object mapping layer provides a simple API for turning remote JSON/XML responses into local domain objects declaratively. Rather than working directly with RKClient, the developer works with RKObjectManager. RKObjectManager provides support for loading a remote resource path (see below for discussion) and calling back a delegate with object representations of the data loaded. Remote payloads are parsed to an NSDictionary representation and are then mapped to local objects using Key-Value Coding. Any KVC compliant class can be targeted for object mapping. RestKit also provides support for serializing local objects back into a wire format for submission back to your remote backend system. Local domain objects can be serialized to JSON or URL Form Encoded string representations for transport. To simplify the generation of URL's that identify remote resources, RestKit ships with an object routing implementation that can generate an appropriate URL based on the object and HTTP verb being utilized. Object mapping is a deep topic and is explored thoroughly in the Object Mapping Design Document.}

s.dependency 'RestKit-Network', '0.9.3'
s.source_files = 'Code/ObjectMapping/*.{h,m}'
s.xcconfig = { 'OTHER_LDFLAGS' => '-ObjC -all_load' }

def s.copy_header_mapping(from)
from.relative_path_from(Pathname.new('Code'))
end
end

20 changes: 20 additions & 0 deletions RestKit-XML-LibXML/0.9.3/RestKit-XML-LibXML.podspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
Pod::Spec.new do |s|
s.name = 'RestKit-XML-LibXML'
s.version = '0.9.3'
s.summary = 'Part of RestKit, which is a framework for consuming and modeling RESTful web resources on iOS and OS X.'
s.homepage = 'http://www.restkit.org'
s.author = { 'Blake Watters' => 'blakewatters@gmail.com' }
s.part_of = 'RestKit', '0.9.3'

s.description = 'The RestKit XML parser which wraps libxml2.'

s.source_files = 'Code/Support/Parsers/XML/RKXMLParserLibXML.{h,m}'

s.library = 'xml2'
s.xcconfig = { 'HEADER_SEARCH_PATHS' => '$(SDKROOT)/usr/include/libxml2' }

def s.copy_header_mapping(from)
from.relative_path_from(Pathname.new('Code'))
end
end

15 changes: 15 additions & 0 deletions RestKit/0.9.3/RestKit.podspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
Pod::Spec.new do |s|
s.name = 'RestKit'
s.version = '0.9.3'
s.summary = 'RestKit is a framework for consuming and modeling RESTful web resources on iOS and OS X.'
s.homepage = 'http://www.restkit.org'
s.author = { 'Blake Watters' => 'blakewatters@gmail.com' }
s.source = { :git => 'https://github.com/RestKit/RestKit.git', :tag => '0.9.3' }
s.description = 'RestKit is a Cocoa framework for interacting with RESTful web services in Objective C on iOS and Mac OS X. It provides a set of primitives for interacting with web services wrapping GET, POST, PUT and DELETE HTTP verbs behind a clean, simple interface. RestKit also provides a system for modeling remote resources by mapping them from JSON (or XML) payloads back into local domain objects. Object mapping functions with normal NSObject derived classes with properties. There is also an object mapping implementation included that provides a Core Data backed store for persisting objects loaded from the web.
This pod consists of the three sub-pods: RestKit-Network, RestKit-ObjectMapping, and RestKit-CoreData.'

s.dependency 'RestKit-Network', '0.9.3'
s.dependency 'RestKit-ObjectMapping', '0.9.3'
#s.dependency 'RestKit-CoreData', '0.9.3'
end

0 comments on commit 8064337

Please sign in to comment.