toxon
/
tox.rb
Archived
1
0
Fork 0

Move configuration to "config/"

This commit is contained in:
Braiden Vasco 2018-04-29 15:54:49 +00:00
parent 1bffcb9d6d
commit bf8be04104
No known key found for this signature in database
GPG Key ID: F1D3CA63437BDC6F
10 changed files with 100 additions and 95 deletions

1
.rspec
View File

@ -1 +0,0 @@
--require spec_helper

1
.rspec Symbolic link
View File

@ -0,0 +1 @@
config/rspec

View File

@ -1,61 +0,0 @@
AllCops:
TargetRubyVersion: 2.3
DisplayCopNames: true
Exclude:
- 'vendor/**/*'
Layout/AccessModifierIndentation:
EnforcedStyle: outdent
Layout/EmptyLinesAroundArguments:
Enabled: false
Layout/MultilineOperationIndentation:
Exclude:
- 'ext/**/*'
Lint/InheritException:
Enabled: false
Metrics/BlockLength:
Exclude:
- 'Rakefile'
- '**/*.gemspec'
- 'spec/**/*'
Naming/PredicateName:
Exclude:
- 'ext/*/extconf.rb'
Style/AndOr:
EnforcedStyle: conditionals
Style/Documentation:
Exclude:
- 'examples/**/*'
- 'spec/**/*'
Style/DoubleNegation:
Enabled: false
Style/GlobalVars:
Exclude:
- 'ext/**/*'
- 'examples/**/*'
- 'spec/network_helper.rb'
Style/RescueStandardError:
Enabled: false
Style/TrailingCommaInArguments:
EnforcedStyleForMultiline: comma
Style/TrailingCommaInArrayLiteral:
EnforcedStyleForMultiline: comma
Style/TrailingCommaInHashLiteral:
EnforcedStyleForMultiline: comma
Style/VariableInterpolation:
Enabled: false

1
.rubocop.yml Symbolic link
View File

@ -0,0 +1 @@
config/rubocop.yml

View File

@ -1,10 +0,0 @@
require 'coveralls'
SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter.new([
SimpleCov::Formatter::HTMLFormatter,
Coveralls::SimpleCov::Formatter,
])
SimpleCov.start do
add_filter '/spec/'
end

1
.simplecov Symbolic link
View File

@ -0,0 +1 @@
config/simplecov.rb

View File

@ -1,17 +0,0 @@
language: ruby
rvm:
- 2.3
- 2.4
- 2.5
- 2.6
before_install:
- sudo apt-get update
- sudo apt-get install -y yasm libconfig-dev
install: bundle install --jobs 3 --retry 3 --without examples
before_script:
- rake vendor:install
- rake compile

1
.travis.yml Symbolic link
View File

@ -0,0 +1 @@
config/travis.yml

View File

@ -1,6 +0,0 @@
--markup markdown
--protected
--private
-
README.md
LICENSE

1
.yardopts Symbolic link
View File

@ -0,0 +1 @@
config/yardopts

1
config/rspec Normal file
View File

@ -0,0 +1 @@
--require spec_helper

61
config/rubocop.yml Normal file
View File

@ -0,0 +1,61 @@
AllCops:
TargetRubyVersion: 2.3
DisplayCopNames: true
Exclude:
- 'vendor/**/*'
Layout/AccessModifierIndentation:
EnforcedStyle: outdent
Layout/EmptyLinesAroundArguments:
Enabled: false
Layout/MultilineOperationIndentation:
Exclude:
- 'ext/**/*'
Lint/InheritException:
Enabled: false
Metrics/BlockLength:
Exclude:
- 'Rakefile'
- '**/*.gemspec'
- 'spec/**/*'
Naming/PredicateName:
Exclude:
- 'ext/*/extconf.rb'
Style/AndOr:
EnforcedStyle: conditionals
Style/Documentation:
Exclude:
- 'examples/**/*'
- 'spec/**/*'
Style/DoubleNegation:
Enabled: false
Style/GlobalVars:
Exclude:
- 'ext/**/*'
- 'examples/**/*'
- 'spec/network_helper.rb'
Style/RescueStandardError:
Enabled: false
Style/TrailingCommaInArguments:
EnforcedStyleForMultiline: comma
Style/TrailingCommaInArrayLiteral:
EnforcedStyleForMultiline: comma
Style/TrailingCommaInHashLiteral:
EnforcedStyleForMultiline: comma
Style/VariableInterpolation:
Enabled: false

10
config/simplecov.rb Normal file
View File

@ -0,0 +1,10 @@
require 'coveralls'
SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter.new([
SimpleCov::Formatter::HTMLFormatter,
Coveralls::SimpleCov::Formatter,
])
SimpleCov.start do
add_filter '/spec/'
end

17
config/travis.yml Normal file
View File

@ -0,0 +1,17 @@
language: ruby
rvm:
- 2.3
- 2.4
- 2.5
- 2.6
before_install:
- sudo apt-get update
- sudo apt-get install -y yasm libconfig-dev
install: bundle install --jobs 3 --retry 3 --without examples
before_script:
- rake vendor:install
- rake compile

6
config/yardopts Normal file
View File

@ -0,0 +1,6 @@
--markup markdown
--protected
--private
-
README.md
LICENSE