librato-rails 0.7.3 → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.md +2 -2
- data/lib/librato/rack/middleware.rb +1 -1
- data/lib/librato/rails/configuration.rb +52 -0
- data/lib/librato/rails/logging.rb +75 -0
- data/lib/librato/rails/version.rb +1 -1
- data/lib/librato/rails.rb +5 -96
- data/test/unit/configuration_test.rb +15 -0
- metadata +4 -52
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/development.log +0 -2858
- data/test/dummy/log/test.log +0 -8232
- data/test/dummy/tmp/cache/assets/CBF/9D0/sprockets%2F541895701c40c7d7fd678356b18cb59d +0 -0
- data/test/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953 +0 -0
- data/test/dummy/tmp/cache/assets/CDF/870/sprockets%2Fb878faf942403e313a5b103e5d80488e +0 -0
- data/test/dummy/tmp/cache/assets/CE8/7E0/sprockets%2F178e2a1f9aa891d473009c7f3095df28 +0 -0
- data/test/dummy/tmp/cache/assets/CF9/7C0/sprockets%2F40fc2f3d2a468a00e463f1d313cb1683 +0 -0
- data/test/dummy/tmp/cache/assets/D02/220/sprockets%2F1410fa948b990522bdfeca7841d31b13 +0 -0
- data/test/dummy/tmp/cache/assets/D04/890/sprockets%2F587335c079eef8d5a63784fc8f99905a +0 -0
- data/test/dummy/tmp/cache/assets/D05/D40/sprockets%2F1c9faaf28d05409b88ad3113374d613c +0 -0
- data/test/dummy/tmp/cache/assets/D19/710/sprockets%2F5b878936d488c1f601c231fda1d678ea +0 -0
- data/test/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705 +0 -0
- data/test/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655 +0 -0
- data/test/dummy/tmp/cache/assets/D4F/000/sprockets%2F25e44896aac12384727e9dab827ebef9 +0 -0
- data/test/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6 +0 -0
- data/test/dummy/tmp/cache/assets/D69/610/sprockets%2F3902e4b1ffbdb61222bf5fc45a44799a +0 -0
- data/test/dummy/tmp/cache/assets/D8B/F90/sprockets%2Ffe6ce696e9141eb755d8eed79128e17c +0 -0
- data/test/dummy/tmp/cache/assets/D98/8B0/sprockets%2Fedbef6e0d0a4742346cf479f2c522eb0 +0 -0
- data/test/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994 +0 -0
- data/test/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af +0 -0
data/README.md
CHANGED
@@ -35,7 +35,7 @@ Note that using a configuration file allows you to specify different configurati
|
|
35
35
|
|
36
36
|
##### Use environment variables
|
37
37
|
|
38
|
-
Alternately you can provide `
|
38
|
+
Alternately you can provide `LIBRATO_USER` and `LIBRATO_TOKEN` environment variables. Unlike config file settings, environment variables will be used in all non-test environments (development, production, etc).
|
39
39
|
|
40
40
|
Note that if a config file is present, _all environment variables will be ignored_.
|
41
41
|
|
@@ -47,7 +47,7 @@ If you are using the Librato Metrics Heroku addon, your user and token environme
|
|
47
47
|
|
48
48
|
In either case you will need to specify a custom source for your app to track properly. If `librato-rails` does not detect an explicit source it will not start. You can set the source in your environment:
|
49
49
|
|
50
|
-
heroku config:add
|
50
|
+
heroku config:add LIBRATO_SOURCE=myappname
|
51
51
|
|
52
52
|
If you are using a config file, add your source entry to that instead.
|
53
53
|
|
@@ -0,0 +1,52 @@
|
|
1
|
+
module Librato
|
2
|
+
module Rails
|
3
|
+
module Configuration
|
4
|
+
CONFIG_SETTABLE = %w{user token flush_interval log_level prefix source source_pids}
|
5
|
+
|
6
|
+
mattr_accessor :config_file
|
7
|
+
self.config_file = 'config/librato.yml'
|
8
|
+
|
9
|
+
# set custom api endpoint
|
10
|
+
def api_endpoint=(endpoint)
|
11
|
+
@api_endpoint = endpoint
|
12
|
+
end
|
13
|
+
|
14
|
+
# detect / update configuration
|
15
|
+
def check_config
|
16
|
+
self.log_level = ENV['LIBRATO_LOG_LEVEL'] if ENV['LIBRATO_LOG_LEVEL']
|
17
|
+
if self.config_file && File.exists?(self.config_file)
|
18
|
+
configure_with_config_file
|
19
|
+
else
|
20
|
+
configure_with_environment
|
21
|
+
end
|
22
|
+
end
|
23
|
+
|
24
|
+
private
|
25
|
+
|
26
|
+
def configure_with_config_file
|
27
|
+
log :debug, "configuring with librato.yml; ignoring environment variables.."
|
28
|
+
if env_specific = YAML.load(ERB.new(File.read(config_file)).result)[::Rails.env]
|
29
|
+
settable = CONFIG_SETTABLE & env_specific.keys
|
30
|
+
settable.each { |key| self.send("#{key}=", env_specific[key]) }
|
31
|
+
else
|
32
|
+
log :debug, "halting: current environment (#{::Rails.env}) not in config file."
|
33
|
+
end
|
34
|
+
end
|
35
|
+
|
36
|
+
def configure_with_environment
|
37
|
+
log :debug, "using environment variables for configuration.."
|
38
|
+
%w{user token source log_level prefix}.each do |settable|
|
39
|
+
legacy_env_var = "LIBRATO_METRICS_#{settable.upcase}"
|
40
|
+
if ENV[legacy_env_var]
|
41
|
+
log :warn, "#{legacy_env_var} is deprecated, use LIBRATO_#{settable.upcase} instead"
|
42
|
+
send("#{settable}=", ENV[legacy_env_var])
|
43
|
+
end
|
44
|
+
# if both are present, new-style dominates
|
45
|
+
env_var = "LIBRATO_#{settable.upcase}"
|
46
|
+
send("#{settable}=", ENV[env_var]) if ENV[env_var]
|
47
|
+
end
|
48
|
+
end
|
49
|
+
|
50
|
+
end
|
51
|
+
end
|
52
|
+
end
|
@@ -0,0 +1,75 @@
|
|
1
|
+
module Librato::Rails
|
2
|
+
module Logging
|
3
|
+
LOG_LEVELS = [:off, :error, :warn, :info, :debug, :trace]
|
4
|
+
|
5
|
+
# ex: log :debug, 'this is a debug message'
|
6
|
+
def log(level, message)
|
7
|
+
return unless should_log?(level)
|
8
|
+
case level
|
9
|
+
when :error, :warn
|
10
|
+
method = level
|
11
|
+
else
|
12
|
+
method = :info
|
13
|
+
end
|
14
|
+
message = '[librato-rails] ' << message
|
15
|
+
logger.send(method, message)
|
16
|
+
end
|
17
|
+
|
18
|
+
# set log level to any of LOG_LEVELS
|
19
|
+
def log_level=(level)
|
20
|
+
level = level.to_sym
|
21
|
+
if LOG_LEVELS.index(level)
|
22
|
+
@log_level = level
|
23
|
+
require 'pp' if should_log?(:debug)
|
24
|
+
else
|
25
|
+
raise "Invalid log level '#{level}'"
|
26
|
+
end
|
27
|
+
end
|
28
|
+
|
29
|
+
def log_level
|
30
|
+
@log_level ||= :info
|
31
|
+
end
|
32
|
+
|
33
|
+
private
|
34
|
+
|
35
|
+
def logger
|
36
|
+
@logger ||= if on_heroku
|
37
|
+
logger = Logger.new(STDOUT)
|
38
|
+
logger.level = Logger::INFO
|
39
|
+
logger
|
40
|
+
else
|
41
|
+
::Rails.logger
|
42
|
+
end
|
43
|
+
end
|
44
|
+
|
45
|
+
def should_log?(level)
|
46
|
+
LOG_LEVELS.index(self.log_level) >= LOG_LEVELS.index(level)
|
47
|
+
end
|
48
|
+
|
49
|
+
# trace current environment
|
50
|
+
def trace_environment
|
51
|
+
log :info, "Environment: " + ENV.pretty_inspect
|
52
|
+
end
|
53
|
+
|
54
|
+
# trace metrics being sent
|
55
|
+
def trace_queued(queued)
|
56
|
+
log :trace, "Queued: " + queued.pretty_inspect
|
57
|
+
end
|
58
|
+
|
59
|
+
def trace_settings
|
60
|
+
settings = {
|
61
|
+
:user => self.user,
|
62
|
+
:token => self.token,
|
63
|
+
:source => source,
|
64
|
+
:explicit_source => self.explicit_source ? 'true' : 'false',
|
65
|
+
:source_pids => self.source_pids ? 'true' : 'false',
|
66
|
+
:qualified_source => qualified_source,
|
67
|
+
:log_level => log_level,
|
68
|
+
:prefix => prefix,
|
69
|
+
:flush_interval => self.flush_interval
|
70
|
+
}
|
71
|
+
log :info, 'Settings: ' + settings.pretty_inspect
|
72
|
+
end
|
73
|
+
|
74
|
+
end
|
75
|
+
end
|
data/lib/librato/rails.rb
CHANGED
@@ -8,8 +8,10 @@ require 'librato/metrics'
|
|
8
8
|
require 'librato/rack'
|
9
9
|
require 'librato/rails/aggregator'
|
10
10
|
require 'librato/rails/collector'
|
11
|
+
require 'librato/rails/configuration'
|
11
12
|
require 'librato/rails/counter_cache'
|
12
13
|
require 'librato/rails/group'
|
14
|
+
require 'librato/rails/logging'
|
13
15
|
require 'librato/rails/validating_queue'
|
14
16
|
require 'librato/rails/version'
|
15
17
|
require 'librato/rails/worker'
|
@@ -20,14 +22,12 @@ module Librato
|
|
20
22
|
|
21
23
|
module Rails
|
22
24
|
extend SingleForwardable
|
23
|
-
|
25
|
+
extend Librato::Rails::Configuration
|
26
|
+
extend Librato::Rails::Logging
|
27
|
+
|
24
28
|
FORKING_SERVERS = [:unicorn, :passenger]
|
25
|
-
LOG_LEVELS = [:off, :error, :warn, :info, :debug, :trace]
|
26
29
|
SOURCE_REGEX = /\A[-:A-Za-z0-9_.]{1,255}\z/
|
27
30
|
|
28
|
-
mattr_accessor :config_file
|
29
|
-
self.config_file = 'config/librato.yml'
|
30
|
-
|
31
31
|
# config options
|
32
32
|
mattr_accessor :user
|
33
33
|
mattr_accessor :token
|
@@ -49,31 +49,6 @@ module Librato
|
|
49
49
|
|
50
50
|
class << self
|
51
51
|
|
52
|
-
# set custom api endpoint
|
53
|
-
def api_endpoint=(endpoint)
|
54
|
-
@api_endpoint = endpoint
|
55
|
-
end
|
56
|
-
|
57
|
-
# detect / update configuration
|
58
|
-
def check_config
|
59
|
-
self.log_level = ENV['LIBRATO_METRICS_LOG_LEVEL'] if ENV['LIBRATO_METRICS_LOG_LEVEL']
|
60
|
-
if self.config_file && File.exists?(self.config_file)
|
61
|
-
log :debug, "configuring with librato.yml; ignoring environment variables.."
|
62
|
-
if env_specific = YAML.load(ERB.new(File.read(config_file)).result)[::Rails.env]
|
63
|
-
settable = CONFIG_SETTABLE & env_specific.keys
|
64
|
-
settable.each { |key| self.send("#{key}=", env_specific[key]) }
|
65
|
-
else
|
66
|
-
log :debug, "current environment not in config file, halting"
|
67
|
-
end
|
68
|
-
else
|
69
|
-
log :debug, "using environment variables for configuration.."
|
70
|
-
%w{user token source log_level}.each do |settable|
|
71
|
-
env_var = "LIBRATO_METRICS_#{settable.upcase}"
|
72
|
-
send("#{settable}=", ENV[env_var]) if ENV[env_var]
|
73
|
-
end
|
74
|
-
end
|
75
|
-
end
|
76
|
-
|
77
52
|
# check to see if we've forked into a process where a worker
|
78
53
|
# isn't running yet, if so start it up!
|
79
54
|
def check_worker
|
@@ -109,33 +84,6 @@ module Librato
|
|
109
84
|
log :error, "submission failed permanently: #{error}"
|
110
85
|
end
|
111
86
|
|
112
|
-
def log(level, message)
|
113
|
-
return unless should_log?(level)
|
114
|
-
case level
|
115
|
-
when :error, :warn
|
116
|
-
method = level
|
117
|
-
else
|
118
|
-
method = :info
|
119
|
-
end
|
120
|
-
message = '[librato-rails] ' << message
|
121
|
-
logger.send(method, message)
|
122
|
-
end
|
123
|
-
|
124
|
-
# set log level to any of LOG_LEVELS
|
125
|
-
def log_level=(level)
|
126
|
-
level = level.to_sym
|
127
|
-
if LOG_LEVELS.index(level)
|
128
|
-
@log_level = level
|
129
|
-
require 'pp' if should_log?(:debug)
|
130
|
-
else
|
131
|
-
raise "Invalid log level '#{level}'"
|
132
|
-
end
|
133
|
-
end
|
134
|
-
|
135
|
-
def log_level
|
136
|
-
@log_level ||= :info
|
137
|
-
end
|
138
|
-
|
139
87
|
# source including process pid
|
140
88
|
def qualified_source
|
141
89
|
self.source_pids ? "#{source}.#{$$}" : source
|
@@ -210,16 +158,6 @@ module Librato
|
|
210
158
|
FORKING_SERVERS.include?(app_server)
|
211
159
|
end
|
212
160
|
|
213
|
-
def logger
|
214
|
-
@logger ||= if on_heroku
|
215
|
-
logger = Logger.new(STDOUT)
|
216
|
-
logger.level = Logger::INFO
|
217
|
-
logger
|
218
|
-
else
|
219
|
-
::Rails.logger
|
220
|
-
end
|
221
|
-
end
|
222
|
-
|
223
161
|
def on_heroku
|
224
162
|
# would be nice to have something more specific here,
|
225
163
|
# but nothing characteristic in ENV, etc.
|
@@ -240,10 +178,6 @@ module Librato
|
|
240
178
|
RUBY_DESCRIPTION.split[0]
|
241
179
|
end
|
242
180
|
|
243
|
-
def should_log?(level)
|
244
|
-
LOG_LEVELS.index(self.log_level) >= LOG_LEVELS.index(level)
|
245
|
-
end
|
246
|
-
|
247
181
|
def should_start?
|
248
182
|
if !self.user || !self.token
|
249
183
|
# don't show this unless we're debugging, expected behavior
|
@@ -264,31 +198,6 @@ module Librato
|
|
264
198
|
source =~ /[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}/i
|
265
199
|
end
|
266
200
|
|
267
|
-
# trace current environment
|
268
|
-
def trace_environment
|
269
|
-
log :info, "Environment: " + ENV.pretty_inspect
|
270
|
-
end
|
271
|
-
|
272
|
-
# trace metrics being sent
|
273
|
-
def trace_queued(queued)
|
274
|
-
log :trace, "Queued: " + queued.pretty_inspect
|
275
|
-
end
|
276
|
-
|
277
|
-
def trace_settings
|
278
|
-
settings = {
|
279
|
-
:user => self.user,
|
280
|
-
:token => self.token,
|
281
|
-
:source => source,
|
282
|
-
:explicit_source => self.explicit_source ? 'true' : 'false',
|
283
|
-
:source_pids => self.source_pids ? 'true' : 'false',
|
284
|
-
:qualified_source => qualified_source,
|
285
|
-
:log_level => log_level,
|
286
|
-
:prefix => prefix,
|
287
|
-
:flush_interval => self.flush_interval
|
288
|
-
}
|
289
|
-
log :info, 'Settings: ' + settings.pretty_inspect
|
290
|
-
end
|
291
|
-
|
292
201
|
def user_agent
|
293
202
|
ua_chunks = []
|
294
203
|
ua_chunks << "librato-rails/#{Librato::Rails::VERSION}"
|
@@ -7,6 +7,10 @@ class LibratoRailsConfigTest < MiniTest::Unit::TestCase
|
|
7
7
|
end
|
8
8
|
|
9
9
|
def teardown
|
10
|
+
ENV.delete('LIBRATO_USER')
|
11
|
+
ENV.delete('LIBRATO_TOKEN')
|
12
|
+
ENV.delete('LIBRATO_SOURCE')
|
13
|
+
# legacy
|
10
14
|
ENV.delete('LIBRATO_METRICS_USER')
|
11
15
|
ENV.delete('LIBRATO_METRICS_TOKEN')
|
12
16
|
ENV.delete('LIBRATO_METRICS_SOURCE')
|
@@ -16,6 +20,17 @@ class LibratoRailsConfigTest < MiniTest::Unit::TestCase
|
|
16
20
|
end
|
17
21
|
|
18
22
|
def test_environmental_variable_config
|
23
|
+
ENV['LIBRATO_USER'] = 'foo@bar.com'
|
24
|
+
ENV['LIBRATO_TOKEN'] = 'api_key'
|
25
|
+
ENV['LIBRATO_SOURCE'] = 'source'
|
26
|
+
Librato::Rails.check_config
|
27
|
+
assert_equal 'foo@bar.com', Librato::Rails.user
|
28
|
+
assert_equal 'api_key', Librato::Rails.token
|
29
|
+
assert_equal 'source', Librato::Rails.source
|
30
|
+
assert Librato::Rails.explicit_source, 'source is explicit'
|
31
|
+
end
|
32
|
+
|
33
|
+
def test_legacy_env_variable_config
|
19
34
|
ENV['LIBRATO_METRICS_USER'] = 'foo@bar.com'
|
20
35
|
ENV['LIBRATO_METRICS_TOKEN'] = 'api_key'
|
21
36
|
ENV['LIBRATO_METRICS_SOURCE'] = 'source'
|
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: 0.
|
4
|
+
version: 0.8.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-11-
|
12
|
+
date: 2012-11-12 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
@@ -87,8 +87,10 @@ files:
|
|
87
87
|
- lib/librato/rack.rb
|
88
88
|
- lib/librato/rails/aggregator.rb
|
89
89
|
- lib/librato/rails/collector.rb
|
90
|
+
- lib/librato/rails/configuration.rb
|
90
91
|
- lib/librato/rails/counter_cache.rb
|
91
92
|
- lib/librato/rails/group.rb
|
93
|
+
- lib/librato/rails/logging.rb
|
92
94
|
- lib/librato/rails/railtie.rb
|
93
95
|
- lib/librato/rails/subscribers.rb
|
94
96
|
- lib/librato/rails/validating_queue.rb
|
@@ -137,12 +139,8 @@ files:
|
|
137
139
|
- test/dummy/config/routes.rb
|
138
140
|
- test/dummy/config/unicorn.rb
|
139
141
|
- test/dummy/config.ru
|
140
|
-
- test/dummy/db/development.sqlite3
|
141
142
|
- test/dummy/db/migrate/20120719231810_create_users.rb
|
142
143
|
- test/dummy/db/schema.rb
|
143
|
-
- test/dummy/db/test.sqlite3
|
144
|
-
- test/dummy/log/development.log
|
145
|
-
- test/dummy/log/test.log
|
146
144
|
- test/dummy/public/404.html
|
147
145
|
- test/dummy/public/422.html
|
148
146
|
- test/dummy/public/500.html
|
@@ -150,24 +148,6 @@ files:
|
|
150
148
|
- test/dummy/Rakefile
|
151
149
|
- test/dummy/README.rdoc
|
152
150
|
- test/dummy/script/rails
|
153
|
-
- test/dummy/tmp/cache/assets/CBF/9D0/sprockets%2F541895701c40c7d7fd678356b18cb59d
|
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/D02/220/sprockets%2F1410fa948b990522bdfeca7841d31b13
|
159
|
-
- test/dummy/tmp/cache/assets/D04/890/sprockets%2F587335c079eef8d5a63784fc8f99905a
|
160
|
-
- test/dummy/tmp/cache/assets/D05/D40/sprockets%2F1c9faaf28d05409b88ad3113374d613c
|
161
|
-
- test/dummy/tmp/cache/assets/D19/710/sprockets%2F5b878936d488c1f601c231fda1d678ea
|
162
|
-
- test/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705
|
163
|
-
- test/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655
|
164
|
-
- test/dummy/tmp/cache/assets/D4F/000/sprockets%2F25e44896aac12384727e9dab827ebef9
|
165
|
-
- test/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6
|
166
|
-
- test/dummy/tmp/cache/assets/D69/610/sprockets%2F3902e4b1ffbdb61222bf5fc45a44799a
|
167
|
-
- test/dummy/tmp/cache/assets/D8B/F90/sprockets%2Ffe6ce696e9141eb755d8eed79128e17c
|
168
|
-
- test/dummy/tmp/cache/assets/D98/8B0/sprockets%2Fedbef6e0d0a4742346cf479f2c522eb0
|
169
|
-
- test/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994
|
170
|
-
- test/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af
|
171
151
|
- test/fixtures/config/librato.yml
|
172
152
|
- test/fixtures/config/simple.yml
|
173
153
|
- test/integration/custom_test.rb
|
@@ -196,18 +176,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
196
176
|
- - ! '>='
|
197
177
|
- !ruby/object:Gem::Version
|
198
178
|
version: '0'
|
199
|
-
segments:
|
200
|
-
- 0
|
201
|
-
hash: 1346909575512186282
|
202
179
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
203
180
|
none: false
|
204
181
|
requirements:
|
205
182
|
- - ! '>='
|
206
183
|
- !ruby/object:Gem::Version
|
207
184
|
version: '0'
|
208
|
-
segments:
|
209
|
-
- 0
|
210
|
-
hash: 1346909575512186282
|
211
185
|
requirements: []
|
212
186
|
rubyforge_project:
|
213
187
|
rubygems_version: 1.8.24
|
@@ -252,12 +226,8 @@ test_files:
|
|
252
226
|
- test/dummy/config/routes.rb
|
253
227
|
- test/dummy/config/unicorn.rb
|
254
228
|
- test/dummy/config.ru
|
255
|
-
- test/dummy/db/development.sqlite3
|
256
229
|
- test/dummy/db/migrate/20120719231810_create_users.rb
|
257
230
|
- test/dummy/db/schema.rb
|
258
|
-
- test/dummy/db/test.sqlite3
|
259
|
-
- test/dummy/log/development.log
|
260
|
-
- test/dummy/log/test.log
|
261
231
|
- test/dummy/public/404.html
|
262
232
|
- test/dummy/public/422.html
|
263
233
|
- test/dummy/public/500.html
|
@@ -265,24 +235,6 @@ test_files:
|
|
265
235
|
- test/dummy/Rakefile
|
266
236
|
- test/dummy/README.rdoc
|
267
237
|
- test/dummy/script/rails
|
268
|
-
- test/dummy/tmp/cache/assets/CBF/9D0/sprockets%2F541895701c40c7d7fd678356b18cb59d
|
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/D02/220/sprockets%2F1410fa948b990522bdfeca7841d31b13
|
274
|
-
- test/dummy/tmp/cache/assets/D04/890/sprockets%2F587335c079eef8d5a63784fc8f99905a
|
275
|
-
- test/dummy/tmp/cache/assets/D05/D40/sprockets%2F1c9faaf28d05409b88ad3113374d613c
|
276
|
-
- test/dummy/tmp/cache/assets/D19/710/sprockets%2F5b878936d488c1f601c231fda1d678ea
|
277
|
-
- test/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705
|
278
|
-
- test/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655
|
279
|
-
- test/dummy/tmp/cache/assets/D4F/000/sprockets%2F25e44896aac12384727e9dab827ebef9
|
280
|
-
- test/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6
|
281
|
-
- test/dummy/tmp/cache/assets/D69/610/sprockets%2F3902e4b1ffbdb61222bf5fc45a44799a
|
282
|
-
- test/dummy/tmp/cache/assets/D8B/F90/sprockets%2Ffe6ce696e9141eb755d8eed79128e17c
|
283
|
-
- test/dummy/tmp/cache/assets/D98/8B0/sprockets%2Fedbef6e0d0a4742346cf479f2c522eb0
|
284
|
-
- test/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994
|
285
|
-
- test/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af
|
286
238
|
- test/fixtures/config/librato.yml
|
287
239
|
- test/fixtures/config/simple.yml
|
288
240
|
- test/integration/custom_test.rb
|
File without changes
|
data/test/dummy/db/test.sqlite3
DELETED
Binary file
|