librato-rails 0.12.0 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- checksums.yaml.gz.sig +1 -0
- data/CHANGELOG.md +4 -0
- data/README.md +1 -1
- data/lib/librato/rails/subscribers/job.rb +18 -0
- data/lib/librato/rails/subscribers.rb +5 -1
- data/lib/librato/rails/version.rb +1 -1
- data/lib/librato/rails/version_specifier.rb +45 -0
- data/lib/librato/rails.rb +2 -1
- data/test/dummy/config/application.rb +6 -4
- data/test/dummy/extras/dummy_job.rb +7 -0
- data/test/integration/job_test.rb +18 -0
- data/test/unit/version_specifier_test.rb +31 -0
- data.tar.gz.sig +0 -0
- metadata +58 -76
- metadata.gz.sig +0 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: a4563a727c2d24286d6bee498c2f7560cd586208
|
4
|
+
data.tar.gz: b7dd937e6544d3dfe2b7af675d1723bf973ddc0c
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 54c81caa7ef34c047e288e034750d86165060517283cc021d686a23d2370be6af129a511e06cbbfee78eb03c79f8345e71f27f383cdd414ab3f0db1db833d7bb
|
7
|
+
data.tar.gz: b99ce4c90b2a3ab5f4deac78e822665ea94474fbd9f523e15312daa16fc7415a5be1333245b96b783171a865ec637bcdd93223837b307b64f7446722f372ba28
|
checksums.yaml.gz.sig
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
#f��3�S:C������{Eq��1�Mn���<�����zw�����Y�EǨ�\qxd�-D�N��!�GЍ߾F�����W��g��{j��n�cA���j��[��"�3_�D_R�XC��S5��e�
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,7 @@
|
|
1
|
+
### Version 1.0.0
|
2
|
+
* Add Active Job support for job counters and timings
|
3
|
+
* Add `VersionSpecifier` to manage Rails version runtime dependencies
|
4
|
+
|
1
5
|
### Version 0.12.0
|
2
6
|
* Add percentile support for timings
|
3
7
|
* Start reporting 95th percentile for key ActionController metrics
|
data/README.md
CHANGED
@@ -80,7 +80,7 @@ Note that if Heroku idles your application measurements will not be sent until i
|
|
80
80
|
|
81
81
|
## Automatic Measurements
|
82
82
|
|
83
|
-
After installing `librato-rails` and restarting your app
|
83
|
+
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.
|
84
84
|
|
85
85
|
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.
|
86
86
|
|
@@ -0,0 +1,18 @@
|
|
1
|
+
module Librato
|
2
|
+
module Rails
|
3
|
+
module Subscribers
|
4
|
+
hooks = %w{enqueue_at enqueue perform_start perform}
|
5
|
+
|
6
|
+
hooks.each do |hook|
|
7
|
+
ActiveSupport::Notifications.subscribe "#{hook}.active_job" do |*args|
|
8
|
+
event = ActiveSupport::Notifications::Event.new(*args)
|
9
|
+
|
10
|
+
collector.group 'rails.job' do |c|
|
11
|
+
c.increment hook
|
12
|
+
c.timing "#{hook}.time", event.duration, source: event.payload[:job].class
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
@@ -19,4 +19,8 @@ require_relative 'subscribers/cache'
|
|
19
19
|
require_relative 'subscribers/controller'
|
20
20
|
require_relative 'subscribers/render'
|
21
21
|
require_relative 'subscribers/sql'
|
22
|
-
require_relative 'subscribers/mail'
|
22
|
+
require_relative 'subscribers/mail'
|
23
|
+
|
24
|
+
Librato::Rails::VersionSpecifier.supported(min: '4.2') do
|
25
|
+
require_relative 'subscribers/job'
|
26
|
+
end
|
@@ -0,0 +1,45 @@
|
|
1
|
+
module Librato
|
2
|
+
module Rails
|
3
|
+
class VersionSpecifier
|
4
|
+
def self.supported(opts={}, &block)
|
5
|
+
new(::Rails).supported(opts, &block)
|
6
|
+
end
|
7
|
+
|
8
|
+
def initialize(env)
|
9
|
+
@env = env
|
10
|
+
end
|
11
|
+
|
12
|
+
def supported(opts={}, &block)
|
13
|
+
unless block_given?
|
14
|
+
raise VersionSpecifierError, 'version specific block required'
|
15
|
+
end
|
16
|
+
|
17
|
+
if !opts.key?(:min) && !opts.key?(:max)
|
18
|
+
raise VersionSpecifierError, ':min and/or :max arguments required'
|
19
|
+
end
|
20
|
+
|
21
|
+
yield if is_supported?(opts)
|
22
|
+
end
|
23
|
+
|
24
|
+
private
|
25
|
+
|
26
|
+
def version
|
27
|
+
[@env::VERSION::MAJOR, @env::VERSION::MINOR].compact.join('.')
|
28
|
+
end
|
29
|
+
|
30
|
+
def is_supported?(opts={})
|
31
|
+
if version >= opts[:min].to_s && !opts.key?(:max)
|
32
|
+
return true
|
33
|
+
elsif version <= opts[:max].to_s && !opts.key?(:min)
|
34
|
+
return true
|
35
|
+
elsif version.between?(opts[:min].to_s, opts[:max].to_s)
|
36
|
+
return true
|
37
|
+
else
|
38
|
+
return false
|
39
|
+
end
|
40
|
+
end
|
41
|
+
end
|
42
|
+
|
43
|
+
class VersionSpecifierError < StandardError; end
|
44
|
+
end
|
45
|
+
end
|
data/lib/librato/rails.rb
CHANGED
@@ -5,7 +5,8 @@ require_relative 'rails/version'
|
|
5
5
|
|
6
6
|
# must load after all module setup and in this order
|
7
7
|
if defined?(Rails)
|
8
|
+
require_relative 'rails/version_specifier'
|
8
9
|
require_relative 'rails/railtie'
|
9
10
|
require_relative 'rails/subscribers'
|
10
11
|
require_relative 'rails/helpers'
|
11
|
-
end
|
12
|
+
end
|
@@ -11,8 +11,11 @@ module Dummy
|
|
11
11
|
# Application configuration should go into files in config/initializers
|
12
12
|
# -- all .rb files in that directory are automatically loaded.
|
13
13
|
|
14
|
-
|
15
|
-
|
14
|
+
Librato::Rails::VersionSpecifier.supported(min: '4.2') do
|
15
|
+
# Custom directories with classes and modules you want to be autoloadable.
|
16
|
+
# config.autoload_paths += %W(#{config.root}/extras)
|
17
|
+
config.autoload_paths += %W(#{config.root}/extras)
|
18
|
+
end
|
16
19
|
|
17
20
|
# Only load the plugins named here, in the order given (default is alphabetical).
|
18
21
|
# :all can be used as a placeholder for all plugins not explicitly named.
|
@@ -43,7 +46,7 @@ module Dummy
|
|
43
46
|
# like if you have constraints or database-specific column types
|
44
47
|
# config.active_record.schema_format = :sql
|
45
48
|
|
46
|
-
|
49
|
+
Librato::Rails::VersionSpecifier.supported(min: '3.0', max: '3.2') do
|
47
50
|
# Enforce whitelist mode for mass assignment.
|
48
51
|
# This will create an empty whitelist of attributes available for mass-assignment for all models
|
49
52
|
# in your app. As such, your models will need to explicitly whitelist or blacklist accessible
|
@@ -62,4 +65,3 @@ module Dummy
|
|
62
65
|
config.librato_rails.flush_interval = 5
|
63
66
|
end
|
64
67
|
end
|
65
|
-
|
@@ -0,0 +1,18 @@
|
|
1
|
+
require 'test_helper'
|
2
|
+
|
3
|
+
class JobTest < ActiveSupport::IntegrationCase
|
4
|
+
Librato::Rails::VersionSpecifier.supported(min: '4.2') do
|
5
|
+
test 'jobs performed' do
|
6
|
+
DummyJob.perform_now
|
7
|
+
|
8
|
+
assert_equal 1, counters['rails.job.perform']
|
9
|
+
assert_equal 1, aggregate.fetch('rails.job.perform.time', source: 'DummyJob')[:count]
|
10
|
+
end
|
11
|
+
|
12
|
+
test 'jobs enqueued' do
|
13
|
+
DummyJob.perform_later
|
14
|
+
|
15
|
+
assert_equal 1, counters['rails.job.enqueue']
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
@@ -0,0 +1,31 @@
|
|
1
|
+
require 'test_helper'
|
2
|
+
|
3
|
+
class VersionSpecifierTest < MiniTest::Unit::TestCase
|
4
|
+
def setup
|
5
|
+
@version = [Rails::VERSION::MAJOR, Rails::VERSION::MINOR].compact.join('.')
|
6
|
+
@yielded = false
|
7
|
+
end
|
8
|
+
|
9
|
+
def test_supported_min
|
10
|
+
Librato::Rails::VersionSpecifier.supported(min: @version) { @yielded = true }
|
11
|
+
|
12
|
+
assert_equal true, @yielded
|
13
|
+
end
|
14
|
+
|
15
|
+
def test_supported_max
|
16
|
+
Librato::Rails::VersionSpecifier.supported(max: @version) { @yielded = true }
|
17
|
+
|
18
|
+
assert_equal true, @yielded
|
19
|
+
end
|
20
|
+
|
21
|
+
def test_supported_not_yielded
|
22
|
+
Librato::Rails::VersionSpecifier.supported(max: '2.0') { @yielded = true }
|
23
|
+
|
24
|
+
assert_equal false, @yielded
|
25
|
+
end
|
26
|
+
|
27
|
+
def test_supported_raises
|
28
|
+
assert_raises(Librato::Rails::VersionSpecifierError) { Librato::Rails::VersionSpecifier.supported }
|
29
|
+
assert_raises(Librato::Rails::VersionSpecifierError) { Librato::Rails::VersionSpecifier.supported(max: '2.0') }
|
30
|
+
end
|
31
|
+
end
|
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,79 +1,67 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: librato-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
5
|
-
prerelease:
|
4
|
+
version: 1.0.0
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Matt Sanders
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain:
|
12
|
-
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
UEZVZU1TaEgvSC9GRVlyZXhSdmFNSG8vNTJCZzB6UDB5U1NBUURvdG0rcWdN
|
35
|
-
ZHJ1MlhSRGpFNU1zCjlCaGVBbm95Z0dIcG9LV3RFeHBza2xDcHBMMXEyWGx6
|
36
|
-
dzJsaG9DTUxDU1NqOVQvWXlSVEwzVVFZb0s1cFBBNzYKaHZqeDBXSlA4cHpa
|
37
|
-
TUpQS0pCUlpRWEpPNWlmRVB5S2paeU1pNVhNSG1ydERjbEhMajNzeDRSQXZF
|
38
|
-
WmpHV2tSUApKU1E9Ci0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0K
|
39
|
-
date: 2015-10-12 00:00:00.000000000 Z
|
11
|
+
- |
|
12
|
+
-----BEGIN CERTIFICATE-----
|
13
|
+
MIIDLjCCAhagAwIBAgIBADANBgkqhkiG9w0BAQUFADA9MQ0wCwYDVQQDDARtYXR0
|
14
|
+
MRcwFQYKCZImiZPyLGQBGRYHbGlicmF0bzETMBEGCgmSJomT8ixkARkWA2NvbTAe
|
15
|
+
Fw0xNTEwMTIyMjA0MzVaFw0xNjEwMTEyMjA0MzVaMD0xDTALBgNVBAMMBG1hdHQx
|
16
|
+
FzAVBgoJkiaJk/IsZAEZFgdsaWJyYXRvMRMwEQYKCZImiZPyLGQBGRYDY29tMIIB
|
17
|
+
IjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAvfN8RlAsUs+K5kK46SkhpYey
|
18
|
+
54m5bXlGZeqIguOygpG+2FJrUJMCnkQ9RmyK0WUjdmANevW01caQQSx5WatQZso0
|
19
|
+
GfJyJfKn4dGecz9LOEPpblw++qapLXr4vbuOlNXsum2gdUFc4/YV9l3csxClMVEq
|
20
|
+
+ZUmrHjd2koOvzjK+GDRf3iIozCsgY0oeserZ0li/0qRA5ZJeFwWzs9FO9SXPvID
|
21
|
+
Mk07WNaXSRT38llcPGX4L8K+DL7whQwxaFj6IZbobUEtRjzV9v/iP7PiJipijbKB
|
22
|
+
EiefgUuolRR38NxQE+f4M/lEqwEpkY/feYMYF6Q4hXVruG3fswjrDGWyiG5nEQID
|
23
|
+
AQABozkwNzAJBgNVHRMEAjAAMB0GA1UdDgQWBBR8+l0ZSTbj/TT6YVbFFpdGpg7q
|
24
|
+
UDALBgNVHQ8EBAMCBLAwDQYJKoZIhvcNAQEFBQADggEBAKuUiuG2PHv6paQjXjaZ
|
25
|
+
LQOsFunScHyhDhPFh/CcCUDbmXVDOJ3WIyDVQuUgK7I3jPEDaSFezSPBpjwZvgMK
|
26
|
+
0/in7pXLRKjI8CzsY8Y4u122DN9tBxLur+E/kv5fpUbf8FGUSuRT5X3wh6ZBTzsZ
|
27
|
+
EaMe3LpPFUeMShH/H/FEYrexRvaMHo/52Bg0zP0ySSAQDotm+qgMdru2XRDjE5Ms
|
28
|
+
9BheAnoygGHpoKWtExpsklCppL1q2Xlzw2lhoCMLCSSj9T/YyRTL3UQYoK5pPA76
|
29
|
+
hvjx0WJP8pzZMJPKJBRZQXJO5ifEPyKjZyMi5XMHmrtDclHLj3sx4RAvEZjGWkRP
|
30
|
+
JSQ=
|
31
|
+
-----END CERTIFICATE-----
|
32
|
+
date: 2015-12-02 00:00:00.000000000 Z
|
40
33
|
dependencies:
|
41
34
|
- !ruby/object:Gem::Dependency
|
42
35
|
name: railties
|
43
36
|
requirement: !ruby/object:Gem::Requirement
|
44
|
-
none: false
|
45
37
|
requirements:
|
46
|
-
- -
|
38
|
+
- - ">="
|
47
39
|
- !ruby/object:Gem::Version
|
48
40
|
version: '3.0'
|
49
41
|
type: :runtime
|
50
42
|
prerelease: false
|
51
43
|
version_requirements: !ruby/object:Gem::Requirement
|
52
|
-
none: false
|
53
44
|
requirements:
|
54
|
-
- -
|
45
|
+
- - ">="
|
55
46
|
- !ruby/object:Gem::Version
|
56
47
|
version: '3.0'
|
57
48
|
- !ruby/object:Gem::Dependency
|
58
49
|
name: activesupport
|
59
50
|
requirement: !ruby/object:Gem::Requirement
|
60
|
-
none: false
|
61
51
|
requirements:
|
62
|
-
- -
|
52
|
+
- - ">="
|
63
53
|
- !ruby/object:Gem::Version
|
64
54
|
version: '3.0'
|
65
55
|
type: :runtime
|
66
56
|
prerelease: false
|
67
57
|
version_requirements: !ruby/object:Gem::Requirement
|
68
|
-
none: false
|
69
58
|
requirements:
|
70
|
-
- -
|
59
|
+
- - ">="
|
71
60
|
- !ruby/object:Gem::Version
|
72
61
|
version: '3.0'
|
73
62
|
- !ruby/object:Gem::Dependency
|
74
63
|
name: librato-rack
|
75
64
|
requirement: !ruby/object:Gem::Requirement
|
76
|
-
none: false
|
77
65
|
requirements:
|
78
66
|
- - '='
|
79
67
|
- !ruby/object:Gem::Version
|
@@ -81,7 +69,6 @@ dependencies:
|
|
81
69
|
type: :runtime
|
82
70
|
prerelease: false
|
83
71
|
version_requirements: !ruby/object:Gem::Requirement
|
84
|
-
none: false
|
85
72
|
requirements:
|
86
73
|
- - '='
|
87
74
|
- !ruby/object:Gem::Version
|
@@ -89,49 +76,43 @@ dependencies:
|
|
89
76
|
- !ruby/object:Gem::Dependency
|
90
77
|
name: sqlite3
|
91
78
|
requirement: !ruby/object:Gem::Requirement
|
92
|
-
none: false
|
93
79
|
requirements:
|
94
|
-
- -
|
80
|
+
- - ">="
|
95
81
|
- !ruby/object:Gem::Version
|
96
82
|
version: '1.3'
|
97
83
|
type: :development
|
98
84
|
prerelease: false
|
99
85
|
version_requirements: !ruby/object:Gem::Requirement
|
100
|
-
none: false
|
101
86
|
requirements:
|
102
|
-
- -
|
87
|
+
- - ">="
|
103
88
|
- !ruby/object:Gem::Version
|
104
89
|
version: '1.3'
|
105
90
|
- !ruby/object:Gem::Dependency
|
106
91
|
name: capybara
|
107
92
|
requirement: !ruby/object:Gem::Requirement
|
108
|
-
none: false
|
109
93
|
requirements:
|
110
|
-
- - ~>
|
94
|
+
- - "~>"
|
111
95
|
- !ruby/object:Gem::Version
|
112
96
|
version: 2.0.3
|
113
97
|
type: :development
|
114
98
|
prerelease: false
|
115
99
|
version_requirements: !ruby/object:Gem::Requirement
|
116
|
-
none: false
|
117
100
|
requirements:
|
118
|
-
- - ~>
|
101
|
+
- - "~>"
|
119
102
|
- !ruby/object:Gem::Version
|
120
103
|
version: 2.0.3
|
121
104
|
- !ruby/object:Gem::Dependency
|
122
105
|
name: rails
|
123
106
|
requirement: !ruby/object:Gem::Requirement
|
124
|
-
none: false
|
125
107
|
requirements:
|
126
|
-
- -
|
108
|
+
- - ">="
|
127
109
|
- !ruby/object:Gem::Version
|
128
110
|
version: '3.0'
|
129
111
|
type: :development
|
130
112
|
prerelease: false
|
131
113
|
version_requirements: !ruby/object:Gem::Requirement
|
132
|
-
none: false
|
133
114
|
requirements:
|
134
|
-
- -
|
115
|
+
- - ">="
|
135
116
|
- !ruby/object:Gem::Version
|
136
117
|
version: '3.0'
|
137
118
|
description: Report key app statistics to the Librato Metrics service and easily track
|
@@ -142,25 +123,29 @@ executables: []
|
|
142
123
|
extensions: []
|
143
124
|
extra_rdoc_files: []
|
144
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
|
145
133
|
- lib/librato/rails/configuration.rb
|
146
|
-
- lib/librato/rails/helpers/controller.rb
|
147
134
|
- lib/librato/rails/helpers.rb
|
135
|
+
- lib/librato/rails/helpers/controller.rb
|
148
136
|
- lib/librato/rails/railtie.rb
|
137
|
+
- lib/librato/rails/subscribers.rb
|
149
138
|
- lib/librato/rails/subscribers/cache.rb
|
150
139
|
- lib/librato/rails/subscribers/controller.rb
|
140
|
+
- lib/librato/rails/subscribers/job.rb
|
151
141
|
- lib/librato/rails/subscribers/mail.rb
|
152
142
|
- lib/librato/rails/subscribers/render.rb
|
153
143
|
- lib/librato/rails/subscribers/sql.rb
|
154
|
-
- lib/librato/rails/subscribers.rb
|
155
144
|
- lib/librato/rails/tracker.rb
|
156
145
|
- lib/librato/rails/version.rb
|
157
|
-
- lib/librato/rails.rb
|
158
|
-
-
|
159
|
-
-
|
160
|
-
- Rakefile
|
161
|
-
- README.md
|
162
|
-
- CHANGELOG.md
|
163
|
-
- FAQ.md
|
146
|
+
- lib/librato/rails/version_specifier.rb
|
147
|
+
- test/dummy/README.rdoc
|
148
|
+
- test/dummy/Rakefile
|
164
149
|
- test/dummy/app/assets/javascripts/application.js
|
165
150
|
- test/dummy/app/assets/javascripts/home.js
|
166
151
|
- test/dummy/app/assets/javascripts/status.js
|
@@ -187,6 +172,7 @@ files:
|
|
187
172
|
- test/dummy/app/views/render/template.html.erb
|
188
173
|
- test/dummy/app/views/status/code.html.erb
|
189
174
|
- test/dummy/app/views/user_mailer/welcome_email.text.erb
|
175
|
+
- test/dummy/config.ru
|
190
176
|
- test/dummy/config/application.rb
|
191
177
|
- test/dummy/config/boot.rb
|
192
178
|
- test/dummy/config/database.yml
|
@@ -204,15 +190,13 @@ files:
|
|
204
190
|
- test/dummy/config/locales/en.yml
|
205
191
|
- test/dummy/config/routes.rb
|
206
192
|
- test/dummy/config/unicorn.rb
|
207
|
-
- test/dummy/config.ru
|
208
193
|
- test/dummy/db/migrate/20120719231810_create_users.rb
|
209
194
|
- test/dummy/db/schema.rb
|
195
|
+
- test/dummy/extras/dummy_job.rb
|
210
196
|
- test/dummy/public/404.html
|
211
197
|
- test/dummy/public/422.html
|
212
198
|
- test/dummy/public/500.html
|
213
199
|
- test/dummy/public/favicon.ico
|
214
|
-
- test/dummy/Rakefile
|
215
|
-
- test/dummy/README.rdoc
|
216
200
|
- test/dummy/script/rails
|
217
201
|
- test/fixtures/config/empty.yml
|
218
202
|
- test/fixtures/config/librato.yml
|
@@ -220,6 +204,7 @@ files:
|
|
220
204
|
- test/integration/cache_test.rb
|
221
205
|
- test/integration/custom_test.rb
|
222
206
|
- test/integration/instrument_action_test.rb
|
207
|
+
- test/integration/job_test.rb
|
223
208
|
- test/integration/mail_test.rb
|
224
209
|
- test/integration/render_test.rb
|
225
210
|
- test/integration/request_test.rb
|
@@ -228,36 +213,30 @@ files:
|
|
228
213
|
- test/test_helper.rb
|
229
214
|
- test/unit/configuration_test.rb
|
230
215
|
- test/unit/tracker_test.rb
|
216
|
+
- test/unit/version_specifier_test.rb
|
231
217
|
homepage: https://github.com/librato/librato-rails
|
232
218
|
licenses:
|
233
219
|
- BSD 3-clause
|
220
|
+
metadata: {}
|
234
221
|
post_install_message:
|
235
222
|
rdoc_options: []
|
236
223
|
require_paths:
|
237
224
|
- lib
|
238
225
|
required_ruby_version: !ruby/object:Gem::Requirement
|
239
|
-
none: false
|
240
226
|
requirements:
|
241
|
-
- -
|
227
|
+
- - ">="
|
242
228
|
- !ruby/object:Gem::Version
|
243
229
|
version: '0'
|
244
|
-
segments:
|
245
|
-
- 0
|
246
|
-
hash: -1537943949532100725
|
247
230
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
248
|
-
none: false
|
249
231
|
requirements:
|
250
|
-
- -
|
232
|
+
- - ">="
|
251
233
|
- !ruby/object:Gem::Version
|
252
234
|
version: '0'
|
253
|
-
segments:
|
254
|
-
- 0
|
255
|
-
hash: -1537943949532100725
|
256
235
|
requirements: []
|
257
236
|
rubyforge_project:
|
258
|
-
rubygems_version:
|
237
|
+
rubygems_version: 2.2.2
|
259
238
|
signing_key:
|
260
|
-
specification_version:
|
239
|
+
specification_version: 4
|
261
240
|
summary: Use Librato Metrics with your Rails 3 app
|
262
241
|
test_files:
|
263
242
|
- test/dummy/app/assets/javascripts/application.js
|
@@ -306,6 +285,7 @@ test_files:
|
|
306
285
|
- test/dummy/config.ru
|
307
286
|
- test/dummy/db/migrate/20120719231810_create_users.rb
|
308
287
|
- test/dummy/db/schema.rb
|
288
|
+
- test/dummy/extras/dummy_job.rb
|
309
289
|
- test/dummy/public/404.html
|
310
290
|
- test/dummy/public/422.html
|
311
291
|
- test/dummy/public/500.html
|
@@ -319,6 +299,7 @@ test_files:
|
|
319
299
|
- test/integration/cache_test.rb
|
320
300
|
- test/integration/custom_test.rb
|
321
301
|
- test/integration/instrument_action_test.rb
|
302
|
+
- test/integration/job_test.rb
|
322
303
|
- test/integration/mail_test.rb
|
323
304
|
- test/integration/render_test.rb
|
324
305
|
- test/integration/request_test.rb
|
@@ -327,3 +308,4 @@ test_files:
|
|
327
308
|
- test/test_helper.rb
|
328
309
|
- test/unit/configuration_test.rb
|
329
310
|
- test/unit/tracker_test.rb
|
311
|
+
- test/unit/version_specifier_test.rb
|
metadata.gz.sig
CHANGED
Binary file
|