Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 20 lines (18 sloc) 0.834 kB
5311cbb @alloy Add CocoaPods spec.
alloy authored
1 Pod::Spec.new do |s|
2 s.name = 'MagicalRecord'
4045f01 @casademora Update podspec for 2.0
casademora authored
3 s.version = '2.0'
5311cbb @alloy Add CocoaPods spec.
alloy authored
4 s.license = 'MIT'
5 s.summary = 'Super Awesome Easy Fetching for Core Data 1!!!11!!!!1! '
6 s.homepage = 'http://github.com/magicalpanda/MagicalRecord'
7 s.author = { 'Saul Mora' => 'saul@magicalpanda.com' }
4045f01 @casademora Update podspec for 2.0
casademora authored
8 s.source = { :git => 'http://github.com/magicalpanda/MagicalRecord.git', :tag => '2.0' }
5311cbb @alloy Add CocoaPods spec.
alloy authored
9 s.description = 'Handy fetching, threading and data import helpers to make Core Data a little easier to use.'
4045f01 @casademora Update podspec for 2.0
casademora authored
10 s.source_files = 'MagicalRecord/**/*.{h,m}'
5311cbb @alloy Add CocoaPods spec.
alloy authored
11 s.framework = 'CoreData'
12
13 def s.post_install(target)
14 prefix_header = config.project_pods_root + target.prefix_header_filename
15 prefix_header.open('a') do |file|
4045f01 @casademora Update podspec for 2.0
casademora authored
16 file.puts(%{#ifdef __OBJC__\n#define MR_SHORTHAND\n#import "CoreData+MagicalRecord.h"\n#endif})
5311cbb @alloy Add CocoaPods spec.
alloy authored
17 end
18 end
19 end
Something went wrong with that request. Please try again.