Skip to content

Commit 653c240

Browse files
committed
Initial release
1 parent a423c34 commit 653c240

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+1159
-54
lines changed

.gitignore

Lines changed: 6 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -1,56 +1,11 @@
1-
*.gem
2-
*.rbc
3-
/.config
1+
/pipedrive-*.gem
2+
/.bundle/
3+
/.yardoc
4+
/_yardoc/
45
/coverage/
5-
/InstalledFiles
6+
/doc/
67
/pkg/
78
/spec/reports/
8-
/spec/examples.txt
9-
/test/tmp/
10-
/test/version_tmp/
119
/tmp/
12-
13-
# Used by dotenv library to load environment variables.
14-
# .env
15-
16-
# Ignore Byebug command history file.
17-
.byebug_history
18-
19-
## Specific to RubyMotion:
20-
.dat*
21-
.repl_history
22-
build/
23-
*.bridgesupport
24-
build-iPhoneOS/
25-
build-iPhoneSimulator/
26-
27-
## Specific to RubyMotion (use of CocoaPods):
28-
#
29-
# We recommend against adding the Pods directory to your .gitignore. However
30-
# you should judge for yourself, the pros and cons are mentioned at:
31-
# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
32-
#
33-
# vendor/Pods/
34-
35-
## Documentation cache and generated files:
36-
/.yardoc/
37-
/_yardoc/
38-
/doc/
39-
/rdoc/
40-
41-
## Environment normalization:
42-
/.bundle/
43-
/vendor/bundle
44-
/lib/bundler/man/
45-
46-
# for a library or gem, you might want to ignore these files since the code is
47-
# intended to run in multiple environments; otherwise, check them in:
48-
# Gemfile.lock
49-
# .ruby-version
50-
# .ruby-gemset
51-
52-
# unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
10+
/Gemfile.lock
5311
.rvmrc
54-
55-
# Used by RuboCop. Remote config files pulled in from inherit_from directive.
56-
# .rubocop-https?--*

.rspec

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
--require spec_helper

.rubocop.yml

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
AllCops:
2+
NewCops: enable
3+
4+
DisplayCopNames: true
5+
TargetRubyVersion: 2.6
6+
7+
Metrics/BlockLength:
8+
Max: 40
9+
Exclude:
10+
# `context` in tests are blocks and get quite large, so exclude the test
11+
# directory from having to adhere to this rule.
12+
- "spec/**/*.rb"
13+
14+
Metrics/ClassLength:
15+
Max: 200
16+
Exclude:
17+
# Test classes get quite large, so exclude the test directory from having
18+
# to adhere to this rule.
19+
- "test/**/*.rb"
20+
21+
Metrics/MethodLength:
22+
Max: 30
23+
24+
Metrics/ModuleLength:
25+
Enabled: false
26+
27+
Style/AccessModifierDeclarations:
28+
EnforcedStyle: inline
29+
30+
Style/FrozenStringLiteralComment:
31+
EnforcedStyle: always
32+
33+
Style/NumericPredicate:
34+
Enabled: false
35+
36+
Style/StringLiterals:
37+
EnforcedStyle: double_quotes
38+
39+
Style/TrailingCommaInArrayLiteral:
40+
EnforcedStyleForMultiline: consistent_comma
41+
42+
Style/TrailingCommaInHashLiteral:
43+
EnforcedStyleForMultiline: consistent_comma
44+
# Offense count: 23
45+
46+
Metrics/AbcSize:
47+
Max: 51
48+
49+
# Offense count: 12
50+
Metrics/CyclomaticComplexity:
51+
Max: 15
52+
53+
# Offense count: 6
54+
# Configuration parameters: CountKeywordArgs.
55+
Metrics/ParameterLists:
56+
Max: 7
57+
58+
# Offense count: 8
59+
Metrics/PerceivedComplexity:
60+
Max: 17
61+
62+
# Offense count: 86
63+
Style/Documentation:
64+
Enabled: false
65+
66+
Naming/PredicateName:
67+
Enabled: true
68+
AllowedMethods: has_many

.vscode/settings.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"editor.formatOnSave": true,
3+
"files.trimTrailingWhitespace": true,
4+
5+
// Rubocop settings
6+
"ruby.rubocop.configFilePath": ".rubocop.yml",
7+
"ruby.rubocop.onSave": true
8+
}

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Changelog
2+
3+
This file contains all notable changes to this project.
4+
This project adheres to [Semantic Versioning](http://semver.org/).
5+
This change log follows the conventions of [keepachangelog.com](http://keepachangelog.com/).
6+
7+
## [1.0] - 2020-06-25
8+
9+
- Initial release

CODE_OF_CONDUCT.md

Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
# Contributor Covenant Code of Conduct
2+
3+
## Our Pledge
4+
5+
In the interest of fostering an open and welcoming environment, we as
6+
contributors and maintainers pledge to making participation in our project and
7+
our community a harassment-free experience for everyone, regardless of age, body
8+
size, disability, ethnicity, gender identity and expression, level of experience,
9+
nationality, personal appearance, race, religion, or sexual identity and
10+
orientation.
11+
12+
## Our Standards
13+
14+
Examples of behavior that contributes to creating a positive environment
15+
include:
16+
17+
* Using welcoming and inclusive language
18+
* Being respectful of differing viewpoints and experiences
19+
* Gracefully accepting constructive criticism
20+
* Focusing on what is best for the community
21+
* Showing empathy towards other community members
22+
23+
Examples of unacceptable behavior by participants include:
24+
25+
* The use of sexualized language or imagery and unwelcome sexual attention or
26+
advances
27+
* Trolling, insulting/derogatory comments, and personal or political attacks
28+
* Public or private harassment
29+
* Publishing others' private information, such as a physical or electronic
30+
address, without explicit permission
31+
* Other conduct which could reasonably be considered inappropriate in a
32+
professional setting
33+
34+
## Our Responsibilities
35+
36+
Project maintainers are responsible for clarifying the standards of acceptable
37+
behavior and are expected to take appropriate and fair corrective action in
38+
response to any instances of unacceptable behavior.
39+
40+
Project maintainers have the right and responsibility to remove, edit, or
41+
reject comments, commits, code, wiki edits, issues, and other contributions
42+
that are not aligned to this Code of Conduct, or to ban temporarily or
43+
permanently any contributor for other behaviors that they deem inappropriate,
44+
threatening, offensive, or harmful.
45+
46+
## Scope
47+
48+
This Code of Conduct applies both within project spaces and in public spaces
49+
when an individual is representing the project or its community. Examples of
50+
representing a project or community include using an official project e-mail
51+
address, posting via an official social media account, or acting as an appointed
52+
representative at an online or offline event. Representation of a project may be
53+
further defined and clarified by project maintainers.
54+
55+
## Enforcement
56+
57+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
58+
reported by contacting the project team at jorge.rodriguez.suarez@gmail.com. All
59+
complaints will be reviewed and investigated and will result in a response that
60+
is deemed necessary and appropriate to the circumstances. The project team is
61+
obligated to maintain confidentiality with regard to the reporter of an incident.
62+
Further details of specific enforcement policies may be posted separately.
63+
64+
Project maintainers who do not follow or enforce the Code of Conduct in good
65+
faith may face temporary or permanent repercussions as determined by other
66+
members of the project's leadership.
67+
68+
## Attribution
69+
70+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71+
available at [https://contributor-covenant.org/version/1/4][version]
72+
73+
[homepage]: https://contributor-covenant.org
74+
[version]: https://contributor-covenant.org/version/1/4/

Gemfile

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# frozen_string_literal: true
2+
3+
source "https://rubygems.org"
4+
5+
gemspec
6+
7+
group :development do
8+
gem "byebug"
9+
gem "mocha"
10+
gem "rspec"
11+
gem "rubocop"
12+
end

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2020 Get on Board
3+
Copyright (c) 2020 Get on Board (https://www.getonbrd.com)
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

0 commit comments

Comments
 (0)