Skip to content

Commit

Permalink
Merge pull request #140 from RefugeRestrooms/release/1.2.0
Browse files Browse the repository at this point in the history
Release/1.2.0
  • Loading branch information
hkellaway committed May 31, 2015
2 parents 8ada5e7 + da3c1c0 commit 274af3e
Show file tree
Hide file tree
Showing 291 changed files with 7,254 additions and 6,208 deletions.
35 changes: 23 additions & 12 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,15 +1,26 @@
api-key.txt
_backups

# xcode noise
build/*
# Xcode
#
build/
*.pbxuser
!default.pbxuser
*.mode1v3
*~

# old skool
.svn
!default.mode1v3
*.mode2v3
!default.mode2v3
*.perspectivev3
!default.perspectivev3
xcuserdata
*.xccheckout
*.moved-aside
DerivedData
*.hmap
*.ipa
*.xcuserstate

# osx noise
.DS_Store
profile
# CocoaPods
#
# We recommend against adding the Pods directory to your .gitignore. However
# you should judge for yourself, the pros and cons are mentioned at:
# http://guides.cocoapods.org/using/using-cocoapods.html#should-i-ignore-the-pods-directory-in-source-control
#
#Pods/
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Make a new branch for each individual thing you are addressing. If you are worki

You should either name the branch after the issue number (e.g. `issue111`) or descriptively. If opting to name your branch descriptively, prefix it with the type of issue it is addressing, from the following list:

* `bugfix` - This branch is for addressing bugs
* `fix` - This branch is for addressing bugs
* `design` - This branch is for introducing *new* design work (if fixing previous design work, use `bugfix`)
* `feature` - This branch is for creating a brand new feature (if working on previous features, use `bugfix`)
* `pod` - This branch is for udpdating Pods or Frameworks
Expand All @@ -41,4 +41,4 @@ If your commit is addressing a specific Issue, you can reference that issue in y

#### Code Style

See the [Refuge Restrooms Objective-C Style Guide](https://github.com/RefugeRestrooms/refuge-ios-objective-c-style-guide)
Refuge uses the [New York Times Objective-C Style Guide](https://github.com/NYTimes/objective-c-style-guide)
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ Development Build: [![Build Status] (https://travis-ci.org/RefugeRestrooms/refug
<br>
[EAIntroView] (https://github.com/ealeksandrov/EAIntroView)
<br>
[HNKGooglePlacesAutocomplete] (https://github.com/hkellaway/HNKGooglePlacesAutocomplete)
<br>
[iRate](https://github.com/nicklockwood/iRate)
<br>
[Mantle] (https://github.com/Mantle/Mantle)
<br>
[Reachability] (https://github.com/tonymillion/Reachability)
<br>
[SPGooglePlacesAutocomplete] (https://github.com/spoletto/SPGooglePlacesAutocomplete)
1 change: 0 additions & 1 deletion refuge-ios/Crashlytics.framework/Crashlytics

This file was deleted.

Binary file added refuge-ios/Crashlytics.framework/Crashlytics
Binary file not shown.
1 change: 0 additions & 1 deletion refuge-ios/Crashlytics.framework/Headers

This file was deleted.

62 changes: 62 additions & 0 deletions refuge-ios/Crashlytics.framework/Headers/CLSLogging.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
//
// CLSLogging.h
// Crashlytics
//
// Copyright (c) 2015 Crashlytics, Inc. All rights reserved.
//

#import <Fabric/FABAttributes.h>
#ifdef __OBJC__
#import <Foundation/Foundation.h>
#endif

FAB_START_NONNULL

/**
*
* The CLS_LOG macro provides as easy way to gather more information in your log messages that are
* sent with your crash data. CLS_LOG prepends your custom log message with the function name and
* line number where the macro was used. If your app was built with the DEBUG preprocessor macro
* defined CLS_LOG uses the CLSNSLog function which forwards your log message to NSLog and CLSLog.
* If the DEBUG preprocessor macro is not defined CLS_LOG uses CLSLog only.
*
* Example output:
* -[AppDelegate login:] line 134 $ login start
*
* If you would like to change this macro, create a new header file, unset our define and then define
* your own version. Make sure this new header file is imported after the Crashlytics header file.
*
* #undef CLS_LOG
* #define CLS_LOG(__FORMAT__, ...) CLSNSLog...
*
**/
#ifdef __OBJC__
#ifdef DEBUG
#define CLS_LOG(__FORMAT__, ...) CLSNSLog((@"%s line %d $ " __FORMAT__), __PRETTY_FUNCTION__, __LINE__, ##__VA_ARGS__)
#else
#define CLS_LOG(__FORMAT__, ...) CLSLog((@"%s line %d $ " __FORMAT__), __PRETTY_FUNCTION__, __LINE__, ##__VA_ARGS__)
#endif
#endif

/**
*
* Add logging that will be sent with your crash data. This logging will not show up in the system.log
* and will only be visible in your Crashlytics dashboard.
*
**/

#ifdef __OBJC__
OBJC_EXTERN void CLSLog(NSString *format, ...) NS_FORMAT_FUNCTION(1,2);
OBJC_EXTERN void CLSLogv(NSString *format, va_list ap) NS_FORMAT_FUNCTION(1,0);

/**
*
* Add logging that will be sent with your crash data. This logging will show up in the system.log
* and your Crashlytics dashboard. It is not recommended for Release builds.
*
**/
OBJC_EXTERN void CLSNSLog(NSString *format, ...) NS_FORMAT_FUNCTION(1,2);
OBJC_EXTERN void CLSNSLogv(NSString *format, va_list ap) NS_FORMAT_FUNCTION(1,0);
#endif

FAB_END_NONNULL
94 changes: 94 additions & 0 deletions refuge-ios/Crashlytics.framework/Headers/CLSReport.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
//
// CLSReport.h
// Crashlytics
//
// Copyright (c) 2015 Crashlytics, Inc. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <Fabric/FABAttributes.h>

FAB_START_NONNULL

/**
* The CLSCrashReport protocol is deprecated. See the CLSReport class and the CrashyticsDelegate changes for details.
**/
@protocol CLSCrashReport <NSObject>
@end

/**
* The CLSReport exposes an interface to the phsyical report that Crashlytics has created. You can
* use this class to get information about the event, and can also set some values after the
* event has occured.
**/
@interface CLSReport : NSObject

- (instancetype)init NS_UNAVAILABLE;

/**
* Returns the session identifier for the report.
**/
@property (nonatomic, copy, readonly) NSString *identifier;

/**
* Returns the custom key value data for the report.
**/
@property (nonatomic, copy, readonly) NSDictionary *customKeys;

/**
* Returns the CFBundleVersion of the application that generated the report.
**/
@property (nonatomic, copy, readonly) NSString *bundleVersion;

/**
* Returns the CFBundleShortVersionString of the application that generated the report.
**/
@property (nonatomic, copy, readonly) NSString *bundleShortVersionString;

/**
* Returns the date that the report was created.
**/
@property (nonatomic, copy, readonly) NSDate *dateCreated;

/**
* Returns the os version that the application crashed on.
**/
@property (nonatomic, copy, readonly) NSString *OSVersion;

/**
* Returns the os build version that the application crashed on.
**/
@property (nonatomic, copy, readonly) NSString *OSBuildVersion;

/**
* Returns YES if the report contains any crash information. If the report
* contains only NSErrors, this will return NO.
**/
@property (nonatomic, assign, readonly) BOOL isCrash;

/**
* You can use this method to set, after the event, additional custom keys. The rules
* and semantics for this method are the same as those documented in Crashlytics.h. Be aware
* that the maximum size and count of custom keys is still enforced, and you can overwrite keys
* and/or cause excess keys to be deleted by using this method.
**/
- (void)setObjectValue:(id FAB_NULLABLE)value forKey:(NSString *)key;

/**
* Record an application-specific user identifier. See Crashlytics.h for details.
**/
@property (nonatomic, copy) NSString * FAB_NULLABLE userIdentifier;

/**
* Record a user name. See Crashlytics.h for details.
**/
@property (nonatomic, copy) NSString * FAB_NULLABLE userName;

/**
* Record a user email. See Crashlytics.h for details.
**/
@property (nonatomic, copy) NSString * FAB_NULLABLE userEmail;

@end

FAB_END_NONNULL
37 changes: 37 additions & 0 deletions refuge-ios/Crashlytics.framework/Headers/CLSStackFrame.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
//
// CLSStackFrame.h
// Crashlytics
//
// Copyright 2015 Crashlytics, Inc. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <Fabric/FABAttributes.h>

FAB_START_NONNULL

/**
*
* This class is used in conjunction with -[Crashlytics recordCustomExceptionName:reason:frameArray:] to
* record information about non-ObjC/C++ exceptions. All information included here will be displayed
* in the Crashlytics UI, and can influence crash grouping. Be particularly careful with the use of the
* address property. If set, Crashlytics will attempt symbolication and could overwrite other properities
* in the process.
*
**/
@interface CLSStackFrame : NSObject

+ (instancetype)stackFrame;
+ (instancetype)stackFrameWithAddress:(NSUInteger)address;
+ (instancetype)stackFrameWithSymbol:(NSString *)symbol;

@property (nonatomic, copy) NSString * FAB_NULLABLE symbol;
@property (nonatomic, copy) NSString * FAB_NULLABLE library;
@property (nonatomic, copy) NSString * FAB_NULLABLE fileName;
@property (nonatomic, assign) uint32_t lineNumber;
@property (nonatomic, assign) uint64_t offset;
@property (nonatomic, assign) uint64_t address;

@end

FAB_END_NONNULL

0 comments on commit 274af3e

Please sign in to comment.