heroku-true-relic 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/MIT-LICENSE +20 -0
- data/README.md +39 -0
- data/Rakefile +56 -0
- data/lib/heroku-true-relic.rb +5 -0
- data/lib/heroku-true-relic/queue_time_logger.rb +32 -0
- data/lib/heroku-true-relic/rails2.rb +13 -0
- data/lib/heroku-true-relic/railtie.rb +7 -0
- data/lib/heroku-true-relic/version.rb +3 -0
- data/lib/tasks/heroku-true-relic_tasks.rake +4 -0
- data/spec/rails-2.3/Gemfile +14 -0
- data/spec/rails-2.3/Gemfile.lock +82 -0
- data/spec/rails-2.3/Rakefile +10 -0
- data/spec/rails-2.3/app_root/config/boot.rb +114 -0
- data/spec/rails-2.3/app_root/config/database.yml +22 -0
- data/spec/rails-2.3/app_root/config/environment.rb +45 -0
- data/spec/rails-2.3/app_root/config/environments/development.rb +17 -0
- data/spec/rails-2.3/app_root/config/environments/production.rb +28 -0
- data/spec/rails-2.3/app_root/config/environments/test.rb +28 -0
- data/spec/rails-2.3/app_root/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/rails-2.3/app_root/config/initializers/cookie_verification_secret.rb +7 -0
- data/spec/rails-2.3/app_root/config/initializers/inflections.rb +10 -0
- data/spec/rails-2.3/app_root/config/initializers/mime_types.rb +5 -0
- data/spec/rails-2.3/app_root/config/initializers/new_rails_defaults.rb +21 -0
- data/spec/rails-2.3/app_root/config/initializers/session_store.rb +15 -0
- data/spec/rails-2.3/app_root/config/locales/en.yml +5 -0
- data/spec/rails-2.3/app_root/config/routes.rb +4 -0
- data/spec/rails-2.3/app_root/db/development.sqlite3 +0 -0
- data/spec/rails-2.3/app_root/db/seeds.rb +7 -0
- data/spec/rails-2.3/app_root/db/test.sqlite3 +0 -0
- data/spec/rails-2.3/app_root/doc/README_FOR_APP +2 -0
- data/spec/rails-2.3/app_root/log/development.log +43 -0
- data/spec/rails-2.3/app_root/log/production.log +0 -0
- data/spec/rails-2.3/app_root/log/server.log +0 -0
- data/spec/rails-2.3/app_root/log/test.log +380 -0
- data/spec/rails-2.3/app_root/public/404.html +30 -0
- data/spec/rails-2.3/app_root/public/422.html +30 -0
- data/spec/rails-2.3/app_root/public/500.html +30 -0
- data/spec/rails-2.3/app_root/public/favicon.ico +0 -0
- data/spec/rails-2.3/app_root/public/images/rails.png +0 -0
- data/spec/rails-2.3/app_root/public/javascripts/application.js +2 -0
- data/spec/rails-2.3/app_root/public/javascripts/controls.js +963 -0
- data/spec/rails-2.3/app_root/public/javascripts/dragdrop.js +973 -0
- data/spec/rails-2.3/app_root/public/javascripts/effects.js +1128 -0
- data/spec/rails-2.3/app_root/public/javascripts/prototype.js +4320 -0
- data/spec/rails-2.3/app_root/public/robots.txt +5 -0
- data/spec/rails-2.3/app_root/script/about +4 -0
- data/spec/rails-2.3/app_root/script/console +3 -0
- data/spec/rails-2.3/app_root/script/dbconsole +3 -0
- data/spec/rails-2.3/app_root/script/destroy +3 -0
- data/spec/rails-2.3/app_root/script/generate +3 -0
- data/spec/rails-2.3/app_root/script/performance/benchmarker +3 -0
- data/spec/rails-2.3/app_root/script/performance/profiler +3 -0
- data/spec/rails-2.3/app_root/script/plugin +3 -0
- data/spec/rails-2.3/app_root/script/runner +3 -0
- data/spec/rails-2.3/app_root/script/server +3 -0
- data/spec/rails-2.3/app_root/test/performance/browsing_test.rb +9 -0
- data/spec/rails-2.3/app_root/test/test_helper.rb +38 -0
- data/spec/rails-2.3/spec/spec.opts +4 -0
- data/spec/rails-2.3/spec/spec_helper.rb +59 -0
- data/spec/rails-3.2/Gemfile +14 -0
- data/spec/rails-3.2/Gemfile.lock +146 -0
- data/spec/rails-3.2/Rakefile +10 -0
- data/spec/rails-3.2/app_root/README.rdoc +261 -0
- data/spec/rails-3.2/app_root/config.ru +4 -0
- data/spec/rails-3.2/app_root/config/application.rb +59 -0
- data/spec/rails-3.2/app_root/config/boot.rb +10 -0
- data/spec/rails-3.2/app_root/config/database.yml +25 -0
- data/spec/rails-3.2/app_root/config/environment.rb +5 -0
- data/spec/rails-3.2/app_root/config/environments/development.rb +37 -0
- data/spec/rails-3.2/app_root/config/environments/production.rb +67 -0
- data/spec/rails-3.2/app_root/config/environments/test.rb +37 -0
- data/spec/rails-3.2/app_root/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/rails-3.2/app_root/config/initializers/inflections.rb +15 -0
- data/spec/rails-3.2/app_root/config/initializers/mime_types.rb +5 -0
- data/spec/rails-3.2/app_root/config/initializers/secret_token.rb +7 -0
- data/spec/rails-3.2/app_root/config/initializers/session_store.rb +8 -0
- data/spec/rails-3.2/app_root/config/initializers/wrap_parameters.rb +14 -0
- data/spec/rails-3.2/app_root/config/locales/en.yml +5 -0
- data/spec/rails-3.2/app_root/config/routes.rb +61 -0
- data/spec/rails-3.2/app_root/db/development.sqlite3 +0 -0
- data/spec/rails-3.2/app_root/db/test.sqlite3 +0 -0
- data/spec/rails-3.2/app_root/log/development.log +75 -0
- data/spec/rails-3.2/app_root/log/test.log +883 -0
- data/spec/rails-3.2/app_root/public/404.html +26 -0
- data/spec/rails-3.2/app_root/public/422.html +26 -0
- data/spec/rails-3.2/app_root/public/500.html +25 -0
- data/spec/rails-3.2/app_root/public/favicon.ico +0 -0
- data/spec/rails-3.2/app_root/script/rails +6 -0
- data/spec/rails-3.2/spec/spec_helper.rb +47 -0
- data/spec/shared/app_root/app/assets/javascripts/application.js +15 -0
- data/spec/shared/app_root/app/assets/stylesheets/application.css +13 -0
- data/spec/shared/app_root/app/controllers/application_controller.rb +3 -0
- data/spec/shared/app_root/app/controllers/dummy_controller.rb +5 -0
- data/spec/shared/app_root/app/controllers/env_controller.rb +5 -0
- data/spec/shared/app_root/app/helpers/application_helper.rb +2 -0
- data/spec/shared/app_root/app/views/layouts/application.html.erb +14 -0
- data/spec/shared/heroku-true-relic/heroku-true-relic_spec.rb +44 -0
- metadata +366 -0
@@ -0,0 +1,26 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>The page you were looking for doesn't exist (404)</title>
|
5
|
+
<style type="text/css">
|
6
|
+
body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
|
7
|
+
div.dialog {
|
8
|
+
width: 25em;
|
9
|
+
padding: 0 4em;
|
10
|
+
margin: 4em auto 0 auto;
|
11
|
+
border: 1px solid #ccc;
|
12
|
+
border-right-color: #999;
|
13
|
+
border-bottom-color: #999;
|
14
|
+
}
|
15
|
+
h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
|
16
|
+
</style>
|
17
|
+
</head>
|
18
|
+
|
19
|
+
<body>
|
20
|
+
<!-- This file lives in public/404.html -->
|
21
|
+
<div class="dialog">
|
22
|
+
<h1>The page you were looking for doesn't exist.</h1>
|
23
|
+
<p>You may have mistyped the address or the page may have moved.</p>
|
24
|
+
</div>
|
25
|
+
</body>
|
26
|
+
</html>
|
@@ -0,0 +1,26 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>The change you wanted was rejected (422)</title>
|
5
|
+
<style type="text/css">
|
6
|
+
body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
|
7
|
+
div.dialog {
|
8
|
+
width: 25em;
|
9
|
+
padding: 0 4em;
|
10
|
+
margin: 4em auto 0 auto;
|
11
|
+
border: 1px solid #ccc;
|
12
|
+
border-right-color: #999;
|
13
|
+
border-bottom-color: #999;
|
14
|
+
}
|
15
|
+
h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
|
16
|
+
</style>
|
17
|
+
</head>
|
18
|
+
|
19
|
+
<body>
|
20
|
+
<!-- This file lives in public/422.html -->
|
21
|
+
<div class="dialog">
|
22
|
+
<h1>The change you wanted was rejected.</h1>
|
23
|
+
<p>Maybe you tried to change something you didn't have access to.</p>
|
24
|
+
</div>
|
25
|
+
</body>
|
26
|
+
</html>
|
@@ -0,0 +1,25 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>We're sorry, but something went wrong (500)</title>
|
5
|
+
<style type="text/css">
|
6
|
+
body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
|
7
|
+
div.dialog {
|
8
|
+
width: 25em;
|
9
|
+
padding: 0 4em;
|
10
|
+
margin: 4em auto 0 auto;
|
11
|
+
border: 1px solid #ccc;
|
12
|
+
border-right-color: #999;
|
13
|
+
border-bottom-color: #999;
|
14
|
+
}
|
15
|
+
h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
|
16
|
+
</style>
|
17
|
+
</head>
|
18
|
+
|
19
|
+
<body>
|
20
|
+
<!-- This file lives in public/500.html -->
|
21
|
+
<div class="dialog">
|
22
|
+
<h1>We're sorry, but something went wrong.</h1>
|
23
|
+
</div>
|
24
|
+
</body>
|
25
|
+
</html>
|
File without changes
|
@@ -0,0 +1,6 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
# This command will automatically be run when you run "rails" with Rails 3 gems installed from the root of your application.
|
3
|
+
|
4
|
+
APP_PATH = File.expand_path('../../config/application', __FILE__)
|
5
|
+
require File.expand_path('../../config/boot', __FILE__)
|
6
|
+
require 'rails/commands'
|
@@ -0,0 +1,47 @@
|
|
1
|
+
# This file is copied to spec/ when you run 'rails generate rspec:install'
|
2
|
+
ENV["RAILS_ENV"] ||= 'test'
|
3
|
+
require File.expand_path("../../app_root/config/environment.rb", __FILE__)
|
4
|
+
|
5
|
+
require 'rspec/rails'
|
6
|
+
require 'rspec/autorun'
|
7
|
+
require 'rubygems'
|
8
|
+
require 'pry'
|
9
|
+
require 'pry-rails'
|
10
|
+
require 'capybara/rails'
|
11
|
+
require 'capybara/rspec'
|
12
|
+
require 'timecop'
|
13
|
+
|
14
|
+
# Requires supporting ruby files with custom matchers and macros, etc,
|
15
|
+
# in spec/support/ and its subdirectories.
|
16
|
+
Dir[Rails.root.join("spec/support/**/*.rb")].each {|f| require f}
|
17
|
+
|
18
|
+
RSpec.configure do |config|
|
19
|
+
# ## Mock Framework
|
20
|
+
#
|
21
|
+
# If you prefer to use mocha, flexmock or RR, uncomment the appropriate line:
|
22
|
+
#
|
23
|
+
# config.mock_with :mocha
|
24
|
+
# config.mock_with :flexmock
|
25
|
+
# config.mock_with :rr
|
26
|
+
|
27
|
+
# Remove this line if you're not using ActiveRecord or ActiveRecord fixtures
|
28
|
+
config.fixture_path = "#{::Rails.root}/spec/fixtures"
|
29
|
+
|
30
|
+
# If you're not using ActiveRecord, or you'd prefer not to run each of your
|
31
|
+
# examples within a transaction, remove the following line or assign false
|
32
|
+
# instead of true.
|
33
|
+
config.use_transactional_fixtures = true
|
34
|
+
|
35
|
+
# If true, the base class of anonymous controllers will be inferred
|
36
|
+
# automatically. This will be the default behavior in future versions of
|
37
|
+
# rspec-rails.
|
38
|
+
config.infer_base_class_for_anonymous_controllers = false
|
39
|
+
|
40
|
+
# Run specs in random order to surface order dependencies. If you find an
|
41
|
+
# order dependency and want to debug it, you can fix the order by providing
|
42
|
+
# the seed, which is printed after each run.
|
43
|
+
# --seed 1234
|
44
|
+
config.order = "random"
|
45
|
+
|
46
|
+
config.color_enabled = true
|
47
|
+
end
|
@@ -0,0 +1,15 @@
|
|
1
|
+
// This is a manifest file that'll be compiled into application.js, which will include all the files
|
2
|
+
// listed below.
|
3
|
+
//
|
4
|
+
// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
|
5
|
+
// or vendor/assets/javascripts of plugins, if any, can be referenced here using a relative path.
|
6
|
+
//
|
7
|
+
// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
|
8
|
+
// the compiled file.
|
9
|
+
//
|
10
|
+
// WARNING: THE FIRST BLANK LINE MARKS THE END OF WHAT'S TO BE PROCESSED, ANY BLANK LINE SHOULD
|
11
|
+
// GO AFTER THE REQUIRES BELOW.
|
12
|
+
//
|
13
|
+
//= require jquery
|
14
|
+
//= require jquery_ujs
|
15
|
+
//= require_tree .
|
@@ -0,0 +1,13 @@
|
|
1
|
+
/*
|
2
|
+
* This is a manifest file that'll be compiled into application.css, which will include all the files
|
3
|
+
* listed below.
|
4
|
+
*
|
5
|
+
* Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
|
6
|
+
* or vendor/assets/stylesheets of plugins, if any, can be referenced here using a relative path.
|
7
|
+
*
|
8
|
+
* You're free to add application-wide styles to this file and they'll appear at the top of the
|
9
|
+
* compiled file, but it's generally better to create a new file per style scope.
|
10
|
+
*
|
11
|
+
*= require_self
|
12
|
+
*= require_tree .
|
13
|
+
*/
|
@@ -0,0 +1,44 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe HerokuTrueRelic, :type => :feature do
|
4
|
+
describe 'queue time headers' do
|
5
|
+
def to_millis(time)
|
6
|
+
(time.to_f * 1_000).to_i
|
7
|
+
end
|
8
|
+
|
9
|
+
let!(:request_start) { Time.at(Time.now.utc.to_i).utc }
|
10
|
+
let(:request_start_ms) { to_millis(request_start) }
|
11
|
+
let(:queue_time) { 1.second }
|
12
|
+
let(:queue_time_ms) { to_millis(queue_time) }
|
13
|
+
let(:request_receive_time) { request_start + queue_time }
|
14
|
+
|
15
|
+
let(:port) { Capybara.server_port || 5671 }
|
16
|
+
let(:uri) { URI.parse "http://localhost:#{port}/env/#{env_var}" }
|
17
|
+
let(:res) do
|
18
|
+
req = Net::HTTP::Get.new(uri.request_uri)
|
19
|
+
req['X-Request-Start'] = request_start_ms
|
20
|
+
res = Net::HTTP.start(uri.hostname, uri.port) {|http| http.request(req) }
|
21
|
+
end
|
22
|
+
|
23
|
+
before do
|
24
|
+
Timecop.freeze(request_receive_time)
|
25
|
+
Capybara::Server.new(Capybara.app, port).boot
|
26
|
+
end
|
27
|
+
|
28
|
+
after do
|
29
|
+
Timecop.return
|
30
|
+
end
|
31
|
+
|
32
|
+
subject { res.body }
|
33
|
+
|
34
|
+
describe 'HTTP_X_QUEUE_TIME' do
|
35
|
+
let(:env_var) { "HTTP_X_QUEUE_TIME" }
|
36
|
+
it { should == "t=#{queue_time_ms * 1_000}" }
|
37
|
+
end
|
38
|
+
|
39
|
+
describe 'HTTP_X_MIDDLEWARE_START' do
|
40
|
+
let(:env_var) { 'HTTP_X_MIDDLEWARE_START' }
|
41
|
+
it { should == "t=#{to_millis(request_receive_time) * 1_000}" }
|
42
|
+
end
|
43
|
+
end
|
44
|
+
end
|
metadata
ADDED
@@ -0,0 +1,366 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: heroku-true-relic
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Andrew Warner
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2013-02-17 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: rails
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ~>
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: 3.2.12
|
22
|
+
type: :development
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ~>
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: 3.2.12
|
30
|
+
- !ruby/object:Gem::Dependency
|
31
|
+
name: sqlite3
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
34
|
+
requirements:
|
35
|
+
- - ! '>='
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: '0'
|
38
|
+
type: :development
|
39
|
+
prerelease: false
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ! '>='
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: '0'
|
46
|
+
- !ruby/object:Gem::Dependency
|
47
|
+
name: rspec
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
50
|
+
requirements:
|
51
|
+
- - ! '>='
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '0'
|
54
|
+
type: :development
|
55
|
+
prerelease: false
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
58
|
+
requirements:
|
59
|
+
- - ! '>='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
- !ruby/object:Gem::Dependency
|
63
|
+
name: rspec-rails
|
64
|
+
requirement: !ruby/object:Gem::Requirement
|
65
|
+
none: false
|
66
|
+
requirements:
|
67
|
+
- - ! '>='
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: '0'
|
70
|
+
type: :development
|
71
|
+
prerelease: false
|
72
|
+
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
74
|
+
requirements:
|
75
|
+
- - ! '>='
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: '0'
|
78
|
+
- !ruby/object:Gem::Dependency
|
79
|
+
name: pry
|
80
|
+
requirement: !ruby/object:Gem::Requirement
|
81
|
+
none: false
|
82
|
+
requirements:
|
83
|
+
- - ! '>='
|
84
|
+
- !ruby/object:Gem::Version
|
85
|
+
version: '0'
|
86
|
+
type: :development
|
87
|
+
prerelease: false
|
88
|
+
version_requirements: !ruby/object:Gem::Requirement
|
89
|
+
none: false
|
90
|
+
requirements:
|
91
|
+
- - ! '>='
|
92
|
+
- !ruby/object:Gem::Version
|
93
|
+
version: '0'
|
94
|
+
- !ruby/object:Gem::Dependency
|
95
|
+
name: pry-rails
|
96
|
+
requirement: !ruby/object:Gem::Requirement
|
97
|
+
none: false
|
98
|
+
requirements:
|
99
|
+
- - ! '>='
|
100
|
+
- !ruby/object:Gem::Version
|
101
|
+
version: '0'
|
102
|
+
type: :development
|
103
|
+
prerelease: false
|
104
|
+
version_requirements: !ruby/object:Gem::Requirement
|
105
|
+
none: false
|
106
|
+
requirements:
|
107
|
+
- - ! '>='
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: '0'
|
110
|
+
- !ruby/object:Gem::Dependency
|
111
|
+
name: capybara
|
112
|
+
requirement: !ruby/object:Gem::Requirement
|
113
|
+
none: false
|
114
|
+
requirements:
|
115
|
+
- - ! '>='
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
none: false
|
122
|
+
requirements:
|
123
|
+
- - ! '>='
|
124
|
+
- !ruby/object:Gem::Version
|
125
|
+
version: '0'
|
126
|
+
- !ruby/object:Gem::Dependency
|
127
|
+
name: timecop
|
128
|
+
requirement: !ruby/object:Gem::Requirement
|
129
|
+
none: false
|
130
|
+
requirements:
|
131
|
+
- - ! '>='
|
132
|
+
- !ruby/object:Gem::Version
|
133
|
+
version: '0'
|
134
|
+
type: :development
|
135
|
+
prerelease: false
|
136
|
+
version_requirements: !ruby/object:Gem::Requirement
|
137
|
+
none: false
|
138
|
+
requirements:
|
139
|
+
- - ! '>='
|
140
|
+
- !ruby/object:Gem::Version
|
141
|
+
version: '0'
|
142
|
+
description: ! " New Relic (on Heroku) currently reports queue times as queuing at
|
143
|
+
the router level. The goal\n of this gem is to provide new relic with the proper
|
144
|
+
queueing time for requests, which takes\n into account queue time at the dyno level.\n"
|
145
|
+
email:
|
146
|
+
- andrew@rapgenius.com
|
147
|
+
executables: []
|
148
|
+
extensions: []
|
149
|
+
extra_rdoc_files: []
|
150
|
+
files:
|
151
|
+
- lib/heroku-true-relic/queue_time_logger.rb
|
152
|
+
- lib/heroku-true-relic/rails2.rb
|
153
|
+
- lib/heroku-true-relic/railtie.rb
|
154
|
+
- lib/heroku-true-relic/version.rb
|
155
|
+
- lib/heroku-true-relic.rb
|
156
|
+
- lib/tasks/heroku-true-relic_tasks.rake
|
157
|
+
- MIT-LICENSE
|
158
|
+
- Rakefile
|
159
|
+
- README.md
|
160
|
+
- spec/rails-2.3/app_root/config/boot.rb
|
161
|
+
- spec/rails-2.3/app_root/config/database.yml
|
162
|
+
- spec/rails-2.3/app_root/config/environment.rb
|
163
|
+
- spec/rails-2.3/app_root/config/environments/development.rb
|
164
|
+
- spec/rails-2.3/app_root/config/environments/production.rb
|
165
|
+
- spec/rails-2.3/app_root/config/environments/test.rb
|
166
|
+
- spec/rails-2.3/app_root/config/initializers/backtrace_silencers.rb
|
167
|
+
- spec/rails-2.3/app_root/config/initializers/cookie_verification_secret.rb
|
168
|
+
- spec/rails-2.3/app_root/config/initializers/inflections.rb
|
169
|
+
- spec/rails-2.3/app_root/config/initializers/mime_types.rb
|
170
|
+
- spec/rails-2.3/app_root/config/initializers/new_rails_defaults.rb
|
171
|
+
- spec/rails-2.3/app_root/config/initializers/session_store.rb
|
172
|
+
- spec/rails-2.3/app_root/config/locales/en.yml
|
173
|
+
- spec/rails-2.3/app_root/config/routes.rb
|
174
|
+
- spec/rails-2.3/app_root/db/development.sqlite3
|
175
|
+
- spec/rails-2.3/app_root/db/seeds.rb
|
176
|
+
- spec/rails-2.3/app_root/db/test.sqlite3
|
177
|
+
- spec/rails-2.3/app_root/doc/README_FOR_APP
|
178
|
+
- spec/rails-2.3/app_root/log/development.log
|
179
|
+
- spec/rails-2.3/app_root/log/production.log
|
180
|
+
- spec/rails-2.3/app_root/log/server.log
|
181
|
+
- spec/rails-2.3/app_root/log/test.log
|
182
|
+
- spec/rails-2.3/app_root/public/404.html
|
183
|
+
- spec/rails-2.3/app_root/public/422.html
|
184
|
+
- spec/rails-2.3/app_root/public/500.html
|
185
|
+
- spec/rails-2.3/app_root/public/favicon.ico
|
186
|
+
- spec/rails-2.3/app_root/public/images/rails.png
|
187
|
+
- spec/rails-2.3/app_root/public/javascripts/application.js
|
188
|
+
- spec/rails-2.3/app_root/public/javascripts/controls.js
|
189
|
+
- spec/rails-2.3/app_root/public/javascripts/dragdrop.js
|
190
|
+
- spec/rails-2.3/app_root/public/javascripts/effects.js
|
191
|
+
- spec/rails-2.3/app_root/public/javascripts/prototype.js
|
192
|
+
- spec/rails-2.3/app_root/public/robots.txt
|
193
|
+
- spec/rails-2.3/app_root/script/about
|
194
|
+
- spec/rails-2.3/app_root/script/console
|
195
|
+
- spec/rails-2.3/app_root/script/dbconsole
|
196
|
+
- spec/rails-2.3/app_root/script/destroy
|
197
|
+
- spec/rails-2.3/app_root/script/generate
|
198
|
+
- spec/rails-2.3/app_root/script/performance/benchmarker
|
199
|
+
- spec/rails-2.3/app_root/script/performance/profiler
|
200
|
+
- spec/rails-2.3/app_root/script/plugin
|
201
|
+
- spec/rails-2.3/app_root/script/runner
|
202
|
+
- spec/rails-2.3/app_root/script/server
|
203
|
+
- spec/rails-2.3/app_root/test/performance/browsing_test.rb
|
204
|
+
- spec/rails-2.3/app_root/test/test_helper.rb
|
205
|
+
- spec/rails-2.3/Gemfile
|
206
|
+
- spec/rails-2.3/Gemfile.lock
|
207
|
+
- spec/rails-2.3/Rakefile
|
208
|
+
- spec/rails-2.3/spec/spec.opts
|
209
|
+
- spec/rails-2.3/spec/spec_helper.rb
|
210
|
+
- spec/rails-3.2/app_root/config/application.rb
|
211
|
+
- spec/rails-3.2/app_root/config/boot.rb
|
212
|
+
- spec/rails-3.2/app_root/config/database.yml
|
213
|
+
- spec/rails-3.2/app_root/config/environment.rb
|
214
|
+
- spec/rails-3.2/app_root/config/environments/development.rb
|
215
|
+
- spec/rails-3.2/app_root/config/environments/production.rb
|
216
|
+
- spec/rails-3.2/app_root/config/environments/test.rb
|
217
|
+
- spec/rails-3.2/app_root/config/initializers/backtrace_silencers.rb
|
218
|
+
- spec/rails-3.2/app_root/config/initializers/inflections.rb
|
219
|
+
- spec/rails-3.2/app_root/config/initializers/mime_types.rb
|
220
|
+
- spec/rails-3.2/app_root/config/initializers/secret_token.rb
|
221
|
+
- spec/rails-3.2/app_root/config/initializers/session_store.rb
|
222
|
+
- spec/rails-3.2/app_root/config/initializers/wrap_parameters.rb
|
223
|
+
- spec/rails-3.2/app_root/config/locales/en.yml
|
224
|
+
- spec/rails-3.2/app_root/config/routes.rb
|
225
|
+
- spec/rails-3.2/app_root/config.ru
|
226
|
+
- spec/rails-3.2/app_root/db/development.sqlite3
|
227
|
+
- spec/rails-3.2/app_root/db/test.sqlite3
|
228
|
+
- spec/rails-3.2/app_root/log/development.log
|
229
|
+
- spec/rails-3.2/app_root/log/test.log
|
230
|
+
- spec/rails-3.2/app_root/public/404.html
|
231
|
+
- spec/rails-3.2/app_root/public/422.html
|
232
|
+
- spec/rails-3.2/app_root/public/500.html
|
233
|
+
- spec/rails-3.2/app_root/public/favicon.ico
|
234
|
+
- spec/rails-3.2/app_root/README.rdoc
|
235
|
+
- spec/rails-3.2/app_root/script/rails
|
236
|
+
- spec/rails-3.2/Gemfile
|
237
|
+
- spec/rails-3.2/Gemfile.lock
|
238
|
+
- spec/rails-3.2/Rakefile
|
239
|
+
- spec/rails-3.2/spec/spec_helper.rb
|
240
|
+
- spec/shared/app_root/app/assets/javascripts/application.js
|
241
|
+
- spec/shared/app_root/app/assets/stylesheets/application.css
|
242
|
+
- spec/shared/app_root/app/controllers/application_controller.rb
|
243
|
+
- spec/shared/app_root/app/controllers/dummy_controller.rb
|
244
|
+
- spec/shared/app_root/app/controllers/env_controller.rb
|
245
|
+
- spec/shared/app_root/app/helpers/application_helper.rb
|
246
|
+
- spec/shared/app_root/app/views/layouts/application.html.erb
|
247
|
+
- spec/shared/heroku-true-relic/heroku-true-relic_spec.rb
|
248
|
+
homepage: http://rubygems.org/gems/heroku-true-relic
|
249
|
+
licenses: []
|
250
|
+
post_install_message:
|
251
|
+
rdoc_options: []
|
252
|
+
require_paths:
|
253
|
+
- lib
|
254
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
255
|
+
none: false
|
256
|
+
requirements:
|
257
|
+
- - ! '>='
|
258
|
+
- !ruby/object:Gem::Version
|
259
|
+
version: '0'
|
260
|
+
segments:
|
261
|
+
- 0
|
262
|
+
hash: 2493736657284356271
|
263
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
264
|
+
none: false
|
265
|
+
requirements:
|
266
|
+
- - ! '>='
|
267
|
+
- !ruby/object:Gem::Version
|
268
|
+
version: '0'
|
269
|
+
segments:
|
270
|
+
- 0
|
271
|
+
hash: 2493736657284356271
|
272
|
+
requirements: []
|
273
|
+
rubyforge_project:
|
274
|
+
rubygems_version: 1.8.24
|
275
|
+
signing_key:
|
276
|
+
specification_version: 3
|
277
|
+
summary: Get accurate heroku queue times in new relic
|
278
|
+
test_files:
|
279
|
+
- spec/rails-2.3/app_root/config/boot.rb
|
280
|
+
- spec/rails-2.3/app_root/config/database.yml
|
281
|
+
- spec/rails-2.3/app_root/config/environment.rb
|
282
|
+
- spec/rails-2.3/app_root/config/environments/development.rb
|
283
|
+
- spec/rails-2.3/app_root/config/environments/production.rb
|
284
|
+
- spec/rails-2.3/app_root/config/environments/test.rb
|
285
|
+
- spec/rails-2.3/app_root/config/initializers/backtrace_silencers.rb
|
286
|
+
- spec/rails-2.3/app_root/config/initializers/cookie_verification_secret.rb
|
287
|
+
- spec/rails-2.3/app_root/config/initializers/inflections.rb
|
288
|
+
- spec/rails-2.3/app_root/config/initializers/mime_types.rb
|
289
|
+
- spec/rails-2.3/app_root/config/initializers/new_rails_defaults.rb
|
290
|
+
- spec/rails-2.3/app_root/config/initializers/session_store.rb
|
291
|
+
- spec/rails-2.3/app_root/config/locales/en.yml
|
292
|
+
- spec/rails-2.3/app_root/config/routes.rb
|
293
|
+
- spec/rails-2.3/app_root/db/development.sqlite3
|
294
|
+
- spec/rails-2.3/app_root/db/seeds.rb
|
295
|
+
- spec/rails-2.3/app_root/db/test.sqlite3
|
296
|
+
- spec/rails-2.3/app_root/doc/README_FOR_APP
|
297
|
+
- spec/rails-2.3/app_root/log/development.log
|
298
|
+
- spec/rails-2.3/app_root/log/production.log
|
299
|
+
- spec/rails-2.3/app_root/log/server.log
|
300
|
+
- spec/rails-2.3/app_root/log/test.log
|
301
|
+
- spec/rails-2.3/app_root/public/404.html
|
302
|
+
- spec/rails-2.3/app_root/public/422.html
|
303
|
+
- spec/rails-2.3/app_root/public/500.html
|
304
|
+
- spec/rails-2.3/app_root/public/favicon.ico
|
305
|
+
- spec/rails-2.3/app_root/public/images/rails.png
|
306
|
+
- spec/rails-2.3/app_root/public/javascripts/application.js
|
307
|
+
- spec/rails-2.3/app_root/public/javascripts/controls.js
|
308
|
+
- spec/rails-2.3/app_root/public/javascripts/dragdrop.js
|
309
|
+
- spec/rails-2.3/app_root/public/javascripts/effects.js
|
310
|
+
- spec/rails-2.3/app_root/public/javascripts/prototype.js
|
311
|
+
- spec/rails-2.3/app_root/public/robots.txt
|
312
|
+
- spec/rails-2.3/app_root/script/about
|
313
|
+
- spec/rails-2.3/app_root/script/console
|
314
|
+
- spec/rails-2.3/app_root/script/dbconsole
|
315
|
+
- spec/rails-2.3/app_root/script/destroy
|
316
|
+
- spec/rails-2.3/app_root/script/generate
|
317
|
+
- spec/rails-2.3/app_root/script/performance/benchmarker
|
318
|
+
- spec/rails-2.3/app_root/script/performance/profiler
|
319
|
+
- spec/rails-2.3/app_root/script/plugin
|
320
|
+
- spec/rails-2.3/app_root/script/runner
|
321
|
+
- spec/rails-2.3/app_root/script/server
|
322
|
+
- spec/rails-2.3/app_root/test/performance/browsing_test.rb
|
323
|
+
- spec/rails-2.3/app_root/test/test_helper.rb
|
324
|
+
- spec/rails-2.3/Gemfile
|
325
|
+
- spec/rails-2.3/Gemfile.lock
|
326
|
+
- spec/rails-2.3/Rakefile
|
327
|
+
- spec/rails-2.3/spec/spec.opts
|
328
|
+
- spec/rails-2.3/spec/spec_helper.rb
|
329
|
+
- spec/rails-3.2/app_root/config/application.rb
|
330
|
+
- spec/rails-3.2/app_root/config/boot.rb
|
331
|
+
- spec/rails-3.2/app_root/config/database.yml
|
332
|
+
- spec/rails-3.2/app_root/config/environment.rb
|
333
|
+
- spec/rails-3.2/app_root/config/environments/development.rb
|
334
|
+
- spec/rails-3.2/app_root/config/environments/production.rb
|
335
|
+
- spec/rails-3.2/app_root/config/environments/test.rb
|
336
|
+
- spec/rails-3.2/app_root/config/initializers/backtrace_silencers.rb
|
337
|
+
- spec/rails-3.2/app_root/config/initializers/inflections.rb
|
338
|
+
- spec/rails-3.2/app_root/config/initializers/mime_types.rb
|
339
|
+
- spec/rails-3.2/app_root/config/initializers/secret_token.rb
|
340
|
+
- spec/rails-3.2/app_root/config/initializers/session_store.rb
|
341
|
+
- spec/rails-3.2/app_root/config/initializers/wrap_parameters.rb
|
342
|
+
- spec/rails-3.2/app_root/config/locales/en.yml
|
343
|
+
- spec/rails-3.2/app_root/config/routes.rb
|
344
|
+
- spec/rails-3.2/app_root/config.ru
|
345
|
+
- spec/rails-3.2/app_root/db/development.sqlite3
|
346
|
+
- spec/rails-3.2/app_root/db/test.sqlite3
|
347
|
+
- spec/rails-3.2/app_root/log/development.log
|
348
|
+
- spec/rails-3.2/app_root/log/test.log
|
349
|
+
- spec/rails-3.2/app_root/public/404.html
|
350
|
+
- spec/rails-3.2/app_root/public/422.html
|
351
|
+
- spec/rails-3.2/app_root/public/500.html
|
352
|
+
- spec/rails-3.2/app_root/public/favicon.ico
|
353
|
+
- spec/rails-3.2/app_root/README.rdoc
|
354
|
+
- spec/rails-3.2/app_root/script/rails
|
355
|
+
- spec/rails-3.2/Gemfile
|
356
|
+
- spec/rails-3.2/Gemfile.lock
|
357
|
+
- spec/rails-3.2/Rakefile
|
358
|
+
- spec/rails-3.2/spec/spec_helper.rb
|
359
|
+
- spec/shared/app_root/app/assets/javascripts/application.js
|
360
|
+
- spec/shared/app_root/app/assets/stylesheets/application.css
|
361
|
+
- spec/shared/app_root/app/controllers/application_controller.rb
|
362
|
+
- spec/shared/app_root/app/controllers/dummy_controller.rb
|
363
|
+
- spec/shared/app_root/app/controllers/env_controller.rb
|
364
|
+
- spec/shared/app_root/app/helpers/application_helper.rb
|
365
|
+
- spec/shared/app_root/app/views/layouts/application.html.erb
|
366
|
+
- spec/shared/heroku-true-relic/heroku-true-relic_spec.rb
|