webpack_native 0.5.5 → 0.5.6

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: 52730fd721366fee42c22883d57f87863f33028a43861aa64fc47f79cfc68108
4
- data.tar.gz: e7d34f86a9c57c64dfc9156119b4a64b3506938d71f549830f75ad033dbeed55
3
+ metadata.gz: 7b93ddd0722f2ab122f7bb3b1b4fe6cc344c4116b49dd4e6a019cf29521261b6
4
+ data.tar.gz: fe3a8b69f0a30afc3efbf0d1d80a896347c428a399f5a60da8d6c19a0bd24a32
5
5
  SHA512:
6
- metadata.gz: 3147c13eaeec9c101db763d906d150aa5b2ed8c752282c81880ef9971e114b37d5c22c3536bb4269e18b3c40fe6b7f38a0472ffad08b9edda1c758f78af19cc3
7
- data.tar.gz: ca2555a53dc5421e867f3d39d38019facac103d6b8e2089e8f1abb2497023010e27db7d6e4c07d161714cb4e922c2a3e6dd747efb418d2f1ca62779169f4de46
6
+ metadata.gz: 4770127594190d0ccf690f9750bfa711f912ffe028d876dab6db23ffb154fa25a80d4357f5a6b2d343564eceb0454173f3fdcdda6fa03e500e334d926cbad805
7
+ data.tar.gz: eadd74a3f7dd00170d2f66d05a9964baeb5219df5f09e12974d380600c688128b9531d8a6c8eddd9ebf1d5f56c0c8af46733108be4730dd38f915139a14857cd
File without changes
File without changes
File without changes
@@ -56,7 +56,10 @@ class WebpackNative::Railtie < ::Rails::Railtie
56
56
  initializer "run_webpack_build_cmd" do
57
57
  config.after_initialize do
58
58
  if defined?(Rails::Server) && Rails.env.development?
59
- Thread.new { start_webpack }
59
+ # starting this in new thread is causing bug in ruby 3.0.2
60
+ # conflicting chdir during another chdir block
61
+ #Thread.new { start_webpack }
62
+ fork { start_webpack }
60
63
  end
61
64
  end
62
65
  end
File without changes
@@ -1,3 +1,3 @@
1
1
  module WebpackNative
2
- VERSION = "0.5.5"
2
+ VERSION = "0.5.6"
3
3
  end
@@ -5,7 +5,9 @@ module WebpackNative::WebpackNativeHelper
5
5
  href: webpack_stylesheet_path(asset),
6
6
  rel: "stylesheet"
7
7
  )
8
- tag.link(html_options).html_safe
8
+ #tag.link is not working correctly on (Rails 6.1.4.1 + ruby3)
9
+ #tag.link(html_options).html_safe
10
+ content_tag("link".freeze, nil, html_options).html_safe
9
11
  end
10
12
 
11
13
  def webpack_stylesheet_path(asset, **options)
@@ -94,7 +96,8 @@ module WebpackNative::WebpackNativeHelper
94
96
 
95
97
  end
96
98
 
97
- tags << tag.link(html_options)
99
+ # tags << tag.link(html_options)
100
+ tags << content_tag("link".freeze, nil, html_options)
98
101
 
99
102
  end
100
103
 
File without changes
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: webpack_native
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.5
4
+ version: 0.5.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - scratchoo
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-04-01 00:00:00.000000000 Z
11
+ date: 2021-10-27 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Use vanilla webpack to manage your assets efficiently, no webpacker or
14
14
  asset pipeline anymore!
@@ -49,7 +49,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
49
49
  - !ruby/object:Gem::Version
50
50
  version: '0'
51
51
  requirements: []
52
- rubygems_version: 3.1.2
52
+ rubygems_version: 3.2.22
53
53
  signing_key:
54
54
  specification_version: 4
55
55
  summary: Vanilla Webpack For Rails Applications