isorun 0.1.0.pre-x86_64-darwin → 0.1.2.pre-x86_64-darwin

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: f6ba42c88d6b859550c970a2093723eefa763e74d14c49b0b63ff5154d1ff003
4
- data.tar.gz: 401bf887c7f8efba03285e4c79708df1a57dfb05a579ea7301612d54cd6448e0
3
+ metadata.gz: 19c9e3f95c967d442a50c264cc8fe925be1d61fcaa332fe9adb0db12a8af690a
4
+ data.tar.gz: 73aa1771fa3fcb381d19034633d4f8f53a72b8a98e917de5e29595b210afff56
5
5
  SHA512:
6
- metadata.gz: 984acc2e6755a5290a099a8125fbeda42c21e2f53355b0ca94521e437e2e0f23283bc0ceed35c0fea59635d321645a36ab8a5c0eb8bc9f39b429f65b99419896
7
- data.tar.gz: 7b09a4686edae82becb6fc1acc003ee16af5dc608bf926a22b5db4139f1c5dfd70b9e7b7a4b7ec83992d3cdf23ea9f7a1ea2324fbd5fe05c288ed8fd702129b8
6
+ metadata.gz: 4ae837ff1d29be48cea47f5410866310d2eb8be0683259182bd0e73b0da99775bc416339fe3be207442eff743dd9031aff6a3baa0fc415e54cae0ade007a896c
7
+ data.tar.gz: c89477a62bdac401e8373d10bffe2084eb18a497211e423e677cd06a364e6322b8e740fdbce1846ffe43d9d88e670313d50f859fcc281f152d9e7f8c63447d1e
@@ -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-darwin
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