httpme 0.1.4 → 0.1.5

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: edb4c83fe25637a919baa49f01e260c71a5f397856d4367c439886e13fc7b450
4
- data.tar.gz: 2be3905394f37fe747e0edea96630b7ce07b5f22801a72b4d879dfd88d8826c8
3
+ metadata.gz: e27183a0829fe35cd8336810fdcbe9a862a1df0a0e0c663aae71ee1bb9d0a78a
4
+ data.tar.gz: b7e7403de4fda13bb29a344114910d9bd394566a4dceda51699a564288d7c4f9
5
5
  SHA512:
6
- metadata.gz: c91922970ca6e0638374eb2e32fff80d681cf77f1d7acc6405cbcb1294886bd082d20a9d478073c70d04181c6e008f9aeed5ea4018cccf16ddc8429455cbe41d
7
- data.tar.gz: 0d0d949508ec4918d7082c9f75bef2255ed149de40a50a7fb9a6fd45234659a2af1aa69b6769c88b148cf6428cdd49d965cfd4d354f160fd34ea988d548aaa16
6
+ metadata.gz: 61e63755fc6d3e2982aadd6ca339dbdd9db73ce219f36698612fef9beb14cf8e146601f79f173c8444933cba60b97a891ee775efec5dd7438ec84fc90dcba39e
7
+ data.tar.gz: e2e142ddf8ba2ad4a132b85bf76a10164ff75a6e033fc4d96e31758f9770c2ee8028c80f3827792901225b92332faad234343124f01d79cb672eebe18820cfe9
data/README.md CHANGED
@@ -34,11 +34,8 @@ $ docker run --rm -it -p 3000:3000 -v $PWD:/docroot \
34
34
  Or, with docker-compose:
35
35
 
36
36
  ```yaml
37
- version: '3'
38
-
39
37
  services:
40
38
  web:
41
- build: .
42
39
  image: dannyben/httpme
43
40
  volumes: [".:/docroot"]
44
41
  ports: ["3000:3000"]
@@ -5,17 +5,18 @@ module HTTPMe
5
5
  class Command < MisterBin::Command
6
6
  include Colsole
7
7
 
8
+ version HTTPMe::VERSION
8
9
  summary "httpme - static web server with basic authentication"
9
10
 
10
11
  help "Options can be set using command line arguments or environment variables"
11
12
 
12
13
  usage "httpme [PATH] [--port PORT --host HOST --auth AUTH]"
13
- usage "httpme (-h|--help)"
14
+ usage "httpme (-h|--help|--version)"
14
15
 
15
16
  param "PATH", "Path to the directory you want to serve [default: .]"
16
- option "-p, --port PORT", "Server port (default: 3000)"
17
- option "-o, --host HOST", "Server host (default: 0.0.0.0)"
18
- option "-a, --auth AUTH", "Specify user:password to enable basic authentication"
17
+ option "-p --port PORT", "Server port (default: 3000)"
18
+ option "-o --host HOST", "Server host (default: 0.0.0.0)"
19
+ option "-a --auth AUTH", "Specify user:password to enable basic authentication"
19
20
 
20
21
  environment 'HTTPME_PATH', "Same as the PATH argument"
21
22
  environment 'HTTPME_AUTH', "Same as the --auth option"
@@ -1,3 +1,3 @@
1
1
  module HTTPMe
2
- VERSION = "0.1.4"
2
+ VERSION = "0.1.5"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: httpme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Danny Ben Shitrit
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-12-13 00:00:00.000000000 Z
11
+ date: 2022-05-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mister_bin
@@ -94,14 +94,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
94
94
  requirements:
95
95
  - - ">="
96
96
  - !ruby/object:Gem::Version
97
- version: 2.4.0
97
+ version: 2.6.0
98
98
  required_rubygems_version: !ruby/object:Gem::Requirement
99
99
  requirements:
100
100
  - - ">="
101
101
  - !ruby/object:Gem::Version
102
102
  version: '0'
103
103
  requirements: []
104
- rubygems_version: 3.1.4
104
+ rubygems_version: 3.3.3
105
105
  signing_key:
106
106
  specification_version: 4
107
107
  summary: Static files web server with basic authentication