Commit 18bcb87a authored by Samuel Giddins's avatar Samuel Giddins Committed by GitHub

Merge pull request #6782 from CocoaPods/seg-fix-master

Get master green
parents 023dd3bb 60de097e
Subproject commit a2933449730c7c103312369759fb21dbd825ec78 Subproject commit f576eb6424bf482e5142afab357d32d1acf6ab0b
...@@ -47,7 +47,7 @@ module Pod ...@@ -47,7 +47,7 @@ module Pod
output = UI.output output = UI.output
output.should.include? 'Author: Robbie Hanson' output.should.include? 'Author: Robbie Hanson'
output.should.include? 'License: BSD' output.should.include? 'License: BSD'
output.should.include? 'Platform: iOS 5.0 - OS X 10.7' output.should.include? 'Platform: iOS 5.0 - macOS 10.7'
output.should.include? 'Stars: 318' output.should.include? 'Stars: 318'
output.should.include? 'Forks: 42' output.should.include? 'Forks: 42'
end end
......
...@@ -31,7 +31,7 @@ module Pod ...@@ -31,7 +31,7 @@ module Pod
PodVariant.new([@root_spec], Platform.ios), PodVariant.new([@root_spec], Platform.ios),
PodVariant.new([@root_spec], Platform.osx), PodVariant.new([@root_spec], Platform.osx),
]) ])
variants.scope_suffixes.values.should == %w(iOS OSX) variants.scope_suffixes.values.should == %w(iOS macOS)
end end
it 'returns scopes by versioned platform names if they qualify' do it 'returns scopes by versioned platform names if they qualify' do
...@@ -94,7 +94,7 @@ module Pod ...@@ -94,7 +94,7 @@ module Pod
]) ])
variants.scope_suffixes.values.should == %w( variants.scope_suffixes.values.should == %w(
iOS iOS
OSX macOS
.default-Foo .default-Foo
.default-Bar .default-Bar
) )
...@@ -110,7 +110,7 @@ module Pod ...@@ -110,7 +110,7 @@ module Pod
]) ])
variants.scope_suffixes.values.should == %w( variants.scope_suffixes.values.should == %w(
iOS iOS
OSX macOS
c4ca5113 c4ca5113
.default-matryoshka_ThisIsAReallyLongSubspecName .default-matryoshka_ThisIsAReallyLongSubspecName
) )
...@@ -128,9 +128,9 @@ module Pod ...@@ -128,9 +128,9 @@ module Pod
variants.scope_suffixes.values.should == %w( variants.scope_suffixes.values.should == %w(
iOS7.0 iOS7.0
iOS iOS
OSX macOS
.default-Foo-iOS .default-Foo-iOS
.default-Foo-OSX .default-Foo-macOS
.default-Bar .default-Bar
) )
end end
......
...@@ -276,7 +276,7 @@ module Pod ...@@ -276,7 +276,7 @@ module Pod
Hash[pod_targets.map { |t| [t.label, t.target_definitions.map(&:label).sort] }.sort].should == { Hash[pod_targets.map { |t| [t.label, t.target_definitions.map(&:label).sort] }.sort].should == {
'BananaLib' => %w(Pods-SampleProject Pods-SampleProject-TestRunner), 'BananaLib' => %w(Pods-SampleProject Pods-SampleProject-TestRunner),
'monkey-iOS' => %w(Pods-SampleProject Pods-SampleProject-TestRunner), 'monkey-iOS' => %w(Pods-SampleProject Pods-SampleProject-TestRunner),
'monkey-OSX' => %w(Pods-CLITool), 'monkey-macOS' => %w(Pods-CLITool),
} }
end end
......
...@@ -84,7 +84,7 @@ module Pod ...@@ -84,7 +84,7 @@ module Pod
extend SpecHelper::TemporaryRepos extend SpecHelper::TemporaryRepos
before do before do
MasterSource.any_instance.stubs(:requires_update?).returns(true) MasterSource.any_instance.stubs(:unchanged_github_repo?).returns(false)
end end
it 'updates source backed by a git repository' do it 'updates source backed by a git repository' do
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment