From 941c8cd7c9e74a7b0ae3dd9ff5c374ce371c8aea Mon Sep 17 00:00:00 2001 From: Mark Aufflick Date: Mon, 6 Jul 2015 15:03:17 +1000 Subject: [PATCH 1/3] Initial WAYAppStoreWindow (assuming tag of 'v0.0.1') --- WAYAppStoreWindow.podspec | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 WAYAppStoreWindow.podspec diff --git a/WAYAppStoreWindow.podspec b/WAYAppStoreWindow.podspec new file mode 100644 index 0000000..1d048ec --- /dev/null +++ b/WAYAppStoreWindow.podspec @@ -0,0 +1,13 @@ +Pod::Spec.new do |spec| + spec.name = 'WAYAppStoreWindow' + spec.version = '0.0.1' + spec.license = { :type => 'BSD' } + spec.homepage = 'https://github.com/weAreYeah/WAYAppStoreWindow' + spec.authors = { 'Raffael Hannemann' => 'hello@weareYeah.com' } + spec.summary = 'A drop-in replacement for INAppStoreWindow, which switches its class implementation at runtime between WAYWindow and INAppStoreWindow, depending on the OS X version.' + spec.source = { :git => 'https://github.com/weAreYeah/WAYAppStoreWindow.git', :tag => 'v0.0.1' } + spec.source_files = 'WAYAppStoreWindow/*.{h,m}' + spec.framework = 'AppKit' + spec.requires_arc = true + spec.dependency 'INAppStoreWindow', '~> 1.4' +end From 1b8d91e4751e14a55709570cecc4f564be32b9fb Mon Sep 17 00:00:00 2001 From: Mark Aufflick Date: Mon, 6 Jul 2015 15:07:44 +1000 Subject: [PATCH 2/3] Update podspec to support only osx --- WAYAppStoreWindow.podspec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/WAYAppStoreWindow.podspec b/WAYAppStoreWindow.podspec index 1d048ec..ea27704 100644 --- a/WAYAppStoreWindow.podspec +++ b/WAYAppStoreWindow.podspec @@ -9,5 +9,6 @@ Pod::Spec.new do |spec| spec.source_files = 'WAYAppStoreWindow/*.{h,m}' spec.framework = 'AppKit' spec.requires_arc = true - spec.dependency 'INAppStoreWindow', '~> 1.4' + spec.dependency 'INAppStoreWindow', '~> 1.4' + spec.platform = :osx end From 25f780d6dbb5294235314c940b7ecc7938dcc1cc Mon Sep 17 00:00:00 2001 From: Mark Aufflick Date: Mon, 6 Jul 2015 15:18:56 +1000 Subject: [PATCH 3/3] Added WAYWindow dependency to podspec --- WAYAppStoreWindow.podspec | 1 + 1 file changed, 1 insertion(+) diff --git a/WAYAppStoreWindow.podspec b/WAYAppStoreWindow.podspec index ea27704..3537c02 100644 --- a/WAYAppStoreWindow.podspec +++ b/WAYAppStoreWindow.podspec @@ -9,6 +9,7 @@ Pod::Spec.new do |spec| spec.source_files = 'WAYAppStoreWindow/*.{h,m}' spec.framework = 'AppKit' spec.requires_arc = true + spec.dependency 'WAYWindow', '~> 0.0.1' spec.dependency 'INAppStoreWindow', '~> 1.4' spec.platform = :osx end