errplane 0.5.18 → 0.5.19
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +3 -0
- data/Gemfile.lock +88 -0
- data/Rakefile +35 -0
- data/config.ru +7 -0
- data/errplane.gemspec +35 -0
- data/gemfiles/Gemfile.rails-2.3.x +8 -0
- data/gemfiles/Gemfile.rails-2.3.x.lock +76 -0
- data/gemfiles/Gemfile.rails-3.0.x +7 -0
- data/gemfiles/Gemfile.rails-3.0.x.lock +95 -0
- data/gemfiles/Gemfile.rails-3.1.x +7 -0
- data/gemfiles/Gemfile.rails-3.1.x.lock +107 -0
- data/gemfiles/Gemfile.rails-3.2.x +7 -0
- data/gemfiles/Gemfile.rails-3.2.x.lock +105 -0
- data/generators/errplane/errplane_generator.rb +43 -0
- data/generators/errplane/templates/initializer.rb +6 -0
- data/lib/errplane/version.rb +1 -1
- data/rails/init.rb +1 -0
- data/spec/suite.sh +39 -0
- data/spec/support/rails2/log/test.log +267 -0
- data/spec/support/rails3/log/test.log +45182 -0
- metadata +45 -23
data/Gemfile
ADDED
data/Gemfile.lock
ADDED
@@ -0,0 +1,88 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
errplane (0.5.16)
|
5
|
+
actionpack (>= 2.3.4)
|
6
|
+
activesupport (>= 2.3.4)
|
7
|
+
json
|
8
|
+
|
9
|
+
GEM
|
10
|
+
remote: http://rubygems.org/
|
11
|
+
specs:
|
12
|
+
actionpack (3.2.8)
|
13
|
+
activemodel (= 3.2.8)
|
14
|
+
activesupport (= 3.2.8)
|
15
|
+
builder (~> 3.0.0)
|
16
|
+
erubis (~> 2.7.0)
|
17
|
+
journey (~> 1.0.4)
|
18
|
+
rack (~> 1.4.0)
|
19
|
+
rack-cache (~> 1.2)
|
20
|
+
rack-test (~> 0.6.1)
|
21
|
+
sprockets (~> 2.1.3)
|
22
|
+
activemodel (3.2.8)
|
23
|
+
activesupport (= 3.2.8)
|
24
|
+
builder (~> 3.0.0)
|
25
|
+
activesupport (3.2.8)
|
26
|
+
i18n (~> 0.6)
|
27
|
+
multi_json (~> 1.0)
|
28
|
+
builder (3.0.4)
|
29
|
+
diff-lcs (1.1.3)
|
30
|
+
erubis (2.7.0)
|
31
|
+
fakeweb (1.3.0)
|
32
|
+
ffi (1.1.4)
|
33
|
+
guard (1.3.0)
|
34
|
+
listen (>= 0.4.2)
|
35
|
+
thor (>= 0.14.6)
|
36
|
+
guard-rspec (1.2.1)
|
37
|
+
guard (>= 1.1)
|
38
|
+
hike (1.2.1)
|
39
|
+
i18n (0.6.1)
|
40
|
+
journey (1.0.4)
|
41
|
+
json (1.7.1)
|
42
|
+
listen (0.4.7)
|
43
|
+
rb-fchange (~> 0.0.5)
|
44
|
+
rb-fsevent (~> 0.9.1)
|
45
|
+
rb-inotify (~> 0.8.8)
|
46
|
+
multi_json (1.3.7)
|
47
|
+
rack (1.4.1)
|
48
|
+
rack-cache (1.2)
|
49
|
+
rack (>= 0.4)
|
50
|
+
rack-test (0.6.2)
|
51
|
+
rack (>= 1.0)
|
52
|
+
rake (0.9.2.2)
|
53
|
+
rb-fchange (0.0.5)
|
54
|
+
ffi
|
55
|
+
rb-fsevent (0.9.1)
|
56
|
+
rb-inotify (0.8.8)
|
57
|
+
ffi (>= 0.5.0)
|
58
|
+
rdoc (3.12)
|
59
|
+
json (~> 1.4)
|
60
|
+
rspec (2.10.0)
|
61
|
+
rspec-core (~> 2.10.0)
|
62
|
+
rspec-expectations (~> 2.10.0)
|
63
|
+
rspec-mocks (~> 2.10.0)
|
64
|
+
rspec-core (2.10.0)
|
65
|
+
rspec-expectations (2.10.0)
|
66
|
+
diff-lcs (~> 1.1.3)
|
67
|
+
rspec-mocks (2.10.1)
|
68
|
+
sprockets (2.1.3)
|
69
|
+
hike (~> 1.2)
|
70
|
+
rack (~> 1.0)
|
71
|
+
tilt (~> 1.1, != 1.3.0)
|
72
|
+
thor (0.15.4)
|
73
|
+
tilt (1.3.3)
|
74
|
+
tzinfo (0.3.33)
|
75
|
+
|
76
|
+
PLATFORMS
|
77
|
+
ruby
|
78
|
+
|
79
|
+
DEPENDENCIES
|
80
|
+
bundler (>= 1.0.0)
|
81
|
+
errplane!
|
82
|
+
fakeweb
|
83
|
+
guard
|
84
|
+
guard-rspec
|
85
|
+
rake
|
86
|
+
rdoc
|
87
|
+
rspec
|
88
|
+
tzinfo
|
data/Rakefile
ADDED
@@ -0,0 +1,35 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
|
3
|
+
if ENV["BUNDLE_GEMFILE"] == File.expand_path("Gemfile")
|
4
|
+
ENV["BUNDLE_GEMFILE"] = "gemfiles/Gemfile.rails-3.2.x"
|
5
|
+
end
|
6
|
+
|
7
|
+
require 'bundler'
|
8
|
+
Bundler::GemHelper.install_tasks
|
9
|
+
|
10
|
+
begin
|
11
|
+
targeted_files = ARGV.drop(1)
|
12
|
+
file_pattern = targeted_files.empty? ? 'spec/**/*_spec.rb' : targeted_files
|
13
|
+
|
14
|
+
require 'rspec/core'
|
15
|
+
require 'rspec/core/rake_task'
|
16
|
+
|
17
|
+
RSpec::Core::RakeTask.new(:spec) do |t|
|
18
|
+
t.pattern = FileList[file_pattern]
|
19
|
+
end
|
20
|
+
|
21
|
+
RSpec.configure do |config|
|
22
|
+
config.color_enabled = true
|
23
|
+
config.tty = true
|
24
|
+
config.formatter = :documentation
|
25
|
+
end
|
26
|
+
rescue LoadError
|
27
|
+
require 'spec/rake/spectask'
|
28
|
+
|
29
|
+
puts file_pattern
|
30
|
+
|
31
|
+
Spec::Rake::SpecTask.new(:spec) do |t|
|
32
|
+
t.pattern = FileList[file_pattern]
|
33
|
+
t.spec_opts += ["--color"]
|
34
|
+
end
|
35
|
+
end
|
data/config.ru
ADDED
data/errplane.gemspec
ADDED
@@ -0,0 +1,35 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
$:.push File.expand_path("../lib", __FILE__)
|
3
|
+
require "errplane/version"
|
4
|
+
|
5
|
+
Gem::Specification.new do |s|
|
6
|
+
s.name = "errplane"
|
7
|
+
s.version = Errplane::VERSION
|
8
|
+
s.authors = ["Todd Persen"]
|
9
|
+
s.email = ["todd@errplane.com"]
|
10
|
+
s.homepage = "http://errplane.com"
|
11
|
+
s.summary = %q{Rails-based instrumentation library for Errplane.}
|
12
|
+
s.description = %q{This gem provides implements instrumentation with Errplane for Rails 3.x applications.}
|
13
|
+
|
14
|
+
s.rubyforge_project = "errplane"
|
15
|
+
|
16
|
+
s.files = Dir.glob('**/*')
|
17
|
+
s.test_files = Dir.glob('test/**/*') + Dir.glob('spec/**/*') + Dir.glob('features/**/*')
|
18
|
+
s.executables = Dir.glob('bin/**/*').map {|f| File.basename(f)}
|
19
|
+
s.require_paths = ["lib"]
|
20
|
+
|
21
|
+
s.licenses = ['MIT']
|
22
|
+
|
23
|
+
s.add_runtime_dependency 'json'
|
24
|
+
|
25
|
+
s.add_dependency 'activesupport', ['>= 2.3.4']
|
26
|
+
s.add_dependency 'actionpack', ['>= 2.3.4']
|
27
|
+
s.add_development_dependency 'bundler', ['>= 1.0.0']
|
28
|
+
s.add_development_dependency 'fakeweb', ['>= 0']
|
29
|
+
s.add_development_dependency 'guard', ['>= 0']
|
30
|
+
s.add_development_dependency 'guard-rspec', ['>= 0']
|
31
|
+
s.add_development_dependency 'rake', ['>= 0']
|
32
|
+
s.add_development_dependency 'rdoc', ['>= 0']
|
33
|
+
s.add_development_dependency 'rspec', ['>= 0']
|
34
|
+
s.add_development_dependency 'tzinfo', ['>= 0']
|
35
|
+
end
|
@@ -0,0 +1,76 @@
|
|
1
|
+
PATH
|
2
|
+
remote: /Users/todd/Projects/errplane/gem
|
3
|
+
specs:
|
4
|
+
errplane (0.5.12)
|
5
|
+
actionpack (>= 2.3.4)
|
6
|
+
activesupport (>= 2.3.4)
|
7
|
+
json
|
8
|
+
|
9
|
+
GEM
|
10
|
+
remote: http://rubygems.org/
|
11
|
+
specs:
|
12
|
+
actionmailer (2.3.4)
|
13
|
+
actionpack (= 2.3.4)
|
14
|
+
actionpack (2.3.4)
|
15
|
+
activesupport (= 2.3.4)
|
16
|
+
rack (~> 1.0.0)
|
17
|
+
activerecord (2.3.4)
|
18
|
+
activesupport (= 2.3.4)
|
19
|
+
activeresource (2.3.4)
|
20
|
+
activesupport (= 2.3.4)
|
21
|
+
activesupport (2.3.4)
|
22
|
+
coderay (1.0.8)
|
23
|
+
fakeweb (1.3.0)
|
24
|
+
guard (1.5.4)
|
25
|
+
listen (>= 0.4.2)
|
26
|
+
lumberjack (>= 1.0.2)
|
27
|
+
pry (>= 0.9.10)
|
28
|
+
thor (>= 0.14.6)
|
29
|
+
guard-rspec (1.2.1)
|
30
|
+
guard (>= 1.1)
|
31
|
+
hoe (3.3.1)
|
32
|
+
json (1.7.5)
|
33
|
+
listen (0.6.0)
|
34
|
+
lumberjack (1.0.2)
|
35
|
+
method_source (0.8.1)
|
36
|
+
pry (0.9.10)
|
37
|
+
coderay (~> 1.0.5)
|
38
|
+
method_source (~> 0.8)
|
39
|
+
slop (~> 3.3.1)
|
40
|
+
rack (1.0.1)
|
41
|
+
rails (2.3.4)
|
42
|
+
actionmailer (= 2.3.4)
|
43
|
+
actionpack (= 2.3.4)
|
44
|
+
activerecord (= 2.3.4)
|
45
|
+
activeresource (= 2.3.4)
|
46
|
+
activesupport (= 2.3.4)
|
47
|
+
rake (>= 0.8.3)
|
48
|
+
rake (10.0.2)
|
49
|
+
rdoc (3.12)
|
50
|
+
json (~> 1.4)
|
51
|
+
rspec (1.3.2)
|
52
|
+
rspec-rails (1.3.4)
|
53
|
+
rack (>= 1.0.0)
|
54
|
+
rspec (~> 1.3.1)
|
55
|
+
slop (3.3.3)
|
56
|
+
test-unit (1.2.3)
|
57
|
+
hoe (>= 1.5.1)
|
58
|
+
thor (0.16.0)
|
59
|
+
tzinfo (0.3.35)
|
60
|
+
|
61
|
+
PLATFORMS
|
62
|
+
ruby
|
63
|
+
|
64
|
+
DEPENDENCIES
|
65
|
+
bundler (>= 1.0.0)
|
66
|
+
errplane!
|
67
|
+
fakeweb
|
68
|
+
guard
|
69
|
+
guard-rspec
|
70
|
+
rails (= 2.3.4)
|
71
|
+
rake
|
72
|
+
rdoc
|
73
|
+
rspec (~> 1.3)
|
74
|
+
rspec-rails (~> 1.3)
|
75
|
+
test-unit (= 1.2.3)
|
76
|
+
tzinfo
|
@@ -0,0 +1,95 @@
|
|
1
|
+
PATH
|
2
|
+
remote: /Users/todd/Projects/errplane/errplane-ruby
|
3
|
+
specs:
|
4
|
+
errplane (0.5.19)
|
5
|
+
actionpack (>= 2.3.4)
|
6
|
+
activesupport (>= 2.3.4)
|
7
|
+
json
|
8
|
+
|
9
|
+
GEM
|
10
|
+
remote: http://rubygems.org/
|
11
|
+
specs:
|
12
|
+
abstract (1.0.0)
|
13
|
+
actionpack (3.0.16)
|
14
|
+
activemodel (= 3.0.16)
|
15
|
+
activesupport (= 3.0.16)
|
16
|
+
builder (~> 2.1.2)
|
17
|
+
erubis (~> 2.6.6)
|
18
|
+
i18n (~> 0.5.0)
|
19
|
+
rack (~> 1.2.5)
|
20
|
+
rack-mount (~> 0.6.14)
|
21
|
+
rack-test (~> 0.5.7)
|
22
|
+
tzinfo (~> 0.3.23)
|
23
|
+
activemodel (3.0.16)
|
24
|
+
activesupport (= 3.0.16)
|
25
|
+
builder (~> 2.1.2)
|
26
|
+
i18n (~> 0.5.0)
|
27
|
+
activesupport (3.0.16)
|
28
|
+
builder (2.1.2)
|
29
|
+
diff-lcs (1.1.3)
|
30
|
+
erubis (2.6.6)
|
31
|
+
abstract (>= 1.0.0)
|
32
|
+
fakeweb (1.3.0)
|
33
|
+
ffi (1.1.4)
|
34
|
+
guard (1.3.0)
|
35
|
+
listen (>= 0.4.2)
|
36
|
+
thor (>= 0.14.6)
|
37
|
+
guard-rspec (1.2.1)
|
38
|
+
guard (>= 1.1)
|
39
|
+
i18n (0.5.0)
|
40
|
+
json (1.7.4)
|
41
|
+
listen (0.4.7)
|
42
|
+
rb-fchange (~> 0.0.5)
|
43
|
+
rb-fsevent (~> 0.9.1)
|
44
|
+
rb-inotify (~> 0.8.8)
|
45
|
+
rack (1.2.5)
|
46
|
+
rack-mount (0.6.14)
|
47
|
+
rack (>= 1.0.0)
|
48
|
+
rack-test (0.5.7)
|
49
|
+
rack (>= 1.0)
|
50
|
+
railties (3.0.16)
|
51
|
+
actionpack (= 3.0.16)
|
52
|
+
activesupport (= 3.0.16)
|
53
|
+
rake (>= 0.8.7)
|
54
|
+
rdoc (~> 3.4)
|
55
|
+
thor (~> 0.14.4)
|
56
|
+
rake (0.9.2.2)
|
57
|
+
rb-fchange (0.0.5)
|
58
|
+
ffi
|
59
|
+
rb-fsevent (0.9.1)
|
60
|
+
rb-inotify (0.8.8)
|
61
|
+
ffi (>= 0.5.0)
|
62
|
+
rdoc (3.12)
|
63
|
+
json (~> 1.4)
|
64
|
+
rspec (2.11.0)
|
65
|
+
rspec-core (~> 2.11.0)
|
66
|
+
rspec-expectations (~> 2.11.0)
|
67
|
+
rspec-mocks (~> 2.11.0)
|
68
|
+
rspec-core (2.11.1)
|
69
|
+
rspec-expectations (2.11.2)
|
70
|
+
diff-lcs (~> 1.1.3)
|
71
|
+
rspec-mocks (2.11.1)
|
72
|
+
rspec-rails (2.11.0)
|
73
|
+
actionpack (>= 3.0)
|
74
|
+
activesupport (>= 3.0)
|
75
|
+
railties (>= 3.0)
|
76
|
+
rspec (~> 2.11.0)
|
77
|
+
thor (0.14.6)
|
78
|
+
tzinfo (0.3.33)
|
79
|
+
|
80
|
+
PLATFORMS
|
81
|
+
ruby
|
82
|
+
|
83
|
+
DEPENDENCIES
|
84
|
+
actionpack (~> 3.0.15)
|
85
|
+
activesupport (~> 3.0.15)
|
86
|
+
bundler (>= 1.0.0)
|
87
|
+
errplane!
|
88
|
+
fakeweb
|
89
|
+
guard
|
90
|
+
guard-rspec
|
91
|
+
rake
|
92
|
+
rdoc
|
93
|
+
rspec
|
94
|
+
rspec-rails (>= 2.0)
|
95
|
+
tzinfo
|
@@ -0,0 +1,107 @@
|
|
1
|
+
PATH
|
2
|
+
remote: /Users/todd/Projects/errplane/errplane-ruby
|
3
|
+
specs:
|
4
|
+
errplane (0.5.19)
|
5
|
+
actionpack (>= 2.3.4)
|
6
|
+
activesupport (>= 2.3.4)
|
7
|
+
json
|
8
|
+
|
9
|
+
GEM
|
10
|
+
remote: http://rubygems.org/
|
11
|
+
specs:
|
12
|
+
actionpack (3.1.7)
|
13
|
+
activemodel (= 3.1.7)
|
14
|
+
activesupport (= 3.1.7)
|
15
|
+
builder (~> 3.0.0)
|
16
|
+
erubis (~> 2.7.0)
|
17
|
+
i18n (~> 0.6)
|
18
|
+
rack (~> 1.3.6)
|
19
|
+
rack-cache (~> 1.2)
|
20
|
+
rack-mount (~> 0.8.2)
|
21
|
+
rack-test (~> 0.6.1)
|
22
|
+
sprockets (~> 2.0.4)
|
23
|
+
activemodel (3.1.7)
|
24
|
+
activesupport (= 3.1.7)
|
25
|
+
builder (~> 3.0.0)
|
26
|
+
i18n (~> 0.6)
|
27
|
+
activesupport (3.1.7)
|
28
|
+
multi_json (>= 1.0, < 1.3)
|
29
|
+
builder (3.0.0)
|
30
|
+
diff-lcs (1.1.3)
|
31
|
+
erubis (2.7.0)
|
32
|
+
fakeweb (1.3.0)
|
33
|
+
ffi (1.1.4)
|
34
|
+
guard (1.3.0)
|
35
|
+
listen (>= 0.4.2)
|
36
|
+
thor (>= 0.14.6)
|
37
|
+
guard-rspec (1.2.1)
|
38
|
+
guard (>= 1.1)
|
39
|
+
hike (1.2.1)
|
40
|
+
i18n (0.6.0)
|
41
|
+
json (1.7.4)
|
42
|
+
listen (0.4.7)
|
43
|
+
rb-fchange (~> 0.0.5)
|
44
|
+
rb-fsevent (~> 0.9.1)
|
45
|
+
rb-inotify (~> 0.8.8)
|
46
|
+
multi_json (1.2.0)
|
47
|
+
rack (1.3.6)
|
48
|
+
rack-cache (1.2)
|
49
|
+
rack (>= 0.4)
|
50
|
+
rack-mount (0.8.3)
|
51
|
+
rack (>= 1.0.0)
|
52
|
+
rack-ssl (1.3.2)
|
53
|
+
rack
|
54
|
+
rack-test (0.6.1)
|
55
|
+
rack (>= 1.0)
|
56
|
+
railties (3.1.7)
|
57
|
+
actionpack (= 3.1.7)
|
58
|
+
activesupport (= 3.1.7)
|
59
|
+
rack-ssl (~> 1.3.2)
|
60
|
+
rake (>= 0.8.7)
|
61
|
+
rdoc (~> 3.4)
|
62
|
+
thor (~> 0.14.6)
|
63
|
+
rake (0.9.2.2)
|
64
|
+
rb-fchange (0.0.5)
|
65
|
+
ffi
|
66
|
+
rb-fsevent (0.9.1)
|
67
|
+
rb-inotify (0.8.8)
|
68
|
+
ffi (>= 0.5.0)
|
69
|
+
rdoc (3.12)
|
70
|
+
json (~> 1.4)
|
71
|
+
rspec (2.11.0)
|
72
|
+
rspec-core (~> 2.11.0)
|
73
|
+
rspec-expectations (~> 2.11.0)
|
74
|
+
rspec-mocks (~> 2.11.0)
|
75
|
+
rspec-core (2.11.1)
|
76
|
+
rspec-expectations (2.11.2)
|
77
|
+
diff-lcs (~> 1.1.3)
|
78
|
+
rspec-mocks (2.11.1)
|
79
|
+
rspec-rails (2.11.0)
|
80
|
+
actionpack (>= 3.0)
|
81
|
+
activesupport (>= 3.0)
|
82
|
+
railties (>= 3.0)
|
83
|
+
rspec (~> 2.11.0)
|
84
|
+
sprockets (2.0.4)
|
85
|
+
hike (~> 1.2)
|
86
|
+
rack (~> 1.0)
|
87
|
+
tilt (~> 1.1, != 1.3.0)
|
88
|
+
thor (0.14.6)
|
89
|
+
tilt (1.3.3)
|
90
|
+
tzinfo (0.3.33)
|
91
|
+
|
92
|
+
PLATFORMS
|
93
|
+
ruby
|
94
|
+
|
95
|
+
DEPENDENCIES
|
96
|
+
actionpack (~> 3.1.5)
|
97
|
+
activesupport (~> 3.1.5)
|
98
|
+
bundler (>= 1.0.0)
|
99
|
+
errplane!
|
100
|
+
fakeweb
|
101
|
+
guard
|
102
|
+
guard-rspec
|
103
|
+
rake
|
104
|
+
rdoc
|
105
|
+
rspec
|
106
|
+
rspec-rails (>= 2.0)
|
107
|
+
tzinfo
|