librato-rails 1.3.0 → 1.4.0.beta

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8edc380bcb2f20518999f643e9c7d13174d84db6
4
- data.tar.gz: da5c0130f153953623836aab0638a97f2ce4fc09
3
+ metadata.gz: 1c7c4407bf104ae1a886609fabd08ea91cf7ba00
4
+ data.tar.gz: e0cc032c61007289314f3dff3b3081c3fc24ce60
5
5
  SHA512:
6
- metadata.gz: de8fa725eb2a36317341c01b9ee6b4855a74e64cbcdb2840be949d3259b8a8c490fb15053721c7b558bc8beabde9f1d1bfedb1e50641eef0134eaf1e3fd9508b
7
- data.tar.gz: 7e0f2ba4b6220a55d8597f12d95037e0d9a5981c527ea7ff550c4eb3989eb46e0ec6272fca60570817b45f59c046c16e5f1f25caa9bbc4184025aadad8f16538
6
+ metadata.gz: 859cd5eecec13557f4956c2234c014df43ff10ee289be07b264eda36dd08aea4f60219eaa017f2a9ac9866fca93161e74f273410e95c687e49ee6710cc722f46
7
+ data.tar.gz: fa224bf0ca51abf18e0aa388dcb48d1aed3b130ff765bf72b92aa5f663dffd0c89e2bd211705008350ea7bdc70fa91cb96574614dd9ad8b830c6b194e801239d
Binary file
data.tar.gz.sig CHANGED
@@ -1,3 +1 @@
1
- OU�'Cd!���N'�v�b�@+j?-���2����/�hD�ٲ� �|������b��TSy�Po'�#����IJ1E7��k �Q���j7Z��l�<��I��e>�����=�o�%(9
2
- f�\u�;�
3
-  ?��F��X�����'���9�Rn����[�_�)��Y�n�B�|l�74�鲜�B����G��l�.!���E����Vv+q�{RC���(�2��>j���A�j�)u*�|��}�nǍ�Ų�w
1
+ |7Ԣ���#�o~�˩�3�RA�ϺP����itF aQ߫~���ȡ)!v�|�#�� XJ7�&��a���2�
@@ -1,3 +1,6 @@
1
+ ### Version 1.4.0.beta
2
+ * Add support to instrument all controller actions, e.g., `instrument_action :all`.
3
+
1
4
  ### Version 1.3.0
2
5
  * Add support for configurable metric suites
3
6
 
data/README.md CHANGED
@@ -5,19 +5,17 @@ librato-rails
5
5
 
6
6
  `librato-rails` will report key statistics for your Rails app to [Librato](https://metrics.librato.com/) and allow you to easily track your own custom metrics. Metrics are delivered asynchronously behind the scenes so they won't affect performance of your requests.
7
7
 
8
- Rails versions 3.0 or greater are supported on Ruby 1.9.2 and above.
8
+ Rails versions 3.0 or greater are supported on Ruby 1.9.3 and above.
9
9
 
10
10
  Verified combinations of Ruby/Rails are available in our [build matrix](http://travis-ci.org/librato/librato-rails).
11
11
 
12
12
  ## Quick Start
13
13
 
14
- >Note: If you have not yet enabled Rails on the [Librato integrations page](https://metrics.librato.com/integrations) within your account, do this first. This will automatically set up a Rails and Rack Space, displaying many useful performance metrics.
14
+ > Note: If you have not yet enabled Rails on the [Librato integrations page](https://metrics.librato.com/integrations) within your account, do this first. This will automatically set up Rails and Rack Spaces, displaying many useful performance metrics.
15
15
 
16
- Installing `librato-rails` and relaunching your application will automatically start the reporting of metrics to your Librato account.
16
+ Installing `librato-rails` and relaunching your application will automatically start the reporting of built-in performance metrics to your Librato account.
17
17
 
18
- After installation `librato-rails` will detect your environment and start reporting available performance information for your application.
19
-
20
- Custom metrics can also be added easily:
18
+ Once installed, custom metrics can also be added easily:
21
19
 
22
20
  ```ruby
23
21
  # keep counts of key events
@@ -64,49 +62,7 @@ Alternately you can provide `LIBRATO_USER` and `LIBRATO_TOKEN` environment varia
64
62
 
65
63
  Note that if a config file is present, _all environment variables will be ignored_.
66
64
 
67
- For more information on combining config files and environment variables, see the [full configuration docs](https://github.com/librato/librato-rails/wiki/Configuration).
68
-
69
- ##### Metric Suites
70
-
71
- The metrics recorded by `librato-rails` are organized into named metric suites that can be selectively enabled/disabled:
72
-
73
- * `rack`: The `rack.request.total`, `rack.request.time`, `rack.request.slow`, and `rack.request.queue.time` metrics
74
- * `rack_status`: All of the `rack.request.status.*` metrics
75
- * `rack_method`: All of the `rack.request.method.*` metrics
76
- * `rails_action`: All of the `rails.action.*` metrics reported by the `instrument_action` helper
77
- * `rails_cache`: All of the `rails.cache.*` metrics
78
- * `rails_controller`: The `rails.request.total`, `rails.request.exceptions`, `rails.request.slow` and `rails.request.time.*` metrics
79
- * `rails_job`: All of the `rails.job.*` metrics
80
- * `rails_mail`: All of the `rails.mail.*` metrics
81
- * `rails_method`: All of the `rails.request.method.*` metrics
82
- * `rails_render`: All of the `rails.view.*` metrics
83
- * `rails_sql`: All of the `rails.sql.*` metrics
84
- * `rails_status`: All of the `rails.request.status.*` metrics
85
-
86
- All of the metric suites listed above are enabled by default.
87
-
88
- The metric suites can be configured via either the `LIBRATO_SUITES` environment variable or the `config/librato.yml` configuration file. The configuration syntax is the same regardless of which configuration method you use.
89
-
90
- ```bash
91
- LIBRATO_SUITES="rails_controller,rails_sql" # use ONLY the rails_controller and rails_sql suites
92
- LIBRATO_SUITES="+foo,+bar" # + prefix indicates that you want the default suites plus foo and bar
93
- LIBRATO_SUITES="-rails_render" # - prefix indicates that you want the default suites removing rails_render
94
- LIBRATO_SUITES="+foo,-rack_status" # Use all default suites except for rack_status while also adding foo
95
- LIBRATO_SUITES="all" # Enable all suites
96
- LIBRATO_SUITES="none" # Disable all suites
97
- LIBRATO_SUITES="" # Use only the default suites (same as if env var is absent)
98
- ```
99
-
100
- Note that you should EITHER specify an explict list of suites to enable OR add/subtract individual suites from the default list (using the +/- prefixes). If you try to mix these two forms a `Librato::Rack::InvalidSuiteConfiguration` error will be raised.
101
-
102
- Configuring the metric suites via the `config/librato.yml` file would look like this:
103
-
104
- ```yaml
105
- production:
106
- user: name@example.com
107
- token: abc123
108
- suites: 'all'
109
- ```
65
+ To see all config options or for information on combining config files and environment variables see the [full configuration docs](https://github.com/librato/librato-rails/wiki/Configuration).
110
66
 
111
67
  ##### Running on Heroku
112
68
 
@@ -122,13 +78,73 @@ Full information on configuration options is available on the [configuration wik
122
78
 
123
79
  If Heroku idles your application, measurements will not be sent until it receives another request and is restarted. If you see intermittent gaps in your measurements during periods of low traffic, this is the most likely cause.
124
80
 
125
- Please note that a Paid Plan is required for tracking Custom Metrics in Heroku. Choose a Librato add-on plan here (https://elements.heroku.com/addons/librato#pricing).
81
+ If you are using Librato as a Heroku addon, [a paid plan](https://elements.heroku.com/addons/librato#pricing) is required for reporting custom metrics with librato-rails. You can view more about available addon levels [here](https://elements.heroku.com/addons/librato#pricing).
126
82
 
127
83
  ## Automatic Measurements
128
84
 
129
85
  After installing `librato-rails` and restarting your app you will see a number of new metrics appear in your Librato account. These track request performance, sql queries, mail handling, and other key stats.
130
86
 
131
- Built-in performance metrics will start with either `rack` or `rails`, depending on the level they are being sampled from. For example: `rails.request.total` is the total number of requests rails has received each minute.
87
+ Built-in performance metrics will start with either `rails` or `rack`, depending on the level they are being sampled from. For example: `rails.request.total` is the total number of requests rails has received each minute.
88
+
89
+ The metrics automatically recorded by `librato-rails` are organized into named metric suites that can be selectively enabled/disabled:
90
+
91
+ #### Rails Suites
92
+
93
+ ###### Request Metrics
94
+
95
+ * *rails_controller*: Metrics which provide a high level overview of request performance including `rails.request.total`, `rails.request.time`, `rails.request.time.db`, `rails.request.time.view`, and `rails.request.slow`
96
+ * *rails_method*: `rails.request.method.*` metrics (GET, POST, etc)
97
+ * *rails_status*: `rails.request.status.*` metrics broken out by individual status codes and class (200, 2xx, etc)
98
+ * *rails_action*: `rails.action.*` metrics specific to individual controller actions via the [instrument_action](#instrument_action-experimental) helper
99
+
100
+ ###### System-Specific Metrics
101
+
102
+ * *rails_cache*: `rails.cache.*` metrics including reads, writes, hits & deletes
103
+ * *rails_job*: `rails.job.*` metrics including jobs queued, started & performed (Rails 4.2+)
104
+ * *rails_mail*: `rails.mail.*` metrics including mail sent / received
105
+ * *rails_render*: `rails.view.*` metrics including time to render individual templates & partials
106
+ * *rails_sql*: `rails.sql.*` metrics, including SELECT / INSERT / UPDATE / DELETEs as well as total query operations
107
+
108
+ #### Rack Suites
109
+
110
+ Rack measurements are taken from the very beginning of your [rack middleware stack](http://guides.rubyonrails.org/rails_on_rack.html). They include all time spent in your ruby process (not just in Rails proper). They will also show requests that are handled entirely in middleware and don't appear in the `rails` suites above.
111
+
112
+ * *rack*: The `rack.request.total`, `rack.request.time`, `rack.request.slow`, and `rack.request.queue.time` metrics
113
+ * *rack_method*: `rack.request.method.*` metrics (GET, POST, etc)
114
+ * *rack_status*: `rack.request.status.*` metrics metrics broken out by individual status codes and class (200, 2xx, etc)
115
+
116
+ ###### Queue Time
117
+
118
+ The `rack.request.queue.time` metric will show you queuing time (the time between your load balancer receiving a request & your application process starting to work on it) if your load balancer sets `HTTP_X_REQUEST_START` or `HTTP_X_QUEUE_START`.
119
+
120
+ #### Default Suites
121
+
122
+ All of the rails & rack suites listed above are enabled by default.
123
+
124
+ #### Suite Configuration
125
+
126
+ Suites can be configured via either the `LIBRATO_SUITES` environment variable or the `suites` setting in a `config/librato.yml` configuration file. The syntax is the same regardless of configuration method.
127
+
128
+ ```bash
129
+ LIBRATO_SUITES="rails_controller,rails_sql" # use ONLY the rails_controller & rails_sql suites
130
+ LIBRATO_SUITES="+foo,+bar" # + prefix: default suites plus foo & bar
131
+ LIBRATO_SUITES="-rails_render" # - prefix: default suites removing rails_render
132
+ LIBRATO_SUITES="+foo,-rack_status" # Default suites except for rack_status, also add foo
133
+ LIBRATO_SUITES="all" # Enable all suites
134
+ LIBRATO_SUITES="none" # Disable all suites
135
+ LIBRATO_SUITES="" # Use only the default suites (same as if env var is absent)
136
+ ```
137
+
138
+ Note that you should specify **either** an explict list of suites to enable **or** add/subtract individual suites from the default list (using the +/- prefixes). If you try to mix these two forms a `Librato::Rack::InvalidSuiteConfiguration` error will be raised.
139
+
140
+ Configuring the metric suites via the `config/librato.yml` file would look like this:
141
+
142
+ ```yaml
143
+ production:
144
+ user: name@example.com
145
+ token: abc123
146
+ suites: 'rails_controller,rails_status,rails_sql,rack'
147
+ ```
132
148
 
133
149
  ## Custom Measurements
134
150
 
@@ -192,7 +208,7 @@ Librato.timing 'twitter.lookup.time' do
192
208
  end
193
209
  ```
194
210
 
195
- #### percentiles
211
+ ###### Percentiles
196
212
 
197
213
  By defaults timings will send the average, sum, max and min for every minute. If you want to send percentiles as well you can specify them inline while instrumenting:
198
214
 
@@ -238,7 +254,8 @@ Symbols can be used interchangably with strings for metric names.
238
254
 
239
255
  `librato-rails` also has special helpers which are available inside your controllers:
240
256
 
241
- #### instrument_action (experimental)
257
+ #### instrument_action
258
+ _experimental_, this interface may change:
242
259
 
243
260
  Use when you want to profile execution time or request volume for a specific controller action:
244
261
 
@@ -252,6 +269,22 @@ class CommentController < ApplicationController
252
269
  end
253
270
  ```
254
271
 
272
+ Optionally, you can instrument all controller actions:
273
+
274
+ ```ruby
275
+ class ArticlesController < ApplicationController
276
+ instrument_action :all
277
+
278
+ def create
279
+ # ...
280
+ end
281
+
282
+ def show
283
+ # ...
284
+ end
285
+ end
286
+ ```
287
+
255
288
  Once you instrument an action, `librato-rails` will start reporting a set of metrics specific to that action including:
256
289
 
257
290
  * rails.action.request.total (# of requests)
@@ -366,4 +399,4 @@ If you are debugging setting up `librato-rails` locally you can set `flush_inter
366
399
 
367
400
  ## Copyright
368
401
 
369
- Copyright (c) 2012-2014 [Librato Inc.](http://librato.com) See LICENSE for details.
402
+ Copyright (c) 2012-2016 [Librato Inc.](http://librato.com) See LICENSE for details.
@@ -10,7 +10,12 @@ module Librato
10
10
  end
11
11
  end
12
12
 
13
+ def inherited(other)
14
+ super
15
+ Subscribers.inherit_watches(self.to_s, other.to_s)
16
+ end
17
+
13
18
  end
14
19
  end
15
20
  end
16
- end
21
+ end
@@ -5,7 +5,7 @@ module Librato
5
5
  # don't have any custom http vars anymore, check if hostname is UUID
6
6
  on_heroku = Socket.gethostname =~ /[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}/i
7
7
 
8
- config.before_configuration do
8
+ config.before_configuration do
9
9
  # make configuration proxy for config inside Rails
10
10
  config.librato_rails = Configuration.new
11
11
 
@@ -13,7 +13,20 @@ module Librato
13
13
 
14
14
  def self.watch_controller_action(controller, action)
15
15
  @watches ||= []
16
- @watches << "#{controller}##{action}".freeze
16
+
17
+ watch =
18
+ if action == :all
19
+ "#{controller}".freeze
20
+ else
21
+ "#{controller}##{action}".freeze
22
+ end
23
+
24
+ @watches << watch
25
+ end
26
+
27
+ def self.inherit_watches(base, descendant)
28
+ @watches ||= []
29
+ @watches << descendant.freeze if @watches.include?(base)
17
30
  end
18
31
  end
19
32
  end
@@ -14,7 +14,7 @@ module Librato
14
14
  format = "all" if format == "*/*"
15
15
  exception = event.payload[:exception]
16
16
 
17
- if @watches && @watches.index("#{controller}##{action}")
17
+ if @watches && (@watches.index(controller) || @watches.index("#{controller}##{action}"))
18
18
  source = "#{controller}.#{action}.#{format}"
19
19
  collector.group 'rails.action.request' do |r|
20
20
 
@@ -1,5 +1,5 @@
1
1
  module Librato
2
2
  module Rails
3
- VERSION = "1.3.0"
3
+ VERSION = "1.4.0.beta"
4
4
  end
5
5
  end
@@ -1,8 +1,8 @@
1
1
  class ApplicationController < ActionController::Base
2
2
  protect_from_forgery
3
-
3
+ instrument_action :all
4
4
  #after_filter :flush_metrics_rails
5
-
5
+
6
6
  # manually flush per request
7
7
  def flush_metrics_rails
8
8
  Librato::Rails.flush
@@ -0,0 +1,11 @@
1
+ class BaseController < ApplicationController
2
+ instrument_action :all
3
+
4
+ def action_1
5
+ render nothing: true
6
+ end
7
+
8
+ def action_2
9
+ render nothing: true
10
+ end
11
+ end
@@ -0,0 +1,9 @@
1
+ class DerivedController < IntermediateController
2
+ def action_1
3
+ render nothing: true
4
+ end
5
+
6
+ def action_2
7
+ render nothing: true
8
+ end
9
+ end
@@ -10,7 +10,7 @@ class InstrumentActionController < ApplicationController
10
10
  end
11
11
  end
12
12
 
13
- def not_instrumented
13
+ def not
14
14
  render nothing: true
15
15
  end
16
16
 
@@ -0,0 +1,5 @@
1
+ class IntermediateController < BaseController
2
+ def action_1
3
+ render nothing: true
4
+ end
5
+ end
@@ -20,6 +20,12 @@ Dummy::Application.routes.draw do
20
20
  get 'instrument/inst' => 'instrument_action#inst', :as => :instrument_action
21
21
  get 'instrument/not' => 'instrument_action#not', :as => :not_instrumented
22
22
 
23
+ get 'base/action_1' => 'base#action_1', :as => :base_action_1
24
+ get 'base/action_2' => 'base#action_2', :as => :base_action_2
25
+ get 'intermediate/action_1' => 'intermediate#action_1', :as => :intermediate_action_1
26
+ get 'derived/action_1' => 'derived#action_1', :as => :derived_action_1
27
+ get 'derived/action_2' => 'derived#action_2', :as => :derived_action_2
28
+
23
29
  # The priority is based upon order of creation:
24
30
  # first created -> highest priority.
25
31
 
@@ -19,4 +19,34 @@ class InstrumentActionTest < ActiveSupport::IntegrationCase
19
19
  assert_equal 1, counters.fetch("#{base}.total", source: source)
20
20
  end
21
21
 
22
+ test 'instrument all controller actions' do
23
+ visit base_action_1_path
24
+ visit base_action_2_path
25
+
26
+ metric = 'rails.action.request.time'
27
+
28
+ assert_equal 1, aggregate.fetch(metric, source: 'BaseController.action_1.html')[:count]
29
+ assert_equal 1, aggregate.fetch(metric, source: 'BaseController.action_2.html')[:count]
30
+ end
31
+
32
+ test 'instrument all controller actions for inherited controllers' do
33
+ visit intermediate_action_1_path
34
+ visit derived_action_1_path
35
+ visit derived_action_2_path
36
+
37
+ metric = 'rails.action.request.time'
38
+
39
+ assert_equal 1, aggregate.fetch(metric, source: 'IntermediateController.action_1.html')[:count]
40
+ assert_equal 1, aggregate.fetch(metric, source: 'DerivedController.action_1.html')[:count]
41
+ assert_equal 1, aggregate.fetch(metric, source: 'DerivedController.action_2.html')[:count]
42
+ end
43
+
44
+ test 'instrument all controller actions for all controllers' do
45
+ visit not_instrumented_path
46
+
47
+ metric = 'rails.action.request.time'
48
+
49
+ assert_equal 1, aggregate.fetch(metric, source: 'InstrumentActionController.not.html')[:count]
50
+ end
51
+
22
52
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: librato-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.4.0.beta
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Sanders
@@ -29,34 +29,34 @@ cert_chain:
29
29
  hvjx0WJP8pzZMJPKJBRZQXJO5ifEPyKjZyMi5XMHmrtDclHLj3sx4RAvEZjGWkRP
30
30
  JSQ=
31
31
  -----END CERTIFICATE-----
32
- date: 2016-04-21 00:00:00.000000000 Z
32
+ date: 2016-06-23 00:00:00.000000000 Z
33
33
  dependencies:
34
34
  - !ruby/object:Gem::Dependency
35
35
  name: railties
36
36
  requirement: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ">="
38
+ - - '>='
39
39
  - !ruby/object:Gem::Version
40
40
  version: '3.0'
41
41
  type: :runtime
42
42
  prerelease: false
43
43
  version_requirements: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ">="
45
+ - - '>='
46
46
  - !ruby/object:Gem::Version
47
47
  version: '3.0'
48
48
  - !ruby/object:Gem::Dependency
49
49
  name: activesupport
50
50
  requirement: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ">="
52
+ - - '>='
53
53
  - !ruby/object:Gem::Version
54
54
  version: '3.0'
55
55
  type: :runtime
56
56
  prerelease: false
57
57
  version_requirements: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ">="
59
+ - - '>='
60
60
  - !ruby/object:Gem::Version
61
61
  version: '3.0'
62
62
  - !ruby/object:Gem::Dependency
@@ -77,42 +77,42 @@ dependencies:
77
77
  name: sqlite3
78
78
  requirement: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - ">="
80
+ - - '>='
81
81
  - !ruby/object:Gem::Version
82
82
  version: '1.3'
83
83
  type: :development
84
84
  prerelease: false
85
85
  version_requirements: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - ">="
87
+ - - '>='
88
88
  - !ruby/object:Gem::Version
89
89
  version: '1.3'
90
90
  - !ruby/object:Gem::Dependency
91
91
  name: capybara
92
92
  requirement: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - "~>"
94
+ - - ~>
95
95
  - !ruby/object:Gem::Version
96
96
  version: 2.0.3
97
97
  type: :development
98
98
  prerelease: false
99
99
  version_requirements: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - "~>"
101
+ - - ~>
102
102
  - !ruby/object:Gem::Version
103
103
  version: 2.0.3
104
104
  - !ruby/object:Gem::Dependency
105
105
  name: rails
106
106
  requirement: !ruby/object:Gem::Requirement
107
107
  requirements:
108
- - - ">="
108
+ - - '>='
109
109
  - !ruby/object:Gem::Version
110
110
  version: '3.0'
111
111
  type: :development
112
112
  prerelease: false
113
113
  version_requirements: !ruby/object:Gem::Requirement
114
114
  requirements:
115
- - - ">="
115
+ - - '>='
116
116
  - !ruby/object:Gem::Version
117
117
  version: '3.0'
118
118
  description: Report key app statistics to the Librato Metrics service and easily track
@@ -123,18 +123,10 @@ executables: []
123
123
  extensions: []
124
124
  extra_rdoc_files: []
125
125
  files:
126
- - CHANGELOG.md
127
- - FAQ.md
128
- - LICENSE
129
- - README.md
130
- - Rakefile
131
- - lib/librato-rails.rb
132
- - lib/librato/rails.rb
133
126
  - lib/librato/rails/configuration.rb
134
- - lib/librato/rails/helpers.rb
135
127
  - lib/librato/rails/helpers/controller.rb
128
+ - lib/librato/rails/helpers.rb
136
129
  - lib/librato/rails/railtie.rb
137
- - lib/librato/rails/subscribers.rb
138
130
  - lib/librato/rails/subscribers/action.rb
139
131
  - lib/librato/rails/subscribers/cache.rb
140
132
  - lib/librato/rails/subscribers/controller.rb
@@ -144,11 +136,17 @@ files:
144
136
  - lib/librato/rails/subscribers/render.rb
145
137
  - lib/librato/rails/subscribers/sql.rb
146
138
  - lib/librato/rails/subscribers/status.rb
139
+ - lib/librato/rails/subscribers.rb
147
140
  - lib/librato/rails/tracker.rb
148
141
  - lib/librato/rails/version.rb
149
142
  - lib/librato/rails/version_specifier.rb
150
- - test/dummy/README.rdoc
151
- - test/dummy/Rakefile
143
+ - lib/librato/rails.rb
144
+ - lib/librato-rails.rb
145
+ - LICENSE
146
+ - Rakefile
147
+ - README.md
148
+ - CHANGELOG.md
149
+ - FAQ.md
152
150
  - test/dummy/app/assets/javascripts/application.js
153
151
  - test/dummy/app/assets/javascripts/home.js
154
152
  - test/dummy/app/assets/javascripts/status.js
@@ -156,9 +154,12 @@ files:
156
154
  - test/dummy/app/assets/stylesheets/home.css
157
155
  - test/dummy/app/assets/stylesheets/status.css
158
156
  - test/dummy/app/controllers/application_controller.rb
157
+ - test/dummy/app/controllers/base_controller.rb
159
158
  - test/dummy/app/controllers/cache_controller.rb
159
+ - test/dummy/app/controllers/derived_controller.rb
160
160
  - test/dummy/app/controllers/home_controller.rb
161
161
  - test/dummy/app/controllers/instrument_action_controller.rb
162
+ - test/dummy/app/controllers/intermediate_controller.rb
162
163
  - test/dummy/app/controllers/render_controller.rb
163
164
  - test/dummy/app/controllers/status_controller.rb
164
165
  - test/dummy/app/controllers/user_controller.rb
@@ -175,7 +176,6 @@ files:
175
176
  - test/dummy/app/views/render/template.html.erb
176
177
  - test/dummy/app/views/status/code.html.erb
177
178
  - test/dummy/app/views/user_mailer/welcome_email.text.erb
178
- - test/dummy/config.ru
179
179
  - test/dummy/config/application.rb
180
180
  - test/dummy/config/boot.rb
181
181
  - test/dummy/config/database.yml
@@ -193,6 +193,7 @@ files:
193
193
  - test/dummy/config/locales/en.yml
194
194
  - test/dummy/config/routes.rb
195
195
  - test/dummy/config/unicorn.rb
196
+ - test/dummy/config.ru
196
197
  - test/dummy/db/migrate/20120719231810_create_users.rb
197
198
  - test/dummy/db/schema.rb
198
199
  - test/dummy/extras/dummy_job.rb
@@ -200,6 +201,8 @@ files:
200
201
  - test/dummy/public/422.html
201
202
  - test/dummy/public/500.html
202
203
  - test/dummy/public/favicon.ico
204
+ - test/dummy/Rakefile
205
+ - test/dummy/README.rdoc
203
206
  - test/dummy/script/rails
204
207
  - test/fixtures/config/empty.yml
205
208
  - test/fixtures/config/librato.yml
@@ -227,17 +230,17 @@ require_paths:
227
230
  - lib
228
231
  required_ruby_version: !ruby/object:Gem::Requirement
229
232
  requirements:
230
- - - ">="
233
+ - - '>='
231
234
  - !ruby/object:Gem::Version
232
235
  version: '0'
233
236
  required_rubygems_version: !ruby/object:Gem::Requirement
234
237
  requirements:
235
- - - ">="
238
+ - - '>'
236
239
  - !ruby/object:Gem::Version
237
- version: '0'
240
+ version: 1.3.1
238
241
  requirements: []
239
242
  rubyforge_project:
240
- rubygems_version: 2.2.2
243
+ rubygems_version: 2.0.14.1
241
244
  signing_key:
242
245
  specification_version: 4
243
246
  summary: Use Librato Metrics with your Rails 3 app
@@ -249,9 +252,12 @@ test_files:
249
252
  - test/dummy/app/assets/stylesheets/home.css
250
253
  - test/dummy/app/assets/stylesheets/status.css
251
254
  - test/dummy/app/controllers/application_controller.rb
255
+ - test/dummy/app/controllers/base_controller.rb
252
256
  - test/dummy/app/controllers/cache_controller.rb
257
+ - test/dummy/app/controllers/derived_controller.rb
253
258
  - test/dummy/app/controllers/home_controller.rb
254
259
  - test/dummy/app/controllers/instrument_action_controller.rb
260
+ - test/dummy/app/controllers/intermediate_controller.rb
255
261
  - test/dummy/app/controllers/render_controller.rb
256
262
  - test/dummy/app/controllers/status_controller.rb
257
263
  - test/dummy/app/controllers/user_controller.rb
metadata.gz.sig CHANGED
Binary file