Skip to content

Commit 1ed2668

Browse files
muukiikzaher
authored andcommitted
Update Podspec
1 parent 4db54cd commit 1ed2668

File tree

2 files changed

+28
-13
lines changed

2 files changed

+28
-13
lines changed

Differentiator.podspec

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
Pod::Spec.new do |s|
2+
s.name = "Differentiator"
3+
s.version = "2.0.0"
4+
s.summary = "Diff algorithm for UITableView and UICollectionView."
5+
s.description = <<-DESC
6+
Diff algorithm for UITableView and UICollectionView.
7+
RxDataSources is powered by Differentiator.
8+
DESC
9+
10+
s.homepage = "https://github.com/ReactiveX/RxSwift"
11+
s.license = 'MIT'
12+
s.author = { "Krunoslav Zaher" => "[email protected]" }
13+
s.source = { :git => "https://github.com/RxSwiftCommunity/RxDataSources.git", :tag => s.version.to_s }
14+
15+
s.requires_arc = true
16+
17+
s.source_files = 'Sources/Differentiator/**/*.swift'
18+
19+
s.ios.deployment_target = '8.0'
20+
s.tvos.deployment_target = '9.0'
21+
22+
end

RxDataSources.podspec

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -28,27 +28,20 @@ data
2828
.disposed(by: disposeBag)
2929
```
3030
DESC
31-
32-
s.subspec 'Diffing' do |ds|
33-
ds.source_files = 'Sources/Differentiator/**/*.swift'
34-
end
35-
36-
s.subspec 'Default' do |cs|
37-
cs.dependency 'RxDataSources/Diffing'
38-
cs.source_files = 'Sources/RxDataSources/*.swift'
39-
end
40-
31+
4132
s.homepage = "https://github.com/ReactiveX/RxSwift"
4233
s.license = 'MIT'
4334
s.author = { "Krunoslav Zaher" => "[email protected]" }
4435
s.source = { :git => "https://github.com/RxSwiftCommunity/RxDataSources.git", :tag => s.version.to_s }
4536

46-
s.default_subspec = 'Default'
4737
s.requires_arc = true
38+
39+
s.source_files = 'Sources/RxDataSources/**/*.swift'
40+
s.dependency 'Differentiator', '~> 2.0'
41+
s.dependency 'RxSwift', '~> 3.0'
42+
s.dependency 'RxCocoa', '~> 3.0'
4843

4944
s.ios.deployment_target = '8.0'
5045
s.tvos.deployment_target = '9.0'
5146

52-
s.dependency 'RxSwift', '~> 3.0'
53-
s.dependency 'RxCocoa', '~> 3.0'
5447
end

0 commit comments

Comments
 (0)