Compare commits
6 commits
8d5c35567c
...
b1184b876c
Author | SHA1 | Date | |
---|---|---|---|
|
b1184b876c | ||
|
74dcb2cdec | ||
|
35262bd129 | ||
|
ca130d58de | ||
|
25ad5c09c6 | ||
|
e231ca912f |
48 changed files with 133 additions and 221 deletions
6
.gitattributes
vendored
6
.gitattributes
vendored
|
@ -1,10 +1,10 @@
|
|||
# See https://git-scm.com/docs/gitattributes for more about git attribute files.
|
||||
|
||||
# Mark the database schema as having been generated.
|
||||
db/schema.rb linguist-generated
|
||||
|
||||
# Mark the yarn lockfile as having been generated.
|
||||
yarn.lock linguist-generated
|
||||
|
||||
# Mark any vendored files as having been vendored.
|
||||
vendor/* linguist-vendored
|
||||
public/** filter=lfs diff=lfs merge=lfs -text
|
||||
public/assets/** filter=lfs diff=lfs merge=lfs -text
|
||||
public/packs/** filter=lfs diff=lfs merge=lfs -text
|
||||
|
|
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -19,13 +19,11 @@
|
|||
!/tmp/pids/.keep
|
||||
|
||||
|
||||
/public/assets
|
||||
.byebug_history
|
||||
|
||||
# Ignore master key for decrypting credentials and more.
|
||||
/config/master.key
|
||||
|
||||
/public/packs
|
||||
/public/packs-test
|
||||
/node_modules
|
||||
/yarn-error.log
|
||||
|
|
8
Gemfile
8
Gemfile
|
@ -11,8 +11,6 @@ gem 'rails', '~> 6.1.4'
|
|||
gem 'pg', '~> 1.1'
|
||||
# Use Puma as the app server
|
||||
gem 'puma', '~> 5.0'
|
||||
# Use SCSS for stylesheets
|
||||
gem 'sass-rails', '>= 6'
|
||||
# Transpile app-like JavaScript. Read more: https://github.com/rails/webpacker
|
||||
gem 'webpacker', '~> 5.0'
|
||||
# Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks
|
||||
|
@ -29,10 +27,14 @@ gem 'ssh_data'
|
|||
|
||||
gem 'anomaly_detection'
|
||||
|
||||
gem 'bootstrap'
|
||||
gem 'rails-i18n'
|
||||
gem 'hamlit'
|
||||
|
||||
if ENV['RAILS_GROUPS']&.split(',')&.include? 'assets'
|
||||
puts 'Loading assets'
|
||||
gem 'sass-rails', '>= 6'
|
||||
end
|
||||
|
||||
group :development, :test do
|
||||
gem 'pry'
|
||||
end
|
||||
|
|
|
@ -63,8 +63,6 @@ GEM
|
|||
anomaly_detection (0.1.4-x86_64-linux-musl)
|
||||
rice (>= 4.0.2)
|
||||
ast (2.4.2)
|
||||
autoprefixer-rails (10.4.2.0)
|
||||
execjs (~> 2)
|
||||
bcrypt (3.1.17-x86_64-linux-musl)
|
||||
bindex (0.8.1-x86_64-linux-musl)
|
||||
blazer (2.6.3)
|
||||
|
@ -74,10 +72,6 @@ GEM
|
|||
safely_block (>= 0.1.1)
|
||||
bootsnap (1.11.1-x86_64-linux-musl)
|
||||
msgpack (~> 1.2)
|
||||
bootstrap (5.1.3)
|
||||
autoprefixer-rails (>= 9.1.0)
|
||||
popper_js (>= 2.9.3, < 3)
|
||||
sassc-rails (>= 2.0.0)
|
||||
brakeman (5.2.3)
|
||||
builder (3.2.4)
|
||||
chartkick (4.1.3)
|
||||
|
@ -103,7 +97,6 @@ GEM
|
|||
exception_notification (4.5.0)
|
||||
actionmailer (>= 5.2, < 8)
|
||||
activesupport (>= 5.2, < 8)
|
||||
execjs (2.8.1)
|
||||
factory_bot (6.2.1)
|
||||
activesupport (>= 5.0.0)
|
||||
ffi (1.15.5-x86_64-linux-musl)
|
||||
|
@ -146,7 +139,6 @@ GEM
|
|||
parser (3.1.2.0)
|
||||
ast (~> 2.4.1)
|
||||
pg (1.3.5-x86_64-linux-musl)
|
||||
popper_js (2.9.3)
|
||||
pry (0.14.1)
|
||||
coderay (~> 1.1)
|
||||
method_source (~> 1.0)
|
||||
|
@ -270,7 +262,6 @@ DEPENDENCIES
|
|||
anomaly_detection
|
||||
blazer
|
||||
bootsnap (>= 1.4.4)
|
||||
bootstrap
|
||||
brakeman
|
||||
database_cleaner
|
||||
devise
|
||||
|
|
2
Makefile
2
Makefile
|
@ -84,7 +84,7 @@ save: ## Subir la imagen Docker al nodo delegado
|
|||
# los assets que luego se suben al nodo delegado.
|
||||
assets := package.json yarn.lock $(shell find app/assets/ app/javascript/ -type f)
|
||||
public/packs/manifest.json.br: $(assets)
|
||||
$(hain) 'RAILS_ENV=production NODE_ENV=production bundle exec rake assets:precompile assets:clean'
|
||||
$(hain) 'RAILS_GROUPS=assets RAILS_ENV=production NODE_ENV=production bundle exec rake assets:precompile assets:clean'
|
||||
|
||||
# Correr un test en particular por ejemplo
|
||||
# `make test/models/usuarie_test.rb`
|
||||
|
|
|
@ -1 +1 @@
|
|||
@import "bootstrap";
|
||||
@import "bootstrap/scss/bootstrap";
|
||||
|
|
|
@ -3,8 +3,10 @@ Rails.application.routes.draw do
|
|||
|
||||
root 'application#index'
|
||||
|
||||
mount Blazer::Engine, at: 'blazer'
|
||||
mount Blazer::Engine, at: '/blazer'
|
||||
|
||||
resources :readings, only: %i[create]
|
||||
|
||||
resources :sites, only: %i[show create update]
|
||||
resources :users, only: %i[index create destroy]
|
||||
end
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
"dependencies": {
|
||||
"@rails/ujs": "^6.0.0",
|
||||
"@rails/webpacker": "5.4.0",
|
||||
"bootstrap": "~5.1",
|
||||
"turbolinks": "^5.2.0",
|
||||
"webpack": "^4.46.0",
|
||||
"webpack-cli": "^3.3.12"
|
||||
|
|
BIN
public/404.html
(Stored with Git LFS)
BIN
public/404.html
(Stored with Git LFS)
Binary file not shown.
BIN
public/422.html
(Stored with Git LFS)
BIN
public/422.html
(Stored with Git LFS)
Binary file not shown.
BIN
public/500.html
(Stored with Git LFS)
BIN
public/500.html
(Stored with Git LFS)
Binary file not shown.
BIN
public/assets/.sprockets-manifest-125fccf10df96a5f6040285c325a72f7.json
(Stored with Git LFS)
Normal file
BIN
public/assets/.sprockets-manifest-125fccf10df96a5f6040285c325a72f7.json
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
public/assets/application-04024382391bb910584145d8113cf35ef376b55d125bb4516cebeb14ce788597.css.gz
(Stored with Git LFS)
Normal file
BIN
public/assets/application-04024382391bb910584145d8113cf35ef376b55d125bb4516cebeb14ce788597.css.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
public/assets/application-f51a468cbe30bc8eef2ba2c3ece6cfcd69bb315882c84b8d1f4e416b7fb8c558.css
(Stored with Git LFS)
Normal file
BIN
public/assets/application-f51a468cbe30bc8eef2ba2c3ece6cfcd69bb315882c84b8d1f4e416b7fb8c558.css
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
public/assets/application-f51a468cbe30bc8eef2ba2c3ece6cfcd69bb315882c84b8d1f4e416b7fb8c558.css.gz
(Stored with Git LFS)
Normal file
BIN
public/assets/application-f51a468cbe30bc8eef2ba2c3ece6cfcd69bb315882c84b8d1f4e416b7fb8c558.css.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
public/assets/blazer/application-0b424745bbd47f0664b184e9061f96d38b19db40c5e2232da4d909d708743be0.js
(Stored with Git LFS)
Normal file
BIN
public/assets/blazer/application-0b424745bbd47f0664b184e9061f96d38b19db40c5e2232da4d909d708743be0.js
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
public/assets/blazer/application-0b424745bbd47f0664b184e9061f96d38b19db40c5e2232da4d909d708743be0.js.gz
(Stored with Git LFS)
Normal file
BIN
public/assets/blazer/application-0b424745bbd47f0664b184e9061f96d38b19db40c5e2232da4d909d708743be0.js.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
public/assets/blazer/application-2a85e5b7534d25e1225cd8ea2ae39e631c3ba9edfca0951b1ac4b8143ba1871d.css
(Stored with Git LFS)
Normal file
BIN
public/assets/blazer/application-2a85e5b7534d25e1225cd8ea2ae39e631c3ba9edfca0951b1ac4b8143ba1871d.css
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
public/assets/blazer/application-2a85e5b7534d25e1225cd8ea2ae39e631c3ba9edfca0951b1ac4b8143ba1871d.css.gz
(Stored with Git LFS)
Normal file
BIN
public/assets/blazer/application-2a85e5b7534d25e1225cd8ea2ae39e631c3ba9edfca0951b1ac4b8143ba1871d.css.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
public/assets/blazer/application-4497f3b4d753bf9ea8e749f7012520886d1a52f73328cc70896602353dc129d7.js
(Stored with Git LFS)
Normal file
BIN
public/assets/blazer/application-4497f3b4d753bf9ea8e749f7012520886d1a52f73328cc70896602353dc129d7.js
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
public/assets/blazer/application-4497f3b4d753bf9ea8e749f7012520886d1a52f73328cc70896602353dc129d7.js.gz
(Stored with Git LFS)
Normal file
BIN
public/assets/blazer/application-4497f3b4d753bf9ea8e749f7012520886d1a52f73328cc70896602353dc129d7.js.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
public/assets/blazer/application-e31c5f7a6253eb32f69e3a6a768a66d68924c6db624374311bee441fb732206a.css
(Stored with Git LFS)
Normal file
BIN
public/assets/blazer/application-e31c5f7a6253eb32f69e3a6a768a66d68924c6db624374311bee441fb732206a.css
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
public/assets/blazer/application-e31c5f7a6253eb32f69e3a6a768a66d68924c6db624374311bee441fb732206a.css.gz
(Stored with Git LFS)
Normal file
BIN
public/assets/blazer/application-e31c5f7a6253eb32f69e3a6a768a66d68924c6db624374311bee441fb732206a.css.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
public/assets/blazer/favicon-ccead91b8853543a3542af03c7dde9963359b1c0b9b725220a7f193e1324ecd8.png
(Stored with Git LFS)
Normal file
BIN
public/assets/blazer/favicon-ccead91b8853543a3542af03c7dde9963359b1c0b9b725220a7f193e1324ecd8.png
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
public/assets/blazer/glyphicons-halflings-regular-0703369a358a012c0011843ae337a8a20270c336948a8668df5cb89a8827299b.woff
(Stored with Git LFS)
Normal file
BIN
public/assets/blazer/glyphicons-halflings-regular-0703369a358a012c0011843ae337a8a20270c336948a8668df5cb89a8827299b.woff
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
public/assets/blazer/glyphicons-halflings-regular-0805fb1fe24235f70a639f67514990e4bfb6d2cfb00ca563ad4b553c240ddc33.eot
(Stored with Git LFS)
Normal file
BIN
public/assets/blazer/glyphicons-halflings-regular-0805fb1fe24235f70a639f67514990e4bfb6d2cfb00ca563ad4b553c240ddc33.eot
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
public/assets/blazer/glyphicons-halflings-regular-0805fb1fe24235f70a639f67514990e4bfb6d2cfb00ca563ad4b553c240ddc33.eot.gz
(Stored with Git LFS)
Normal file
BIN
public/assets/blazer/glyphicons-halflings-regular-0805fb1fe24235f70a639f67514990e4bfb6d2cfb00ca563ad4b553c240ddc33.eot.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
public/assets/blazer/glyphicons-halflings-regular-22d0c88a49d7d0ebe45627143a601061a32a46a9b9afd2dc7f457436f5f15f6e.svg
(Stored with Git LFS)
Normal file
BIN
public/assets/blazer/glyphicons-halflings-regular-22d0c88a49d7d0ebe45627143a601061a32a46a9b9afd2dc7f457436f5f15f6e.svg
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
public/assets/blazer/glyphicons-halflings-regular-22d0c88a49d7d0ebe45627143a601061a32a46a9b9afd2dc7f457436f5f15f6e.svg.gz
(Stored with Git LFS)
Normal file
BIN
public/assets/blazer/glyphicons-halflings-regular-22d0c88a49d7d0ebe45627143a601061a32a46a9b9afd2dc7f457436f5f15f6e.svg.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
public/assets/blazer/glyphicons-halflings-regular-403acfcf0cbaebd1c28b404eec442cea53642644b3a73f91c5a4ab46859af772.woff2
(Stored with Git LFS)
Normal file
BIN
public/assets/blazer/glyphicons-halflings-regular-403acfcf0cbaebd1c28b404eec442cea53642644b3a73f91c5a4ab46859af772.woff2
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
public/assets/blazer/glyphicons-halflings-regular-7c9caa5f4e16169b0129fdf93c84e85ad14d6c107eb1b0ad60b542daf01ee1f0.ttf
(Stored with Git LFS)
Normal file
BIN
public/assets/blazer/glyphicons-halflings-regular-7c9caa5f4e16169b0129fdf93c84e85ad14d6c107eb1b0ad60b542daf01ee1f0.ttf
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
public/assets/blazer/glyphicons-halflings-regular-7c9caa5f4e16169b0129fdf93c84e85ad14d6c107eb1b0ad60b542daf01ee1f0.ttf.gz
(Stored with Git LFS)
Normal file
BIN
public/assets/blazer/glyphicons-halflings-regular-7c9caa5f4e16169b0129fdf93c84e85ad14d6c107eb1b0ad60b542daf01ee1f0.ttf.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
public/assets/main-f51a468cbe30bc8eef2ba2c3ece6cfcd69bb315882c84b8d1f4e416b7fb8c558.css
(Stored with Git LFS)
Normal file
BIN
public/assets/main-f51a468cbe30bc8eef2ba2c3ece6cfcd69bb315882c84b8d1f4e416b7fb8c558.css
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
public/assets/main-f51a468cbe30bc8eef2ba2c3ece6cfcd69bb315882c84b8d1f4e416b7fb8c558.css.gz
(Stored with Git LFS)
Normal file
BIN
public/assets/main-f51a468cbe30bc8eef2ba2c3ece6cfcd69bb315882c84b8d1f4e416b7fb8c558.css.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
public/assets/manifest-b4bf6e57a53c2bdb55b8998cc94cd00883793c1c37c5e5aea3ef6749b4f6d92b.js
(Stored with Git LFS)
Normal file
BIN
public/assets/manifest-b4bf6e57a53c2bdb55b8998cc94cd00883793c1c37c5e5aea3ef6749b4f6d92b.js
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
public/assets/manifest-b4bf6e57a53c2bdb55b8998cc94cd00883793c1c37c5e5aea3ef6749b4f6d92b.js.gz
(Stored with Git LFS)
Normal file
BIN
public/assets/manifest-b4bf6e57a53c2bdb55b8998cc94cd00883793c1c37c5e5aea3ef6749b4f6d92b.js.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
public/packs/js/application-d5a5aca37e5fae8b2fe3.js
(Stored with Git LFS)
Normal file
BIN
public/packs/js/application-d5a5aca37e5fae8b2fe3.js
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
public/packs/js/application-d5a5aca37e5fae8b2fe3.js.br
(Stored with Git LFS)
Normal file
BIN
public/packs/js/application-d5a5aca37e5fae8b2fe3.js.br
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
public/packs/js/application-d5a5aca37e5fae8b2fe3.js.gz
(Stored with Git LFS)
Normal file
BIN
public/packs/js/application-d5a5aca37e5fae8b2fe3.js.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
public/packs/js/application-d5a5aca37e5fae8b2fe3.js.map
(Stored with Git LFS)
Normal file
BIN
public/packs/js/application-d5a5aca37e5fae8b2fe3.js.map
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
public/packs/js/application-d5a5aca37e5fae8b2fe3.js.map.br
(Stored with Git LFS)
Normal file
BIN
public/packs/js/application-d5a5aca37e5fae8b2fe3.js.map.br
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
public/packs/js/application-d5a5aca37e5fae8b2fe3.js.map.gz
(Stored with Git LFS)
Normal file
BIN
public/packs/js/application-d5a5aca37e5fae8b2fe3.js.map.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
public/packs/manifest.json
(Stored with Git LFS)
Normal file
BIN
public/packs/manifest.json
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
public/packs/manifest.json.br
(Stored with Git LFS)
Normal file
BIN
public/packs/manifest.json.br
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
public/packs/manifest.json.gz
(Stored with Git LFS)
Normal file
BIN
public/packs/manifest.json.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
public/robots.txt
(Stored with Git LFS)
BIN
public/robots.txt
(Stored with Git LFS)
Binary file not shown.
5
yarn.lock
generated
5
yarn.lock
generated
|
@ -1479,6 +1479,11 @@ boolbase@^1.0.0, boolbase@~1.0.0:
|
|||
resolved "https://registry.yarnpkg.com/boolbase/-/boolbase-1.0.0.tgz#68dff5fbe60c51eb37725ea9e3ed310dcc1e776e"
|
||||
integrity sha1-aN/1++YMUes3cl6p4+0xDcwed24=
|
||||
|
||||
bootstrap@~5.1:
|
||||
version "5.1.3"
|
||||
resolved "https://registry.yarnpkg.com/bootstrap/-/bootstrap-5.1.3.tgz#ba081b0c130f810fa70900acbc1c6d3c28fa8f34"
|
||||
integrity sha512-fcQztozJ8jToQWXxVuEyXWW+dSo8AiXWKwiSSrKWsRB/Qt+Ewwza+JWoLKiTuQLaEPhdNAJ7+Dosc9DOIqNy7Q==
|
||||
|
||||
brace-expansion@^1.1.7:
|
||||
version "1.1.11"
|
||||
resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.11.tgz#3c7fcbf529d87226f3d2f52b966ff5271eb441dd"
|
||||
|
|
Loading…
Reference in a new issue