Skip to content

Commit

Permalink
Update to 5.0.0 (#1067)
Browse files Browse the repository at this point in the history
* build(version): update 4.3.0 to 5.0.0

* refactor(podspec): update authors
  • Loading branch information
apaparazzi0329 authored Mar 22, 2022
1 parent 9d541f1 commit 8359f8d
Show file tree
Hide file tree
Showing 19 changed files with 42 additions and 42 deletions.
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 4.3.0
current_version = 5.0.0
commit = True
message = Release version {new_version} [skip ci]

Expand Down
4 changes: 2 additions & 2 deletions IBMWatsonAssistantV1.podspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|

s.name = 'IBMWatsonAssistantV1'
s.version = '4.3.0'
s.version = '5.0.0'
s.summary = 'Client framework for the IBM Watson Assistant service'
s.description = <<-DESC
With the IBM Watson™ Assistant service, you can build a solution that understands
Expand All @@ -10,7 +10,7 @@ natural-language input and uses machine learning to respond to customers in a wa
s.homepage = 'https://www.ibm.com/cloud/watson-assistant'
s.license = { :type => 'Apache License, Version 2.0', :file => 'LICENSE' }
s.authors = { 'Jeff Arn' => '[email protected]',
'Mike Kistler' => 'mkistler@us.ibm.com' }
'Angelo Paparazzi' => 'angelo.paparazzi@ibm.com' }

s.module_name = 'Assistant'
s.ios.deployment_target = '10.0'
Expand Down
4 changes: 2 additions & 2 deletions IBMWatsonAssistantV2.podspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|

s.name = 'IBMWatsonAssistantV2'
s.version = '4.3.0'
s.version = '5.0.0'
s.summary = 'Client framework for the IBM Watson Assistant service'
s.description = <<-DESC
With the IBM Watson™ Assistant service, you can build a solution that understands
Expand All @@ -10,7 +10,7 @@ natural-language input and uses machine learning to respond to customers in a wa
s.homepage = 'https://www.ibm.com/cloud/watson-assistant'
s.license = { :type => 'Apache License, Version 2.0', :file => 'LICENSE' }
s.authors = { 'Jeff Arn' => '[email protected]',
'Mike Kistler' => 'mkistler@us.ibm.com' }
'Angelo Paparazzi' => 'angelo.paparazzi@ibm.com' }

s.module_name = 'Assistant'
s.ios.deployment_target = '10.0'
Expand Down
4 changes: 2 additions & 2 deletions IBMWatsonDiscoveryV1.podspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|

s.name = 'IBMWatsonDiscoveryV1'
s.version = '4.3.0'
s.version = '5.0.0'
s.summary = 'Client framework for the IBM Watson Discovery service'
s.description = <<-DESC
IBM Watson™ Discovery makes it possible to rapidly build cognitive, cloud-based exploration applications
Expand All @@ -11,7 +11,7 @@ as well as public and third-party data.
s.homepage = 'https://www.ibm.com/watson/services/discovery/'
s.license = { :type => 'Apache License, Version 2.0', :file => 'LICENSE' }
s.authors = { 'Jeff Arn' => '[email protected]',
'Mike Kistler' => 'mkistler@us.ibm.com' }
'Angelo Paparazzi' => 'angelo.paparazzi@ibm.com' }

s.module_name = 'Discovery'
s.ios.deployment_target = '10.0'
Expand Down
4 changes: 2 additions & 2 deletions IBMWatsonDiscoveryV2.podspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|

s.name = 'IBMWatsonDiscoveryV2'
s.version = '4.3.0'
s.version = '5.0.0'
s.summary = 'Client framework for the IBM Watson Discovery V2 service'
s.description = <<-DESC
IBM Watson™ Discovery makes it possible to rapidly build cognitive, cloud-based exploration applications
Expand All @@ -11,7 +11,7 @@ as well as public and third-party data. IBM Watson™ Discovery V2 is available
s.homepage = 'https://www.ibm.com/watson/services/discovery/'
s.license = { :type => 'Apache License, Version 2.0', :file => 'LICENSE' }
s.authors = { 'Jeff Arn' => '[email protected]',
'Mike Kistler' => 'mkistler@us.ibm.com' }
'Angelo Paparazzi' => 'angelo.paparazzi@ibm.com' }

s.module_name = 'Discovery'
s.ios.deployment_target = '10.0'
Expand Down
4 changes: 2 additions & 2 deletions IBMWatsonLanguageTranslatorV3.podspec
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
Pod::Spec.new do |s|

s.name = 'IBMWatsonLanguageTranslatorV3'
s.version = '4.3.0'
s.version = '5.0.0'
s.summary = 'Client framework for the IBM Watson Language Translator service'
s.description = <<-DESC
IBM Watson™ Language Translator can identify the language of text and translate it into different languages programmatically.
DESC
s.homepage = 'https://www.ibm.com/cloud/watson-language-translator'
s.license = { :type => 'Apache License, Version 2.0', :file => 'LICENSE' }
s.authors = { 'Jeff Arn' => '[email protected]',
'Mike Kistler' => 'mkistler@us.ibm.com' }
'Angelo Paparazzi' => 'angelo.paparazzi@ibm.com' }

s.module_name = 'LanguageTranslator'
s.ios.deployment_target = '10.0'
Expand Down
4 changes: 2 additions & 2 deletions IBMWatsonNaturalLanguageUnderstandingV1.podspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|

s.name = 'IBMWatsonNaturalLanguageUnderstandingV1'
s.version = '4.3.0'
s.version = '5.0.0'
s.summary = 'Client framework for the IBM Watson Natural Language Understanding service'
s.description = <<-DESC
IBM Watson™ Natural Language Understanding can analyze semantic features of text input,
Expand All @@ -10,7 +10,7 @@ including categories, concepts, emotion, entities, keywords, metadata, relations
s.homepage = 'https://www.ibm.com/watson/services/natural-language-understanding/'
s.license = { :type => 'Apache License, Version 2.0', :file => 'LICENSE' }
s.authors = { 'Jeff Arn' => '[email protected]',
'Mike Kistler' => 'mkistler@us.ibm.com' }
'Angelo Paparazzi' => 'angelo.paparazzi@ibm.com' }

s.module_name = 'NaturalLanguageUnderstanding'
s.ios.deployment_target = '10.0'
Expand Down
4 changes: 2 additions & 2 deletions IBMWatsonSpeechToTextV1.podspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|

s.name = 'IBMWatsonSpeechToTextV1'
s.version = '4.3.0'
s.version = '5.0.0'
s.summary = 'Client framework for the IBM Watson Speech to Text service'
s.description = <<-DESC
The IBM® Speech to Text leverages machine intelligence to transcribe the human voice accurately.
Expand All @@ -11,7 +11,7 @@ of the audio signal. It continuously returns and retroactively updates a transcr
s.homepage = 'https://www.ibm.com/watson/services/speech-to-text/'
s.license = { :type => 'Apache License, Version 2.0', :file => 'LICENSE' }
s.authors = { 'Jeff Arn' => '[email protected]',
'Mike Kistler' => 'mkistler@us.ibm.com' }
'Angelo Paparazzi' => 'angelo.paparazzi@ibm.com' }

s.module_name = 'SpeechToText'
s.ios.deployment_target = '10.0'
Expand Down
4 changes: 2 additions & 2 deletions IBMWatsonTextToSpeechV1.podspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|

s.name = 'IBMWatsonTextToSpeechV1'
s.version = '4.3.0'
s.version = '5.0.0'
s.summary = 'Client framework for the IBM Watson Text to Speech service'
s.description = <<-DESC
IBM® Text to Speech uses IBM's speech-synthesis capabilities to convert written text to natural-sounding speech.
Expand All @@ -10,7 +10,7 @@ The service streams the results back to the client with minimal delay.
s.homepage = 'https://www.ibm.com/watson/services/text-to-speech/'
s.license = { :type => 'Apache License, Version 2.0', :file => 'LICENSE' }
s.authors = { 'Jeff Arn' => '[email protected]',
'Mike Kistler' => 'mkistler@us.ibm.com' }
'Angelo Paparazzi' => 'angelo.paparazzi@ibm.com' }

s.module_name = 'TextToSpeech'
s.ios.deployment_target = '10.0'
Expand Down
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,13 +132,13 @@ If your project does not yet have a Podfile, use the `pod init` command in the r
use_frameworks!

target 'MyApp' do
pod 'IBMWatsonAssistantV1', '~> 4.3.0'
pod 'IBMWatsonAssistantV2', '~> 4.3.0'
pod 'IBMWatsonDiscoveryV1', '~> 4.3.0'
pod 'IBMWatsonLanguageTranslatorV3', '~> 4.3.0'
pod 'IBMWatsonNaturalLanguageUnderstandingV1', '~> 4.3.0'
pod 'IBMWatsonSpeechToTextV1', '~> 4.3.0'
pod 'IBMWatsonTextToSpeechV1', '~> 4.3.0'
pod 'IBMWatsonAssistantV1', '~> 5.0.0'
pod 'IBMWatsonAssistantV2', '~> 5.0.0'
pod 'IBMWatsonDiscoveryV1', '~> 5.0.0'
pod 'IBMWatsonLanguageTranslatorV3', '~> 5.0.0'
pod 'IBMWatsonNaturalLanguageUnderstandingV1', '~> 5.0.0'
pod 'IBMWatsonSpeechToTextV1', '~> 5.0.0'
pod 'IBMWatsonTextToSpeechV1', '~> 5.0.0'
end
```

Expand All @@ -164,7 +164,7 @@ $ brew install carthage
If your project does not have a Cartfile yet, use the `touch Cartfile` command in the root directory of your project. To install the IBM Watson Swift SDK using Carthage, add the following to your Cartfile.

```
github "watson-developer-cloud/swift-sdk" ~> 4.3.0
github "watson-developer-cloud/swift-sdk" ~> 5.0.0
```

Follow the remaining Carthage installation instructions for the XCode 12 workaround [here](https://github.com/Carthage/Carthage/blob/master/Documentation/Xcode12Workaround.md#how-to-make-it-work). Then run the following command to build the dependencies and frameworks:
Expand Down
4 changes: 2 additions & 2 deletions Scripts/jazzy-config/AssistantV1.jazzy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ github_url: https://github.com/watson-developer-cloud/swift-sdk
clean: true
output: ../../gh-pages/services/AssistantV1
module: AssistantV1
module_version: "4.3.0"
module_version: "5.0.0"
documentation: ../../Sources/AssistantV1/README.md
readme: ../../Sources/AssistantV1/README.md
build_tool_arguments:
Expand All @@ -13,4 +13,4 @@ build_tool_arguments:
- "-scheme"
- "AssistantV1"
- "-destination"
- "platform=iOS Simulator,name=iPhone 11"
- "platform=iOS Simulator,name=iPhone 11"
4 changes: 2 additions & 2 deletions Scripts/jazzy-config/AssistantV2.jazzy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ github_url: https://github.com/watson-developer-cloud/swift-sdk
clean: true
output: ../../gh-pages/services/AssistantV2
module: AssistantV2
module_version: "4.3.0"
module_version: "5.0.0"
documentation: ../../Sources/AssistantV2/README.md
readme: ../../Sources/AssistantV2/README.md
build_tool_arguments:
Expand All @@ -13,4 +13,4 @@ build_tool_arguments:
- "-scheme"
- "AssistantV2"
- "-destination"
- "platform=iOS Simulator,name=iPhone 11"
- "platform=iOS Simulator,name=iPhone 11"
4 changes: 2 additions & 2 deletions Scripts/jazzy-config/DiscoveryV1.jazzy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ github_url: https://github.com/watson-developer-cloud/swift-sdk
clean: true
output: ../../gh-pages/services/DiscoveryV1
module: DiscoveryV1
module_version: "4.3.0"
module_version: "5.0.0"
documentation: ../../Sources/DiscoveryV1/README.md
readme: ../../Sources/DiscoveryV1/README.md
build_tool_arguments:
Expand All @@ -13,4 +13,4 @@ build_tool_arguments:
- "-scheme"
- "DiscoveryV1"
- "-destination"
- "platform=iOS Simulator,name=iPhone 11"
- "platform=iOS Simulator,name=iPhone 11"
4 changes: 2 additions & 2 deletions Scripts/jazzy-config/DiscoveryV2.jazzy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ github_url: https://github.com/watson-developer-cloud/swift-sdk
clean: true
output: ../../gh-pages/services/DiscoveryV2
module: DiscoveryV2
module_version: "4.3.0"
module_version: "5.0.0"
documentation: ../../Sources/DiscoveryV2/README.md
readme: ../../Sources/DiscoveryV2/README.md
build_tool_arguments:
Expand All @@ -13,4 +13,4 @@ build_tool_arguments:
- "-scheme"
- "DiscoveryV2"
- "-destination"
- "platform=iOS Simulator,name=iPhone 11"
- "platform=iOS Simulator,name=iPhone 11"
4 changes: 2 additions & 2 deletions Scripts/jazzy-config/LanguageTranslatorV3.jazzy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ github_url: https://github.com/watson-developer-cloud/swift-sdk
clean: true
output: ../../gh-pages/services/LanguageTranslatorV3
module: LanguageTranslatorV3
module_version: "4.3.0"
module_version: "5.0.0"
documentation: ../../Sources/LanguageTranslatorV3/README.md
readme: ../../Sources/LanguageTranslatorV3/README.md
build_tool_arguments:
Expand All @@ -13,4 +13,4 @@ build_tool_arguments:
- "-scheme"
- "LanguageTranslatorV3"
- "-destination"
- "platform=iOS Simulator,name=iPhone 11"
- "platform=iOS Simulator,name=iPhone 11"
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ github_url: https://github.com/watson-developer-cloud/swift-sdk
clean: true
output: ../../gh-pages/services/NaturalLanguageUnderstandingV1
module: NaturalLanguageUnderstandingV1
module_version: "4.3.0"
module_version: "5.0.0"
documentation: ../../Sources/NaturalLanguageUnderstandingV1/README.md
readme: ../../Sources/NaturalLanguageUnderstandingV1/README.md
build_tool_arguments:
Expand All @@ -13,4 +13,4 @@ build_tool_arguments:
- "-scheme"
- "NaturalLanguageUnderstandingV1"
- "-destination"
- "platform=iOS Simulator,name=iPhone 11"
- "platform=iOS Simulator,name=iPhone 11"
4 changes: 2 additions & 2 deletions Scripts/jazzy-config/SpeechToTextV1.jazzy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ github_url: https://github.com/watson-developer-cloud/swift-sdk
clean: true
output: ../../gh-pages/services/SpeechToTextV1
module: SpeechToTextV1
module_version: "4.3.0"
module_version: "5.0.0"
documentation: ../../Sources/SpeechToTextV1/README.md
readme: ../../Sources/SpeechToTextV1/README.md
build_tool_arguments:
Expand All @@ -13,4 +13,4 @@ build_tool_arguments:
- "-scheme"
- "SpeechToTextV1"
- "-destination"
- "platform=iOS Simulator,name=iPhone 11"
- "platform=iOS Simulator,name=iPhone 11"
4 changes: 2 additions & 2 deletions Scripts/jazzy-config/TextToSpeechV1.jazzy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ github_url: https://github.com/watson-developer-cloud/swift-sdk
clean: true
output: ../../gh-pages/services/TextToSpeechV1
module: TextToSpeechV1
module_version: "4.3.0"
module_version: "5.0.0"
documentation: ../../Sources/TextToSpeechV1/README.md
readme: ../../Sources/TextToSpeechV1/README.md
build_tool_arguments:
Expand All @@ -13,4 +13,4 @@ build_tool_arguments:
- "-scheme"
- "TextToSpeechV1"
- "-destination"
- "platform=iOS Simulator,name=iPhone 11"
- "platform=iOS Simulator,name=iPhone 11"
2 changes: 1 addition & 1 deletion Sources/SupportingFiles/Shared.swift
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ internal struct Shared {
static let icpPrefix = "icp-"
}

static let sdkVersion = "4.3.0"
static let sdkVersion = "5.0.0"

/// The "User-Agent" header to be sent with every RestRequest
static let userAgent: String? = {
Expand Down

0 comments on commit 8359f8d

Please sign in to comment.