Skip to content

Commit

Permalink
Merge branch 'master' into http_basic_auth
Browse files Browse the repository at this point in the history
  • Loading branch information
jejacks0n authored Apr 13, 2019
2 parents 17e3279 + e3a7bbc commit 685def1
Show file tree
Hide file tree
Showing 40 changed files with 454 additions and 846 deletions.
18 changes: 0 additions & 18 deletions .code-style-ruby.yml

This file was deleted.

2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,3 @@ spec/dummy/tmp/
coverage
spec/dummy/.sass-cache
Gemfile.lock
.ruby-version
.ruby-gemset
3 changes: 0 additions & 3 deletions .hound.yml

This file was deleted.

285 changes: 11 additions & 274 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,279 +1,16 @@
AllCops:
Exclude:
- spec/dummy/bin/**/*
- spec/dummy/config/**/*
- spec/dummy/Rakefile
- tmp/**/*

AccessorMethodName:
Enabled: false

ActionFilter:
Enabled: false

Alias:
Enabled: false

ArrayJoin:
Enabled: false

AsciiComments:
Enabled: false

AsciiIdentifiers:
Enabled: false

Attr:
Enabled: false

BlockNesting:
Enabled: false

CaseEquality:
Enabled: false

CharacterLiteral:
Enabled: false

ClassAndModuleChildren:
Enabled: false

ClassLength:
Enabled: false

ClassVars:
Enabled: false

CollectionMethods:
Enabled: true
PreferredMethods:
find: detect
reduce: inject
collect: map
find_all: select

ColonMethodCall:
Enabled: false

CommentAnnotation:
Enabled: false

CyclomaticComplexity:
Enabled: false

Delegate:
Enabled: false

DeprecatedHashMethods:
Enabled: false

Documentation:
Enabled: false

DotPosition:
EnforcedStyle: trailing

DoubleNegation:
Enabled: false

EachWithObject:
Enabled: false

EmptyLiteral:
Enabled: false

Encoding:
Enabled: false

EvenOdd:
Enabled: false

ExtraSpacing:
Enabled: true

FileName:
Enabled: false

FlipFlop:
Enabled: false

FormatString:
Enabled: false

GlobalVars:
Enabled: false

GuardClause:
Enabled: false

IfUnlessModifier:
Enabled: false

IfWithSemicolon:
Enabled: false

InlineComment:
Enabled: false

Lambda:
Enabled: false

LambdaCall:
Enabled: false

LineEndConcatenation:
Enabled: false

LineLength:
Max: 80

MethodLength:
Enabled: false

ModuleFunction:
Enabled: false

NegatedIf:
Enabled: false

NegatedWhile:
Enabled: false
inherit_gem:
rubocop-rails_config:
- config/rails.yml

Next:
Enabled: false

NilComparison:
Enabled: false

Not:
Enabled: false

NumericLiterals:
Enabled: false

OneLineConditional:
Enabled: false

OpMethod:
Enabled: false

ParameterLists:
Enabled: false

PercentLiteralDelimiters:
Enabled: false

PerlBackrefs:
Enabled: false

PredicateName:
NamePrefixBlacklist:
- is_

Proc:
Enabled: false

RaiseArgs:
Enabled: false

RegexpLiteral:
Enabled: false

SelfAssignment:
Enabled: false

SingleLineBlockParams:
Enabled: false

SingleLineMethods:
Enabled: false

SignalException:
Enabled: false
inherit_mode:
merge:
- Exclude

SpecialGlobalVars:
Style/FrozenStringLiteralComment:
Enabled: false

StringLiterals:
EnforcedStyle: double_quotes

VariableInterpolation:
Enabled: false

TrailingComma:
Enabled: false

TrivialAccessors:
Enabled: false

VariableInterpolation:
Enabled: false

WhenThen:
Enabled: false
Layout/DefEndAlignment:
EnforcedStyleAlignWith: def

WhileUntilModifier:
Enabled: false

WordArray:
Enabled: false

# Lint

AmbiguousOperator:
Enabled: false

AmbiguousRegexpLiteral:
Enabled: false

AssignmentInCondition:
Enabled: false

ConditionPosition:
Enabled: false

DeprecatedClassMethods:
Enabled: false

ElseLayout:
Enabled: false

HandleExceptions:
Enabled: false

InvalidCharacterLiteral:
Enabled: false

LiteralInCondition:
Enabled: false

LiteralInInterpolation:
Enabled: false

Loop:
Enabled: false

ParenthesesAsGroupedExpression:
Enabled: false

RequireParentheses:
Enabled: false

UnderscorePrefixedVariableName:
Enabled: false

Void:
Enabled: false


LineLength:
Description: Limit lines to 120 characters, which is what github can display.
Max: 120

ExtraSpacing:
Description: Sometimes it's ok to line up some things for readability -- though it's bad for diffs.
Enabled: false

UnneededPercentX:
Description: It's easier to search for %x than it is to search for `.
Enabled: false
AllCops:
TargetRubyVersion: 2.6.2
1 change: 1 addition & 0 deletions .ruby-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2.6.2
14 changes: 9 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,18 @@
language: ruby
rvm:
- 2.3.0
- 2.4.0
- 2.5.0
- 2.6.0
addons:
chrome: stable
before_script:
- sh -e /etc/init.d/xvfb start
env:
global:
- TRAVIS=true
- DISPLAY=:99.0
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
- chmod +x ./cc-test-reporter
- ./cc-test-reporter before-build
before_install:
- gem install bundler
script:
- bundle exec rspec
after_script:
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
27 changes: 13 additions & 14 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,20 +1,19 @@
source "https://rubygems.org"
git_source(:github) { |repo| "https://github.com/#{repo}.git" }

gemspec

group :development, :test do
# dummy app dependencies
gem "rails"
gem "rails"
gem "puma"

# test dependencies
gem "rspec-rails"
gem "capybara"
gem "puma"
gem "aruba"
gem "selenium-webdriver"
gem "chromedriver-helper"
# test dependencies
gem "rspec-rails"
gem "capybara"
gem "aruba", "~> 0.14.9"
gem "selenium-webdriver"
gem "chromedriver-helper"
gem "simplecov"

# io services
gem "rubocop", require: false
gem "codeclimate-test-reporter", require: false
end
# services
gem "rubocop", require: false
gem "rubocop-rails_config"
4 changes: 2 additions & 2 deletions MIT.LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Copyright 2013 Jeremy Jackson / ModeSet
Copyright 2019 Jeremy Jackson / ModeSet

https://github.com/modeset/teaspoon
https://github.com/jejacks0n/apitome

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
Expand Down
Loading

0 comments on commit 685def1

Please sign in to comment.