Skip to content
This repository was archived by the owner on Dec 13, 2017. It is now read-only.

Commit cd21f03

Browse files
committed
Merge branch 'develop' into try/remove-pods-folder
2 parents 7216f70 + de4c16b commit cd21f03

7 files changed

Lines changed: 23 additions & 28 deletions

File tree

.travis.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
osx_image: xcode7
1+
osx_image: xcode8.2
22
language: objective-c
3-
xcode_workspace: ./Example/EditorDemo.xcworkspace
4-
xcode_scheme: EditorDemo
5-
xcode_sdk: iphonesimulator9.0
63
notifications:
74
email: true
85
sudo: false
6+
script:
7+
- set -o pipefail && xcodebuild -workspace Example/EditorDemo.xcworkspace -scheme EditorDemo -sdk iphonesimulator | xcpretty

Assets/editor.css

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
11

22
@font-face {
3-
font-family: 'Merriweather';
4-
src: local("Merriweather Light");
3+
font-family: 'NotoSerif';
4+
src: local("NotoSerif-Regular");
55
font-weight: normal;
66
font-style: normal;
77
}
88
@font-face {
9-
font-family: 'Merriweather';
10-
src: local("Merriweather-Italic");
9+
font-family: 'Noto Serif';
10+
src: local("NotoSerif-Italic");
1111
font-weight: normal;
1212
font-style: italic;
1313
}
1414
@font-face {
15-
font-family: 'Merriweather';
16-
src: local("Merriweather-Bold");
15+
font-family: 'Noto Serif';
16+
src: local("NotoSerif-Bold");
1717
font-weight: bold;
1818
font-style: normal;
1919
}
2020
@font-face {
21-
font-family: 'Merriweather';
22-
src: local("Merriweather-BoldItalic");
21+
font-family: 'Noto Serif';
22+
src: local("NotoSerif-BoldItalic");
2323
font-weight: bold;
2424
font-style: italic;
2525
}
@@ -36,7 +36,7 @@ html {
3636

3737
html, body {
3838
margin:0;
39-
font-family:'Merriweather', sans-serif;
39+
font-family:'Noto Serif', sans-serif;
4040
font-size:1em;
4141
color:#2D2D2D;
4242
}
@@ -378,7 +378,7 @@ div.field[placeholderText][contenteditable=true]:empty:focus:before {
378378
}
379379

380380
#zss_field_title, #zss_field_title p {
381-
font-family:'Merriweather', serif;
381+
font-family:'Noto Serif', serif;
382382
font-weight: bold;
383383
font-size: 24px;
384384
line-height: 32px;

Example/EditorDemo.xcodeproj/project.pbxproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@
351351
);
352352
runOnlyForDeploymentPostprocessing = 0;
353353
shellPath = /bin/sh;
354-
shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run \'pod install\' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n";
354+
shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n";
355355
showEnvVarsInLog = 0;
356356
};
357357
4695D4EE8336F768836ED41D /* [CP] Embed Pods Frameworks */ = {
@@ -396,7 +396,7 @@
396396
);
397397
runOnlyForDeploymentPostprocessing = 0;
398398
shellPath = /bin/sh;
399-
shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run \'pod install\' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n";
399+
shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n";
400400
showEnvVarsInLog = 0;
401401
};
402402
D3F5DB2B0020A9B77E64179A /* [CP] Copy Pods Resources */ = {

Example/EditorDemo/WPTestLegacyEditorViewController.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ - (void)viewDidLoad
4141
- (void)customizeAppearance
4242
{
4343
[super customizeAppearance];
44-
[self setTitleFont:[WPFontManager merriweatherBoldFontOfSize:24.0]];
44+
[self setTitleFont:[WPFontManager notoBoldFontOfSize:24.0]];
4545
[self setTitleColor:[WPStyleGuide darkGrey]];
4646
[self setBodyFont:[UIFont fontWithName: @"Menlo-Regular" size:14.0f]];
4747
[self setBodyColor:[WPStyleGuide darkGrey]];

Example/EditorDemo/WPViewController.m

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,10 @@ - (void)viewDidLoad
3535
- (void)customizeAppearance
3636
{
3737
[super customizeAppearance];
38-
[WPFontManager merriweatherBoldFontOfSize:16.0];
39-
[WPFontManager merriweatherBoldItalicFontOfSize:16.0];
40-
[WPFontManager merriweatherItalicFontOfSize:16.0];
41-
[WPFontManager merriweatherLightFontOfSize:16.0];
42-
[WPFontManager merriweatherRegularFontOfSize:16.0];
38+
[WPFontManager loadNotoFontFamily];
4339

4440
self.placeholderColor = [WPStyleGuide grey];
45-
self.editorView.sourceViewTitleField.font = [WPFontManager merriweatherBoldFontOfSize:24.0];
41+
self.editorView.sourceViewTitleField.font = [WPFontManager notoBoldFontOfSize:24.0];
4642
self.editorView.sourceContentDividerView.backgroundColor = [WPStyleGuide greyLighten30];
4743
[self.toolbarView setBorderColor:[WPStyleGuide greyLighten10]];
4844
[self.toolbarView setItemTintColor: [WPStyleGuide greyLighten10]];

Example/Podfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ use_frameworks!
66
target 'EditorDemo' do
77
pod 'WordPress-iOS-Editor', :path => '../'
88
pod 'CocoaLumberjack', '~>2.2.0', :inhibit_warnings => true
9-
pod 'WordPress-iOS-Shared', '~>0.5.0', :inhibit_warnings => true
9+
pod 'WordPress-iOS-Shared', '~>0.8.0', :inhibit_warnings => true
1010
pod 'WordPressCom-Analytics-iOS', '~>0.1.0', :inhibit_warnings => true
1111
end
1212

Example/Podfile.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@ PODS:
1212
- CocoaLumberjack (~> 2.2.0)
1313
- NSObject-SafeExpectations (~> 0.0.2)
1414
- WordPressCom-Analytics-iOS (~> 0.1.0)
15-
- WordPress-iOS-Shared (0.5.9):
15+
- WordPress-iOS-Shared (0.8.0):
1616
- CocoaLumberjack (~> 2.2.0)
1717
- WordPressCom-Analytics-iOS (0.1.15)
1818

1919
DEPENDENCIES:
2020
- CocoaLumberjack (~> 2.2.0)
2121
- WordPress-iOS-Editor (from `../`)
22-
- WordPress-iOS-Shared (~> 0.5.0)
22+
- WordPress-iOS-Shared (~> 0.8.0)
2323
- WordPressCom-Analytics-iOS (~> 0.1.0)
2424

2525
EXTERNAL SOURCES:
@@ -30,9 +30,9 @@ SPEC CHECKSUMS:
3030
CocoaLumberjack: 17fe8581f84914d5d7e6360f7c70022b173c3ae0
3131
NSObject-SafeExpectations: 7d7f48df90df4e11da7cfe86b64f45eff7a7f521
3232
WordPress-iOS-Editor: 3118f5d6b142b6bf322f3393a7dd98a28bca68cb
33-
WordPress-iOS-Shared: 50a7bd7056b8721e86c3cbe167eab49ef85ec07b
33+
WordPress-iOS-Shared: 4d073fb8efa96f3c902d1e1ac2557bb720f416d7
3434
WordPressCom-Analytics-iOS: e1a7111255e98561c4b5a33ef4baa75a68e0d5d3
3535

36-
PODFILE CHECKSUM: 33e0b5312e2d220c5a6e0e29251cbd5cd92f03e1
36+
PODFILE CHECKSUM: c5af8aa4a9723c2a470c04ad3589d2b2934feb38
3737

3838
COCOAPODS: 1.1.1

0 commit comments

Comments
 (0)