Permalink
Browse files

Added housekeeping stuff.

  • Loading branch information...
1 parent 023c61c commit 82755c71ce3358aa86bae4fd723f71319b6ca87e @rue rue committed Nov 9, 2011
Showing with 69 additions and 0 deletions.
  1. +23 −0 .autotest
  2. 0 .gemtest
  3. +3 −0 .gitignore
  4. +4 −0 Gemfile
  5. +14 −0 Rakefile
  6. +25 −0 rdoc-sinatra.gemspec
View
@@ -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
View
No changes.
View
@@ -7,3 +7,6 @@ coverage/
.yardoc/
/tags
TAGS
+*.gem
+.bundle
+Gemfile.lock
View
@@ -0,0 +1,4 @@
+source "http://rubygems.org"
+
+# Specify your gem's dependencies in rdoc-sinatra.gemspec
+gemspec
View
@@ -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
+
View
@@ -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.