Skip to content

Commit 9841ca7

Browse files
authored
Merge pull request #33 from dtrenz/develop
RC 0.3.0
2 parents b14f3db + 11d088c commit 9841ca7

File tree

19 files changed

+433
-340
lines changed

19 files changed

+433
-340
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,6 @@ DerivedData
2121

2222
# CocoaPods
2323
Pods/
24+
25+
# Jazzy
26+
docs/

.swift-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
2.3

.swiftlint.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
disabled_rules: # rule identifiers to exclude from running
2+
- conditional_binding_cascade
3+
- trailing_whitespace
4+
- vertical_whitespace
15
included: # paths to include during linting. `--path` is ignored if present.
26
- Sources
37
# parameterized rules can be customized from this configuration file

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ branches:
33
- develop
44
- master
55
language: objective-c
6-
osx_image: xcode7.3
6+
osx_image: xcode8
77
notifications:
88
slack:
99
rooms:

BugShaker.podspec

Lines changed: 24 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,25 @@
1-
Pod::Spec.new do |s|
2-
s.name = "BugShaker"
3-
s.version = "0.2.1"
4-
s.summary = "Shake to submit a bug report (w/ screenshot) via email."
5-
s.description = <<-DESC
6-
BugShaker allows your users to simply submit bug reports by shaking the device.
7-
When a shake is detected, the current screen state is captured and the user is
8-
prompted to submit a bug report via a mail composer with the screenshot attached.
9-
DESC
10-
s.homepage = "https://github.com/detroit-labs/BugShaker"
11-
s.screenshots = [
12-
"https://raw.githubusercontent.com/dtrenz/BugShaker/develop/Screenshots/screenshot-1.png",
13-
"https://raw.githubusercontent.com/dtrenz/BugShaker/develop/Screenshots/screenshot-2.png",
14-
]
15-
s.license = "Apache 2.0"
16-
s.author = { "Dan Trenz" => "dtrenz@gmail.com" }
17-
s.source = { :git => "https://github.com/detroit-labs/BugShaker.git", :tag => s.version.to_s }
18-
s.social_media_url = "https://twitter.com/dtrenz"
19-
s.platform = :ios, "8.3"
20-
s.requires_arc = true
21-
s.source_files = "Sources/**/*"
22-
s.frameworks = "UIKit", "MessageUI"
1+
Pod::Spec.new do |spec|
2+
spec.name = 'BugShaker'
3+
spec.version = '0.3.0'
4+
spec.license = { :type => 'Apache 2.0' }
5+
spec.homepage = 'https://github.com/detroit-labs/BugShaker'
6+
spec.documentation_url = 'http://dtrenz.github.io/BugShaker/'
7+
spec.authors = { 'Dan Trenz' => 'dtrenz@gmail.com' }
8+
spec.summary = 'Shake to submit a bug report (w/ screenshot) via email.'
9+
spec.source = { :git => 'https://github.com/detroit-labs/BugShaker.git', :tag => spec.version.to_s }
10+
spec.source_files = 'Sources/*.swift'
11+
spec.platform = :ios, '9.0'
12+
spec.frameworks = 'UIKit', 'MessageUI'
13+
spec.requires_arc = true
14+
spec.description = <<-DESC
15+
BugShaker allows your users to simply submit bug reports by shaking the device.
16+
When a shake is detected, the current screen state is captured and the user is
17+
prompted to submit a bug report via a mail composer with the screenshot attached.
18+
DESC
19+
spec.screenshots = [
20+
'https://raw.githubusercontent.com/dtrenz/BugShaker/develop/Screenshots/screenshot-1.png',
21+
'https://raw.githubusercontent.com/dtrenz/BugShaker/develop/Screenshots/screenshot-2.png',
22+
]
23+
spec.social_media_url = 'https://twitter.com/dtrenz'
24+
spec.source_files = 'Sources/**/*'
2325
end

BugShaker.xcodeproj/project.pbxproj

Lines changed: 152 additions & 126 deletions
Large diffs are not rendered by default.

BugShaker.xcodeproj/xcshareddata/xcschemes/BugShaker.xcscheme

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "0730"
3+
LastUpgradeVersion = "0810"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"
@@ -33,7 +33,7 @@
3333
skipped = "NO">
3434
<BuildableReference
3535
BuildableIdentifier = "primary"
36-
BlueprintIdentifier = "C528211D1CA43E70003EA0D4"
36+
BlueprintIdentifier = "C51FD83F1DCBADE700FC21FC"
3737
BuildableName = "BugShakerTests.xctest"
3838
BlueprintName = "BugShakerTests"
3939
ReferencedContainer = "container:BugShaker.xcodeproj">

CHANGELOG.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@
22
All notable changes to this project will be documented in this file.
33
`BugShaker` adheres to [Semantic Versioning](http://semver.org/).
44

5+
## [0.3.0](https://github.com/dtrenz/BugShaker/releases/tag/0.3.0)
6+
**Released:** 2016-11-04
7+
8+
#### Added
9+
- Support for **Swift v2.3**
10+
11+
---
12+
513
## [0.2.1](https://github.com/dtrenz/BugShaker/releases/tag/0.2.1)
614
**Released:** 2016-03-25
715

@@ -13,7 +21,8 @@ All notable changes to this project will be documented in this file.
1321

1422
#### Fixed
1523
- Broken README images
16-
-
24+
25+
---
1726

1827
## [0.2.0](https://github.com/dtrenz/BugShaker/releases/tag/0.2.0)
1928
**Released:** 2016-03-24

Example/Example.xcodeproj/project.pbxproj

Lines changed: 35 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,24 +7,42 @@
77
objects = {
88

99
/* Begin PBXBuildFile section */
10+
C53DFA0C1DCB97A000634CE4 /* BugShaker.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C53DFA0B1DCB97A000634CE4 /* BugShaker.framework */; };
11+
C53DFA0D1DCB97A000634CE4 /* BugShaker.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = C53DFA0B1DCB97A000634CE4 /* BugShaker.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
1012
C573BD7E1CA443810021F8ED /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = C52821521CA4403A003EA0D4 /* AppDelegate.swift */; };
1113
C573BD7F1CA443A90021F8ED /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = C52821531CA4403A003EA0D4 /* LaunchScreen.xib */; };
1214
C573BD801CA443AE0021F8ED /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = C52821551CA4403A003EA0D4 /* Main.storyboard */; };
1315
/* End PBXBuildFile section */
1416

17+
/* Begin PBXCopyFilesBuildPhase section */
18+
C53DFA0E1DCB97A000634CE4 /* Embed Frameworks */ = {
19+
isa = PBXCopyFilesBuildPhase;
20+
buildActionMask = 2147483647;
21+
dstPath = "";
22+
dstSubfolderSpec = 10;
23+
files = (
24+
C53DFA0D1DCB97A000634CE4 /* BugShaker.framework in Embed Frameworks */,
25+
);
26+
name = "Embed Frameworks";
27+
runOnlyForDeploymentPostprocessing = 0;
28+
};
29+
/* End PBXCopyFilesBuildPhase section */
30+
1531
/* Begin PBXFileReference section */
1632
C52821521CA4403A003EA0D4 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
1733
C52821541CA4403A003EA0D4 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = "<group>"; };
1834
C52821561CA4403A003EA0D4 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
1935
C52821571CA4403A003EA0D4 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
20-
C59755ED1CA450C700A21FAB /* Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; name = Example.app; path = "/Users/dtrenz/Dev/src/BugShaker/Example/build/Debug-iphoneos/Example.app"; sourceTree = "<absolute>"; };
36+
C53DFA0B1DCB97A000634CE4 /* BugShaker.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; path = BugShaker.framework; sourceTree = BUILT_PRODUCTS_DIR; };
37+
C58A4FB41DCB96A000BC029B /* Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Example.app; sourceTree = BUILT_PRODUCTS_DIR; };
2138
/* End PBXFileReference section */
2239

2340
/* Begin PBXFrameworksBuildPhase section */
2441
C573BD691CA4436A0021F8ED /* Frameworks */ = {
2542
isa = PBXFrameworksBuildPhase;
2643
buildActionMask = 2147483647;
2744
files = (
45+
C53DFA0C1DCB97A000634CE4 /* BugShaker.framework in Frameworks */,
2846
);
2947
runOnlyForDeploymentPostprocessing = 0;
3048
};
@@ -34,7 +52,9 @@
3452
607FACC71AFB9204008FA782 = {
3553
isa = PBXGroup;
3654
children = (
55+
C53DFA0B1DCB97A000634CE4 /* BugShaker.framework */,
3756
C52821511CA4403A003EA0D4 /* Sources */,
57+
C58A4FB41DCB96A000BC029B /* Example.app */,
3858
);
3959
sourceTree = "<group>";
4060
};
@@ -75,14 +95,15 @@
7595
C573BD681CA4436A0021F8ED /* Sources */,
7696
C573BD691CA4436A0021F8ED /* Frameworks */,
7797
C573BD6A1CA4436A0021F8ED /* Resources */,
98+
C53DFA0E1DCB97A000634CE4 /* Embed Frameworks */,
7899
);
79100
buildRules = (
80101
);
81102
dependencies = (
82103
);
83104
name = Example;
84105
productName = "BugShaker Example";
85-
productReference = C59755ED1CA450C700A21FAB /* Example.app */;
106+
productReference = C58A4FB41DCB96A000BC029B /* Example.app */;
86107
productType = "com.apple.product-type.application";
87108
};
88109
/* End PBXNativeTarget section */
@@ -92,11 +113,13 @@
92113
isa = PBXProject;
93114
attributes = {
94115
LastSwiftUpdateCheck = 0730;
95-
LastUpgradeCheck = 0720;
116+
LastUpgradeCheck = 0810;
96117
ORGANIZATIONNAME = CocoaPods;
97118
TargetAttributes = {
98119
C573BD6B1CA4436A0021F8ED = {
99120
CreatedOnToolsVersion = 7.3;
121+
DevelopmentTeam = 4J9G6749JK;
122+
LastSwiftMigration = 0810;
100123
};
101124
};
102125
};
@@ -174,8 +197,10 @@
174197
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
175198
CLANG_WARN_EMPTY_BODY = YES;
176199
CLANG_WARN_ENUM_CONVERSION = YES;
200+
CLANG_WARN_INFINITE_RECURSION = YES;
177201
CLANG_WARN_INT_CONVERSION = YES;
178202
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
203+
CLANG_WARN_SUSPICIOUS_MOVE = YES;
179204
CLANG_WARN_UNREACHABLE_CODE = YES;
180205
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
181206
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
@@ -219,8 +244,10 @@
219244
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
220245
CLANG_WARN_EMPTY_BODY = YES;
221246
CLANG_WARN_ENUM_CONVERSION = YES;
247+
CLANG_WARN_INFINITE_RECURSION = YES;
222248
CLANG_WARN_INT_CONVERSION = YES;
223249
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
250+
CLANG_WARN_SUSPICIOUS_MOVE = YES;
224251
CLANG_WARN_UNREACHABLE_CODE = YES;
225252
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
226253
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
@@ -240,6 +267,7 @@
240267
IPHONEOS_DEPLOYMENT_TARGET = 8.3;
241268
MTL_ENABLE_DEBUG_INFO = NO;
242269
SDKROOT = iphoneos;
270+
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
243271
VALIDATE_PRODUCT = YES;
244272
};
245273
name = Release;
@@ -249,23 +277,27 @@
249277
buildSettings = {
250278
CLANG_ANALYZER_NONNULL = YES;
251279
DEBUG_INFORMATION_FORMAT = dwarf;
280+
DEVELOPMENT_TEAM = 4J9G6749JK;
252281
INFOPLIST_FILE = "$(SRCROOT)/Sources/Info.plist";
253282
IPHONEOS_DEPLOYMENT_TARGET = 9.3;
254283
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
255284
PRODUCT_BUNDLE_IDENTIFIER = "com.dtrenz.BugShaker-Example";
256285
PRODUCT_NAME = "$(TARGET_NAME)";
286+
SWIFT_VERSION = 2.3;
257287
};
258288
name = Debug;
259289
};
260290
C573BD7C1CA4436A0021F8ED /* Release */ = {
261291
isa = XCBuildConfiguration;
262292
buildSettings = {
263293
CLANG_ANALYZER_NONNULL = YES;
294+
DEVELOPMENT_TEAM = 4J9G6749JK;
264295
INFOPLIST_FILE = "$(SRCROOT)/Sources/Info.plist";
265296
IPHONEOS_DEPLOYMENT_TARGET = 9.3;
266297
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
267298
PRODUCT_BUNDLE_IDENTIFIER = "com.dtrenz.BugShaker-Example";
268299
PRODUCT_NAME = "$(TARGET_NAME)";
300+
SWIFT_VERSION = 2.3;
269301
};
270302
name = Release;
271303
};

Example/Example.xcodeproj/xcshareddata/xcschemes/Example.xcscheme

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "0730"
3+
LastUpgradeVersion = "0810"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"
@@ -61,6 +61,13 @@
6161
ReferencedContainer = "container:Example.xcodeproj">
6262
</BuildableReference>
6363
</BuildableProductRunnable>
64+
<EnvironmentVariables>
65+
<EnvironmentVariable
66+
key = "OS_ACTIVITY_MODE"
67+
value = "disable"
68+
isEnabled = "YES">
69+
</EnvironmentVariable>
70+
</EnvironmentVariables>
6471
<AdditionalOptions>
6572
</AdditionalOptions>
6673
</LaunchAction>

0 commit comments

Comments
 (0)