Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Added housekeeping stuff.
  • Loading branch information
rue committed Nov 9, 2011
1 parent 023c61c commit 82755c7
Show file tree
Hide file tree
Showing 6 changed files with 69 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .autotest
@@ -0,0 +1,23 @@
# -*- ruby -*-

require 'autotest/restart'

# Autotest.add_hook :initialize do |at|
# at.extra_files << "../some/external/dependency.rb"
#
# at.libs << ":../some/external"
#
# at.add_exception 'vendor'
#
# at.add_mapping(/dependency.rb/) do |f, _|
# at.files_matching(/test_.*rb$/)
# end
#
# %w(TestA TestB).each do |klass|
# at.extra_class_map[klass] = "test/test_misc.rb"
# end
# end

# Autotest.add_hook :run_command do |at|
# system "rake build"
# end
Empty file added .gemtest
Empty file.
3 changes: 3 additions & 0 deletions .gitignore
Expand Up @@ -7,3 +7,6 @@ coverage/
.yardoc/
/tags
TAGS
*.gem
.bundle
Gemfile.lock
4 changes: 4 additions & 0 deletions Gemfile
@@ -0,0 +1,4 @@
source "http://rubygems.org"

# Specify your gem's dependencies in rdoc-sinatra.gemspec
gemspec
14 changes: 14 additions & 0 deletions Rakefile
@@ -0,0 +1,14 @@
# -*- encoding: utf-8 -*-

require "rubygems"
require "bundler/gem_tasks"

require "rake/testtask"


Rake::TestTask.new do |t|
t.libs.push "lib"
t.test_files = FileList["test/test_*.rb"]
t.verbose = true
end

25 changes: 25 additions & 0 deletions rdoc-sinatra.gemspec
@@ -0,0 +1,25 @@
# -*- encoding: utf-8 -*-

Gem::Specification.new do |s|
s.name = "rdoc-sinatra"
s.version = `git log --pretty=oneline | wc -l`.chomp.to_i + 1

s.platform = Gem::Platform::RUBY

s.authors = %w{Eero Saynatkari}
s.email = %w{projects@kittensoft.org}
s.homepage = "http://github.com/rdoc/rdoc-sinatra"

s.summary = %q{TODO: Write a gem summary}
s.description = %q{TODO: Write a gem description}

s.files = `git ls-files`.split "\n"
s.test_files = `git ls-files -- test/*`.split "\n"

s.require_paths = %w{lib}

s.add_runtime_dependency "rdoc", "~> 3.0"

s.add_development_dependency "minitest"
end

0 comments on commit 82755c7

Please sign in to comment.