Skip to content

Commit

Permalink
Merge pull request #6 from lobodart/dev
Browse files Browse the repository at this point in the history
Release 2.2.0
  • Loading branch information
lobodart authored May 24, 2018
2 parents 7420202 + 3d209b3 commit 95adfeb
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .swift-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4.0
4.1
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
language: swift

osx_image: xcode9
xcode_sdk: iphonesimulator11.0
osx_image: xcode9.3
xcode_sdk: iphonesimulator11.3

script: ./scripts/ci.sh

Expand All @@ -10,4 +10,4 @@ deploy:
script: ./scripts/push.sh
on:
branch: master
tags: true
tags: true
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
## 2.2.0 (May 24, 2018)

- Swift 4.1 Update
- Removing minor warnings


## 2.1.0 (October 25, 2017)

- Swift 4.0 Update
- Removing minor warnings


## 2.0.0 (September 19, 2016)

- Swift 3 Update
Expand Down
4 changes: 2 additions & 2 deletions CheatyXML.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Pod::Spec.new do |s|
#

s.name = "CheatyXML"
s.version = "2.1.0"
s.version = "2.2.0"
s.summary = "CheatyXML"

s.description = <<-DESC
Expand Down Expand Up @@ -66,7 +66,7 @@ Pod::Spec.new do |s|
# Supports git, hg, bzr, svn and HTTP.
#

s.source = { :git => "https://github.com/lobodart/CheatyXML.git", :tag => "v2.1.0" }
s.source = { :git => "https://github.com/lobodart/CheatyXML.git", :tag => "v2.2.0" }


# ――― Source Code ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
Expand Down
4 changes: 2 additions & 2 deletions CheatyXML/CXMLParser.swift
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public class CXMLParser: NSObject, XMLParserDelegate {

deinit {
for pointer in self._allocatedPointersList {
pointer.deallocate(capacity: 1)
pointer.deallocate()
}
}

Expand Down Expand Up @@ -105,7 +105,7 @@ public class CXMLParser: NSObject, XMLParserDelegate {
tmpString! += string

let regex: NSRegularExpression = try! NSRegularExpression(pattern: "[^\\n\\s]+", options: [])
if regex.matches(in: tmpString, options: [], range: NSMakeRange(0, tmpString.characters.count)).count <= 0 {
if regex.matches(in: tmpString, options: [], range: NSMakeRange(0, tmpString.count)).count <= 0 {
tmpString = nil
}

Expand Down
2 changes: 1 addition & 1 deletion CheatyXML/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>2.1.0</string>
<string>2.2.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
Expand Down

0 comments on commit 95adfeb

Please sign in to comment.