Skip to content
This repository
Fetching contributors…

Cannot retrieve contributors at this time

file 20 lines (19 sloc) 0.863 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
Pod::Spec.new do |s|
  s.name = 'MagicalRecord'
  s.version = '2.0.8'
  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 => '2.0.8' }
  s.description = 'Handy fetching, threading and data import helpers to make Core Data a little easier to use.'
  s.source_files = 'MagicalRecord/**/*.{h,m}'
  s.framework = 'CoreData'
  s.requires_arc = true

  def s.post_install(target)
    prefix_header = config.project_pods_root + target.prefix_header_filename
    prefix_header.open('a') do |file|
      file.puts(%{#ifdef __OBJC__\n#define MR_SHORTHAND\n#import "CoreData+MagicalRecord.h"\n#endif})
    end
  end
end
Something went wrong with that request. Please try again.