revelry_core 0.1.4 → 0.1.5

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 138ff5c9c24346dc7bf5d5894d47369fa3e65b3d
4
- data.tar.gz: 8fc07efb85cf4f8ec472e7488793e2ab13c6859a
3
+ metadata.gz: 855f8fc6939e648080ebf33d4ac60c84978ed1f2
4
+ data.tar.gz: fa487e49dcc63258fa306d8035d84c4169832043
5
5
  SHA512:
6
- metadata.gz: 73cc3736107546cd5d24998b375ce934f5150199623e0fd9a22a12e832522ce56483c829b933409bf7a03146224431924a77cffb2efec9cc6220d0e9a9628dbb
7
- data.tar.gz: 76246e81822353bbbcecb8e843ba4317e6103908db3c5acd416b04e7f859075cdfc7e4442a943e64b77f7c2bb4db2ca7a35f02acc3a6fcac8599a21a2db8e7fa
6
+ metadata.gz: ba4f442656e2122fa87c357a45b64cf1a1b4d9fcd9738cbf291f292df50f37c8c528693f63123826a5e939e82d68931ebe22aaa63a4277add7918c15b83edb21
7
+ data.tar.gz: 1960cc598257bd910279864d22306dc4979a32628a0467872968b6b57751022d0f4d3ceb6818d21bb6908f2b6f07ab6273cf61c72ded11b36ae936262c89ab3b
@@ -23,7 +23,7 @@ module Revelry
23
23
  if Rails.application.assets.respond_to?(:register_preprocessor)
24
24
  routes = Rails.root.join('config','routes.rb')
25
25
  Rails.application.assets.register_preprocessor 'application/javascript', :'revelry.dependent_on_routes' do |ctx,data|
26
- require routes if ctx.logical_path == ROUTER_ASSET
26
+ ctx.depend_on(routes) if ctx.logical_path == ROUTER_ASSET
27
27
  data
28
28
  end
29
29
  end
@@ -1,5 +1,5 @@
1
1
  module Revelry
2
2
  module Core
3
- VERSION = "0.1.4"
3
+ VERSION = "0.1.5"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: revelry_core
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Revelry Labs, LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-21 00:00:00.000000000 Z
11
+ date: 2015-04-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails