isorun 0.1.2.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: 7b3140a8811c5b8ca70337e35f6ea6764f4dc3eedfd75a228eb40f75db960ef0
4
- data.tar.gz: 69960c4eeb8184ffc820fb99ccc83feae5ebb55d2c7e4bca8b75e28066f21bbd
3
+ metadata.gz: c7e5d28b853f3927495b75a44c6203eb53f8c7f0c84e4d82814b87975e9b7524
4
+ data.tar.gz: ffdc121594023ed5e35d5684b5c46e1da3e3bcab5a2b2fae65a98ff263e45479
5
5
  SHA512:
6
- metadata.gz: bbdef35153b9cc60de2b2f0c209fbdb11120eae921ae2a773bf47b912d36df18afe29035394119f51f1e180dac695ea25793b2b38a1836a19e80e93eceecc363
7
- data.tar.gz: aba0b823cb3312ab811e3fbe816e50eb667c64b6476c0cdcbc77f66b222a472e2e0ed25350063bcdb6029cfcd82f0edeb0a60ce6ba1b97f2adfab721f1a30f07
6
+ metadata.gz: 18702a27d4a9864ac8bcd834ee763f37dca8c59875dabcf98dbb58b409294ccd2173e10b6e8be317598235fc082c322ba62fe5ccef7a91692a2d982826bbada2
7
+ data.tar.gz: fb66e61c8ee897dd6558bde3e766a1f56eecd8015fb35b6916e6b352cd63723cc938e172fe6e866fa451848473435e6a8cb76b8493480cfd5203c7e4f2d1a5a1
@@ -1,6 +1,6 @@
1
1
  [package]
2
2
  name = "isorun"
3
- version = "0.1.2"
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,7 +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_path("#{bundle_id}-server")
9
+ Isorun::Resolver.module_path("#{bundle_id}-server")
10
10
  end
11
11
  }
12
12
 
@@ -14,15 +14,13 @@ module Isorun
14
14
  if Rails.env.development?
15
15
  Rails.root.join("app", "assets", "builds", "#{bundle_id}.js").to_s
16
16
  else
17
- asset_path(bundle_id)
17
+ Isorun::Resolver.module_path(bundle_id)
18
18
  end
19
19
  }
20
- end
21
-
22
- private
23
20
 
24
- def asset_path(asset)
25
- asset_path = Rails.application.assets_manifest.assets["#{asset}.js"]
26
- "#{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
27
25
  end
28
26
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Isorun
4
- VERSION = "0.1.2.pre"
4
+ VERSION = "0.1.3.pre"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: isorun
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2.pre
4
+ version: 0.1.3.pre
5
5
  platform: x86_64-linux
6
6
  authors:
7
7
  - Hannes Moser