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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e44b12f715535f0faf2337303d7fb2968487c80e833d7d012a3da68a8ac2f2d9
4
- data.tar.gz: 927aff95eb4f69528c7a89a7a4f46e212ea480baaaddda4076833c505470de85
3
+ metadata.gz: 818e5694ac12bb98168757abe9f00f611f4bb0b501b4d7bb8e8a3fa8e3380e04
4
+ data.tar.gz: 32d367351883e6fc419c42fb5c70497de338d171c895c38904da285df554fb1d
5
5
  SHA512:
6
- metadata.gz: d560a7d74c707cfc334716b92332df421d84d2cc92eea2420f3c896658bd6725c5f1df2adc28ed4d9bc319770a3badc6226cff9bc0224639967d8ba3ce83471e
7
- data.tar.gz: ae0200fd4da6f4895f417743d51e3e716bd813ee56fac5cbe7f5829ff6f0bbeec172cbdb21094f8bfae4bcf91dbb09b00091534561b7678301097fe6c872be33
6
+ metadata.gz: 903863187be944f793faad8f6315d8c47420330a45dd9997b530676fd38af81521681ccf9de65cc125fc31da24d761beb5bb31ad5a4c2647c21847b42bd60667
7
+ data.tar.gz: 7d87df9020d86c6e23d9e704d49b9e35796647ee8a5ad1e00b6168b4b29623269ed4a0c1ab25f4af4276283004e37e1fc4b462cc0c100883d6f1af917d8b7898
data/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2021 Shintaro Kojima
3
+ Copyright (c) 2016-2022 Shintaro Kojima
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
data/README.md CHANGED
@@ -57,4 +57,4 @@ The URL scheme in your browser is always 'http'.
57
57
 
58
58
  ## Copyright and License
59
59
 
60
- Copyright (c) 2021 Shintaro Kojima. Code released under the [MIT license](LICENSE).
60
+ Copyright (c) 2016-2022 Shintaro Kojima. Code released under the [MIT license](LICENSE).
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
- Rack::Server.start(config: config, Host: '127.0.0.1', Port: 80)
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
@@ -1,3 +1,3 @@
1
1
  module Hosty
2
- VERSION = '0.0.6'
2
+ VERSION = '0.0.7'
3
3
  end
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.6
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: 2021-04-30 00:00:00.000000000 Z
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: 2.1.0
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.2.15
145
+ rubygems_version: 3.3.7
132
146
  signing_key:
133
147
  specification_version: 4
134
148
  summary: "/etc/hosts based tiny reverse proxy."