isorun 0.1.0.pre-x86_64-linux → 0.1.1.pre-x86_64-linux
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ext/isorun/Cargo.toml +1 -1
- data/lib/isorun/2.7/isorun.so +0 -0
- data/lib/isorun/3.0/isorun.so +0 -0
- data/lib/isorun/3.1/isorun.so +0 -0
- data/lib/isorun/resolver.rb +11 -2
- data/lib/isorun/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 42664c6e5b6ee8842b03a07891fbfda3961f171b9f6b7563556503d8c5aea340
|
4
|
+
data.tar.gz: ec7de0e6e7488007de099035d76e3f815744cb8e7f741305d43c4a64a9fd66a0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1c3d0e9458000edc83dc1a18dd6b5e278e5e1e686713c99dec080f4fa6d8542beca75e5bf2bf9f808a0d50ca44039883ac458517cc734d2868ec5967b8e4b148
|
7
|
+
data.tar.gz: d6d25d9972a3c959fde5b82b05a41b37d124ea13b2f8789f7f99857e2dd086adcfdffdc2360cfd546288b46376058e0b6c810f34ece6def690be98209045d34c
|
data/ext/isorun/Cargo.toml
CHANGED
data/lib/isorun/2.7/isorun.so
CHANGED
Binary file
|
data/lib/isorun/3.0/isorun.so
CHANGED
Binary file
|
data/lib/isorun/3.1/isorun.so
CHANGED
Binary file
|
data/lib/isorun/resolver.rb
CHANGED
@@ -6,7 +6,8 @@ module Isorun
|
|
6
6
|
if Rails.env.development?
|
7
7
|
Rails.root.join("app", "assets", "builds", "#{bundle_id}-server.js").to_s
|
8
8
|
else
|
9
|
-
|
9
|
+
asset = ActionController::Base.helpers.asset_path("#{bundle_id}-server")
|
10
|
+
asset_path(asset)
|
10
11
|
end
|
11
12
|
}
|
12
13
|
|
@@ -14,8 +15,16 @@ module Isorun
|
|
14
15
|
if Rails.env.development?
|
15
16
|
Rails.root.join("app", "assets", "builds", "#{bundle_id}.js").to_s
|
16
17
|
else
|
17
|
-
|
18
|
+
asset = ActionController::Base.helpers.asset_path(bundle_id)
|
19
|
+
asset_path(asset)
|
18
20
|
end
|
19
21
|
}
|
20
22
|
end
|
23
|
+
|
24
|
+
private
|
25
|
+
|
26
|
+
def asset_path(asset)
|
27
|
+
asset_path = Rails.application.assets_manifest.assets["#{asset}.js"]
|
28
|
+
"#{Rails.application.assets_manifest.directory}/#{asset_path}"
|
29
|
+
end
|
21
30
|
end
|
data/lib/isorun/version.rb
CHANGED