Move configuration to "config/"
This commit is contained in:
parent
1bffcb9d6d
commit
bf8be04104
61
.rubocop.yml
61
.rubocop.yml
|
@ -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
|
|
@ -0,0 +1 @@
|
|||
config/rubocop.yml
|
10
.simplecov
10
.simplecov
|
@ -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
|
|
@ -0,0 +1 @@
|
|||
config/simplecov.rb
|
17
.travis.yml
17
.travis.yml
|
@ -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
|
|
@ -0,0 +1 @@
|
|||
config/travis.yml
|
|
@ -0,0 +1 @@
|
|||
--require spec_helper
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -0,0 +1,6 @@
|
|||
--markup markdown
|
||||
--protected
|
||||
--private
|
||||
-
|
||||
README.md
|
||||
LICENSE
|
Reference in New Issue