Skip to content

Commit 3ce226b

Browse files
authored
Remove deprecated rake statistics (#36)
1 parent 52086cb commit 3ce226b

1 file changed

Lines changed: 11 additions & 3 deletions

File tree

‎Rakefile‎

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,17 @@
11
# frozen_string_literal: true
22

3+
# Bundler
4+
35
begin
46
require "bundler/setup"
57
rescue LoadError
68
puts "You must `gem install bundler` and `bundle install` to run rake tasks"
79
end
810

11+
require "bundler/gem_tasks"
12+
13+
# RDoc
14+
915
require "rdoc/task"
1016

1117
RDoc::Task.new(:rdoc) do |rdoc|
@@ -16,12 +22,12 @@ RDoc::Task.new(:rdoc) do |rdoc|
1622
rdoc.rdoc_files.include("lib/**/*.rb")
1723
end
1824

25+
# Rails dummy app
26+
1927
APP_RAKEFILE = File.expand_path("spec/dummy/Rakefile", __dir__)
2028
load "rails/tasks/engine.rake"
2129

22-
load "rails/tasks/statistics.rake"
23-
24-
require "bundler/gem_tasks"
30+
# RSpec
2531

2632
begin
2733
require "rspec/core/rake_task"
@@ -30,6 +36,8 @@ rescue LoadError
3036
puts "RSpec load error"
3137
end
3238

39+
# RuboCop
40+
3341
require "rubocop/rake_task"
3442

3543
RuboCop::RakeTask.new

0 commit comments

Comments
 (0)