Skip to content
This repository has been archived by the owner on Jul 28, 2020. It is now read-only.

Scope constant to file only #9

Merged
merged 2 commits into from
Oct 21, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
language: objective-c
osx_image: xcode6.4
osx_image: xcode7
before_install:
- gem install cocoapods xcpretty --no-rdoc --no-ri --no-document
script:
Expand Down
9 changes: 8 additions & 1 deletion LockGoogle.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@
5FF770751B7EAEA700FA0196 /* Project object */ = {
isa = PBXProject;
attributes = {
LastUpgradeCheck = 0640;
LastUpgradeCheck = 0700;
ORGANIZATIONNAME = Auth0;
TargetAttributes = {
5FF7707D1B7EAEA700FA0196 = {
Expand Down Expand Up @@ -518,6 +518,7 @@
CURRENT_PROJECT_VERSION = 1;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
ENABLE_STRICT_OBJC_MSGSEND = YES;
ENABLE_TESTABILITY = YES;
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_DYNAMIC_NO_PIC = NO;
GCC_NO_COMMON_BLOCKS = YES;
Expand Down Expand Up @@ -595,6 +596,7 @@
INFOPLIST_FILE = LockGoogle/Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = "com.auth0.$(PRODUCT_NAME:rfc1034identifier)";
PRODUCT_NAME = "$(TARGET_NAME)";
SKIP_INSTALL = YES;
};
Expand All @@ -611,6 +613,7 @@
INFOPLIST_FILE = LockGoogle/Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = "com.auth0.$(PRODUCT_NAME:rfc1034identifier)";
PRODUCT_NAME = "$(TARGET_NAME)";
SKIP_INSTALL = YES;
};
Expand All @@ -630,6 +633,7 @@
);
INFOPLIST_FILE = LockGoogleTests/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = "com.auth0.$(PRODUCT_NAME:rfc1034identifier)";
PRODUCT_NAME = "$(TARGET_NAME)";
};
name = Debug;
Expand All @@ -644,6 +648,7 @@
);
INFOPLIST_FILE = LockGoogleTests/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = "com.auth0.$(PRODUCT_NAME:rfc1034identifier)";
PRODUCT_NAME = "$(TARGET_NAME)";
};
name = Release;
Expand All @@ -658,6 +663,7 @@
);
INFOPLIST_FILE = LockGoogleApp/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = "com.auth0.$(PRODUCT_NAME:rfc1034identifier)";
PRODUCT_NAME = "$(TARGET_NAME)";
};
name = Debug;
Expand All @@ -668,6 +674,7 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
INFOPLIST_FILE = LockGoogleApp/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = "com.auth0.$(PRODUCT_NAME:rfc1034identifier)";
PRODUCT_NAME = "$(TARGET_NAME)";
};
name = Release;
Expand Down
13 changes: 8 additions & 5 deletions LockGoogle.xcodeproj/xcshareddata/xcschemes/LockGoogle.xcscheme
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0640"
LastUpgradeVersion = "0700"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand Down Expand Up @@ -37,10 +37,10 @@
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES"
buildConfiguration = "Debug">
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
<TestableReference
skipped = "NO">
Expand All @@ -62,15 +62,18 @@
ReferencedContainer = "container:LockGoogle.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
</AdditionalOptions>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
buildConfiguration = "Debug"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
<MacroExpansion>
<BuildableReference
Expand All @@ -85,10 +88,10 @@
</AdditionalOptions>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
buildConfiguration = "Release"
debugDocumentVersioning = "YES">
<MacroExpansion>
<BuildableReference
Expand Down
2 changes: 1 addition & 1 deletion LockGoogle/A0GoogleAuthenticator.m
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
#define A0LogVerbose(fmt, ...)
#define A0LogDebug(fmt, ...)

NSString * const DefaultConnectionName = @"google-oauth2";
static NSString * const DefaultConnectionName = @"google-oauth2";

@interface A0GoogleAuthenticator ()
@property (strong, nonatomic) A0GoogleProvider *google;
Expand Down
2 changes: 1 addition & 1 deletion LockGoogle/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
<string>com.auth0.$(PRODUCT_NAME:rfc1034identifier)</string>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
Expand Down
14 changes: 7 additions & 7 deletions LockGoogleApp/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,16 @@
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Auth0ClientId</key>
<string>U5MhUrbyQHSVWjlEqZSTCBUFABLbJAS3</string>
<key>Auth0Domain</key>
<string>overmind.auth0.com</string>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
<string>com.auth0.$(PRODUCT_NAME:rfc1034identifier)</string>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
Expand All @@ -31,10 +35,10 @@
</array>
</dict>
<dict>
<key>CFBundleURLName</key>
<string></string>
<key>CFBundleTypeRole</key>
<string>None</string>
<key>CFBundleURLName</key>
<string></string>
<key>CFBundleURLSchemes</key>
<array>
<string>com.auth0.$(PRODUCT_NAME:rfc1034identifier)</string>
Expand All @@ -59,9 +63,5 @@
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
<key>Auth0ClientId</key>
<string>U5MhUrbyQHSVWjlEqZSTCBUFABLbJAS3</string>
<key>Auth0Domain</key>
<string>overmind.auth0.com</string>
</dict>
</plist>
2 changes: 1 addition & 1 deletion LockGoogleTests/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
<string>com.auth0.$(PRODUCT_NAME:rfc1034identifier)</string>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
Expand Down
92 changes: 48 additions & 44 deletions Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,56 +1,59 @@
PODS:
- AFNetworking (2.5.4):
- AFNetworking/NSURLConnection (= 2.5.4)
- AFNetworking/NSURLSession (= 2.5.4)
- AFNetworking/Reachability (= 2.5.4)
- AFNetworking/Security (= 2.5.4)
- AFNetworking/Serialization (= 2.5.4)
- AFNetworking/UIKit (= 2.5.4)
- AFNetworking/NSURLConnection (2.5.4):
- AFNetworking (2.6.1):
- AFNetworking/NSURLConnection (= 2.6.1)
- AFNetworking/NSURLSession (= 2.6.1)
- AFNetworking/Reachability (= 2.6.1)
- AFNetworking/Security (= 2.6.1)
- AFNetworking/Serialization (= 2.6.1)
- AFNetworking/UIKit (= 2.6.1)
- AFNetworking/NSURLConnection (2.6.1):
- AFNetworking/Reachability
- AFNetworking/Security
- AFNetworking/Serialization
- AFNetworking/NSURLSession (2.5.4):
- AFNetworking/NSURLSession (2.6.1):
- AFNetworking/Reachability
- AFNetworking/Security
- AFNetworking/Serialization
- AFNetworking/Reachability (2.5.4)
- AFNetworking/Security (2.5.4)
- AFNetworking/Serialization (2.5.4)
- AFNetworking/UIKit (2.5.4):
- AFNetworking/Reachability (2.6.1)
- AFNetworking/Security (2.6.1)
- AFNetworking/Serialization (2.6.1)
- AFNetworking/UIKit (2.6.1):
- AFNetworking/NSURLConnection
- AFNetworking/NSURLSession
- CocoaLumberjack (2.0.1):
- CocoaLumberjack/Default (= 2.0.1)
- CocoaLumberjack/Extensions (= 2.0.1)
- CocoaLumberjack/Core (2.0.1)
- CocoaLumberjack/Default (2.0.1):
- CocoaLumberjack (2.0.3):
- CocoaLumberjack/Default (= 2.0.3)
- CocoaLumberjack/Extensions (= 2.0.3)
- CocoaLumberjack/Core (2.0.3)
- CocoaLumberjack/Default (2.0.3):
- CocoaLumberjack/Core
- CocoaLumberjack/Extensions (2.0.1):
- CocoaLumberjack/Extensions (2.0.3):
- CocoaLumberjack/Default
- Expecta (1.0.2)
- Google/Core (1.0.7):
- Expecta (1.0.3)
- Google/Core (1.1.1):
- GoogleInterchangeUtilities (~> 1.0)
- GoogleNetworkingUtilities (~> 1.0)
- GoogleSymbolUtilities (~> 1.0)
- GoogleUtilities (~> 1.0)
- Google/SignIn (1.0.7):
- GoogleUtilities (~> 1.1)
- Google/SignIn (1.1.1):
- Google/Core
- GoogleSignIn (~> 2.0)
- GoogleAppUtilities (1.0.0):
- GoogleSymbolUtilities (~> 1.0)
- GoogleAuthUtilities (1.0.1):
- GoogleNetworkingUtilities (~> 1.0)
- GoogleSymbolUtilities (~> 1.0)
- GoogleInterchangeUtilities (1.0.0):
- GoogleSymbolUtilities (~> 1.0)
- GoogleNetworkingUtilities (1.0.0):
- GoogleSymbolUtilities (~> 1.0)
- GoogleSignIn (2.2.0):
- GoogleAppUtilities (~> 1)
- GoogleAuthUtilities (~> 1)
- GoogleNetworkingUtilities (~> 1)
- GoogleUtilities (~> 1)
- GoogleSignIn (2.3.2):
- GoogleAppUtilities (~> 1.0)
- GoogleAuthUtilities (~> 1.0)
- GoogleNetworkingUtilities (~> 1.0)
- GoogleUtilities (~> 1.0)
- GoogleSymbolUtilities (1.0.0)
- GoogleUtilities (1.0.1):
- GoogleSymbolUtilities (~> 1.0)
- GoogleUtilities (1.1.0):
- GoogleSymbolUtilities (~> 1.0.0)
- ISO8601DateFormatter (0.7)
- libextobjc (0.4.1):
- libextobjc/EXTADT (= 0.4.1)
Expand Down Expand Up @@ -87,15 +90,15 @@ PODS:
- libextobjc/RuntimeExtensions
- libextobjc/RuntimeExtensions (0.4.1)
- libextobjc/UmbrellaHeader (0.4.1)
- Lock/Core (1.17.0):
- Lock/Core (1.19.2):
- AFNetworking (~> 2.5)
- CocoaLumberjack (~> 2.0)
- ISO8601DateFormatter (~> 0.7)
- libextobjc (~> 0.4)
- OCHamcrest (4.1.1)
- OCMockito (1.4.0):
- OCHamcrest (4.3.0)
- OCMockito (2.0.1):
- OCHamcrest (~> 4.0)
- Specta (1.0.3)
- Specta (1.0.4)

DEPENDENCIES:
- CocoaLumberjack
Expand All @@ -108,21 +111,22 @@ DEPENDENCIES:
- Specta

SPEC CHECKSUMS:
AFNetworking: 05edc0ac4c4c8cf57bcf4b84be5b0744b6d8e71e
CocoaLumberjack: 019d1361244274a6138c788c6cb80baabc13fb8f
Expecta: 54e8a3530add08f4f0208c111355eda7cde74a53
Google: 875f5a8ade86dd02e36586e4a54814843938c7f6
AFNetworking: 8e4e60500beb8bec644cf575beee72990a76d399
CocoaLumberjack: f58d8a19629f4d8379ae14bb3534def24161430e
Expecta: 9d1bff6c8b0eeee73a166a2ee898892478927a15
Google: 529a5d8719dff90ea2e7cba5f45302cd359b5456
GoogleAppUtilities: c01c6a5671e9da8b9d690fdaec5959d6c2aac699
GoogleAuthUtilities: 049ffd3a297cdffd271451b82fd4e75304f15ef3
GoogleInterchangeUtilities: fe088bea8c936218e52324a004d279c4491b9d65
GoogleNetworkingUtilities: 292992ab31b7b4ba32809a0e8b40e324cdfb2c0c
GoogleSignIn: c45d8d1a873784a3283b4f47f331dc06d8a727b6
GoogleSignIn: bfeffe8bbb5f5b377d9cc0d36e97e5f4758cfec4
GoogleSymbolUtilities: a7b0feed1fe667c8d5e647177938d0ecd62d6948
GoogleUtilities: e3475cd4d45134221d2f3f3626095a1c49b62041
GoogleUtilities: 8ed9134debe11719097881711464752900668f10
ISO8601DateFormatter: ab926648eebe497f4d167c0fd083992f959f1274
libextobjc: a650fc1bf489a3d3a9bc2e621efa3e1006fc5471
Lock: 7b7d1cdf49abfe73837730c60e5deac563cdc34f
OCHamcrest: 6f03ffa81d12feab872638490a44ab0a6d3aca10
OCMockito: 4981140c9a9ec06c31af40f636e3c0f25f27e6b2
Specta: cf3e4188cf35375c3ee2cd03f8db8f1f4ef98234
Lock: da94a6916dd22673e975e3974cb6ce03d89d905d
OCHamcrest: cd63d27f48a266d4412c0b295b01b8f0940efa81
OCMockito: f92ad4c6fac2841a88558879cfe517c40aebf91e
Specta: 69bb134672aae190a1379ff91df07dad8dd1f869

COCOAPODS: 0.38.2