Skip to content

Commit

Permalink
Remove redundant dependencies, bump version to 5.0.1 (#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
crleona authored and Keqiu Hu committed Jul 10, 2019
1 parent 1e69efc commit 3237f4e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 12 deletions.
18 changes: 7 additions & 11 deletions LayoutTest.podspec
Original file line number Diff line number Diff line change
@@ -1,36 +1,32 @@
Pod::Spec.new do |spec|
spec.name = 'LayoutTest'
spec.version = '5.0.0'
spec.version = '5.0.1'
spec.license = { :type => 'Apache License, Version 2.0' }
spec.homepage = 'https://linkedin.github.io/LayoutTest-iOS'
spec.authors = 'LinkedIn'
spec.summary = 'LayoutTest enables you to write unit tests which test the layout of a view in multiple configurations.'
spec.source = { :git => 'https://github.com/linkedin/LayoutTest-iOS.git', :tag => spec.version }
spec.platform = :ios, '7.0'
spec.default_subspecs = 'TestCase'
spec.dependency 'LayoutTestBase', '4.0.2'

spec.subspec 'Swift' do |sp|
sp.dependency 'LayoutTestBase/Core'
sp.dependency 'LayoutTestBase/Autolayout'
sp.dependency 'LayoutTestBase/Catalog'
sp.dependency 'LayoutTest/TestCase'
sp.dependency 'LayoutTestBase/Config'
sp.dependency 'LayoutTestBase/UIViewHelpers'
sp.dependency 'LayoutTest/SwiftSubspec'
end

spec.subspec 'TestCase' do |sp|
sp.source_files = 'LayoutTest/TestCase'
sp.dependency 'LayoutTestBase/Core'
sp.dependency 'LayoutTestBase/Config'
sp.dependency 'LayoutTestBase/Autolayout', '5.0.1'
sp.dependency 'LayoutTestBase/Catalog', '5.0.1'
sp.dependency 'LayoutTestBase/Config', '5.0.1'
sp.dependency 'LayoutTestBase/Core', '5.0.1'
sp.dependency 'LayoutTestBase/UIViewHelpers', '5.0.1'
sp.framework = 'XCTest'
end

spec.subspec 'SwiftSubspec' do |sp|
sp.source_files = 'LayoutTest/Swift', 'LayoutTest/LayoutTest.h'
sp.dependency 'LayoutTest/TestCase'
sp.dependency 'LayoutTestBase/Swift'
sp.dependency 'LayoutTestBase/Swift', '5.0.1'
end
end

2 changes: 1 addition & 1 deletion LayoutTestBase.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |spec|
spec.name = 'LayoutTestBase'
spec.version = '5.0.0'
spec.version = '5.0.1'
spec.license = { :type => 'Apache License, Version 2.0' }
spec.homepage = 'https://linkedin.github.io/LayoutTest-iOS'
spec.authors = 'LinkedIn'
Expand Down

0 comments on commit 3237f4e

Please sign in to comment.