erb 2.2.1 → 2.2.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/NEWS.md +4 -0
  3. data/lib/erb.rb +2 -1
  4. data/lib/erb/version.rb +1 -1
  5. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '01739493c4f94b1cbd857610841a3624128b27169fa240f53e2330c2872f2529'
4
- data.tar.gz: 7a2c9c412d89a60b667693430817954d51d64d847281abdfdf10e30744d667e5
3
+ metadata.gz: 8f3996670474a52bba08a0a8cdeba934a01d09fb7a45047ad14de049823cea90
4
+ data.tar.gz: e23035811fc69fb375930eb155ecbf47b67e7991ba7c96fd3c95d6f823e58b6b
5
5
  SHA512:
6
- metadata.gz: a41631d80b14792baec004808d717a404efce49af75e345527ebca67e30f2823c3a5afd5409f625865b616535ef18a205e9c26ecfeabe2693e251c252e360cf4
7
- data.tar.gz: c40541520a0c5d1b74c6baa973eb85d77b13d06857081eadc0b9df703c7314b6f9f895c73cc50500dd1dc91b73e53f2b66828449c142e81b9001d64a16efc8e1
6
+ metadata.gz: '09a2991c267e42f6b46f9c629db1596c3238a711e409099c1b50874ded8752d1dd64a9828b6eaec79796b06dab92d402d408c97b24a06eda3e4b12bb8c9e49ac'
7
+ data.tar.gz: 4341ca9b16e9e646121dd7e2da710156c6ce71a15983b6c12daaad6fc43fec918b4c57b15b933ff7e6a94a32894e8a458f580f3371300253cb36aaf955b2e07c
data/NEWS.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Change Log
2
2
 
3
+ ## 2.2.1
4
+
5
+ - `ERB#initialize` warns `safe_level` and later arguments even without -w
6
+
3
7
  ## 2.2.0
4
8
 
5
9
  - Ruby 3.0 promoted ERB to a default gem
data/lib/erb.rb CHANGED
@@ -258,10 +258,11 @@ require 'erb/version'
258
258
  #
259
259
  class ERB
260
260
  Revision = '$Date:: $' # :nodoc: #'
261
+ deprecate_constant :Revision
261
262
 
262
263
  # Returns revision information for the erb.rb module.
263
264
  def self.version
264
- "erb.rb [#{VERSION} #{ERB::Revision.split[1]}]"
265
+ VERSION
265
266
  end
266
267
  end
267
268
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
  class ERB
3
- VERSION = '2.2.1'
3
+ VERSION = '2.2.2'
4
4
  private_constant :VERSION
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: 2.2.1
4
+ version: 2.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Masatoshi SEKI