Skip to content

Commit 04e5f4f

Browse files
committed
Update to 2.2.1
1 parent 6e7ea27 commit 04e5f4f

7 files changed

+39
-11
lines changed

CHANGELOG.md

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
11
Changelog
22
=========
33

4+
## 2.2.1
5+
6+
- Update Podspec for CocoaPods compatibility
7+
48
## 2.2
59

610
- Update to FHIR `1.0.2.7202` (DSTU 2 with technical errata, compatible with `1.0.1`)
7-
- Add a very simple base implementation of `FHIRServer` called `FHIROpenServer`and a typealias `FHIRBaseServer`
11+
- Add a very simple base implementation of `FHIRServer` called `FHIROpenServer`, which also serves as superclass for our SMART `Server` class
812
- New error handling using `FHIRError`
913
- Implement absolute reference resolver (will not work if the other server is protected)
1014
- Fixes to `ElementDefinition`
@@ -19,6 +23,7 @@ Changelog
1923

2024
- Update to Swift 2.0
2125

26+
2227
## 1.0
2328

2429
- Update to swift 1.2

Info.plist

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@
1515
<key>CFBundlePackageType</key>
1616
<string>FMWK</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>1.0</string>
18+
<string>2.2.1</string>
1919
<key>CFBundleSignature</key>
2020
<string>????</string>
2121
<key>CFBundleVersion</key>
22-
<string>${CURRENT_PROJECT_VERSION}</string>
22+
<string>2.2.1.0</string>
2323
<key>NSPrincipalClass</key>
2424
<string></string>
2525
</dict>

README.md

+10-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
![](assets/banner.png)
1+
<div style="text-align:center">![](assets/banner.png)</div>
22

33
Swift-SMART is a full client implementation of the 🔥FHIR specification for building apps that interact with healthcare data through [**SMART on FHIR**](http://docs.smarthealthit.org).
44
Written in _Swift 2_ it is compatible with **iOS 8** and **OS X 10.9** and newer and requires Xcode 7 or newer.
@@ -75,6 +75,15 @@ smart.authorize() { patient, error in
7575
```
7676

7777

78+
Installation
79+
------------
80+
81+
The suggested approach is to add _Swift-SMART_ as a git submodule to your project.
82+
Detailed instructions on how this is done can be glanced from the [OAuth2 installation instructions](https://github.com/p2/OAuth2#installation).
83+
84+
The framework is also available via _CocoaPods_ under the name [SMART](https://cocoapods.org/?q=smart).
85+
86+
7887
License
7988
-------
8089

SMART.podspec

+19-5
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
Pod::Spec.new do |s|
99
s.name = "SMART"
10-
s.version = "2.2"
10+
s.version = "2.2.1"
1111
s.summary = "Swift SMART on FHIR framework for iOS and OS X"
1212
s.description = <<-DESC
1313
Swift SMART on FHIR framework for iOS and OS X.
@@ -28,8 +28,22 @@ Pod::Spec.new do |s|
2828

2929
s.ios.deployment_target = "8.0"
3030
s.osx.deployment_target = "10.9"
31-
s.requires_arc = true
32-
s.source_files = "Classes/*", "Swift-FHIR/Classes/*", "Swift-FHIR/Models/*", "OAuth2/SwiftKeychain/SwiftKeychain/Keychain/*.swift", "OAuth2/OAuth2/*.swift"
33-
s.ios.source_files = "Classes+iOS/*", "OAuth2/OAuth2+iOS/*"
34-
s.osx.source_files = "Classes+OSX/*", "OAuth2/OAuth2+OSX/*"
31+
32+
s.source_files = "Classes/*.swift",
33+
"Swift-FHIR/Models/*.swift",
34+
"Swift-FHIR/Classes/FHIRElement+Utilities.swift",
35+
"Swift-FHIR/Classes/FHIRError.swift",
36+
"Swift-FHIR/Classes/FHIROpenServer.swift",
37+
"Swift-FHIR/Classes/FHIROperation.swift",
38+
"Swift-FHIR/Classes/FHIRSearch.swift",
39+
"Swift-FHIR/Classes/FHIRServer*.swift",
40+
"Swift-FHIR/Classes/Reference+Resolving.swift",
41+
"Swift-FHIR/Classes/Resource+REST.swift",
42+
"Swift-FHIR/Classes/String+Localization.swift",
43+
"OAuth2/SwiftKeychain/SwiftKeychain/Keychain/*.swift",
44+
"OAuth2/OAuth2/*.swift"
45+
s.ios.source_files = "Classes+iOS/*.swift",
46+
"OAuth2/OAuth2+iOS/*.swift"
47+
s.osx.source_files = "Classes+OSX/*.swift",
48+
"OAuth2/OAuth2+OSX/*.swift"
3549
end

assets/banner.png

-839 Bytes
Loading

generate-docs.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jazzy \
1010
-g "https://github.com/smart-on-fhir/Swift-SMART" \
1111
-r "http://smart-on-fhir.github.io/Swift-SMART" \
1212
-o "docs" \
13-
--module-version "2.2"
13+
--module-version "2.2.1"
1414

1515
mkdir docs/assets 2>/dev/null
1616
cp assets/banner.png docs/assets/

0 commit comments

Comments
 (0)