forked from magicalpanda/MagicalRecord
-
Notifications
You must be signed in to change notification settings - Fork 0
/
MagicalRecord.podspec
59 lines (54 loc) · 1.78 KB
/
MagicalRecord.podspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
Pod::Spec.new do |s|
s.name = 'MagicalRecord'
s.version = '2.3.0-beta.5'
s.license = 'MIT'
s.summary = 'Super Awesome Easy Fetching for Core Data 1!!!11!!!!1!.'
s.homepage = 'http://github.com/magicalpanda/MagicalRecord'
s.author = { 'Saul Mora' => 'saul@magicalpanda.com' }
s.source = { :git => 'https://github.com/magicalpanda/MagicalRecord.git', :tag => "v#{s.version}" }
s.description = 'Handy fetching, threading and data import helpers to make Core Data a little easier to use.'
s.requires_arc = true
s.default_subspec = 'Core'
s.ios.deployment_target = '6.0'
s.osx.deployment_target = '10.8'
s.subspec "Core" do |sp|
sp.framework = 'CoreData'
sp.header_dir = 'MagicalRecord'
sp.source_files = 'MagicalRecord/**/*.{h,m}'
sp.prefix_header_contents = <<-EOS
#import <CoreData/CoreData.h>
#import "CoreData+MagicalRecord.h"
EOS
end
s.subspec "Core+Logging" do |sp|
sp.framework = 'CoreData'
sp.header_dir = 'MagicalRecord'
sp.source_files = 'MagicalRecord/**/*.{h,m}'
sp.prefix_header_contents = <<-EOS
#import <CoreData/CoreData.h>
#define MR_LOGGING_ENABLED 1
#import "CoreData+MagicalRecord.h"
EOS
end
s.subspec "Shorthand" do |sp|
sp.framework = 'CoreData'
sp.header_dir = 'MagicalRecord'
sp.source_files = 'MagicalRecord/**/*.{h,m}'
sp.prefix_header_contents = <<-EOS
#import <CoreData/CoreData.h>
#define MR_SHORTHAND 1
#import "CoreData+MagicalRecord.h"
EOS
end
s.subspec "Shorthand+Logging" do |sp|
sp.framework = 'CoreData'
sp.header_dir = 'MagicalRecord'
sp.source_files = 'MagicalRecord/**/*.{h,m}'
sp.prefix_header_contents = <<-EOS
#import <CoreData/CoreData.h>
#define MR_LOGGING_ENABLED 1
#define MR_SHORTHAND 1
#import "CoreData+MagicalRecord.h"
EOS
end
end