railties 6.1.7.4 → 6.1.7.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/rails/gem_version.rb +1 -1
- data/lib/rails/secrets.rb +10 -8
- metadata +11 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5eb9db788c96f6198a6cbc23783bf379ddca72ca4abf011fc34434b626046f91
|
4
|
+
data.tar.gz: 1fa83fa05bf375a9b35b2e7f5306abcaae52dadc74a6545634bf02912f326ebe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c79f2c2747449b12b35c3755d11938fc8d29bdcdc87b50d36e7d79beabfa41f306bd2d4595dbc33e83788ea8b392a884f435a7d99f7de63cfabd6bf161e71382
|
7
|
+
data.tar.gz: e50cb09292e0fa3a3ec5d84324af7d40ead6d19f6a104f2345120960b16b730fd338c9d0fc28f17243ca3762c279b93361a308e1d5b75b510ce0faf8e696f922
|
data/CHANGELOG.md
CHANGED
data/lib/rails/gem_version.rb
CHANGED
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
|
-
|
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
|
-
|
93
|
+
Tempfile.create(["", "-" + file_name]) do |tmp_file|
|
94
|
+
tmp_path = Pathname.new(tmp_file)
|
95
|
+
tmp_path.binwrite contents
|
95
96
|
|
96
|
-
|
97
|
+
yield tmp_path
|
97
98
|
|
98
|
-
|
99
|
-
|
100
|
-
|
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.
|
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-
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
430
|
-
documentation_uri: https://api.rubyonrails.org/v6.1.7.
|
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.
|
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:
|