Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Minor cleanups.

  • Loading branch information...
commit f47289342ef6bc2baefbfdb9ddf4abc6b1fbf0bc 1 parent d26a824
@rue rue authored
View
9 lib/rdoc/parser/sinatra.rb
@@ -1,16 +1,13 @@
# -*- encoding: utf-8 -*-
-require "rubygems"
-
-gem "rdoc", "~> 3"
- require "rdoc"
- require "rdoc/parser/ruby"
+require "rdoc"
+require "rdoc/parser/ruby"
#
# Artificial scope for top-level routes.
#
-class RDoc::SinatraRoutes < RDoc::AnonClass#RDoc::NormalModule
+class RDoc::SinatraRoutes < RDoc::AnonClass
end
#
View
6 rdoc-sinatra.gemspec
@@ -2,7 +2,7 @@
Gem::Specification.new do |s|
s.name = "rdoc-sinatra"
- s.version = `git log --pretty=oneline | wc -l`.chomp.to_i + 1
+ s.version = `git tag -l`.chomp.to_i + 1
s.platform = Gem::Platform::RUBY
@@ -10,8 +10,8 @@ Gem::Specification.new do |s|
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.summary = %q{RDoc for Sinatra routes.}
+ s.description = %q{RDoc plugin for extracting documentation for your Sinatra app's routes.}
s.files = `git ls-files`.split "\n"
s.test_files = `git ls-files -- test/*`.split "\n"
View
10 test/test_rdoc_parser_sinatra.rb
@@ -3,14 +3,10 @@
require "stringio"
require "tempfile"
-require "rubygems"
+require "rdoc"
+require "rdoc/parser/sinatra"
-gem "rdoc", "~> 3"
- require "rdoc"
- require "rdoc/parser/sinatra"
-
-gem "minitest"
- require "minitest/autorun"
+require "minitest/autorun"
class TestRDocParserSinatra < MiniTest::Unit::TestCase

0 comments on commit f472893

Please sign in to comment.
Something went wrong with that request. Please try again.