xray-rails 0.1.17 → 0.1.18
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.
- checksums.yaml +4 -4
- data/lib/xray/engine.rb +4 -1
- data/lib/xray/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 920c0c35b063e4aa1855fae1e62c8dcb3dbed9c3
|
|
4
|
+
data.tar.gz: d28435abae2f5792dc59885dd83ef6c7dd359f93
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1fe4b0a93471fb184bd014fd3f1fcb1f2d785c7a342ca5f7d474fd36296578dc407f9b02584125343f77c30504b4c57e66e46f4669b18c0fb6c7c8a35be08d4f
|
|
7
|
+
data.tar.gz: d9a86160365dbd3bf9150ee74848370b8caeb8bd793e11e306e5fd3730957170a09fdfcf9b85381f6ae02ee2af18e56caed35f8b09e37b5173318266ebca09d4
|
data/lib/xray/engine.rb
CHANGED
|
@@ -7,11 +7,14 @@ module Xray
|
|
|
7
7
|
# xray.js and the xray bar into the app's response bodies.
|
|
8
8
|
class Engine < ::Rails::Engine
|
|
9
9
|
initializer "xray.initialize" do |app|
|
|
10
|
-
ensure_asset_pipeline_enabled! app
|
|
11
10
|
app.middleware.use Xray::Middleware
|
|
12
11
|
|
|
13
12
|
# Required by Rails 4.1
|
|
14
13
|
app.config.assets.precompile += %w(xray.js xray-backbone.js xray.css)
|
|
14
|
+
end
|
|
15
|
+
|
|
16
|
+
config.after_initialize do |app|
|
|
17
|
+
ensure_asset_pipeline_enabled! app
|
|
15
18
|
|
|
16
19
|
# Register as a Sprockets processor to augment JS files, including
|
|
17
20
|
# compiled coffeescript, with filepath information. See
|
data/lib/xray/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: xray-rails
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.18
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Brent Dillingham
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2016-01-11 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|