macaw_framework 1.1.4 → 1.1.5

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: 3cc7bfb37c6506663a831ad24ad26b97236980ae448affe8010b4f9a7b35d454
4
- data.tar.gz: 43ab3f174a2bc222d71f7f13353546da14d124d2a67f9169775a5927d5cd815f
3
+ metadata.gz: ab53cbed8e1331592eda18a311b334d7313cbfc7ecd8f05546ac0bd01f2a04a7
4
+ data.tar.gz: 70eee0d6afb600b5f8f56faa036d4b41c8d0b72978064f7c567b8111b10cf2ab
5
5
  SHA512:
6
- metadata.gz: 688abf67476e4787922f5a9bded16a3f84c00a19035002219397d3577b2c254da2b18906a0e0db90c528d46c22f27c9cbd0e2621a7f473df7947856aa7e75b40
7
- data.tar.gz: 41f1000eeb8d5066741792e687c48515965a8a5776f1fa34662fb557cb43eae4a63481ad66e1ec2ae3e2b8575ca8e79be186dac6b8d667cc828489bc3a7c0a86
6
+ metadata.gz: b8ed6665dde1e3ae2d19168b73853fa08641a99d0f042ab973c3fd1443825a8adbbbd32c5dd326b485c588851e301dfc5fc8440ecb668307bf48a0111c3dc539
7
+ data.tar.gz: 25ed45703723c2feed415fc5bfbf052e81cb8f433aaf3203c96dec5daec50917034f7d3402426808dc4f930918230763b0d8152d9ae9ac0bc81ec3858fcf3966
data/CHANGELOG.md CHANGED
@@ -92,7 +92,7 @@
92
92
  - Improving documentation
93
93
  - Raising the number of default threads from 5 to 10
94
94
 
95
- ## [1.1.3] - 2023-06-05
95
+ ## [1.1.5] - 2023-07-04
96
96
 
97
- - Changing default number of threads to 200
98
- - Fixing error where sensitive inputs were not being hashed
97
+ - Improving number of virtual threads to 200.
98
+ - Fixing misleading description on ThreadServer.
@@ -7,8 +7,7 @@ require "openssl"
7
7
  # Class responsible for providing a default
8
8
  # webserver with Ruby Threads. This Server is subject
9
9
  # to the MRI Global Interpreter Lock, thus it will use
10
- # only a single physical Thread. For a true multi threaded
11
- # server, check the RactorServer.
10
+ # only a single physical Thread.
12
11
  class ThreadServer
13
12
  include ServerBase
14
13
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module MacawFramework
4
- VERSION = "1.1.4"
4
+ VERSION = "1.1.5"
5
5
  end
@@ -44,7 +44,7 @@ module MacawFramework
44
44
  @port ||= 8080
45
45
  @bind ||= "localhost"
46
46
  @config ||= nil
47
- @threads ||= 5
47
+ @threads ||= 200
48
48
  @endpoints_to_cache = []
49
49
  @prometheus ||= nil
50
50
  @prometheus_middleware ||= nil
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: macaw_framework
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.4
4
+ version: 1.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aria Diniz
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-06-16 00:00:00.000000000 Z
11
+ date: 2023-07-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: prometheus-client