Skip to content

Commit 66c46b1

Browse files
committed
Bump version
1 parent 981327a commit 66c46b1

File tree

8 files changed

+34
-29
lines changed

8 files changed

+34
-29
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 4.0.0
2+
3+
- Merge all pull requests
4+
15
## 3.0.0
26
### Changed
37
- `metadata` file now saves as `mimetype` [pull#1](https://github.com/rbcprolabs/epubx.dart/pull/1)

example/flutter_ex/ios/Flutter/AppFrameworkInfo.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@
2121
<key>CFBundleVersion</key>
2222
<string>1.0</string>
2323
<key>MinimumOSVersion</key>
24-
<string>9.0</string>
24+
<string>11.0</string>
2525
</dict>
2626
</plist>

example/flutter_ex/ios/Runner.xcodeproj/project.pbxproj

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
archiveVersion = 1;
44
classes = {
55
};
6-
objectVersion = 46;
6+
objectVersion = 54;
77
objects = {
88

99
/* Begin PBXBuildFile section */
@@ -127,7 +127,7 @@
127127
97C146E61CF9000F007C117D /* Project object */ = {
128128
isa = PBXProject;
129129
attributes = {
130-
LastUpgradeCheck = 1020;
130+
LastUpgradeCheck = 1300;
131131
ORGANIZATIONNAME = "";
132132
TargetAttributes = {
133133
97C146ED1CF9000F007C117D = {
@@ -171,10 +171,12 @@
171171
/* Begin PBXShellScriptBuildPhase section */
172172
3B06AD1E1E4923F5004D2608 /* Thin Binary */ = {
173173
isa = PBXShellScriptBuildPhase;
174+
alwaysOutOfDate = 1;
174175
buildActionMask = 2147483647;
175176
files = (
176177
);
177178
inputPaths = (
179+
"${TARGET_BUILD_DIR}/${INFOPLIST_PATH}",
178180
);
179181
name = "Thin Binary";
180182
outputPaths = (
@@ -185,6 +187,7 @@
185187
};
186188
9740EEB61CF901F6004384FC /* Run Script */ = {
187189
isa = PBXShellScriptBuildPhase;
190+
alwaysOutOfDate = 1;
188191
buildActionMask = 2147483647;
189192
files = (
190193
);
@@ -272,7 +275,7 @@
272275
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
273276
GCC_WARN_UNUSED_FUNCTION = YES;
274277
GCC_WARN_UNUSED_VARIABLE = YES;
275-
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
278+
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
276279
MTL_ENABLE_DEBUG_INFO = NO;
277280
SDKROOT = iphoneos;
278281
SUPPORTED_PLATFORMS = iphoneos;
@@ -346,7 +349,7 @@
346349
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
347350
GCC_WARN_UNUSED_FUNCTION = YES;
348351
GCC_WARN_UNUSED_VARIABLE = YES;
349-
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
352+
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
350353
MTL_ENABLE_DEBUG_INFO = YES;
351354
ONLY_ACTIVE_ARCH = YES;
352355
SDKROOT = iphoneos;
@@ -395,7 +398,7 @@
395398
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
396399
GCC_WARN_UNUSED_FUNCTION = YES;
397400
GCC_WARN_UNUSED_VARIABLE = YES;
398-
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
401+
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
399402
MTL_ENABLE_DEBUG_INFO = NO;
400403
SDKROOT = iphoneos;
401404
SUPPORTED_PLATFORMS = iphoneos;

example/flutter_ex/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "1020"
3+
LastUpgradeVersion = "1300"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"

example/flutter_ex/ios/Runner/Info.plist

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,5 +41,9 @@
4141
</array>
4242
<key>UIViewControllerBasedStatusBarAppearance</key>
4343
<false/>
44+
<key>CADisableMinimumFrameDurationOnPhone</key>
45+
<true/>
46+
<key>UIApplicationSupportsIndirectInputEvents</key>
47+
<true/>
4448
</dict>
4549
</plist>

lib/src/ref_entities/epub_content_file_ref.dart

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import 'dart:async';
2+
import 'dart:convert' as convert;
23

34
import 'package:archive/archive.dart';
4-
import 'dart:convert' as convert;
55
import 'package:collection/collection.dart' show IterableExtension;
66
import 'package:quiver/core.dart';
77

@@ -30,8 +30,7 @@ abstract class EpubContentFileRef {
3030
return false;
3131
}
3232

33-
return (other is EpubContentFileRef &&
34-
other.FileName == FileName &&
33+
return (other.FileName == FileName &&
3534
other.ContentMimeType == ContentMimeType &&
3635
other.ContentType == ContentType);
3736
}

lib/src/writers/epub_navigation_writer.dart

Lines changed: 12 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import 'package:epubx/src/schema/navigation/epub_navigation.dart';
2-
import 'package:epubx/src/schema/navigation/epub_navigation_doc_author.dart';
32
import 'package:epubx/src/schema/navigation/epub_navigation_doc_title.dart';
43
import 'package:epubx/src/schema/navigation/epub_navigation_head.dart';
54
import 'package:epubx/src/schema/navigation/epub_navigation_map.dart';
@@ -27,7 +26,8 @@ class EpubNavigationWriter {
2726
return builder.buildDocument().toXmlString(pretty: false);
2827
}
2928

30-
static void writeNavigationDocTitle(XmlBuilder builder, EpubNavigationDocTitle title) {
29+
static void writeNavigationDocTitle(
30+
XmlBuilder builder, EpubNavigationDocTitle title) {
3131
builder.element('docTitle', nest: () {
3232
title.Titles!.forEach((element) {
3333
builder.text(element);
@@ -36,24 +36,20 @@ class EpubNavigationWriter {
3636
}
3737

3838
static void writeNavigationHead(XmlBuilder builder, EpubNavigationHead head) {
39-
builder.element('head',
40-
nest: () {
41-
head.Metadata!.forEach((item) => builder.element('meta',
42-
attributes: {
43-
'content': item.Content!,
44-
'name': item.Name!
45-
}));
46-
});
39+
builder.element('head', nest: () {
40+
head.Metadata!.forEach((item) => builder.element('meta',
41+
attributes: {'content': item.Content!, 'name': item.Name!}));
42+
});
4743
}
4844

4945
static void writeNavigationMap(XmlBuilder builder, EpubNavigationMap map) {
50-
builder.element('navMap',
51-
nest: () {
52-
map.Points!.forEach((item) => writeNavigationPoint(builder, item));
53-
});
46+
builder.element('navMap', nest: () {
47+
map.Points!.forEach((item) => writeNavigationPoint(builder, item));
48+
});
5449
}
5550

56-
static void writeNavigationPoint(XmlBuilder builder, EpubNavigationPoint point) {
51+
static void writeNavigationPoint(
52+
XmlBuilder builder, EpubNavigationPoint point) {
5753
builder.element('navPoint', attributes: {
5854
'id': point.Id!,
5955
'playOrder': point.PlayOrder!,
@@ -65,8 +61,7 @@ class EpubNavigationWriter {
6561
});
6662
});
6763
});
68-
builder.element('content', attributes: { 'src': point.Content!.Source! });
64+
builder.element('content', attributes: {'src': point.Content!.Source!});
6965
});
7066
}
71-
7267
}

pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ name: epubx
22
description: Epub Parser for Dart. Epub package fork. Suitable for use on the Server, the Web, or in Flutter
33
homepage: https://github.com/rbcprolabs/epubx.dart
44
issue_tracker: https://github.com/rbcprolabs/epubx.dart
5-
version: 3.0.0
5+
version: 4.0.0
66

77
environment:
8-
sdk: '>=2.12.0 <3.0.0'
8+
sdk: '>=2.12.0 <4.0.0'
99

1010
dependencies:
1111
archive: ^3.1.6

0 commit comments

Comments
 (0)