Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add missing CFBundleVersion, bump version to 0.3.1 #74

Merged
merged 1 commit into from Feb 6, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
10 changes: 10 additions & 0 deletions CHANGELOG.md
@@ -1,3 +1,13 @@
# 0.3.1 (February 6, 2019)

A bugfix release that adds missing `CFBundleVersion` in generated framework's
`Info.plist` ([#72](https://github.com/MaxDesiatov/XMLCoder/issues/72) reported by
[@stonedauwg](https://github.com/stonedauwg)).

## Changes

* Set `CURRENT_PROJECT_VERSION` in project file ([#74](https://github.com/MaxDesiatov/XMLCoder/pull/74), [@MaxDesiatov](https://github.com/MaxDesiatov))

# 0.3.0 (January 22, 2019)

A maintenance release focused on fixing bugs, improving error reporting and
Expand Down
6 changes: 3 additions & 3 deletions README.md
Expand Up @@ -72,7 +72,7 @@ target 'YourApp' do
use_frameworks!

# Pods for Test
pod 'XMLCoder', '~> 0.3.0'
pod 'XMLCoder', '~> 0.3.1'

end
```
Expand Down Expand Up @@ -101,7 +101,7 @@ $ brew install carthage
Inside of your `Cartfile`, add GitHub path to `XMLCoder`:

```ogdl
github "MaxDesiatov/XMLCoder" ~> 0.3.0
github "MaxDesiatov/XMLCoder" ~> 0.3.1
```

Then, run the following command to build the framework:
Expand All @@ -124,7 +124,7 @@ easy as adding it to the `dependencies` value of your `Package.swift`.

```swift
dependencies: [
.package(url: "https://github.com/MaxDesiatov/XMLCoder.git", from: "0.3.0")
.package(url: "https://github.com/MaxDesiatov/XMLCoder.git", from: "0.3.1")
]
```

Expand Down
6 changes: 5 additions & 1 deletion Sources/XMLCoder/Auxiliaries/Box/KeyedBox.swift
@@ -1,6 +1,6 @@
//
// KeyedBox.swift
// XMLCoderPackageDescription
// XMLCoder
//
// Created by Vincent Esche on 11/19/18.
//
Expand All @@ -12,6 +12,10 @@ struct KeyedStorage<Key: Hashable & Comparable, Value> {

fileprivate var buffer: Buffer = [:]

var isEmpty: Bool {
return buffer.isEmpty
}

var count: Int {
return buffer.count
}
Expand Down
2 changes: 1 addition & 1 deletion Sources/XMLCoder/Decoder/XMLUnkeyedDecodingContainer.swift
Expand Up @@ -94,7 +94,7 @@ struct XMLUnkeyedDecodingContainer: UnkeyedDecodingContainer {
if let type = type as? AnyArray.Type,
let keyedBox = container
.withShared({ $0[self.currentIndex] as? KeyedBox }),
keyedBox.attributes.count == 0,
keyedBox.attributes.isEmpty,
keyedBox.elements.count == 1,
let firstKey = keyedBox.elements.keys.first,
let unkeyedBox = keyedBox.elements[firstKey] {
Expand Down
2 changes: 1 addition & 1 deletion XMLCoder.podspec
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "XMLCoder"
s.version = "0.3.0"
s.version = "0.3.1"
s.summary = "XMLEncoder & XMLDecoder using the Codable protocol in Swift 4"
s.description = "XMLCoder allows Swift 4 Codable-conforming objects to be translated to and from XML"
s.homepage = "https://github.com/MaxDesiatov/XMLCoder"
Expand Down
2 changes: 2 additions & 0 deletions XMLCoder.xcodeproj/project.pbxproj
Expand Up @@ -654,6 +654,7 @@
CLANG_ENABLE_OBJC_ARC = YES;
COMBINE_HIDPI_IMAGES = YES;
COPY_PHASE_STRIP = NO;
CURRENT_PROJECT_VERSION = 0.3.1;
DEBUG_INFORMATION_FORMAT = dwarf;
DYLIB_INSTALL_NAME_BASE = "@rpath";
ENABLE_NS_ASSERTIONS = YES;
Expand Down Expand Up @@ -683,6 +684,7 @@
CLANG_ENABLE_OBJC_ARC = YES;
COMBINE_HIDPI_IMAGES = YES;
COPY_PHASE_STRIP = YES;
CURRENT_PROJECT_VERSION = 0.3.1;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
DYLIB_INSTALL_NAME_BASE = "@rpath";
GCC_OPTIMIZATION_LEVEL = s;
Expand Down