bench_bloc 0.1.5 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/bench_bloc/rake_helper.rb +3 -3
- data/lib/bench_bloc/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9b49eccd1f52c1a6e8d221e5e1edff32b21de31c18c744aee88f0a916d1c32c3
|
4
|
+
data.tar.gz: d87afb42de82f049584c45d6a1e613ce6c2dc515d56af3faea33894f48657265
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d4a911e79c8dd66b9876f714a721f6bcbd0416313112f5d5dd6820fb3372b47ab1a2444ed3515f21e7e6d76035d9041af8621c3d66e65a154f9973e92b90e173
|
7
|
+
data.tar.gz: 3d6e49ec873614d35dc12ceb36e3b0c98254b61fa988af24686add6f930148fb6193d946895871843eebc032a576717d01a18485235b441c96ba321f81e74841
|
@@ -1,14 +1,14 @@
|
|
1
1
|
def bench_tasks
|
2
2
|
Rake.application.tasks.select do |task|
|
3
|
-
task.name.starts_with?("
|
3
|
+
task.name.starts_with?("bench_bloc") &&
|
4
4
|
!task.name.ends_with?("_util") &&
|
5
|
-
task.name != "
|
5
|
+
task.name != "bench_bloc:all"
|
6
6
|
end
|
7
7
|
end
|
8
8
|
|
9
9
|
def option_parser
|
10
10
|
OptionParser.new do |opts|
|
11
|
-
opts.banner = "Usage: rake
|
11
|
+
opts.banner = "Usage: rake bench_bloc:* [options]"
|
12
12
|
opts.on("-r", "--ruby-prof", "Print a RubyProf report") do |rp|
|
13
13
|
@options[:ruby_prof] = rp
|
14
14
|
end
|
data/lib/bench_bloc/version.rb
CHANGED