diff --git a/packages/ostruct-sanitizer/ostruct-sanitizer.gemspec b/packages/ostruct-sanitizer/ostruct-sanitizer.gemspec index 84ad48cb..7876cc42 100644 --- a/packages/ostruct-sanitizer/ostruct-sanitizer.gemspec +++ b/packages/ostruct-sanitizer/ostruct-sanitizer.gemspec @@ -26,5 +26,6 @@ Gem::Specification.new do |spec| spec.add_development_dependency "bundler", "~> 2.4.7" spec.add_development_dependency "rake", "~> 10.0" spec.add_development_dependency "rspec", "~> 3.0" + spec.add_development_dependency "rubocop-powerhome", "0.5.0" spec.add_development_dependency "byebug" end diff --git a/packages/ostruct-sanitizer/portal.yml b/packages/ostruct-sanitizer/portal.yml deleted file mode 100644 index bbfcac53..00000000 --- a/packages/ostruct-sanitizer/portal.yml +++ /dev/null @@ -1,12 +0,0 @@ -apiVersion: backstage.io/v1alpha1 -kind: Component -metadata: - name: ostruct-sanitizer - title: Ostruct Sanitizer - description: Provides Rails-like sanitization rules for OpenStruct fields - annotations: - backstage.io/techdocs-ref: dir:. -spec: - type: library - owner: heroes-for-hire - lifecycle: production diff --git a/portal.yml b/portal.yml index f3355888..9e93da7c 100644 --- a/portal.yml +++ b/portal.yml @@ -198,3 +198,17 @@ spec: system: power-application-framework lifecycle: production subcomponentOf: power-tools +--- +apiVersion: backstage.io/v1alpha1 +kind: Component +metadata: + name: ostruct-sanitozer + title: OpenStruct sanitizer + description: >- + Provides Rails-like sanitization hooks to be applied to OpenStruct fields. +spec: + type: library + owner: heroes-for-hire + system: power-application-framework + lifecycle: production + subcomponentOf: power-tools