Skip to content

Commit

Permalink
Mark version as 0.4.0-beta1
Browse files Browse the repository at this point in the history
  • Loading branch information
JP Wright committed Apr 28, 2017
1 parent a85e912 commit 4bbc0ce
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Contentful.podspec
Expand Up @@ -2,7 +2,7 @@

Pod::Spec.new do |spec|
spec.name = "Contentful"
spec.version = "1.0.0"
spec.version = "0.4.0-beta1"
spec.summary = "Swift SDK for Contentful's Content Delivery API."
spec.homepage = "https://github.com/contentful/contentful.swift/"
spec.social_media_url = 'https://twitter.com/contentful'
Expand Down
2 changes: 1 addition & 1 deletion Contentful.xcodeproj/project.pbxproj
Expand Up @@ -573,10 +573,10 @@
projectRoot = "";
targets = (
A19CA3C31B836EDD00A0EFCD /* Contentful_iOS */,
A19CA3CD1B836EDD00A0EFCD /* ContentfulTests */,
EDDC070E1E3BCE920022F2F9 /* Contentful_watchOS */,
EDDC071B1E3BCEA40022F2F9 /* Contentful_tvOS */,
EDDC07281E3BCEB10022F2F9 /* Contentful_macOS */,
A19CA3CD1B836EDD00A0EFCD /* ContentfulTests */,
);
};
/* End PBXProject section */
Expand Down
2 changes: 1 addition & 1 deletion Sources/ClientConfiguration.swift
Expand Up @@ -28,7 +28,7 @@ public struct ClientConfiguration {
/// The server to use for performing requests, defaults to `cdn.contentful.com`
public var server = Defaults.cdaHost
/// The user agent to use for performing requests
public var userAgentClient = "contentful.swift/0.3.1"
public var userAgentClient = "contentful.swift/0.4.0-beta1"

/// Computed version of the user agent, including OS name and version
public var userAgent: String {
Expand Down
2 changes: 1 addition & 1 deletion Tests/ContentfulTests.swift
Expand Up @@ -38,7 +38,7 @@ class ClientConfigurationTests: XCTestCase {
let osVersion = ProcessInfo.processInfo.operatingSystemVersionString
let userAgentString = ClientConfiguration.default.userAgent

expect(userAgentString).to(equal("contentful.swift/0.3.1 (iOS \(osVersion))"))
expect(userAgentString).to(equal("contentful.swift/0.4.0-beta1 (iOS \(osVersion))"))
}

func testDefaultConfiguration() {
Expand Down

0 comments on commit 4bbc0ce

Please sign in to comment.