isorun 0.1.1.pre-x86_64-darwin → 0.1.3.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: 6d5f237885b1f9a3a9baea5e88a0ecd7fd72c3888d536c934976b42e03d5c508
4
- data.tar.gz: 226171288be05614237e3dbe6723243339617ade138a2a9c41894b3dcef80d15
3
+ metadata.gz: 53c416a35429b0ee7e68022afccf9270e30c11876133fc7b39d7f422e8d44e9f
4
+ data.tar.gz: eed0a40dbe26cf2d54ed8b0c90b5c61fde97ad65f557ca003f6140f9eba55452
5
5
  SHA512:
6
- metadata.gz: 6733ea647f1ac656d44ff7441b6b4cf88f497b89facc60ce3dec521230aa39bd8ba2f64fb69786a32d8d6bcfee73ee4546bdbf079060770f8b7ca822782bf445
7
- data.tar.gz: 21dc57e56c467f1d5389454fe50b1e85466fdf92e045d999e975868ee0234de14372d818c4217046adba61f58b093faaaa69cc5bee7fd073c34f742d35183c40
6
+ metadata.gz: 13434f1e3e19d46e6be0347cc453d6831f9472817230f692f84ba434237c88376266642cec1d8aac3b36f08291d71a851a9f17b7e61112c83be8d9f018bc4386
7
+ data.tar.gz: a55b03c59efbde2500ff610499c8e80b50b56d0f61275f64b969ca4067821c934f98d9dff971bb54f379e5c6c46c6db01504755c427ad0bac906badcaabf3122
@@ -1,6 +1,6 @@
1
1
  [package]
2
2
  name = "isorun"
3
- version = "0.1.1"
3
+ version = "0.1.3"
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,8 +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 = ActionController::Base.helpers.asset_path("#{bundle_id}-server")
10
- asset_path(asset)
9
+ asset_path("#{bundle_id}-server")
11
10
  end
12
11
  }
13
12
 
@@ -15,16 +14,15 @@ module Isorun
15
14
  if Rails.env.development?
16
15
  Rails.root.join("app", "assets", "builds", "#{bundle_id}.js").to_s
17
16
  else
18
- asset = ActionController::Base.helpers.asset_path(bundle_id)
19
- asset_path(asset)
17
+ asset_path(bundle_id)
20
18
  end
21
19
  }
22
- end
23
20
 
24
- private
21
+ private
25
22
 
26
- def asset_path(asset)
27
- asset_path = Rails.application.assets_manifest.assets["#{asset}.js"]
28
- "#{Rails.application.assets_manifest.directory}/#{asset_path}"
23
+ def asset_path(asset)
24
+ asset_path = Rails.application.assets_manifest.assets["#{asset}.js"]
25
+ "#{Rails.application.assets_manifest.directory}/#{asset_path}"
26
+ end
29
27
  end
30
28
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Isorun
4
- VERSION = "0.1.1.pre"
4
+ VERSION = "0.1.3.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.1.pre
4
+ version: 0.1.3.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