From ec71f85381d0e081549476b6c3cc0846cdbb7179 Mon Sep 17 00:00:00 2001 From: Chris Ballinger Date: Sat, 18 Jul 2015 13:11:34 -0700 Subject: [PATCH 1/2] Add podspec --- ASDayPicker.podspec | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 ASDayPicker.podspec diff --git a/ASDayPicker.podspec b/ASDayPicker.podspec new file mode 100644 index 0000000..138d6fb --- /dev/null +++ b/ASDayPicker.podspec @@ -0,0 +1,25 @@ +# +# Be sure to run `pod lib lint DZReadability.podspec' to ensure this is a +# valid spec and remove all comments before submitting the spec. +# +# Any lines starting with a # are optional, but encouraged +# +# To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html +# + +Pod::Spec.new do |s| + s.name = "ASDayPicker" + s.version = "1.0.0" + s.summary = "iOS day picker that resembles Calendar.app's week view" + s.homepage = "https://github.com/appscape/ASDayPicker" + s.screenshots = "https://github.com/appscape/ASDayPicker/raw/master/Screenshots/animation.gif" + s.license = { :type => 'MIT', :file => 'LICENSE' } + s.author = { "Esad Hajdarevic" => "esad@esse.at" } + s.source = { :git => "https://github.com/appscape/ASDayPicker.git", :commit => e7425cd961575637043fc1efeb65cc11d90efc9c } + s.social_media_url = 'http://twitter.com/esad' + + s.ios.deployment_target = '7.0' + + s.requires_arc = true + s.source_files = "*.{h,m}" +end From 9c1dea84bc9a361493e6646534f626cf5c50275c Mon Sep 17 00:00:00 2001 From: Chris Ballinger Date: Sat, 18 Jul 2015 13:19:24 -0700 Subject: [PATCH 2/2] Use tag version --- ASDayPicker.podspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ASDayPicker.podspec b/ASDayPicker.podspec index 138d6fb..23eceef 100644 --- a/ASDayPicker.podspec +++ b/ASDayPicker.podspec @@ -15,7 +15,7 @@ Pod::Spec.new do |s| s.screenshots = "https://github.com/appscape/ASDayPicker/raw/master/Screenshots/animation.gif" s.license = { :type => 'MIT', :file => 'LICENSE' } s.author = { "Esad Hajdarevic" => "esad@esse.at" } - s.source = { :git => "https://github.com/appscape/ASDayPicker.git", :commit => e7425cd961575637043fc1efeb65cc11d90efc9c } + s.source = { :git => "https://github.com/appscape/ASDayPicker.git", :tag => s.version.to_s } s.social_media_url = 'http://twitter.com/esad' s.ios.deployment_target = '7.0'