railties 6.1.7.3 → 6.1.7.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 41d2b732e4a3e67d8434ef18fb9a1b7a0370b6967a6fbb4654a5ab50e6f456cc
4
- data.tar.gz: f4e86df24fae7f27d8b0ffd8504c83367c77e6f43621e3263d67835ddf55d29a
3
+ metadata.gz: 5eb9db788c96f6198a6cbc23783bf379ddca72ca4abf011fc34434b626046f91
4
+ data.tar.gz: 1fa83fa05bf375a9b35b2e7f5306abcaae52dadc74a6545634bf02912f326ebe
5
5
  SHA512:
6
- metadata.gz: 9341fabc2634cb56b87e53452dd81f39aa3be199febda9f0b3294919e68174c8cd83510caf95f0a8b82eed5af9f5c0f0dceeef2eeab418f03f1d148e25502a96
7
- data.tar.gz: 3fa9eb08936ff50cb3de97b8037421045dc1da23fbc87bb437ab67c5043d207140ccaff5a43540a610b1d09bd3f4902fb2d7354d73cb1c4427675dabbd19483c
6
+ metadata.gz: c79f2c2747449b12b35c3755d11938fc8d29bdcdc87b50d36e7d79beabfa41f306bd2d4595dbc33e83788ea8b392a884f435a7d99f7de63cfabd6bf161e71382
7
+ data.tar.gz: e50cb09292e0fa3a3ec5d84324af7d40ead6d19f6a104f2345120960b16b730fd338c9d0fc28f17243ca3762c279b93361a308e1d5b75b510ce0faf8e696f922
data/CHANGELOG.md CHANGED
@@ -1,3 +1,13 @@
1
+ ## Rails 6.1.7.5 (August 22, 2023) ##
2
+
3
+ * No changes.
4
+
5
+
6
+ ## Rails 6.1.7.4 (June 26, 2023) ##
7
+
8
+ * No changes.
9
+
10
+
1
11
  ## Rails 6.1.7.3 (March 13, 2023) ##
2
12
 
3
13
  * No changes.
@@ -10,7 +10,7 @@ module Rails
10
10
  MAJOR = 6
11
11
  MINOR = 1
12
12
  TINY = 7
13
- PRE = "3"
13
+ PRE = "5"
14
14
 
15
15
  STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
16
16
  end
data/lib/rails/secrets.rb CHANGED
@@ -1,6 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require "yaml"
4
+ require "tempfile"
4
5
  require "active_support/message_encryptor"
5
6
 
6
7
  module Rails
@@ -87,17 +88,18 @@ module Rails
87
88
  end
88
89
 
89
90
  def writing(contents)
90
- tmp_file = "#{File.basename(path)}.#{Process.pid}"
91
- tmp_path = File.join(Dir.tmpdir, tmp_file)
92
- IO.binwrite(tmp_path, contents)
91
+ file_name = "#{File.basename(path)}.#{Process.pid}"
93
92
 
94
- yield tmp_path
93
+ Tempfile.create(["", "-" + file_name]) do |tmp_file|
94
+ tmp_path = Pathname.new(tmp_file)
95
+ tmp_path.binwrite contents
95
96
 
96
- updated_contents = IO.binread(tmp_path)
97
+ yield tmp_path
97
98
 
98
- write(updated_contents) if updated_contents != contents
99
- ensure
100
- FileUtils.rm(tmp_path) if File.exist?(tmp_path)
99
+ updated_contents = tmp_path.binread
100
+
101
+ write(updated_contents) if updated_contents != contents
102
+ end
101
103
  end
102
104
 
103
105
  def encryptor
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: railties
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.1.7.3
4
+ version: 6.1.7.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Heinemeier Hansson
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-03-13 00:00:00.000000000 Z
11
+ date: 2023-08-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -16,28 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 6.1.7.3
19
+ version: 6.1.7.5
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 6.1.7.3
26
+ version: 6.1.7.5
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: actionpack
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 6.1.7.3
33
+ version: 6.1.7.5
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - '='
39
39
  - !ruby/object:Gem::Version
40
- version: 6.1.7.3
40
+ version: 6.1.7.5
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rake
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -86,14 +86,14 @@ dependencies:
86
86
  requirements:
87
87
  - - '='
88
88
  - !ruby/object:Gem::Version
89
- version: 6.1.7.3
89
+ version: 6.1.7.5
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - '='
95
95
  - !ruby/object:Gem::Version
96
- version: 6.1.7.3
96
+ version: 6.1.7.5
97
97
  description: 'Rails internals: application bootup, plugins, generators, and rake tasks.'
98
98
  email: david@loudthinking.com
99
99
  executables:
@@ -426,10 +426,10 @@ licenses:
426
426
  - MIT
427
427
  metadata:
428
428
  bug_tracker_uri: https://github.com/rails/rails/issues
429
- changelog_uri: https://github.com/rails/rails/blob/v6.1.7.3/railties/CHANGELOG.md
430
- documentation_uri: https://api.rubyonrails.org/v6.1.7.3/
429
+ changelog_uri: https://github.com/rails/rails/blob/v6.1.7.5/railties/CHANGELOG.md
430
+ documentation_uri: https://api.rubyonrails.org/v6.1.7.5/
431
431
  mailing_list_uri: https://discuss.rubyonrails.org/c/rubyonrails-talk
432
- source_code_uri: https://github.com/rails/rails/tree/v6.1.7.3/railties
432
+ source_code_uri: https://github.com/rails/rails/tree/v6.1.7.5/railties
433
433
  rubygems_mfa_required: 'true'
434
434
  post_install_message:
435
435
  rdoc_options:
@@ -448,7 +448,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
448
448
  - !ruby/object:Gem::Version
449
449
  version: '0'
450
450
  requirements: []
451
- rubygems_version: 3.4.3
451
+ rubygems_version: 3.3.3
452
452
  signing_key:
453
453
  specification_version: 4
454
454
  summary: Tools for creating, working with, and running Rails applications.