isorun 0.1.0.pre-arm64-darwin → 0.1.2.pre-arm64-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: f40fd29fe6e6af7cea7300d59bfbc8a952e5057134f8572085fbb0d5b82714ea
4
- data.tar.gz: 24a68c47f8da2a0b3bb1500bc7f9df0c52d3ec0593518dbccb1d78cc8ce8df34
3
+ metadata.gz: abce52a8f3cff5e4f3c4da0f7aa66b4fbead069df515ea30244f4687c6413516
4
+ data.tar.gz: 838964e134ec4a33a92091d19580eeea7a04c0b2fd24f5602757e0357528f61a
5
5
  SHA512:
6
- metadata.gz: 91cf98f13188aeb1dd2d702d44eb584e5d28ae21533c500387fe5348d9d4646b28f4eb6e8b7479968f1d944a911ed2b601d11a58eae9ba009f8a5064739d0add
7
- data.tar.gz: ff48f42eee5c832796ee7da6a0a2928dbcdafa168b7a199cae2ffea26100da617c92fd3ecc6c435c73e6c49707b61990db6aa5291d14e83f775584b2e977b08d
6
+ metadata.gz: 6e61a928440493d8e305e620814bc6b8e0bce9da61d49225c2f1a1818bf431947018de2d752d022f4d9e8a5d9f00bf865794eeec41c20f799d464c047de8adc8
7
+ data.tar.gz: aac9fa160b47f0b64f3152200a5af595b800ddc4bc15e3e650c6b9c5bac0d9d4ec0acc9b71dc86bfdc827724205af5f5e4b0382f06cfd8a5203c88ed2fa26e1b
@@ -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: arm64-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