Skip to content

Commit

Permalink
initial release
Browse files Browse the repository at this point in the history
  • Loading branch information
talkylabs-dx committed Sep 22, 2023
0 parents commit 2e3b820
Show file tree
Hide file tree
Showing 72 changed files with 6,312 additions and 0 deletions.
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Gemfile.lock
18 changes: 18 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
*~
!.rubocop_todo.yml
!.rubocop.yml
!.travis.yml
!.dockerignore
pkg/*
doc/*
Gemfile.lock
*.gem
bin
docs/_build
*.bak
*.iml
.bundle
.rakeTasks
.yardoc

coverage
58 changes: 58 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
inherit_from: .rubocop_todo.yml

AllCops:
TargetRubyVersion: 2.5
Exclude:
- 'lib/reach-ruby/rest/**/*'
- 'spec/integration/**/*'
- 'lib/reach-ruby/version.rb'
- 'lib/reach-ruby/util/configuration.rb'
- 'vendor/**/*'

Layout/LineLength:
Max: 120
Exclude:
- 'spec/**/*'

Style/BlockDelimiters:
Exclude:
- 'spec/**/*'

Lint/AmbiguousBlockAssociation:
Exclude:
- 'spec/**/*'

Metrics/BlockLength:
Exclude:
- 'spec/**/*'
- reach-ruby.gemspec

Layout/HeredocIndentation:
Enabled: false

Metrics/ClassLength:
Max: 175

Metrics/MethodLength:
Max: 25

Metrics/ParameterLists:
Max: 20

Metrics/AbcSize:
Enabled: false

Metrics/PerceivedComplexity:
Enabled: false

Metrics/CyclomaticComplexity:
Enabled: false

Style/HashEachMethods:
Enabled: true

Style/HashTransformKeys:
Enabled: false

Style/HashTransformValues:
Enabled: false
193 changes: 193 additions & 0 deletions .rubocop_todo.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,193 @@
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2022-01-13 21:45:15 UTC using RuboCop version 1.24.1.
# The point is for the user to remove these configuration records
# one by one as the offenses are removed from the code base.
# Note that changes in the inspected code, or installation of new
# versions of RuboCop, may require this file to be generated again.

# Offense count: 2
# Cop supports --auto-correct.
# Configuration parameters: TreatCommentsAsGroupSeparators, ConsiderPunctuation, Include.
# Include: **/*.gemspec
Gemspec/OrderedDependencies:
Exclude:
- 'reach-ruby.gemspec'

# Offense count: 1
# Configuration parameters: Include.
# Include: **/*.gemspec
Gemspec/RequiredRubyVersion:
Exclude:
- 'reach-ruby.gemspec'

# Offense count: 2
# Cop supports --auto-correct.
Layout/EmptyLineAfterGuardClause:
Exclude:
- 'lib/rack/reach_webhook_authentication.rb'
- 'lib/reach-ruby/framework/serialize.rb'

# Offense count: 3
# Configuration parameters: AllowedMethods.
# AllowedMethods: enums
Lint/ConstantDefinitionInBlock:
Exclude:
- 'spec/rest/client_spec.rb'

# Offense count: 1
Lint/MissingSuper:
Exclude:
- 'lib/reach-ruby/framework/rest/error.rb'

# Offense count: 1
Lint/SelfAssignment:
Exclude:
- 'lib/reach-ruby/framework/rest/version.rb'

# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: IgnoreEmptyBlocks, AllowUnusedKeywordArguments.
Lint/UnusedBlockArgument:
Exclude:
- 'spec/rack/reach_webhook_authentication_spec.rb'

# Offense count: 4
# Cop supports --auto-correct.
# Configuration parameters: AllowUnusedKeywordArguments, IgnoreEmptyMethods, IgnoreNotImplementedMethods.
Lint/UnusedMethodArgument:
Exclude:
- 'lib/reach-ruby.rb'
- 'lib/reach-ruby/framework/rest/page.rb'
- 'spec/holodeck/holodeck.rb'

# Offense count: 14
Lint/UselessAssignment:
Exclude:
- 'spec/rack/reach_webhook_authentication_spec.rb'

# Offense count: 6
# Configuration parameters: Max, CountKeywordArgs.
Metrics/ParameterLists:
MaxOptionalParameters: 6

# Offense count: 1
# Configuration parameters: ExpectMatchingDefinition, CheckDefinitionPathHierarchy, CheckDefinitionPathHierarchyRoots, Regex, IgnoreExecutableScripts, AllowedAcronyms.
# CheckDefinitionPathHierarchyRoots: lib, spec, test, src
# AllowedAcronyms: CLI, DSL, ACL, API, ASCII, CPU, CSS, DNS, EOF, GUID, HTML, HTTP, HTTPS, ID, IP, JSON, LHS, QPS, RAM, RHS, RPC, SLA, SMTP, SQL, SSH, TCP, TLS, TTL, UDP, UI, UID, UUID, URI, URL, UTF8, VM, XML, XMPP, XSRF, XSS
Naming/FileName:
Exclude:
- 'lib/reach-ruby.rb'

# Offense count: 2
# Configuration parameters: MinNameLength, AllowNamesEndingInNumbers, AllowedNames, ForbiddenNames.
# AllowedNames: at, by, db, id, in, io, ip, of, on, os, pp, to
Naming/MethodParameterName:
Exclude:
- 'lib/reach-ruby/security/request_validator.rb'


# Offense count: 3
# Cop supports --auto-correct.
Style/CaseLikeIf:
Exclude:
- 'lib/reach-ruby/framework/serialize.rb'

# Offense count: 40
# Configuration parameters: AllowedConstants.
Style/Documentation:
Enabled: false

# Offense count: 1
# Cop supports --auto-correct.
Style/Encoding:
Exclude:
- 'reach-ruby.gemspec'

# Offense count: 2
# Cop supports --auto-correct.
Style/ExpandPathArguments:
Exclude:
- 'spec/spec_helper.rb'
- 'reach-ruby.gemspec'

# Offense count: 24
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
# SupportedStyles: always, always_true, never
Style/FrozenStringLiteralComment:
Enabled: false

# Offense count: 1
# Cop supports --auto-correct.
Style/GlobalStdStream:
Exclude:
- 'spec/rest/client_spec.rb'

# Offense count: 3
# Configuration parameters: MinBodyLength.
Style/GuardClause:
Exclude:
- 'lib/reach-ruby/framework/rest/page.rb'


# Offense count: 13
# Cop supports --auto-correct.
Style/IfUnlessModifier:
Exclude:
- 'lib/reach-ruby/framework/rest/page.rb'
- 'lib/reach-ruby/framework/rest/version.rb'


# Offense count: 2
# Cop supports --auto-correct.
Style/RedundantFileExtensionInRequire:
Exclude:
- 'spec/spec_helper.rb'

# Offense count: 2
# Cop supports --auto-correct.
Style/RedundantSelf:
Exclude:
- 'lib/reach-ruby/framework/serialize.rb'

# Offense count: 16
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, AllowInnerSlashes.
# SupportedStyles: slashes, percent_r, mixed
Style/RegexpLiteral:
Exclude:
- 'lib/reach-ruby/framework/rest/domain.rb'
- 'lib/reach-ruby/framework/rest/helper.rb'
- 'lib/reach-ruby/framework/rest/version.rb'
- 'spec/rack/reach_webhook_authentication_spec.rb'

# Offense count: 12
# Cop supports --auto-correct.
# Configuration parameters: Mode.
Style/StringConcatenation:
Exclude:
- 'examples/examples.rb'
- 'lib/reach-ruby/framework/request.rb'
- 'lib/reach-ruby/framework/rest/error.rb'
- 'lib/reach-ruby/framework/serialize.rb'
- 'lib/reach-ruby/http/http_client.rb'
- 'spec/framework/request_spec.rb'
- 'spec/spec_helper.rb'

# Offense count: 7
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline.
# SupportedStyles: single_quotes, double_quotes
Style/StringLiterals:
Exclude:
- 'Gemfile'
- 'spec/framework/serialize_spec.rb'


# Offense count: 16
# Cop supports --auto-correct.
# Configuration parameters: MinSize, WordRegex.
# SupportedStyles: percent, brackets
Style/WordArray:
EnforcedStyle: brackets
52 changes: 52 additions & 0 deletions AUTHORS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
Authors
=======

A huge thanks to all of our contributors:


- Adam Ballai
- Alexander Murmann & Ryan Spore
- Alexandre Payment
- Andres Jaan Tack
- Andrew Benton
- Billy Chia
- Brian Levine
- Caley Woods
- Carlos Diaz-Padron
- Connor Montgomery
- Doug Black
- Elaine Tsai
- Fiona Tay & Will Read
- Geoff Petrie
- Guille Carlos
- Jeremy Franz
- Jingming Niu
- Josh Hull
- Joël Franusic
- K Gautam Pai
- Karl Freeman
- Karthik Sirasanagandla
- Kevin Burke
- Kush Kella
- Kyle Conroy
- Leo Adamek
- Matt Eldridge
- Matt Nowack
- Michael Wawra
- Moncef Belyamani
- Nate Berkopec
- Oscar
- Oscar Sanchez
- Phil Nash
- Rafael Chacon
- Ryan Bigg
- Ryan Cavicchioni
- Ryan Spore
- Sam Kimbrel
- Senthil Ramakrishnan
- Tom Moor
- Torey Heinz
- Vipul A M
- liz rush
- matt
- vfrride
3 changes: 3 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
reach-ruby changelog
=====================

Loading

0 comments on commit 2e3b820

Please sign in to comment.