Skip to content

Commit 59f440c

Browse files
authored
Merge pull request #10 from contentstack/automate-test
Automate test and Content type fetch update
2 parents c45455f + cdc8469 commit 59f440c

File tree

10 files changed

+28
-7
lines changed

10 files changed

+28
-7
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
### Version: 3.8.1
2+
#### Date: Jan-22-2021
3+
4+
##### Bug Fix:
5+
- Content Type fetch Url issue reolved
16

27
### Version: 3.8.0
38
#### Date: Dec-05-2020

Contentstack.podspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = 'Contentstack'
3-
s.version = '3.8.0'
3+
s.version = '3.8.1'
44
s.summary = 'Contentstack is a headless CMS with an API-first approach that puts content at the centre.'
55

66
s.description = <<-DESC
@@ -12,7 +12,7 @@ s.homepage = 'https://www.contentstack.com/'
1212
s.license = { :type => 'Commercial',:text => 'See https://www.contentstack.com/'}
1313
s.author = { 'Contentstack' => 'support@contentstack.io' }
1414

15-
s.source = { :git => 'https://github.com/contentstack/contentstack-ios.git', :tag => 'v3.8.0' }
15+
s.source = { :git => 'https://github.com/contentstack/contentstack-ios.git', :tag => 'v3.8.1' }
1616
s.social_media_url = 'https://twitter.com/Contentstack'
1717

1818
s.ios.deployment_target = '8.0'

Contentstack.xcodeproj/project.pbxproj

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@
2121
/* End PBXAggregateTarget section */
2222

2323
/* Begin PBXBuildFile section */
24-
0F4D7E57D696BA541291C60B /* libPods-Contentstack.a in Frameworks */ = {isa = PBXBuildFile; fileRef = D36158266EF475AC2496807A /* libPods-Contentstack.a */; };
24+
0F15C2E72456C97D00CFF096 /* config.json in Resources */ = {isa = PBXBuildFile; fileRef = 0F15C2E62456C97D00CFF096 /* config.json */; };
25+
0F1F2145225B844F00358EB0 /* libPods-Contentstack.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 0F1F2144225B844F00358EB0 /* libPods-Contentstack.a */; };
2526
0F9C0FB1221ADAC90091205A /* AssetLibrary.h in Headers */ = {isa = PBXBuildFile; fileRef = 0F9C0F98221ADAC70091205A /* AssetLibrary.h */; settings = {ATTRIBUTES = (Public, ); }; };
2627
0F9C0FB2221ADAC90091205A /* AssetLibrary.m in Sources */ = {isa = PBXBuildFile; fileRef = 0F9C0F99221ADAC70091205A /* AssetLibrary.m */; };
2728
0F9C0FB3221ADAC90091205A /* Group.m in Sources */ = {isa = PBXBuildFile; fileRef = 0F9C0F9A221ADAC70091205A /* Group.m */; };
@@ -136,7 +137,11 @@
136137

137138
/* Begin PBXFileReference section */
138139
0F0A70AD225DEDDF00E0284F /* Contentstack.podspec */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = Contentstack.podspec; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.ruby; };
140+
0F15C2E62456C97D00CFF096 /* config.json */ = {isa = PBXFileReference; lastKnownFileType = text.json; path = config.json; sourceTree = "<group>"; };
141+
0F1F2142225B6F7800358EB0 /* libPods-Contentstack.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; path = "libPods-Contentstack.a"; sourceTree = BUILT_PRODUCTS_DIR; };
142+
0F1F2144225B844F00358EB0 /* libPods-Contentstack.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; path = "libPods-Contentstack.a"; sourceTree = BUILT_PRODUCTS_DIR; };
139143
0F6C89AC225CCE9F004C342A /* CHANGELOG.md */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = net.daringfireball.markdown; path = CHANGELOG.md; sourceTree = "<group>"; };
144+
0F8745C5248FCE9700FAD159 /* run-test-case.sh */ = {isa = PBXFileReference; lastKnownFileType = text.script.sh; path = "run-test-case.sh"; sourceTree = "<group>"; };
140145
0F9C0F98221ADAC70091205A /* AssetLibrary.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AssetLibrary.h; sourceTree = "<group>"; };
141146
0F9C0F99221ADAC70091205A /* AssetLibrary.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AssetLibrary.m; sourceTree = "<group>"; };
142147
0F9C0F9A221ADAC70091205A /* Group.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = Group.m; sourceTree = "<group>"; };
@@ -167,7 +172,6 @@
167172
0FEAEF252361A18600985FF9 /* CSURLSessionManager.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CSURLSessionManager.m; sourceTree = "<group>"; };
168173
0FEAEF262361A18600985FF9 /* CSError.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CSError.m; sourceTree = "<group>"; };
169174
0FEAEF272361A18600985FF9 /* CSURLSessionManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CSURLSessionManager.h; sourceTree = "<group>"; };
170-
0FFF87B0226F1A59005243EA /* FallbackTest.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = FallbackTest.m; sourceTree = "<group>"; };
171175
230B38C01C16E98B00444A14 /* Contentstack.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Contentstack.framework; sourceTree = BUILT_PRODUCTS_DIR; };
172176
230B38C41C16E98B00444A14 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
173177
238E841B1B4FE29A00BFDB32 /* libThirdPartyExtension.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libThirdPartyExtension.a; sourceTree = BUILT_PRODUCTS_DIR; };
@@ -405,7 +409,7 @@
405409
23A53F571E277CD3001DBE35 /* ContentstackTest.m */,
406410
23A53F591E277CD3001DBE35 /* Info.plist */,
407411
FA36C00720ECABDF000FF701 /* SyncTest.m */,
408-
0FFF87B0226F1A59005243EA /* FallbackTest.m */,
412+
0F15C2E62456C97D00CFF096 /* config.json */,
409413
);
410414
path = ContentstackTest;
411415
sourceTree = "<group>";
@@ -424,6 +428,7 @@
424428
children = (
425429
23A53F4B1E277A48001DBE35 /* generate_namespace_header.sh */,
426430
23C545FB1C1976FE007BBD27 /* ios-build-framework-script.sh */,
431+
0F8745C5248FCE9700FAD159 /* run-test-case.sh */,
427432
);
428433
path = Script;
429434
sourceTree = "<group>";
@@ -629,6 +634,7 @@
629634
isa = PBXResourcesBuildPhase;
630635
buildActionMask = 2147483647;
631636
files = (
637+
0F15C2E72456C97D00CFF096 /* config.json in Resources */,
632638
);
633639
runOnlyForDeploymentPostprocessing = 0;
634640
};

ContentstackInternal/CSIOConstants.h

100755100644
File mode changed.

ContentstackInternal/CSIOConstants.m

100755100644
File mode changed.

ContentstackInternal/CSIOCoreHTTPNetworking.m

100755100644
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
#import "NSObject+Extensions.h"
1616
#import "CSURLSessionManager.h"
1717

18-
NSString *const sdkVersion = @"3.8.0";
18+
NSString *const sdkVersion = @"3.8.1";
1919

2020
@interface CSIOCoreHTTPNetworking (){
2121
id networkChangeObserver;

ContentstackInternal/CSIOInternalHeaders.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@
5858
@interface ContentType ()
5959
@property (nonatomic, strong) NSString *name;
6060
@property (nonatomic, strong) NSMutableDictionary *headers;
61+
@property (nonatomic, strong) NSMutableDictionary *postParamDictionary;
6162

6263
-(instancetype)initWithStack:(Stack *)stack withName:(NSString*)contentTypeName;
6364
-(Entry *)entry;

ContentstackInternal/CSIOURLCache.m

100755100644
File mode changed.

Docs/DocGenerationScript.sh

100755100644
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ target="iphoneos";
2525
/usr/local/bin/appledoc \
2626
--project-name "Contentstack" \
2727
--project-company "Contentstack.com" \
28-
--project-version "3.8.0" \
28+
--project-version "3.8.1" \
2929
--company-id "${companyID}" \
3030
--docset-bundle-id "${companyID}.${companyForFeed}" \
3131
--docset-bundle-name "${companyForFeed}" \

Script/run-test-case.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/bin/sh
2+
3+
# run-test-case.sh
4+
# Contentstack
5+
#
6+
# Created by Uttam Ukkoji on 09/06/20.
7+
# Copyright © 2020 Contentstack. All rights reserved.
8+
9+
set -o pipefail && env "NSUnbufferedIO=YES" xcodebuild "-workspace" "ContentStack.xcworkspace" "-scheme" "Contentstack" "build" "test" "-destination" "id=7307CFB4-C3C3-49C9-A051-FE29727D6742" | xcpretty "--color" "--report" "html" "--output" "/Users/uttamukkoji/Documents/GitHub/contentstack-ios/ContentstackTest/TestResult/xcode-test-results-Contentstack.html"

0 commit comments

Comments
 (0)