jekyll-vite 0.0.1 → 0.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: 7db450fb50d7d77214596d9f5a78518b4618c2100118502e2d4178cdd242e0ad
4
- data.tar.gz: 74dc9598aa9b76bc755c4c1d0513fb6d9ebc50c22c738768e31280146b469d6d
3
+ metadata.gz: f8d5f8c77007fcdffb37b4767cdd813174bef94133776d8d82bfa5ecec398e67
4
+ data.tar.gz: 5a0fb0b03874beb634c8a95c14d608a3ecb7cac70501227672a58f36caab699e
5
5
  SHA512:
6
- metadata.gz: '09b2ee91572039d136a1db1b3aa4f0cc4f21bd4560a1d5d37d8d548a3176fa4c72b04b479e7f857e7aca2d8e4fec91dd70dce16086635ad905b1488a4ec9173a'
7
- data.tar.gz: a6ed6af1378fb9bd128ab45f5f0eea48db46a8dc4f38bdde58f17e1515f894473e451cfc29aa323b470faf137ccbd786106b5d4530f84507cd0c285a43dece8a
6
+ metadata.gz: 3e44cd99b45d1fa61d7b393c24c51ab3ecbcc94dee2107fd61063e5a571b0a2c545195a1c1a2e1fc156550f5e5317894c1c3193e76decbde09430cbb84129a5d
7
+ data.tar.gz: c30b269c431a66a5b7ca129d719ed9de7a03f50d3e041d37d447ce16999a40a3b09072d942cc9759f3b008e2a0ac9793b81b8d4417b5f0302b5a75426f2b8842
data/CHANGELOG.md CHANGED
@@ -1,3 +1,12 @@
1
+ ## [0.0.2](https://github.com/ElMassimo/vite_ruby/compare/v0.0.1...v0.0.2) (2021-07-03)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * Do not serve files with custom status in local development server ([86cf47b](https://github.com/ElMassimo/vite_ruby/commit/86cf47b485520879c7b7e7a79c7245dc0ba92b16))
7
+
8
+
9
+
1
10
  ## 0.0.1 (2021-07-02)
2
11
 
3
12
  ### Features
data/README.md CHANGED
@@ -30,7 +30,7 @@
30
30
  </p>
31
31
  </h1>
32
32
 
33
- [website]: https://github.com/ElMassimo/vite-ruby
33
+ [vite ruby]: https://github.com/ElMassimo/vite-ruby
34
34
  [website]: https://vite-ruby.netlify.app/
35
35
  [jekyll]: https://jekyllrb.com/
36
36
  [configuration reference]: https://vite-ruby.netlify.app/config/
@@ -8,7 +8,7 @@ require 'jekyll/commands/serve/servlet'
8
8
  # forward asset requests to the Vite.js development server.
9
9
  module Jekyll::Vite::Proxy
10
10
  # Internal: Used to detect proxied requests since it's not a valid status code.
11
- STATUS_SERVE_ORIGINAL = 0o07
11
+ STATUS_SERVE_ORIGINAL = 7
12
12
 
13
13
  def initialize(server, *args)
14
14
  @server = server
@@ -28,7 +28,10 @@ module Jekyll::Vite::Proxy
28
28
  # default Jekyll response instead.
29
29
  def service(req, res)
30
30
  proxy_servlet.service(req, res)
31
- super if res.status == STATUS_SERVE_ORIGINAL
31
+ if res.status == STATUS_SERVE_ORIGINAL
32
+ res.status = nil
33
+ super
34
+ end
32
35
  end
33
36
 
34
37
  private
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Jekyll
4
4
  module Vite
5
- VERSION = '0.0.1'
5
+ VERSION = '0.0.2'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-vite
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
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-07-02 00:00:00.000000000 Z
11
+ date: 2021-07-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -86,8 +86,8 @@ homepage: https://github.com/ElMassimo/jekyll-vite
86
86
  licenses:
87
87
  - MIT
88
88
  metadata:
89
- source_code_uri: https://github.com/ElMassimo/jekyll-vite/tree/v0.0.1
90
- changelog_uri: https://github.com/ElMassimo/jekyll-vite/blob/v0.0.1/CHANGELOG.md
89
+ source_code_uri: https://github.com/ElMassimo/jekyll-vite/tree/v0.0.2
90
+ changelog_uri: https://github.com/ElMassimo/jekyll-vite/blob/v0.0.2/CHANGELOG.md
91
91
  post_install_message:
92
92
  rdoc_options: []
93
93
  require_paths: