Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
331bca7
Added graph support(RGL), bumped version, helpers to render navigation
raghuramg Dec 10, 2020
dcf0c2c
Added namespace contract and validate namespace hash against contract
raghuramg Dec 11, 2020
6a40b4c
Added namespace_path entity, contract and refactored rgl navigation v…
raghuramg Dec 12, 2020
2695e68
Updated DSL to render navigation
raghuramg Dec 16, 2020
9090ed4
Added spec fixes
raghuramg Dec 16, 2020
5b9a7a5
Added spec fixes
raghuramg Dec 16, 2020
0bdab03
Added mongoid support
raghuramg Dec 18, 2020
e14d079
Fixed mongoid models and persistance issues
raghuramg Dec 22, 2020
04daf6e
empty setting file should not raise exception
raghuramg Jan 4, 2021
a380e1b
Added operations to persist features
raghuramg Jan 5, 2021
0060236
Updated contracts and value coercion
raghuramg Jan 5, 2021
6a5523f
refactored operations for features, namespaces
raghuramg Jan 11, 2021
b4a99e9
Added namespace operations to render/update multiple features
raghuramg Jan 19, 2021
aa1d574
Added spec fix
raghuramg Jan 19, 2021
773a4da
Added namespace serializer and refactored registry create,load operat…
raghuramg Jan 19, 2021
7d61bfb
Add template YAML for Enterprise. Update README and rubucop settings
ipublic Jan 19, 2021
6fa3cc4
Updated view helpers
raghuramg Jan 19, 2021
3cc50c5
Merge branch 'branch_0.9.0' of https://github.com/ideacrew/resource_r…
raghuramg Jan 19, 2021
e56dfed
Added view controls and create input controls helper
raghuramg Jan 21, 2021
5160a84
purge mongoid models
raghuramg Jan 21, 2021
0dd31f1
setting default horizontal option on form group
nisanthyaganti9 Jan 21, 2021
f25fcfd
Added headers for display panel
raghuramg Jan 21, 2021
dcd27c9
Merge branch 'branch_0.9.0' of https://github.com/ideacrew/resource_r…
raghuramg Jan 21, 2021
a3fb1f0
Added exception handling for model item json parse
raghuramg Jan 21, 2021
1931b38
adding info tag
nisanthyaganti9 Jan 21, 2021
bf1a7c7
commenting placeholder
nisanthyaganti9 Jan 21, 2021
63f75d0
updated view controls for filters and updates for feature update
raghuramg Jan 25, 2021
4c4eee4
Fixed persist logic for date ranges
raghuramg Jan 26, 2021
51c499d
Gem cleanup - change to dev dependency, list in alpha order
ipublic Jan 26, 2021
3aff438
Merge branch 'branch_0.9.0' of https://github.com/ideacrew/resource_r…
ipublic Jan 26, 2021
f250485
Added features clone operation
raghuramg Jan 28, 2021
945149e
Merge branch 'branch_0.9.0' of https://github.com/ideacrew/resource_r…
raghuramg Jan 28, 2021
98d15c6
updated view helpers
raghuramg Jan 28, 2021
f6f3485
Bump rubocop version
ipublic Feb 1, 2021
016c700
Merge branch 'branch_0.9.0' of https://github.com/ideacrew/resource_r…
ipublic Feb 1, 2021
85e0b3b
Bump nokogiri, actionview, rack, actionpack and activesupport gem ver…
ipublic Feb 1, 2021
af84a1f
Updated RR helpers, operations with following changes
raghuramg Feb 2, 2021
4e3c20b
Merge branch 'branch_0.9.0' of https://github.com/ideacrew/resource_r…
raghuramg Feb 2, 2021
193128e
Added date validations
raghuramg Feb 4, 2021
f52ec19
Fixed renew, list_features operations
raghuramg Feb 9, 2021
add6a9b
Fixed spec failures
raghuramg Feb 11, 2021
0a8be8c
commit specs
raghuramg Feb 12, 2021
402206f
Added rubocop fixes for specs
raghuramg Feb 12, 2021
ede7aab
Added rubocop fixes
raghuramg Feb 12, 2021
bb9db10
Fixed rubocop errors
raghuramg Feb 17, 2021
37beddb
Fixed feature_enabled? method
raghuramg Feb 18, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
125 changes: 102 additions & 23 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,35 @@
# This yaml describes our current checks.
# Any checks marked "# TODO: RWC" are "re-enable when corrected.RWC" are "re-enable when corrected.

# We will add the following back in later, but they cause
# a completely outsized amount of cop failures for the number of files:
# - db/seedfiles
# - lib/tasks
AllCops:
TargetRubyVersion: 2.5
Exclude:
- "./bin/**/*"
- "./project_gems/effective_datatables-2.6.14/effective_datatables-2.6.14.gemspec"
- "./node_modules/**/*"
- "./db/seedfiles/**/*"
- "./lib/tasks/**/*"
- "./script/**/*"
- "./components/benefit_markets/spec/dummy/**/*"
- "./components/benefit_markets/db/seedfiles/**/*"
- "./components/benefit_sponsors/spec/dummy/**/*"
- "./components/benefit_sponsors/db/seedfiles/**/*"
- "./components/notifier/spec/dummy/**/*"
- "./components/old_sponsored_benefits/**/*"
- "./components/sponsored_benefits/spec/dummy/**/*"
- "./components/transport_profiles/spec/dummy/**/*"
- "./components/transport_profiles/spec/dummy/**/*"
- "./eyes/enroll.eye.rb"

# TODO: RWC
Layout/CommentIndentation:
Enabled: true

Layout/EmptyLines:
Enabled: false

Layout/EmptyLineAfterGuardClause:
Layout/EmptyLines:
Enabled: false

Layout/EmptyLinesAroundBlockBody:
Expand All @@ -19,6 +41,9 @@ Layout/LeadingCommentSpace:
Layout/ExtraSpacing:
Enabled: false

Layout/EmptyLineAfterGuardClause:
Enabled: false

Layout/EmptyLinesAroundClassBody:
Enabled: false

Expand All @@ -44,7 +69,10 @@ Layout/TrailingEmptyLines:
Layout/IndentationWidth:
Enabled: true

Layout/Tab:
Layout/LineLength:
Max: 250

Layout/IndentationStyle:
Enabled: true

Layout/TrailingWhitespace:
Expand All @@ -56,24 +84,21 @@ Metrics/AbcSize:
Metrics/ClassLength:
Max: 300

Metrics/ModuleLength:
Max: 300

Metrics/CyclomaticComplexity:
Max: 8
Max: 11

Metrics/BlockLength:
Enabled: false

Metrics/LineLength:
Max: 250

Metrics/MethodLength:
Max: 50

Metrics/PerceivedComplexity:
Max: 15

Naming/AccessorMethodName:
Enabled: false

Naming/PredicateName:
Enabled: false

Expand All @@ -88,32 +113,32 @@ Style/BlockComments:

# We will want to turn this back on or customize it more fully
Style/Documentation:
Enabled: false
Enabled: true

Style/EachWithObject:
Enabled: false

Style/EmptyLiteral:
Enabled: false

Style/EmptyMethod:
Enabled: false

Style/ExpandPathArguments:
Enabled: false

Style/HashSyntax:
Enabled: false

Style/HashEachMethods:
Enabled: true

Style/HashTransformKeys:
Enabled: true

Style/HashTransformValues:
Enabled: true

Style/NumericPredicate:
Enabled: false

Style/RedundantSelf:
Enabled: false

Style/SafeNavigation:
Enabled: false

Style/StringLiterals:
Enabled: false

Expand All @@ -130,4 +155,58 @@ Bundler/OrderedGems:
Enabled: false

Gemspec/OrderedDependencies:
Enabled: false
Enabled:
false

Layout/SpaceBeforeBrackets: # (new in 1.7)
Enabled: true
Lint/AmbiguousAssignment: # (new in 1.7)
Enabled: true
Lint/DeprecatedConstants: # (new in 1.8)
Enabled: true
Lint/DuplicateBranch: # (new in 1.3)
Enabled: true
Lint/DuplicateRegexpCharacterClassElement: # (new in 1.1)
Enabled: true
Lint/EmptyBlock: # (new in 1.1)
Enabled: true
Lint/EmptyClass: # (new in 1.3)
Enabled: true
Lint/LambdaWithoutLiteralBlock: # (new in 1.8)
Enabled: true
Lint/NoReturnInBeginEndBlocks: # (new in 1.2)
Enabled: true
Lint/RedundantDirGlobSort: # (new in 1.8)
Enabled: true
Lint/ToEnumArguments: # (new in 1.1)
Enabled: true
Lint/UnexpectedBlockArity: # (new in 1.5)
Enabled: true
Lint/UnmodifiedReduceAccumulator: # (new in 1.1)
Enabled: true
Style/ArgumentsForwarding: # (new in 1.1)
Enabled: true
Style/CollectionCompact: # (new in 1.2)
Enabled: true
Style/DocumentDynamicEvalDefinition: # (new in 1.1)
Enabled: true
Style/EndlessMethod: # (new in 1.8)
Enabled: true
Style/HashExcept: # (new in 1.7)
Enabled: true
Style/NegatedIfElseCondition: # (new in 1.2)
Enabled: true
Style/NilLambda: # (new in 1.3)
Enabled: true
Style/RedundantArgument: # (new in 1.4)
Enabled: true
Style/SwapValues: # (new in 1.1)
Enabled: true

require:
- ./cops/lint/empty_rescue_clause.rb
# Deprecated
# Style/TrailingBlankLines:
# Enabled: false
# AllCops:
# RunRailsCops: true
5 changes: 5 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,8 @@ source "https://rubygems.org"
# Specify your gem's dependencies in resource_registry.gemspec
gemspec

group :development, :test do
gem "pry", platform: :mri
gem "pry-byebug", platform: :mri
end

Loading