Skip to content

Commit

Permalink
Latest swift syntax
Browse files Browse the repository at this point in the history
Latest library support
  • Loading branch information
vlchapaev committed Dec 2, 2016
1 parent 0b6f553 commit 5098f8b
Show file tree
Hide file tree
Showing 13 changed files with 107 additions and 91 deletions.
4 changes: 2 additions & 2 deletions Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ use_frameworks!

plugin 'cocoapods-keys'

pod 'Alamofire', '~> 3.0'
pod 'ObjectMapper', '~> 1.1'
pod 'Alamofire', '~> 4.2.0'
pod 'ObjectMapper', '~> 2.2.1'

target 'SwiftMailgun' do

Expand Down
16 changes: 8 additions & 8 deletions Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,28 +1,28 @@
PODS:
- Alamofire (3.2.1)
- Alamofire (4.2.0)
- Keys (1.0.0)
- Nimble (3.0.0)
- ObjectMapper (1.1.5)
- ObjectMapper (2.2.1)
- Quick (0.8.0)

DEPENDENCIES:
- Alamofire (~> 3.0)
- Alamofire (~> 4.2.0)
- Keys (from `Pods/CocoaPodsKeys`)
- Nimble (~> 3.0.0)
- ObjectMapper (~> 1.1)
- ObjectMapper (~> 2.2.1)
- Quick (~> 0.8.0)

EXTERNAL SOURCES:
Keys:
:path: Pods/CocoaPodsKeys

SPEC CHECKSUMS:
Alamofire: f11d8624a05f5d39e0c99309b3e600a3ba64298a
Alamofire: aa2e09d871c9160ac53c90e83c68064a94e3dfbe
Keys: 9c35bf00f612ee1d48556f4a4b9b4551e224e90f
Nimble: 4c353d43735b38b545cbb4cb91504588eb5de926
ObjectMapper: 528b1a6677a6acac7747edd508576983e76a9148
ObjectMapper: 41e43e1a89f8060ef5ea5d04ba852e269a621d68
Quick: 563d0f6ec5f72e394645adb377708639b7dd38ab

PODFILE CHECKSUM: ab0d0d8bf61d415d9d35abf4af52317acd167dd9
PODFILE CHECKSUM: ce701adbf1bae05e6555d6620edbd75ca03e01db

COCOAPODS: 1.0.0.beta.3
COCOAPODS: 1.1.1
6 changes: 3 additions & 3 deletions SwiftMailgun.podspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|

s.name = "SwiftMailgun"
s.version = "0.0.1"
s.version = "0.0.2"
s.summary = "A simple alternative when you need to send an email with your iOS app using MailGun."
s.description = <<-DESC
SwiftMailgun provides simple alternative when you need to send an email with your iOS app using MailGun.
Expand All @@ -19,7 +19,7 @@ SwiftMailgun provides simple alternative when you need to send an email with you
s.source_files = "SwiftMailgun/", "SwiftMailgun/**/*.{h,m,swift}"

s.requires_arc = true
s.dependency 'ObjectMapper', '~> 1.1'
s.dependency 'Alamofire', '~> 3.0'
s.dependency 'ObjectMapper', '~> 2.2.1'
s.dependency 'Alamofire', '~> 4.2.0'

end
53 changes: 35 additions & 18 deletions SwiftMailgun.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -211,12 +211,12 @@
isa = PBXNativeTarget;
buildConfigurationList = 8344DAF71C8698B400F1B181 /* Build configuration list for PBXNativeTarget "SwiftMailgun" */;
buildPhases = (
16E3E92F372411B94246FDE1 /* Check Pods Manifest.lock */,
16E3E92F372411B94246FDE1 /* [CP] Check Pods Manifest.lock */,
8344DADE1C8698B400F1B181 /* Sources */,
8344DADF1C8698B400F1B181 /* Frameworks */,
8344DAE01C8698B400F1B181 /* Headers */,
8344DAE11C8698B400F1B181 /* Resources */,
E67959A0E8DBDBC606DC94F9 /* Copy Pods Resources */,
E67959A0E8DBDBC606DC94F9 /* [CP] Copy Pods Resources */,
);
buildRules = (
);
Expand All @@ -231,12 +231,12 @@
isa = PBXNativeTarget;
buildConfigurationList = 8344DAFA1C8698B400F1B181 /* Build configuration list for PBXNativeTarget "SwiftMailgunTests" */;
buildPhases = (
E280DCE4B93D6C82C4E9ABFF /* Check Pods Manifest.lock */,
E280DCE4B93D6C82C4E9ABFF /* [CP] Check Pods Manifest.lock */,
8344DAE91C8698B400F1B181 /* Sources */,
8344DAEA1C8698B400F1B181 /* Frameworks */,
8344DAEB1C8698B400F1B181 /* Resources */,
2B8DD4D1C841E2D6B5E2D44F /* Embed Pods Frameworks */,
C7A9BD6E3186565E6B7ECC3F /* Copy Pods Resources */,
2B8DD4D1C841E2D6B5E2D44F /* [CP] Embed Pods Frameworks */,
C7A9BD6E3186565E6B7ECC3F /* [CP] Copy Pods Resources */,
);
buildRules = (
);
Expand All @@ -255,14 +255,16 @@
isa = PBXProject;
attributes = {
LastSwiftUpdateCheck = 0720;
LastUpgradeCheck = 0720;
LastUpgradeCheck = 0810;
ORGANIZATIONNAME = "Chris Jimenez";
TargetAttributes = {
8344DAE21C8698B400F1B181 = {
CreatedOnToolsVersion = 7.2.1;
LastSwiftMigration = 0810;
};
8344DAEC1C8698B400F1B181 = {
CreatedOnToolsVersion = 7.2.1;
LastSwiftMigration = 0810;
};
};
};
Expand Down Expand Up @@ -304,74 +306,74 @@
/* End PBXResourcesBuildPhase section */

/* Begin PBXShellScriptBuildPhase section */
16E3E92F372411B94246FDE1 /* Check Pods Manifest.lock */ = {
16E3E92F372411B94246FDE1 /* [CP] Check Pods Manifest.lock */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputPaths = (
);
name = "Check Pods Manifest.lock";
name = "[CP] Check Pods Manifest.lock";
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [[ $? != 0 ]] ; then\n cat << EOM\nerror: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\nEOM\n exit 1\nfi\n";
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";
showEnvVarsInLog = 0;
};
2B8DD4D1C841E2D6B5E2D44F /* Embed Pods Frameworks */ = {
2B8DD4D1C841E2D6B5E2D44F /* [CP] Embed Pods Frameworks */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputPaths = (
);
name = "Embed Pods Frameworks";
name = "[CP] Embed Pods Frameworks";
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-SwiftMailgunTests/Pods-SwiftMailgunTests-frameworks.sh\"\n";
showEnvVarsInLog = 0;
};
C7A9BD6E3186565E6B7ECC3F /* Copy Pods Resources */ = {
C7A9BD6E3186565E6B7ECC3F /* [CP] Copy Pods Resources */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputPaths = (
);
name = "Copy Pods Resources";
name = "[CP] Copy Pods Resources";
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-SwiftMailgunTests/Pods-SwiftMailgunTests-resources.sh\"\n";
showEnvVarsInLog = 0;
};
E280DCE4B93D6C82C4E9ABFF /* Check Pods Manifest.lock */ = {
E280DCE4B93D6C82C4E9ABFF /* [CP] Check Pods Manifest.lock */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputPaths = (
);
name = "Check Pods Manifest.lock";
name = "[CP] Check Pods Manifest.lock";
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [[ $? != 0 ]] ; then\n cat << EOM\nerror: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\nEOM\n exit 1\nfi\n";
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";
showEnvVarsInLog = 0;
};
E67959A0E8DBDBC606DC94F9 /* Copy Pods Resources */ = {
E67959A0E8DBDBC606DC94F9 /* [CP] Copy Pods Resources */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputPaths = (
);
name = "Copy Pods Resources";
name = "[CP] Copy Pods Resources";
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
Expand Down Expand Up @@ -430,8 +432,10 @@
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
Expand Down Expand Up @@ -459,6 +463,7 @@
ONLY_ACTIVE_ARCH = YES;
SDKROOT = iphoneos;
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
SWIFT_VERSION = 3.0.1;
TARGETED_DEVICE_FAMILY = "1,2";
VERSIONING_SYSTEM = "apple-generic";
VERSION_INFO_PREFIX = "";
Expand All @@ -478,8 +483,10 @@
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
Expand All @@ -499,6 +506,8 @@
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = iphoneos;
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
SWIFT_VERSION = 3.0.1;
TARGETED_DEVICE_FAMILY = "1,2";
VALIDATE_PRODUCT = YES;
VERSIONING_SYSTEM = "apple-generic";
Expand All @@ -511,6 +520,7 @@
baseConfigurationReference = B4C2549AD5AE9CB92A4C9474 /* Pods-SwiftMailgun.debug.xcconfig */;
buildSettings = {
CLANG_ENABLE_MODULES = YES;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
DEFINES_MODULE = YES;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
Expand All @@ -522,6 +532,7 @@
PRODUCT_NAME = "$(TARGET_NAME)";
SKIP_INSTALL = YES;
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
SWIFT_VERSION = 3.0.1;
};
name = Debug;
};
Expand All @@ -530,6 +541,7 @@
baseConfigurationReference = AE3662AC06A0AF2FEE51D387 /* Pods-SwiftMailgun.release.xcconfig */;
buildSettings = {
CLANG_ENABLE_MODULES = YES;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
DEFINES_MODULE = YES;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
Expand All @@ -540,28 +552,33 @@
PRODUCT_BUNDLE_IDENTIFIER = com.greenpixels.SwiftMailgun;
PRODUCT_NAME = "$(TARGET_NAME)";
SKIP_INSTALL = YES;
SWIFT_VERSION = 3.0.1;
};
name = Release;
};
8344DAFB1C8698B400F1B181 /* Debug */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 8FE1960B1CD01F4D68F00309 /* Pods-SwiftMailgunTests.debug.xcconfig */;
buildSettings = {
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
INFOPLIST_FILE = SwiftMailgunTests/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = com.greenpixels.SwiftMailgunTests;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_VERSION = 3.0.1;
};
name = Debug;
};
8344DAFC1C8698B400F1B181 /* Release */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 76443AE69A3BD5C797065880 /* Pods-SwiftMailgunTests.release.xcconfig */;
buildSettings = {
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
INFOPLIST_FILE = SwiftMailgunTests/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = com.greenpixels.SwiftMailgunTests;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_VERSION = 3.0.1;
};
name = Release;
};
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0720"
LastUpgradeVersion = "0810"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand Down
Loading

0 comments on commit 5098f8b

Please sign in to comment.