From 5f137564de08eeec9af2992bcd4e563523119353 Mon Sep 17 00:00:00 2001 From: Kevin Ballard Date: Sun, 18 Feb 2018 20:28:46 -0800 Subject: [PATCH] Bump version to v3.0.0 --- PMJSON.podspec | 2 +- PMJSON.xcodeproj/project.pbxproj | 2 +- README.md | 18 +++++++++--------- Sources/Info.plist | 2 +- Tests/PMJSONTests/Info.plist | 2 +- 5 files changed, 13 insertions(+), 13 deletions(-) diff --git a/PMJSON.podspec b/PMJSON.podspec index c0be85c..de336bd 100644 --- a/PMJSON.podspec +++ b/PMJSON.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "PMJSON" - s.version = "2.0.3" + s.version = "3.0.0" s.summary = "Pure Swift JSON encoding/decoding library" s.description = "PMJSON provides a pure-Swift strongly-typed JSON encoder/decoder as well as a set of convenience methods for converting to/from Foundation objects and for decoding JSON structures." diff --git a/PMJSON.xcodeproj/project.pbxproj b/PMJSON.xcodeproj/project.pbxproj index 71a230a..1a61c98 100644 --- a/PMJSON.xcodeproj/project.pbxproj +++ b/PMJSON.xcodeproj/project.pbxproj @@ -55,7 +55,7 @@ 0AE408A72036BEEF00A73EBC /* Codable.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Codable.swift; sourceTree = ""; }; 0AE408A92036C6A000A73EBC /* SwiftCodableTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SwiftCodableTests.swift; sourceTree = ""; }; 0AE408AC2038024E00A73EBC /* JSONKey.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = JSONKey.swift; sourceTree = ""; }; - 0AE408AE2038028100A73EBC /* PMJSON.podspec */ = {isa = PBXFileReference; lastKnownFileType = text; path = PMJSON.podspec; sourceTree = ""; }; + 0AE408AE2038028100A73EBC /* PMJSON.podspec */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; path = PMJSON.podspec; sourceTree = ""; }; 0AE408B52038063500A73EBC /* SwiftEncoder.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SwiftEncoder.swift; sourceTree = ""; }; 9E0317C41D664B9000096D9E /* sample.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = sample.json; sourceTree = ""; }; 9E0317C61D664D7D00096D9E /* README.txt */ = {isa = PBXFileReference; lastKnownFileType = text; path = README.txt; sourceTree = ""; }; diff --git a/README.md b/README.md index 2701809..599243a 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # PMJSON -[![Version](https://img.shields.io/badge/version-v2.0.3-blue.svg)](https://github.com/postmates/PMJSON/releases/latest) +[![Version](https://img.shields.io/badge/version-v3.0.0-blue.svg)](https://github.com/postmates/PMJSON/releases/latest) ![Platforms](https://img.shields.io/badge/platforms-ios%20%7C%20osx%20%7C%20watchos%20%7C%20tvos-lightgrey.svg) ![Languages](https://img.shields.io/badge/languages-swift-orange.svg) ![License](https://img.shields.io/badge/license-MIT%2FApache-blue.svg) @@ -197,7 +197,7 @@ The [Swift Package Manager][] may be used to install PMJSON by adding it to your let package = Package( name: "YourPackage", dependencies: [ - .Package(url: "https://github.com/postmates/PMJSON.git", majorVersion: 2) + .Package(url: "https://github.com/postmates/PMJSON.git", majorVersion: 3) ] ) ``` @@ -209,13 +209,13 @@ let package = Package( To install using [Carthage][], add the following to your Cartfile: ``` -github "postmates/PMJSON" ~> 2.0 +github "postmates/PMJSON" ~> 3.0 ``` -This release supports Swift 3. If you want Swift 2.3 support, you can use +This release supports Swift 4. If you want Swift 3.x support, you can use ``` -github "postmates/PMJSON" ~> 0.9.4 +github "postmates/PMJSON" ~> 2.0 ``` ### CocoaPods @@ -223,13 +223,13 @@ github "postmates/PMJSON" ~> 0.9.4 To install using [CocoaPods][], add the following to your Podfile: ``` -pod 'PMJSON', '~> 2.0' +pod 'PMJSON', '~> 3.0' ``` -This release supports Swift 3. If you want Swift 2.3 support, you can use +This release supports Swift 4. If you want Swift 3.x support, you can use ``` -pod 'PMJSON', '~> 0.9.4' +pod 'PMJSON', '~> 2.0' ``` [CocoaPods]: https://cocoapods.org @@ -248,7 +248,7 @@ Unless you explicitly state otherwise, any contribution intentionally submitted ## Version History -#### Development +#### v3.0.0 (2018-02-18) * Convert to Swift 4. * Implement `Codable` on `JSON`. diff --git a/Sources/Info.plist b/Sources/Info.plist index 0de69c1..e0f4bf7 100644 --- a/Sources/Info.plist +++ b/Sources/Info.plist @@ -15,7 +15,7 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 2.0.3 + 3.0.0 CFBundleSignature ???? CFBundleVersion diff --git a/Tests/PMJSONTests/Info.plist b/Tests/PMJSONTests/Info.plist index f437a4c..b75bb84 100644 --- a/Tests/PMJSONTests/Info.plist +++ b/Tests/PMJSONTests/Info.plist @@ -15,7 +15,7 @@ CFBundlePackageType BNDL CFBundleShortVersionString - 2.0.3 + 3.0.0 CFBundleSignature ???? CFBundleVersion