refrigerator 1.4.0 → 1.4.1

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/CHANGELOG +4 -0
  3. data/MIT-LICENSE +1 -1
  4. data/lib/refrigerator.rb +1 -0
  5. metadata +4 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 39830c719366bd0e689b7a784879bd834e20f9f410a01aee24adb3bd5b7368ed
4
- data.tar.gz: 7fd6dda21287843f916a63283a2aa9178aec16c89fff5c6bbd24b98e9d14ad67
3
+ metadata.gz: f50c5cac70517434571dcc50228ce88acf013de728fd3cbf4bf4f46a73141ff6
4
+ data.tar.gz: 79189cfdf9a9d05b7142c4c2e1f4a121ac5af4e948c97fd096a904345bcb3d03
5
5
  SHA512:
6
- metadata.gz: ae3d653e46d339c4b50417de2fff4bb8787c7595fc73ca5d66434533419a6a8afdf262dcac33b8b1e85f9828bcc414a5b96ca100f15fb52c1ca15c54a3aeac5c
7
- data.tar.gz: 9a480c31c4a4ffccc58b3ebae576347eae7e70a39ba78978bda81fad767ad098ad2a367d26edcec1b39577a956190a63640c349a8016f3bc0284e38a638bdd82
6
+ metadata.gz: 4098cb941aa128fcf8af272f5f800141c2bb284015306ac7792016326cb3c788ddada67e48d10d4810f7b48b82cb7bc9824165dd26ddfc66fbd8c31ca2bc1f93
7
+ data.tar.gz: bd17d0295721f3605e19b6460ad10ba3955380616fe3a1b855c1b35ccf1936e559f31d1e23db98b477a1e5288eb51e89850e15b468b1c3ef3517b48af2f1ad1a
data/CHANGELOG CHANGED
@@ -1,3 +1,7 @@
1
+ === 1.4.1 (2022-02-18)
2
+
3
+ * Freeze constants in reverse order, fixes issues with rubygems starting in Ruby 3.1.1 (jeremyevans)
4
+
1
5
  === 1.4.0 (2021-12-25)
2
6
 
3
7
  * Support new classes and modules in Ruby 3.1 (jeremyevans)
data/MIT-LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2017-2021 Jeremy Evans
1
+ Copyright (c) 2017-2022 Jeremy Evans
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining a copy
4
4
  of this software and associated documentation files (the "Software"), to
data/lib/refrigerator.rb CHANGED
@@ -8,6 +8,7 @@ module Refrigerator
8
8
  split(/\s+/).
9
9
  select{|m| eval("defined?(#{m})")}.
10
10
  each(&:freeze).
11
+ reverse.
11
12
  freeze
12
13
 
13
14
  # Default frozen options hash
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: refrigerator
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.0
4
+ version: 1.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeremy Evans
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-12-25 00:00:00.000000000 Z
11
+ date: 2022-02-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: minitest
@@ -42,7 +42,7 @@ description: |
42
42
  Refrigerator freezes all core classes. It is designed to be used
43
43
  in production, to make sure that none of the core classes are
44
44
  modified at runtime. It can also be used to check libraries to
45
- make sure that don't make unexpected modifications/monkey patches
45
+ make sure that they don't make unexpected modifications/monkey patches
46
46
  to core classes.
47
47
  email: code@jeremyevans.net
48
48
  executables:
@@ -101,7 +101,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
101
101
  - !ruby/object:Gem::Version
102
102
  version: '0'
103
103
  requirements: []
104
- rubygems_version: 3.3.3
104
+ rubygems_version: 3.3.7
105
105
  signing_key:
106
106
  specification_version: 4
107
107
  summary: Freeze all core ruby classes