bowline 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +1 -0
- data/History.txt +4 -0
- data/MIT-LICENSE +20 -0
- data/Manifest.txt +58 -0
- data/README.txt +136 -0
- data/Rakefile +25 -0
- data/assets/jquery.bowline.js +96 -0
- data/assets/jquery.chain.js +2348 -0
- data/assets/jquery.js +3549 -0
- data/bin/bowline-gen +6 -0
- data/bowline.gemspec +45 -0
- data/examples/account.rb +31 -0
- data/examples/example.js +24 -0
- data/examples/tweets.rb +28 -0
- data/examples/twitter.html +39 -0
- data/examples/users.rb +37 -0
- data/lib/bowline.rb +42 -0
- data/lib/bowline/binders.rb +177 -0
- data/lib/bowline/binders/collection.rb +27 -0
- data/lib/bowline/binders/singleton.rb +25 -0
- data/lib/bowline/commands/console.rb +27 -0
- data/lib/bowline/commands/generate.rb +1 -0
- data/lib/bowline/commands/run.rb +11 -0
- data/lib/bowline/ext/array.rb +5 -0
- data/lib/bowline/ext/class.rb +51 -0
- data/lib/bowline/ext/object.rb +12 -0
- data/lib/bowline/ext/string.rb +9 -0
- data/lib/bowline/gem_dependency.rb +42 -0
- data/lib/bowline/generators.rb +59 -0
- data/lib/bowline/generators/application.rb +58 -0
- data/lib/bowline/generators/binder.rb +25 -0
- data/lib/bowline/generators/migration.rb +51 -0
- data/lib/bowline/generators/model.rb +20 -0
- data/lib/bowline/initializer.rb +596 -0
- data/lib/bowline/jquery.rb +31 -0
- data/lib/bowline/observer.rb +43 -0
- data/lib/bowline/tasks/app.rake +90 -0
- data/lib/bowline/tasks/bowline.rb +8 -0
- data/lib/bowline/tasks/database.rake +167 -0
- data/lib/bowline/tasks/log.rake +9 -0
- data/lib/bowline/tasks/misk.rake +3 -0
- data/templates/Rakefile +7 -0
- data/templates/binder.rb +9 -0
- data/templates/config/application.yml +1 -0
- data/templates/config/boot.rb +13 -0
- data/templates/config/database.yml +4 -0
- data/templates/config/environment.rb +12 -0
- data/templates/config/manifest +18 -0
- data/templates/config/tiapp.xml +24 -0
- data/templates/gitignore +15 -0
- data/templates/migration.rb +7 -0
- data/templates/model.rb +4 -0
- data/templates/public/index.html +25 -0
- data/templates/public/javascripts/application.js +0 -0
- data/templates/public/stylesheets/application.css +0 -0
- data/templates/script/console +3 -0
- data/templates/script/init +18 -0
- data/templates/script/run +3 -0
- metadata +155 -0
data/templates/gitignore
ADDED
data/templates/model.rb
ADDED
@@ -0,0 +1,25 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
|
2
|
+
"http://www.w3.org/TR/html4/strict.dtd">
|
3
|
+
|
4
|
+
<html lang="en">
|
5
|
+
<head>
|
6
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
7
|
+
<title><%= full_name %></title>
|
8
|
+
<!--
|
9
|
+
<script src="http://getfirebug.com/releases/lite/1.2/firebug-lite-compressed.js" type="text/javascript"></script>
|
10
|
+
-->
|
11
|
+
<script src="javascripts/jquery.js" type="text/javascript" charset="utf-8"></script>
|
12
|
+
<script src="javascripts/jquery.chain.js" type="text/javascript" charset="utf-8"></script>
|
13
|
+
<script src="javascripts/jquery.bowline.js" type="text/javascript" charset="utf-8"></script>
|
14
|
+
<script src="../script/init" type="text/ruby" charset="utf-8"></script>
|
15
|
+
<script src="javascripts/application.js" type="text/javascript" charset="utf-8"></script>
|
16
|
+
<link rel="stylesheet" href="stylesheets/application.css" type="text/css" charset="utf-8">
|
17
|
+
<script type="text/javascript" charset="utf-8">
|
18
|
+
// jQuery(function($){
|
19
|
+
// $('#assets').bowline('assets');
|
20
|
+
// });
|
21
|
+
</script>
|
22
|
+
</head>
|
23
|
+
<body>
|
24
|
+
</body>
|
25
|
+
</html>
|
File without changes
|
File without changes
|
@@ -0,0 +1,18 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
unless defined?(Titanium)
|
4
|
+
raise "You can't execute this file directly - it's for Titanium"
|
5
|
+
end
|
6
|
+
|
7
|
+
# Hack for load paths - Titanium doesn't add .
|
8
|
+
app_resources = Titanium.App.appURLToPath("app://index.html")
|
9
|
+
APP_ROOT = File.dirname(app_resources)
|
10
|
+
|
11
|
+
$LOAD_PATH << APP_ROOT
|
12
|
+
$LOAD_PATH.uniq!
|
13
|
+
|
14
|
+
# The 'window' function is only
|
15
|
+
# available in this scope
|
16
|
+
$app_window = window
|
17
|
+
|
18
|
+
require File.join(*%w[config environment])
|
metadata
ADDED
@@ -0,0 +1,155 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: bowline
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.6
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Alex MacCaw
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
|
12
|
+
date: 2009-04-29 00:00:00 +01:00
|
13
|
+
default_executable:
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
16
|
+
name: templater
|
17
|
+
type: :runtime
|
18
|
+
version_requirement:
|
19
|
+
version_requirements: !ruby/object:Gem::Requirement
|
20
|
+
requirements:
|
21
|
+
- - ">="
|
22
|
+
- !ruby/object:Gem::Version
|
23
|
+
version: 0.3.2
|
24
|
+
version:
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: activesupport
|
27
|
+
type: :runtime
|
28
|
+
version_requirement:
|
29
|
+
version_requirements: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 2.3.2
|
34
|
+
version:
|
35
|
+
- !ruby/object:Gem::Dependency
|
36
|
+
name: newgem
|
37
|
+
type: :development
|
38
|
+
version_requirement:
|
39
|
+
version_requirements: !ruby/object:Gem::Requirement
|
40
|
+
requirements:
|
41
|
+
- - ">="
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: 1.3.0
|
44
|
+
version:
|
45
|
+
- !ruby/object:Gem::Dependency
|
46
|
+
name: hoe
|
47
|
+
type: :development
|
48
|
+
version_requirement:
|
49
|
+
version_requirements: !ruby/object:Gem::Requirement
|
50
|
+
requirements:
|
51
|
+
- - ">="
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: 1.8.0
|
54
|
+
version:
|
55
|
+
description: Ruby desktop application framework
|
56
|
+
email:
|
57
|
+
- info@eribium.org
|
58
|
+
executables:
|
59
|
+
- bowline-gen
|
60
|
+
extensions: []
|
61
|
+
|
62
|
+
extra_rdoc_files:
|
63
|
+
- History.txt
|
64
|
+
- Manifest.txt
|
65
|
+
- README.txt
|
66
|
+
files:
|
67
|
+
- .gitignore
|
68
|
+
- History.txt
|
69
|
+
- MIT-LICENSE
|
70
|
+
- Manifest.txt
|
71
|
+
- README.txt
|
72
|
+
- Rakefile
|
73
|
+
- assets/jquery.bowline.js
|
74
|
+
- assets/jquery.chain.js
|
75
|
+
- assets/jquery.js
|
76
|
+
- bin/bowline-gen
|
77
|
+
- bowline.gemspec
|
78
|
+
- examples/account.rb
|
79
|
+
- examples/example.js
|
80
|
+
- examples/twitter.html
|
81
|
+
- examples/tweets.rb
|
82
|
+
- examples/users.rb
|
83
|
+
- lib/bowline.rb
|
84
|
+
- lib/bowline/binders.rb
|
85
|
+
- lib/bowline/binders/collection.rb
|
86
|
+
- lib/bowline/binders/singleton.rb
|
87
|
+
- lib/bowline/commands/console.rb
|
88
|
+
- lib/bowline/commands/generate.rb
|
89
|
+
- lib/bowline/commands/run.rb
|
90
|
+
- lib/bowline/ext/array.rb
|
91
|
+
- lib/bowline/ext/class.rb
|
92
|
+
- lib/bowline/ext/object.rb
|
93
|
+
- lib/bowline/ext/string.rb
|
94
|
+
- lib/bowline/gem_dependency.rb
|
95
|
+
- lib/bowline/generators.rb
|
96
|
+
- lib/bowline/generators/application.rb
|
97
|
+
- lib/bowline/generators/binder.rb
|
98
|
+
- lib/bowline/generators/migration.rb
|
99
|
+
- lib/bowline/generators/model.rb
|
100
|
+
- lib/bowline/initializer.rb
|
101
|
+
- lib/bowline/jquery.rb
|
102
|
+
- lib/bowline/observer.rb
|
103
|
+
- lib/bowline/tasks/app.rake
|
104
|
+
- lib/bowline/tasks/bowline.rb
|
105
|
+
- lib/bowline/tasks/database.rake
|
106
|
+
- lib/bowline/tasks/log.rake
|
107
|
+
- lib/bowline/tasks/misk.rake
|
108
|
+
- templates/Rakefile
|
109
|
+
- templates/binder.rb
|
110
|
+
- templates/config/application.yml
|
111
|
+
- templates/config/boot.rb
|
112
|
+
- templates/config/database.yml
|
113
|
+
- templates/config/environment.rb
|
114
|
+
- templates/config/manifest
|
115
|
+
- templates/config/tiapp.xml
|
116
|
+
- templates/gitignore
|
117
|
+
- templates/migration.rb
|
118
|
+
- templates/model.rb
|
119
|
+
- templates/public/index.html
|
120
|
+
- templates/public/javascripts/application.js
|
121
|
+
- templates/public/stylesheets/application.css
|
122
|
+
- templates/script/console
|
123
|
+
- templates/script/init
|
124
|
+
- templates/script/run
|
125
|
+
has_rdoc: true
|
126
|
+
homepage: http://github.com/maccman/bowline
|
127
|
+
licenses: []
|
128
|
+
|
129
|
+
post_install_message:
|
130
|
+
rdoc_options:
|
131
|
+
- --main
|
132
|
+
- README.txt
|
133
|
+
require_paths:
|
134
|
+
- lib
|
135
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
136
|
+
requirements:
|
137
|
+
- - ">="
|
138
|
+
- !ruby/object:Gem::Version
|
139
|
+
version: "0"
|
140
|
+
version:
|
141
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - ">="
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: "0"
|
146
|
+
version:
|
147
|
+
requirements: []
|
148
|
+
|
149
|
+
rubyforge_project: maccman
|
150
|
+
rubygems_version: 1.3.2
|
151
|
+
signing_key:
|
152
|
+
specification_version: 3
|
153
|
+
summary: Ruby desktop application framework
|
154
|
+
test_files: []
|
155
|
+
|