Skip to content

Commit

Permalink
Bump pod version + clean code
Browse files Browse the repository at this point in the history
  • Loading branch information
gouyelliot committed Jun 19, 2020
1 parent 54e7c75 commit 78f35f1
Show file tree
Hide file tree
Showing 11 changed files with 95 additions and 28 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,5 @@ jobs:
run: make ci
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ build/
*.perspectivev3
!default.perspectivev3
xcuserdata/
xcshareddata/
*.xccheckout
profile
*.moved-aside
Expand Down
2 changes: 1 addition & 1 deletion BatchFirebaseDispatcher.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'BatchFirebaseDispatcher'
s.version = '1.0.0'
s.version = '1.0.1'
s.summary = 'Batch.com Events Dispatcher Firebase implementation.'

s.description = <<-DESC
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>IDEDidComputeMac32BitWarning</key>
<true/>
</dict>
</plist>
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1130"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "51D530C72412553B009E7531"
BuildableName = "BatchFirebaseDispatcher.framework"
BlueprintName = "BatchFirebaseDispatcher"
ReferencedContainer = "container:BatchFirebaseDispatcher.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES"
codeCoverageEnabled = "YES">
<Testables>
<TestableReference
skipped = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "625AA2F42424F4BB000DACC4"
BuildableName = "BatchFirebaseDispatcherTests.xctest"
BlueprintName = "BatchFirebaseDispatcherTests"
ReferencedContainer = "container:BatchFirebaseDispatcher.xcodeproj">
</BuildableReference>
</TestableReference>
</Testables>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "51D530C72412553B009E7531"
BuildableName = "BatchFirebaseDispatcher.framework"
BlueprintName = "BatchFirebaseDispatcher"
ReferencedContainer = "container:BatchFirebaseDispatcher.xcodeproj">
</BuildableReference>
</MacroExpansion>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
8 changes: 0 additions & 8 deletions BatchFirebaseDispatcherTests/BatchFirebaseDispatcherTests.m
Original file line number Diff line number Diff line change
@@ -1,11 +1,3 @@
//
// BatchFirebaseDispatcherTests.m
// Batch-Firebase-Dispatcher_Tests
//
// Created by Elliot Gouy on 23/10/2019.
// Copyright © 2019 elliot. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <XCTest/XCTest.h>
#import <OCMock/OCMock.h>
Expand Down
8 changes: 0 additions & 8 deletions BatchFirebaseDispatcherTests/BatchPayloadDispatcherTests.h
Original file line number Diff line number Diff line change
@@ -1,11 +1,3 @@
//
// BatchPayloadDispatcherTests.h
// Batch-Firebase-Dispatcher_Tests
//
// Created by Elliot Gouy on 23/10/2019.
// Copyright © 2019 elliot. All rights reserved.
//

#import <Batch/BatchEventDispatcher.h>

@interface BatchPayloadDispatcherTest : NSObject <BatchEventDispatcherPayload>
Expand Down
8 changes: 0 additions & 8 deletions BatchFirebaseDispatcherTests/BatchPayloadDispatcherTests.m
Original file line number Diff line number Diff line change
@@ -1,11 +1,3 @@
//
// BatchPayloadDispatcherTests.m
// Batch-Firebase-Dispatcher_Tests
//
// Created by Elliot Gouy on 23/10/2019.
// Copyright © 2019 elliot. All rights reserved.
//

#import <Foundation/Foundation.h>

#import "BatchPayloadDispatcherTests.h"
Expand Down
2 changes: 1 addition & 1 deletion Cartfile.resolved
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseAnalyticsBinary.json" "6.19.0"
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseAnalyticsBinary.json" "6.21.0"
github "BatchLabs/ios-sdk" "1.15.0"
github "erikdoe/ocmock" "v3.6"
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,7 @@ test-sonar: clean
-classpath $(CURDIR)/.sonar/sonar-scanner-cli-4.2.0.1873.jar \
org.sonarsource.scanner.cli.Main

ci: test-sonar
carthage:
carthage bootstrap --platform ios

ci: carthage test-sonar
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
[![Cocoapods](https://img.shields.io/cocoapods/v/BatchFirebaseDispatcher)](https://cocoapods.org/pods/BatchFirebaseDispatcher)
[![Github Action](https://github.com/BatchLabs/Batch-iOS-firebase-dispatcher/workflows/iOS%20CI/badge.svg)](https://github.com/BatchLabs/Batch-iOS-firebase-dispatcher/actions?query=workflow%3A%22iOS+CI%22)
[![SonarCloud Coverage](https://sonarcloud.io/api/project_badges/measure?project=BatchLabs_Batch-iOS-firebase-dispatcher&metric=coverage)](https://sonarcloud.io/dashboard?id=BatchLabs_Batch-iOS-firebase-dispatcher)

Batch.com iOS Firebase Event Dispatcher
==================
Expand Down

0 comments on commit 78f35f1

Please sign in to comment.