gyoza-languages 1.0.1 → 1.0.2
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.
- checksums.yaml +4 -4
- data/lib/gyoza-languages/gyoza_app.rb +1 -1
- data/lib/gyoza-languages/version.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1090067d8f3495772c54bec25bd645361a322b5a0735fd39cd4b534ec5575ee5
|
4
|
+
data.tar.gz: af33c522963563a7aef37257e323a25f054d0270234a7b6058968ed5e4c14a72
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d1a83615f70e294786ea968e518bfc32e49f660a68a91b847ab6d8567858d0c7fcc9bd3356e3d670bf6a970ce6f0ba8791d6ced01d7bf8abcf998c1d67973882
|
7
|
+
data.tar.gz: 28bb3e9fb26245c2c074cdbf4cad8a47b1c51455a5b943460b4cee97a0f6c316cc151594d3769eb46dd1944c8c78274b8221829de1c1d9b12ec7f113c0d9f05b
|
@@ -19,7 +19,7 @@ class GyozaApp
|
|
19
19
|
# a GyozaError is raised.
|
20
20
|
#
|
21
21
|
# Arguments:
|
22
|
-
# port: the port to start the server at
|
22
|
+
# port: the port to start the server at
|
23
23
|
def start(port = GyozaLanguages::DEFAULT_PORT)
|
24
24
|
if @handler.nil?
|
25
25
|
@handler = Rackup::Handler.default
|
@@ -1,10 +1,10 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
module GyozaLanguages
|
4
|
-
VERSION = '1.0.
|
4
|
+
VERSION = '1.0.2'
|
5
5
|
# The content sent as the HTTP Server header
|
6
6
|
SERVER_NAME = "Gyoza-Languages/#{VERSION}"
|
7
|
-
DEFAULT_PORT =
|
7
|
+
DEFAULT_PORT = 20125
|
8
8
|
|
9
9
|
SPEC_NAME = $PROGRAM_NAME.split('/').last
|
10
10
|
SPEC_DESCRIPTION = 'A Ruby implementation of the Github linguist project with an integrated simple HTTP web server'
|