rage-rb 0.3.0 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +35 -5
- data/Gemfile +3 -0
- data/README.md +14 -12
- data/lib/rage/all.rb +27 -0
- data/lib/rage/application.rb +35 -6
- data/lib/rage/cli.rb +43 -44
- data/lib/rage/configuration.rb +22 -6
- data/lib/rage/controller/api.rb +52 -4
- data/lib/rage/errors.rb +4 -0
- data/lib/rage/fiber.rb +58 -10
- data/lib/rage/fiber_scheduler.rb +59 -32
- data/lib/rage/logger/logger.rb +164 -0
- data/lib/rage/logger/text_formatter.rb +46 -0
- data/lib/rage/params_parser.rb +45 -0
- data/lib/rage/request.rb +44 -0
- data/lib/rage/router/backend.rb +37 -4
- data/lib/rage/router/dsl.rb +236 -6
- data/lib/rage/router/handler_storage.rb +8 -5
- data/lib/rage/sidekiq_session.rb +72 -0
- data/lib/rage/templates/Gemfile +5 -1
- data/lib/rage/templates/Rakefile +1 -0
- data/lib/rage/templates/config-application.rb +6 -1
- data/lib/rage/templates/config-environments-development.rb +6 -3
- data/lib/rage/templates/config-environments-production.rb +7 -3
- data/lib/rage/templates/config-environments-test.rb +6 -3
- data/lib/rage/uploaded_file.rb +70 -0
- data/lib/rage/version.rb +1 -1
- data/lib/rage-rb.rb +7 -16
- data/rage.gemspec +1 -1
- metadata +13 -4
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rage-rb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Roman Samoilov
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-11-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|
@@ -44,14 +44,14 @@ dependencies:
|
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '
|
47
|
+
version: '2.2'
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: '
|
54
|
+
version: '2.2'
|
55
55
|
description:
|
56
56
|
email:
|
57
57
|
- rsamoi@icloud.com
|
@@ -71,12 +71,18 @@ files:
|
|
71
71
|
- exe/rage
|
72
72
|
- lib/rage-rb.rb
|
73
73
|
- lib/rage.rb
|
74
|
+
- lib/rage/all.rb
|
74
75
|
- lib/rage/application.rb
|
75
76
|
- lib/rage/cli.rb
|
76
77
|
- lib/rage/configuration.rb
|
77
78
|
- lib/rage/controller/api.rb
|
79
|
+
- lib/rage/errors.rb
|
78
80
|
- lib/rage/fiber.rb
|
79
81
|
- lib/rage/fiber_scheduler.rb
|
82
|
+
- lib/rage/logger/logger.rb
|
83
|
+
- lib/rage/logger/text_formatter.rb
|
84
|
+
- lib/rage/params_parser.rb
|
85
|
+
- lib/rage/request.rb
|
80
86
|
- lib/rage/router/README.md
|
81
87
|
- lib/rage/router/backend.rb
|
82
88
|
- lib/rage/router/constrainer.rb
|
@@ -85,7 +91,9 @@ files:
|
|
85
91
|
- lib/rage/router/node.rb
|
86
92
|
- lib/rage/router/strategies/host.rb
|
87
93
|
- lib/rage/setup.rb
|
94
|
+
- lib/rage/sidekiq_session.rb
|
88
95
|
- lib/rage/templates/Gemfile
|
96
|
+
- lib/rage/templates/Rakefile
|
89
97
|
- lib/rage/templates/app-controllers-application_controller.rb
|
90
98
|
- lib/rage/templates/config-application.rb
|
91
99
|
- lib/rage/templates/config-environments-development.rb
|
@@ -96,6 +104,7 @@ files:
|
|
96
104
|
- lib/rage/templates/lib-.keep
|
97
105
|
- lib/rage/templates/log-.keep
|
98
106
|
- lib/rage/templates/public-.keep
|
107
|
+
- lib/rage/uploaded_file.rb
|
99
108
|
- lib/rage/version.rb
|
100
109
|
- rage.gemspec
|
101
110
|
homepage: https://github.com/rage-rb/rage
|