vite_ruby 1.2.0 → 1.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d9655dc4d615097239f9382298b8e2080b0ea63b9d23423cbb6c603817b6a3a1
4
- data.tar.gz: 7046d45ec63fdcdb7e712113d0d6861a6c6df11ed06e0befac721315cb31546c
3
+ metadata.gz: bd7ac0bb2f161defae03393bb11d45e6bf3757df696cb24ab65815e34e536f88
4
+ data.tar.gz: da7e0427a6ed8ad57e19ddbec2df47ec0ba3c7d23a54616f7756327ef14eef08
5
5
  SHA512:
6
- metadata.gz: c7553b547d6a411ec608128285c84321a96707906b29c8e5c94f91d8a63db65a8054cb6d529bbaf1f30acc1bbbe98df392ea1bea8f0c80b8c827e6a630e4ab38
7
- data.tar.gz: 4c9b45b1804d5d8aa10cc8997bbe4ab4277d9d2de44c497e679c9d67bb65dcae516210a8b3813ed84aa4627d28656112a40c69878e7f89aab0b6df045cf496f2
6
+ metadata.gz: 7d034a4b3d11806c4a11dcee0791b83bfab5a0988a05bc889e501383edbcd594d365af81afcb392c201d122d9dba53ea05e86287e0609fa3c32dbfcae6f79ddf
7
+ data.tar.gz: '028431f3eb1fc3923d2380f3cd6321a5aa30ed77e62d4fc009a50618f811b4303c96be298219583465ce5e021589f308c163ca8259aa028b44b1c8d316f653fa'
data/CHANGELOG.md CHANGED
@@ -1,3 +1,12 @@
1
+ ## [1.2.1](https://github.com/ElMassimo/vite_ruby/compare/vite_ruby@1.2.0...vite_ruby@1.2.1) (2021-03-19)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * Use the mode option in `clobber` ([add76b2](https://github.com/ElMassimo/vite_ruby/commit/add76b2a63ea64336235536b8b5670bace357b6e))
7
+
8
+
9
+
1
10
  # [1.2.0](https://github.com/ElMassimo/vite_ruby/compare/vite_ruby@1.1.2...vite_ruby@1.2.0) (2021-03-19)
2
11
 
3
12
 
@@ -7,7 +7,8 @@ class ViteRuby::CLI::Clobber < Dry::CLI::Command
7
7
 
8
8
  option(:mode, default: current_env, values: %w[development production test], aliases: ['m'], desc: 'The mode to use')
9
9
 
10
- def call(**)
10
+ def call(mode:, **)
11
+ ViteRuby.env['VITE_RUBY_MODE'] = mode
11
12
  ViteRuby.commands.clobber
12
13
  end
13
14
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  class ViteRuby
4
- VERSION = '1.2.0'
4
+ VERSION = '1.2.1'
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.2.0
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Máximo Mussini
@@ -237,8 +237,8 @@ homepage: https://github.com/ElMassimo/vite_ruby
237
237
  licenses:
238
238
  - MIT
239
239
  metadata:
240
- source_code_uri: https://github.com/ElMassimo/vite_ruby/tree/vite_ruby@1.2.0/vite_ruby
241
- changelog_uri: https://github.com/ElMassimo/vite_ruby/blob/vite_ruby@1.2.0/vite_ruby/CHANGELOG.md
240
+ source_code_uri: https://github.com/ElMassimo/vite_ruby/tree/vite_ruby@1.2.1/vite_ruby
241
+ changelog_uri: https://github.com/ElMassimo/vite_ruby/blob/vite_ruby@1.2.1/vite_ruby/CHANGELOG.md
242
242
  post_install_message:
243
243
  rdoc_options: []
244
244
  require_paths: