From 64a8505bd632d74633824b0f32dcdc2961b165b0 Mon Sep 17 00:00:00 2001 From: Tristan Emrich Date: Tue, 30 Apr 2019 09:22:16 -0700 Subject: [PATCH] Updates release version to 1.2.8. --- PromisesObjC.podspec | 2 +- PromisesSwift.podspec | 2 +- g3doc/index.md | 18 ++++++++++-------- 3 files changed, 12 insertions(+), 10 deletions(-) diff --git a/PromisesObjC.podspec b/PromisesObjC.podspec index 318ee20..f4a9067 100644 --- a/PromisesObjC.podspec +++ b/PromisesObjC.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'PromisesObjC' - s.version = '1.2.7' + s.version = '1.2.8' s.authors = 'Google Inc.' s.license = { :type => 'Apache', :file => 'LICENSE' } s.homepage = 'https://github.com/google/promises' diff --git a/PromisesSwift.podspec b/PromisesSwift.podspec index 6144bce..2c70646 100644 --- a/PromisesSwift.podspec +++ b/PromisesSwift.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'PromisesSwift' - s.version = '1.2.7' + s.version = '1.2.8' s.authors = 'Google Inc.' s.license = { :type => 'Apache', :file => 'LICENSE' } s.homepage = 'https://github.com/google/promises' diff --git a/g3doc/index.md b/g3doc/index.md index 2b2efc7..e4d517d 100644 --- a/g3doc/index.md +++ b/g3doc/index.md @@ -414,7 +414,7 @@ In your `Package.swift` file, add `Promises` dependency to corresponding targets let package = Package( // ... dependencies: [ - .package(url: "https://github.com/google/promises.git", from: "1.2.7"), + .package(url: "https://github.com/google/promises.git", from: "1.2.8"), ], // ... ) @@ -443,16 +443,18 @@ Or, the module, if `CLANG_ENABLE_MODULES = YES`: To use `Promises` for both Swift and Objective-C, add the following to your `Podfile`: ```ruby -pod 'PromisesSwift', '~> 1.2.7' +pod 'PromisesSwift' ``` To use `Promises` for Objective-C only, add the following to your `Podfile`: ```ruby -pod 'PromisesObjC', '~> 1.2.7' +pod 'PromisesObjC' ``` -Also, don't forget to `use_frameworks!` in your target. Then, run `pod install`. +Also, don't forget to add `use_frameworks!` to your target. Then, run +`pod install` if installing `Promises` for the first time or `pod update` to +update to the latest version. For Swift, import the module: @@ -460,16 +462,16 @@ For Swift, import the module: import Promises ``` -For Objective-C, import the umbrella header: +For Objective-C, import the module: ```objectivec -#import +@import FBLPromises; ``` -Or, the module: +Or, the umbrella header: ```objectivec -@import FBLPromises; +#import ``` #### Carthage