hyraft-server 0.1.0.alpha2 → 0.1.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 20e0fd054edbbb37389e76f612452213bf57158e3c4ace4c9afb0b83e6ceb0fd
4
- data.tar.gz: 6ffc679b1999fa1d57bc53ca0074cad794091a9467b3266e0f7b714d9c3a1345
3
+ metadata.gz: 6e0d531ec235e514402814a2ebae8505d9bc773fb2021a1d6c255682307456e3
4
+ data.tar.gz: 03de7004ecd30980d074bd0d12671aa8543fa70704a65f21becd36a0e08c4ea9
5
5
  SHA512:
6
- metadata.gz: 6a411d02e246c8e4e5d2f7ced20d3c1669f1584b53ab91c08301adf85921a55d729f0b985e956a56de3d8d1246009842f1c4f0fd2db2988c42c6772f293952cf
7
- data.tar.gz: d4f332baaec6d52c5b75596d2f17cf28e14ad7c03b4e48fdd606935d3f949ff5fb4e5ac44bc1016e27cd08e4732af0df8f330b52967b13dca0442b28d98e3c71
6
+ metadata.gz: 6697ffb36e5c6daab810b5f842a5fdfd8cd6697086bf969c4572f557eabea0b3ac86102344a7cf801dfeb915967468f78eab43f57d5a9b599b91099ab6cf7de3
7
+ data.tar.gz: 23252f1b48144ef7106b8d6c40cc0217a3955d31777dec453efdcb671162f59e060e05a666ad946d2ad13f73f1a298d25ac526e65d25e41d0e81abd513f471ef
data/LICENSE.txt CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2025 TODO: Write your name
3
+ Copyright (c) 2025 Hyraft-server: Demjhon Silver
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
@@ -1,58 +1,136 @@
1
+ <div align="center">
2
+
1
3
  # Hyraft Server
2
4
 
3
- Web server for Hyraft framework
5
+ [![Gem Version](https://badge.fury.io/rb/hyraft-server.svg?icon=si%3Arubygems&icon_color=%23ffffff)](https://badge.fury.io/rb/hyraft-server)
6
+ ![Downloads](https://img.shields.io/gem/dt/hyraft-server)
7
+ ![License](https://img.shields.io/github/license/demjhonsilver/hyraft-server)
8
+ ![Ruby Version](https://img.shields.io/badge/ruby-%3E%3D%203.4.0-red)
9
+ ![Tests](https://github.com/demjhonsilver/hyraft-server/actions/workflows/ci.yml/badge.svg)
4
10
 
5
- Dual-server web stack implementing hexagonal architecture. Supports simultaneous web and API servers across multiple Ruby backends (Puma, Thin, Falcon, Iodine) for the Hyraft platform.
6
11
 
7
- ## Installation
8
12
 
9
- Open Gemfile:
10
- put:
13
+ </div>
14
+
15
+
16
+
17
+ Web server for Hyraft framework
11
18
 
12
19
  ```bash
13
- gem 'hyraft-server'
20
+ Dual-server web stack implementing hexagonal architecture. Supports simultaneous web and API servers across multiple Ruby backends (Puma, Thin, Falcon, Iodine) for the Hyraft framework.
14
21
  ```
15
22
 
16
- Install the gem and add to the application's Gemfile by executing:
23
+ ## Installation
17
24
 
18
25
  ```bash
19
- bundle install
26
+ Server options:
27
+ ___________________________________________________
28
+
29
+ Use Thin server: gem 'thin' # Windows/Linux
30
+ Use Puma server: gem 'puma' # Windows/Linux
31
+ Use Falcon server: gem 'falcon' # Linux
32
+ Use Iodine server: gem 'iodine' # Linux
33
+
20
34
  ```
21
35
 
22
36
 
23
37
  ## Usage
24
38
 
25
39
  Command Variants
26
- Hotkey:
27
-
28
40
  ```rb
41
+ _______________________________________________________________________
42
+
43
+ Alias: (or Shortcut)
29
44
 
30
45
  hyr s [server-name] Start web server
31
46
  hyr s [server-name] --api Start API server directly
32
47
  hyr s-v Show version
33
48
  hyr s-h Show this help
34
- Shortkey:
49
+ _______________________________________________________________________
50
+
51
+ Medium Form:
35
52
 
36
53
  hyr-serve [server-name] Start web server
37
54
  hyr-serve [server-name] --api Start API server directly
38
55
  hyr-serve s-v Show version
39
56
  hyr-serve s-h Show this help
40
- Standard:
57
+ _______________________________________________________________________
58
+
59
+ Full Command:
41
60
 
42
61
  hyraft-server [server-name] [options] Start web server
43
62
  hyraft-server [server-name] --api [options] Start API server directly
44
63
  hyraft-server server-version Show version
45
64
  hyraft-server server-help Show this help
46
- Examples
65
+
66
+ _______________________________________________________________________
67
+
68
+ Examples:
69
+
47
70
  hyr s thin # Start web server with Thin
71
+ hyr s puma # Start web server with Puma
72
+ hyr s iodine # Start web server with Iodine
73
+ hyr s falcon # Start web server with Falcon
74
+
48
75
  hyr-serve thin # Start web server with Thin
49
76
  hyraft-server thin # Start web server with Thin
50
77
  hyraft-server thin --api # Start API server with Thin
51
78
  hyraft-server puma -p 1091 # Start web server on port 1091
79
+ hyraft-server puma --port-api 1092 # Start API server on port 1092
52
80
  hyraft-server falcon --http2 # Start with HTTP/2 (Falcon)
81
+ hyraft-server falcon --http3 # Start with HTTP/3 (Falcon)
82
+ _______________________________________________________________________
83
+
84
+
85
+ ```
86
+
87
+ ## Usage - Test
88
+
89
+ Test Environment
90
+ ```rb
91
+
92
+ Alias: (or Shortcut)
93
+
94
+ APP_ENV=test hyr s [server-name] Start web server (test)
95
+ APP_ENV=test hyr s [server-name] --api Start API server directly (test)
96
+ APP_ENV=test hyr s-v Show version (test)
97
+ APP_ENV=test hyr s-h Show this help (test)
98
+
99
+ ex.
100
+
101
+ APP_ENV=test hyr s thin
102
+ APP_ENV=test hyr s puma
103
+ APP_ENV=test hyr s iodine
104
+ APP_ENV=test hyr s falcon
105
+
53
106
 
54
107
 
55
108
  ```
109
+
110
+ ## Usage - Production
111
+
112
+ Production Environment
113
+ ```rb
114
+
115
+ Alias: (or Shortcut)
116
+
117
+ APP_ENV=production hyr s [server-name] Start web server (production)
118
+ APP_ENV=production hyr s [server-name] --api Start API server directly (production)
119
+ APP_ENV=production hyr s-v Show version (production)
120
+ APP_ENV=production hyr s-h Show this help (production)
121
+
122
+ ex.
123
+
124
+ APP_ENV=production hyr s thin
125
+ APP_ENV=production hyr s puma
126
+ APP_ENV=production hyr s iodine
127
+ APP_ENV=production hyr s falcon
128
+
129
+ ```
130
+
131
+
132
+
133
+
56
134
  ## Development
57
135
 
58
136
  After checking out the repo, run `bundle install` to install dependencies.
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Hyraft
4
4
  module Server
5
- VERSION = "0.1.0.alpha2"
5
+ VERSION = "0.1.1"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hyraft-server
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0.alpha2
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Demjhon Silver
@@ -51,37 +51,8 @@ dependencies:
51
51
  - - "~>"
52
52
  - !ruby/object:Gem::Version
53
53
  version: '5.26'
54
- - !ruby/object:Gem::Dependency
55
- name: yard
56
- requirement: !ruby/object:Gem::Requirement
57
- requirements:
58
- - - "~>"
59
- - !ruby/object:Gem::Version
60
- version: 0.9.34
61
- type: :development
62
- prerelease: false
63
- version_requirements: !ruby/object:Gem::Requirement
64
- requirements:
65
- - - "~>"
66
- - !ruby/object:Gem::Version
67
- version: 0.9.34
68
- - !ruby/object:Gem::Dependency
69
- name: redcarpet
70
- requirement: !ruby/object:Gem::Requirement
71
- requirements:
72
- - - "~>"
73
- - !ruby/object:Gem::Version
74
- version: '3.6'
75
- type: :development
76
- prerelease: false
77
- version_requirements: !ruby/object:Gem::Requirement
78
- requirements:
79
- - - "~>"
80
- - !ruby/object:Gem::Version
81
- version: '3.6'
82
- description: Dual-server web stack implementing hexagonal architecture. Supports simultaneous
83
- web and API servers across multiple Ruby backends (Puma, Thin, Falcon, Iodine) for
84
- the Hyraft platform.
54
+ description: Dual-server Hyraft framework with hexagonal architecture, supporting
55
+ Puma, Thin, Falcon, and Iodine.
85
56
  executables:
86
57
  - hyr
87
58
  - hyr-serve
@@ -104,11 +75,10 @@ licenses:
104
75
  - MIT
105
76
  metadata:
106
77
  homepage_uri: https://github.com/demjhonsilver/hyraft-server
107
- source_code_uri: https://github.com/demjhonsilver/hyraft-server
108
- changelog_uri: https://github.com/demjhonsilver/hyraft-server/releases
109
- documentation_uri: https://rubydoc.info/gems/hyraft-server
78
+ documentation_uri: https://www.rubydoc.info/gems/hyraft-server
79
+ source_code_uri: https://github.com/demjhonsilver/hyraft-server/tree/main
80
+ changelog_uri: https://github.com/demjhonsilver/hyraft-server/blob/main/CHANGELOG.md
110
81
  rubygems_mfa_required: 'true'
111
- yard.run: yri
112
82
  rdoc_options: []
113
83
  require_paths:
114
84
  - lib