xcbootstrap 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/bin/xcbootstrap +8 -0
- data/lib/xcbootstrap/bootstrap.rb +65 -0
- data/lib/xcbootstrap/cli.rb +17 -0
- data/lib/xcbootstrap/next_steps.txt +32 -0
- data/lib/xcbootstrap/template.rb +40 -0
- data/lib/xcbootstrap/version.rb +3 -0
- data/lib/xcbootstrap.rb +3 -0
- data/spec/acceptance/xcbootstrap_spec.rb +57 -0
- data/spec/spec_helper.rb +5 -0
- data/spec/unit/bootstrap_spec.rb +100 -0
- data/spec/unit/cli_spec.rb +33 -0
- data/spec/unit/template_spec.rb +86 -0
- data/templates/Sample/Sample/AppDelegate.h +15 -0
- data/templates/Sample/Sample/AppDelegate.m +49 -0
- data/templates/Sample/Sample/Default-568h@2x.png +0 -0
- data/templates/Sample/Sample/Default.png +0 -0
- data/templates/Sample/Sample/Default@2x.png +0 -0
- data/templates/Sample/Sample/Sample-Info.plist +45 -0
- data/templates/Sample/Sample/Sample-Prefix.pch +14 -0
- data/templates/Sample/Sample/main.m +18 -0
- data/templates/Sample/Sample.xcodeproj/project.pbxproj +423 -0
- data/templates/Sample/Sample.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -0
- data/templates/Sample/Sample.xcodeproj/xcshareddata/xcschemes/Sample.xcscheme +96 -0
- data/templates/Sample/SampleTests/SampleTests-Info.plist +22 -0
- data/templates/Sample/SampleTests/SampleTests.m +22 -0
- data/templates/Sample/gitignore +18 -0
- data/templates/Sample/manifest.yml +16 -0
- data/templates/simple/Gemfile +7 -0
- data/templates/simple/Podfile +15 -0
- data/templates/simple/Rakefile +45 -0
- data/templates/simple/app/configuration/analyzer.xcconfig +21 -0
- data/templates/simple/app/configuration/app.xcconfig +13 -0
- data/templates/simple/app/configuration/architectures.xcconfig +5 -0
- data/templates/simple/app/configuration/compiler.xcconfig +59 -0
- data/templates/simple/app/configuration/debug-code-sign.xcconfig +3 -0
- data/templates/simple/app/configuration/debug.xcconfig +22 -0
- data/templates/simple/app/configuration/release-code-sign.xcconfig +3 -0
- data/templates/simple/app/configuration/release.xcconfig +18 -0
- data/templates/simple/app/configuration/shared.xcconfig +12 -0
- data/templates/simple/app/configuration/unit-tests.xcconfig +13 -0
- data/templates/simple/app/resources/AppInfo.plist +45 -0
- data/templates/simple/app/resources/Default-568h@2x.png +0 -0
- data/templates/simple/app/resources/Default.png +0 -0
- data/templates/simple/app/resources/Default@2x.png +0 -0
- data/templates/simple/app/resources/UnitTestsInfo.plist +22 -0
- data/templates/simple/app/simple.xcodeproj/project.pbxproj +439 -0
- data/templates/simple/app/simple.xcodeproj/xcshareddata/xcschemes/simple.xcscheme +138 -0
- data/templates/simple/app/src/AppDelegate.h +7 -0
- data/templates/simple/app/src/AppDelegate.m +46 -0
- data/templates/simple/app/src/AppPrefix.pch +10 -0
- data/templates/simple/app/src/main.m +9 -0
- data/templates/simple/app/test/ExampleSpec.m +34 -0
- data/templates/simple/app/test/UnitTestsPrefix.pch +11 -0
- data/templates/simple/gitignore +20 -0
- data/templates/simple/manifest.yml +31 -0
- data/templates/simple/simple.xcworkspace/contents.xcworkspacedata +10 -0
- data/templates/static-lib/Gemfile +4 -0
- data/templates/static-lib/Podfile +14 -0
- data/templates/static-lib/Rakefile +29 -0
- data/templates/static-lib/gitignore +20 -0
- data/templates/static-lib/lib/configuration/analyzer.xcconfig +21 -0
- data/templates/static-lib/lib/configuration/architectures.xcconfig +5 -0
- data/templates/static-lib/lib/configuration/compiler.xcconfig +59 -0
- data/templates/static-lib/lib/configuration/debug-code-sign.xcconfig +3 -0
- data/templates/static-lib/lib/configuration/debug.xcconfig +19 -0
- data/templates/static-lib/lib/configuration/lib.xcconfig +10 -0
- data/templates/static-lib/lib/configuration/release-code-sign.xcconfig +3 -0
- data/templates/static-lib/lib/configuration/release.xcconfig +18 -0
- data/templates/static-lib/lib/configuration/shared.xcconfig +11 -0
- data/templates/static-lib/lib/configuration/test-loader.xcconfig +11 -0
- data/templates/static-lib/lib/configuration/unit-tests.xcconfig +13 -0
- data/templates/static-lib/lib/resources/Default-568h@2x.png +0 -0
- data/templates/static-lib/lib/resources/Default.png +0 -0
- data/templates/static-lib/lib/resources/Default@2x.png +0 -0
- data/templates/static-lib/lib/resources/TestLoaderAppInfo.plist +45 -0
- data/templates/static-lib/lib/resources/UnitTestsInfo.plist +22 -0
- data/templates/static-lib/lib/src/MyFirstLibObject.h +7 -0
- data/templates/static-lib/lib/src/MyFirstLibObject.m +15 -0
- data/templates/static-lib/lib/src/StaticLibPrefix.pch +10 -0
- data/templates/static-lib/lib/static-lib.xcodeproj/project.pbxproj +546 -0
- data/templates/static-lib/lib/static-lib.xcodeproj/xcshareddata/xcschemes/static-lib.xcscheme +97 -0
- data/templates/static-lib/lib/test/ExampleSpec.m +34 -0
- data/templates/static-lib/lib/test/TestLoaderAppDelegate.h +7 -0
- data/templates/static-lib/lib/test/TestLoaderAppDelegate.m +13 -0
- data/templates/static-lib/lib/test/TestLoaderAppPrefix.pch +10 -0
- data/templates/static-lib/lib/test/UnitTestsPrefix.pch +11 -0
- data/templates/static-lib/lib/test/main.m +9 -0
- data/templates/static-lib/manifest.yml +36 -0
- data/templates/static-lib/static-lib.podspec +29 -0
- data/templates/static-lib/static-lib.xcworkspace/contents.xcworkspacedata +10 -0
- metadata +209 -0
@@ -0,0 +1,13 @@
|
|
1
|
+
#import "TestLoaderAppDelegate.h"
|
2
|
+
|
3
|
+
@implementation TestLoaderAppDelegate
|
4
|
+
|
5
|
+
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
|
6
|
+
{
|
7
|
+
self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
|
8
|
+
self.window.backgroundColor = [UIColor whiteColor];
|
9
|
+
[self.window makeKeyAndVisible];
|
10
|
+
return YES;
|
11
|
+
}
|
12
|
+
|
13
|
+
@end
|
@@ -0,0 +1,36 @@
|
|
1
|
+
---
|
2
|
+
files:
|
3
|
+
- from: Gemfile
|
4
|
+
- from: gitignore
|
5
|
+
to: .gitignore
|
6
|
+
- from: Podfile
|
7
|
+
- from: Rakefile
|
8
|
+
- from: static-lib.podspec
|
9
|
+
- from: static-lib.xcworkspace/contents.xcworkspacedata
|
10
|
+
- from: lib/configuration/analyzer.xcconfig
|
11
|
+
- from: lib/configuration/architectures.xcconfig
|
12
|
+
- from: lib/configuration/compiler.xcconfig
|
13
|
+
- from: lib/configuration/debug-code-sign.xcconfig
|
14
|
+
- from: lib/configuration/debug.xcconfig
|
15
|
+
- from: lib/configuration/lib.xcconfig
|
16
|
+
- from: lib/configuration/release-code-sign.xcconfig
|
17
|
+
- from: lib/configuration/release.xcconfig
|
18
|
+
- from: lib/configuration/shared.xcconfig
|
19
|
+
- from: lib/configuration/test-loader.xcconfig
|
20
|
+
- from: lib/configuration/unit-tests.xcconfig
|
21
|
+
- from: lib/resources/Default-568h@2x.png
|
22
|
+
- from: lib/resources/Default.png
|
23
|
+
- from: lib/resources/Default@2x.png
|
24
|
+
- from: lib/resources/TestLoaderAppInfo.plist
|
25
|
+
- from: lib/resources/UnitTestsInfo.plist
|
26
|
+
- from: lib/src/MyFirstLibObject.h
|
27
|
+
- from: lib/src/MyFirstLibObject.m
|
28
|
+
- from: lib/src/StaticLibPrefix.pch
|
29
|
+
- from: lib/test/ExampleSpec.m
|
30
|
+
- from: lib/test/main.m
|
31
|
+
- from: lib/test/TestLoaderAppDelegate.h
|
32
|
+
- from: lib/test/TestLoaderAppDelegate.m
|
33
|
+
- from: lib/test/TestLoaderAppPrefix.pch
|
34
|
+
- from: lib/test/UnitTestsPrefix.pch
|
35
|
+
- from: lib/static-lib.xcodeproj/project.pbxproj
|
36
|
+
- from: lib/static-lib.xcodeproj/xcshareddata/xcschemes/static-lib.xcscheme
|
@@ -0,0 +1,29 @@
|
|
1
|
+
#
|
2
|
+
# Be sure to run `pod spec lint NAME.podspec' to ensure this is a
|
3
|
+
# valid spec and remove all comments before submitting the spec.
|
4
|
+
#
|
5
|
+
# To learn more about the attributes see http://docs.cocoapods.org/specification.html
|
6
|
+
#
|
7
|
+
Pod::Spec.new do |s|
|
8
|
+
s.name = "static-lib"
|
9
|
+
s.version = "0.0.1"
|
10
|
+
s.summary = "A short description of static-lib."
|
11
|
+
s.description = <<-DESC
|
12
|
+
An optional longer description of static-lib
|
13
|
+
|
14
|
+
* Markdown format.
|
15
|
+
* Don't worry about the indent, we strip it!
|
16
|
+
DESC
|
17
|
+
s.homepage = "http://EXAMPLE/NAME"
|
18
|
+
s.license = 'MIT'
|
19
|
+
s.author = { "Stewart Gleadow" => "sgleadow@gmail.com" }
|
20
|
+
s.source = { :git => "git@github.com:sgleadow/xcbootstrap.git", :tag => s.version.to_s }
|
21
|
+
|
22
|
+
s.platform = :ios, '6.0'
|
23
|
+
s.ios.deployment_target = '6.0'
|
24
|
+
s.requires_arc = true
|
25
|
+
|
26
|
+
s.source_files = 'lib/src/**/*.{h,m}'
|
27
|
+
# s.frameworks = 'SomeFramework', 'AnotherFramework'
|
28
|
+
s.dependency 'ObjectiveSugar'
|
29
|
+
end
|
metadata
ADDED
@@ -0,0 +1,209 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: xcbootstrap
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Stewart Gleadow
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2013-08-07 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: ptools
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ~>
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 1.1.7
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ~>
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 1.1.7
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: clamp
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ~>
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 0.6.1
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ~>
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 0.6.1
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rake
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ~>
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '10.0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ~>
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '10.0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: rspec
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ~>
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '2.0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ~>
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '2.0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: fakefs
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ~>
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: 0.4.2
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ~>
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: 0.4.2
|
83
|
+
description: Bootstrap iOS projects with builds and testing already configured
|
84
|
+
email:
|
85
|
+
- sgleadow@gmail.com
|
86
|
+
executables:
|
87
|
+
- xcbootstrap
|
88
|
+
extensions: []
|
89
|
+
extra_rdoc_files: []
|
90
|
+
files:
|
91
|
+
- lib/xcbootstrap.rb
|
92
|
+
- lib/xcbootstrap/bootstrap.rb
|
93
|
+
- lib/xcbootstrap/cli.rb
|
94
|
+
- lib/xcbootstrap/next_steps.txt
|
95
|
+
- lib/xcbootstrap/template.rb
|
96
|
+
- lib/xcbootstrap/version.rb
|
97
|
+
- templates/Sample/Sample.xcodeproj/project.pbxproj
|
98
|
+
- templates/Sample/Sample.xcodeproj/project.xcworkspace/contents.xcworkspacedata
|
99
|
+
- templates/Sample/Sample.xcodeproj/xcshareddata/xcschemes/Sample.xcscheme
|
100
|
+
- templates/Sample/Sample/AppDelegate.h
|
101
|
+
- templates/Sample/Sample/AppDelegate.m
|
102
|
+
- templates/Sample/Sample/Default-568h@2x.png
|
103
|
+
- templates/Sample/Sample/Default.png
|
104
|
+
- templates/Sample/Sample/Default@2x.png
|
105
|
+
- templates/Sample/Sample/Sample-Info.plist
|
106
|
+
- templates/Sample/Sample/Sample-Prefix.pch
|
107
|
+
- templates/Sample/Sample/main.m
|
108
|
+
- templates/Sample/SampleTests/SampleTests-Info.plist
|
109
|
+
- templates/Sample/SampleTests/SampleTests.m
|
110
|
+
- templates/Sample/gitignore
|
111
|
+
- templates/Sample/manifest.yml
|
112
|
+
- templates/simple/Gemfile
|
113
|
+
- templates/simple/Podfile
|
114
|
+
- templates/simple/Rakefile
|
115
|
+
- templates/simple/app/configuration/analyzer.xcconfig
|
116
|
+
- templates/simple/app/configuration/app.xcconfig
|
117
|
+
- templates/simple/app/configuration/architectures.xcconfig
|
118
|
+
- templates/simple/app/configuration/compiler.xcconfig
|
119
|
+
- templates/simple/app/configuration/debug-code-sign.xcconfig
|
120
|
+
- templates/simple/app/configuration/debug.xcconfig
|
121
|
+
- templates/simple/app/configuration/release-code-sign.xcconfig
|
122
|
+
- templates/simple/app/configuration/release.xcconfig
|
123
|
+
- templates/simple/app/configuration/shared.xcconfig
|
124
|
+
- templates/simple/app/configuration/unit-tests.xcconfig
|
125
|
+
- templates/simple/app/resources/AppInfo.plist
|
126
|
+
- templates/simple/app/resources/Default-568h@2x.png
|
127
|
+
- templates/simple/app/resources/Default.png
|
128
|
+
- templates/simple/app/resources/Default@2x.png
|
129
|
+
- templates/simple/app/resources/UnitTestsInfo.plist
|
130
|
+
- templates/simple/app/simple.xcodeproj/project.pbxproj
|
131
|
+
- templates/simple/app/simple.xcodeproj/xcshareddata/xcschemes/simple.xcscheme
|
132
|
+
- templates/simple/app/src/AppDelegate.h
|
133
|
+
- templates/simple/app/src/AppDelegate.m
|
134
|
+
- templates/simple/app/src/AppPrefix.pch
|
135
|
+
- templates/simple/app/src/main.m
|
136
|
+
- templates/simple/app/test/ExampleSpec.m
|
137
|
+
- templates/simple/app/test/UnitTestsPrefix.pch
|
138
|
+
- templates/simple/gitignore
|
139
|
+
- templates/simple/manifest.yml
|
140
|
+
- templates/simple/simple.xcworkspace/contents.xcworkspacedata
|
141
|
+
- templates/static-lib/Gemfile
|
142
|
+
- templates/static-lib/Podfile
|
143
|
+
- templates/static-lib/Rakefile
|
144
|
+
- templates/static-lib/gitignore
|
145
|
+
- templates/static-lib/lib/configuration/analyzer.xcconfig
|
146
|
+
- templates/static-lib/lib/configuration/architectures.xcconfig
|
147
|
+
- templates/static-lib/lib/configuration/compiler.xcconfig
|
148
|
+
- templates/static-lib/lib/configuration/debug-code-sign.xcconfig
|
149
|
+
- templates/static-lib/lib/configuration/debug.xcconfig
|
150
|
+
- templates/static-lib/lib/configuration/lib.xcconfig
|
151
|
+
- templates/static-lib/lib/configuration/release-code-sign.xcconfig
|
152
|
+
- templates/static-lib/lib/configuration/release.xcconfig
|
153
|
+
- templates/static-lib/lib/configuration/shared.xcconfig
|
154
|
+
- templates/static-lib/lib/configuration/test-loader.xcconfig
|
155
|
+
- templates/static-lib/lib/configuration/unit-tests.xcconfig
|
156
|
+
- templates/static-lib/lib/resources/Default-568h@2x.png
|
157
|
+
- templates/static-lib/lib/resources/Default.png
|
158
|
+
- templates/static-lib/lib/resources/Default@2x.png
|
159
|
+
- templates/static-lib/lib/resources/TestLoaderAppInfo.plist
|
160
|
+
- templates/static-lib/lib/resources/UnitTestsInfo.plist
|
161
|
+
- templates/static-lib/lib/src/MyFirstLibObject.h
|
162
|
+
- templates/static-lib/lib/src/MyFirstLibObject.m
|
163
|
+
- templates/static-lib/lib/src/StaticLibPrefix.pch
|
164
|
+
- templates/static-lib/lib/static-lib.xcodeproj/project.pbxproj
|
165
|
+
- templates/static-lib/lib/static-lib.xcodeproj/xcshareddata/xcschemes/static-lib.xcscheme
|
166
|
+
- templates/static-lib/lib/test/ExampleSpec.m
|
167
|
+
- templates/static-lib/lib/test/TestLoaderAppDelegate.h
|
168
|
+
- templates/static-lib/lib/test/TestLoaderAppDelegate.m
|
169
|
+
- templates/static-lib/lib/test/TestLoaderAppPrefix.pch
|
170
|
+
- templates/static-lib/lib/test/UnitTestsPrefix.pch
|
171
|
+
- templates/static-lib/lib/test/main.m
|
172
|
+
- templates/static-lib/manifest.yml
|
173
|
+
- templates/static-lib/static-lib.podspec
|
174
|
+
- templates/static-lib/static-lib.xcworkspace/contents.xcworkspacedata
|
175
|
+
- spec/acceptance/xcbootstrap_spec.rb
|
176
|
+
- spec/spec_helper.rb
|
177
|
+
- spec/unit/bootstrap_spec.rb
|
178
|
+
- spec/unit/cli_spec.rb
|
179
|
+
- spec/unit/template_spec.rb
|
180
|
+
- bin/xcbootstrap
|
181
|
+
homepage: https://github.com/sgleadow/xcodebootstrap
|
182
|
+
licenses: []
|
183
|
+
metadata: {}
|
184
|
+
post_install_message:
|
185
|
+
rdoc_options: []
|
186
|
+
require_paths:
|
187
|
+
- lib
|
188
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
189
|
+
requirements:
|
190
|
+
- - '>='
|
191
|
+
- !ruby/object:Gem::Version
|
192
|
+
version: '0'
|
193
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
194
|
+
requirements:
|
195
|
+
- - '>='
|
196
|
+
- !ruby/object:Gem::Version
|
197
|
+
version: '0'
|
198
|
+
requirements: []
|
199
|
+
rubyforge_project:
|
200
|
+
rubygems_version: 2.0.3
|
201
|
+
signing_key:
|
202
|
+
specification_version: 4
|
203
|
+
summary: Bootstrap iOS projects with builds and testing already configured
|
204
|
+
test_files:
|
205
|
+
- spec/acceptance/xcbootstrap_spec.rb
|
206
|
+
- spec/spec_helper.rb
|
207
|
+
- spec/unit/bootstrap_spec.rb
|
208
|
+
- spec/unit/cli_spec.rb
|
209
|
+
- spec/unit/template_spec.rb
|