isorun 0.1.2.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: 19c9e3f95c967d442a50c264cc8fe925be1d61fcaa332fe9adb0db12a8af690a
4
- data.tar.gz: 73aa1771fa3fcb381d19034633d4f8f53a72b8a98e917de5e29595b210afff56
3
+ metadata.gz: b1b10bf928283b9d7ec747d69cfd6f80d7bd5eecbcde242f3a884046ca1560a1
4
+ data.tar.gz: ca60cd163e2345c09775f95c0b494c4973ea2adc2dffb35ad74142d4b40d5f26
5
5
  SHA512:
6
- metadata.gz: 4ae837ff1d29be48cea47f5410866310d2eb8be0683259182bd0e73b0da99775bc416339fe3be207442eff743dd9031aff6a3baa0fc415e54cae0ade007a896c
7
- data.tar.gz: c89477a62bdac401e8373d10bffe2084eb18a497211e423e677cd06a364e6322b8e740fdbce1846ffe43d9d88e670313d50f859fcc281f152d9e7f8c63447d1e
6
+ metadata.gz: 84eac04aedb090947882b8ff3ce67f5d73bc11b7251f28e8db79ef2a94f16bad8a581143c1f626d0708e0fe6e0a9353bbba12236934d24cd2b2381d84f5ffbbd
7
+ data.tar.gz: 076df31bcf49eaf080791df8d9d0d6484722eee9b630be1f503a915a67ca88ef484f5d8240ad4e55840b3283380a5c80063701d9818d9f5a5560a0524ff955c1
@@ -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-darwin
6
6
  authors:
7
7
  - Hannes Moser