diff --git a/.travis.yml b/.travis.yml index 34ff048..bdbdb37 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,14 +1,15 @@ language: swift -osx_image: xcode11 +osx_image: xcode11.1 cache: cocoapods podfile: Example/Podfile before_install: -- pod install --project-directory=Example +- bundle install +- bundle exec pod install --project-directory=Example script: -- set -o pipefail && xcodebuild -workspace Example/collection-view-layouts.xcworkspace -scheme collection-view-layouts-Example -configuration 'Debug' -sdk 'iphonesimulator13.0' -destination 'platform=iOS Simulator,OS=12.1,name=iPhone 8' test | xcpretty -f `xcpretty-travis-formatter` +- set -o pipefail && xcodebuild -workspace Example/collection-view-layouts.xcworkspace -scheme collection-view-layouts-Example -configuration 'Debug' -sdk 'iphonesimulator13.1' -destination 'platform=iOS Simulator,OS=13.1,name=iPhone 8' test | xcpretty -f `xcpretty-travis-formatter` after_success: - - bash <(curl -s https://codecov.io/bash) \ No newline at end of file + - bash <(curl -s https://codecov.io/bash) diff --git a/Example/Podfile b/Example/Podfile index ade22bd..acf5ca9 100644 --- a/Example/Podfile +++ b/Example/Podfile @@ -1,6 +1,8 @@ use_frameworks! target 'collection-view-layouts_Example' do + platform :ios, '8.0' + pod 'collection-view-layouts/Core', :path => '../' pod 'collection-view-layouts/TagsLayout', :path => '../' pod 'collection-view-layouts/PinterestLayout', :path => '../' diff --git a/Example/Podfile.lock b/Example/Podfile.lock index 1634602..cfef170 100644 --- a/Example/Podfile.lock +++ b/Example/Podfile.lock @@ -30,7 +30,7 @@ DEPENDENCIES: - Quick (= 2.1.0) SPEC REPOS: - https://github.com/cocoapods/specs.git: + https://cdn.cocoapods.org/: - Nimble - Quick @@ -39,10 +39,10 @@ EXTERNAL SOURCES: :path: "../" SPEC CHECKSUMS: - collection-view-layouts: bed793b792c8394d0a0b69a1b02e7a775c0bceeb + collection-view-layouts: 023a660cdf4e1340980b568256ae085014166eaa Nimble: 622629381bda1dd5678162f21f1368cec7cbba60 Quick: 4be43f6634acfa727dd106bdf3929ce125ffa79d -PODFILE CHECKSUM: 7eed666504635eb064559cfed86f85daa7df14cb +PODFILE CHECKSUM: be8f7d6538478fc6ec254c5852fa5ff5a3bb6b8a -COCOAPODS: 1.7.2 +COCOAPODS: 1.8.4 diff --git a/Example/collection-view-layouts.xcodeproj/project.pbxproj b/Example/collection-view-layouts.xcodeproj/project.pbxproj index 46670f6..81ec042 100644 --- a/Example/collection-view-layouts.xcodeproj/project.pbxproj +++ b/Example/collection-view-layouts.xcodeproj/project.pbxproj @@ -612,7 +612,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 11.0; + IPHONEOS_DEPLOYMENT_TARGET = 8.0; MTL_ENABLE_DEBUG_INFO = YES; ONLY_ACTIVE_ARCH = YES; SDKROOT = iphoneos; @@ -661,7 +661,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 11.0; + IPHONEOS_DEPLOYMENT_TARGET = 8.0; MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = iphoneos; SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; diff --git a/Gemfile b/Gemfile new file mode 100644 index 0000000..1681675 --- /dev/null +++ b/Gemfile @@ -0,0 +1,4 @@ +source "https://rubygems.org" + +ruby "2.6.4" +gem "cocoapods", "~> 1.8.4" diff --git a/Gemfile.lock b/Gemfile.lock new file mode 100644 index 0000000..960afeb --- /dev/null +++ b/Gemfile.lock @@ -0,0 +1,86 @@ +GEM + remote: https://rubygems.org/ + specs: + CFPropertyList (3.0.1) + activesupport (4.2.11.1) + i18n (~> 0.7) + minitest (~> 5.1) + thread_safe (~> 0.3, >= 0.3.4) + tzinfo (~> 1.1) + algoliasearch (1.27.1) + httpclient (~> 2.8, >= 2.8.3) + json (>= 1.5.1) + atomos (0.1.3) + claide (1.0.3) + cocoapods (1.8.4) + activesupport (>= 4.0.2, < 5) + claide (>= 1.0.2, < 2.0) + cocoapods-core (= 1.8.4) + cocoapods-deintegrate (>= 1.0.3, < 2.0) + cocoapods-downloader (>= 1.2.2, < 2.0) + cocoapods-plugins (>= 1.0.0, < 2.0) + cocoapods-search (>= 1.0.0, < 2.0) + cocoapods-stats (>= 1.0.0, < 2.0) + cocoapods-trunk (>= 1.4.0, < 2.0) + cocoapods-try (>= 1.1.0, < 2.0) + colored2 (~> 3.1) + escape (~> 0.0.4) + fourflusher (>= 2.3.0, < 3.0) + gh_inspector (~> 1.0) + molinillo (~> 0.6.6) + nap (~> 1.0) + ruby-macho (~> 1.4) + xcodeproj (>= 1.11.1, < 2.0) + cocoapods-core (1.8.4) + activesupport (>= 4.0.2, < 6) + algoliasearch (~> 1.0) + concurrent-ruby (~> 1.1) + fuzzy_match (~> 2.0.4) + nap (~> 1.0) + cocoapods-deintegrate (1.0.4) + cocoapods-downloader (1.2.2) + cocoapods-plugins (1.0.0) + nap + cocoapods-search (1.0.0) + cocoapods-stats (1.1.0) + cocoapods-trunk (1.4.1) + nap (>= 0.8, < 2.0) + netrc (~> 0.11) + cocoapods-try (1.1.0) + colored2 (3.1.2) + concurrent-ruby (1.1.5) + escape (0.0.4) + fourflusher (2.3.1) + fuzzy_match (2.0.4) + gh_inspector (1.1.3) + httpclient (2.8.3) + i18n (0.9.5) + concurrent-ruby (~> 1.0) + json (2.2.0) + minitest (5.12.2) + molinillo (0.6.6) + nanaimo (0.2.6) + nap (1.1.0) + netrc (0.11.0) + ruby-macho (1.4.0) + thread_safe (0.3.6) + tzinfo (1.2.5) + thread_safe (~> 0.1) + xcodeproj (1.13.0) + CFPropertyList (>= 2.3.3, < 4.0) + atomos (~> 0.1.3) + claide (>= 1.0.2, < 2.0) + colored2 (~> 3.1) + nanaimo (~> 0.2.6) + +PLATFORMS + ruby + +DEPENDENCIES + cocoapods (~> 1.8.4) + +RUBY VERSION + ruby 2.6.4p104 + +BUNDLED WITH + 2.0.2 diff --git a/collection-view-layouts.podspec b/collection-view-layouts.podspec index 0046aa8..21b121a 100644 --- a/collection-view-layouts.podspec +++ b/collection-view-layouts.podspec @@ -17,7 +17,7 @@ Pod::Spec.new do |s| s.author = { 'sergey.afanasiev' => 'sergey.afanasiev@rubygarage.org' } s.source = { :git => 'https://github.com/rubygarage/collection-view-layouts.git', :tag => s.version.to_s } - s.ios.deployment_target = '11.0' + s.ios.deployment_target = '8.0' s.swift_versions = ['5.0'] s.subspec 'Core' do |core|