erb 6.0.1-java → 6.0.2-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: abb1d9799f41fe7cd8673ecae3bc691df9644e927c759f572d865c65bb539d4c
4
- data.tar.gz: eadca2dac2ffb305bb33768062e4ccc2d28b4009d2277e0124baa4cd1895c287
3
+ metadata.gz: 4637930a7467c1119aa688421e6e5e27ae740509da3bfd9ea10fcb7149f86587
4
+ data.tar.gz: d0447e52a8e7a1487418a2be2de6d64de17c656dad647595543d951de1444fda
5
5
  SHA512:
6
- metadata.gz: 465d5f29fab99f1f96e0cac13161933aa4788a7e4b6b786ad71e5b3337fff90dd1b29aaa1d59a8c13a7936d771640834384d5d96c59e2986ad8cbebf8677dd13
7
- data.tar.gz: 0f7a7bd1c6e8cd5e88ba5ce297ef057fa29c69c021dfa8f1b9ec3d14a2bd67d16a6231244a85d2d819938acff111fd95a873d4b97f7fefbd7faadad55083009f
6
+ metadata.gz: 5f7e12facd027c5eb69de14c33f4a45c1ff5bd112898e597595fe6bc74947d207a8cb0db60ac64265fb28536790f20d6e60005afcd0264590bbf282ba53714f6
7
+ data.tar.gz: a8075c4f70eb6e9993431b2913998681ea31c54cc56e14f25299b158abe072a43a41cc2657795b628c34afa4976afac520a12f2cee47d957b9410871f1b08515
@@ -0,0 +1,4 @@
1
+ changelog:
2
+ exclude:
3
+ labels:
4
+ - dependencies # Added by Dependabot
@@ -27,7 +27,7 @@ jobs:
27
27
 
28
28
  steps:
29
29
  - name: Harden Runner
30
- uses: step-security/harden-runner@95d9a5deda9de15063e7595e9719c11c38c90ae2 # v2.13.2
30
+ uses: step-security/harden-runner@e3f713f2d8f53843e71c69a996d56f51aa9adfb9 # v2.14.1
31
31
  with:
32
32
  egress-policy: audit
33
33
 
data/NEWS.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 6.0.2
4
+
5
+ * Freeze `src` in `ERB#initialize` for Ractor compatibility
6
+
3
7
  ## 6.0.1
4
8
 
5
9
  * Freeze `ERB::Compiler::TrimScanner::ERB_STAG` for Ractor compatibility
data/README.md CHANGED
@@ -81,7 +81,7 @@ The ERB source code is in GitHub project [ruby/erb][ruby/erb].
81
81
 
82
82
  ## Bugs
83
83
 
84
- Bugs may be reported at [ERB Issues][erb issues].
84
+ Bugfixes may be filed at [ERB Pull Requests][erb pull requests].
85
85
 
86
86
  ## License
87
87
 
@@ -90,7 +90,7 @@ of the [2-Clause BSD License][2-clause bsd license].
90
90
 
91
91
  [2-clause bsd license]: https://opensource.org/licenses/BSD-2-Clause
92
92
  [erb executable]: rdoc-ref:erb_executable.md
93
- [erb issues]: https://github.com/ruby/erb/issues
93
+ [erb pull requests]: https://github.com/ruby/erb/pull
94
94
  [rdoc]: https://ruby.github.io/rdoc/
95
95
  [ruby/erb]: https://github.com/ruby/erb
96
96
  [ruby toolbox]: https://www.ruby-toolbox.com/categories/template_engines
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.1'
4
+ VERSION = '6.0.2'
5
5
  end
data/lib/erb.rb CHANGED
@@ -833,6 +833,7 @@ class ERB
833
833
  compiler = make_compiler(trim_mode)
834
834
  set_eoutvar(compiler, eoutvar)
835
835
  @src, @encoding, @frozen_string = *compiler.compile(str)
836
+ @src.freeze
836
837
  @filename = nil
837
838
  @lineno = 0
838
839
  @_init = self.class.singleton_class
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.1
4
+ version: 6.0.2
5
5
  platform: java
6
6
  authors:
7
7
  - Masatoshi SEKI
@@ -21,13 +21,14 @@ extra_rdoc_files: []
21
21
  files:
22
22
  - ".document"
23
23
  - ".github/dependabot.yml"
24
+ - ".github/release.yml"
24
25
  - ".github/workflows/dependabot_automerge.yml"
25
26
  - ".github/workflows/push-gem.yml"
26
27
  - ".github/workflows/sync-ruby.yml"
27
28
  - ".github/workflows/test.yml"
28
29
  - ".gitignore"
29
30
  - ".rdoc_options"
30
- - BDSL
31
+ - BSDL
31
32
  - COPYING
32
33
  - Gemfile
33
34
  - LICENSE.txt
@@ -54,7 +55,7 @@ licenses:
54
55
  metadata:
55
56
  homepage_uri: https://github.com/ruby/erb
56
57
  source_code_uri: https://github.com/ruby/erb
57
- changelog_uri: https://github.com/ruby/erb/blob/v6.0.1/NEWS.md
58
+ changelog_uri: https://github.com/ruby/erb/blob/v6.0.2/NEWS.md
58
59
  rdoc_options: []
59
60
  require_paths:
60
61
  - lib
/data/{BDSL → BSDL} RENAMED
File without changes