vite_ruby 1.0.1 → 1.0.2

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: f4489a14d3009259c396a4afb5ebb2f11a291fa4d61c3f4931921046cb97a2a5
4
- data.tar.gz: 0b80485acf66782c1fe4c496af09bcb5ddc38d405b4b4ed1d445c8a31b529ec9
3
+ metadata.gz: b2e4a4837608a4f3c936c1a9a8f74fa8a92ea19997899701b285a46f4a97a304
4
+ data.tar.gz: 2528a634b5365f702b3c88901423526bef7ac7f408aca224bca30a7d81fe5f53
5
5
  SHA512:
6
- metadata.gz: c07d961e3b4890a4cc6fdbe49267de642ce40e1c17d2c88778e3705266fed721b05c83cf2dc075fe194ef367dcfbf2758ec520aa4ff8a6f39eeaaa7b6b4e4d6c
7
- data.tar.gz: 30c96c6b611deac0c605c1622b23bb42f98a5f23fb3607175d77c2af021ed4b9bad844cac39f3a59926f94b47b295e53fcf635dbe7ca53fd38fdde3ba5804f24
6
+ metadata.gz: af6b4ce0fe79ed2067dcca012a67be1e1c9db860700534ae198ca1e46d2553e84aaa75f4cd357632d5f0b22a07484ad039a5e16c1a9233b8b9bf0bd10c9f992c
7
+ data.tar.gz: 35b68110b56caa97c701b7bb7480c8371f9e62cea0868997b6a3ae801d032ac7b455ea6fcc0dae70946f073c3e07160aae83b24d4ca4a985b2344913a751f360
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## Vite Ruby 1.0.2 (2020-02-10)
2
+
3
+ - Fix auto-compilation when the dev server is not available.
4
+
1
5
  ## Vite Ruby 1.0.1 (2020-02-10)
2
6
 
3
7
  - Fix installation script in Ruby 2.5
data/README.md CHANGED
@@ -1,11 +1,11 @@
1
1
  <h1 align="center">
2
- <a href="https://vite-rails.netlify.app/">
2
+ <a href="https://vite-ruby.netlify.app/">
3
3
  <img src="https://raw.githubusercontent.com/ElMassimo/vite_ruby/main/docs/public/logo.svg" width="120px"/>
4
4
  </a>
5
5
 
6
6
  <br>
7
7
 
8
- <a href="https://vite-rails.netlify.app/">
8
+ <a href="https://vite-ruby.netlify.app/">
9
9
  Vite Ruby
10
10
  </a>
11
11
 
@@ -30,11 +30,11 @@
30
30
  </p>
31
31
  </h1>
32
32
 
33
- [website]: https://vite-rails.netlify.app/
34
- [configuration reference]: https://vite-rails.netlify.app/config/
35
- [features]: https://vite-rails.netlify.app/guide/introduction.html
36
- [guides]: https://vite-rails.netlify.app/guide/
37
- [config]: https://vite-rails.netlify.app/config/
33
+ [website]: https://vite-ruby.netlify.app/
34
+ [configuration reference]: https://vite-ruby.netlify.app/config/
35
+ [features]: https://vite-ruby.netlify.app/guide/introduction.html
36
+ [guides]: https://vite-ruby.netlify.app/guide/
37
+ [config]: https://vite-ruby.netlify.app/config/
38
38
  [vite_rails]: https://github.com/ElMassimo/vite_ruby
39
39
  [webpacker]: https://github.com/rails/webpacker
40
40
  [vite]: http://vitejs.dev/
data/lib/vite_ruby.rb CHANGED
@@ -28,7 +28,6 @@ class ViteRuby
28
28
 
29
29
  def_delegators :instance, :config, :commands, :run_proxy?
30
30
  def_delegators :config, :mode
31
- def_delegators :commands, :build
32
31
  def_delegators 'ViteRuby::Runner.new', :run
33
32
 
34
33
  def instance
@@ -76,6 +75,9 @@ class ViteRuby
76
75
  end
77
76
  end
78
77
 
78
+ extend Forwardable
79
+ def_delegators :builder, :build
80
+
79
81
  attr_writer :logger
80
82
 
81
83
  def logger
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  class ViteRuby
4
- VERSION = '1.0.1'
4
+ VERSION = '1.0.2'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vite_ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Máximo Mussini
@@ -129,8 +129,8 @@ homepage: https://github.com/ElMassimo/vite_ruby
129
129
  licenses:
130
130
  - MIT
131
131
  metadata:
132
- source_code_uri: https://github.com/ElMassimo/vite_ruby/tree/vite_ruby@1.0.1/vite_ruby
133
- changelog_uri: https://github.com/ElMassimo/vite_ruby/blob/vite_ruby@1.0.1/vite_ruby/CHANGELOG.md
132
+ source_code_uri: https://github.com/ElMassimo/vite_ruby/tree/vite_ruby@1.0.2/vite_ruby
133
+ changelog_uri: https://github.com/ElMassimo/vite_ruby/blob/vite_ruby@1.0.2/vite_ruby/CHANGELOG.md
134
134
  post_install_message:
135
135
  rdoc_options: []
136
136
  require_paths: