Skip to content

Commit

Permalink
prep for 1.5.0.pre
Browse files Browse the repository at this point in the history
  • Loading branch information
jlong committed Jun 8, 2011
1 parent e1e4fa5 commit c57546e
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 5 deletions.
22 changes: 20 additions & 2 deletions README.rdoc
Original file line number Diff line number Diff line change
Expand Up @@ -229,8 +229,8 @@ module and define your helper methods there:
Helpers have full access to the request and response objects so you can easily
read and manipulate headers or do other fancy tricks.

Serve provides a number of stock helpers to make it easier for you to prototype
Rails applications:
Serve provides a number of stock helpers to make it easier for you to
prototype Rails applications:

# Escape Helpers
html_escape(string) # escape HTML in string
Expand Down Expand Up @@ -285,6 +285,24 @@ email :: Evaluates the document as if it is an e-mail message; the format is ide
redirect :: Redirects to the URL contained in the document


== Exporting A Serve Project

The edge version of Serve now has limited support for exporting your Serve
project to HTML. To get started with the prerelease version:

gem install --pre serve

To export your project, use the new "export" command:

serve export <project_dir>:<output_dir>

Where <project_dir> is the path to the project and <output_dir> is the path to
the directory where you would like your HTML and CSS generated.

Please note! This feature is in beta. If you have issues with this approach,
please post them to the GitHub issue tracker.


== More Information

You can find more information about Serve, including a detailed Screencast, on
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.1.1
1.5.0.pre
9 changes: 7 additions & 2 deletions serve.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@

Gem::Specification.new do |s|
s.name = %q{serve}
s.version = "1.1.1"
s.version = "1.5.0.pre"

s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.required_rubygems_version = Gem::Requirement.new("> 1.3.1") if s.respond_to? :required_rubygems_version=
s.authors = ["John W. Long", "Adam I. Williams", "Robert Evans"]
s.date = %q{2011-06-07}
s.default_executable = %q{serve}
Expand All @@ -30,6 +30,7 @@ Gem::Specification.new do |s|
"bin/serve",
"lib/serve.rb",
"lib/serve/application.rb",
"lib/serve/export.rb",
"lib/serve/handlers/dynamic_handler.rb",
"lib/serve/handlers/email_handler.rb",
"lib/serve/handlers/file_type_handler.rb",
Expand All @@ -38,6 +39,7 @@ Gem::Specification.new do |s|
"lib/serve/handlers/sass_handler.rb",
"lib/serve/javascripts.rb",
"lib/serve/out.rb",
"lib/serve/path.rb",
"lib/serve/project.rb",
"lib/serve/rack.rb",
"lib/serve/router.rb",
Expand Down Expand Up @@ -80,13 +82,15 @@ Gem::Specification.new do |s|

if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
s.add_runtime_dependency(%q<rack>, ["~> 1.3.0"])
s.add_runtime_dependency(%q<rack-test>, ["~> 0.6.0"])
s.add_runtime_dependency(%q<tilt>, ["~> 1.3.1"])
s.add_runtime_dependency(%q<activesupport>, ["~> 3.0.7"])
s.add_runtime_dependency(%q<tzinfo>, ["~> 0.3.27"])
s.add_runtime_dependency(%q<i18n>, ["~> 0.6.0"])
s.add_development_dependency(%q<rspec>, ["~> 2.6.0"])
else
s.add_dependency(%q<rack>, ["~> 1.3.0"])
s.add_dependency(%q<rack-test>, ["~> 0.6.0"])
s.add_dependency(%q<tilt>, ["~> 1.3.1"])
s.add_dependency(%q<activesupport>, ["~> 3.0.7"])
s.add_dependency(%q<tzinfo>, ["~> 0.3.27"])
Expand All @@ -95,6 +99,7 @@ Gem::Specification.new do |s|
end
else
s.add_dependency(%q<rack>, ["~> 1.3.0"])
s.add_dependency(%q<rack-test>, ["~> 0.6.0"])
s.add_dependency(%q<tilt>, ["~> 1.3.1"])
s.add_dependency(%q<activesupport>, ["~> 3.0.7"])
s.add_dependency(%q<tzinfo>, ["~> 0.3.27"])
Expand Down

0 comments on commit c57546e

Please sign in to comment.