Skip to content

Commit

Permalink
Update user agent version
Browse files Browse the repository at this point in the history
  • Loading branch information
glennrfisher committed Jun 30, 2016
1 parent aa14ca4 commit 4b10dd1
Show file tree
Hide file tree
Showing 15 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion Source/AlchemyDataNewsV1/AlchemyDataNews.swift
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public class AlchemyDataNews {

private let serviceUrl = "https://gateway-a.watsonplatform.net/calls"
private let errorDomain = "com.watsonplatform.alchemyDataNews"
private let userAgent = buildUserAgent("watson-apis-ios-sdk/0.4.0 AlchemyDataNewsV1")
private let userAgent = buildUserAgent("watson-apis-ios-sdk/0.4.1 AlchemyDataNewsV1")

/**
Initilizes the AlchemyDataNews service
Expand Down
2 changes: 1 addition & 1 deletion Source/AlchemyLanguageV1/AlchemyLanguage.swift
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public class AlchemyLanguage {

private let serviceUrl = "https://gateway-a.watsonplatform.net/calls"
private let errorDomain = "com.watsonplatform.alchemyLanguage"
private let userAgent = buildUserAgent("watson-apis-ios-sdk/0.4.0 AlchemyLanguageV1")
private let userAgent = buildUserAgent("watson-apis-ios-sdk/0.4.1 AlchemyLanguageV1")

private let unreservedCharacters = NSCharacterSet(charactersInString: "abcdefghijklmnopqrstuvwxyz" +
"ABCDEFGHIJKLMNOPQRSTUVWXYZ" +
Expand Down
2 changes: 1 addition & 1 deletion Source/AlchemyVisionV1/AlchemyVision.swift
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public class AlchemyVision {

private let apiKey: String
private let serviceURL: String
private let userAgent = buildUserAgent("watson-apis-ios-sdk/0.4.0 AlchemyVisionV1")
private let userAgent = buildUserAgent("watson-apis-ios-sdk/0.4.1 AlchemyVisionV1")
private let domain = "com.ibm.watson.developer-cloud.AlchemyVisionV1"
private let unreservedCharacters = NSCharacterSet(charactersInString:
"abcdefghijklmnopqrstuvwxyz" + "ABCDEFGHIJKLMNOPQRSTUVWXYZ" + "1234567890-._~")
Expand Down
2 changes: 1 addition & 1 deletion Source/ConversationV1Experimental/Conversation.swift
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public class Conversation {
private let password: String
private let version: String
private let serviceURL: String
private let userAgent = buildUserAgent("watson-apis-ios-sdk/0.4.0 ConversationV1")
private let userAgent = buildUserAgent("watson-apis-ios-sdk/0.4.1 ConversationV1")
private let domain = "com.ibm.watson.developer-cloud.ConversationV1"

/**
Expand Down
2 changes: 1 addition & 1 deletion Source/DialogV1/Dialog.swift
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public class Dialog {
private let username: String
private let password: String
private let serviceURL: String
private let userAgent = buildUserAgent("watson-apis-ios-sdk/0.4.0 DialogV1")
private let userAgent = buildUserAgent("watson-apis-ios-sdk/0.4.1 DialogV1")
private let domain = "com.ibm.watson.developer-cloud.DialogV1"
private static let dateFormatter: NSDateFormatter = {
let dateFormatter = NSDateFormatter()
Expand Down
2 changes: 1 addition & 1 deletion Source/DocumentConversionV1/DocumentConversion.swift
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public class DocumentConversion {
private let password: String
private let serviceURL: String
private let version: String
private let userAgent = buildUserAgent("watson-apis-ios-sdk/0.4.0 DocumentConversionV1")
private let userAgent = buildUserAgent("watson-apis-ios-sdk/0.4.1 DocumentConversionV1")
private let domain = "com.ibm.watson.developer-cloud.DocumentConversionV1"

/**
Expand Down
2 changes: 1 addition & 1 deletion Source/LanguageTranslatorV2/LanguageTranslator.swift
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public class LanguageTranslator {
private let username: String
private let password: String
private let serviceURL: String
private let userAgent = buildUserAgent("watson-apis-ios-sdk/0.4.0 LanguageTranslatorV2")
private let userAgent = buildUserAgent("watson-apis-ios-sdk/0.4.1 LanguageTranslatorV2")
private let domain = "com.ibm.watson.developer-cloud.LanguageTranslatorV2"

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public class NaturalLanguageClassifier {
private let username: String
private let password: String
private let serviceURL: String
private let userAgent = buildUserAgent("watson-apis-ios-sdk/0.4.0 NaturalLanguageClassifierV1")
private let userAgent = buildUserAgent("watson-apis-ios-sdk/0.4.1 NaturalLanguageClassifierV1")
private let domain = "com.ibm.watson.developer-cloud.NaturalLanguageClassifierV1"

/**
Expand Down
2 changes: 1 addition & 1 deletion Source/PersonalityInsightsV2/PersonalityInsights.swift
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public class PersonalityInsights {
private let username: String
private let password: String
private let serviceURL: String
private let userAgent = buildUserAgent("watson-apis-ios-sdk/0.4.0 PersonalityInsightsV2")
private let userAgent = buildUserAgent("watson-apis-ios-sdk/0.4.1 PersonalityInsightsV2")
private let domain = "com.ibm.watson.developer-cloud.PersonalityInsightsV2"

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public class RelationshipExtraction {
private let username: String
private let password: String
private let serviceURL: String
private let userAgent = buildUserAgent("watson-apis-ios-sdk/0.4.0 RelationshipExtractionV1Beta")
private let userAgent = buildUserAgent("watson-apis-ios-sdk/0.4.1 RelationshipExtractionV1Beta")
private let domain = "com.ibm.watson.developer-cloud.RelationshipExtractionV1Beta"

/**
Expand Down
2 changes: 1 addition & 1 deletion Source/SpeechToTextV1/SpeechToTextWebSocket.swift
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class SpeechToTextWebSocket: WebSocket {
private var state = State.Disconnected
private var retries = 0
private let maxRetries = 2
private let userAgent = buildUserAgent("watson-apis-ios-sdk/0.4.0 SpeechToTextV1")
private let userAgent = buildUserAgent("watson-apis-ios-sdk/0.4.1 SpeechToTextV1")
private let domain = "com.ibm.watson.developer-cloud.SpeechToTextV1"

enum State {
Expand Down
2 changes: 1 addition & 1 deletion Source/TextToSpeechV1/TextToSpeech.swift
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public class TextToSpeech {
private let username: String
private let password: String
private let serviceURL: String
private let userAgent = buildUserAgent("watson-apis-ios-sdk/0.4.0 TextToSpeechV1")
private let userAgent = buildUserAgent("watson-apis-ios-sdk/0.4.1 TextToSpeechV1")
private let domain = "com.ibm.watson.developer-cloud.TextToSpeechV1"

/**
Expand Down
2 changes: 1 addition & 1 deletion Source/ToneAnalyzerV3/ToneAnalyzer.swift
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public class ToneAnalyzer {
private let password: String
private let version: String
private let serviceURL: String
private let userAgent = buildUserAgent("watson-apis-ios-sdk/0.4.0 ToneAnalyzerV3")
private let userAgent = buildUserAgent("watson-apis-ios-sdk/0.4.1 ToneAnalyzerV3")
private let domain = "com.ibm.watson.developer-cloud.ToneAnalyzerV3"

/**
Expand Down
2 changes: 1 addition & 1 deletion Source/TradeoffAnalyticsV1/TradeoffAnalytics.swift
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public class TradeoffAnalytics {
private let username: String
private let password: String
private let serviceURL: String
private let userAgent = buildUserAgent("watson-apis-ios-sdk/0.4.0 TradeoffAnalyticsV1")
private let userAgent = buildUserAgent("watson-apis-ios-sdk/0.4.1 TradeoffAnalyticsV1")
private let domain = "com.ibm.watson.developer-cloud.TradeoffAnalyticsV1"

/**
Expand Down
2 changes: 1 addition & 1 deletion Source/VisualRecognitionV3/VisualRecognition.swift
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public class VisualRecognition {
private let apiKey: String
private let version: String
private let serviceURL: String
private let userAgent = buildUserAgent("watson-apis-ios-sdk/0.4.0 VisualRecognitionV3")
private let userAgent = buildUserAgent("watson-apis-ios-sdk/0.4.1 VisualRecognitionV3")
private let domain = "com.ibm.watson.developer-cloud.VisualRecognitionV3"

/**
Expand Down

0 comments on commit 4b10dd1

Please sign in to comment.