erb 6.0.2-java → 6.0.3-java

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4637930a7467c1119aa688421e6e5e27ae740509da3bfd9ea10fcb7149f86587
4
- data.tar.gz: d0447e52a8e7a1487418a2be2de6d64de17c656dad647595543d951de1444fda
3
+ metadata.gz: b0791ebf1dad18bf5cf6d78b5fe6177660084315bdcda13dc1d3f7c391feb3ab
4
+ data.tar.gz: 2dcdcc45d3a750a6f158b7262d3b0305611798a6c8250335b16865327ba576c6
5
5
  SHA512:
6
- metadata.gz: 5f7e12facd027c5eb69de14c33f4a45c1ff5bd112898e597595fe6bc74947d207a8cb0db60ac64265fb28536790f20d6e60005afcd0264590bbf282ba53714f6
7
- data.tar.gz: a8075c4f70eb6e9993431b2913998681ea31c54cc56e14f25299b158abe072a43a41cc2657795b628c34afa4976afac520a12f2cee47d957b9410871f1b08515
6
+ metadata.gz: 9e03e9118b35ea1a728365e81637bf68fe5590e2b5ad003640f7081e55ea8797140fd58f5b02c733fd506dec8202d04f06018c3881ff608fde55931c8838cb0e
7
+ data.tar.gz: 40ddc656d1fe1feabac3ddc67e2606ed925c72be4410ce5f4d5b1aa2963e1102af375d3ad89fc984c4755aff7c9f7c36720b38d06b97c2b5bdc270e534a0c0c8
data/NEWS.md CHANGED
@@ -1,8 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## 6.0.3
4
+
5
+ * Exclude some files from published gem https://github.com/ruby/erb/pull/108
6
+
3
7
  ## 6.0.2
4
8
 
5
- * Freeze `src` in `ERB#initialize` for Ractor compatibility
9
+ * Freeze `src` in `ERB#initialize` for Ractor compatibility https://github.com/ruby/erb/pull/105
6
10
 
7
11
  ## 6.0.1
8
12
 
data/erb.gemspec CHANGED
@@ -20,8 +20,8 @@ Gem::Specification.new do |spec|
20
20
  spec.metadata['source_code_uri'] = spec.homepage
21
21
  spec.metadata['changelog_uri'] = "https://github.com/ruby/erb/blob/v#{spec.version}/NEWS.md"
22
22
 
23
- spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
24
- `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
23
+ spec.files = Dir.chdir(__dir__) do
24
+ `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|\.git|\.github)/}) }
25
25
  end
26
26
  spec.bindir = 'libexec'
27
27
  spec.executables = ['erb']
data/lib/erb/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
  class ERB
3
3
  # The string \ERB version.
4
- VERSION = '6.0.2'
4
+ VERSION = '6.0.3'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: erb
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.0.2
4
+ version: 6.0.3
5
5
  platform: java
6
6
  authors:
7
7
  - Masatoshi SEKI
@@ -20,12 +20,6 @@ extensions: []
20
20
  extra_rdoc_files: []
21
21
  files:
22
22
  - ".document"
23
- - ".github/dependabot.yml"
24
- - ".github/release.yml"
25
- - ".github/workflows/dependabot_automerge.yml"
26
- - ".github/workflows/push-gem.yml"
27
- - ".github/workflows/sync-ruby.yml"
28
- - ".github/workflows/test.yml"
29
23
  - ".gitignore"
30
24
  - ".rdoc_options"
31
25
  - BSDL
@@ -55,7 +49,7 @@ licenses:
55
49
  metadata:
56
50
  homepage_uri: https://github.com/ruby/erb
57
51
  source_code_uri: https://github.com/ruby/erb
58
- changelog_uri: https://github.com/ruby/erb/blob/v6.0.2/NEWS.md
52
+ changelog_uri: https://github.com/ruby/erb/blob/v6.0.3/NEWS.md
59
53
  rdoc_options: []
60
54
  require_paths:
61
55
  - lib
@@ -1,6 +0,0 @@
1
- version: 2
2
- updates:
3
- - package-ecosystem: 'github-actions'
4
- directory: '/'
5
- schedule:
6
- interval: 'monthly'
data/.github/release.yml DELETED
@@ -1,4 +0,0 @@
1
- changelog:
2
- exclude:
3
- labels:
4
- - dependencies # Added by Dependabot
@@ -1,30 +0,0 @@
1
- name: Dependabot auto-merge
2
- on:
3
- pull_request:
4
-
5
- permissions:
6
- contents: write
7
- pull-requests: write
8
-
9
- jobs:
10
- automerge:
11
- runs-on: ubuntu-latest
12
- if: github.event.pull_request.user.login == 'dependabot[bot]' && github.repository == 'ruby/erb'
13
- steps:
14
- - name: Dependabot metadata
15
- uses: dependabot/fetch-metadata@v2
16
- id: metadata
17
-
18
- - name: Wait for status checks
19
- uses: lewagon/wait-on-check-action@v1
20
- with:
21
- repo-token: ${{ secrets.GITHUB_TOKEN }}
22
- ref: ${{ github.event.pull_request.head.sha || github.sha }}
23
- check-regexp: 'build \(.*\)'
24
- wait-interval: 30
25
-
26
- - name: Auto-merge for Dependabot PRs
27
- run: gh pr merge --auto --rebase "$PR_URL"
28
- env:
29
- PR_URL: ${{ github.event.pull_request.html_url }}
30
- GITHUB_TOKEN: ${{ secrets.MATZBOT_DEPENDABOT_MERGE_TOKEN }}
@@ -1,51 +0,0 @@
1
- name: Publish gem to rubygems.org
2
-
3
- on:
4
- push:
5
- tags:
6
- - 'v*'
7
-
8
- permissions:
9
- contents: read
10
-
11
- jobs:
12
- push:
13
- if: github.repository_owner == 'ruby'
14
- runs-on: ubuntu-latest
15
- strategy:
16
- matrix:
17
- ruby: [ruby, jruby]
18
- fail-fast: false
19
-
20
- environment:
21
- name: rubygems.org
22
- url: https://rubygems.org/gems/erb
23
-
24
- permissions:
25
- contents: write
26
- id-token: write
27
-
28
- steps:
29
- - name: Harden Runner
30
- uses: step-security/harden-runner@e3f713f2d8f53843e71c69a996d56f51aa9adfb9 # v2.14.1
31
- with:
32
- egress-policy: audit
33
-
34
- - uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
35
-
36
- - name: Set up Ruby
37
- uses: ruby/setup-ruby@d5126b9b3579e429dd52e51e68624dda2e05be25 # v1.267.0
38
- with:
39
- bundler-cache: true
40
- ruby-version: ${{ matrix.ruby }}
41
-
42
- - name: Publish to RubyGems
43
- uses: rubygems/release-gem@1c162a739e8b4cb21a676e97b087e8268d8fc40b # v1.1.2
44
-
45
- - name: Create GitHub release
46
- run: |
47
- tag_name="$(git describe --tags --abbrev=0)"
48
- gh release create "${tag_name}" --verify-tag --generate-notes
49
- env:
50
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
51
- if: ${{ matrix.ruby == 'ruby' }}
@@ -1,33 +0,0 @@
1
- name: Sync ruby
2
- on:
3
- push:
4
- branches: [master]
5
- jobs:
6
- sync:
7
- name: Sync ruby
8
- runs-on: ubuntu-latest
9
- if: ${{ github.repository_owner == 'ruby' }}
10
- steps:
11
- - uses: actions/checkout@v6
12
-
13
- - name: Create GitHub App token
14
- id: app-token
15
- uses: actions/create-github-app-token@v2
16
- with:
17
- app-id: 2060836
18
- private-key: ${{ secrets.RUBY_SYNC_DEFAULT_GEMS_PRIVATE_KEY }}
19
- owner: ruby
20
- repositories: ruby
21
-
22
- - name: Sync to ruby/ruby
23
- uses: convictional/trigger-workflow-and-wait@v1.6.5
24
- with:
25
- owner: ruby
26
- repo: ruby
27
- workflow_file_name: sync_default_gems.yml
28
- github_token: ${{ steps.app-token.outputs.token }}
29
- ref: master
30
- client_payload: |
31
- {"gem":"${{ github.event.repository.name }}","before":"${{ github.event.before }}","after":"${{ github.event.after }}"}
32
- propagate_failure: true
33
- wait_interval: 10
@@ -1,36 +0,0 @@
1
- name: test
2
-
3
- on:
4
- push:
5
- branches: [master]
6
- pull_request:
7
- workflow_dispatch:
8
-
9
- jobs:
10
- ruby-versions:
11
- uses: ruby/actions/.github/workflows/ruby_versions.yml@master
12
- with:
13
- engine: cruby
14
- versions: '["jruby", "truffleruby-head"]'
15
-
16
- test:
17
- needs: ruby-versions
18
- name: build (${{ matrix.ruby }} / ${{ matrix.os }})
19
- strategy:
20
- matrix:
21
- ruby: ${{ fromJson(needs.ruby-versions.outputs.versions) }}
22
- os: [ubuntu-latest]
23
- fail-fast: false
24
- runs-on: ${{ matrix.os }}
25
- steps:
26
- - uses: actions/checkout@v6
27
- - name: Set up Ruby
28
- uses: ruby/setup-ruby@v1
29
- with:
30
- ruby-version: ${{ matrix.ruby }}
31
- bundler-cache: true
32
- - name: Run test
33
- run: bundle exec rake test
34
- - name: RDoc coverage
35
- run: |
36
- rdoc -C --visibility=private .