hosty 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE +1 -1
- data/README.md +1 -1
- data/exe/hosty +2 -1
- data/hosty.gemspec +1 -2
- data/lib/hosty/version.rb +1 -1
- metadata +18 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 818e5694ac12bb98168757abe9f00f611f4bb0b501b4d7bb8e8a3fa8e3380e04
|
4
|
+
data.tar.gz: 32d367351883e6fc419c42fb5c70497de338d171c895c38904da285df554fb1d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 903863187be944f793faad8f6315d8c47420330a45dd9997b530676fd38af81521681ccf9de65cc125fc31da24d761beb5bb31ad5a4c2647c21847b42bd60667
|
7
|
+
data.tar.gz: 7d87df9020d86c6e23d9e704d49b9e35796647ee8a5ad1e00b6168b4b29623269ed4a0c1ab25f4af4276283004e37e1fc4b462cc0c100883d6f1af917d8b7898
|
data/LICENSE
CHANGED
data/README.md
CHANGED
data/exe/hosty
CHANGED
@@ -3,6 +3,7 @@
|
|
3
3
|
require 'optparse'
|
4
4
|
require 'pathname'
|
5
5
|
require 'rack'
|
6
|
+
require 'rackup'
|
6
7
|
|
7
8
|
$: << File.expand_path('../../lib', Pathname.new(__FILE__).realpath)
|
8
9
|
|
@@ -33,4 +34,4 @@ opts = OptionParser.new do |opts|
|
|
33
34
|
end
|
34
35
|
opts.parse!
|
35
36
|
|
36
|
-
|
37
|
+
Rackup::Server.start(config: config, Host: '127.0.0.1', Port: 80)
|
data/hosty.gemspec
CHANGED
@@ -29,11 +29,10 @@ It allows you to manage mappings of local server name and port on /etc/hosts.
|
|
29
29
|
spec.require_paths = ["lib"]
|
30
30
|
|
31
31
|
spec.add_runtime_dependency "rack-reverse-proxy"
|
32
|
+
spec.add_runtime_dependency "rackup"
|
32
33
|
spec.add_runtime_dependency "webrick"
|
33
34
|
|
34
35
|
spec.add_development_dependency "bundler"
|
35
36
|
spec.add_development_dependency "rake"
|
36
37
|
spec.add_development_dependency "test-unit"
|
37
|
-
|
38
|
-
spec.required_ruby_version = '>= 2.1.0'
|
39
38
|
end
|
data/lib/hosty/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hosty
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Shintaro Kojima
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-12-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rack-reverse-proxy
|
@@ -24,6 +24,20 @@ dependencies:
|
|
24
24
|
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rackup
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
27
41
|
- !ruby/object:Gem::Dependency
|
28
42
|
name: webrick
|
29
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -121,14 +135,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
121
135
|
requirements:
|
122
136
|
- - ">="
|
123
137
|
- !ruby/object:Gem::Version
|
124
|
-
version:
|
138
|
+
version: '0'
|
125
139
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
126
140
|
requirements:
|
127
141
|
- - ">="
|
128
142
|
- !ruby/object:Gem::Version
|
129
143
|
version: '0'
|
130
144
|
requirements: []
|
131
|
-
rubygems_version: 3.
|
145
|
+
rubygems_version: 3.3.7
|
132
146
|
signing_key:
|
133
147
|
specification_version: 4
|
134
148
|
summary: "/etc/hosts based tiny reverse proxy."
|