Skip to content

Commit

Permalink
[0.5.0] Swift 5, Xcode 10.2, prep release (#158)
Browse files Browse the repository at this point in the history
* Upgrade to Swift 5.0
* Upgrade to Xcode10.2
* Upgrade DifferenceKit 1.1.0
* Drop iOS 10 support
* Regen docs
* Update CHANGELOG
* Update README
jessesquires authored Mar 27, 2019

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 2121912 commit 40fe60a
Showing 96 changed files with 2,253 additions and 789 deletions.
10 changes: 3 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -12,17 +12,13 @@ cache:

env:
global:
- LANG=en_US.UTF-8

- WORKSPACE="ReactiveLists.xcworkspace"

- FRAMEWORK_SCHEME="ReactiveLists"
- EXAMPLE_SCHEME="Example"

matrix:
- DESTINATION="OS=10.3.1,name=iPhone 7" SCHEME="$FRAMEWORK_SCHEME" POD_LINT="YES" CODE_COVERAGE="NO"
- DESTINATION="OS=11.4,name=iPhone X" SCHEME="$FRAMEWORK_SCHEME" POD_LINT="NO" CODE_COVERAGE="YES"
- DESTINATION="OS=12.0,name=iPhone 6s" SCHEME="$FRAMEWORK_SCHEME" POD_LINT="NO" CODE_COVERAGE="NO"
- DESTINATION="OS=11.4,name=iPhone X" SCHEME="$FRAMEWORK_SCHEME" POD_LINT="YES"
- DESTINATION="OS=12.0,name=iPhone X" SCHEME="$FRAMEWORK_SCHEME" POD_LINT="NO"

# Note: travis installs ruby dependencies using bundler automatically, when there's a Gemfile

@@ -37,7 +33,7 @@ script:
bundle exec pod lib lint;
fi

- xcodebuild test -workspace "$WORKSPACE" -scheme "$FRAMEWORK_SCHEME" -sdk "iphonesimulator" -destination "$DESTINATION" -configuration Debug -enableCodeCoverage "$CODE_COVERAGE" ONLY_ACTIVE_ARCH=NO | bundle exec xcpretty -c
- xcodebuild test -workspace "$WORKSPACE" -scheme "$FRAMEWORK_SCHEME" -sdk "iphonesimulator" -destination "$DESTINATION" -configuration Debug -enableCodeCoverage YES ONLY_ACTIVE_ARCH=NO | bundle exec xcpretty -c

- if [ $BUILD_EXAMPLE == "YES" ]; then
xcodebuild build -workspace "$WORKSPACE" -scheme "$EXAMPLE_SCHEME" -sdk "iphonesimulator" -destination "$DESTINATION" ONLY_ACTIVE_ARCH=NO | bundle exec xcpretty -c;
13 changes: 12 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -7,8 +7,19 @@ The changelog for `ReactiveLists`. Also see the [releases](https://github.com/pl
NEXT
----

0.5.0
-----

This release closes the [0.5.0 milestone](https://github.com/plangrid/ReactiveLists/milestone/12?closed=1).

### Breaking

- Migrated to Swift 5.0
- Dropped support for iOS 10. iOS 11 and above now required.

### Changed
- Upgrades DifferenceKit to 1.0.0 ([#156](https://github.com/plangrid/ReactiveLists/pull/156), [@anayini](https://github.com/anayini))

- Upgraded to DifferenceKit to 1.1.0

0.4.0
-----
4 changes: 2 additions & 2 deletions Podfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
source 'https://github.com/CocoaPods/Specs.git'

platform :ios, '10.0'
platform :ios, '11.0'
use_frameworks!
inhibit_all_warnings!

target 'ReactiveLists' do
project 'ReactiveLists.xcodeproj'

pod 'DifferenceKit', '1.0.0'
pod 'DifferenceKit', '1.1.0'
pod 'SwiftLint', '0.30.1'

target 'ReactiveListsExample' do
18 changes: 9 additions & 9 deletions Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
PODS:
- DifferenceKit (1.0.0):
- DifferenceKit/Core (= 1.0.0)
- DifferenceKit/UIKitExtension (= 1.0.0)
- DifferenceKit/Core (1.0.0)
- DifferenceKit/UIKitExtension (1.0.0):
- DifferenceKit (1.1.0):
- DifferenceKit/Core (= 1.1.0)
- DifferenceKit/UIKitExtension (= 1.1.0)
- DifferenceKit/Core (1.1.0)
- DifferenceKit/UIKitExtension (1.1.0):
- DifferenceKit/Core
- SwiftLint (0.30.1)

DEPENDENCIES:
- DifferenceKit (= 1.0.0)
- DifferenceKit (= 1.1.0)
- SwiftLint (= 0.30.1)

SPEC REPOS:
@@ -17,9 +17,9 @@ SPEC REPOS:
- SwiftLint

SPEC CHECKSUMS:
DifferenceKit: d501e37b866e98a8aaee0f61ceb02ad98e52b9c1
DifferenceKit: 7726ceeff4ec3748788e4b01396861b283797440
SwiftLint: a54bf1fe12b55c68560eb2a7689dfc81458508f7

PODFILE CHECKSUM: bfad59a1cf3109662a4bc67043009ea60c8542aa
PODFILE CHECKSUM: f4d525d7ba27317176274dd214708a367af86650

COCOAPODS: 1.5.3
COCOAPODS: 1.6.1
213 changes: 196 additions & 17 deletions Pods/DifferenceKit/LICENSE

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

39 changes: 36 additions & 3 deletions Pods/DifferenceKit/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

23 changes: 14 additions & 9 deletions Pods/DifferenceKit/Sources/Algorithm.swift
12 changes: 6 additions & 6 deletions Pods/DifferenceKit/Sources/Changeset.swift
12 changes: 6 additions & 6 deletions Pods/DifferenceKit/Sources/Extensions/UIKitExtension.swift
2 changes: 2 additions & 0 deletions Pods/DifferenceKit/Sources/StagedChangeset.swift
18 changes: 9 additions & 9 deletions Pods/Manifest.lock
868 changes: 496 additions & 372 deletions Pods/Pods.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -43,7 +43,7 @@ self.driver.tableViewModel = updatedTableModel

## Project Status

An early version of the `UITableView` support has been shipping in the [PlanGrid app](https://itunes.apple.com/us/app/plangrid-construction-software/id498795789?mt=8) since late 2015 and is now used accross wide parts of the app. The support for `UICollectionView` is less mature as we only use `UICollectionView` in very few places.
An early version of the `UITableView` support has been shipping in the [PlanGrid app](https://itunes.apple.com/us/app/plangrid-construction-software/id498795789?mt=8) since late 2015 and is now used accross wide parts of the app. The support for `UICollectionView` is less mature as we only use `UICollectionView` in very few places.

| Feature | Status |
| -------------------------- | :-------------: |
@@ -72,7 +72,7 @@ $ ./scripts/gen_docs.sh

* Xcode 10+
* Swift 4.2+
* iOS 10+
* iOS 11+

## Installation

8 changes: 4 additions & 4 deletions ReactiveLists.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "ReactiveLists"
s.version = "0.4.0"
s.version = "0.5.0"

s.summary = "React-like API for UITableView and UICollectionView"
s.homepage = "https://github.com/plangrid/ReactiveLists"
@@ -12,9 +12,9 @@ Pod::Spec.new do |s|

s.source = { :git => "https://github.com/plangrid/ReactiveLists.git", :tag => s.version.to_s }
s.source_files = 'Sources/**/*.swift'
s.ios.deployment_target = '10.0'
s.swift_version = '4.2'
s.ios.deployment_target = '11.0'
s.swift_version = '5.0'
s.requires_arc = true

s.dependency 'DifferenceKit', '~> 1.0.0'
s.dependency 'DifferenceKit', '~> 1.1.0'
end
Loading

0 comments on commit 40fe60a

Please sign in to comment.