Skip to content

Commit

Permalink
2.7.4 (#506)
Browse files Browse the repository at this point in the history
  • Loading branch information
mickael-menu authored Nov 18, 2024
1 parent 5febe4c commit 36f4151
Show file tree
Hide file tree
Showing 19 changed files with 36 additions and 72 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,17 @@ on:

env:
platform: ${{ 'iOS Simulator' }}
device: ${{ 'iPhone 12' }}
device: ${{ 'iPhone 15' }}
commit_sha: ${{ github.sha }}
DEVELOPER_DIR: /Applications/Xcode_15.4.app/Contents/Developer

jobs:
build:
name: Build
runs-on: macos-12
runs-on: macos-14
if: ${{ !github.event.pull_request.draft }}
env:
scheme: ${{ 'Readium-Package' }}
DEVELOPER_DIR: /Applications/Xcode_13.4.1.app/Contents/Developer

steps:
- name: Checkout
Expand All @@ -42,7 +42,7 @@ jobs:
lint:
name: Lint
runs-on: macos-12
runs-on: macos-14
if: ${{ !github.event.pull_request.draft }}
env:
scripts: ${{ 'Sources/Navigator/EPUB/Scripts' }}
Expand Down Expand Up @@ -76,7 +76,7 @@ jobs:

int-dev:
name: Integration (Local)
runs-on: macos-12
runs-on: macos-14
if: ${{ !github.event.pull_request.draft }}
defaults:
run:
Expand All @@ -98,7 +98,7 @@ jobs:
int-spm:
name: Integration (Swift Package Manager)
runs-on: macos-12
runs-on: macos-14
if: ${{ !github.event.pull_request.draft }}
defaults:
run:
Expand Down Expand Up @@ -126,7 +126,7 @@ jobs:
int-carthage:
name: Integration (Carthage)
runs-on: macos-12
runs-on: macos-14
if: ${{ !github.event.pull_request.draft }}
defaults:
run:
Expand Down Expand Up @@ -157,7 +157,7 @@ jobs:
int-cocoapods:
name: Integration (CocoaPods)
if: github.event_name == 'push'
runs-on: macos-12
runs-on: macos-14
defaults:
run:
working-directory: TestApp
Expand Down
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ All notable changes to this project will be documented in this file. Take a look

**Warning:** Features marked as *alpha* may change or be removed in a future release without notice. Use with caution.

## [Unreleased]
<!-- ## [Unreleased] -->

## [2.7.4]

### Fixed

Expand Down Expand Up @@ -704,3 +706,4 @@ progression. Now if no reading progression is set, the `effectiveReadingProgress
[2.7.1]: https://github.com/readium/swift-toolkit/compare/2.7.0...2.7.1
[2.7.2]: https://github.com/readium/swift-toolkit/compare/2.7.1...2.7.2
[2.7.3]: https://github.com/readium/swift-toolkit/compare/2.7.2...2.7.3
[2.7.4]: https://github.com/readium/swift-toolkit/compare/2.7.3...2.7.4
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ If you're stuck, find more information at [developer.apple.com](https://develope
Add the following to your `Cartfile`:

```
github "readium/swift-toolkit" ~> 2.7.3
github "readium/swift-toolkit" ~> 2.7.4
```

Then, [follow the usual Carthage steps](https://github.com/Carthage/Carthage#adding-frameworks-to-an-application) to add the Readium libraries to your project.
Expand All @@ -71,12 +71,12 @@ Refer to the following table to know which dependencies are required for each Re
Add the following `pod` statements to your `Podfile` for the Readium libraries you want to use:

```
pod 'R2Shared', podspec: 'https://raw.githubusercontent.com/readium/swift-toolkit/2.7.3/Support/CocoaPods/ReadiumShared.podspec'
pod 'R2Streamer', podspec: 'https://raw.githubusercontent.com/readium/swift-toolkit/2.7.3/Support/CocoaPods/ReadiumStreamer.podspec'
pod 'R2Navigator', podspec: 'https://raw.githubusercontent.com/readium/swift-toolkit/2.7.3/Support/CocoaPods/ReadiumNavigator.podspec'
pod 'ReadiumOPDS', podspec: 'https://raw.githubusercontent.com/readium/swift-toolkit/2.7.3/Support/CocoaPods/ReadiumOPDS.podspec'
pod 'ReadiumLCP', podspec: 'https://raw.githubusercontent.com/readium/swift-toolkit/2.7.3/Support/CocoaPods/ReadiumLCP.podspec'
pod 'ReadiumInternal', podspec: 'https://raw.githubusercontent.com/readium/swift-toolkit/2.7.3/Support/CocoaPods/ReadiumInternal.podspec'
pod 'R2Shared', podspec: 'https://raw.githubusercontent.com/readium/swift-toolkit/2.7.4/Support/CocoaPods/ReadiumShared.podspec'
pod 'R2Streamer', podspec: 'https://raw.githubusercontent.com/readium/swift-toolkit/2.7.4/Support/CocoaPods/ReadiumStreamer.podspec'
pod 'R2Navigator', podspec: 'https://raw.githubusercontent.com/readium/swift-toolkit/2.7.4/Support/CocoaPods/ReadiumNavigator.podspec'
pod 'ReadiumOPDS', podspec: 'https://raw.githubusercontent.com/readium/swift-toolkit/2.7.4/Support/CocoaPods/ReadiumOPDS.podspec'
pod 'ReadiumLCP', podspec: 'https://raw.githubusercontent.com/readium/swift-toolkit/2.7.4/Support/CocoaPods/ReadiumLCP.podspec'
pod 'ReadiumInternal', podspec: 'https://raw.githubusercontent.com/readium/swift-toolkit/2.7.4/Support/CocoaPods/ReadiumInternal.podspec'
pod 'Fuzi', podspec: 'https://raw.githubusercontent.com/readium/Fuzi/refs/heads/master/Fuzi.podspec'
# Required if you use R2Streamer.
Expand Down
4 changes: 2 additions & 2 deletions Support/CocoaPods/ReadiumAdapterGCDWebServer.podspec
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
Pod::Spec.new do |s|

s.name = "ReadiumAdapterGCDWebServer"
s.version = "2.7.3"
s.version = "2.7.4"
s.license = "BSD 3-Clause License"
s.summary = "Adapter to use GCDWebServer as an HTTP server in Readium"
s.homepage = "http://readium.github.io"
s.author = { "Readium" => "[email protected]" }
s.source = { :git => "https://github.com/readium/swift-toolkit.git", :tag => "2.7.3" }
s.source = { :git => "https://github.com/readium/swift-toolkit.git", :tag => "2.7.4" }
s.requires_arc = true
s.source_files = "Sources/Adapters/GCDWebServer/**/*.{m,h,swift}"
s.platform = :ios
Expand Down
4 changes: 2 additions & 2 deletions Support/CocoaPods/ReadiumInternal.podspec
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
Pod::Spec.new do |s|

s.name = "ReadiumInternal"
s.version = "2.7.3"
s.version = "2.7.4"
s.license = "BSD 3-Clause License"
s.summary = "Private utilities used by the Readium modules"
s.homepage = "http://readium.github.io"
s.author = { "Readium" => "[email protected]" }
s.source = { :git => "https://github.com/readium/swift-toolkit.git", :tag => "2.7.3" }
s.source = { :git => "https://github.com/readium/swift-toolkit.git", :tag => "2.7.4" }
s.requires_arc = true
s.source_files = "Sources/Internal/**/*.{m,h,swift}"
s.platform = :ios
Expand Down
4 changes: 2 additions & 2 deletions Support/CocoaPods/ReadiumLCP.podspec
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
Pod::Spec.new do |s|

s.name = "ReadiumLCP"
s.version = "2.7.3"
s.version = "2.7.4"
s.license = "BSD 3-Clause License"
s.summary = "Readium LCP"
s.homepage = "http://readium.github.io"
s.author = { "Readium" => "[email protected]" }
s.source = { :git => "https://github.com/readium/swift-toolkit.git", :tag => "2.7.3" }
s.source = { :git => "https://github.com/readium/swift-toolkit.git", :tag => "2.7.4" }
s.requires_arc = true
s.resource_bundles = {
'ReadiumLCP' => [
Expand Down
4 changes: 2 additions & 2 deletions Support/CocoaPods/ReadiumNavigator.podspec
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
Pod::Spec.new do |s|

s.name = "R2Navigator"
s.version = "2.7.3"
s.version = "2.7.4"
s.license = "BSD 3-Clause License"
s.summary = "R2 Navigator"
s.homepage = "http://readium.github.io"
s.author = { "Readium" => "[email protected]" }
s.source = { :git => "https://github.com/readium/swift-toolkit.git", :tag => "2.7.3" }
s.source = { :git => "https://github.com/readium/swift-toolkit.git", :tag => "2.7.4" }
s.requires_arc = true
s.resource_bundles = {
'ReadiumNavigator' => [
Expand Down
4 changes: 2 additions & 2 deletions Support/CocoaPods/ReadiumOPDS.podspec
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
Pod::Spec.new do |s|

s.name = "ReadiumOPDS"
s.version = "2.7.3"
s.version = "2.7.4"
s.license = "BSD 3-Clause License"
s.summary = "Readium OPDS"
s.homepage = "http://readium.github.io"
s.author = { "Readium" => "[email protected]" }
s.source = { :git => "https://github.com/readium/swift-toolkit.git", :tag => "2.7.3" }
s.source = { :git => "https://github.com/readium/swift-toolkit.git", :tag => "2.7.4" }
s.requires_arc = true
s.resource_bundles = {
'ReadiumOPDS' => ['Sources/OPDS/Resources/**'],
Expand Down
4 changes: 2 additions & 2 deletions Support/CocoaPods/ReadiumShared.podspec
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
Pod::Spec.new do |s|

s.name = "R2Shared"
s.version = "2.7.3"
s.version = "2.7.4"
s.license = "BSD 3-Clause License"
s.summary = "R2 Shared"
s.homepage = "http://readium.github.io"
s.author = { "Readium" => "[email protected]" }
s.source = { :git => 'https://github.com/readium/swift-toolkit.git', :tag => "2.7.3" }
s.source = { :git => 'https://github.com/readium/swift-toolkit.git', :tag => "2.7.4" }
s.exclude_files = ["Sources/Shared/Toolkit/Archive/ZIPFoundation.swift"]
s.requires_arc = true
s.resource_bundles = {
Expand Down
4 changes: 2 additions & 2 deletions Support/CocoaPods/ReadiumStreamer.podspec
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
Pod::Spec.new do |s|

s.name = "R2Streamer"
s.version = "2.7.3"
s.version = "2.7.4"
s.license = "BSD 3-Clause License"
s.summary = "R2 Streamer"
s.homepage = "http://readium.github.io"
s.author = { "Readium" => "[email protected]" }
s.source = { :git => "https://github.com/readium/swift-toolkit.git", :tag => "2.7.3" }
s.source = { :git => "https://github.com/readium/swift-toolkit.git", :tag => "2.7.4" }
s.requires_arc = true
s.resource_bundles = {
'ReadiumStreamer' => [
Expand Down
4 changes: 2 additions & 2 deletions TestApp/Sources/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -228,9 +228,9 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>2.7.3</string>
<string>2.7.4</string>
<key>CFBundleVersion</key>
<string>2.7.3</string>
<string>2.7.4</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>LSSupportsOpeningDocumentsInPlace</key>
Expand Down
2 changes: 1 addition & 1 deletion Tests/LCPTests/Content Protection/LCPDecryptorTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,6 @@ class LCPDecryptorTests: XCTestCase {
completionExpectation.fulfill()
}

waitForExpectations(timeout: 10, handler: nil)
waitForExpectations(timeout: 30, handler: nil)
}
}
39 changes: 0 additions & 39 deletions Tests/StreamerTests/Parser/PublicationParsingTests.swift

This file was deleted.

File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 36f4151

Please sign in to comment.