calatrava 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +9 -0
- data/.rvmrc +2 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +202 -0
- data/Plans.md +20 -0
- data/README.md +73 -0
- data/Rakefile +26 -0
- data/bin/calatrava +6 -0
- data/calatrava.gemspec +35 -0
- data/features/cli.feature +14 -0
- data/features/project.feature +48 -0
- data/features/step_definitions/template_steps.rb +8 -0
- data/features/support/env.rb +5 -0
- data/lib/calatrava/app.rb +30 -0
- data/lib/calatrava/manifest.rb +44 -0
- data/lib/calatrava/project.rb +218 -0
- data/lib/calatrava/resources_build_phase.rb +19 -0
- data/lib/calatrava/tasks/apache.rb +44 -0
- data/lib/calatrava/tasks/artifact.rb +24 -0
- data/lib/calatrava/tasks/assets.rb +6 -0
- data/lib/calatrava/tasks/automation.rb +38 -0
- data/lib/calatrava/tasks/bootstrap.rb +10 -0
- data/lib/calatrava/tasks/build.rb +1 -0
- data/lib/calatrava/tasks/configuration.rb +41 -0
- data/lib/calatrava/tasks/droid.rb +83 -0
- data/lib/calatrava/tasks/haml.rb +71 -0
- data/lib/calatrava/tasks/ios.rb +73 -0
- data/lib/calatrava/tasks/kernel.rb +52 -0
- data/lib/calatrava/tasks/precommit.rb +22 -0
- data/lib/calatrava/tasks/release.rb +17 -0
- data/lib/calatrava/tasks/shell.rb +17 -0
- data/lib/calatrava/tasks/web.rb +82 -0
- data/lib/calatrava/tasks.rb +93 -0
- data/lib/calatrava/template.rb +44 -0
- data/lib/calatrava/templates/.rvmrc.calatrava +2 -0
- data/lib/calatrava/templates/Gemfile.calatrava +4 -0
- data/lib/calatrava/templates/Rakefile +1 -0
- data/lib/calatrava/templates/assets/lib/ICanHaz.js +542 -0
- data/lib/calatrava/templates/assets/lib/underscore.js +1059 -0
- data/lib/calatrava/templates/assets/lib/zepto.js +1355 -0
- data/lib/calatrava/templates/build_env.sh +2 -0
- data/lib/calatrava/templates/config/environments.yml +17 -0
- data/lib/calatrava/templates/config/templates/env.coffee.erb +7 -0
- data/lib/calatrava/templates/config/templates/httpd.conf.erb +33 -0
- data/lib/calatrava/templates/droid/app/bridge.coffee +130 -0
- data/lib/calatrava/templates/droid/calatrava/ant/calatrava.xml +48 -0
- data/lib/calatrava/templates/droid/calatrava/calatrava-build.xml +91 -0
- data/lib/calatrava/templates/droid/calatrava/ivy.xml +8 -0
- data/lib/calatrava/templates/droid/calatrava/ivysettings.xml +12 -0
- data/lib/calatrava/templates/droid/calatrava/src/com/CALATRAVA_TMPL/AndroidManifest.xml.calatrava +20 -0
- data/lib/calatrava/templates/droid/calatrava/src/com/CALATRAVA_TMPL/ConversionForm.java.calatrava +27 -0
- data/lib/calatrava/templates/droid/calatrava/src/com/CALATRAVA_TMPL/Title.java.calatrava +23 -0
- data/lib/calatrava/templates/droid/calatrava/src/com/calatrava/CalatravaPage.java +13 -0
- data/lib/calatrava/templates/droid/calatrava/src/com/calatrava/bridge/AjaxRequestManager.java +166 -0
- data/lib/calatrava/templates/droid/calatrava/src/com/calatrava/bridge/AssetRepository.java +17 -0
- data/lib/calatrava/templates/droid/calatrava/src/com/calatrava/bridge/KernelBridge.java +25 -0
- data/lib/calatrava/templates/droid/calatrava/src/com/calatrava/bridge/Launcher.java +85 -0
- data/lib/calatrava/templates/droid/calatrava/src/com/calatrava/bridge/PageRegistry.java +225 -0
- data/lib/calatrava/templates/droid/calatrava/src/com/calatrava/bridge/RegisteredActivity.java +86 -0
- data/lib/calatrava/templates/droid/calatrava/src/com/calatrava/bridge/RequestLoader.java +31 -0
- data/lib/calatrava/templates/droid/calatrava/src/com/calatrava/bridge/RhinoService.java +212 -0
- data/lib/calatrava/templates/droid/calatrava/src/com/calatrava/shell/WebViewActivity.java +247 -0
- data/lib/calatrava/templates/droid/manifest.yml +1 -0
- data/lib/calatrava/templates/ios/Podfile.calatrava +5 -0
- data/lib/calatrava/templates/ios/manifest.yml +1 -0
- data/lib/calatrava/templates/ios/res/js/bridge.js +249 -0
- data/lib/calatrava/templates/ios/res/xibs/ProgressViewController.xib +334 -0
- data/lib/calatrava/templates/ios/res/xibs/WebViewController.xib +173 -0
- data/lib/calatrava/templates/ios/src/AppDelegate.h +8 -0
- data/lib/calatrava/templates/ios/src/AppDelegate.m +56 -0
- data/lib/calatrava/templates/ios/src/CALATRAVA_TMPL-Info.plist +45 -0
- data/lib/calatrava/templates/ios/src/CALATRAVA_TMPL-Prefix.pch +14 -0
- data/lib/calatrava/templates/ios/src/ConversionFormViewController.h +16 -0
- data/lib/calatrava/templates/ios/src/ConversionFormViewController.m +179 -0
- data/lib/calatrava/templates/ios/src/ConversionFormViewController.xib +357 -0
- data/lib/calatrava/templates/ios/src/en.lproj/InfoPlist.strings +2 -0
- data/lib/calatrava/templates/ios/src/main.m +10 -0
- data/lib/calatrava/templates/ios/test/AJAXConnectionTest.m +21 -0
- data/lib/calatrava/templates/ios/test/AppTests-Prefix.pch +8 -0
- data/lib/calatrava/templates/ios/test/CalatravaiOSTests-Info.plist +22 -0
- data/lib/calatrava/templates/ios/test/TWBridgePageRegistryTest.m +15 -0
- data/lib/calatrava/templates/ios/test/en.lproj/InfoPlist.strings +2 -0
- data/lib/calatrava/templates/kernel/.gitignore +1 -0
- data/lib/calatrava/templates/kernel/app/calatrava.coffee +8 -0
- data/lib/calatrava/templates/kernel/app/converter/controller.converter.coffee +50 -0
- data/lib/calatrava/templates/kernel/app/converter/init.converter.coffee +11 -0
- data/lib/calatrava/templates/kernel/app/pageHelper.coffee +17 -0
- data/lib/calatrava/templates/kernel/features/support/bridge.coffee +124 -0
- data/lib/calatrava/templates/kernel/features/support/spec_helper.js +49 -0
- data/lib/calatrava/templates/kernel/spec/converter/controller.converter.spec.coffee +37 -0
- data/lib/calatrava/templates/kernel/spec/environment.spec_helper.coffee +25 -0
- data/lib/calatrava/templates/kernel/spec/spec_helper.js +49 -0
- data/lib/calatrava/templates/kernel/spec/stubView.coffee +18 -0
- data/lib/calatrava/templates/kernel/watchr.rb +17 -0
- data/lib/calatrava/templates/package.json +20 -0
- data/lib/calatrava/templates/shell/layouts/single_page.haml +23 -0
- data/lib/calatrava/templates/shell/pages/converter/conversionForm.haml +12 -0
- data/lib/calatrava/templates/shell/pages/converter/page.conversionForm.coffee +42 -0
- data/lib/calatrava/templates/shell/shell.scss +1 -0
- data/lib/calatrava/templates/shell/support/shell.coffee +21 -0
- data/lib/calatrava/templates/web/apache/conf/mime.types +1357 -0
- data/lib/calatrava/templates/web/app/source/bridge.coffee +158 -0
- data/lib/calatrava/templates/web/app/source/init.coffee +14 -0
- data/lib/calatrava/templates/web/app/views/index.haml +18 -0
- data/lib/calatrava/templates/web/deploy/instance.sh +10 -0
- data/lib/calatrava/templates/web/manifest.yml +1 -0
- data/lib/calatrava/version.rb +3 -0
- data/lib/calatrava.rb +5 -0
- metadata +302 -0
@@ -0,0 +1,158 @@
|
|
1
|
+
tw ?= {}
|
2
|
+
tw.bridge = tw.bridge ? {}
|
3
|
+
|
4
|
+
tw.bridge.environment = () ->
|
5
|
+
sessionTimeout: 600
|
6
|
+
serviceEndpoint: ""
|
7
|
+
apiEndpoint: ""
|
8
|
+
|
9
|
+
tw.bridge.pageProxy = (name, real) ->
|
10
|
+
handlers = {}
|
11
|
+
methods =
|
12
|
+
bind: (event, callback) ->
|
13
|
+
if event == 'pageOpened'
|
14
|
+
handlers.pageOpened = callback
|
15
|
+
else
|
16
|
+
real.bind(event, callback)
|
17
|
+
|
18
|
+
trigger: (event) ->
|
19
|
+
handlers[event]() if handlers[event]?
|
20
|
+
|
21
|
+
get: (field) -> String(real.get(field))
|
22
|
+
|
23
|
+
# Most functions just route through to the original
|
24
|
+
_.each ['render', 'show', 'hide', 'showDialog'], (method) ->
|
25
|
+
methods[method] = () -> real[method].apply(real, arguments)
|
26
|
+
|
27
|
+
methods
|
28
|
+
|
29
|
+
class tw.bridge.pages
|
30
|
+
pageObjects = {}
|
31
|
+
|
32
|
+
pages.pageNamed = (pageName) ->
|
33
|
+
if !pageObjects[pageName]
|
34
|
+
pageView = calatrava.pageView[pageName]()
|
35
|
+
pageObjects[pageName] = tw.bridge.pageProxy(pageName, pageView)
|
36
|
+
pageObjects[pageName]
|
37
|
+
|
38
|
+
tw.bridge.changePage = (page, options = {}) ->
|
39
|
+
pageObject = tw.bridge.pages.pageNamed page
|
40
|
+
if !options.back
|
41
|
+
history.pushState({page: page}, "", "")
|
42
|
+
tw.currentPage.hide() if tw.currentPage
|
43
|
+
pageObject.show()
|
44
|
+
tw.currentPage = pageObject
|
45
|
+
pageObject.trigger 'pageOpened'
|
46
|
+
page
|
47
|
+
|
48
|
+
tw.bridge.widgets = (() ->
|
49
|
+
displayDateWidget = (options, callback) ->
|
50
|
+
options["month"] = Number(options["month"])+1
|
51
|
+
_.each ["year", "month", "day"], (val) -> $("#dummy_" + val).val(options[val]) if !$("#dummy_" + val).val()
|
52
|
+
$("#dummy_date_picker").show()
|
53
|
+
|
54
|
+
$("#dummy_date_button").unbind().bind 'click', () ->
|
55
|
+
$("#dummy_date_picker").hide()
|
56
|
+
callback $("#dummy_year").val(), $("#dummy_month").val() - 1, $("#dummy_day").val()
|
57
|
+
|
58
|
+
displayAirportWidget = (callback) ->
|
59
|
+
$("#dummy_airport_select_widget").show()
|
60
|
+
|
61
|
+
$("#dummy_airport_set_button").unbind().bind 'click', () ->
|
62
|
+
$("#dummy_airport_select_widget").hide()
|
63
|
+
airportCode = $("#dummy_airport_code").val()
|
64
|
+
airportMap = {ORD: "Chicago", ATL: "Atlanta", DEL: "Delhi", BOM: "Mumbai"}
|
65
|
+
callback airportCode, airportMap[airportCode]
|
66
|
+
|
67
|
+
|
68
|
+
display: (widget, options, callback) ->
|
69
|
+
if widget == "date"
|
70
|
+
displayDateWidget options.selectedDate, callback
|
71
|
+
else if widget == "airport"
|
72
|
+
displayAirportWidget callback
|
73
|
+
)()
|
74
|
+
|
75
|
+
tw.bridge.alert = (msg) -> alert(msg)
|
76
|
+
|
77
|
+
tw.bridge.openUrl = (url) ->
|
78
|
+
window.open(url)
|
79
|
+
|
80
|
+
tw.bridge.trackEvent = (pageName, channel, eventName, variables, properties) ->
|
81
|
+
describedKeyValuePairs = (pairs) -> _.map(pairs, (val, key) -> "#{key}: '#{val}'").join('; ')
|
82
|
+
console.log "Omniture track event: page: '#{pageName}'; channel: '#{channel}'; events: '#{eventName}'"
|
83
|
+
console.log "Omniture variables: #{describedKeyValuePairs(variables)}"
|
84
|
+
console.log "Omniture properties: #{describedKeyValuePairs(properties)}"
|
85
|
+
|
86
|
+
tw.bridge.timers = (() ->
|
87
|
+
start: (timeout, callback) ->
|
88
|
+
window.setTimeout(callback, timeout * 1000)
|
89
|
+
|
90
|
+
clearTimer: (timerId) ->
|
91
|
+
)()
|
92
|
+
|
93
|
+
tw.bridge.dialog = (() ->
|
94
|
+
display: (dialogName) ->
|
95
|
+
tw.currentPage.showDialog dialogName
|
96
|
+
)()
|
97
|
+
|
98
|
+
tw.bridge.request = (options) ->
|
99
|
+
loader = $("#loader")
|
100
|
+
|
101
|
+
errorHandler = () ->
|
102
|
+
loader.find('.load').hide()
|
103
|
+
loader.find('.error').show()
|
104
|
+
loader.find('.error a').bind 'click', hideLoader
|
105
|
+
loader.show()
|
106
|
+
|
107
|
+
setCustomHeaders = (xhr, headers) ->
|
108
|
+
_.map(headers, (value, key) ->
|
109
|
+
xhr.setRequestHeader(key, value)
|
110
|
+
)
|
111
|
+
|
112
|
+
showLoader = () ->
|
113
|
+
loader.css({
|
114
|
+
height: $(document.offset).height
|
115
|
+
width: $(document.offset).width
|
116
|
+
top: document.body.scrollTop
|
117
|
+
})
|
118
|
+
loader.find('.box').css({
|
119
|
+
top: (($(document.offset).height / 2) - (loader.height() / 2) - 50)
|
120
|
+
})
|
121
|
+
loader.find('.error').hide()
|
122
|
+
loader.find('.load').show()
|
123
|
+
$(document.body).css overflow: 'hidden'
|
124
|
+
loader.show()
|
125
|
+
|
126
|
+
hideLoader = () ->
|
127
|
+
$(document.body).css overflow: 'auto'
|
128
|
+
loader.hide()
|
129
|
+
|
130
|
+
goToTop = ->
|
131
|
+
document.body.scrollTop = 0
|
132
|
+
|
133
|
+
$.ajax
|
134
|
+
url: options.url
|
135
|
+
type: options.method
|
136
|
+
data: options.body
|
137
|
+
contentType: (() ->
|
138
|
+
customHeaderTemp = {}
|
139
|
+
for key of options.customHeaders
|
140
|
+
if key is "Content-Type"
|
141
|
+
contentTypeHeader = options.customHeaders[key]
|
142
|
+
else
|
143
|
+
customHeaderTemp[key] = options.customHeaders[key]
|
144
|
+
|
145
|
+
options.customHeaders = customHeaderTemp
|
146
|
+
contentTypeHeader;
|
147
|
+
)()
|
148
|
+
beforeSend: (xhr) ->
|
149
|
+
if options.customHeaders
|
150
|
+
setCustomHeaders(xhr, options.customHeaders)
|
151
|
+
showLoader()
|
152
|
+
success: (response) ->
|
153
|
+
goToTop()
|
154
|
+
options.success(response)
|
155
|
+
error: () ->
|
156
|
+
showLoader()
|
157
|
+
options.failure()
|
158
|
+
complete: hideLoader
|
@@ -0,0 +1,14 @@
|
|
1
|
+
root = this
|
2
|
+
root.calatrava ?= {}
|
3
|
+
calatrava = root.calatrava
|
4
|
+
|
5
|
+
# Replace with your namespace
|
6
|
+
root.example ?= {}
|
7
|
+
example = root.example
|
8
|
+
|
9
|
+
# Hide all the sub-pages when first launching the app
|
10
|
+
$('body > .page').hide()
|
11
|
+
|
12
|
+
window.onpopstate = (event) ->
|
13
|
+
if event.state
|
14
|
+
tw.bridge.changePage event.state.page
|
@@ -0,0 +1,18 @@
|
|
1
|
+
!!!
|
2
|
+
%html
|
3
|
+
%head
|
4
|
+
-%w{env zepto ICanHaz underscore calatrava bridge pageHelper}.each do |filename|
|
5
|
+
%script(type="text/javascript" src="scripts/#{filename}.js")
|
6
|
+
|
7
|
+
%script(type="text/javascript" src="scripts/init.js")
|
8
|
+
-# Load all feature JS files
|
9
|
+
= render_partial 'web/app/views/load_file'
|
10
|
+
|
11
|
+
%body
|
12
|
+
%div#app_container.container
|
13
|
+
= render_page "converter/conversionForm"
|
14
|
+
|
15
|
+
:javascript
|
16
|
+
$(document).ready(function(){
|
17
|
+
example.converter.start();
|
18
|
+
});
|
@@ -0,0 +1,10 @@
|
|
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
|
@@ -0,0 +1 @@
|
|
1
|
+
- converter
|
data/lib/calatrava.rb
ADDED
metadata
ADDED
@@ -0,0 +1,302 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: calatrava
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Giles Alexander
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2012-08-18 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: rspec
|
16
|
+
requirement: &70361649032740 !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '0'
|
22
|
+
type: :development
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: *70361649032740
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: aruba
|
27
|
+
requirement: &70361649032320 !ruby/object:Gem::Requirement
|
28
|
+
none: false
|
29
|
+
requirements:
|
30
|
+
- - ! '>='
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '0'
|
33
|
+
type: :development
|
34
|
+
prerelease: false
|
35
|
+
version_requirements: *70361649032320
|
36
|
+
- !ruby/object:Gem::Dependency
|
37
|
+
name: rake
|
38
|
+
requirement: &70361649031900 !ruby/object:Gem::Requirement
|
39
|
+
none: false
|
40
|
+
requirements:
|
41
|
+
- - ! '>='
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: '0'
|
44
|
+
type: :runtime
|
45
|
+
prerelease: false
|
46
|
+
version_requirements: *70361649031900
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: thor
|
49
|
+
requirement: &70361649031480 !ruby/object:Gem::Requirement
|
50
|
+
none: false
|
51
|
+
requirements:
|
52
|
+
- - ! '>='
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
type: :runtime
|
56
|
+
prerelease: false
|
57
|
+
version_requirements: *70361649031480
|
58
|
+
- !ruby/object:Gem::Dependency
|
59
|
+
name: haml
|
60
|
+
requirement: &70361649031060 !ruby/object:Gem::Requirement
|
61
|
+
none: false
|
62
|
+
requirements:
|
63
|
+
- - ! '>='
|
64
|
+
- !ruby/object:Gem::Version
|
65
|
+
version: '0'
|
66
|
+
type: :runtime
|
67
|
+
prerelease: false
|
68
|
+
version_requirements: *70361649031060
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: sass
|
71
|
+
requirement: &70361649030640 !ruby/object:Gem::Requirement
|
72
|
+
none: false
|
73
|
+
requirements:
|
74
|
+
- - ! '>='
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
version: '0'
|
77
|
+
type: :runtime
|
78
|
+
prerelease: false
|
79
|
+
version_requirements: *70361649030640
|
80
|
+
- !ruby/object:Gem::Dependency
|
81
|
+
name: mustache
|
82
|
+
requirement: &70361648294920 !ruby/object:Gem::Requirement
|
83
|
+
none: false
|
84
|
+
requirements:
|
85
|
+
- - ! '>='
|
86
|
+
- !ruby/object:Gem::Version
|
87
|
+
version: '0'
|
88
|
+
type: :runtime
|
89
|
+
prerelease: false
|
90
|
+
version_requirements: *70361648294920
|
91
|
+
- !ruby/object:Gem::Dependency
|
92
|
+
name: xcoder
|
93
|
+
requirement: &70361648292960 !ruby/object:Gem::Requirement
|
94
|
+
none: false
|
95
|
+
requirements:
|
96
|
+
- - ! '>='
|
97
|
+
- !ruby/object:Gem::Version
|
98
|
+
version: '0'
|
99
|
+
type: :runtime
|
100
|
+
prerelease: false
|
101
|
+
version_requirements: *70361648292960
|
102
|
+
- !ruby/object:Gem::Dependency
|
103
|
+
name: xcodeproj
|
104
|
+
requirement: &70361648290200 !ruby/object:Gem::Requirement
|
105
|
+
none: false
|
106
|
+
requirements:
|
107
|
+
- - ! '>='
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: '0'
|
110
|
+
type: :runtime
|
111
|
+
prerelease: false
|
112
|
+
version_requirements: *70361648290200
|
113
|
+
- !ruby/object:Gem::Dependency
|
114
|
+
name: cucumber
|
115
|
+
requirement: &70361655819580 !ruby/object:Gem::Requirement
|
116
|
+
none: false
|
117
|
+
requirements:
|
118
|
+
- - ! '>='
|
119
|
+
- !ruby/object:Gem::Version
|
120
|
+
version: '0'
|
121
|
+
type: :runtime
|
122
|
+
prerelease: false
|
123
|
+
version_requirements: *70361655819580
|
124
|
+
- !ruby/object:Gem::Dependency
|
125
|
+
name: frank-cucumber
|
126
|
+
requirement: &70361655819160 !ruby/object:Gem::Requirement
|
127
|
+
none: false
|
128
|
+
requirements:
|
129
|
+
- - ! '>='
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '0'
|
132
|
+
type: :runtime
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: *70361655819160
|
135
|
+
- !ruby/object:Gem::Dependency
|
136
|
+
name: watir-webdriver
|
137
|
+
requirement: &70361655818740 !ruby/object:Gem::Requirement
|
138
|
+
none: false
|
139
|
+
requirements:
|
140
|
+
- - ! '>='
|
141
|
+
- !ruby/object:Gem::Version
|
142
|
+
version: '0'
|
143
|
+
type: :runtime
|
144
|
+
prerelease: false
|
145
|
+
version_requirements: *70361655818740
|
146
|
+
- !ruby/object:Gem::Dependency
|
147
|
+
name: cocoapods
|
148
|
+
requirement: &70361655818320 !ruby/object:Gem::Requirement
|
149
|
+
none: false
|
150
|
+
requirements:
|
151
|
+
- - ! '>='
|
152
|
+
- !ruby/object:Gem::Version
|
153
|
+
version: '0'
|
154
|
+
type: :runtime
|
155
|
+
prerelease: false
|
156
|
+
version_requirements: *70361655818320
|
157
|
+
description: A framework to build cross-platform mobile apps with high quality native
|
158
|
+
UIs.
|
159
|
+
email:
|
160
|
+
- gga@thoughtworks.com
|
161
|
+
executables:
|
162
|
+
- calatrava
|
163
|
+
extensions: []
|
164
|
+
extra_rdoc_files: []
|
165
|
+
files:
|
166
|
+
- .gitignore
|
167
|
+
- .rvmrc
|
168
|
+
- Gemfile
|
169
|
+
- LICENSE.txt
|
170
|
+
- Plans.md
|
171
|
+
- README.md
|
172
|
+
- Rakefile
|
173
|
+
- bin/calatrava
|
174
|
+
- calatrava.gemspec
|
175
|
+
- features/cli.feature
|
176
|
+
- features/project.feature
|
177
|
+
- features/step_definitions/template_steps.rb
|
178
|
+
- features/support/env.rb
|
179
|
+
- lib/calatrava.rb
|
180
|
+
- lib/calatrava/app.rb
|
181
|
+
- lib/calatrava/manifest.rb
|
182
|
+
- lib/calatrava/project.rb
|
183
|
+
- lib/calatrava/resources_build_phase.rb
|
184
|
+
- lib/calatrava/tasks.rb
|
185
|
+
- lib/calatrava/tasks/apache.rb
|
186
|
+
- lib/calatrava/tasks/artifact.rb
|
187
|
+
- lib/calatrava/tasks/assets.rb
|
188
|
+
- lib/calatrava/tasks/automation.rb
|
189
|
+
- lib/calatrava/tasks/bootstrap.rb
|
190
|
+
- lib/calatrava/tasks/build.rb
|
191
|
+
- lib/calatrava/tasks/configuration.rb
|
192
|
+
- lib/calatrava/tasks/droid.rb
|
193
|
+
- lib/calatrava/tasks/haml.rb
|
194
|
+
- lib/calatrava/tasks/ios.rb
|
195
|
+
- lib/calatrava/tasks/kernel.rb
|
196
|
+
- lib/calatrava/tasks/precommit.rb
|
197
|
+
- lib/calatrava/tasks/release.rb
|
198
|
+
- lib/calatrava/tasks/shell.rb
|
199
|
+
- lib/calatrava/tasks/web.rb
|
200
|
+
- lib/calatrava/template.rb
|
201
|
+
- lib/calatrava/templates/.rvmrc.calatrava
|
202
|
+
- lib/calatrava/templates/Gemfile.calatrava
|
203
|
+
- lib/calatrava/templates/Rakefile
|
204
|
+
- lib/calatrava/templates/assets/lib/ICanHaz.js
|
205
|
+
- lib/calatrava/templates/assets/lib/underscore.js
|
206
|
+
- lib/calatrava/templates/assets/lib/zepto.js
|
207
|
+
- lib/calatrava/templates/build_env.sh
|
208
|
+
- lib/calatrava/templates/config/environments.yml
|
209
|
+
- lib/calatrava/templates/config/templates/env.coffee.erb
|
210
|
+
- lib/calatrava/templates/config/templates/httpd.conf.erb
|
211
|
+
- lib/calatrava/templates/droid/app/bridge.coffee
|
212
|
+
- lib/calatrava/templates/droid/calatrava/ant/calatrava.xml
|
213
|
+
- lib/calatrava/templates/droid/calatrava/calatrava-build.xml
|
214
|
+
- lib/calatrava/templates/droid/calatrava/ivy.xml
|
215
|
+
- lib/calatrava/templates/droid/calatrava/ivysettings.xml
|
216
|
+
- lib/calatrava/templates/droid/calatrava/src/com/CALATRAVA_TMPL/AndroidManifest.xml.calatrava
|
217
|
+
- lib/calatrava/templates/droid/calatrava/src/com/CALATRAVA_TMPL/ConversionForm.java.calatrava
|
218
|
+
- lib/calatrava/templates/droid/calatrava/src/com/CALATRAVA_TMPL/Title.java.calatrava
|
219
|
+
- lib/calatrava/templates/droid/calatrava/src/com/calatrava/CalatravaPage.java
|
220
|
+
- lib/calatrava/templates/droid/calatrava/src/com/calatrava/bridge/AjaxRequestManager.java
|
221
|
+
- lib/calatrava/templates/droid/calatrava/src/com/calatrava/bridge/AssetRepository.java
|
222
|
+
- lib/calatrava/templates/droid/calatrava/src/com/calatrava/bridge/KernelBridge.java
|
223
|
+
- lib/calatrava/templates/droid/calatrava/src/com/calatrava/bridge/Launcher.java
|
224
|
+
- lib/calatrava/templates/droid/calatrava/src/com/calatrava/bridge/PageRegistry.java
|
225
|
+
- lib/calatrava/templates/droid/calatrava/src/com/calatrava/bridge/RegisteredActivity.java
|
226
|
+
- lib/calatrava/templates/droid/calatrava/src/com/calatrava/bridge/RequestLoader.java
|
227
|
+
- lib/calatrava/templates/droid/calatrava/src/com/calatrava/bridge/RhinoService.java
|
228
|
+
- lib/calatrava/templates/droid/calatrava/src/com/calatrava/shell/WebViewActivity.java
|
229
|
+
- lib/calatrava/templates/droid/manifest.yml
|
230
|
+
- lib/calatrava/templates/ios/Podfile.calatrava
|
231
|
+
- lib/calatrava/templates/ios/manifest.yml
|
232
|
+
- lib/calatrava/templates/ios/res/js/bridge.js
|
233
|
+
- lib/calatrava/templates/ios/res/xibs/ProgressViewController.xib
|
234
|
+
- lib/calatrava/templates/ios/res/xibs/WebViewController.xib
|
235
|
+
- lib/calatrava/templates/ios/src/AppDelegate.h
|
236
|
+
- lib/calatrava/templates/ios/src/AppDelegate.m
|
237
|
+
- lib/calatrava/templates/ios/src/CALATRAVA_TMPL-Info.plist
|
238
|
+
- lib/calatrava/templates/ios/src/CALATRAVA_TMPL-Prefix.pch
|
239
|
+
- lib/calatrava/templates/ios/src/ConversionFormViewController.h
|
240
|
+
- lib/calatrava/templates/ios/src/ConversionFormViewController.m
|
241
|
+
- lib/calatrava/templates/ios/src/ConversionFormViewController.xib
|
242
|
+
- lib/calatrava/templates/ios/src/en.lproj/InfoPlist.strings
|
243
|
+
- lib/calatrava/templates/ios/src/main.m
|
244
|
+
- lib/calatrava/templates/ios/test/AJAXConnectionTest.m
|
245
|
+
- lib/calatrava/templates/ios/test/AppTests-Prefix.pch
|
246
|
+
- lib/calatrava/templates/ios/test/CalatravaiOSTests-Info.plist
|
247
|
+
- lib/calatrava/templates/ios/test/TWBridgePageRegistryTest.m
|
248
|
+
- lib/calatrava/templates/ios/test/en.lproj/InfoPlist.strings
|
249
|
+
- lib/calatrava/templates/kernel/.gitignore
|
250
|
+
- lib/calatrava/templates/kernel/app/calatrava.coffee
|
251
|
+
- lib/calatrava/templates/kernel/app/converter/controller.converter.coffee
|
252
|
+
- lib/calatrava/templates/kernel/app/converter/init.converter.coffee
|
253
|
+
- lib/calatrava/templates/kernel/app/pageHelper.coffee
|
254
|
+
- lib/calatrava/templates/kernel/features/support/bridge.coffee
|
255
|
+
- lib/calatrava/templates/kernel/features/support/spec_helper.js
|
256
|
+
- lib/calatrava/templates/kernel/spec/converter/controller.converter.spec.coffee
|
257
|
+
- lib/calatrava/templates/kernel/spec/environment.spec_helper.coffee
|
258
|
+
- lib/calatrava/templates/kernel/spec/spec_helper.js
|
259
|
+
- lib/calatrava/templates/kernel/spec/stubView.coffee
|
260
|
+
- lib/calatrava/templates/kernel/watchr.rb
|
261
|
+
- lib/calatrava/templates/package.json
|
262
|
+
- lib/calatrava/templates/shell/layouts/single_page.haml
|
263
|
+
- lib/calatrava/templates/shell/pages/converter/conversionForm.haml
|
264
|
+
- lib/calatrava/templates/shell/pages/converter/page.conversionForm.coffee
|
265
|
+
- lib/calatrava/templates/shell/shell.scss
|
266
|
+
- lib/calatrava/templates/shell/support/shell.coffee
|
267
|
+
- lib/calatrava/templates/web/apache/conf/mime.types
|
268
|
+
- lib/calatrava/templates/web/app/source/bridge.coffee
|
269
|
+
- lib/calatrava/templates/web/app/source/init.coffee
|
270
|
+
- lib/calatrava/templates/web/app/views/index.haml
|
271
|
+
- lib/calatrava/templates/web/deploy/instance.sh
|
272
|
+
- lib/calatrava/templates/web/manifest.yml
|
273
|
+
- lib/calatrava/version.rb
|
274
|
+
homepage: ''
|
275
|
+
licenses: []
|
276
|
+
post_install_message:
|
277
|
+
rdoc_options: []
|
278
|
+
require_paths:
|
279
|
+
- lib
|
280
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
281
|
+
none: false
|
282
|
+
requirements:
|
283
|
+
- - ! '>='
|
284
|
+
- !ruby/object:Gem::Version
|
285
|
+
version: '0'
|
286
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
287
|
+
none: false
|
288
|
+
requirements:
|
289
|
+
- - ! '>='
|
290
|
+
- !ruby/object:Gem::Version
|
291
|
+
version: '0'
|
292
|
+
requirements: []
|
293
|
+
rubyforge_project: calatrava
|
294
|
+
rubygems_version: 1.8.10
|
295
|
+
signing_key:
|
296
|
+
specification_version: 3
|
297
|
+
summary: Cross-platform mobile apps with native UIs
|
298
|
+
test_files:
|
299
|
+
- features/cli.feature
|
300
|
+
- features/project.feature
|
301
|
+
- features/step_definitions/template_steps.rb
|
302
|
+
- features/support/env.rb
|