maccman-bowline 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (59) hide show
  1. data/History.txt +4 -0
  2. data/MIT-LICENSE +20 -0
  3. data/Manifest.txt +58 -0
  4. data/README.txt +113 -0
  5. data/Rakefile +24 -0
  6. data/assets/jquery.bowline.js +96 -0
  7. data/assets/jquery.chain.js +2348 -0
  8. data/assets/jquery.js +3549 -0
  9. data/bin/bowline-gen +6 -0
  10. data/bowline.gemspec +42 -0
  11. data/examples/account_binder.rb +29 -0
  12. data/examples/example.js +24 -0
  13. data/examples/twitter.html +43 -0
  14. data/examples/twitter_binder.rb +40 -0
  15. data/examples/twitter_login.html +29 -0
  16. data/examples/users_binder.rb +39 -0
  17. data/lib/bowline.rb +42 -0
  18. data/lib/bowline/binders.rb +177 -0
  19. data/lib/bowline/binders/collection.rb +27 -0
  20. data/lib/bowline/binders/singleton.rb +25 -0
  21. data/lib/bowline/commands/console.rb +27 -0
  22. data/lib/bowline/commands/generate.rb +1 -0
  23. data/lib/bowline/commands/run.rb +13 -0
  24. data/lib/bowline/ext/array.rb +5 -0
  25. data/lib/bowline/ext/class.rb +51 -0
  26. data/lib/bowline/ext/object.rb +12 -0
  27. data/lib/bowline/ext/string.rb +9 -0
  28. data/lib/bowline/gem_dependency.rb +42 -0
  29. data/lib/bowline/generators.rb +59 -0
  30. data/lib/bowline/generators/application.rb +49 -0
  31. data/lib/bowline/generators/binder.rb +25 -0
  32. data/lib/bowline/generators/migration.rb +51 -0
  33. data/lib/bowline/generators/model.rb +20 -0
  34. data/lib/bowline/initializer.rb +596 -0
  35. data/lib/bowline/jquery.rb +31 -0
  36. data/lib/bowline/observer.rb +43 -0
  37. data/lib/bowline/tasks/app.rake +70 -0
  38. data/lib/bowline/tasks/bowline.rb +8 -0
  39. data/lib/bowline/tasks/database.rake +167 -0
  40. data/lib/bowline/tasks/log.rake +9 -0
  41. data/lib/bowline/tasks/misk.rake +3 -0
  42. data/templates/Rakefile +7 -0
  43. data/templates/binder.rb +9 -0
  44. data/templates/config/application.yml +1 -0
  45. data/templates/config/boot.rb +21 -0
  46. data/templates/config/database.yml +4 -0
  47. data/templates/config/environment.rb +12 -0
  48. data/templates/config/manifest +18 -0
  49. data/templates/config/tiapp.xml +24 -0
  50. data/templates/gitignore +15 -0
  51. data/templates/migration.rb +7 -0
  52. data/templates/model.rb +4 -0
  53. data/templates/public/index.html.erb +23 -0
  54. data/templates/public/javascripts/application.js +0 -0
  55. data/templates/public/stylesheets/application.css +0 -0
  56. data/templates/script/console +3 -0
  57. data/templates/script/init +11 -0
  58. data/templates/script/run +3 -0
  59. metadata +143 -0
@@ -0,0 +1,15 @@
1
+ .DS_Store
2
+ build/*
3
+ log/*
4
+ tmp/*
5
+ TAGS
6
+ *~
7
+ .#*
8
+ db/schema.rb
9
+ db/*_structure.sql
10
+ db/*.sqlite3
11
+ db/*.sqlite
12
+ db/*.db
13
+ .hgignore
14
+ .hg/*
15
+ .svn/*
@@ -0,0 +1,7 @@
1
+ class <%= class_name %> < ActiveRecord::Migration
2
+ def self.up
3
+ end
4
+
5
+ def self.down
6
+ end
7
+ end
@@ -0,0 +1,4 @@
1
+ <%- with_modules(modules) do -%>
2
+ class <%= class_name %> < ActiveRecord::Base
3
+ end
4
+ <%- end -%>
@@ -0,0 +1,23 @@
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>Bowline</title>
8
+ <script type='text/javascript' src='http://getfirebug.com/releases/lite/1.2/firebug-lite-compressed.js'></script>
9
+ <script src="javascripts/jquery.js" type="text/javascript" charset="utf-8"></script>
10
+ <script src="javascripts/jquery.chain.js" type="text/javascript" charset="utf-8"></script>
11
+ <script src="javascripts/jquery.bowline.js" type="text/javascript" charset="utf-8"></script>
12
+ <script src="../script/init" type="text/ruby" charset="utf-8"></script>
13
+ <script src="javascripts/application.js" type="text/javascript" charset="utf-8"></script>
14
+ <link rel="stylesheet" href="stylesheets/application.css" type="text/css" charset="utf-8">
15
+ <script type="text/javascript" charset="utf-8">
16
+ // jQuery(function($){
17
+ // $('#assets').bowline('assets');
18
+ // });
19
+ </script>
20
+ </head>
21
+ <body>
22
+ </body>
23
+ </html>
File without changes
File without changes
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env ruby
2
+ require File.join(File.dirname(__FILE__), *%w[.. config boot])
3
+ require "bowline/commands/console"
@@ -0,0 +1,11 @@
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
+ # The 'window' function is only
8
+ # available in this scope
9
+ $app_window = window
10
+
11
+ require File.join(File.dirname(__FILE__), *%w[.. config environment])
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env ruby
2
+ require File.join(File.dirname(__FILE__), *%w[.. config boot])
3
+ require "bowline/commands/run"
metadata ADDED
@@ -0,0 +1,143 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: maccman-bowline
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.1
5
+ platform: ruby
6
+ authors:
7
+ - Alex MacCaw
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+
12
+ date: 2009-04-23 00:00:00 -07:00
13
+ default_executable: bowline-gen
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: newgem
27
+ type: :development
28
+ version_requirement:
29
+ version_requirements: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: 1.3.0
34
+ version:
35
+ - !ruby/object:Gem::Dependency
36
+ name: hoe
37
+ type: :development
38
+ version_requirement:
39
+ version_requirements: !ruby/object:Gem::Requirement
40
+ requirements:
41
+ - - ">="
42
+ - !ruby/object:Gem::Version
43
+ version: 1.8.0
44
+ version:
45
+ description: My take on Ruby desktop GUIs
46
+ email:
47
+ - info@eribium.org
48
+ executables:
49
+ - bowline-gen
50
+ extensions: []
51
+
52
+ extra_rdoc_files:
53
+ - History.txt
54
+ - Manifest.txt
55
+ - README.txt
56
+ files:
57
+ - History.txt
58
+ - MIT-LICENSE
59
+ - Manifest.txt
60
+ - README.txt
61
+ - Rakefile
62
+ - assets/jquery.bowline.js
63
+ - assets/jquery.chain.js
64
+ - assets/jquery.js
65
+ - bin/bowline-gen
66
+ - bowline.gemspec
67
+ - examples/account_binder.rb
68
+ - examples/example.js
69
+ - examples/twitter.html
70
+ - examples/twitter_binder.rb
71
+ - examples/twitter_login.html
72
+ - examples/users_binder.rb
73
+ - lib/bowline.rb
74
+ - lib/bowline/binders.rb
75
+ - lib/bowline/binders/collection.rb
76
+ - lib/bowline/binders/singleton.rb
77
+ - lib/bowline/commands/console.rb
78
+ - lib/bowline/commands/generate.rb
79
+ - lib/bowline/commands/run.rb
80
+ - lib/bowline/ext/array.rb
81
+ - lib/bowline/ext/class.rb
82
+ - lib/bowline/ext/object.rb
83
+ - lib/bowline/ext/string.rb
84
+ - lib/bowline/gem_dependency.rb
85
+ - lib/bowline/generators.rb
86
+ - lib/bowline/generators/application.rb
87
+ - lib/bowline/generators/binder.rb
88
+ - lib/bowline/generators/migration.rb
89
+ - lib/bowline/generators/model.rb
90
+ - lib/bowline/initializer.rb
91
+ - lib/bowline/jquery.rb
92
+ - lib/bowline/observer.rb
93
+ - lib/bowline/tasks/app.rake
94
+ - lib/bowline/tasks/bowline.rb
95
+ - lib/bowline/tasks/database.rake
96
+ - lib/bowline/tasks/log.rake
97
+ - lib/bowline/tasks/misk.rake
98
+ - templates/Rakefile
99
+ - templates/binder.rb
100
+ - templates/config/application.yml
101
+ - templates/config/boot.rb
102
+ - templates/config/database.yml
103
+ - templates/config/environment.rb
104
+ - templates/config/manifest
105
+ - templates/config/tiapp.xml
106
+ - templates/gitignore
107
+ - templates/migration.rb
108
+ - templates/model.rb
109
+ - templates/public/index.html.erb
110
+ - templates/public/javascripts/application.js
111
+ - templates/public/stylesheets/application.css
112
+ - templates/script/console
113
+ - templates/script/init
114
+ - templates/script/run
115
+ has_rdoc: true
116
+ homepage: http://github.com/maccman/bowline
117
+ post_install_message:
118
+ rdoc_options:
119
+ - --main
120
+ - README.txt
121
+ require_paths:
122
+ - lib
123
+ required_ruby_version: !ruby/object:Gem::Requirement
124
+ requirements:
125
+ - - ">="
126
+ - !ruby/object:Gem::Version
127
+ version: "0"
128
+ version:
129
+ required_rubygems_version: !ruby/object:Gem::Requirement
130
+ requirements:
131
+ - - ">="
132
+ - !ruby/object:Gem::Version
133
+ version: "0"
134
+ version:
135
+ requirements: []
136
+
137
+ rubyforge_project: maccman
138
+ rubygems_version: 1.2.0
139
+ signing_key:
140
+ specification_version: 3
141
+ summary: My take on Ruby desktop GUIs
142
+ test_files: []
143
+