Skip to content

Commit 6301af9

Browse files
committed
Bumped version to 1.5.2
1 parent db90880 commit 6301af9

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

SDWebImageSVGCoder.podspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
Pod::Spec.new do |s|
1010
s.name = 'SDWebImageSVGCoder'
11-
s.version = '1.5.1'
11+
s.version = '1.5.2'
1212
s.summary = 'A SVG coder plugin for SDWebImage, using Apple built-in framework'
1313

1414
# This description is used to generate tags and improve search results.

SDWebImageSVGCoder/Classes/SDImageSVGCoder.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ + (BOOL)isSVGFormatForData:(NSData *)data {
261261
if (!data) {
262262
return NO;
263263
}
264-
264+
// Check end with SVG tag
265265
return [data rangeOfData:[kSVGTagEnd dataUsingEncoding:NSUTF8StringEncoding] options:NSDataSearchBackwards range: NSMakeRange(data.length - MIN(100, data.length), MIN(100, data.length))].location != NSNotFound;
266266
}
267267

SDWebImageSVGCoder/Module/Info.plist

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
<key>CFBundlePackageType</key>
1616
<string>FMWK</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>1.5.1</string>
18+
<string>1.5.2</string>
1919
<key>CFBundleVersion</key>
20-
<string>1.5.1</string>
20+
<string>1.5.2</string>
2121
</dict>
2222
</plist>

0 commit comments

Comments
 (0)