watertower 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
data/.gitattributes ADDED
@@ -0,0 +1 @@
1
+ application.ini ident
data/README ADDED
File without changes
data/Rakefile ADDED
@@ -0,0 +1,61 @@
1
+ begin
2
+ require 'jeweler'
3
+ require 'uuidtools'
4
+ require 'pathname'
5
+
6
+ Jeweler::Tasks.new do |s|
7
+ s.name = "watertower"
8
+ s.executables = "watertower"
9
+ s.summary = "Ruby and XUL based web application server framework."
10
+ s.email = "contact@gironda.org"
11
+ s.homepage = "http://github.com/gabrielg/watertower"
12
+ s.description = "Ruby and XUL based web application server framework."
13
+ s.authors = ["Gabriel Gironda"]
14
+ # FIXME - weird hack around jeweler ignoring the submoduled in xpcomcore.
15
+ s.files = (s.files + FileList["xulapp/chrome/content/vendor/**/*"]).uniq
16
+ end
17
+ Jeweler::GemcutterTasks.new
18
+
19
+ application_ini_path = (Pathname(__FILE__).parent + "xulapp/application.ini").expand_path
20
+
21
+ desc "Writes out a random UUID for the Build ID when we release to the XUL application's application.ini"
22
+ task :write_xul_build_id do
23
+ build_id = UUIDTools::UUID.random_create.to_s
24
+ ini_contents = application_ini_path.read
25
+ application_ini_path.open('w') do |f|
26
+ f << ini_contents.sub(/^BuildID=.*$/, "BuildID=#{build_id}")
27
+ end
28
+ end
29
+
30
+ desc "Writes out the gem version to the XUL application's application.ini"
31
+ task :write_xul_version do
32
+ version = (Pathname(__FILE__).parent + "VERSION").read.chomp
33
+ ini_contents = application_ini_path.read
34
+ application_ini_path.open('w') do |f|
35
+ f << ini_contents.sub(/^Version=.*$/, "Version=#{version}")
36
+ end
37
+ end
38
+
39
+ desc "Commits the application ini before a release"
40
+ task :commit_application_ini do
41
+ system("git", "add", application_ini_path.to_s)
42
+ system("git", "commit", "-m", "Bumping application.ini", application_ini_path.to_s)
43
+ end
44
+
45
+ task :release => [:write_xul_build_id, :write_xul_version, :commit_application_ini]
46
+
47
+ namespace :test do
48
+ desc "Runs the tests for the XUL application component of WaterTower."
49
+ task :xul do
50
+
51
+ end
52
+
53
+ desc "Runs the tests for the Ruby component of WaterTower."
54
+ task :ruby do
55
+ end
56
+ end
57
+
58
+ rescue LoadError
59
+ puts "Jeweler, or one of its dependencies, is not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
60
+ end
61
+
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 0.0.1
data/bin/watertower ADDED
@@ -0,0 +1,2 @@
1
+ #!/usr/bin/env ruby
2
+ puts "I DON'T DO ANYTHING YET."
@@ -0,0 +1,47 @@
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run `rake gemspec`
4
+ # -*- encoding: utf-8 -*-
5
+
6
+ Gem::Specification.new do |s|
7
+ s.name = %q{watertower}
8
+ s.version = "0.0.1"
9
+
10
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
+ s.authors = ["Gabriel Gironda"]
12
+ s.date = %q{2009-10-03}
13
+ s.default_executable = %q{watertower}
14
+ s.description = %q{Ruby and XUL based web application server framework.}
15
+ s.email = %q{contact@gironda.org}
16
+ s.executables = ["watertower"]
17
+ s.extra_rdoc_files = [
18
+ "README"
19
+ ]
20
+ s.files = [
21
+ ".gitattributes",
22
+ "README",
23
+ "Rakefile",
24
+ "VERSION",
25
+ "bin/watertower",
26
+ "watertower.gemspec",
27
+ "xulapp/application.ini",
28
+ "xulapp/chrome/chrome.manifest",
29
+ "xulapp/chrome/content/data/motd.txt",
30
+ "xulapp/defaults/preferences/prefs.js"
31
+ ]
32
+ s.homepage = %q{http://github.com/gabrielg/watertower}
33
+ s.rdoc_options = ["--charset=UTF-8"]
34
+ s.require_paths = ["lib"]
35
+ s.rubygems_version = %q{1.3.4}
36
+ s.summary = %q{Ruby and XUL based web application server framework.}
37
+
38
+ if s.respond_to? :specification_version then
39
+ current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
40
+ s.specification_version = 3
41
+
42
+ if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
43
+ else
44
+ end
45
+ else
46
+ end
47
+ end
@@ -0,0 +1,14 @@
1
+ [App]
2
+ Name=WaterTower
3
+ Version=0.0.1
4
+ BuildID=63a9a74a-a756-40c8-adf1-463b924402ca
5
+ ID=WaterTower@conflagrationjs.org
6
+ Vendor=Conflagration JS
7
+
8
+ [Gecko]
9
+ MinVersion=1.9.1
10
+
11
+ ; Eventually we'll want crash reporting.
12
+ ; [Crash Reporter]
13
+ ; Enabled=True
14
+ ; ServerURL=https://crash.conflagrationjs.org/submit
@@ -0,0 +1,2 @@
1
+ content watertower file:content/
2
+ resource watertower file:content/
File without changes
@@ -0,0 +1,7 @@
1
+ pref("toolkit.defaultChromeURI", "chrome://watertower/content/xul/boot.xul");
2
+ pref("toolkit.defaultChromeFeatures", "chrome,menubar,status,resizable");
3
+ pref("javascript.options.showInConsole", true);
4
+ // TODO - only disable caching in development mode.
5
+ pref("nglayout.debug.disable_xul_cache", true);
6
+ pref("nglayout.debug.disable_xul_fastload", true);
7
+ pref("browser.dom.window.dump.enabled", true);
metadata ADDED
@@ -0,0 +1,64 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: watertower
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Gabriel Gironda
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+
12
+ date: 2009-10-03 00:00:00 -05:00
13
+ default_executable: watertower
14
+ dependencies: []
15
+
16
+ description: Ruby and XUL based web application server framework.
17
+ email: contact@gironda.org
18
+ executables:
19
+ - watertower
20
+ extensions: []
21
+
22
+ extra_rdoc_files:
23
+ - README
24
+ files:
25
+ - .gitattributes
26
+ - README
27
+ - Rakefile
28
+ - VERSION
29
+ - bin/watertower
30
+ - watertower.gemspec
31
+ - xulapp/application.ini
32
+ - xulapp/chrome/chrome.manifest
33
+ - xulapp/chrome/content/data/motd.txt
34
+ - xulapp/defaults/preferences/prefs.js
35
+ has_rdoc: true
36
+ homepage: http://github.com/gabrielg/watertower
37
+ licenses: []
38
+
39
+ post_install_message:
40
+ rdoc_options:
41
+ - --charset=UTF-8
42
+ require_paths:
43
+ - lib
44
+ required_ruby_version: !ruby/object:Gem::Requirement
45
+ requirements:
46
+ - - ">="
47
+ - !ruby/object:Gem::Version
48
+ version: "0"
49
+ version:
50
+ required_rubygems_version: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: "0"
55
+ version:
56
+ requirements: []
57
+
58
+ rubyforge_project:
59
+ rubygems_version: 1.3.4
60
+ signing_key:
61
+ specification_version: 3
62
+ summary: Ruby and XUL based web application server framework.
63
+ test_files: []
64
+