hyraft-server 0.1.0.alpha2 → 0.1.0

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: 7868beef9b8746d00d05fcadb95e425f999e24d3a174327ec66428d5518083b6
4
+ data.tar.gz: 9c85aa67326ecea6c2275cdcf3af72a4baf468ed081fda19c967847a73ef2472
5
5
  SHA512:
6
- metadata.gz: 6a411d02e246c8e4e5d2f7ced20d3c1669f1584b53ab91c08301adf85921a55d729f0b985e956a56de3d8d1246009842f1c4f0fd2db2988c42c6772f293952cf
7
- data.tar.gz: d4f332baaec6d52c5b75596d2f17cf28e14ad7c03b4e48fdd606935d3f949ff5fb4e5ac44bc1016e27cd08e4732af0df8f330b52967b13dca0442b28d98e3c71
6
+ metadata.gz: c34b59eddb0654dab9c3a6328a560b4327024fd6913649cf892745ca639031a90c97ec0b200faad9755abc5fc64010e9def7fde6151090f409b5e4451fc443c4
7
+ data.tar.gz: '08dd5cc15c76dfadf3b397b03aa4b56860464da6632ce125a13c4d8a9b3747fe8a76b924d36829e0f3f79c809103e158a9c716c48f5f42a366cf0201f5d75a66'
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,5 +1,17 @@
1
+ <div align="center">
2
+
1
3
  # Hyraft Server
2
4
 
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
+
10
+
11
+ </div>
12
+
13
+
14
+
3
15
  Web server for Hyraft framework
4
16
 
5
17
  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.
@@ -13,6 +25,29 @@ put:
13
25
  gem 'hyraft-server'
14
26
  ```
15
27
 
28
+ Switch to Thin # Gemfile in your application (Windows / Linux)
29
+ ```bash
30
+ gem 'thin'
31
+ ```
32
+
33
+ Switch to Puma # Gemfile in your application (Windows / Linux)
34
+ ```bash
35
+ gem 'puma'
36
+ ```
37
+
38
+
39
+ Switch server to Falcon # Gemfile in your application (Linux)
40
+ ```bash
41
+ gem 'falcon'
42
+ ```
43
+
44
+ Switch server to Iodine # Gemfile in your application (Linux)
45
+ ```bash
46
+ gem 'iodine'
47
+ ```
48
+
49
+
50
+
16
51
  Install the gem and add to the application's Gemfile by executing:
17
52
 
18
53
  ```bash
@@ -23,28 +58,35 @@ bundle install
23
58
  ## Usage
24
59
 
25
60
  Command Variants
26
- Hotkey:
27
-
28
61
  ```rb
62
+ Hotkey:
29
63
 
30
64
  hyr s [server-name] Start web server
31
65
  hyr s [server-name] --api Start API server directly
32
66
  hyr s-v Show version
33
67
  hyr s-h Show this help
68
+
34
69
  Shortkey:
35
70
 
36
71
  hyr-serve [server-name] Start web server
37
72
  hyr-serve [server-name] --api Start API server directly
38
73
  hyr-serve s-v Show version
39
74
  hyr-serve s-h Show this help
75
+
40
76
  Standard:
41
77
 
42
78
  hyraft-server [server-name] [options] Start web server
43
79
  hyraft-server [server-name] --api [options] Start API server directly
44
80
  hyraft-server server-version Show version
45
81
  hyraft-server server-help Show this help
46
- Examples
82
+
83
+ Examples:
84
+
47
85
  hyr s thin # Start web server with Thin
86
+ hyr s puma # Start web server with Puma
87
+ hyr s iodine # Start web server with Iodine
88
+ hyr s falcon # Start web server with Falcon
89
+
48
90
  hyr-serve thin # Start web server with Thin
49
91
  hyraft-server thin # Start web server with Thin
50
92
  hyraft-server thin --api # Start API server with Thin
@@ -53,6 +95,54 @@ hyraft-server falcon --http2 # Start with HTTP/2 (Falcon)
53
95
 
54
96
 
55
97
  ```
98
+
99
+ ## Usage - Test
100
+
101
+ Test Environment
102
+ ```rb
103
+
104
+ Hotkey:
105
+
106
+ APP_ENV=test hyr s [server-name] Start web server (test)
107
+ APP_ENV=test hyr s [server-name] --api Start API server directly (test)
108
+ APP_ENV=test hyr s-v Show version (test)
109
+ APP_ENV=test hyr s-h Show this help (test)
110
+
111
+ ex.
112
+
113
+ APP_ENV=test hyr s thin
114
+ APP_ENV=test hyr s puma
115
+ APP_ENV=test hyr s iodine
116
+ APP_ENV=test hyr s falcon
117
+
118
+
119
+
120
+ ```
121
+
122
+ ## Usage - Production
123
+
124
+ Production Environment
125
+ ```rb
126
+
127
+ Hotkey:
128
+
129
+ APP_ENV=production hyr s [server-name] Start web server (production)
130
+ APP_ENV=production hyr s [server-name] --api Start API server directly (production)
131
+ APP_ENV=production hyr s-v Show version (production)
132
+ APP_ENV=production hyr s-h Show this help (production)
133
+
134
+ ex.
135
+
136
+ APP_ENV=production hyr s thin
137
+ APP_ENV=production hyr s puma
138
+ APP_ENV=production hyr s iodine
139
+ APP_ENV=production hyr s falcon
140
+
141
+ ```
142
+
143
+
144
+
145
+
56
146
  ## Development
57
147
 
58
148
  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.0"
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.0
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,9 @@ 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
+ source_code_uri: https://github.com/demjhonsilver/hyraft-server/tree/main
79
+ changelog_uri: https://github.com/demjhonsilver/hyraft-server/blob/main/CHANGELOG.md
110
80
  rubygems_mfa_required: 'true'
111
- yard.run: yri
112
81
  rdoc_options: []
113
82
  require_paths:
114
83
  - lib