Skip to content

Commit

Permalink
Merge pull request #44 from jfirebaugh/deprecations
Browse files Browse the repository at this point in the history
Fix Rakefile deprecation warnings
  • Loading branch information
tenderlove committed Jul 19, 2012
2 parents 5f6b74e + 2233246 commit ef50fe9
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
7 changes: 6 additions & 1 deletion Gemfile.lock
@@ -1,15 +1,19 @@
PATH
remote: .
specs:
bcrypt-ruby (3.0.0)
bcrypt-ruby (3.0.1)

GEM
remote: http://rubygems.org/
specs:
diff-lcs (1.1.2)
json (1.7.3)
json (1.7.3-java)
rake (0.8.7)
rake-compiler (0.7.5)
rake
rdoc (3.12)
json (~> 1.4)
rspec (2.5.0)
rspec-core (~> 2.5.0)
rspec-expectations (~> 2.5.0)
Expand All @@ -26,4 +30,5 @@ PLATFORMS
DEPENDENCIES
bcrypt-ruby!
rake-compiler
rdoc
rspec
8 changes: 4 additions & 4 deletions Rakefile
@@ -1,10 +1,10 @@
require 'rspec/core/rake_task'
require 'rake/gempackagetask'
require 'rubygems/package_task'
require 'rake/extensiontask'
require 'rake/javaextensiontask'
require 'rake/contrib/rubyforgepublisher'
require 'rake/clean'
require 'rake/rdoctask'
require 'rdoc/task'
require 'benchmark'

CLEAN.include(
Expand Down Expand Up @@ -37,14 +37,14 @@ RSpec::Core::RakeTask.new(:rcov) do |t|
end

desc 'Generate RDoc'
rd = Rake::RDocTask.new do |rdoc|
RDoc::Task.new do |rdoc|
rdoc.rdoc_dir = 'doc/rdoc'
rdoc.options += GEMSPEC.rdoc_options
rdoc.template = ENV['TEMPLATE'] if ENV['TEMPLATE']
rdoc.rdoc_files.include(*GEMSPEC.extra_rdoc_files)
end

Rake::GemPackageTask.new(GEMSPEC) do |pkg|
Gem::PackageTask.new(GEMSPEC) do |pkg|
pkg.need_zip = true
pkg.need_tar = true
end
Expand Down
1 change: 1 addition & 0 deletions bcrypt-ruby.gemspec
Expand Up @@ -14,6 +14,7 @@ Gem::Specification.new do |s|

s.add_development_dependency 'rake-compiler'
s.add_development_dependency 'rspec'
s.add_development_dependency 'rdoc'

s.has_rdoc = true
s.rdoc_options += ['--title', 'bcrypt-ruby', '--line-numbers', '--inline-source', '--main', 'README.md']
Expand Down

0 comments on commit ef50fe9

Please sign in to comment.