erb 6.0.1.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 +4 -4
- data/.github/release.yml +4 -0
- data/.github/workflows/push-gem.yml +1 -1
- data/NEWS.md +2 -2
- data/README.md +2 -2
- data/lib/erb/version.rb +1 -1
- data/lib/erb.rb +1 -3
- metadata +4 -3
- /data/{BDSL → BSDL} +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4637930a7467c1119aa688421e6e5e27ae740509da3bfd9ea10fcb7149f86587
|
|
4
|
+
data.tar.gz: d0447e52a8e7a1487418a2be2de6d64de17c656dad647595543d951de1444fda
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5f7e12facd027c5eb69de14c33f4a45c1ff5bd112898e597595fe6bc74947d207a8cb0db60ac64265fb28536790f20d6e60005afcd0264590bbf282ba53714f6
|
|
7
|
+
data.tar.gz: a8075c4f70eb6e9993431b2913998681ea31c54cc56e14f25299b158abe072a43a41cc2657795b628c34afa4976afac520a12f2cee47d957b9410871f1b08515
|
data/.github/release.yml
ADDED
data/NEWS.md
CHANGED
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
|
-
|
|
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
|
|
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
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
|
|
@@ -1086,9 +1087,6 @@ class ERB
|
|
|
1086
1087
|
# ```
|
|
1087
1088
|
#
|
|
1088
1089
|
def def_method(mod, methodname, fname='(ERB)')
|
|
1089
|
-
unless @_init.equal?(self.class.singleton_class)
|
|
1090
|
-
raise ArgumentError, "not initialized"
|
|
1091
|
-
end
|
|
1092
1090
|
src = self.src.sub(/^(?!#|$)/) {"def #{methodname}\n"} << "\nend\n"
|
|
1093
1091
|
mod.module_eval do
|
|
1094
1092
|
eval(src, binding, fname, -1)
|
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.
|
|
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
|
-
-
|
|
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.
|
|
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
|