vite_ruby 1.2.7 → 1.2.8

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: 3bd015b4a69f41ddc7d5bd53859232de29df842689945267c268942b98244e02
4
- data.tar.gz: d84ed1dfa2ea7695c2396844ec2817391ca5f72796a28798c69ae0eb4b2947f4
3
+ metadata.gz: e208284305c3370dd47dac35ef06af231c8ddd55b13b8870b7f32179e4c350c4
4
+ data.tar.gz: 1390d37229bf7d4139b0df3ce08d7e7b64877e2ad7ec041b7d49722545caa652
5
5
  SHA512:
6
- metadata.gz: 0f883fecbf825e1acfd0e5b9f12db3da22e5831ed481538996bb630f14adb7316327017336f738d0b03bc781bdd39d34c984fcce98f70a0d9d34e5b8080d3c93
7
- data.tar.gz: 58cdd3b818d7a28c8965c1776c582a3c2dce5eb5d8dc1e41842b04356b0f0c605176418ccf69209794329601fd01e63139af762d1d7e590a4dda1f2c63c83732
6
+ metadata.gz: b99b7aaf20cb938245f5f83f61d5aace6ffc40519f139b51b9fa9ecd86c14b9098cfafb0b966e08048d64cb62848ff25b4ee086990b44469a44ec739c61712ba
7
+ data.tar.gz: cf4db82501767990f54d994a0c8fce16404a9d5156ef956990a1b3fb403ddd8a71a8e220f629c03c6d188400cc40176be650a2985dde6d2c677838fa25a87fee
data/CHANGELOG.md CHANGED
@@ -1,9 +1,18 @@
1
+ ## [1.2.8](https://github.com/ElMassimo/vite_ruby/compare/vite_ruby@1.2.7...vite_ruby@1.2.8) (2021-04-29)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * Don't modify url for minified css when proxying a request ([#71](https://github.com/ElMassimo/vite_ruby/issues/71)) ([d30a577](https://github.com/ElMassimo/vite_ruby/commit/d30a577a8436c4987d7c2e08e7eae68e589eb2a7))
7
+
8
+
9
+
1
10
  ## [1.2.7](https://github.com/ElMassimo/vite_ruby/compare/vite_ruby@1.2.6...vite_ruby@1.2.7) (2021-04-28)
2
11
 
3
12
 
4
13
  ### Bug Fixes
5
14
 
6
- * Support Rails 5.1 by avoiding monkeypatched `Array#append` ([1b59551](https://github.com/ElMassimo/vite_ruby/commit/1b5955170b33a528a2b13d7e7e308e8493d97a91)), closes [/github.com/rails/rails/blob/5-1-stable/activesupport/lib/active_support/core_ext/array/prepend_and_append.rb#L2-L3](https://github.com//github.com/rails/rails/blob/5-1-stable/activesupport/lib/active_support/core_ext/array/prepend_and_append.rb/issues/L2-L3)
15
+ * Support Rails 5.1 by avoiding [incorrectly monkeypatched](https://github.com//github.com/rails/rails/blob/5-1-stable/activesupport/lib/active_support/core_ext/array/prepend_and_append.rb/issues/L2-L3) `Array#append` ([1b59551](https://github.com/ElMassimo/vite_ruby/commit/1b5955170b33a528a2b13d7e7e308e8493d97a91))
7
16
 
8
17
 
9
18
 
@@ -33,7 +33,7 @@ private
33
33
  uri = env.fetch('REQUEST_URI') { [env['PATH_INFO'], env['QUERY_STRING']].reject { |str| str.to_s.strip.empty? }.join('?') }
34
34
  .sub(HOST_WITH_PORT_REGEX, '/') # Hanami adds the host and port.
35
35
  .sub('.ts.js', '.ts') # Hanami's javascript helper always adds the extension.
36
- .sub(/(\.\w+)\.css$/, '\1') # Rails' stylesheet_link_tag always adds the extension.
36
+ .sub(/(\.(?!min)\w+)\.css$/, '\1') # Rails' stylesheet_link_tag always adds the extension.
37
37
  env['PATH_INFO'], env['QUERY_STRING'] = (env['REQUEST_URI'] = uri).split('?')
38
38
  end
39
39
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  class ViteRuby
4
- VERSION = '1.2.7'
4
+ VERSION = '1.2.8'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vite_ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.7
4
+ version: 1.2.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Máximo Mussini
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-04-28 00:00:00.000000000 Z
11
+ date: 2021-04-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dry-cli
@@ -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.7/vite_ruby
241
- changelog_uri: https://github.com/ElMassimo/vite_ruby/blob/vite_ruby@1.2.7/vite_ruby/CHANGELOG.md
240
+ source_code_uri: https://github.com/ElMassimo/vite_ruby/tree/vite_ruby@1.2.8/vite_ruby
241
+ changelog_uri: https://github.com/ElMassimo/vite_ruby/blob/vite_ruby@1.2.8/vite_ruby/CHANGELOG.md
242
242
  post_install_message:
243
243
  rdoc_options: []
244
244
  require_paths: