isorun 0.1.0.pre-x86_64-linux → 0.1.2.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: 8cc68f577d99bfd8223095b62ee554d7feb224e7509f87c2941c1c6a26dc437e
4
- data.tar.gz: dcd6232870f55c04db9cc2caa754bf92d4aa84057182f73a95e0613f7f467657
3
+ metadata.gz: 7b3140a8811c5b8ca70337e35f6ea6764f4dc3eedfd75a228eb40f75db960ef0
4
+ data.tar.gz: 69960c4eeb8184ffc820fb99ccc83feae5ebb55d2c7e4bca8b75e28066f21bbd
5
5
  SHA512:
6
- metadata.gz: 6f027689bc2ed2be4769cc4df7e9d2adf794f9e3e62546ee6678e57a2608682ceddf36f19ba2ea8dc6a4a4e0ddfd6525427921ad9482a7feb0b409d66c2cd451
7
- data.tar.gz: 83613b98a938a5abd2113ed12dad879216ccadadb2b012d7f2cead5a68b1a79dba0c6b4832c75d5da26571de60585ce114147937028a6b0beca99d14b632ad6e
6
+ metadata.gz: bbdef35153b9cc60de2b2f0c209fbdb11120eae921ae2a773bf47b912d36df18afe29035394119f51f1e180dac695ea25793b2b38a1836a19e80e93eceecc363
7
+ data.tar.gz: aba0b823cb3312ab811e3fbe816e50eb667c64b6476c0cdcbc77f66b222a472e2e0ed25350063bcdb6029cfcd82f0edeb0a60ce6ba1b97f2adfab721f1a30f07
@@ -1,6 +1,6 @@
1
1
  [package]
2
2
  name = "isorun"
3
- version = "0.1.0"
3
+ version = "0.1.2"
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
- javascript_path("#{bundle_id}-server")
9
+ asset_path("#{bundle_id}-server")
10
10
  end
11
11
  }
12
12
 
@@ -14,8 +14,15 @@ 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
- javascript_path(bundle_id)
17
+ asset_path(bundle_id)
18
18
  end
19
19
  }
20
20
  end
21
+
22
+ private
23
+
24
+ def asset_path(asset)
25
+ asset_path = Rails.application.assets_manifest.assets["#{asset}.js"]
26
+ "#{Rails.application.assets_manifest.directory}/#{asset_path}"
27
+ end
21
28
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Isorun
4
- VERSION = "0.1.0.pre"
4
+ VERSION = "0.1.2.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.0.pre
4
+ version: 0.1.2.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