librato-rails 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (101) hide show
  1. data/LICENSE +24 -0
  2. data/README.md +105 -0
  3. data/Rakefile +41 -0
  4. data/lib/librato-rails.rb +1 -0
  5. data/lib/librato/rack.rb +4 -0
  6. data/lib/librato/rack/middleware.rb +47 -0
  7. data/lib/librato/rails.rb +209 -0
  8. data/lib/librato/rails/aggregator.rb +48 -0
  9. data/lib/librato/rails/counter_cache.rb +41 -0
  10. data/lib/librato/rails/group.rb +27 -0
  11. data/lib/librato/rails/helpers.rb +19 -0
  12. data/lib/librato/rails/railtie.rb +18 -0
  13. data/lib/librato/rails/subscribers.rb +77 -0
  14. data/lib/librato/rails/version.rb +5 -0
  15. data/lib/librato/rails/worker.rb +58 -0
  16. data/lib/tasks/metrics-rails_tasks.rake +4 -0
  17. data/test/dummy/README.rdoc +261 -0
  18. data/test/dummy/Rakefile +7 -0
  19. data/test/dummy/app/assets/javascripts/application.js +15 -0
  20. data/test/dummy/app/assets/javascripts/home.js +2 -0
  21. data/test/dummy/app/assets/javascripts/status.js +2 -0
  22. data/test/dummy/app/assets/stylesheets/application.css +13 -0
  23. data/test/dummy/app/assets/stylesheets/home.css +4 -0
  24. data/test/dummy/app/assets/stylesheets/status.css +4 -0
  25. data/test/dummy/app/controllers/application_controller.rb +10 -0
  26. data/test/dummy/app/controllers/home_controller.rb +33 -0
  27. data/test/dummy/app/controllers/status_controller.rb +5 -0
  28. data/test/dummy/app/controllers/user_controller.rb +13 -0
  29. data/test/dummy/app/helpers/application_helper.rb +2 -0
  30. data/test/dummy/app/helpers/home_helper.rb +2 -0
  31. data/test/dummy/app/helpers/status_helper.rb +2 -0
  32. data/test/dummy/app/mailers/user_mailer.rb +8 -0
  33. data/test/dummy/app/models/user.rb +18 -0
  34. data/test/dummy/app/views/home/index.html.erb +2 -0
  35. data/test/dummy/app/views/layouts/application.html.erb +14 -0
  36. data/test/dummy/app/views/status/code.html.erb +2 -0
  37. data/test/dummy/app/views/user_mailer/welcome_email.text.erb +1 -0
  38. data/test/dummy/config.ru +4 -0
  39. data/test/dummy/config/application.rb +63 -0
  40. data/test/dummy/config/boot.rb +10 -0
  41. data/test/dummy/config/database.yml +25 -0
  42. data/test/dummy/config/environment.rb +5 -0
  43. data/test/dummy/config/environments/development.rb +37 -0
  44. data/test/dummy/config/environments/production.rb +67 -0
  45. data/test/dummy/config/environments/test.rb +37 -0
  46. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  47. data/test/dummy/config/initializers/inflections.rb +15 -0
  48. data/test/dummy/config/initializers/mime_types.rb +5 -0
  49. data/test/dummy/config/initializers/secret_token.rb +7 -0
  50. data/test/dummy/config/initializers/session_store.rb +8 -0
  51. data/test/dummy/config/initializers/silence_assets.rb +16 -0
  52. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  53. data/test/dummy/config/locales/en.yml +5 -0
  54. data/test/dummy/config/routes.rb +62 -0
  55. data/test/dummy/config/unicorn.rb +16 -0
  56. data/test/dummy/db/development.sqlite3 +0 -0
  57. data/test/dummy/db/migrate/20120719231810_create_users.rb +10 -0
  58. data/test/dummy/db/schema.rb +23 -0
  59. data/test/dummy/db/test.sqlite3 +0 -0
  60. data/test/dummy/log/development.log +23936 -0
  61. data/test/dummy/log/test.log +17942 -0
  62. data/test/dummy/public/404.html +26 -0
  63. data/test/dummy/public/422.html +26 -0
  64. data/test/dummy/public/500.html +25 -0
  65. data/test/dummy/public/favicon.ico +0 -0
  66. data/test/dummy/script/rails +6 -0
  67. data/test/dummy/test_env.sh +2 -0
  68. data/test/dummy/tmp/cache/assets/C94/D50/sprockets%2F1a49716f234a1b88976e3f09954f8f14 +0 -0
  69. data/test/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953 +0 -0
  70. data/test/dummy/tmp/cache/assets/CDF/870/sprockets%2Fb878faf942403e313a5b103e5d80488e +0 -0
  71. data/test/dummy/tmp/cache/assets/CE8/7E0/sprockets%2F178e2a1f9aa891d473009c7f3095df28 +0 -0
  72. data/test/dummy/tmp/cache/assets/CF9/7C0/sprockets%2F40fc2f3d2a468a00e463f1d313cb1683 +0 -0
  73. data/test/dummy/tmp/cache/assets/D04/890/sprockets%2F587335c079eef8d5a63784fc8f99905a +0 -0
  74. data/test/dummy/tmp/cache/assets/D05/D40/sprockets%2F1c9faaf28d05409b88ad3113374d613c +0 -0
  75. data/test/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705 +0 -0
  76. data/test/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655 +0 -0
  77. data/test/dummy/tmp/cache/assets/D4F/000/sprockets%2F25e44896aac12384727e9dab827ebef9 +0 -0
  78. data/test/dummy/tmp/cache/assets/D51/0D0/sprockets%2Fe895d60a653d8b87f7c5717a4d4cf1f3 +0 -0
  79. data/test/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6 +0 -0
  80. data/test/dummy/tmp/cache/assets/D8B/F90/sprockets%2Ffe6ce696e9141eb755d8eed79128e17c +0 -0
  81. data/test/dummy/tmp/cache/assets/D98/8B0/sprockets%2Fedbef6e0d0a4742346cf479f2c522eb0 +0 -0
  82. data/test/dummy/tmp/cache/assets/DA1/8B0/sprockets%2F65acae5ede4e92f105c5e8631407c7fc +0 -0
  83. data/test/dummy/tmp/cache/assets/DA5/7B0/sprockets%2Fa0fc1785d4dc1bde68dd7d5652d27a95 +0 -0
  84. data/test/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994 +0 -0
  85. data/test/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af +0 -0
  86. data/test/fixtures/config/librato.yml +10 -0
  87. data/test/integration/helper_test.rb +29 -0
  88. data/test/integration/mail_test.rb +15 -0
  89. data/test/integration/request_test.rb +53 -0
  90. data/test/integration/sql_test.rb +30 -0
  91. data/test/metrics-rails_test.rb +39 -0
  92. data/test/remote/rails_remote_test.rb +105 -0
  93. data/test/support/integration_case.rb +19 -0
  94. data/test/test_helper.rb +23 -0
  95. data/test/unit/aggregator_test.rb +16 -0
  96. data/test/unit/configuration_test.rb +49 -0
  97. data/test/unit/counter_cache_test.rb +19 -0
  98. data/test/unit/group_test.rb +49 -0
  99. data/test/unit/middleware_test.rb +82 -0
  100. data/test/unit/worker_test.rb +31 -0
  101. metadata +300 -0
@@ -0,0 +1,23 @@
1
+ # Configure Rails Environment
2
+ ENV["RAILS_ENV"] = "test"
3
+
4
+ require File.expand_path("../dummy/config/environment.rb", __FILE__)
5
+ require "rails/test_help"
6
+
7
+ Rails.backtrace_cleaner.remove_silencers!
8
+
9
+ # Configure capybara
10
+ require 'capybara/rails'
11
+ Capybara.default_driver = :rack_test
12
+ Capybara.default_selector = :css
13
+
14
+ # Load support files
15
+ Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
16
+
17
+ # Run any available migration
18
+ ActiveRecord::Migrator.migrate File.expand_path("../dummy/db/migrate/", __FILE__)
19
+
20
+ # Load fixtures from the engine
21
+ if ActiveSupport::TestCase.method_defined?(:fixture_path=)
22
+ ActiveSupport::TestCase.fixture_path = File.expand_path("../fixtures", __FILE__)
23
+ end
@@ -0,0 +1,16 @@
1
+ require 'test_helper'
2
+
3
+ class LibratoRailsAggregatorTest < MiniTest::Unit::TestCase
4
+
5
+ def test_adding_timings
6
+ agg = Librato::Rails::Aggregator.new
7
+
8
+ agg.timing 'request.time.total', 23.7
9
+ agg.timing 'request.time.db', 5.3
10
+ agg.timing 'request.time.total', 64.3
11
+
12
+ assert_equal 2, agg['request.time.total'][:count]
13
+ assert_equal 88.0, agg['request.time.total'][:sum]
14
+ end
15
+
16
+ end
@@ -0,0 +1,49 @@
1
+ require 'test_helper'
2
+
3
+ class LibratoRailsAggregatorTest < MiniTest::Unit::TestCase
4
+
5
+ def teardown
6
+ ENV.delete('LIBRATO_METRICS_USER')
7
+ ENV.delete('LIBRATO_METRICS_TOKEN')
8
+ Librato::Rails.check_config
9
+ end
10
+
11
+ def test_environmental_variable_config
12
+ ENV['LIBRATO_METRICS_USER'] = 'foo@bar.com'
13
+ ENV['LIBRATO_METRICS_TOKEN'] = 'api_key'
14
+ Librato::Rails.check_config
15
+ assert_equal 'foo@bar.com', Librato::Rails.email
16
+ assert_equal 'api_key', Librato::Rails.api_key
17
+ end
18
+
19
+ def test_config_file_config
20
+ with_fixture_config do
21
+ assert_equal 'test@bar.com', Librato::Rails.email
22
+ assert_equal 'test api key', Librato::Rails.api_key
23
+ assert_equal 'rails-test', Librato::Rails.prefix
24
+ assert_equal 30, Librato::Rails.flush_interval
25
+ assert_equal 'custom-1', Librato::Rails.source
26
+ end
27
+ end
28
+
29
+ def test_environmental_and_config_file_config
30
+ ENV['LIBRATO_METRICS_USER'] = 'foo@bar.com'
31
+ ENV['LIBRATO_METRICS_TOKEN'] = 'api_key'
32
+ with_fixture_config do
33
+ assert_equal 'foo@bar.com', Librato::Rails.email # from env
34
+ assert_equal 'api_key', Librato::Rails.api_key # from env
35
+ assert_equal 'rails-test', Librato::Rails.prefix # from config file
36
+ assert_equal 30, Librato::Rails.flush_interval # from config file
37
+ end
38
+ end
39
+
40
+ def with_fixture_config
41
+ fixture_config = File.join(File.dirname(__FILE__), '../fixtures/config/librato.yml')
42
+ previous, Librato::Rails.config_file = Librato::Rails.config_file, fixture_config
43
+ Librato::Rails.check_config
44
+ yield
45
+ ensure
46
+ Librato::Rails.config_file = previous
47
+ end
48
+
49
+ end
@@ -0,0 +1,19 @@
1
+ require 'test_helper'
2
+
3
+ class LibratoRailsCounterCacheTest < MiniTest::Unit::TestCase
4
+
5
+ def test_basic_operations
6
+ cc = Librato::Rails::CounterCache.new
7
+ cc.increment :foo
8
+ assert_equal 1, cc[:foo]
9
+
10
+ # accepts optional argument
11
+ cc.increment :foo, 5
12
+ assert_equal 6, cc[:foo]
13
+
14
+ # strings or symbols work
15
+ cc.increment 'foo'
16
+ assert_equal 7, cc['foo']
17
+ end
18
+
19
+ end
@@ -0,0 +1,49 @@
1
+ require 'test_helper'
2
+
3
+ class LibratoRailsGroupTest < MiniTest::Unit::TestCase
4
+
5
+ def test_basic_grouping
6
+ Librato::Rails.group 'fruit' do |g|
7
+ g.increment 'bites'
8
+ g.increment 'nibbles', 5
9
+
10
+ g.measure 'banana', 12
11
+ g.measure 'banana', 10
12
+
13
+ g.timing 'grow_time', 122.2
14
+ g.timing 'grow_time', 24.3
15
+ end
16
+
17
+ assert_equal 1, counters['fruit.bites']
18
+ assert_equal 5, counters['fruit.nibbles']
19
+
20
+ assert_equal 2, aggregate['fruit.banana'][:count]
21
+ assert_equal 22, aggregate['fruit.banana'][:sum]
22
+
23
+ assert_equal 2, aggregate['fruit.grow_time'][:count]
24
+ assert_equal 146.5, aggregate['fruit.grow_time'][:sum]
25
+ end
26
+
27
+ def test_nesting
28
+ Librato::Rails.group 'street' do |s|
29
+ s.increment 'count'
30
+ s.group 'market' do |m|
31
+ m.increment 'tenants', 10
32
+ end
33
+ end
34
+
35
+ assert_equal 1, counters['street.count']
36
+ assert_equal 10, counters['street.market.tenants']
37
+ end
38
+
39
+ private
40
+
41
+ def aggregate
42
+ Librato::Rails.aggregate
43
+ end
44
+
45
+ def counters
46
+ Librato::Rails.counters
47
+ end
48
+
49
+ end
@@ -0,0 +1,82 @@
1
+ require 'test_helper'
2
+
3
+ class MetricRackMiddlewareTest < MiniTest::Unit::TestCase
4
+
5
+ def setup
6
+ Librato::Rails.stubs(:forking_server?).returns(false)
7
+ Librato::Rails.stubs(:measure).returns(true)
8
+ Librato::Rails.stubs(:increment).returns(true)
9
+
10
+ Time.stubs(:now).returns(Time.at(0.1305), Time.at(0.20075))
11
+
12
+ @middleware = Librato::Rack::Middleware.new(
13
+ stub(:call => [200, {}, []])
14
+ )
15
+ end
16
+
17
+ def teardown
18
+ Librato::Rails.unstub :forking_server?, :measure, :increment
19
+ Time.unstub :now
20
+ end
21
+
22
+ def test_logs_header_metrics
23
+ Librato::Rails.expects(:measure).with('rack.heroku.queue.depth', 1.0)
24
+ Librato::Rails.expects(:measure).with('rack.heroku.queue.wait_time', 20.5)
25
+ Librato::Rails.expects(:measure).with('rack.heroku.queue.dynos', 2.0)
26
+
27
+ @middleware.call(
28
+ 'HTTP_X_HEROKU_QUEUE_DEPTH' => '1',
29
+ 'HTTP_X_HEROKU_QUEUE_WAIT_TIME' => '20.5',
30
+ 'HTTP_X_HEROKU_DYNOS_IN_USE' => '2'
31
+ )
32
+ end
33
+
34
+ def test_logs_request_time
35
+ Librato::Rails.expects(:measure).with('rack.request.time', 70.25)
36
+
37
+ @middleware.call({})
38
+ end
39
+
40
+ def test_increments_request_count
41
+ Librato::Rails.expects(:increment).with('rack.request.total', 1)
42
+
43
+ @middleware.call({})
44
+ end
45
+
46
+ def test_log_200_status
47
+ Librato::Rails.expects(:increment).with('rack.request.status.200', 1)
48
+ Librato::Rails.expects(:increment).with('rack.request.status.2xx', 1)
49
+
50
+ Librato::Rails.expects(:measure).with('rack.request.status.200.time', 70.25)
51
+ Librato::Rails.expects(:measure).with('rack.request.status.2xx.time', 70.25)
52
+
53
+ @middleware.call({})
54
+ end
55
+
56
+ def test_log_403_status
57
+ Librato::Rails.expects(:increment).with('rack.request.status.403', 1)
58
+ Librato::Rails.expects(:increment).with('rack.request.status.4xx', 1)
59
+
60
+ Librato::Rails.expects(:measure).with('rack.request.status.403.time', 70.25)
61
+ Librato::Rails.expects(:measure).with('rack.request.status.4xx.time', 70.25)
62
+
63
+ @middleware = Librato::Rack::Middleware.new stub(:call => [403, {}, []])
64
+ @middleware.call({})
65
+ end
66
+
67
+ def test_fast_queries_are_not_slow
68
+ Time.stubs(:now).returns(0.1305, 0.3305)
69
+
70
+ Librato::Rails.expects(:increment).with('rack.request.slow', 1).never
71
+
72
+ @middleware.call({})
73
+ end
74
+
75
+ def test_log_slow_queries
76
+ Time.stubs(:now).returns(0.1305, 0.40075)
77
+
78
+ Librato::Rails.expects(:increment).with('rack.request.slow', 1)
79
+
80
+ @middleware.call({})
81
+ end
82
+ end
@@ -0,0 +1,31 @@
1
+ require 'test_helper'
2
+
3
+ class LibratoRailsWorkerTest < MiniTest::Unit::TestCase
4
+
5
+ def test_basic_use
6
+ worker = Librato::Rails::Worker.new
7
+ counter = 0
8
+ Thread.new do
9
+ worker.run_periodically(0.1) do
10
+ counter += 1
11
+ end
12
+ end
13
+ sleep 0.45
14
+ assert_equal counter, 4
15
+ end
16
+
17
+ def test_start_time
18
+ worker = Librato::Rails::Worker.new
19
+
20
+ time = Time.now
21
+ start = worker.start_time(60)
22
+ assert start >= time + 60, 'should be more than 60 seconds from when run'
23
+ assert_equal 0, start.sec, 'should start on a whole minute'
24
+
25
+ time = Time.now
26
+ start = worker.start_time(10)
27
+ assert start >= time + 10, 'should be more than 10 seconds from when run'
28
+ assert_equal 0, start.sec%10, 'should be evenly divisible with whole minutes'
29
+ end
30
+
31
+ end
metadata ADDED
@@ -0,0 +1,300 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: librato-rails
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.3.0
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Matt Sanders
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2012-09-10 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.0'
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ! '>='
28
+ - !ruby/object:Gem::Version
29
+ version: '3.0'
30
+ - !ruby/object:Gem::Dependency
31
+ name: librato-metrics
32
+ requirement: !ruby/object:Gem::Requirement
33
+ none: false
34
+ requirements:
35
+ - - ~>
36
+ - !ruby/object:Gem::Version
37
+ version: 0.7.0
38
+ type: :runtime
39
+ prerelease: false
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ~>
44
+ - !ruby/object:Gem::Version
45
+ version: 0.7.0
46
+ - !ruby/object:Gem::Dependency
47
+ name: sqlite3
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: minitest
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
+ description: Report key app statistics to the Librato Metrics service and easily track
79
+ your own custom metrics.
80
+ email:
81
+ - matt@librato.com
82
+ executables: []
83
+ extensions: []
84
+ extra_rdoc_files: []
85
+ files:
86
+ - lib/librato/rack/middleware.rb
87
+ - lib/librato/rack.rb
88
+ - lib/librato/rails/aggregator.rb
89
+ - lib/librato/rails/counter_cache.rb
90
+ - lib/librato/rails/group.rb
91
+ - lib/librato/rails/helpers.rb
92
+ - lib/librato/rails/railtie.rb
93
+ - lib/librato/rails/subscribers.rb
94
+ - lib/librato/rails/version.rb
95
+ - lib/librato/rails/worker.rb
96
+ - lib/librato/rails.rb
97
+ - lib/librato-rails.rb
98
+ - lib/tasks/metrics-rails_tasks.rake
99
+ - LICENSE
100
+ - Rakefile
101
+ - README.md
102
+ - test/dummy/app/assets/javascripts/application.js
103
+ - test/dummy/app/assets/javascripts/home.js
104
+ - test/dummy/app/assets/javascripts/status.js
105
+ - test/dummy/app/assets/stylesheets/application.css
106
+ - test/dummy/app/assets/stylesheets/home.css
107
+ - test/dummy/app/assets/stylesheets/status.css
108
+ - test/dummy/app/controllers/application_controller.rb
109
+ - test/dummy/app/controllers/home_controller.rb
110
+ - test/dummy/app/controllers/status_controller.rb
111
+ - test/dummy/app/controllers/user_controller.rb
112
+ - test/dummy/app/helpers/application_helper.rb
113
+ - test/dummy/app/helpers/home_helper.rb
114
+ - test/dummy/app/helpers/status_helper.rb
115
+ - test/dummy/app/mailers/user_mailer.rb
116
+ - test/dummy/app/models/user.rb
117
+ - test/dummy/app/views/home/index.html.erb
118
+ - test/dummy/app/views/layouts/application.html.erb
119
+ - test/dummy/app/views/status/code.html.erb
120
+ - test/dummy/app/views/user_mailer/welcome_email.text.erb
121
+ - test/dummy/config/application.rb
122
+ - test/dummy/config/boot.rb
123
+ - test/dummy/config/database.yml
124
+ - test/dummy/config/environment.rb
125
+ - test/dummy/config/environments/development.rb
126
+ - test/dummy/config/environments/production.rb
127
+ - test/dummy/config/environments/test.rb
128
+ - test/dummy/config/initializers/backtrace_silencers.rb
129
+ - test/dummy/config/initializers/inflections.rb
130
+ - test/dummy/config/initializers/mime_types.rb
131
+ - test/dummy/config/initializers/secret_token.rb
132
+ - test/dummy/config/initializers/session_store.rb
133
+ - test/dummy/config/initializers/silence_assets.rb
134
+ - test/dummy/config/initializers/wrap_parameters.rb
135
+ - test/dummy/config/locales/en.yml
136
+ - test/dummy/config/routes.rb
137
+ - test/dummy/config/unicorn.rb
138
+ - test/dummy/config.ru
139
+ - test/dummy/db/development.sqlite3
140
+ - test/dummy/db/migrate/20120719231810_create_users.rb
141
+ - test/dummy/db/schema.rb
142
+ - test/dummy/db/test.sqlite3
143
+ - test/dummy/log/development.log
144
+ - test/dummy/log/test.log
145
+ - test/dummy/public/404.html
146
+ - test/dummy/public/422.html
147
+ - test/dummy/public/500.html
148
+ - test/dummy/public/favicon.ico
149
+ - test/dummy/Rakefile
150
+ - test/dummy/README.rdoc
151
+ - test/dummy/script/rails
152
+ - test/dummy/test_env.sh
153
+ - test/dummy/tmp/cache/assets/C94/D50/sprockets%2F1a49716f234a1b88976e3f09954f8f14
154
+ - test/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953
155
+ - test/dummy/tmp/cache/assets/CDF/870/sprockets%2Fb878faf942403e313a5b103e5d80488e
156
+ - test/dummy/tmp/cache/assets/CE8/7E0/sprockets%2F178e2a1f9aa891d473009c7f3095df28
157
+ - test/dummy/tmp/cache/assets/CF9/7C0/sprockets%2F40fc2f3d2a468a00e463f1d313cb1683
158
+ - test/dummy/tmp/cache/assets/D04/890/sprockets%2F587335c079eef8d5a63784fc8f99905a
159
+ - test/dummy/tmp/cache/assets/D05/D40/sprockets%2F1c9faaf28d05409b88ad3113374d613c
160
+ - test/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705
161
+ - test/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655
162
+ - test/dummy/tmp/cache/assets/D4F/000/sprockets%2F25e44896aac12384727e9dab827ebef9
163
+ - test/dummy/tmp/cache/assets/D51/0D0/sprockets%2Fe895d60a653d8b87f7c5717a4d4cf1f3
164
+ - test/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6
165
+ - test/dummy/tmp/cache/assets/D8B/F90/sprockets%2Ffe6ce696e9141eb755d8eed79128e17c
166
+ - test/dummy/tmp/cache/assets/D98/8B0/sprockets%2Fedbef6e0d0a4742346cf479f2c522eb0
167
+ - test/dummy/tmp/cache/assets/DA1/8B0/sprockets%2F65acae5ede4e92f105c5e8631407c7fc
168
+ - test/dummy/tmp/cache/assets/DA5/7B0/sprockets%2Fa0fc1785d4dc1bde68dd7d5652d27a95
169
+ - test/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994
170
+ - test/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af
171
+ - test/fixtures/config/librato.yml
172
+ - test/integration/helper_test.rb
173
+ - test/integration/mail_test.rb
174
+ - test/integration/request_test.rb
175
+ - test/integration/sql_test.rb
176
+ - test/metrics-rails_test.rb
177
+ - test/remote/rails_remote_test.rb
178
+ - test/support/integration_case.rb
179
+ - test/test_helper.rb
180
+ - test/unit/aggregator_test.rb
181
+ - test/unit/configuration_test.rb
182
+ - test/unit/counter_cache_test.rb
183
+ - test/unit/group_test.rb
184
+ - test/unit/middleware_test.rb
185
+ - test/unit/worker_test.rb
186
+ homepage: https://github.com/librato/librato-rails
187
+ licenses: []
188
+ post_install_message:
189
+ rdoc_options: []
190
+ require_paths:
191
+ - lib
192
+ required_ruby_version: !ruby/object:Gem::Requirement
193
+ none: false
194
+ requirements:
195
+ - - ! '>='
196
+ - !ruby/object:Gem::Version
197
+ version: '0'
198
+ segments:
199
+ - 0
200
+ hash: -3963989960407046155
201
+ required_rubygems_version: !ruby/object:Gem::Requirement
202
+ none: false
203
+ requirements:
204
+ - - ! '>='
205
+ - !ruby/object:Gem::Version
206
+ version: '0'
207
+ segments:
208
+ - 0
209
+ hash: -3963989960407046155
210
+ requirements: []
211
+ rubyforge_project:
212
+ rubygems_version: 1.8.24
213
+ signing_key:
214
+ specification_version: 3
215
+ summary: Use Librato Metrics with your Rails 3 app
216
+ test_files:
217
+ - test/dummy/app/assets/javascripts/application.js
218
+ - test/dummy/app/assets/javascripts/home.js
219
+ - test/dummy/app/assets/javascripts/status.js
220
+ - test/dummy/app/assets/stylesheets/application.css
221
+ - test/dummy/app/assets/stylesheets/home.css
222
+ - test/dummy/app/assets/stylesheets/status.css
223
+ - test/dummy/app/controllers/application_controller.rb
224
+ - test/dummy/app/controllers/home_controller.rb
225
+ - test/dummy/app/controllers/status_controller.rb
226
+ - test/dummy/app/controllers/user_controller.rb
227
+ - test/dummy/app/helpers/application_helper.rb
228
+ - test/dummy/app/helpers/home_helper.rb
229
+ - test/dummy/app/helpers/status_helper.rb
230
+ - test/dummy/app/mailers/user_mailer.rb
231
+ - test/dummy/app/models/user.rb
232
+ - test/dummy/app/views/home/index.html.erb
233
+ - test/dummy/app/views/layouts/application.html.erb
234
+ - test/dummy/app/views/status/code.html.erb
235
+ - test/dummy/app/views/user_mailer/welcome_email.text.erb
236
+ - test/dummy/config/application.rb
237
+ - test/dummy/config/boot.rb
238
+ - test/dummy/config/database.yml
239
+ - test/dummy/config/environment.rb
240
+ - test/dummy/config/environments/development.rb
241
+ - test/dummy/config/environments/production.rb
242
+ - test/dummy/config/environments/test.rb
243
+ - test/dummy/config/initializers/backtrace_silencers.rb
244
+ - test/dummy/config/initializers/inflections.rb
245
+ - test/dummy/config/initializers/mime_types.rb
246
+ - test/dummy/config/initializers/secret_token.rb
247
+ - test/dummy/config/initializers/session_store.rb
248
+ - test/dummy/config/initializers/silence_assets.rb
249
+ - test/dummy/config/initializers/wrap_parameters.rb
250
+ - test/dummy/config/locales/en.yml
251
+ - test/dummy/config/routes.rb
252
+ - test/dummy/config/unicorn.rb
253
+ - test/dummy/config.ru
254
+ - test/dummy/db/development.sqlite3
255
+ - test/dummy/db/migrate/20120719231810_create_users.rb
256
+ - test/dummy/db/schema.rb
257
+ - test/dummy/db/test.sqlite3
258
+ - test/dummy/log/development.log
259
+ - test/dummy/log/test.log
260
+ - test/dummy/public/404.html
261
+ - test/dummy/public/422.html
262
+ - test/dummy/public/500.html
263
+ - test/dummy/public/favicon.ico
264
+ - test/dummy/Rakefile
265
+ - test/dummy/README.rdoc
266
+ - test/dummy/script/rails
267
+ - test/dummy/test_env.sh
268
+ - test/dummy/tmp/cache/assets/C94/D50/sprockets%2F1a49716f234a1b88976e3f09954f8f14
269
+ - test/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953
270
+ - test/dummy/tmp/cache/assets/CDF/870/sprockets%2Fb878faf942403e313a5b103e5d80488e
271
+ - test/dummy/tmp/cache/assets/CE8/7E0/sprockets%2F178e2a1f9aa891d473009c7f3095df28
272
+ - test/dummy/tmp/cache/assets/CF9/7C0/sprockets%2F40fc2f3d2a468a00e463f1d313cb1683
273
+ - test/dummy/tmp/cache/assets/D04/890/sprockets%2F587335c079eef8d5a63784fc8f99905a
274
+ - test/dummy/tmp/cache/assets/D05/D40/sprockets%2F1c9faaf28d05409b88ad3113374d613c
275
+ - test/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705
276
+ - test/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655
277
+ - test/dummy/tmp/cache/assets/D4F/000/sprockets%2F25e44896aac12384727e9dab827ebef9
278
+ - test/dummy/tmp/cache/assets/D51/0D0/sprockets%2Fe895d60a653d8b87f7c5717a4d4cf1f3
279
+ - test/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6
280
+ - test/dummy/tmp/cache/assets/D8B/F90/sprockets%2Ffe6ce696e9141eb755d8eed79128e17c
281
+ - test/dummy/tmp/cache/assets/D98/8B0/sprockets%2Fedbef6e0d0a4742346cf479f2c522eb0
282
+ - test/dummy/tmp/cache/assets/DA1/8B0/sprockets%2F65acae5ede4e92f105c5e8631407c7fc
283
+ - test/dummy/tmp/cache/assets/DA5/7B0/sprockets%2Fa0fc1785d4dc1bde68dd7d5652d27a95
284
+ - test/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994
285
+ - test/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af
286
+ - test/fixtures/config/librato.yml
287
+ - test/integration/helper_test.rb
288
+ - test/integration/mail_test.rb
289
+ - test/integration/request_test.rb
290
+ - test/integration/sql_test.rb
291
+ - test/metrics-rails_test.rb
292
+ - test/remote/rails_remote_test.rb
293
+ - test/support/integration_case.rb
294
+ - test/test_helper.rb
295
+ - test/unit/aggregator_test.rb
296
+ - test/unit/configuration_test.rb
297
+ - test/unit/counter_cache_test.rb
298
+ - test/unit/group_test.rb
299
+ - test/unit/middleware_test.rb
300
+ - test/unit/worker_test.rb