xray-rails 0.1.17 → 0.1.18

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: 1ab0151106aea3b79331261ace9df12dfa45076d
4
- data.tar.gz: b2994a45e8fda3d0e1db9e7558eb153996386ca0
3
+ metadata.gz: 920c0c35b063e4aa1855fae1e62c8dcb3dbed9c3
4
+ data.tar.gz: d28435abae2f5792dc59885dd83ef6c7dd359f93
5
5
  SHA512:
6
- metadata.gz: db9788224693472e9144b1569aa7a8d502d989df31557861c1ad51992e6724642d94f59af7341827a70ebddf8e374496e58b941ecb6dd3431330227adc012c1b
7
- data.tar.gz: 246519cd7958eef5123b50eb611fd9d709bd1c53d1420aa6c2c61e2d3e3bb07aba97de79dc758cc463e633619e388721e0e9c61559355af7f85d4288673cf7ed
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
@@ -1,3 +1,3 @@
1
1
  module Xray
2
- VERSION = "0.1.17"
2
+ VERSION = "0.1.18"
3
3
  end
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.17
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: 2015-10-18 00:00:00.000000000 Z
11
+ date: 2016-01-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails