Skip to content

Commit

Permalink
Bump version to 2.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
HazAT committed Feb 8, 2017
1 parent 1b5ded9 commit b55ac39
Show file tree
Hide file tree
Showing 11 changed files with 24 additions and 21 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,4 @@ fastlane/test_output/
report.xml
.env
cobertura.xml
Sentry.framework.zip
4 changes: 2 additions & 2 deletions Examples/MacExample/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ PODS:
- KSCrash/Reporting/Tools
- KSCrash/Reporting/Tools (1.15.3):
- KSCrash/Recording
- Sentry (2.0.1):
- Sentry (2.1.0):
- KSCrash (~> 1.15.3)

DEPENDENCIES:
Expand All @@ -74,7 +74,7 @@ EXTERNAL SOURCES:

SPEC CHECKSUMS:
KSCrash: f344875321256d5906569a0853d73c6354a9f6f4
Sentry: 447d675677c799ffce95f604a59d9b7c55ac8fc3
Sentry: f488b86ef5004d448bccc7e85ab0ad1c6062942d

PODFILE CHECKSUM: 9a6feca63fe6ed3706b2808f4c85dae0861ba9d2

Expand Down
4 changes: 2 additions & 2 deletions Examples/ObjCExample/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ PODS:
- KSCrash/Reporting/Tools
- KSCrash/Reporting/Tools (1.15.3):
- KSCrash/Recording
- Sentry (2.0.1):
- Sentry (2.1.0):
- KSCrash (~> 1.15.3)

DEPENDENCIES:
Expand All @@ -74,7 +74,7 @@ EXTERNAL SOURCES:

SPEC CHECKSUMS:
KSCrash: f344875321256d5906569a0853d73c6354a9f6f4
Sentry: 447d675677c799ffce95f604a59d9b7c55ac8fc3
Sentry: f488b86ef5004d448bccc7e85ab0ad1c6062942d

PODFILE CHECKSUM: 6e920273a2258e01d891dd3561ac2a73612fe34a

Expand Down
4 changes: 2 additions & 2 deletions Examples/SwiftExample/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ PODS:
- KSCrash/Reporting/Tools
- KSCrash/Reporting/Tools (1.15.3):
- KSCrash/Recording
- Sentry (2.0.1):
- Sentry (2.1.0):
- KSCrash (~> 1.15.3)

DEPENDENCIES:
Expand All @@ -74,7 +74,7 @@ EXTERNAL SOURCES:

SPEC CHECKSUMS:
KSCrash: f344875321256d5906569a0853d73c6354a9f6f4
Sentry: 447d675677c799ffce95f604a59d9b7c55ac8fc3
Sentry: f488b86ef5004d448bccc7e85ab0ad1c6062942d

PODFILE CHECKSUM: 699517be0d67a415d70bbce5f2d55f918605fcbc

Expand Down
4 changes: 2 additions & 2 deletions Examples/SwiftTVOSExample/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ PODS:
- KSCrash/Reporting/Tools
- KSCrash/Reporting/Tools (1.15.3):
- KSCrash/Recording
- Sentry (2.0.1):
- Sentry (2.1.0):
- KSCrash (~> 1.15.3)

DEPENDENCIES:
Expand All @@ -74,7 +74,7 @@ EXTERNAL SOURCES:

SPEC CHECKSUMS:
KSCrash: f344875321256d5906569a0853d73c6354a9f6f4
Sentry: 447d675677c799ffce95f604a59d9b7c55ac8fc3
Sentry: f488b86ef5004d448bccc7e85ab0ad1c6062942d

PODFILE CHECKSUM: 6a149bade470704ba4317901492b58978f603305

Expand Down
4 changes: 2 additions & 2 deletions Examples/SwiftWatchOSExample/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ PODS:
- KSCrash/Reporting/Tools
- KSCrash/Reporting/Tools (1.15.3):
- KSCrash/Recording
- Sentry (2.0.1):
- Sentry (2.1.0):
- KSCrash (~> 1.15.3)

DEPENDENCIES:
Expand All @@ -74,7 +74,7 @@ EXTERNAL SOURCES:

SPEC CHECKSUMS:
KSCrash: f344875321256d5906569a0853d73c6354a9f6f4
Sentry: 447d675677c799ffce95f604a59d9b7c55ac8fc3
Sentry: f488b86ef5004d448bccc7e85ab0ad1c6062942d

PODFILE CHECKSUM: c9a2358b4bf5bf7e6f601eb701b288f4e4bd724a

Expand Down
2 changes: 1 addition & 1 deletion Sentry.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "Sentry"
s.version = "2.0.1"
s.version = "2.1.0"
s.summary = "Swift client for Sentry"
s.homepage = "https://github.com/getsentry/sentry-swift"
s.license = "mit"
Expand Down
2 changes: 1 addition & 1 deletion Sentry/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.0.1</string>
<string>2.1.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
Expand Down
16 changes: 9 additions & 7 deletions Sources/CrashReportConverter.swift
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,18 @@ internal final class CrashReportConverter {
releaseVersion: String?,
buildNumber: String?)

internal static func convertReportToEvent(_ report: CrashDictionary) -> Event? {
Log.Verbose.log("KSCrash Report = \(report)")

var crashReport = report
private static func checkIncompleteReport(_ report: CrashDictionary) -> CrashDictionary {
if let reCrash = report["recrash_report"] as? CrashDictionary {
crashReport = reCrash
Log.Debug.log("Found incomplete crash, falling back to recrash_report - Possible not showing all thread information")
return reCrash
}
return report
}

internal static func convertReportToEvent(_ report: CrashDictionary) -> Event? {
Log.Verbose.log("KSCrash Report = \(report)")

var crashReport = checkIncompleteReport(report)

// Extract crash timestamp
let timestamp: NSDate = {
Expand Down Expand Up @@ -60,9 +64,7 @@ internal final class CrashReportConverter {
}

let binaryImages = binaryImagesDicts.flatMap({ BinaryImage(appleCrashBinaryImagesDict: $0) })

let debugMeta = DebugMeta(binaryImages: binaryImages)

var threads = threadDicts.flatMap({ Thread(appleCrashThreadDict: $0, binaryImages: binaryImages) })

let exception = Exception(appleCrashErrorDict: errorDict, userInfo: userInfo)
Expand Down
2 changes: 1 addition & 1 deletion Sources/Sentry.swift
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ import KSCrash
// MARK: - Enums

internal struct Info {
static let version: String = "2.0.1"
static let version: String = "2.1.0"
static let sentryVersion: Int = 7
}

Expand Down
2 changes: 1 addition & 1 deletion docs/sentry-doc-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
}
},
"vars": {
"SENTRY_SWIFT_TAG": "2.0.1"
"SENTRY_SWIFT_TAG": "2.1.0"
}
}

0 comments on commit b55ac39

Please sign in to comment.