xcbootstrap 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/xcbootstrap/version.rb +1 -1
- data/templates/simple/Gemfile +3 -4
- data/templates/simple/Rakefile +4 -1
- data/templates/simple/app/configuration/analyzer.xcconfig +2 -1
- data/templates/simple/app/configuration/architectures.xcconfig +2 -2
- data/templates/simple/app/configuration/compiler.xcconfig +8 -0
- data/templates/simple/app/configuration/debug.xcconfig +1 -1
- data/templates/simple/app/configuration/unit-tests.xcconfig +3 -0
- data/templates/simple/app/simple.xcodeproj/xcshareddata/xcschemes/simple.xcscheme +2 -2
- data/templates/simple/app/src/AppDelegate.h +1 -1
- data/templates/simple/app/src/AppDelegate.m +2 -2
- data/templates/simple/app/test/UnitTestsPrefix.pch +2 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9cadf1395ad4feaff3ba092976f74a6bc707bab2
|
4
|
+
data.tar.gz: 8279a801f9cb127fc614e64fe4054c4dd64497b7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bc0bded42336d2f73c51a4ee8515a1a9662ce69a2a6eab8eaa1dee7bf017aa10286d1c148fc2e9d51aebca534e22443e52e33a2e67c9d56a72c24bf05d757b32
|
7
|
+
data.tar.gz: da9c3596d4c034c1f46d42d201659993229fc94e6d1363ae440d4c362bedc304126c45bf6801b2a8287cd93a23225fe4bf6b6c89525c95f8be371e74c5ff1930
|
data/lib/xcbootstrap/version.rb
CHANGED
data/templates/simple/Gemfile
CHANGED
data/templates/simple/Rakefile
CHANGED
@@ -11,7 +11,7 @@ require 'cucumber'
|
|
11
11
|
require 'cucumber/rake/task'
|
12
12
|
|
13
13
|
desc "Default: build, test, frank"
|
14
|
-
task :default => [:build, :test,
|
14
|
+
task :default => [:build, :test, :frank]
|
15
15
|
|
16
16
|
desc "Bootstrap dependencies for the app"
|
17
17
|
task :bootstrap do
|
@@ -43,3 +43,6 @@ end
|
|
43
43
|
Cucumber::Rake::Task.new("frank:run") do |t|
|
44
44
|
t.cucumber_opts = "Frank/features --format pretty"
|
45
45
|
end
|
46
|
+
|
47
|
+
desc "Build and run frank tests"
|
48
|
+
task :frank => ["frank:build", "frank:run"]
|
@@ -1,5 +1,6 @@
|
|
1
1
|
// Analyzer flags
|
2
2
|
CLANG_ANALYZER_DEADCODE_DEADSTORES = YES
|
3
|
+
CLANG_ANALYZER_MEMORY_MANAGEMENT = YES
|
3
4
|
CLANG_ANALYZER_GCD = YES
|
4
5
|
CLANG_ANALYZER_MALLOC = YES
|
5
6
|
CLANG_ANALYZER_OBJC_ATSYNC = YES
|
@@ -18,4 +19,4 @@ CLANG_ANALYZER_SECURITY_INSECUREAPI_GETPW_GETS = YES
|
|
18
19
|
CLANG_ANALYZER_SECURITY_INSECUREAPI_MKSTEMP = YES
|
19
20
|
CLANG_ANALYZER_SECURITY_INSECUREAPI_RAND = YES
|
20
21
|
CLANG_ANALYZER_SECURITY_INSECUREAPI_STRCPY = YES
|
21
|
-
CLANG_ANALYZER_SECURITY_INSECUREAPI_VFORK = YES
|
22
|
+
CLANG_ANALYZER_SECURITY_INSECUREAPI_VFORK = YES
|
@@ -15,11 +15,15 @@ GCC_WARN_PEDANTIC = YES
|
|
15
15
|
|
16
16
|
GCC_WARN_CHECK_SWITCH_STATEMENTS = YES
|
17
17
|
GCC_WARN_ABOUT_DEPRECATED_FUNCTIONS = YES
|
18
|
+
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES
|
19
|
+
CLANG_WARN_DOCUMENTATION_COMMENTS = NO // not using these comments as documentation
|
18
20
|
CLANG_WARN_EMPTY_BODY = YES
|
19
21
|
GCC_WARN_FOUR_CHARACTER_CONSTANTS = YES
|
20
22
|
GCC_WARN_SHADOW = YES
|
23
|
+
CLANG_WARN_BOOL_CONVERSION = YES
|
21
24
|
CLANG_WARN_CONSTANT_CONVERSION = YES
|
22
25
|
GCC_WARN_64_TO_32_BIT_CONVERSION = YES
|
26
|
+
GCC_WARN_64_TO_32_BIT_CONVERSION[arch=*64] = YES
|
23
27
|
CLANG_WARN_ENUM_CONVERSION = YES
|
24
28
|
CLANG_WARN_INT_CONVERSION = YES
|
25
29
|
CLANG_WARN_IMPLICIT_SIGN_CONVERSION = YES
|
@@ -51,6 +55,10 @@ CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES
|
|
51
55
|
CLANG_WARN_OBJC_RECEIVER_WEAK = YES
|
52
56
|
GCC_WARN_STRICT_SELECTOR_MATCH = YES
|
53
57
|
GCC_WARN_UNDECLARED_SELECTOR = YES
|
58
|
+
CLANG_WARN_OBJC_ROOT_CLASS = YES
|
59
|
+
CLANG_WARN_OBJC_EXPLICIT_OWNERSHIP_TYPE = YES
|
60
|
+
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES
|
61
|
+
CLANG_WARN_OBJC_REPEATED_USE_OF_WEAK = YES
|
54
62
|
CLANG_WARN__ARC_BRIDGE_CAST_NONARC = YES
|
55
63
|
|
56
64
|
GCC_STRICT_ALIASING = YES
|
@@ -11,7 +11,7 @@ STRIP_INSTALLED_PRODUCT = NO
|
|
11
11
|
|
12
12
|
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) DEBUG=1
|
13
13
|
OTHER_CFLAGS = $(inherited)
|
14
|
-
OTHER_LDFLAGS = $(inherited)
|
14
|
+
OTHER_LDFLAGS = $(inherited) $(FRANK_LDFLAGS)
|
15
15
|
LIBRARY_SEARCH_PATHS = $(inherited) $(FRANK_LIBRARY_SEARCH_PATHS)
|
16
16
|
|
17
17
|
CODE_SIGN_IDENTITY = iPhone Developer
|
@@ -14,7 +14,7 @@
|
|
14
14
|
buildForAnalyzing = "YES">
|
15
15
|
<BuildableReference
|
16
16
|
BuildableIdentifier = "primary"
|
17
|
-
BlueprintIdentifier = "
|
17
|
+
BlueprintIdentifier = "067EB348EB5D40E683135435"
|
18
18
|
BuildableName = "libPods.a"
|
19
19
|
BlueprintName = "Pods"
|
20
20
|
ReferencedContainer = "container:../Pods/Pods.xcodeproj">
|
@@ -28,7 +28,7 @@
|
|
28
28
|
buildForAnalyzing = "YES">
|
29
29
|
<BuildableReference
|
30
30
|
BuildableIdentifier = "primary"
|
31
|
-
BlueprintIdentifier = "
|
31
|
+
BlueprintIdentifier = "720E05AA6DE44A519B029696"
|
32
32
|
BuildableName = "libPods-test.a"
|
33
33
|
BlueprintName = "Pods-test"
|
34
34
|
ReferencedContainer = "container:../Pods/Pods.xcodeproj">
|
@@ -12,9 +12,9 @@
|
|
12
12
|
UIViewController *controller = [[UIViewController alloc] init];
|
13
13
|
controller.view.backgroundColor = [UIColor whiteColor];
|
14
14
|
|
15
|
-
UILabel *welcome = [[UILabel alloc] initWithFrame:
|
15
|
+
UILabel *welcome = [[UILabel alloc] initWithFrame:CGRectMake(0, 100, 320, 100)];
|
16
16
|
welcome.text = @"Welcome";
|
17
|
-
|
17
|
+
welcome.textAlignment = NSTextAlignmentCenter;
|
18
18
|
[controller.view addSubview:welcome];
|
19
19
|
|
20
20
|
self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: xcbootstrap
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stewart Gleadow
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2014-01-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ptools
|