Skip to content
This repository was archived by the owner on Jul 2, 2018. It is now read-only.

Commit 595600e

Browse files
committed
Merge branch 'release/1.5.1'
2 parents eb5d0a8 + 2ec3907 commit 595600e

39 files changed

+285
-2981
lines changed

.jazzy.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
author_name: Daniel Thorpe
22
author_url: http://danthorpe.me
33
module_name: Money
4-
module_version: 1.5.0
4+
module_version: 1.5.1
55
github_url: https://github.com/danthorpe/Money
66
readme: README.md
77
podspec: Money.podspec

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# 1.5.1
2+
Cleans up a few issues related to updating to the latest Carthage, and the example project.
3+
4+
# 1.5.0
5+
1. [[MNY-38](https://github.com/danthorpe/Money/pull/38)]: Removes the FX functionality from this framework.
6+
17
# 1.4.2
28
1. [[MNY-39](https://github.com/danthorpe/Money/pull/30)]: Updates to the latest version of [Result](https://github.com/antitypical/Result/releases/tag/1.0.1) dependency. Thanks to [@mrdavey](https://github.com/mrdavey) and [@hsoi](https://github.com/hsoi) for spotting this!
39

Examples/Custom Money/Custom Money/Currencies.swift

+5
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,9 @@ extension Currency {
5151
typealias Hearts = _Money<Currency.Heart>
5252
typealias Bees = _Money<Currency.Bee>
5353

54+
55+
/** - This would require the FX module
56+
5457
class BankRates {
5558

5659
static func quoteForBase(base: String, counter: String) -> FXQuote {
@@ -93,3 +96,5 @@ class Bank<B: MoneyType, C: MoneyType where
9396
}
9497
}
9598

99+
100+
*/

Examples/Custom Money/Custom Money/ViewController.swift

+4-1
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,12 @@ class ViewController: UIViewController {
1919

2020
print("You have \(hearts) and \(bees)")
2121

22-
let total = Bank<Hearts,Bees>.fx(hearts).counter + bees
22+
/** - This would require importing MoneyFX instead
2323

24+
let total = Bank<Hearts,Bees>.fx(hearts).counter + bees
2425
print("Exchanging your \(hearts) into \(Currency.Bee.symbol) via the bank gives you \(total) in total.")
26+
27+
*/
2528
}
2629
}
2730

Examples/Custom Money/Podfile.lock

+4-10
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
11
PODS:
2-
- Money (1.4.1):
3-
- Result
4-
- SwiftyJSON
2+
- Money (1.5.1):
53
- ValueCoding
6-
- Result (1.0.1)
7-
- SwiftyJSON (2.3.2)
8-
- ValueCoding (1.1.1)
4+
- ValueCoding (1.2.0)
95

106
DEPENDENCIES:
117
- Money (from `../../`)
@@ -15,9 +11,7 @@ EXTERNAL SOURCES:
1511
:path: "../../"
1612

1713
SPEC CHECKSUMS:
18-
Money: 5f822a7b435ab6f07af599f0d0e40786732364ad
19-
Result: caef80340451e1f07492fa1e89117f83613bce24
20-
SwiftyJSON: 04ccea08915aa0109039157c7974cf0298da292a
21-
ValueCoding: c693457b32175c1e468b3fd838cb021100a63e71
14+
Money: b3939e8ec686118a6525fe2ff4bed5e55af4a0e1
15+
ValueCoding: e2f7d8fee288debd762b655a8e0ba933985a6b57
2216

2317
COCOAPODS: 0.39.0

Examples/Custom Money/Pods/Local Podspecs/Money.podspec.json

+3-9
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Examples/Custom Money/Pods/Manifest.lock

+4-10
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Examples/Custom Money/Pods/Pods.xcodeproj/project.pbxproj

+218-586
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Examples/Custom Money/Pods/Pods.xcodeproj/xcshareddata/xcschemes/Money.xcscheme

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Examples/Custom Money/Pods/Result/LICENSE

-21
This file was deleted.

Examples/Custom Money/Pods/Result/README.md

-23
This file was deleted.

0 commit comments

Comments
 (0)