Skip to content

Commit 8b65779

Browse files
committed
Upgrade infrastructure with solidus_dev_support
1 parent bed1824 commit 8b65779

14 files changed

Lines changed: 143 additions & 422 deletions

File tree

.gem_release.yml

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,5 @@
11
bump:
2-
file: 'lib/spree/auth/version.rb'
3-
message: Bump Solidus Auth Devise to %{version}
4-
remote: upstream
5-
commit: true
6-
push: true
7-
8-
tag:
9-
push: true
10-
remote: upstream
2+
recurse: false
3+
file: 'lib/solidus_auth_devise/version.rb'
4+
message: Bump SolidusAuthDevise to %{version}
5+
tag: true

.github/stale.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Number of days of inactivity before an issue becomes stale
2+
daysUntilStale: 60
3+
# Number of days of inactivity before a stale issue is closed
4+
daysUntilClose: 7
5+
# Issues with these labels will never be considered stale
6+
exemptLabels:
7+
- pinned
8+
- security
9+
# Label to use when marking an issue as stale
10+
staleLabel: wontfix
11+
# Comment to post when marking an issue as stale. Set to `false` to disable
12+
markComment: >
13+
This issue has been automatically marked as stale because it has not had
14+
recent activity. It will be closed if no further activity occurs. Thank you
15+
for your contributions.
16+
# Comment to post when closing a stale issue. Set to `false` to disable
17+
closeComment: false

.gitignore

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,16 @@
1-
spec/dummy
2-
spec/examples.txt
1+
*.gem
2+
\#*
3+
*~
4+
.#*
5+
.DS_Store
6+
.idea
7+
.project
38
.sass-cache
49
coverage
510
Gemfile.lock
6-
*.swp
7-
.rvmrc
8-
.ruby-gemsets
9-
.ruby-version
10-
.bundle
11+
tmp
12+
nbproject
1113
pkg
12-
vendor
14+
*.swp
15+
spec/dummy
16+
spec/examples.txt

.rubocop.yml

Lines changed: 1 addition & 325 deletions
Original file line numberDiff line numberDiff line change
@@ -1,326 +1,2 @@
11
require:
2-
- rubocop-performance
3-
- rubocop-rails
4-
5-
# Relaxed.Ruby.Style
6-
7-
AllCops:
8-
Exclude:
9-
- 'spec/dummy/**/*'
10-
- 'app/overrides/*'
11-
- 'bin/**'
12-
TargetRubyVersion: 2.3
13-
14-
15-
Rails/Output:
16-
Exclude:
17-
- 'db/default/users.rb'
18-
19-
# Sometimes I believe this reads better
20-
# This also causes spacing issues on multi-line fixes
21-
Style/BracesAroundHashParameters:
22-
Enabled: false
23-
24-
# We use class vars and will have to continue doing so for compatability
25-
Style/ClassVars:
26-
Enabled: false
27-
28-
# We need these names for backwards compatability
29-
Naming/PredicateName:
30-
Enabled: false
31-
32-
Naming/AccessorMethodName:
33-
Enabled: false
34-
35-
# This has been used for customization
36-
Style/MutableConstant:
37-
Enabled: false
38-
39-
Style/ClassAndModuleChildren:
40-
Enabled: false
41-
42-
Style/EmptyElse:
43-
Enabled: false
44-
45-
Style/GuardClause:
46-
Enabled: false
47-
48-
Style/Next:
49-
Enabled: false
50-
51-
Style/NumericPredicate:
52-
Enabled: false
53-
54-
Style/WordArray:
55-
Enabled: false
56-
57-
Style/ConditionalAssignment:
58-
Enabled: false
59-
60-
Style/RaiseArgs:
61-
Enabled: false
62-
63-
Naming/BinaryOperatorParameterName:
64-
Enabled: false
65-
66-
# We can use good judgement here
67-
Style/RegexpLiteral:
68-
Enabled: false
69-
70-
# Unicode comments are useful
71-
Style/AsciiComments:
72-
Enabled: false
73-
74-
Layout/EndAlignment:
75-
Enabled: false
76-
77-
Layout/ElseAlignment:
78-
Enabled: false
79-
80-
Layout/IndentationWidth:
81-
Enabled: false
82-
83-
Layout/AlignParameters:
84-
Enabled: false
85-
86-
Layout/ClosingParenthesisIndentation:
87-
Enabled: false
88-
89-
Layout/MultilineMethodCallIndentation:
90-
Enabled: false
91-
92-
Layout/IndentFirstArrayElement:
93-
Enabled: false
94-
95-
Layout/IndentFirstHashElement:
96-
Enabled: false
97-
98-
Layout/AlignHash:
99-
Enabled: false
100-
101-
Style/TrailingCommaInArguments:
102-
Enabled: false
103-
104-
Style/TrailingCommaInArrayLiteral:
105-
Enabled: false
106-
107-
Style/TrailingCommaInHashLiteral:
108-
Enabled: false
109-
110-
# Symbol Arrays are ok and the %i syntax widely unknown
111-
Style/SymbolArray:
112-
Enabled: false
113-
114-
Rails/DynamicFindBy:
115-
Whitelist:
116-
- find_by_param
117-
- find_by_param!
118-
119-
# We use a lot of
120-
#
121-
# expect {
122-
# something
123-
# }.to { happen }
124-
#
125-
# syntax in the specs files.
126-
Lint/AmbiguousBlockAssociation:
127-
Exclude:
128-
- '*/spec/**/*'
129-
- 'spec/**/*' # For the benefit of apps that inherit from this config
130-
131-
# We use eval to add common_spree_dependencies into the Gemfiles of each of our gems
132-
Security/Eval:
133-
Exclude:
134-
- 'Gemfile'
135-
- 'common_spree_dependencies.rb'
136-
- '*/Gemfile'
137-
138-
Naming/VariableNumber:
139-
Enabled: false
140-
141-
# Write empty methods as you wish.
142-
Style/EmptyMethod:
143-
Enabled: false
144-
145-
# From http://relaxed.ruby.style/
146-
147-
Style/Alias:
148-
Enabled: false
149-
StyleGuide: http://relaxed.ruby.style/#stylealias
150-
151-
Style/BeginBlock:
152-
Enabled: false
153-
StyleGuide: http://relaxed.ruby.style/#stylebeginblock
154-
155-
Style/BlockDelimiters:
156-
Enabled: false
157-
StyleGuide: http://relaxed.ruby.style/#styleblockdelimiters
158-
159-
Style/Documentation:
160-
Enabled: false
161-
StyleGuide: http://relaxed.ruby.style/#styledocumentation
162-
163-
Layout/DotPosition:
164-
Enabled: false
165-
StyleGuide: http://relaxed.ruby.style/#styledotposition
166-
167-
Style/DoubleNegation:
168-
Enabled: false
169-
StyleGuide: http://relaxed.ruby.style/#styledoublenegation
170-
171-
Style/EndBlock:
172-
Enabled: false
173-
StyleGuide: http://relaxed.ruby.style/#styleendblock
174-
175-
Style/FormatString:
176-
Enabled: false
177-
StyleGuide: http://relaxed.ruby.style/#styleformatstring
178-
179-
Style/IfUnlessModifier:
180-
Enabled: false
181-
StyleGuide: http://relaxed.ruby.style/#styleifunlessmodifier
182-
183-
Style/Lambda:
184-
Enabled: false
185-
StyleGuide: http://relaxed.ruby.style/#stylelambda
186-
187-
Style/ModuleFunction:
188-
Enabled: false
189-
StyleGuide: http://relaxed.ruby.style/#stylemodulefunction
190-
191-
Style/MultilineBlockChain:
192-
Enabled: false
193-
StyleGuide: http://relaxed.ruby.style/#stylemultilineblockchain
194-
195-
Style/NegatedIf:
196-
Enabled: false
197-
StyleGuide: http://relaxed.ruby.style/#stylenegatedif
198-
199-
Style/NegatedWhile:
200-
Enabled: false
201-
StyleGuide: http://relaxed.ruby.style/#stylenegatedwhile
202-
203-
Style/ParallelAssignment:
204-
Enabled: false
205-
StyleGuide: http://relaxed.ruby.style/#styleparallelassignment
206-
207-
Style/PercentLiteralDelimiters:
208-
Enabled: false
209-
StyleGuide: http://relaxed.ruby.style/#stylepercentliteraldelimiters
210-
211-
Style/PerlBackrefs:
212-
Enabled: false
213-
StyleGuide: http://relaxed.ruby.style/#styleperlbackrefs
214-
215-
Style/Semicolon:
216-
Enabled: false
217-
StyleGuide: http://relaxed.ruby.style/#stylesemicolon
218-
219-
Style/SignalException:
220-
Enabled: false
221-
StyleGuide: http://relaxed.ruby.style/#stylesignalexception
222-
223-
Style/SingleLineBlockParams:
224-
Enabled: false
225-
StyleGuide: http://relaxed.ruby.style/#stylesinglelineblockparams
226-
227-
Style/SingleLineMethods:
228-
Enabled: false
229-
StyleGuide: http://relaxed.ruby.style/#stylesinglelinemethods
230-
231-
Layout/SpaceBeforeBlockBraces:
232-
Enabled: false
233-
StyleGuide: http://relaxed.ruby.style/#stylespacebeforeblockbraces
234-
235-
Layout/SpaceInsideParens:
236-
Enabled: false
237-
StyleGuide: http://relaxed.ruby.style/#stylespaceinsideparens
238-
239-
Style/SpecialGlobalVars:
240-
Enabled: false
241-
StyleGuide: http://relaxed.ruby.style/#stylespecialglobalvars
242-
243-
Style/StringLiterals:
244-
Enabled: false
245-
StyleGuide: http://relaxed.ruby.style/#stylestringliterals
246-
247-
Style/SymbolProc:
248-
Enabled: false
249-
250-
Style/TernaryParentheses:
251-
Enabled: false
252-
253-
Style/WhileUntilModifier:
254-
Enabled: false
255-
StyleGuide: http://relaxed.ruby.style/#stylewhileuntilmodifier
256-
257-
Lint/AmbiguousRegexpLiteral:
258-
Enabled: false
259-
StyleGuide: http://relaxed.ruby.style/#lintambiguousregexpliteral
260-
261-
Lint/AssignmentInCondition:
262-
Enabled: false
263-
StyleGuide: http://relaxed.ruby.style/#lintassignmentincondition
264-
265-
Metrics/AbcSize:
266-
Enabled: false
267-
268-
Metrics/BlockNesting:
269-
Enabled: false
270-
271-
Metrics/ClassLength:
272-
Enabled: false
273-
274-
Metrics/ModuleLength:
275-
Enabled: false
276-
277-
Metrics/BlockLength:
278-
Enabled: false
279-
280-
Metrics/CyclomaticComplexity:
281-
Enabled: false
282-
283-
Metrics/LineLength:
284-
Enabled: false
285-
286-
Metrics/MethodLength:
287-
Enabled: false
288-
289-
Metrics/ParameterLists:
290-
Enabled: false
291-
292-
Metrics/PerceivedComplexity:
293-
Enabled: false
294-
295-
Bundler/OrderedGems:
296-
Enabled: false
297-
298-
Style/NumericLiterals:
299-
Enabled: false
300-
301-
Style/FrozenStringLiteralComment:
302-
Enabled: true
303-
EnforcedStyle: always
304-
305-
# json.() is idiomatic in jbuilder files
306-
Style/LambdaCall:
307-
Enabled: false
308-
309-
Naming/UncommunicativeMethodParamName:
310-
AllowedNames:
311-
- id
312-
- to
313-
- _
314-
315-
# Rubocop doesn't understand side-effects
316-
Style/IdenticalConditionalBranches:
317-
Enabled: false
318-
319-
Naming/MemoizedInstanceVariableName:
320-
Enabled: false
321-
322-
Lint/UselessComparison:
323-
Enabled: false
324-
325-
Lint/HandleExceptions:
326-
Enabled: false
2+
- solidus_dev_support/rubocop

0 commit comments

Comments
 (0)