Skip to content

Commit e225e94

Browse files
committed
feat: create initial files
0 parents  commit e225e94

31 files changed

+1044
-0
lines changed

.gitignore

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
*.gem
2+
*.rbc
3+
.bundle
4+
.config
5+
.yardoc
6+
.rspec_status
7+
Gemfile.lock
8+
gemsurance_report.html
9+
InstalledFiles
10+
_yardoc
11+
coverage
12+
doc/
13+
lib/bundler/man
14+
pkg
15+
rdoc
16+
spec/reports
17+
test/tmp
18+
test/version_tmp
19+
tmp

.markdownlint.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"MD046": false
3+
}

.rspec

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
--require spec_helper
2+
--order random
3+
--format Fuubar

.rubocop.yml

Lines changed: 261 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,261 @@
1+
require:
2+
- rubocop-packaging
3+
- rubocop-performance
4+
5+
AllCops:
6+
TargetRubyVersion: 3.0
7+
# RuboCop has a bunch of cops enabled by default. This setting tells RuboCop
8+
# to ignore them, so only the ones explicitly set in this file are enabled.
9+
DisabledByDefault: true
10+
SuggestExtensions: false
11+
Exclude:
12+
- '**/tmp/**/*'
13+
- '**/templates/**/*'
14+
- '**/vendor/**/*'
15+
- 'actionpack/lib/action_dispatch/journey/parser.rb'
16+
- 'actionmailbox/test/dummy/**/*'
17+
- 'actiontext/test/dummy/**/*'
18+
- '**/node_modules/**/*'
19+
20+
Performance:
21+
Exclude:
22+
- '**/test/**/*'
23+
24+
# Prefer &&/|| over and/or.
25+
Style/AndOr:
26+
Enabled: true
27+
28+
# Align `when` with `case`.
29+
Layout/CaseIndentation:
30+
Enabled: true
31+
32+
Layout/ClosingHeredocIndentation:
33+
Enabled: true
34+
35+
# Align comments with method definitions.
36+
Layout/CommentIndentation:
37+
Enabled: true
38+
39+
Layout/ElseAlignment:
40+
Enabled: true
41+
42+
# Align `end` with the matching keyword or starting expression except for
43+
# assignments, where it should be aligned with the LHS.
44+
Layout/EndAlignment:
45+
Enabled: true
46+
EnforcedStyleAlignWith: variable
47+
AutoCorrect: true
48+
49+
Layout/EmptyLineAfterMagicComment:
50+
Enabled: true
51+
52+
Layout/EmptyLinesAroundAccessModifier:
53+
Enabled: true
54+
EnforcedStyle: only_before
55+
56+
Layout/EmptyLinesAroundBlockBody:
57+
Enabled: true
58+
59+
# In a regular class definition, no empty lines around the body.
60+
Layout/EmptyLinesAroundClassBody:
61+
Enabled: true
62+
63+
# In a regular method definition, no empty lines around the body.
64+
Layout/EmptyLinesAroundMethodBody:
65+
Enabled: true
66+
67+
# In a regular module definition, no empty lines around the body.
68+
Layout/EmptyLinesAroundModuleBody:
69+
Enabled: true
70+
71+
# Use Ruby >= 1.9 syntax for hashes. Prefer { a: :b } over { :a => :b }.
72+
Style/HashSyntax:
73+
Enabled: true
74+
75+
# Method definitions after `private` or `protected` isolated calls need one
76+
# extra level of indentation.
77+
Layout/IndentationConsistency:
78+
Enabled: true
79+
EnforcedStyle: indented_internal_methods
80+
81+
# Two spaces, no tabs (for indentation).
82+
Layout/IndentationWidth:
83+
Enabled: true
84+
85+
Layout/LeadingCommentSpace:
86+
Enabled: true
87+
88+
Layout/SpaceAfterColon:
89+
Enabled: true
90+
91+
Layout/SpaceAfterComma:
92+
Enabled: true
93+
94+
Layout/SpaceAfterSemicolon:
95+
Enabled: true
96+
97+
Layout/SpaceAroundEqualsInParameterDefault:
98+
Enabled: true
99+
100+
Layout/SpaceAroundKeyword:
101+
Enabled: true
102+
103+
Layout/SpaceAroundOperators:
104+
Enabled: true
105+
106+
Layout/SpaceBeforeComma:
107+
Enabled: true
108+
109+
Layout/SpaceBeforeComment:
110+
Enabled: true
111+
112+
Layout/SpaceBeforeFirstArg:
113+
Enabled: true
114+
115+
Style/DefWithParentheses:
116+
Enabled: true
117+
118+
# Defining a method with parameters needs parentheses.
119+
Style/MethodDefParentheses:
120+
Enabled: true
121+
122+
Style/FrozenStringLiteralComment:
123+
Enabled: true
124+
EnforcedStyle: always
125+
Exclude:
126+
- 'actionview/test/**/*.builder'
127+
- 'actionview/test/**/*.ruby'
128+
- 'actionpack/test/**/*.builder'
129+
- 'actionpack/test/**/*.ruby'
130+
- 'activestorage/db/migrate/**/*.rb'
131+
- 'activestorage/db/update_migrate/**/*.rb'
132+
- 'actionmailbox/db/migrate/**/*.rb'
133+
- 'actiontext/db/migrate/**/*.rb'
134+
135+
Style/RedundantFreeze:
136+
Enabled: true
137+
138+
# Use `foo {}` not `foo{}`.
139+
Layout/SpaceBeforeBlockBraces:
140+
Enabled: true
141+
142+
# Use `foo { bar }` not `foo {bar}`.
143+
Layout/SpaceInsideBlockBraces:
144+
Enabled: true
145+
EnforcedStyleForEmptyBraces: space
146+
147+
# Use `{ a: 1 }` not `{a:1}`.
148+
Layout/SpaceInsideHashLiteralBraces:
149+
Enabled: true
150+
151+
Layout/SpaceInsideParens:
152+
Enabled: true
153+
154+
# Check quotes usage according to lint rule below.
155+
Style/StringLiterals:
156+
Enabled: true
157+
EnforcedStyle: double_quotes
158+
159+
# Detect hard tabs, no hard tabs.
160+
Layout/IndentationStyle:
161+
Enabled: true
162+
163+
# Empty lines should not have any spaces.
164+
Layout/TrailingEmptyLines:
165+
Enabled: true
166+
167+
# No trailing whitespace.
168+
Layout/TrailingWhitespace:
169+
Enabled: true
170+
171+
# Use quotes for string literals when they are enough.
172+
Style/RedundantPercentQ:
173+
Enabled: true
174+
175+
Lint/AmbiguousOperator:
176+
Enabled: true
177+
178+
Lint/AmbiguousRegexpLiteral:
179+
Enabled: true
180+
181+
Lint/DuplicateRequire:
182+
Enabled: true
183+
184+
Lint/ErbNewArguments:
185+
Enabled: true
186+
187+
# Use my_method(my_arg) not my_method( my_arg ) or my_method my_arg.
188+
Lint/RequireParentheses:
189+
Enabled: true
190+
191+
Lint/RedundantStringCoercion:
192+
Enabled: true
193+
194+
Lint/UriEscapeUnescape:
195+
Enabled: true
196+
197+
Lint/UselessAssignment:
198+
Enabled: true
199+
200+
Lint/DeprecatedClassMethods:
201+
Enabled: true
202+
203+
Style/ParenthesesAroundCondition:
204+
Enabled: true
205+
206+
Style/HashTransformKeys:
207+
Enabled: true
208+
209+
Style/HashTransformValues:
210+
Enabled: true
211+
212+
Style/RedundantBegin:
213+
Enabled: true
214+
215+
Style/RedundantReturn:
216+
Enabled: true
217+
AllowMultipleReturnValues: true
218+
219+
Style/RedundantRegexpEscape:
220+
Enabled: true
221+
222+
Style/Semicolon:
223+
Enabled: true
224+
AllowAsExpressionSeparator: true
225+
226+
# Prefer Foo.method over Foo::method
227+
Style/ColonMethodCall:
228+
Enabled: true
229+
230+
Style/TrivialAccessors:
231+
Enabled: true
232+
233+
Performance/BindCall:
234+
Enabled: true
235+
236+
Performance/FlatMap:
237+
Enabled: true
238+
239+
Performance/RedundantMerge:
240+
Enabled: true
241+
242+
Performance/StartWith:
243+
Enabled: true
244+
245+
Performance/EndWith:
246+
Enabled: true
247+
248+
Performance/RegexpMatch:
249+
Enabled: true
250+
251+
Performance/ReverseEach:
252+
Enabled: true
253+
254+
Performance/UnfreezeString:
255+
Enabled: true
256+
257+
Performance/DeletePrefix:
258+
Enabled: true
259+
260+
Performance/DeleteSuffix:
261+
Enabled: true

.ruby-version

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

.travis.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
language: ruby
2+
rvm:
3+
- 3.0.1
4+
- 2.7.3
5+
- 2.6.7
6+
- 2.5.9
7+
notifications:
8+
recipients:
9+
- danilo.carolino@qflash.com.br

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# CHANGELOG
2+
3+
## v0.1.0
4+
5+
* Initial release of Neoway Auth

0 commit comments

Comments
 (0)