vite_rails 2.0.12 → 2.0.13

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: e2c44cc28668a8e61804ef2480f063517f6867ef609380f625f5cd3ff9acc098
4
- data.tar.gz: da6a1d70b91bc28e6d97255b8e28e81739d7a5c4cf9d7d9bbdafdbf8d038f0e8
3
+ metadata.gz: 7aeccc7a6aac7af8b23fcd39f6da48291af50b447f6b3e6caeb29edbf19cea55
4
+ data.tar.gz: 555f0684fc6c3eb369a047913d7b91228796913fa6950a1ed5c2182d5ad60de0
5
5
  SHA512:
6
- metadata.gz: 121240efd1fae220ac24a3caca2170095ffa39a3dd4684b9920136a13341e6af2fcb49d5295e8fe5113f6a38bade36ed5ede62a1b06d124a19836f21a54f6c7d
7
- data.tar.gz: c6c51711be2dafa0ff0245438d1ba8c401cbf10c377d21284d863c45aa6e2a72198cb5487c1643c636a97e9ac25234d48465ff04f62e20fa79a2989ebdb82ea0
6
+ metadata.gz: ccfbfb3a9d5e9f5342229db3d80debacb9630691d8ecc0d01911ed8c4471d8ff84caa906e9a0bb7c9056b012537b4b1134cef785674245bbbeafad6ab5470e8d
7
+ data.tar.gz: 842435df00161005d1ffbf1f7862c638befde2498382af4b8e916f7cae15e7d5016a63394ec7a043da4d5aaf690e255a199095f65c6424f43aee7888974b6bc0
data/CHANGELOG.md CHANGED
@@ -9,6 +9,9 @@
9
9
 
10
10
  ## [2.0.11](https://github.com/ElMassimo/vite_ruby/compare/vite_rails@2.0.10...vite_rails@2.0.11) (2021-05-10)
11
11
 
12
+ ### Refactor
13
+
14
+ * Avoid reference to `dry-cli` during installation, use internal APIs instead ([f5b87e](https://github.com/ElMassimo/vite_ruby/commit/f5b87e69790e48397d15e609b44118e399c9493d))
12
15
 
13
16
 
14
17
  ## [2.0.10](https://github.com/ElMassimo/vite_ruby/compare/vite_rails@2.0.9...vite_rails@2.0.10) (2021-04-21)
@@ -33,4 +33,9 @@ class ViteRails::Engine < Rails::Engine
33
33
  end
34
34
  end
35
35
  end
36
+
37
+ initializer 'vite_rails.set_source' do |app|
38
+ source_dir = ViteRuby.config.root.join(ViteRuby.config.source_code_dir)
39
+ app.config.javascript_path = source_dir.relative_path_from(Rails.root.join('app')).to_s
40
+ end
36
41
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ViteRails
4
- VERSION = '2.0.12'
4
+ VERSION = '2.0.13'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vite_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.12
4
+ version: 2.0.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Máximo Mussini
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-05-24 00:00:00.000000000 Z
11
+ date: 2021-07-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties
@@ -81,8 +81,8 @@ homepage: https://github.com/ElMassimo/vite_ruby
81
81
  licenses:
82
82
  - MIT
83
83
  metadata:
84
- source_code_uri: https://github.com/ElMassimo/vite_ruby/tree/vite_rails@2.0.12/vite_rails
85
- changelog_uri: https://github.com/ElMassimo/vite_ruby/blob/vite_rails@2.0.12/vite_rails/CHANGELOG.md
84
+ source_code_uri: https://github.com/ElMassimo/vite_ruby/tree/vite_rails@2.0.13/vite_rails
85
+ changelog_uri: https://github.com/ElMassimo/vite_ruby/blob/vite_rails@2.0.13/vite_rails/CHANGELOG.md
86
86
  post_install_message:
87
87
  rdoc_options: []
88
88
  require_paths: