GitHub Sale: sign up for any paid plan this week and pay nothing until January 1, 2009!  [ hide ]

public
Rubygem
Description: Resource-oriented open source Ruby framework for Web apps.
Homepage: http://rubywaves.com/
Clone URL: git://github.com/dyoder/waves.git
fixed waves generator to actually work as a gem. huh.
automatthew (author)
Sun Jun 15 19:12:24 -0700 2008
commit  c595f31d2300b6362944d42fadff3ee7a049c37f
tree    a196d959519be6e757208ed548a20d9e092d5c77
parent  388f2e628f79696213360067664998072edcd015
...
1
 
2
3
...
1
2
3
4
0
@@ -1,3 +1,4 @@
0
 #!/usr/bin/env ruby
0
+require 'rubygems'
0
 require 'startup'
0
 require 'commands/waves-console'
...
1
 
2
3
...
1
2
3
4
0
@@ -1,3 +1,4 @@
0
 #!/usr/bin/env ruby
0
+require 'rubygems'
0
 require 'startup'
0
 require 'commands/waves-server'
...
2
3
4
 
 
 
 
 
 
5
6
7
...
26
27
28
29
 
30
31
32
...
2
3
4
5
6
7
8
9
10
11
12
13
...
32
33
34
 
35
36
37
38
0
@@ -2,6 +2,12 @@
0
 require 'rubygems'
0
 require 'choice'
0
 require 'rakegen'
0
+
0
+# if we're in the waves source, prepend it to the load path
0
+waves_lib = File.expand_path( "#{File.dirname(__FILE__)}/../../waves/lib" )
0
+$:.unshift waves_lib if File.exist?(waves_lib)
0
+require 'waves'
0
+
0
 begin
0
   require 'utilities/string'
0
 rescue LoadError
0
@@ -26,7 +32,7 @@ if app_name =~ /[^\w\d_]/
0
 TEXT
0
 end
0
 
0
-template = File.join( File.dirname(__FILE__),'..','app')
0
+template = "#{WAVES}/app"
0
 
0
 generator = Rakegen.new("waves:app") do |gen|
0
   gen.source = template
...
1
 
2
3
...
1
2
3
4
0
@@ -1,3 +1,4 @@
0
 #!/usr/bin/env ruby
0
+require 'rubygems'
0
 require 'startup'
0
 require 'commands/waves-console'
...
1
 
2
3
...
1
2
3
4
0
@@ -1,3 +1,4 @@
0
 #!/usr/bin/env ruby
0
+require 'rubygems'
0
 require 'startup'
0
 require 'commands/waves-server'
...
1
2
3
 
 
 
4
5
6
...
1
2
3
4
5
6
7
8
9
0
@@ -1,6 +1,9 @@
0
 # External Dependencies
0
 require 'rubygems'
0
 
0
+# Some scripts need to be able to locate items relative to waves source.
0
+WAVES = "#{File.dirname(__FILE__)}/.." unless defined?(WAVES)
0
+
0
 require 'rack'
0
 require 'daemons'
0
 require 'live_console'
...
1
2
3
 
4
5
6
7
8
9
 
10
11
12
 
13
14
15
16
17
 
18
19
20
...
23
24
25
26
27
28
29
30
31
32
 
 
33
...
1
2
 
3
4
5
6
7
8
 
9
10
11
 
12
13
14
15
16
 
17
18
19
20
...
23
24
25
 
26
27
28
29
30
 
31
32
33
0
@@ -1,20 +1,20 @@
0
 Gem::Specification.new do |s|
0
   s.name = %q{waves}
0
- s.version = "0.7.3"
0
+ s.version = "0.7.5"
0
 
0
   s.specification_version = 2 if s.respond_to? :specification_version=
0
 
0
   s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
0
   s.authors = ["Dan Yoder"]
0
- s.date = %q{2008-04-30}
0
+ s.date = %q{2008-06-15}
0
   s.email = %q{dan@zeraweb.com}
0
   s.executables = ["waves", "waves-server", "waves-console"]
0
- s.files = ["lib/commands/waves-console.rb", "lib/commands/waves-server.rb", "lib/controllers/mixin.rb", "lib/dispatchers/base.rb", "lib/dispatchers/default.rb", "lib/foundations/default.rb", "lib/foundations/simple.rb", "lib/helpers/common.rb", "lib/helpers/form.rb", "lib/helpers/formatting.rb", "lib/helpers/model.rb", "lib/helpers/view.rb", "lib/layers/default_errors.rb", "lib/layers/simple_errors.rb", "lib/mapping/mapping.rb", "lib/mapping/pretty_urls.rb", "lib/renderers/erubis.rb", "lib/renderers/markaby.rb", "lib/renderers/mixin.rb", "lib/runtime/application.rb", "lib/runtime/configuration.rb", "lib/runtime/console.rb", "lib/runtime/debugger.rb", "lib/runtime/logger.rb", "lib/runtime/mime_types.rb", "lib/runtime/request.rb", "lib/runtime/response.rb", "lib/runtime/response_mixin.rb", "lib/runtime/response_proxy.rb", "lib/runtime/server.rb", "lib/runtime/session.rb", "lib/tasks/cluster.rb", "lib/tasks/gem.rb", "lib/tasks/generate.rb", "lib/tasks/schema.rb", "lib/utilities/inflect.rb", "lib/utilities/integer.rb", "lib/utilities/kernel.rb", "lib/utilities/module.rb", "lib/utilities/object.rb", "lib/utilities/proc.rb", "lib/utilities/string.rb", "lib/utilities/symbol.rb", "lib/verify/mapping.rb", "lib/verify/request.rb", "lib/views/mixin.rb", "lib/waves.rb", "app/bin", "app/bin/waves-console", "app/bin/waves-server", "app/configurations", "app/configurations/default.rb.erb", "app/configurations/development.rb.erb", "app/configurations/mapping.rb.erb", "app/configurations/production.rb.erb", "app/controllers", "app/controllers/default.rb.erb", "app/doc", "app/helpers", "app/helpers/default.rb.erb", "app/lib", "app/lib/application.rb.erb", "app/lib/tasks", "app/log", "app/models", "app/models/default.rb.erb", "app/public", "app/public/css", "app/public/flash", "app/public/images", "app/public/javascript", "app/Rakefile", "app/schema", "app/schema/migrations", "app/schema/migrations/templates", "app/schema/migrations/templates/empty.rb.erb", "app/startup.rb", "app/templates", "app/templates/errors", "app/templates/errors/not_found_404.mab", "app/templates/errors/server_error_500.mab", "app/templates/layouts", "app/templates/layouts/default.mab", "app/tmp", "app/tmp/sessions", "app/views", "app/views/default.rb.erb", "bin/waves", "bin/waves-server", "bin/waves-console"]
0
+ s.files = ["lib/commands/waves-console.rb", "lib/commands/waves-server.rb", "lib/controllers/base.rb", "lib/controllers/mixin.rb", "lib/dispatchers/base.rb", "lib/dispatchers/default.rb", "lib/foundations/default.rb", "lib/foundations/simple.rb", "lib/helpers/common.rb", "lib/helpers/default.rb", "lib/helpers/form.rb", "lib/helpers/formatting.rb", "lib/helpers/model.rb", "lib/helpers/view.rb", "lib/layers/default_errors.rb", "lib/layers/mvc.rb", "lib/layers/orm/active_record/tasks/schema.rb", "lib/layers/orm/active_record.rb", "lib/layers/orm/data_mapper.rb", "lib/layers/orm/filebase.rb", "lib/layers/orm/migration.rb", "lib/layers/orm/sequel/tasks/schema.rb", "lib/layers/orm/sequel.rb", "lib/layers/simple.rb", "lib/layers/simple_errors.rb", "lib/mapping/mapping.rb", "lib/mapping/pretty_urls.rb", "lib/renderers/erubis.rb", "lib/renderers/markaby.rb", "lib/renderers/mixin.rb", "lib/runtime/application.rb", "lib/runtime/blackboard.rb", "lib/runtime/configuration.rb", "lib/runtime/console.rb", "lib/runtime/debugger.rb", "lib/runtime/logger.rb", "lib/runtime/mime_types.rb", "lib/runtime/request.rb", "lib/runtime/response.rb", "lib/runtime/response_mixin.rb", "lib/runtime/response_proxy.rb", "lib/runtime/server.rb", "lib/runtime/session.rb", "lib/tasks/cluster.rb", "lib/tasks/gem.rb", "lib/tasks/generate.rb", "lib/utilities/hash.rb", "lib/utilities/inflect.rb", "lib/utilities/integer.rb", "lib/utilities/kernel.rb", "lib/utilities/module.rb", "lib/utilities/object.rb", "lib/utilities/proc.rb", "lib/utilities/string.rb", "lib/utilities/symbol.rb", "lib/views/base.rb", "lib/views/mixin.rb", "lib/waves.rb", "app/bin", "app/bin/waves-console", "app/bin/waves-server", "app/configurations", "app/configurations/development.rb.erb", "app/configurations/mapping.rb.erb", "app/configurations/production.rb.erb", "app/controllers", "app/doc", "app/helpers", "app/lib", "app/lib/application.rb.erb", "app/lib/tasks", "app/log", "app/models", "app/public", "app/public/css", "app/public/flash", "app/public/images", "app/public/javascript", "app/Rakefile", "app/schema", "app/schema/migrations", "app/startup.rb", "app/templates", "app/templates/errors", "app/templates/errors/not_found_404.mab", "app/templates/errors/server_error_500.mab", "app/templates/layouts", "app/templates/layouts/default.mab", "app/tmp", "app/tmp/sessions", "app/views", "bin/waves", "bin/waves-server", "bin/waves-console"]
0
   s.has_rdoc = true
0
   s.homepage = %q{http://dev.zeraweb.com/waves}
0
   s.require_paths = ["lib"]
0
   s.required_ruby_version = Gem::Requirement.new(">= 1.8.6")
0
- s.rubygems_version = %q{1.1.1}
0
+ s.rubygems_version = %q{1.0.1}
0
   s.summary = %q{Open-source framework for building Ruby-based Web applications.}
0
 
0
   s.add_dependency(%q<mongrel>, [">= 0"])
0
@@ -23,11 +23,11 @@ Gem::Specification.new do |s|
0
   s.add_dependency(%q<erubis>, [">= 0"])
0
   s.add_dependency(%q<RedCloth>, [">= 0"])
0
   s.add_dependency(%q<autocode>, [">= 0"])
0
- s.add_dependency(%q<sequel>, [">= 0"])
0
   s.add_dependency(%q<sqlite3-ruby>, [">= 0"])
0
   s.add_dependency(%q<extensions>, [">= 0"])
0
   s.add_dependency(%q<live_console>, [">= 0"])
0
   s.add_dependency(%q<choice>, [">= 0"])
0
   s.add_dependency(%q<daemons>, [">= 0"])
0
- s.add_dependency(%q<bacon>, [">= 0"])
0
+ s.add_dependency(%q<rakegen>, [">= 0"])
0
+ s.add_dependency(%q<sequel>, [">= 2.0.0"])
0
 end

Comments

    No one has commented yet.