-
Notifications
You must be signed in to change notification settings - Fork 196
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1da8ec3
commit a0e82af
Showing
139 changed files
with
2,190 additions
and
1,770 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,127 @@ | ||
Gemspec/RequiredRubyVersion: | ||
Include: | ||
- 'braintree.gemspec' | ||
|
||
AllCops: | ||
DisabledByDefault: true | ||
TargetRubyVersion: 2.5 | ||
SuggestExtensions: false | ||
|
||
Layout/BlockAlignment: | ||
EnforcedStyleAlignWith: either | ||
|
||
Layout/DotPosition: | ||
EnforcedStyle: leading | ||
|
||
Layout/SpaceBeforeBlockBraces: | ||
EnforcedStyle: space | ||
|
||
Layout/SpaceInsideBlockBraces: | ||
EnforcedStyle: space | ||
|
||
Layout/SpaceInsideHashLiteralBraces: | ||
EnforcedStyle: no_space | ||
EnforcedStyleForEmptyBraces: no_space | ||
|
||
Layout/SpaceInsideParens: | ||
EnforcedStyle: no_space | ||
|
||
Layout/IndentationStyle: | ||
EnforcedStyle: spaces | ||
Enabled: true | ||
|
||
Layout/TrailingWhitespace: | ||
Enabled: true | ||
|
||
Lint/AmbiguousOperator: | ||
Enabled: true | ||
|
||
Lint/AmbiguousRegexpLiteral: | ||
Enabled: true | ||
|
||
Lint/AssignmentInCondition: | ||
Enabled: true | ||
|
||
Lint/BigDecimalNew: | ||
Enabled: true | ||
|
||
Lint/BinaryOperatorWithIdenticalOperands: | ||
Enabled: true | ||
|
||
Lint/BooleanSymbol: | ||
Enabled: true | ||
|
||
Lint/CircularArgumentReference: | ||
Enabled: true | ||
|
||
Lint/ConstantDefinitionInBlock: | ||
Enabled: true | ||
|
||
Lint/DeprecatedClassMethods: | ||
Enabled: true | ||
|
||
Lint/DeprecatedOpenSSLConstant: | ||
Enabled: true | ||
|
||
Lint/DisjunctiveAssignmentInConstructor: | ||
Enabled: true | ||
|
||
Lint/DuplicateCaseCondition: | ||
Enabled: true | ||
|
||
Lint/DuplicateElsifCondition: | ||
Enabled: true | ||
|
||
Lint/DuplicateHashKey: | ||
Enabled: true | ||
|
||
Lint/DuplicateMethods: | ||
Enabled: true | ||
|
||
Lint/DuplicateRequire: | ||
Enabled: true | ||
|
||
Lint/DuplicateRescueException: | ||
Enabled: true | ||
|
||
Lint/EachWithObjectArgument: | ||
Enabled: true | ||
|
||
Lint/ElseLayout: | ||
Enabled: true | ||
|
||
Lint/EmptyConditionalBody: | ||
Enabled: true | ||
|
||
Lint/EmptyEnsure: | ||
Enabled: true | ||
|
||
Lint/EmptyExpression: | ||
Enabled: true | ||
|
||
Lint/EmptyFile: | ||
Enabled: true | ||
|
||
Lint/EmptyInterpolation: | ||
Enabled: true | ||
|
||
Lint/EmptyWhen: | ||
Enabled: true | ||
|
||
Lint/EnsureReturn: | ||
Enabled: true | ||
|
||
Lint/SuppressedException: | ||
Enabled: false | ||
|
||
Style/DefWithParentheses: | ||
Enabled: true | ||
|
||
Style/EmptyMethod: | ||
EnforcedStyle: expanded | ||
|
||
Style/StringLiterals: | ||
EnforcedStyle: double_quotes | ||
|
||
Style/TrailingCommaInArguments: | ||
EnforcedStyleForMultiline: comma |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
source "https://rubygems.org" | ||
|
||
gem 'builder', '3.2.4' | ||
gem 'libxml-ruby', '3.2.0' | ||
gem "builder", "3.2.4" | ||
gem "libxml-ruby", "3.2.0" | ||
|
||
group :development do | ||
gem 'pry', '0.13.1' | ||
gem 'rake', '13.0.1' | ||
gem 'rspec', '3.9.0' | ||
gem "pry", "0.13.1" | ||
gem "rake", "13.0.1" | ||
gem "rspec", "3.9.0" | ||
gem "rubocop", "~>1.12.0" | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -58,7 +58,7 @@ class << self | |
end | ||
|
||
def self._new(*args) # :nodoc: | ||
self.new *args | ||
self.new(*args) | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -45,7 +45,7 @@ class << self | |
end | ||
|
||
def self._new(*args) # :nodoc: | ||
self.new *args | ||
self.new(*args) | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,7 +13,7 @@ class << self | |
end | ||
|
||
def self._new(*args) # :nodoc: | ||
self.new *args | ||
self.new(*args) | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
require 'json' | ||
require "json" | ||
|
||
module Braintree | ||
module ClientToken | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.