From dc2781941966cc4486c47b1cda4c2aacea427c25 Mon Sep 17 00:00:00 2001 From: f Date: Sat, 22 Feb 2020 14:08:41 -0300 Subject: [PATCH] =?UTF-8?q?actualizaci=C3=B3n=20de=20seguridad?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .ruby-version | 2 +- Gemfile | 2 +- Gemfile.lock | 174 +++++++++++++++++++++++++------------------------- README.md | 28 +++----- 4 files changed, 99 insertions(+), 107 deletions(-) diff --git a/.ruby-version b/.ruby-version index 0cadbc1..57cf282 100644 --- a/.ruby-version +++ b/.ruby-version @@ -1 +1 @@ -2.5.5 +2.6.5 diff --git a/Gemfile b/Gemfile index 9c93267..25d84a5 100644 --- a/Gemfile +++ b/Gemfile @@ -3,7 +3,7 @@ source 'https://rubygems.org' git_source(:github) { |repo| "https://github.com/#{repo}.git" } -ruby '2.5.5' +ruby '2.6.5' # Bundle edge Rails instead: gem 'rails', github: 'rails/rails' gem 'rails', '~> 5.2.3' diff --git a/Gemfile.lock b/Gemfile.lock index 35aede1..8fda32d 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,79 +1,78 @@ GEM remote: https://rubygems.org/ specs: - actioncable (5.2.3) - actionpack (= 5.2.3) + actioncable (5.2.4.1) + actionpack (= 5.2.4.1) nio4r (~> 2.0) websocket-driver (>= 0.6.1) - actionmailer (5.2.3) - actionpack (= 5.2.3) - actionview (= 5.2.3) - activejob (= 5.2.3) + actionmailer (5.2.4.1) + actionpack (= 5.2.4.1) + actionview (= 5.2.4.1) + activejob (= 5.2.4.1) mail (~> 2.5, >= 2.5.4) rails-dom-testing (~> 2.0) - actionpack (5.2.3) - actionview (= 5.2.3) - activesupport (= 5.2.3) - rack (~> 2.0) + actionpack (5.2.4.1) + actionview (= 5.2.4.1) + activesupport (= 5.2.4.1) + rack (~> 2.0, >= 2.0.8) rack-test (>= 0.6.3) rails-dom-testing (~> 2.0) rails-html-sanitizer (~> 1.0, >= 1.0.2) - actionview (5.2.3) - activesupport (= 5.2.3) + actionview (5.2.4.1) + activesupport (= 5.2.4.1) builder (~> 3.1) erubi (~> 1.4) rails-dom-testing (~> 2.0) rails-html-sanitizer (~> 1.0, >= 1.0.3) - activejob (5.2.3) - activesupport (= 5.2.3) + activejob (5.2.4.1) + activesupport (= 5.2.4.1) globalid (>= 0.3.6) - activemodel (5.2.3) - activesupport (= 5.2.3) - activerecord (5.2.3) - activemodel (= 5.2.3) - activesupport (= 5.2.3) + activemodel (5.2.4.1) + activesupport (= 5.2.4.1) + activerecord (5.2.4.1) + activemodel (= 5.2.4.1) + activesupport (= 5.2.4.1) arel (>= 9.0) - activestorage (5.2.3) - actionpack (= 5.2.3) - activerecord (= 5.2.3) + activestorage (5.2.4.1) + actionpack (= 5.2.4.1) + activerecord (= 5.2.4.1) marcel (~> 0.3.1) - activesupport (5.2.3) + activesupport (5.2.4.1) concurrent-ruby (~> 1.0, >= 1.0.2) i18n (>= 0.7, < 2) minitest (~> 5.1) tzinfo (~> 1.1) arel (9.0.0) ast (2.4.0) - bcrypt (3.1.12) - bootsnap (1.4.2) + bcrypt (3.1.13) + bootsnap (1.4.5) msgpack (~> 1.0) - builder (3.2.3) + builder (3.2.4) coderay (1.1.2) - concurrent-ruby (1.1.5) - crass (1.0.4) - database_cleaner (1.7.0) - erubi (1.8.0) - factory_bot (5.0.2) + concurrent-ruby (1.1.6) + crass (1.0.6) + database_cleaner (1.8.3) + erubi (1.9.0) + factory_bot (5.1.1) activesupport (>= 4.2.0) - factory_bot_rails (5.0.1) - factory_bot (~> 5.0.0) + factory_bot_rails (5.1.1) + factory_bot (~> 5.1.0) railties (>= 4.2.0) - ffi (1.10.0) + ffi (1.12.2) globalid (0.4.2) activesupport (>= 4.2.0) hkdf (0.3.0) - i18n (1.6.0) + i18n (1.8.2) concurrent-ruby (~> 1.0) - jaro_winkler (1.5.3) - jbuilder (2.8.0) - activesupport (>= 4.2.0) - multi_json (>= 1.2) + jaro_winkler (1.5.4) + jbuilder (2.10.0) + activesupport (>= 5.0.0) jwt (2.2.1) listen (3.1.5) rb-fsevent (~> 0.9, >= 0.9.4) rb-inotify (~> 0.9, >= 0.9.7) ruby_dep (~> 1.2) - loofah (2.2.3) + loofah (2.4.0) crass (~> 1.0.2) nokogiri (>= 1.5.9) mail (2.7.1) @@ -81,96 +80,97 @@ GEM marcel (0.3.3) mimemagic (~> 0.3.2) method_source (0.9.2) - mimemagic (0.3.3) - mini_mime (1.0.1) + mimemagic (0.3.4) + mini_mime (1.0.2) mini_portile2 (2.4.0) - minitest (5.11.3) - msgpack (1.2.9) - multi_json (1.13.1) - nio4r (2.3.1) - nokogiri (1.10.4) + minitest (5.14.0) + msgpack (1.3.3) + nio4r (2.5.2) + nokogiri (1.10.8) mini_portile2 (~> 2.4.0) - parallel (1.17.0) - parser (2.6.3.0) + parallel (1.19.1) + parser (2.7.0.2) ast (~> 2.4.0) pry (0.12.2) coderay (~> 1.1.0) method_source (~> 0.9.0) - public_suffix (4.0.0) - puma (3.12.1) - rack (2.0.7) - rack-cors (1.0.3) + public_suffix (4.0.3) + puma (3.12.2) + rack (2.2.2) + rack-cors (1.1.1) + rack (>= 2.0.0) rack-test (1.1.0) rack (>= 1.0, < 3) - rails (5.2.3) - actioncable (= 5.2.3) - actionmailer (= 5.2.3) - actionpack (= 5.2.3) - actionview (= 5.2.3) - activejob (= 5.2.3) - activemodel (= 5.2.3) - activerecord (= 5.2.3) - activestorage (= 5.2.3) - activesupport (= 5.2.3) + rails (5.2.4.1) + actioncable (= 5.2.4.1) + actionmailer (= 5.2.4.1) + actionpack (= 5.2.4.1) + actionview (= 5.2.4.1) + activejob (= 5.2.4.1) + activemodel (= 5.2.4.1) + activerecord (= 5.2.4.1) + activestorage (= 5.2.4.1) + activesupport (= 5.2.4.1) bundler (>= 1.3.0) - railties (= 5.2.3) + railties (= 5.2.4.1) sprockets-rails (>= 2.0.0) rails-dom-testing (2.0.3) activesupport (>= 4.2.0) nokogiri (>= 1.6) - rails-html-sanitizer (1.0.4) - loofah (~> 2.2, >= 2.2.2) - railties (5.2.3) - actionpack (= 5.2.3) - activesupport (= 5.2.3) + rails-html-sanitizer (1.3.0) + loofah (~> 2.3) + railties (5.2.4.1) + actionpack (= 5.2.4.1) + activesupport (= 5.2.4.1) method_source rake (>= 0.8.7) thor (>= 0.19.0, < 2.0) rainbow (3.0.0) - rake (12.3.2) + rake (13.0.1) rb-fsevent (0.10.3) - rb-inotify (0.10.0) + rb-inotify (0.10.1) ffi (~> 1.0) - rubocop (0.72.0) + rexml (3.2.4) + rubocop (0.80.0) jaro_winkler (~> 1.5.1) parallel (~> 1.10) - parser (>= 2.6) + parser (>= 2.7.0.1) rainbow (>= 2.2.2, < 4.0) + rexml ruby-progressbar (~> 1.7) unicode-display_width (>= 1.4.0, < 1.7) - rubocop-rails (2.2.0) + rubocop-rails (2.4.2) rack (>= 1.1) rubocop (>= 0.72.0) ruby-progressbar (1.10.1) ruby_dep (1.5.0) - spring (2.0.2) - activesupport (>= 4.2) + spring (2.1.0) spring-watcher-listen (2.0.1) listen (>= 2.7, < 4.0) spring (>= 1.2, < 3.0) - sprockets (3.7.2) + sprockets (4.0.0) concurrent-ruby (~> 1.0) rack (> 1, < 3) sprockets-rails (3.2.1) actionpack (>= 4.0) activesupport (>= 4.0) sprockets (>= 3.0.0) - sqlite3 (1.4.0) - thor (0.20.3) + sqlite3 (1.4.2) + thor (1.0.1) thread_safe (0.3.6) - tzinfo (1.2.5) + tzinfo (1.2.6) thread_safe (~> 0.1) - unicode-display_width (1.6.0) + unicode-display_width (1.6.1) validate_url (1.0.8) activemodel (>= 3.0.0) public_suffix - webpush (0.3.8) + webpush (1.0.0) hkdf (~> 0.2) jwt (~> 2.0) - websocket-driver (0.7.0) + websocket-driver (0.7.1) websocket-extensions (>= 0.1.0) - websocket-extensions (0.1.3) - yard (0.9.20) + websocket-extensions (0.1.4) + yard (0.9.24) PLATFORMS ruby @@ -195,7 +195,7 @@ DEPENDENCIES yard RUBY VERSION - ruby 2.5.5p157 + ruby 2.6.5p114 BUNDLED WITH - 2.0.2 + 2.1.4 diff --git a/README.md b/README.md index 7db80e4..cffb89e 100644 --- a/README.md +++ b/README.md @@ -1,24 +1,16 @@ -# README +# Miniloom API -This README would normally document whatever steps are necessary to get the -application up and running. +* Instalar las herramientas de compilaciĆ³n de la distro + (`build-essential`, `base-devel`, etc.) -Things you may want to cover: +* Instalar Ruby 2.6.5 usando [rbenv](https://github.com/rbenv/rbenv) + y [rbenv-build](https://github.com/fauno/ruby-build) -* Ruby version +* Con Ruby 2.6.5 activado, instalar bundler con `gem install bundler` -* System dependencies +* Clonar este repositorio y dentro del directorio, correr `bundle` para + instalar las gemas. -* Configuration +* Crear o actualizar la base de datos con `bundle exec rake db:migrate` -* Database creation - -* Database initialization - -* How to run the test suite - -* Services (job queues, cache servers, search engines, etc.) - -* Deployment instructions - -* ... +* Correr el servidor de prueba con `bundle exec rails serve -b 0.0.0.0`