isorun 0.1.2.pre-x86_64-linux → 0.1.4.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: d614c9baa9487505b19b8da92a8dbc28bc4f9438e22b19f7db0cfa880c24f530
4
+ data.tar.gz: c85b33d3229dd22b13b286d68cebe1ea90d46bc538121335e8aa46325b16bfe0
5
5
  SHA512:
6
- metadata.gz: bbdef35153b9cc60de2b2f0c209fbdb11120eae921ae2a773bf47b912d36df18afe29035394119f51f1e180dac695ea25793b2b38a1836a19e80e93eceecc363
7
- data.tar.gz: aba0b823cb3312ab811e3fbe816e50eb667c64b6476c0cdcbc77f66b222a472e2e0ed25350063bcdb6029cfcd82f0edeb0a60ce6ba1b97f2adfab721f1a30f07
6
+ metadata.gz: 49a38b6a94166e1d3d85a012ffa36f36167a64f715b292992171b1710be97889ecc7a4b08d868243f38fef55e779a6fbd4845487b4e9380447a4b802271015b7
7
+ data.tar.gz: 1a8bc49db83e0c7ff5013295ac4859637bc698dbae6ca8cf4894f803af77bb6f31a86d4819457727f63d143e0684bddaed801517ae65ddb75d787831609031c4
@@ -1,6 +1,6 @@
1
1
  [package]
2
2
  name = "isorun"
3
- version = "0.1.2"
3
+ version = "0.1.4"
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.4.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.4.pre
5
5
  platform: x86_64-linux
6
6
  authors:
7
7
  - Hannes Moser