Skip to content

Commit

Permalink
🛡️ DepShield (#236)
Browse files Browse the repository at this point in the history
  • Loading branch information
that-jill authored Jan 25, 2024
1 parent 348b996 commit 1f6fb86
Show file tree
Hide file tree
Showing 43 changed files with 1,501 additions and 87 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/dep_shield.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: dep_shield

on:
push:

jobs:
ruby:
uses: powerhome/github-actions-workflows/.github/workflows/ruby-gem.yml@main
with:
package: ${{ github.workflow }}
workdir: "packages/${{ github.workflow }}"
secrets: inherit
4 changes: 4 additions & 0 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ Helping ruby developers implement easy patterns.

Delicious and sanitized data samples for development and testing.

[dep_shield](https://github.com/powerhome/power-tools/blob/main/packages/dep_shield/docs/README.md) 💎

Enable alerts about deprecated features & prevent new ones from being introduced.

[edgestitch](https://github.com/powerhome/power-tools/blob/main/packages/edgestitch/docs/README.md) 💎

Edgestitch allows engines to define partial structure-self.sql files to be stitched into a single structure.sql file by the umbrella application.
Expand Down
2 changes: 1 addition & 1 deletion packages/api_chai/LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2024 Jill Klang
Copyright Power Home Remodeling Group, LLC

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
84 changes: 0 additions & 84 deletions packages/data_taster/CODE_OF_CONDUCT.md

This file was deleted.

2 changes: 1 addition & 1 deletion packages/data_taster/LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2023 Jill Klang
Copyright Power Home Remodeling Group, LLC

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
13 changes: 13 additions & 0 deletions packages/dep_shield/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
/.bundle/
/.yardoc
/_yardoc/
/coverage/
/pkg/
/spec/reports/
/tmp/

# rspec failure tracking
.rspec_status

*.sqlite3
*.sqlite
16 changes: 16 additions & 0 deletions packages/dep_shield/.rubocop.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
require:
- rubocop-powerhome

AllCops:
TargetRubyVersion: 2.7

Style/StringLiterals:
Enabled: true
EnforcedStyle: double_quotes

Style/StringLiteralsInInterpolation:
Enabled: true
EnforcedStyle: double_quotes

Layout/LineLength:
Max: 120
13 changes: 13 additions & 0 deletions packages/dep_shield/Appraisals
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# frozen_string_literal: true

appraise "rails-6-0" do
gem "rails", "6.0.6.1"
end

appraise "rails-6-1" do
gem "rails", "6.1.7.4"
end

appraise "rails-7-0" do
gem "rails", "7.0.6"
end
5 changes: 5 additions & 0 deletions packages/dep_shield/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
## [Unreleased]

## [0.1.0] - 2024-01-17

- Initial release
14 changes: 14 additions & 0 deletions packages/dep_shield/Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# frozen_string_literal: true

source "https://rubygems.org"

# Specify your gem's dependencies in dep_shield.gemspec
gemspec

gem "nokogiri", "< 1.16"

gem "rake", "~> 13.0"

gem "rspec", "~> 3.0"

gem "rubocop-powerhome", path: "../rubocop-powerhome"
Loading

0 comments on commit 1f6fb86

Please sign in to comment.