Skip to content

Commit

Permalink
Bump example project versions to use 0.11.0 (#76)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewchang-bird authored Apr 8, 2020
1 parent 9f0f551 commit 8acb442
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 52 deletions.
2 changes: 1 addition & 1 deletion Examples/iOSMockingbirdExample-Carthage/Cartfile
Original file line number Diff line number Diff line change
@@ -1 +1 @@
github "birdrides/mockingbird" "master"
github "birdrides/mockingbird" ~> 0.11.0
2 changes: 1 addition & 1 deletion Examples/iOSMockingbirdExample-Carthage/Cartfile.resolved
Original file line number Diff line number Diff line change
@@ -1 +1 @@
github "andrewchang-bird/mockingbird" "31f8ff38e2af15181dec63f82f85fd19bc886a67"
github "birdrides/mockingbird" "0.11.0"
25 changes: 2 additions & 23 deletions Examples/iOSMockingbirdExample-Carthage/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,29 +25,18 @@ $ touch Cartfile
Add Mockingbird as a dependency in the Cartfile.

```ruby
$ echo 'github "birdrides/mockingbird" ~> 0.10.0' >> Cartfile
$ echo 'github "birdrides/mockingbird" ~> 0.11.0' >> Cartfile
```

### Install Mockingbird

Build the framework using Carthage.

```bash
$ carthage update --no-build
$ cp Carthage/Checkouts/mockingbird/Scripts/carthage-update.sh ./
$ ./carthage-update.sh
$ open Carthage/Build/iOS
```

<details><summary>Upcoming changes in Mockingbird 0.11.0</summary>

```bash
$ carthage update --platform ios
$ open Carthage/Build/iOS
```

</details>

Link the built `Mockingbird.framework` to the test target, making sure to add the framework to a new Copy Files
build phase with the destination set to `Frameworks`.

Expand All @@ -62,28 +51,18 @@ $ make install-prebuilt

Configure the test target by using the CLI.

```bash
$ mockingbird install \
--destination iOSMockingbirdExample-CarthageTests \
--target iOSMockingbirdExample-Carthage
```

<details><summary>Upcoming changes in Mockingbird 0.11.0</summary>

```bash
$ mockingbird install \
--target iOSMockingbirdExample-CarthageTests \
--source iOSMockingbirdExample-Carthage
```

</details>

Finally, download the starter supporting source files into your project root.

```bash
$ curl -Lo \
'MockingbirdSupport.zip' \
'https://github.com/birdrides/mockingbird/releases/download/0.10.0/MockingbirdSupport.zip'
'https://github.com/birdrides/mockingbird/releases/download/0.11.0/MockingbirdSupport.zip'
$ unzip -o 'MockingbirdSupport.zip'
$ rm -f 'MockingbirdSupport.zip'
```
Expand Down
2 changes: 1 addition & 1 deletion Examples/iOSMockingbirdExample-CocoaPods/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ target 'iOSMockingbirdExample-CocoaPods' do

target 'iOSMockingbirdExample-CocoaPodsTests' do
inherit! :search_paths
pod 'MockingbirdFramework', '~> 0.10.0'
pod 'MockingbirdFramework', '~> 0.11.0'
end

end
12 changes: 6 additions & 6 deletions Examples/iOSMockingbirdExample-CocoaPods/Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
PODS:
- MockingbirdFramework (0.10.0)
- MockingbirdFramework (0.11.0)

DEPENDENCIES:
- MockingbirdFramework (~> 0.10.0)
- MockingbirdFramework (~> 0.11.0)

SPEC REPOS:
https://github.com/cocoapods/specs.git:
trunk:
- MockingbirdFramework

SPEC CHECKSUMS:
MockingbirdFramework: 618cd2d6dbd5264b77498ad24e3f4d6cb2da86b9
MockingbirdFramework: 6028fb83ec400cad6c2ae18cb977bf83d13deef1

PODFILE CHECKSUM: d31d0142f3cc6755924f0927f9cb4a5392d7f4f9
PODFILE CHECKSUM: 3c994de53b80c5189413fec2092df060e8f24eb2

COCOAPODS: 1.5.3
COCOAPODS: 1.8.4
14 changes: 2 additions & 12 deletions Examples/iOSMockingbirdExample-CocoaPods/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Add Mockingbird as a dependency to the test target in the Podfile.
```ruby
target 'iOSMockingbirdExample-CocoaPodsTests' do
use_frameworks!
pod 'MockingbirdFramework', '~> 0.10.0'
pod 'MockingbirdFramework', '~> 0.11.0'
end
```

Expand All @@ -43,28 +43,18 @@ $ make install-prebuilt

Then configure the test target by using the CLI.

```bash
$ mockingbird install \
--destination iOSMockingbirdExample-CocoaPodsTests \
--target iOSMockingbirdExample-CocoaPods
```

<details><summary>Upcoming changes in Mockingbird 0.11.0</summary>

```bash
$ mockingbird install \
--target iOSMockingbirdExample-CocoaPodsTests \
--source iOSMockingbirdExample-CocoaPods
```

</details>

Finally, download the starter supporting source files into your project root.

```bash
$ curl -Lo \
'MockingbirdSupport.zip' \
'https://github.com/birdrides/mockingbird/releases/download/0.10.0/MockingbirdSupport.zip'
'https://github.com/birdrides/mockingbird/releases/download/0.11.0/MockingbirdSupport.zip'
$ unzip -o 'MockingbirdSupport.zip'
$ rm -f 'MockingbirdSupport.zip'
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -291,20 +291,15 @@
files = (
);
inputFileListPaths = (
);
inputPaths = (
"${SRCROOT}/Pods/Target Support Files/Pods-iOSMockingbirdExample-CocoaPodsTests/Pods-iOSMockingbirdExample-CocoaPodsTests-frameworks.sh",
"${BUILT_PRODUCTS_DIR}/MockingbirdFramework/Mockingbird.framework",
"${PODS_ROOT}/Target Support Files/Pods-iOSMockingbirdExample-CocoaPodsTests/Pods-iOSMockingbirdExample-CocoaPodsTests-frameworks-${CONFIGURATION}-input-files.xcfilelist",
);
name = "[CP] Embed Pods Frameworks";
outputFileListPaths = (
);
outputPaths = (
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Mockingbird.framework",
"${PODS_ROOT}/Target Support Files/Pods-iOSMockingbirdExample-CocoaPodsTests/Pods-iOSMockingbirdExample-CocoaPodsTests-frameworks-${CONFIGURATION}-output-files.xcfilelist",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-iOSMockingbirdExample-CocoaPodsTests/Pods-iOSMockingbirdExample-CocoaPodsTests-frameworks.sh\"\n";
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-iOSMockingbirdExample-CocoaPodsTests/Pods-iOSMockingbirdExample-CocoaPodsTests-frameworks.sh\"\n";
showEnvVarsInLog = 0;
};
9F88CCD349B123147D51381A /* [CP] Check Pods Manifest.lock */ = {
Expand Down

0 comments on commit 8acb442

Please sign in to comment.