calatrava 0.6.3 → 0.6.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (72) hide show
  1. data/.gitignore +1 -1
  2. data/.ruby-gemset +1 -0
  3. data/.ruby-version +1 -0
  4. data/.travis.yml +4 -0
  5. data/CHANGES.markdown +67 -0
  6. data/Gemfile +1 -1
  7. data/Gemfile.lock +100 -0
  8. data/README.md +39 -3
  9. data/Rakefile +4 -0
  10. data/Vagrantfile +106 -0
  11. data/calatrava.gemspec +9 -4
  12. data/features/cli.feature +9 -0
  13. data/features/project.feature +15 -3
  14. data/features/sample_app.feature +5 -1
  15. data/features/support/calatrava_app.rb +1 -1
  16. data/features/support/env.rb +1 -1
  17. data/lib/calatrava/apache.rb +10 -31
  18. data/lib/calatrava/app.rb +7 -3
  19. data/lib/calatrava/app_builder.rb +11 -12
  20. data/lib/calatrava/configuration.rb +23 -6
  21. data/lib/calatrava/droid_app.rb +11 -2
  22. data/lib/calatrava/ios_app.rb +8 -1
  23. data/lib/calatrava/manifest.rb +0 -20
  24. data/lib/calatrava/mobile_web_app.rb +13 -9
  25. data/lib/calatrava/output_file.rb +53 -0
  26. data/lib/calatrava/platform.rb +12 -0
  27. data/lib/calatrava/project.rb +31 -3
  28. data/lib/calatrava/project_script.rb +15 -6
  29. data/lib/calatrava/tasks/assets.rb +2 -1
  30. data/lib/calatrava/tasks/bootstrap.rb +2 -3
  31. data/lib/calatrava/tasks/rake.rb +24 -0
  32. data/lib/calatrava/tasks.rb +1 -9
  33. data/lib/calatrava/templates/.ruby-gemset.calatrava +1 -0
  34. data/lib/calatrava/templates/.ruby-version +1 -0
  35. data/lib/calatrava/templates/droid/app/bridge.coffee +1 -1
  36. data/lib/calatrava/templates/droid/calatrava/CALATRAVA_TMPL/AndroidManifest.xml.calatrava +3 -4
  37. data/lib/calatrava/templates/droid/calatrava/CALATRAVA_TMPL/build.xml.calatrava +0 -4
  38. data/lib/calatrava/templates/droid/calatrava/ant/calatrava.xml +7 -3
  39. data/lib/calatrava/templates/droid/calatrava/{ivy.xml → ivy/ivy.xml} +0 -0
  40. data/lib/calatrava/templates/droid/calatrava/{ivysettings.xml → ivy/ivysettings.xml} +0 -0
  41. data/lib/calatrava/templates/droid/calatrava/src/com/CALATRAVA_TMPL/Bootstrap.java.calatrava +21 -0
  42. data/lib/calatrava/templates/droid/calatrava/src/com/CALATRAVA_TMPL/Title.java.calatrava +8 -15
  43. data/lib/calatrava/templates/droid/calatrava/src/com/calatrava/bridge/CalatravaApplication.java +87 -0
  44. data/lib/calatrava/templates/droid/calatrava/src/com/calatrava/bridge/PageRegistry.java +12 -9
  45. data/lib/calatrava/templates/droid/calatrava/src/com/calatrava/bridge/PluginRegistry.java +11 -5
  46. data/lib/calatrava/templates/droid/calatrava/src/com/calatrava/bridge/RegisteredActivity.java +6 -15
  47. data/lib/calatrava/templates/droid/calatrava/src/com/calatrava/bridge/RegisteredPlugin.java +1 -1
  48. data/lib/calatrava/templates/droid/calatrava/src/com/calatrava/bridge/RhinoService.java +27 -41
  49. data/lib/calatrava/templates/droid/calatrava/src/com/calatrava/shell/WebViewActivity.java +7 -8
  50. data/lib/calatrava/templates/ios/Podfile.calatrava +1 -1
  51. data/lib/calatrava/templates/ios/src/AppDelegate.h +6 -1
  52. data/lib/calatrava/templates/ios/src/AppDelegate.m +20 -0
  53. data/lib/calatrava/templates/kernel/app/calatrava.coffee +13 -5
  54. data/lib/calatrava/templates/kernel/plugins/alert.coffee +4 -1
  55. data/lib/calatrava/templates/kernel/spec/converter/controller.converter.spec.coffee +1 -1
  56. data/lib/calatrava/templates/kernel/spec/stubView.coffee +17 -3
  57. data/lib/calatrava/templates/package.json +0 -1
  58. data/lib/calatrava/templates/shell/pages/converter/page.conversionForm.coffee +7 -2
  59. data/lib/calatrava/templates/web/app/source/bridge.coffee +7 -7
  60. data/lib/calatrava/templates/web/app/source/init.coffee +1 -1
  61. data/lib/calatrava/version.rb +1 -1
  62. data/lib/calatrava.rb +4 -0
  63. data/spec/app_builder_spec.rb +2 -2
  64. data/spec/mobile_web_app_spec.rb +1 -1
  65. data/spec/output_file_spec.rb +33 -0
  66. metadata +104 -35
  67. data/.rvmrc +0 -2
  68. data/lib/calatrava/templates/.rvmrc.calatrava +0 -2
  69. data/lib/calatrava/templates/droid/calatrava/src/com/calatrava/bridge/Launcher.java +0 -86
  70. data/lib/calatrava/templates/ios/res/xibs/ProgressViewController.xib +0 -334
  71. data/lib/calatrava/templates/ios/res/xibs/WebViewController.xib +0 -173
  72. data/lib/calatrava/templates/web/deploy/instance.sh +0 -10
@@ -1,334 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <archive type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="8.00">
3
- <data>
4
- <int key="IBDocument.SystemTarget">1296</int>
5
- <string key="IBDocument.SystemVersion">11D50b</string>
6
- <string key="IBDocument.InterfaceBuilderVersion">2182</string>
7
- <string key="IBDocument.AppKitVersion">1138.32</string>
8
- <string key="IBDocument.HIToolboxVersion">568.00</string>
9
- <object class="NSMutableDictionary" key="IBDocument.PluginVersions">
10
- <string key="NS.key.0">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
11
- <string key="NS.object.0">1181</string>
12
- </object>
13
- <array key="IBDocument.IntegratedClassDependencies">
14
- <string>IBUIImageView</string>
15
- <string>IBUIView</string>
16
- <string>IBUILabel</string>
17
- <string>IBProxyObject</string>
18
- </array>
19
- <array key="IBDocument.PluginDependencies">
20
- <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
21
- </array>
22
- <object class="NSMutableDictionary" key="IBDocument.Metadata">
23
- <string key="NS.key.0">PluginDependencyRecalculationVersion</string>
24
- <integer value="1" key="NS.object.0"/>
25
- </object>
26
- <array class="NSMutableArray" key="IBDocument.RootObjects" id="1000">
27
- <object class="IBProxyObject" id="372490531">
28
- <string key="IBProxiedObjectIdentifier">IBFilesOwner</string>
29
- <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
30
- </object>
31
- <object class="IBProxyObject" id="975951072">
32
- <string key="IBProxiedObjectIdentifier">IBFirstResponder</string>
33
- <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
34
- </object>
35
- <object class="IBUIView" id="191373211">
36
- <reference key="NSNextResponder"/>
37
- <int key="NSvFlags">274</int>
38
- <array class="NSMutableArray" key="NSSubviews">
39
- <object class="IBUIView" id="628879584">
40
- <reference key="NSNextResponder" ref="191373211"/>
41
- <int key="NSvFlags">292</int>
42
- <array class="NSMutableArray" key="NSSubviews">
43
- <object class="IBUIImageView" id="732811145">
44
- <reference key="NSNextResponder" ref="628879584"/>
45
- <int key="NSvFlags">274</int>
46
- <string key="NSFrame">{{56, 53}, {18, 18}}</string>
47
- <reference key="NSSuperview" ref="628879584"/>
48
- <reference key="NSWindow"/>
49
- <reference key="NSNextKeyView" ref="649060078"/>
50
- <bool key="IBUIUserInteractionEnabled">NO</bool>
51
- <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
52
- <object class="NSCustomResource" key="IBUIImage">
53
- <string key="NSClassName">NSImage</string>
54
- <string key="NSResourceName">plane1.png</string>
55
- </object>
56
- </object>
57
- <object class="IBUILabel" id="649060078">
58
- <reference key="NSNextResponder" ref="628879584"/>
59
- <int key="NSvFlags">292</int>
60
- <string key="NSFrame">{{20, 79}, {90, 21}}</string>
61
- <reference key="NSSuperview" ref="628879584"/>
62
- <reference key="NSWindow"/>
63
- <reference key="NSNextKeyView"/>
64
- <bool key="IBUIOpaque">NO</bool>
65
- <bool key="IBUIClipsSubviews">YES</bool>
66
- <int key="IBUIContentMode">7</int>
67
- <bool key="IBUIUserInteractionEnabled">NO</bool>
68
- <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
69
- <string key="IBUIText">Loading...</string>
70
- <object class="NSColor" key="IBUITextColor">
71
- <int key="NSColorSpace">1</int>
72
- <bytes key="NSRGB">MSAxIDEAA</bytes>
73
- </object>
74
- <nil key="IBUIHighlightedColor"/>
75
- <int key="IBUIBaselineAdjustment">1</int>
76
- <float key="IBUIMinimumFontSize">10</float>
77
- <int key="IBUITextAlignment">1</int>
78
- <object class="IBUIFontDescription" key="IBUIFontDescription">
79
- <string key="name">Helvetica-Bold</string>
80
- <string key="family">Helvetica</string>
81
- <int key="traits">2</int>
82
- <double key="pointSize">16</double>
83
- </object>
84
- <object class="NSFont" key="IBUIFont">
85
- <string key="NSName">Helvetica-Bold</string>
86
- <double key="NSSize">16</double>
87
- <int key="NSfFlags">16</int>
88
- </object>
89
- </object>
90
- </array>
91
- <string key="NSFrame">{{95, 140}, {130, 124}}</string>
92
- <reference key="NSSuperview" ref="191373211"/>
93
- <reference key="NSWindow"/>
94
- <reference key="NSNextKeyView" ref="732811145"/>
95
- <object class="NSColor" key="IBUIBackgroundColor">
96
- <int key="NSColorSpace">3</int>
97
- <bytes key="NSWhite">MC4zMzMzMzMzMzMzAA</bytes>
98
- </object>
99
- <float key="IBUIAlpha">0.80000001192092896</float>
100
- <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
101
- </object>
102
- </array>
103
- <string key="NSFrame">{{0, 20}, {320, 460}}</string>
104
- <reference key="NSSuperview"/>
105
- <reference key="NSWindow"/>
106
- <reference key="NSNextKeyView" ref="628879584"/>
107
- <object class="NSColor" key="IBUIBackgroundColor">
108
- <int key="NSColorSpace">3</int>
109
- <bytes key="NSWhite">MC42NjY2NjY2NjY3AA</bytes>
110
- </object>
111
- <object class="IBUISimulatedStatusBarMetrics" key="IBUISimulatedStatusBarMetrics"/>
112
- <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
113
- </object>
114
- </array>
115
- <object class="IBObjectContainer" key="IBDocument.Objects">
116
- <array class="NSMutableArray" key="connectionRecords">
117
- <object class="IBConnectionRecord">
118
- <object class="IBCocoaTouchOutletConnection" key="connection">
119
- <string key="label">view</string>
120
- <reference key="source" ref="372490531"/>
121
- <reference key="destination" ref="191373211"/>
122
- </object>
123
- <int key="connectionID">3</int>
124
- </object>
125
- <object class="IBConnectionRecord">
126
- <object class="IBCocoaTouchOutletConnection" key="connection">
127
- <string key="label">bgView</string>
128
- <reference key="source" ref="372490531"/>
129
- <reference key="destination" ref="628879584"/>
130
- </object>
131
- <int key="connectionID">12</int>
132
- </object>
133
- <object class="IBConnectionRecord">
134
- <object class="IBCocoaTouchOutletConnection" key="connection">
135
- <string key="label">imageView</string>
136
- <reference key="source" ref="372490531"/>
137
- <reference key="destination" ref="732811145"/>
138
- </object>
139
- <int key="connectionID">10</int>
140
- </object>
141
- </array>
142
- <object class="IBMutableOrderedSet" key="objectRecords">
143
- <array key="orderedObjects">
144
- <object class="IBObjectRecord">
145
- <int key="objectID">0</int>
146
- <array key="object" id="0"/>
147
- <reference key="children" ref="1000"/>
148
- <nil key="parent"/>
149
- </object>
150
- <object class="IBObjectRecord">
151
- <int key="objectID">1</int>
152
- <reference key="object" ref="191373211"/>
153
- <array class="NSMutableArray" key="children">
154
- <reference ref="628879584"/>
155
- </array>
156
- <reference key="parent" ref="0"/>
157
- </object>
158
- <object class="IBObjectRecord">
159
- <int key="objectID">-1</int>
160
- <reference key="object" ref="372490531"/>
161
- <reference key="parent" ref="0"/>
162
- <string key="objectName">File's Owner</string>
163
- </object>
164
- <object class="IBObjectRecord">
165
- <int key="objectID">-2</int>
166
- <reference key="object" ref="975951072"/>
167
- <reference key="parent" ref="0"/>
168
- </object>
169
- <object class="IBObjectRecord">
170
- <int key="objectID">8</int>
171
- <reference key="object" ref="628879584"/>
172
- <array class="NSMutableArray" key="children">
173
- <reference ref="732811145"/>
174
- <reference ref="649060078"/>
175
- </array>
176
- <reference key="parent" ref="191373211"/>
177
- </object>
178
- <object class="IBObjectRecord">
179
- <int key="objectID">9</int>
180
- <reference key="object" ref="732811145"/>
181
- <reference key="parent" ref="628879584"/>
182
- </object>
183
- <object class="IBObjectRecord">
184
- <int key="objectID">11</int>
185
- <reference key="object" ref="649060078"/>
186
- <reference key="parent" ref="628879584"/>
187
- </object>
188
- </array>
189
- </object>
190
- <dictionary class="NSMutableDictionary" key="flattenedProperties">
191
- <string key="-1.CustomClassName">ProgressViewController</string>
192
- <string key="-1.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
193
- <string key="-2.CustomClassName">UIResponder</string>
194
- <string key="-2.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
195
- <string key="1.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
196
- <string key="11.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
197
- <string key="8.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
198
- <string key="9.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
199
- </dictionary>
200
- <dictionary class="NSMutableDictionary" key="unlocalizedProperties"/>
201
- <nil key="activeLocalization"/>
202
- <dictionary class="NSMutableDictionary" key="localizations"/>
203
- <nil key="sourceID"/>
204
- <int key="maxID">13</int>
205
- </object>
206
- <object class="IBClassDescriber" key="IBDocument.Classes">
207
- <array class="NSMutableArray" key="referencedPartialClassDescriptions">
208
- <object class="IBPartialClassDescription">
209
- <string key="className">DLFontFixer</string>
210
- <string key="superclassName">NSObject</string>
211
- <dictionary class="NSMutableDictionary" key="toManyOutletInfosByName">
212
- <object class="IBToManyOutletInfo" key="viewsToMakeWhitneyBlack">
213
- <string key="name">viewsToMakeWhitneyBlack</string>
214
- <string key="candidateClassName">UIView</string>
215
- <string key="collectionClassName">NSArray</string>
216
- </object>
217
- <object class="IBToManyOutletInfo" key="viewsToMakeWhitneyBlackItalic">
218
- <string key="name">viewsToMakeWhitneyBlackItalic</string>
219
- <string key="candidateClassName">UIView</string>
220
- <string key="collectionClassName">NSArray</string>
221
- </object>
222
- <object class="IBToManyOutletInfo" key="viewsToMakeWhitneyBold">
223
- <string key="name">viewsToMakeWhitneyBold</string>
224
- <string key="candidateClassName">UIView</string>
225
- <string key="collectionClassName">NSArray</string>
226
- </object>
227
- <object class="IBToManyOutletInfo" key="viewsToMakeWhitneyBoldItalic">
228
- <string key="name">viewsToMakeWhitneyBoldItalic</string>
229
- <string key="candidateClassName">UIView</string>
230
- <string key="collectionClassName">NSArray</string>
231
- </object>
232
- <object class="IBToManyOutletInfo" key="viewsToMakeWhitneyBook">
233
- <string key="name">viewsToMakeWhitneyBook</string>
234
- <string key="candidateClassName">UIView</string>
235
- <string key="collectionClassName">NSArray</string>
236
- </object>
237
- <object class="IBToManyOutletInfo" key="viewsToMakeWhitneyBookItalic">
238
- <string key="name">viewsToMakeWhitneyBookItalic</string>
239
- <string key="candidateClassName">UIView</string>
240
- <string key="collectionClassName">NSArray</string>
241
- </object>
242
- <object class="IBToManyOutletInfo" key="viewsToMakeWhitneyLight">
243
- <string key="name">viewsToMakeWhitneyLight</string>
244
- <string key="candidateClassName">UIView</string>
245
- <string key="collectionClassName">NSArray</string>
246
- </object>
247
- <object class="IBToManyOutletInfo" key="viewsToMakeWhitneyLightItalic">
248
- <string key="name">viewsToMakeWhitneyLightItalic</string>
249
- <string key="candidateClassName">UIView</string>
250
- <string key="collectionClassName">NSArray</string>
251
- </object>
252
- <object class="IBToManyOutletInfo" key="viewsToMakeWhitneyMedium">
253
- <string key="name">viewsToMakeWhitneyMedium</string>
254
- <string key="candidateClassName">UIView</string>
255
- <string key="collectionClassName">NSArray</string>
256
- </object>
257
- <object class="IBToManyOutletInfo" key="viewsToMakeWhitneyMediumItalic">
258
- <string key="name">viewsToMakeWhitneyMediumItalic</string>
259
- <string key="candidateClassName">UIView</string>
260
- <string key="collectionClassName">NSArray</string>
261
- </object>
262
- <object class="IBToManyOutletInfo" key="viewsToMakeWhitneySemibold">
263
- <string key="name">viewsToMakeWhitneySemibold</string>
264
- <string key="candidateClassName">UIView</string>
265
- <string key="collectionClassName">NSArray</string>
266
- </object>
267
- <object class="IBToManyOutletInfo" key="viewsToMakeWhitneySemiboldItalic">
268
- <string key="name">viewsToMakeWhitneySemiboldItalic</string>
269
- <string key="candidateClassName">UIView</string>
270
- <string key="collectionClassName">NSArray</string>
271
- </object>
272
- </dictionary>
273
- <object class="IBClassDescriptionSource" key="sourceIdentifier">
274
- <string key="majorKey">IBProjectSource</string>
275
- <string key="minorKey">./Classes/DLFontFixer.h</string>
276
- </object>
277
- </object>
278
- <object class="IBPartialClassDescription">
279
- <string key="className">ProgressViewController</string>
280
- <string key="superclassName">UIViewController</string>
281
- <dictionary class="NSMutableDictionary" key="outlets">
282
- <string key="bgView">UIView</string>
283
- <string key="imageView">UIImageView</string>
284
- </dictionary>
285
- <dictionary class="NSMutableDictionary" key="toOneOutletInfosByName">
286
- <object class="IBToOneOutletInfo" key="bgView">
287
- <string key="name">bgView</string>
288
- <string key="candidateClassName">UIView</string>
289
- </object>
290
- <object class="IBToOneOutletInfo" key="imageView">
291
- <string key="name">imageView</string>
292
- <string key="candidateClassName">UIImageView</string>
293
- </object>
294
- </dictionary>
295
- <object class="IBClassDescriptionSource" key="sourceIdentifier">
296
- <string key="majorKey">IBProjectSource</string>
297
- <string key="minorKey">./Classes/ProgressViewController.h</string>
298
- </object>
299
- </object>
300
- <object class="IBPartialClassDescription">
301
- <string key="className">UIViewController</string>
302
- <object class="NSMutableDictionary" key="outlets">
303
- <string key="NS.key.0">fontFixer</string>
304
- <string key="NS.object.0">DLFontFixer</string>
305
- </object>
306
- <object class="NSMutableDictionary" key="toOneOutletInfosByName">
307
- <string key="NS.key.0">fontFixer</string>
308
- <object class="IBToOneOutletInfo" key="NS.object.0">
309
- <string key="name">fontFixer</string>
310
- <string key="candidateClassName">DLFontFixer</string>
311
- </object>
312
- </object>
313
- <object class="IBClassDescriptionSource" key="sourceIdentifier">
314
- <string key="majorKey">IBProjectSource</string>
315
- <string key="minorKey">./Classes/UIViewController.h</string>
316
- </object>
317
- </object>
318
- </array>
319
- </object>
320
- <int key="IBDocument.localizationMode">0</int>
321
- <string key="IBDocument.TargetRuntimeIdentifier">IBCocoaTouchFramework</string>
322
- <object class="NSMutableDictionary" key="IBDocument.PluginDeclaredDependencyDefaults">
323
- <string key="NS.key.0">com.apple.InterfaceBuilder.CocoaTouchPlugin.iPhoneOS</string>
324
- <real value="1296" key="NS.object.0"/>
325
- </object>
326
- <bool key="IBDocument.PluginDeclaredDependenciesTrackSystemTargetVersion">YES</bool>
327
- <int key="IBDocument.defaultPropertyAccessControl">3</int>
328
- <object class="NSMutableDictionary" key="IBDocument.LastKnownImageSizes">
329
- <string key="NS.key.0">plane1.png</string>
330
- <string key="NS.object.0">{18, 18}</string>
331
- </object>
332
- <string key="IBCocoaTouchPluginVersion">1181</string>
333
- </data>
334
- </archive>
@@ -1,173 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <archive type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="8.00">
3
- <data>
4
- <int key="IBDocument.SystemTarget">1280</int>
5
- <string key="IBDocument.SystemVersion">11D50d</string>
6
- <string key="IBDocument.InterfaceBuilderVersion">2182</string>
7
- <string key="IBDocument.AppKitVersion">1138.32</string>
8
- <string key="IBDocument.HIToolboxVersion">568.00</string>
9
- <object class="NSMutableDictionary" key="IBDocument.PluginVersions">
10
- <string key="NS.key.0">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
11
- <string key="NS.object.0">1181</string>
12
- </object>
13
- <array key="IBDocument.IntegratedClassDependencies">
14
- <string>IBProxyObject</string>
15
- <string>IBUIView</string>
16
- <string>IBUIWebView</string>
17
- </array>
18
- <array key="IBDocument.PluginDependencies">
19
- <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
20
- </array>
21
- <object class="NSMutableDictionary" key="IBDocument.Metadata">
22
- <string key="NS.key.0">PluginDependencyRecalculationVersion</string>
23
- <integer value="1" key="NS.object.0"/>
24
- </object>
25
- <array class="NSMutableArray" key="IBDocument.RootObjects" id="1000">
26
- <object class="IBProxyObject" id="372490531">
27
- <string key="IBProxiedObjectIdentifier">IBFilesOwner</string>
28
- <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
29
- </object>
30
- <object class="IBProxyObject" id="975951072">
31
- <string key="IBProxiedObjectIdentifier">IBFirstResponder</string>
32
- <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
33
- </object>
34
- <object class="IBUIView" id="191373211">
35
- <reference key="NSNextResponder"/>
36
- <int key="NSvFlags">274</int>
37
- <array class="NSMutableArray" key="NSSubviews">
38
- <object class="IBUIWebView" id="655117342">
39
- <reference key="NSNextResponder" ref="191373211"/>
40
- <int key="NSvFlags">274</int>
41
- <string key="NSFrameSize">{320, 460}</string>
42
- <reference key="NSSuperview" ref="191373211"/>
43
- <reference key="NSWindow"/>
44
- <object class="NSColor" key="IBUIBackgroundColor">
45
- <int key="NSColorSpace">3</int>
46
- <bytes key="NSWhite">MCAwAA</bytes>
47
- </object>
48
- <bool key="IBUIOpaque">NO</bool>
49
- <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
50
- <int key="IBUIDataDetectorTypes">1</int>
51
- <bool key="IBUIDetectsPhoneNumbers">YES</bool>
52
- </object>
53
- </array>
54
- <string key="NSFrame">{{0, 20}, {320, 460}}</string>
55
- <reference key="NSSuperview"/>
56
- <reference key="NSWindow"/>
57
- <reference key="NSNextKeyView"/>
58
- <object class="NSColor" key="IBUIBackgroundColor">
59
- <int key="NSColorSpace">3</int>
60
- <bytes key="NSWhite">MQA</bytes>
61
- <object class="NSColorSpace" key="NSCustomColorSpace">
62
- <int key="NSID">2</int>
63
- </object>
64
- </object>
65
- <object class="IBUISimulatedStatusBarMetrics" key="IBUISimulatedStatusBarMetrics"/>
66
- <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
67
- </object>
68
- </array>
69
- <object class="IBObjectContainer" key="IBDocument.Objects">
70
- <array class="NSMutableArray" key="connectionRecords">
71
- <object class="IBConnectionRecord">
72
- <object class="IBCocoaTouchOutletConnection" key="connection">
73
- <string key="label">view</string>
74
- <reference key="source" ref="372490531"/>
75
- <reference key="destination" ref="191373211"/>
76
- </object>
77
- <int key="connectionID">3</int>
78
- </object>
79
- <object class="IBConnectionRecord">
80
- <object class="IBCocoaTouchOutletConnection" key="connection">
81
- <string key="label">_webView</string>
82
- <reference key="source" ref="372490531"/>
83
- <reference key="destination" ref="655117342"/>
84
- </object>
85
- <int key="connectionID">6</int>
86
- </object>
87
- </array>
88
- <object class="IBMutableOrderedSet" key="objectRecords">
89
- <array key="orderedObjects">
90
- <object class="IBObjectRecord">
91
- <int key="objectID">0</int>
92
- <array key="object" id="0"/>
93
- <reference key="children" ref="1000"/>
94
- <nil key="parent"/>
95
- </object>
96
- <object class="IBObjectRecord">
97
- <int key="objectID">1</int>
98
- <reference key="object" ref="191373211"/>
99
- <array class="NSMutableArray" key="children">
100
- <reference ref="655117342"/>
101
- </array>
102
- <reference key="parent" ref="0"/>
103
- </object>
104
- <object class="IBObjectRecord">
105
- <int key="objectID">-1</int>
106
- <reference key="object" ref="372490531"/>
107
- <reference key="parent" ref="0"/>
108
- <string key="objectName">File's Owner</string>
109
- </object>
110
- <object class="IBObjectRecord">
111
- <int key="objectID">-2</int>
112
- <reference key="object" ref="975951072"/>
113
- <reference key="parent" ref="0"/>
114
- </object>
115
- <object class="IBObjectRecord">
116
- <int key="objectID">4</int>
117
- <reference key="object" ref="655117342"/>
118
- <reference key="parent" ref="191373211"/>
119
- </object>
120
- </array>
121
- </object>
122
- <dictionary class="NSMutableDictionary" key="flattenedProperties">
123
- <string key="-1.CustomClassName">WebViewController</string>
124
- <string key="-1.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
125
- <string key="-2.CustomClassName">UIResponder</string>
126
- <string key="-2.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
127
- <string key="1.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
128
- <string key="4.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
129
- </dictionary>
130
- <dictionary class="NSMutableDictionary" key="unlocalizedProperties"/>
131
- <nil key="activeLocalization"/>
132
- <dictionary class="NSMutableDictionary" key="localizations"/>
133
- <nil key="sourceID"/>
134
- <int key="maxID">6</int>
135
- </object>
136
- <object class="IBClassDescriber" key="IBDocument.Classes">
137
- <array class="NSMutableArray" key="referencedPartialClassDescriptions">
138
- <object class="IBPartialClassDescription">
139
- <string key="className">BaseUIViewController</string>
140
- <string key="superclassName">UIViewController</string>
141
- <object class="IBClassDescriptionSource" key="sourceIdentifier">
142
- <string key="majorKey">IBProjectSource</string>
143
- <string key="minorKey">./Classes/BaseUIViewController.h</string>
144
- </object>
145
- </object>
146
- <object class="IBPartialClassDescription">
147
- <string key="className">WebViewController</string>
148
- <string key="superclassName">BaseUIViewController</string>
149
- <object class="NSMutableDictionary" key="outlets">
150
- <string key="NS.key.0">_webView</string>
151
- <string key="NS.object.0">UIWebView</string>
152
- </object>
153
- <object class="NSMutableDictionary" key="toOneOutletInfosByName">
154
- <string key="NS.key.0">_webView</string>
155
- <object class="IBToOneOutletInfo" key="NS.object.0">
156
- <string key="name">_webView</string>
157
- <string key="candidateClassName">UIWebView</string>
158
- </object>
159
- </object>
160
- <object class="IBClassDescriptionSource" key="sourceIdentifier">
161
- <string key="majorKey">IBProjectSource</string>
162
- <string key="minorKey">./Classes/WebViewController.h</string>
163
- </object>
164
- </object>
165
- </array>
166
- </object>
167
- <int key="IBDocument.localizationMode">0</int>
168
- <string key="IBDocument.TargetRuntimeIdentifier">IBCocoaTouchFramework</string>
169
- <bool key="IBDocument.PluginDeclaredDependenciesTrackSystemTargetVersion">YES</bool>
170
- <int key="IBDocument.defaultPropertyAccessControl">3</int>
171
- <string key="IBCocoaTouchPluginVersion">1181</string>
172
- </data>
173
- </archive>
@@ -1,10 +0,0 @@
1
- #!/bin/bash
2
-
3
- touch /home/ubuntu/setup.log
4
-
5
- sudo apt-get update >> /home/ubuntu/setup.log
6
- sudo apt-get --yes install apache2 >> /home/ubuntu/setup.log
7
- sudo a2enmod proxy >> /home/ubuntu/setup.log
8
- sudo a2enmod proxy_http >> /home/ubuntu/setup.log
9
- sudo a2enmod ssl >> /home/ubuntu/setup.log
10
- sudo service apache2 start >> /home/ubuntu/setup.log