Corregido error de archivos pendientes

Los archivos subidos en el commit anterior no debieron incorporarse.
Realmente ya estaban en el repositorio, pero con un punto como primer
carácter. Posiblemente se debió el error al trabajar con el repositorio
desde un equipo con Windows.
This commit is contained in:
Manuel Cillero 2020-01-22 15:52:36 +00:00
parent 1c7d915cbb
commit ef39a9ae5b
8 changed files with 0 additions and 186 deletions

View file

@ -1,5 +0,0 @@
# eslint ignore file
*.js
!additionals*.js
!noreferrer.js
!tooltips.js

View file

@ -1,4 +0,0 @@
# stylelint ignore file
bootstrap*
*.map
*.min.css

View file

@ -1,22 +0,0 @@
engines:
fixme:
enabled: false
eslint:
enabled: true
rubocop:
enabled: true
duplication:
enabled: true
config:
languages:
- "ruby"
ratings:
paths:
- "**.css"
- "**.erb"
- "**.js"
- "**.rb"
exclude_paths:
- "test/"
- "assets/javascripts/"
- "assets/stylesheets/jquery.*"

View file

@ -1,17 +0,0 @@
env:
browser: true
jquery: true
extends: 'eslint:recommended'
rules:
indent:
- error
- 2
linebreak-style:
- error
- unix
quotes:
- error
- single
semi:
- error
- always

View file

@ -1,49 +0,0 @@
Rails:
Enabled: true
AllCops:
TargetRubyVersion: 2.2
TargetRailsVersion: 5.2
Metrics/AbcSize:
Max: 65
Metrics/BlockLength:
Max: 60
Metrics/ClassLength:
Enabled: false
Metrics/CyclomaticComplexity:
Max: 20
Metrics/LineLength:
Max: 140
Metrics/MethodLength:
Max: 60
Metrics/ModuleLength:
Enabled: false
Metrics/PerceivedComplexity:
Max: 25
Rails/SkipsModelValidations:
Enabled: false
Rails/CreateTableWithTimestamps:
Enabled: false
# app/model/application_record.rb is missing in redmine, we can't use ApplicationRecord
Rails/ApplicationRecord:
Enabled: false
Style/AutoResourceCleanup:
Enabled: true
Style/Documentation:
Enabled: false
Style/ExpandPathArguments:
Enabled: false

View file

@ -1,39 +0,0 @@
linters:
LineLength:
max: 140
RuboCop:
ignored_cops:
- Layout/AlignArray
- Layout/AlignHash
- Layout/AlignParameters
- Layout/BlockEndNewline
- Layout/EmptyLineAfterGuardClause
- Layout/FirstParameterIndentation
- Layout/IndentArray
- Layout/IndentationConsistency
- Layout/IndentationWidth
- Layout/IndentHash
- Layout/MultilineArrayBraceLayout
- Layout/MultilineAssignmentLayout
- Layout/MultilineBlockLayout
- Layout/MultilineHashBraceLayout
- Layout/MultilineMethodCallBraceLayout
- Layout/MultilineMethodCallIndentation
- Layout/MultilineMethodDefinitionBraceLayout
- Layout/MultilineOperationIndentation
- Layout/TrailingBlankLines
- Layout/TrailingWhitespace
- Lint/BlockAlignment
- Lint/EndAlignment
- Lint/Void
- Metrics/BlockLength
- Metrics/BlockNesting
- Metrics/LineLength
- Naming/FileName
- Rails/OutputSafety
- Style/ConditionalAssignment
- Style/FrozenStringLiteralComment
- Style/IdenticalConditionalBranches
- Style/IfUnlessModifier
- Style/Next
- Style/WhileUntilModifier

View file

@ -1,49 +0,0 @@
language: ruby
rvm:
- 2.5.3
- 2.4.5
- 2.3.8
env:
- REDMINE_VER=4.0-stable DB=postgresql
- REDMINE_VER=3.4-stable DB=postgresql
- REDMINE_VER=4.0-stable DB=mysql
- REDMINE_VER=3.4-stable DB=mysql
sudo: true
addons:
postgresql: "9.6"
apt:
sources:
- mysql-5.7-trusty
packages:
- mysql-server
- mysql-client
before_install:
- export PLUGIN_NAME=additionals
- export REDMINE_GIT_REPO=git://github.com/redmine/redmine.git
- export REDMINE_PATH=$HOME/redmine
- export BUNDLE_GEMFILE=$REDMINE_PATH/Gemfile
- export RAILS_ENV=test
- git clone $REDMINE_GIT_REPO $REDMINE_PATH
- cd $REDMINE_PATH
- if [[ "$REDMINE_VER" != "master" ]]; then git checkout -b $REDMINE_VER origin/$REDMINE_VER; fi
- ln -s $TRAVIS_BUILD_DIR $REDMINE_PATH/plugins/$PLUGIN_NAME
- cp $TRAVIS_BUILD_DIR/test/support/additional_environment.rb $REDMINE_PATH/config/
- cp $TRAVIS_BUILD_DIR/test/support/database-$DB-travis.yml $REDMINE_PATH/config/database.yml
before_script:
- if [[ "$DB" == "mysql" ]]; then mysql -e "use mysql; update user set authentication_string=PASSWORD('travis_ci_test') where User='root'; update user set plugin='mysql_native_password';FLUSH PRIVILEGES;"; fi
- if [[ "$DB" == "mysql" ]]; then mysql_upgrade -ptravis_ci_test; fi
- if [[ "$DB" == "mysql" ]]; then service mysql restart; fi
- bundle exec rake db:create db:migrate redmine:plugins:migrate
script:
- export SKIP_COVERAGE=1
- if [[ "$REDMINE_VER" == "master" ]]; then bundle exec rake redmine:plugins:test:units NAME=$PLUGIN_NAME; fi
- if [[ "$REDMINE_VER" == "master" ]]; then bundle exec rake redmine:plugins:test:functionals NAME=$PLUGIN_NAME; fi
- if [[ "$REDMINE_VER" == "master" ]]; then bundle exec rake redmine:plugins:test:integration NAME=$PLUGIN_NAME; fi
- if [[ "$REDMINE_VER" != "master" ]]; then bundle exec rake redmine:plugins:test NAME=$PLUGIN_NAME RUBYOPT="-W0"; fi