isorun 0.1.1.pre-x86_64-linux → 0.1.3.pre-x86_64-linux

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
  SHA256:
3
- metadata.gz: 42664c6e5b6ee8842b03a07891fbfda3961f171b9f6b7563556503d8c5aea340
4
- data.tar.gz: ec7de0e6e7488007de099035d76e3f815744cb8e7f741305d43c4a64a9fd66a0
3
+ metadata.gz: c7e5d28b853f3927495b75a44c6203eb53f8c7f0c84e4d82814b87975e9b7524
4
+ data.tar.gz: ffdc121594023ed5e35d5684b5c46e1da3e3bcab5a2b2fae65a98ff263e45479
5
5
  SHA512:
6
- metadata.gz: 1c3d0e9458000edc83dc1a18dd6b5e278e5e1e686713c99dec080f4fa6d8542beca75e5bf2bf9f808a0d50ca44039883ac458517cc734d2868ec5967b8e4b148
7
- data.tar.gz: d6d25d9972a3c959fde5b82b05a41b37d124ea13b2f8789f7f99857e2dd086adcfdffdc2360cfd546288b46376058e0b6c810f34ece6def690be98209045d34c
6
+ metadata.gz: 18702a27d4a9864ac8bcd834ee763f37dca8c59875dabcf98dbb58b409294ccd2173e10b6e8be317598235fc082c322ba62fe5ccef7a91692a2d982826bbada2
7
+ data.tar.gz: fb66e61c8ee897dd6558bde3e766a1f56eecd8015fb35b6916e6b352cd63723cc938e172fe6e866fa451848473435e6a8cb76b8493480cfd5203c7e4f2d1a5a1
@@ -1,6 +1,6 @@
1
1
  [package]
2
2
  name = "isorun"
3
- version = "0.1.1"
3
+ version = "0.1.3"
4
4
  edition = "2021"
5
5
  authors = ["Hannes Moser <box@hannesmoser.at>"]
6
6
  homepage = "https://github.com/eliias/isorun"
Binary file
Binary file
Binary file
@@ -6,8 +6,7 @@ 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
- asset = ActionController::Base.helpers.asset_path("#{bundle_id}-server")
10
- asset_path(asset)
9
+ Isorun::Resolver.module_path("#{bundle_id}-server")
11
10
  end
12
11
  }
13
12
 
@@ -15,16 +14,13 @@ module Isorun
15
14
  if Rails.env.development?
16
15
  Rails.root.join("app", "assets", "builds", "#{bundle_id}.js").to_s
17
16
  else
18
- asset = ActionController::Base.helpers.asset_path(bundle_id)
19
- asset_path(asset)
17
+ Isorun::Resolver.module_path(bundle_id)
20
18
  end
21
19
  }
22
- end
23
-
24
- private
25
20
 
26
- def asset_path(asset)
27
- asset_path = Rails.application.assets_manifest.assets["#{asset}.js"]
28
- "#{Rails.application.assets_manifest.directory}/#{asset_path}"
21
+ def self.module_path(asset)
22
+ file = Rails.application.assets_manifest.assets["#{asset}.js"]
23
+ "#{Rails.application.assets_manifest.directory}/#{file}"
24
+ end
29
25
  end
30
26
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Isorun
4
- VERSION = "0.1.1.pre"
4
+ VERSION = "0.1.3.pre"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: isorun
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1.pre
4
+ version: 0.1.3.pre
5
5
  platform: x86_64-linux
6
6
  authors:
7
7
  - Hannes Moser
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-12-09 00:00:00.000000000 Z
11
+ date: 2022-12-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties