erb 6.0.1 → 6.0.2

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: 5ab026054417af85a9a1ed3b4c13baf164c372ad658eca2e3268b9a2274ac7bc
4
- data.tar.gz: fa4a74443e4fc60595fe1866156bd9f1cafe8af1af87855d4cd0ff26d505152a
3
+ metadata.gz: ac01e59591c3650d2a79080161f086a58a5ee6ab5d5633d57cfbc452b91da28b
4
+ data.tar.gz: '092313e6acc991af7182703476d31b7cb724c95cac1fa9ad8b0a422745e2c985'
5
5
  SHA512:
6
- metadata.gz: 88e13e5d324d17e53d22aa6e2ca8aeb40499d91b43d5773e3717442dff92555d0af8feb17ea3010f299f11e738bacd1f110db3e5020a3fc90b3cdf593681722c
7
- data.tar.gz: 3873dec50bbb24b9701a7f0728e7b82680dc3971252a8b35216d17a75d8c8887d4747acdf914a8707897824d2e6eb9efaaf2ecd970cd5162e846755d4dfb22fe
6
+ metadata.gz: 1ecc49906929716abf47d59ac7086dc10c205f073533e35181bd2e703ce4c8f5e1f2d93a9bafd4cc640c0a9ed92fbe536aa969457aded80d641dffa9e7952f61
7
+ data.tar.gz: ded8eb9ec0f62253490b2af5f5b89c2a1cc949de5bd6d25df936d38402a415cf5f7c3385e1ce0cd7ac02bd301ab8b1804c6e17e6e5f56cc12b9757c3ff2363c3
@@ -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: ruby
6
6
  authors:
7
7
  - Masatoshi SEKI
@@ -22,13 +22,14 @@ extra_rdoc_files: []
22
22
  files:
23
23
  - ".document"
24
24
  - ".github/dependabot.yml"
25
+ - ".github/release.yml"
25
26
  - ".github/workflows/dependabot_automerge.yml"
26
27
  - ".github/workflows/push-gem.yml"
27
28
  - ".github/workflows/sync-ruby.yml"
28
29
  - ".github/workflows/test.yml"
29
30
  - ".gitignore"
30
31
  - ".rdoc_options"
31
- - BDSL
32
+ - BSDL
32
33
  - COPYING
33
34
  - Gemfile
34
35
  - LICENSE.txt
@@ -55,7 +56,7 @@ licenses:
55
56
  metadata:
56
57
  homepage_uri: https://github.com/ruby/erb
57
58
  source_code_uri: https://github.com/ruby/erb
58
- changelog_uri: https://github.com/ruby/erb/blob/v6.0.1/NEWS.md
59
+ changelog_uri: https://github.com/ruby/erb/blob/v6.0.2/NEWS.md
59
60
  rdoc_options: []
60
61
  require_paths:
61
62
  - lib
/data/{BDSL → BSDL} RENAMED
File without changes