From af17e3366e484aa2b925293a97af2f693a50bc94 Mon Sep 17 00:00:00 2001 From: Daniel Thorpe Date: Fri, 6 Nov 2015 14:21:18 +0000 Subject: [PATCH 1/3] [release]: Bumps the version to 1.1.0 --- Money.podspec | 2 +- Supporting Files/Money.xcconfig | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Money.podspec b/Money.podspec index 43a484f..9ce012a 100644 --- a/Money.podspec +++ b/Money.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "Money" - s.version = "1.0.0" + s.version = "1.1.0" s.summary = "Swift types for working with Money." s.description = <<-DESC diff --git a/Supporting Files/Money.xcconfig b/Supporting Files/Money.xcconfig index 20eff10..1d3979c 100644 --- a/Supporting Files/Money.xcconfig +++ b/Supporting Files/Money.xcconfig @@ -6,7 +6,7 @@ // // -MONEY_VERSION = 1.0.0 +MONEY_VERSION = 1.1.0 APPLICATION_EXTENSION_API_ONLY = YES INFOPLIST_FILE = $(SRCROOT)/Supporting Files/Info.plist From 7f135ce65acde3889fb38b4d8b55af3d92600e9a Mon Sep 17 00:00:00 2001 From: Daniel Thorpe Date: Fri, 6 Nov 2015 14:27:13 +0000 Subject: [PATCH 2/3] [release]: Updates CHANGELOG --- CHANGELOG.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2c33ee7..bf14cbc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +# 1.1.0 +1. [[MNY-16](https://github.com/danthorpe/Money/pull/16)]: Grab bag of minor issues post 1.0 release. + * Cleans up some minor mistakes (spelling etc). + * Adds `NSCoding` conformance to `FXQuote` - so it can be persisted if needed. + * Adds `FXRemoteProviderType.quote(: BaseMoney, completion: Result<(BaseMoney, FXQuote, CounterMoney), FXError> -> Void) -> NSURLSessionDataTask` API. This is the nuts and bolts of the FX provider now. It returns as its result, the base money (i.e. the input), the quote (which includes the rate), and the counter money (i.e. the output). The `fx` method still exists, and it just unwraps the tuple to return the counter money. See the updated README. +2. [[MNY-17](https://github.com/danthorpe/Money/pull/17)]: There was an oversight in the functions in `DecimalNumberType` which accepts `NSDecimalNumberBehaviors` as an argument. These were unnecessary so I’ve removed them. Hence the minor version bump. # 1.0.0 🎉🐝 Initial release of Money. From 13d4281f75113ec1c5d84e0e49a89ae1807b38cd Mon Sep 17 00:00:00 2001 From: Daniel Thorpe Date: Fri, 6 Nov 2015 14:31:44 +0000 Subject: [PATCH 3/3] [release]: Updates README to include import statment --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index bef3c83..f9ed2d4 100644 --- a/README.md +++ b/README.md @@ -15,6 +15,8 @@ Money is a Swift framework for iOS, watchOS, tvOS and OS X. It provides types an The Money framework defines the type `Money`, which represents money in the device’s current locale. The following code: ```swift +import Money + let money: Money = 100 print("I'll give \(money) to charity.”) ```