Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Updating Podfile to be compatible with new versions of CocoaPods

  • Loading branch information...
commit 5d390930defab37c55928800e35a44bb7f5e5506 1 parent 39dfa55
@bachand bachand authored
Showing with 8 additions and 9 deletions.
  1. +8 −9 MagicalRecord.podspec
View
17 MagicalRecord.podspec
@@ -1,20 +1,19 @@
Pod::Spec.new do |s|
s.name = 'MagicalRecord'
- s.version = '2.1.0'
+ s.version = '2.1'
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',:branch=>'develop', :tag => '2.1.0' }
+ s.source = { :git => 'https://github.com/magicalpanda/MagicalRecord.git',:branch=>'develop', :tag => '2.1' }
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
+ s.prefix_header_contents = <<-EOS
+#ifdef __OBJC__
+#define MR_SHORTHAND
+#import "CoreData+MagicalRecord.h"
+#endif
+EOS
end
Please sign in to comment.
Something went wrong with that request. Please try again.