isorun 0.1.3.pre-x86_64-darwin → 0.1.4.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: 53c416a35429b0ee7e68022afccf9270e30c11876133fc7b39d7f422e8d44e9f
4
- data.tar.gz: eed0a40dbe26cf2d54ed8b0c90b5c61fde97ad65f557ca003f6140f9eba55452
3
+ metadata.gz: b1b10bf928283b9d7ec747d69cfd6f80d7bd5eecbcde242f3a884046ca1560a1
4
+ data.tar.gz: ca60cd163e2345c09775f95c0b494c4973ea2adc2dffb35ad74142d4b40d5f26
5
5
  SHA512:
6
- metadata.gz: 13434f1e3e19d46e6be0347cc453d6831f9472817230f692f84ba434237c88376266642cec1d8aac3b36f08291d71a851a9f17b7e61112c83be8d9f018bc4386
7
- data.tar.gz: a55b03c59efbde2500ff610499c8e80b50b56d0f61275f64b969ca4067821c934f98d9dff971bb54f379e5c6c46c6db01504755c427ad0bac906badcaabf3122
6
+ metadata.gz: 84eac04aedb090947882b8ff3ce67f5d73bc11b7251f28e8db79ef2a94f16bad8a581143c1f626d0708e0fe6e0a9353bbba12236934d24cd2b2381d84f5ffbbd
7
+ data.tar.gz: 076df31bcf49eaf080791df8d9d0d6484722eee9b630be1f503a915a67ca88ef484f5d8240ad4e55840b3283380a5c80063701d9818d9f5a5560a0524ff955c1
@@ -1,6 +1,6 @@
1
1
  [package]
2
2
  name = "isorun"
3
- version = "0.1.3"
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
20
 
21
- private
22
-
23
- def asset_path(asset)
24
- asset_path = Rails.application.assets_manifest.assets["#{asset}.js"]
25
- "#{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}"
26
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.3.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.3.pre
4
+ version: 0.1.4.pre
5
5
  platform: x86_64-darwin
6
6
  authors:
7
7
  - Hannes Moser