Skip to content
Browse files

Update and cleanup:

  - simplify rakefile and gemfile
  • Loading branch information...
1 parent 414bfb2 commit f01dbf75b2c1eec0706c35e3cc209f9354b1591f @rsanheim rsanheim committed
Showing with 15 additions and 11 deletions.
  1. +1 −1 .rvmrc
  2. +2 −0 Gemfile
  3. +10 −0 Gemfile.lock
  4. +2 −10 Rakefile
View
2 .rvmrc
@@ -1 +1 @@
-rvm use ruby-1.9.2-p0
+rvm use ruby-1.9.2
View
2 Gemfile
@@ -1,6 +1,8 @@
source :rubygems
gemspec
+
group :development do
gem 'rake'
+ gem 'jeweler'
end
View
10 Gemfile.lock
@@ -7,10 +7,19 @@ GEM
remote: http://rubygems.org/
specs:
diff-lcs (1.1.3)
+ git (1.2.5)
+ jeweler (1.8.3)
+ bundler (~> 1.0)
+ git (>= 1.2.5)
+ rake
+ rdoc
+ json (1.6.5)
metaclass (0.0.1)
mocha (0.10.4)
metaclass (~> 0.0.1)
rake (0.9.2.2)
+ rdoc (3.12)
+ json (~> 1.4)
rspec (2.8.0)
rspec-core (~> 2.8.0)
rspec-expectations (~> 2.8.0)
@@ -24,6 +33,7 @@ PLATFORMS
ruby
DEPENDENCIES
+ jeweler
log_buddy!
mocha (~> 0.9)
rake
View
12 Rakefile
@@ -42,9 +42,9 @@ begin
if RUBY_VERSION <= "1.8.7"
- task :default => [:check_dependencies, :coverage]
+ task :default => [:coverage]
else
- task :default => [:check_dependencies, :spec]
+ task :default => [:spec]
end
rescue LoadError => e
puts "Rspec not available to run tests. Install it with: gem install rspec --pre"
@@ -52,14 +52,6 @@ rescue LoadError => e
puts e.backtrace
end
-begin
- %w{sdoc sdoc-helpers rdiscount}.each { |name| gem name }
- require 'sdoc_helpers'
-rescue LoadError => ex
- puts "sdoc support not enabled:"
- puts ex.inspect
-end
-
require 'rake/rdoctask'
Rake::RDocTask.new do |rdoc|
version = LogBuddy::Version::STRING

0 comments on commit f01dbf7

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