Navigation Menu

Skip to content

Commit

Permalink
general textual maintaince, no logic changes
Browse files Browse the repository at this point in the history
  • Loading branch information
joshaven committed Jul 6, 2010
1 parent 4ffae1b commit 61edc02
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
3 changes: 2 additions & 1 deletion cilantro.gemspec
Expand Up @@ -9,7 +9,7 @@ Gem::Specification.new do |s|

s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Joshaven Potter"]
s.date = %q{2010-06-29}
s.date = %q{2010-07-06}
s.default_executable = %q{cilantro}
s.description = %q{A framework build on top of Sinatra, boasting automagic gem management, auto-reloading in development, and an innovative way to manage templates.}
s.email = %q{yourtech@gmail.com}
Expand Down Expand Up @@ -45,6 +45,7 @@ Gem::Specification.new do |s|
"lib/cilantro/generator/default_model.erb",
"lib/cilantro/generator/default_view.erb",
"lib/cilantro/generator/example_spec.rb",
"lib/cilantro/generator/favicon.ico",
"lib/cilantro/generator/gemrc.yml",
"lib/cilantro/generator/init.rb",
"lib/cilantro/generator/rspec.rake",
Expand Down
2 changes: 0 additions & 2 deletions lib/cilantro/controller.rb
Expand Up @@ -146,7 +146,6 @@ def route(method, in_path, opts, &bk)
end
elsif in_path.is_a?(Symbol)
path = path_with_namespace(in_path)
# warn "Route: #{method} #{path[0]}"
# Save the namespace with this route
application.namespaces["#{method} #{path[0]}"] = [self, namespace]
# Register the path with Sinatra's routing engine
Expand All @@ -158,7 +157,6 @@ def route(method, in_path, opts, &bk)
return rt
else # string
path = path_with_namespace(in_path)
# warn "Route: #{method} #{path[0]}"
# Save the namespace with this route
application.namespaces["#{method} #{path[0]}"] = [self, namespace]
# Register the path with Sinatra's routing engine
Expand Down
2 changes: 1 addition & 1 deletion spec/cilantro/templater_spec.rb
Expand Up @@ -136,7 +136,7 @@ class TestController < Application; namespace '/'; end
end

it 'should be able to pass locals when the view whither named or not'

it 'should set view name' do
@app.view('view_name').name.should == 'view_name'
end
Expand Down

0 comments on commit 61edc02

Please sign in to comment.