erb-view 0.2.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.github/dependabot.yml +17 -0
- data/.github/workflows/ci.yml +33 -0
- data/.github/workflows/dependabot-auto-merge.yml +23 -0
- data/.github/workflows/release-please.yml +20 -0
- data/.github/workflows/release.yml +24 -0
- data/.release-please-manifest.json +3 -0
- data/.rubocop.yml +4 -1099
- data/.ruby-version +1 -1
- data/CHANGELOG.md +8 -0
- data/CODE_OF_CONDUCT.md +83 -0
- data/Gemfile +7 -5
- data/LICENSE.txt +1 -1
- data/README.md +2 -4
- data/Rakefile +2 -0
- data/SECURITY.md +8 -0
- data/bin/console +1 -0
- data/erb-view.gemspec +20 -19
- data/lib/erb/view/version.rb +3 -1
- data/lib/erb/view.rb +3 -0
- data/release-please-config.json +10 -0
- metadata +19 -54
- data/.codeclimate.yml +0 -25
- data/.travis.yml +0 -12
- data/_config.yml +0 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 436e2ef8ac3d293c05275643dc02ae2392f6fbc57ca936092aff8b3650fd2842
|
|
4
|
+
data.tar.gz: c93dc42f7c6cf4887ec235e54e1b37fa2cdb3752f5f837f6fdf387a618ceb5b9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 72f2f4a08eb315afe3b75fe98d4873923c374c8b49ca8ed03b46c38485f964a39806bf7ac522345ab48315ca9461e794a2aa04a2e233ec4fead1f42573ffe21f
|
|
7
|
+
data.tar.gz: a7a9cc285dbee445458bdd994ad8b23b92130922f489e3364370e26247d561916e262ed7a9479291f28f4e443e30b36533b011998024f271b0f1f89ec961cf7b
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
version: 2
|
|
2
|
+
updates:
|
|
3
|
+
- package-ecosystem: bundler
|
|
4
|
+
directory: "/"
|
|
5
|
+
schedule:
|
|
6
|
+
interval: weekly
|
|
7
|
+
time: "04:00"
|
|
8
|
+
open-pull-requests-limit: 10
|
|
9
|
+
reviewers:
|
|
10
|
+
- felipeelias
|
|
11
|
+
- package-ecosystem: github-actions
|
|
12
|
+
directory: "/"
|
|
13
|
+
schedule:
|
|
14
|
+
interval: weekly
|
|
15
|
+
time: "04:00"
|
|
16
|
+
reviewers:
|
|
17
|
+
- felipeelias
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: CI
|
|
3
|
+
|
|
4
|
+
on:
|
|
5
|
+
push:
|
|
6
|
+
branches: [master]
|
|
7
|
+
pull_request:
|
|
8
|
+
branches: [master]
|
|
9
|
+
|
|
10
|
+
jobs:
|
|
11
|
+
test:
|
|
12
|
+
runs-on: ubuntu-latest
|
|
13
|
+
strategy:
|
|
14
|
+
fail-fast: false
|
|
15
|
+
matrix:
|
|
16
|
+
ruby: ['3.2', '3.3', '3.4']
|
|
17
|
+
steps:
|
|
18
|
+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
19
|
+
- uses: ruby/setup-ruby@dffb23f65a78bba8db45d387d5ea1bbd6be3ef18 # v1.293.0
|
|
20
|
+
with:
|
|
21
|
+
ruby-version: ${{ matrix.ruby }}
|
|
22
|
+
bundler-cache: true
|
|
23
|
+
- run: bundle exec rake test
|
|
24
|
+
|
|
25
|
+
lint:
|
|
26
|
+
runs-on: ubuntu-latest
|
|
27
|
+
steps:
|
|
28
|
+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
29
|
+
- uses: ruby/setup-ruby@dffb23f65a78bba8db45d387d5ea1bbd6be3ef18 # v1.293.0
|
|
30
|
+
with:
|
|
31
|
+
ruby-version: '3.3'
|
|
32
|
+
bundler-cache: true
|
|
33
|
+
- run: bundle exec rubocop
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: Dependabot auto-merge
|
|
3
|
+
|
|
4
|
+
on: pull_request
|
|
5
|
+
|
|
6
|
+
permissions:
|
|
7
|
+
contents: write
|
|
8
|
+
pull-requests: write
|
|
9
|
+
|
|
10
|
+
jobs:
|
|
11
|
+
dependabot:
|
|
12
|
+
runs-on: ubuntu-latest
|
|
13
|
+
if: github.actor == 'dependabot[bot]'
|
|
14
|
+
steps:
|
|
15
|
+
- uses: dependabot/fetch-metadata@21025c705c08248db411dc16f3619e6b5f9ea21a # v2.5.0
|
|
16
|
+
id: metadata
|
|
17
|
+
- if: steps.metadata.outputs.update-type != 'version-update:semver-major'
|
|
18
|
+
run: |
|
|
19
|
+
gh pr review --approve "$PR_URL"
|
|
20
|
+
gh pr merge --auto --squash "$PR_URL"
|
|
21
|
+
env:
|
|
22
|
+
PR_URL: ${{ github.event.pull_request.html_url }}
|
|
23
|
+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: Release Please
|
|
3
|
+
|
|
4
|
+
on:
|
|
5
|
+
push:
|
|
6
|
+
branches: [master]
|
|
7
|
+
|
|
8
|
+
permissions:
|
|
9
|
+
contents: write
|
|
10
|
+
pull-requests: write
|
|
11
|
+
|
|
12
|
+
jobs:
|
|
13
|
+
release-please:
|
|
14
|
+
runs-on: ubuntu-latest
|
|
15
|
+
steps:
|
|
16
|
+
- uses: googleapis/release-please-action@16a9c90856f42705d54a6fda1823352bdc62cf38 # v4.4.0
|
|
17
|
+
with:
|
|
18
|
+
token: ${{ secrets.RELEASE_PLEASE_TOKEN }}
|
|
19
|
+
config-file: release-please-config.json
|
|
20
|
+
manifest-file: .release-please-manifest.json
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: Release
|
|
3
|
+
|
|
4
|
+
on:
|
|
5
|
+
release:
|
|
6
|
+
types: [published]
|
|
7
|
+
|
|
8
|
+
jobs:
|
|
9
|
+
push:
|
|
10
|
+
name: Push gem to RubyGems.org
|
|
11
|
+
runs-on: ubuntu-latest
|
|
12
|
+
environment: release
|
|
13
|
+
permissions:
|
|
14
|
+
id-token: write
|
|
15
|
+
contents: write
|
|
16
|
+
steps:
|
|
17
|
+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
18
|
+
with:
|
|
19
|
+
ref: master
|
|
20
|
+
- uses: ruby/setup-ruby@dffb23f65a78bba8db45d387d5ea1bbd6be3ef18 # v1.293.0
|
|
21
|
+
with:
|
|
22
|
+
ruby-version: ruby
|
|
23
|
+
bundler-cache: true
|
|
24
|
+
- uses: rubygems/release-gem@e9a6361a0b14562539327c2a02373edc56dd3169 # v1.1.4
|