Skip to content
This repository has been archived by the owner on Mar 30, 2018. It is now read-only.

Commit

Permalink
ready to write spec
Browse files Browse the repository at this point in the history
  • Loading branch information
hiroyuki committed Oct 19, 2009
1 parent 4cd1ad6 commit 959f883
Show file tree
Hide file tree
Showing 4 changed files with 58 additions and 6 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.0.0
0.0.1
54 changes: 54 additions & 0 deletions sinatra-erubis.gemspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
# Generated by jeweler
# DO NOT EDIT THIS FILE DIRECTLY
# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
# -*- encoding: utf-8 -*-

Gem::Specification.new do |s|
s.name = %q{sinatra-erubis}
s.version = "0.0.1"

s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["hiroyuki"]
s.date = %q{2009-10-19}
s.description = %q{TODO: longer description of your gem}
s.email = %q{[email protected]}
s.extra_rdoc_files = [
"LICENSE",
"README.rdoc"
]
s.files = [
".document",
".gitignore",
"LICENSE",
"README.rdoc",
"Rakefile",
"VERSION",
"lib/sinatra/erubis.rb",
"spec/sinatra-erubis_spec.rb",
"spec/spec.opts",
"spec/spec_helper.rb"
]
s.homepage = %q{http://github.com/hryk/sinatra-erubis}
s.rdoc_options = ["--charset=UTF-8"]
s.require_paths = ["lib"]
s.rubygems_version = %q{1.3.5}
s.summary = %q{TODO: one-line summary of your gem}
s.test_files = [
"spec/sinatra-erubis_spec.rb",
"spec/spec_helper.rb"
]

if s.respond_to? :specification_version then
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
s.specification_version = 3

if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
s.add_development_dependency(%q<rspec>, [">= 1.2.9"])
else
s.add_dependency(%q<rspec>, [">= 1.2.9"])
end
else
s.add_dependency(%q<rspec>, [">= 1.2.9"])
end
end

5 changes: 1 addition & 4 deletions spec/sinatra-erubis_spec.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
require File.expand_path(File.dirname(__FILE__) + '/spec_helper')

describe "SinatraErubis" do
it "fails" do
fail "hey buddy, you should probably rename this file and start specing for real"
end
describe "Sinatra::ErubisTemplate" do
end
3 changes: 2 additions & 1 deletion spec/spec_helper.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
require 'rubygems'
$LOAD_PATH.unshift(File.dirname(__FILE__))
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
require 'sinatra-erubis'
require 'sinatra/erubis'
require 'spec'
require 'spec/autorun'

Expand Down

0 comments on commit 959f883

Please sign in to comment.