derailed_benchmarks 1.6.0 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.circleci/config.yml +75 -0
- data/.github/workflows/check_changelog.yml +11 -8
- data/CHANGELOG.md +25 -1
- data/README.md +32 -9
- data/derailed_benchmarks.gemspec +6 -3
- data/gemfiles/rails_5_1.gemfile +3 -1
- data/gemfiles/rails_5_2.gemfile +3 -3
- data/gemfiles/rails_6_1.gemfile +13 -0
- data/gemfiles/rails_git.gemfile +2 -2
- data/lib/derailed_benchmarks.rb +4 -2
- data/lib/derailed_benchmarks/core_ext/kernel_require.rb +29 -24
- data/lib/derailed_benchmarks/git/commit.rb +36 -0
- data/lib/derailed_benchmarks/git/in_path.rb +59 -0
- data/lib/derailed_benchmarks/git/switch_project.rb +128 -0
- data/lib/derailed_benchmarks/git_switch_project.rb +1 -0
- data/lib/derailed_benchmarks/load_tasks.rb +11 -4
- data/lib/derailed_benchmarks/require_tree.rb +11 -1
- data/lib/derailed_benchmarks/{stats_in_file.rb → stats_for_file.rb} +8 -2
- data/lib/derailed_benchmarks/stats_from_dir.rb +53 -9
- data/lib/derailed_benchmarks/tasks.rb +26 -63
- data/lib/derailed_benchmarks/version.rb +1 -1
- data/test/derailed_benchmarks/core_ext/kernel_require_test.rb +70 -11
- data/test/derailed_benchmarks/git_switch_project_test.rb +83 -0
- data/test/derailed_benchmarks/require_tree_test.rb +1 -1
- data/test/derailed_benchmarks/stats_from_dir_test.rb +43 -10
- data/test/fixtures/require/autoload_child.rb +5 -0
- data/test/fixtures/require/autoload_parent.rb +8 -0
- data/test/fixtures/require/child_one.rb +1 -1
- data/test/fixtures/require/child_two.rb +1 -1
- data/test/fixtures/require/load_child.rb +3 -0
- data/test/fixtures/require/load_parent.rb +5 -0
- data/test/fixtures/require/parent_one.rb +1 -1
- data/test/integration/tasks_test.rb +31 -5
- data/test/rails_app/config/application.rb +2 -0
- data/test/rails_app/config/storage.yml +0 -0
- data/test/test_helper.rb +6 -1
- metadata +90 -26
- data/.travis.yml +0 -18
- data/Appraisals +0 -26
data/.travis.yml
DELETED
@@ -1,18 +0,0 @@
|
|
1
|
-
language: ruby
|
2
|
-
rvm:
|
3
|
-
- 2.5.5
|
4
|
-
- 2.6.3
|
5
|
-
- ruby-head
|
6
|
-
|
7
|
-
gemfile:
|
8
|
-
- gemfiles/rails_5_1.gemfile
|
9
|
-
- gemfiles/rails_5_2.gemfile
|
10
|
-
- gemfiles/rails_6_0.gemfile
|
11
|
-
- gemfiles/rails_git.gemfile
|
12
|
-
|
13
|
-
before_install:
|
14
|
-
- gem install bundler
|
15
|
-
|
16
|
-
matrix:
|
17
|
-
allow_failures:
|
18
|
-
- rvm: ruby-head
|
data/Appraisals
DELETED
@@ -1,26 +0,0 @@
|
|
1
|
-
# -*- mode: ruby -*-
|
2
|
-
# vi: set ft=ruby :
|
3
|
-
|
4
|
-
appraise "rails-3-2" do
|
5
|
-
gem "rails", "~> 3.2.0"
|
6
|
-
end
|
7
|
-
|
8
|
-
appraise "rails-4-0" do
|
9
|
-
gem "rails", "~> 4.0.0"
|
10
|
-
end
|
11
|
-
|
12
|
-
appraise "rails-4-1" do
|
13
|
-
gem "rails", "~> 4.1.0"
|
14
|
-
end
|
15
|
-
|
16
|
-
appraise "rails-4-2" do
|
17
|
-
gem "rails", "~> 4.2.0"
|
18
|
-
end
|
19
|
-
|
20
|
-
appraise "rails-5-0" do
|
21
|
-
gem "rails", "~> 5.0.0"
|
22
|
-
end
|
23
|
-
|
24
|
-
appraise "rails-5-1" do
|
25
|
-
gem "rails", "~> 5.1.0"
|
26
|
-
end
|