wsv 0.9.0 → 0.10.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.
metadata CHANGED
@@ -1,15 +1,17 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wsv
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.10.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - takahashim
8
- bindir: bin
8
+ bindir: exe
9
9
  cert_chain: []
10
- date: 2026-05-06 00:00:00.000000000 Z
10
+ date: 2026-05-07 00:00:00.000000000 Z
11
11
  dependencies: []
12
- description: wsv serves a local directory over HTTP from a zero-config CLI.
12
+ description: 'wsv is a Ruby CLI that previews a directory over HTTP/HTTPS. Stdlib-only,
13
+ no runtime dependencies. Defensive by design: blocks dotfiles, binds to loopback,
14
+ ships with TLS and CORS.'
13
15
  email:
14
16
  - takahashimm@gmail.com
15
17
  executables:
@@ -20,36 +22,48 @@ files:
20
22
  - CHANGELOG.md
21
23
  - LICENSE.txt
22
24
  - README.md
23
- - bin/wsv
25
+ - exe/wsv
24
26
  - lib/wsv.rb
25
27
  - lib/wsv/app.rb
26
28
  - lib/wsv/cli.rb
29
+ - lib/wsv/cors.rb
27
30
  - lib/wsv/mime_types.rb
28
31
  - lib/wsv/path_resolver.rb
29
32
  - lib/wsv/request.rb
30
33
  - lib/wsv/request/parser.rb
34
+ - lib/wsv/request/too_large.rb
31
35
  - lib/wsv/response.rb
32
36
  - lib/wsv/response/file_body.rb
33
37
  - lib/wsv/response/file_builder.rb
34
38
  - lib/wsv/response/string_body.rb
35
39
  - lib/wsv/response/text_builder.rb
36
40
  - lib/wsv/server.rb
41
+ - lib/wsv/server/banner.rb
42
+ - lib/wsv/server/browser_launcher.rb
43
+ - lib/wsv/server/connection.rb
44
+ - lib/wsv/server/connection_throttle.rb
45
+ - lib/wsv/server/deadline_reader.rb
46
+ - lib/wsv/server/url_host.rb
37
47
  - lib/wsv/status.rb
48
+ - lib/wsv/tls_context.rb
49
+ - lib/wsv/tls_context/resolver.rb
50
+ - lib/wsv/tls_context/self_signed_cert.rb
38
51
  - lib/wsv/version.rb
39
52
  - test/app_test.rb
53
+ - test/browser_launcher_test.rb
40
54
  - test/cli_test.rb
41
55
  - test/path_resolver_test.rb
42
56
  - test/request_test.rb
43
57
  - test/response_test.rb
44
58
  - test/server_test.rb
45
59
  - test/test_helper.rb
60
+ - test/tls_context_test.rb
46
61
  - wsv.gemspec
47
- homepage: https://rubygems.org/gems/wsv
62
+ homepage: https://github.com/takahashim/wsv
48
63
  licenses:
49
64
  - MIT
50
65
  metadata:
51
- homepage_uri: https://rubygems.org/gems/wsv
52
- source_code_uri: https://github.com/takahashim/wsv
66
+ homepage_uri: https://github.com/takahashim/wsv
53
67
  changelog_uri: https://github.com/takahashim/wsv/blob/main/CHANGELOG.md
54
68
  rubygems_mfa_required: 'true'
55
69
  rdoc_options: []
@@ -68,5 +82,5 @@ required_rubygems_version: !ruby/object:Gem::Requirement
68
82
  requirements: []
69
83
  rubygems_version: 3.6.2
70
84
  specification_version: 4
71
- summary: A tiny static web server for local previews.
85
+ summary: A zero-dependency static preview server for Ruby projects.
72
86
  test_files: []
/data/{bin → exe}/wsv RENAMED
File without changes