Skip to content

Commit ae1612c

Browse files
authored
Merge pull request #43 from arquitecturas-concurrentes/2025c1
Update to 2025c1
2 parents dced562 + e82b64f commit ae1612c

5 files changed

Lines changed: 20 additions & 11 deletions

File tree

.ruby-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.3.0
1+
3.3.7

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
FROM ghcr.io/arquitecturas-concurrentes/iasc-rvm-debian-slim:main
22

33
# preinstall some ruby versions
4-
ENV REQUIRED_RUBIES "3.3.0 jruby-9.3.1.0"
4+
ENV REQUIRED_RUBIES "3.3.7 jruby-9.3.1.0"
55
RUN /bin/bash -l -c 'for version in $REQUIRED_RUBIES; do echo "Now installing Ruby $version"; rvm install $version; rvm cleanup all; done'
66

7-
RUN /bin/bash -l -c 'rvm alias create mri ruby-3.3.0'
7+
RUN /bin/bash -l -c 'rvm alias create mri ruby-3.3.7'
88
RUN /bin/bash -l -c 'rvm alias create jruby jruby-9.3.1.0'
99

1010
# /app will have the puma practice

Gemfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
source 'https://rubygems.org'
22

3-
gem 'activesupport', '>= 5.2.4.3'
4-
gem 'sinatra', '~> 2.2.0'
3+
gem 'activesupport'
4+
gem 'sinatra'
55

6-
gem "puma", ">= 5.6.4"
6+
gem "puma"
77

88
group :development, :test do
99
gem 'pry'

Gemfile.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,11 @@ PLATFORMS
5252
x86_64-linux
5353

5454
DEPENDENCIES
55-
activesupport (>= 5.2.4.3)
55+
activesupport
5656
pry
5757
pry-remote
58-
puma (>= 5.6.4)
59-
sinatra (~> 2.2.0)
58+
puma
59+
sinatra
6060

6161
BUNDLED WITH
6262
2.5.3

README.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,8 @@ echo "source $HOME/.rvm/scripts/rvm" >> ~/.bash_profile
9696
Y luego, instalar Ruby y [bundler](http://bundler.io/):
9797

9898
```bash
99-
rvm install 3.3.0
100-
rvm use 3.3.0
99+
rvm install 3.3.7
100+
rvm use 3.3.7
101101
gem install bundler
102102
```
103103

@@ -210,6 +210,15 @@ El repo ya cuenta con dos scripts que utilizan `ab`: `ab_cpu_requests.bash` y `a
210210

211211
Siéntanse libres de modificar estos scripts en base a las pruebas que quieran realizar.
212212

213+
#### ¿Qué pasa si el endpoint de IO no encuentra el archivo?
214+
215+
Hay que crear un archivo, hay un script de bash que genera el archivo para esto.
216+
217+
El nombre del script es `generate_file.bash`
218+
219+
solo hace falta correrlo una vez para generar un archivo que usara ese endpoint.
220+
221+
213222
#### ¿Cómo controlar la cantidad de hilos y procesos
214223

215224
El comando `puma` acepta dos parámetros para controlarlos `-t` y `-w`:

0 commit comments

Comments
 (0)