request-log-analyzer 1.2.3 → 1.2.6
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +10 -0
- data/Rakefile +3 -1
- data/lib/request_log_analyzer.rb +1 -1
- data/lib/request_log_analyzer/aggregator/database.rb +29 -20
- data/lib/request_log_analyzer/file_format/merb.rb +5 -7
- data/lib/request_log_analyzer/request.rb +2 -2
- data/request-log-analyzer.gemspec +36 -0
- data/spec/fixtures/merb_prefixed.log +9 -0
- data/spec/lib/mocks.rb +12 -1
- data/spec/unit/aggregator/database_spec.rb +48 -22
- data/spec/unit/file_format/merb_format_spec.rb +20 -1
- data/spec/unit/source/request_spec.rb +90 -64
- data/tasks/github-gem.rake +199 -192
- metadata +117 -95
- data/RELEASE_NOTES.rdoc +0 -10
- data/tasks/rspec.rake +0 -19
data/RELEASE_NOTES.rdoc
DELETED
data/tasks/rspec.rake
DELETED
@@ -1,19 +0,0 @@
|
|
1
|
-
require 'rake'
|
2
|
-
require 'spec/rake/spectask'
|
3
|
-
|
4
|
-
namespace :spec do
|
5
|
-
desc "Run all rspec with RCov"
|
6
|
-
Spec::Rake::SpecTask.new(:rcov) do |t|
|
7
|
-
|
8
|
-
t.spec_files = FileList['spec/**/*_spec.rb']
|
9
|
-
t.rcov = true
|
10
|
-
t.rcov_opts = ['--exclude', '"spec/*,gems/*"', '--rails']
|
11
|
-
end
|
12
|
-
|
13
|
-
desc "Run all specs in spec directory (excluding plugin specs)"
|
14
|
-
Spec::Rake::SpecTask.new(:fancy) do |t|
|
15
|
-
t.spec_opts = ['--options', "\"spec/spec.opts\""]
|
16
|
-
t.spec_files = FileList['spec/**/*_spec.rb']
|
17
|
-
end
|
18
|
-
end
|
19
|
-
|