diff --git a/Yoga.podspec b/Yoga.podspec index ca4f4148..f9545a9c 100644 --- a/Yoga.podspec +++ b/Yoga.podspec @@ -1,21 +1,22 @@ -Pod::Spec.new do |s| - s.name = 'Yoga' - s.version = '1.0.1' - s.summary = 'A cross-platform layout engine.' - s.homepage = 'https://github.com/facebook/yoga' - s.documentation_url = 'https://facebook.github.io/yoga' - s.description = 'Yoga is a cross-platform layout engine enabling maximum collaboration within your team by implementing an API many designers are familiar with, and opening it up to developers across different platforms.' +Pod::Spec.new do |spec| + spec.name = 'Yoga' + spec.version = '1.0.2' + spec.license = { :type => 'BSD', :file => "LICENSE" } + spec.homepage = 'https://facebook.github.io/yoga/' + spec.documentation_url = 'https://facebook.github.io/yoga/docs/api/c/' - s.license = { :type => 'BSD', :file => "LICENSE" } - s.authors = 'Facebook' - s.social_media_url = 'https://twitter.com/fbOpenSource' - s.source = { + spec.summary = 'Yoga is a cross-platform layout engine which implements Flexbox.' + spec.description = 'Yoga is a cross-platform layout engine enabling maximum collaboration within your team by implementing an API many designers are familiar with, and opening it up to developers across different platforms.' + + spec.authors = 'Facebook' + spec.source = { :git => 'https://github.com/facebook/yoga.git', :tag => 'v2017.01.27.00', } - s.module_name = 'yoga' - s.requires_arc = false - s.compiler_flags = [ + + spec.module_name = 'yoga' + spec.requires_arc = false + spec.compiler_flags = [ '-fno-omit-frame-pointer', '-fexceptions', '-Wall', @@ -23,5 +24,5 @@ Pod::Spec.new do |s| '-std=c11', '-fPIC' ] - s.source_files = 'yoga/**/*.{c,h}' + spec.source_files = 'yoga/**/*.{c,h}' end diff --git a/YogaKit/YogaKit.podspec b/YogaKit/YogaKit.podspec index 70181467..3906e6af 100644 --- a/YogaKit/YogaKit.podspec +++ b/YogaKit/YogaKit.podspec @@ -1,32 +1,25 @@ Pod::Spec.new do |spec| spec.name = 'YogaKit' - spec.version = '1.0.1' - spec.license = { :type => 'BSD-3-Clause', :file => '../LICENSE' } - spec.homepage = 'https://facebook.github.io/yoga' - spec.authors = { - 'Emil Sjölander' => 'sjolander.emil@gmail.com', - 'Dustin Shahidehpour' => 'dshahidehpour@gmail.com' - } + spec.version = '1.0.2' + spec.license = { :type => 'BSD', :file => "LICENSE" } + spec.homepage = 'https://facebook.github.io/yoga/' + spec.documentation_url = 'https://facebook.github.io/yoga/docs/api/yogakit/' spec.summary = 'Yoga is a cross-platform layout engine which implements Flexbox.' - spec.description = <<-DESC - Yoga is a cross-platform layout engine which implements Flexbox. - It enables maximum collaboration within your team by implementing an API familiar to - many designers and opening it up to developers across different platforms. - DESC + spec.description = 'Yoga is a cross-platform layout engine enabling maximum collaboration within your team by implementing an API many designers are familiar with, and opening it up to developers across different platforms.' - spec.documentation_url = 'https://facebook.github.io/yoga/docs/getting-started/' + spec.authors = 'Facebook' spec.source = { :git => 'https://github.com/facebook/yoga.git', - :tag => 'v2017.01.27.00' + :tag => 'v2017.01.27.00', } + spec.platform = :ios spec.ios.deployment_target = '8.0' spec.ios.frameworks = 'UIKit' spec.dependency 'Yoga', '~> 1.0' - spec.source_files = 'YogaKit/Source/*.{h,m}', + spec.source_files = 'YogaKit/Source/*.{h,m}' spec.public_header_files = 'YogaKit/Source/{YGLayout,UIView+Yoga}.h' spec.private_header_files = 'YogaKit/Source/YGLayout+Private.h' - end