railties 7.0.7 → 7.0.7.1
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 +12 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 29c788f0597d95e435666b8d469c439122d87d8643e0c2da3955645dfcac0dc0
|
4
|
+
data.tar.gz: 1767fefa84adbbbab1258c827389f10d0e1c03327a97364bb60970f427437e46
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 97cee633895b116541db1c351f096b7792821d294b920d2e1c93514cbf58d35bced6c924e5b157913ed648d61b1e197fda83a881d49736cc493b89276a873d94
|
7
|
+
data.tar.gz: 35795f975229f38cb2a0fcb7cc850e557158913f1e65a47c759431558649b7b2a16b976813a64df8b8c85191e6a64efeb60303448291304edb13c4c9332e9248
|
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: 7.0.7
|
4
|
+
version: 7.0.7.1
|
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-08-
|
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: 7.0.7
|
19
|
+
version: 7.0.7.1
|
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: 7.0.7
|
26
|
+
version: 7.0.7.1
|
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: 7.0.7
|
33
|
+
version: 7.0.7.1
|
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: 7.0.7
|
40
|
+
version: 7.0.7.1
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rake
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -100,14 +100,14 @@ dependencies:
|
|
100
100
|
requirements:
|
101
101
|
- - '='
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version: 7.0.7
|
103
|
+
version: 7.0.7.1
|
104
104
|
type: :development
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
108
|
- - '='
|
109
109
|
- !ruby/object:Gem::Version
|
110
|
-
version: 7.0.7
|
110
|
+
version: 7.0.7.1
|
111
111
|
description: 'Rails internals: application bootup, plugins, generators, and rake tasks.'
|
112
112
|
email: david@loudthinking.com
|
113
113
|
executables:
|
@@ -422,10 +422,10 @@ licenses:
|
|
422
422
|
- MIT
|
423
423
|
metadata:
|
424
424
|
bug_tracker_uri: https://github.com/rails/rails/issues
|
425
|
-
changelog_uri: https://github.com/rails/rails/blob/v7.0.7/railties/CHANGELOG.md
|
426
|
-
documentation_uri: https://api.rubyonrails.org/v7.0.7/
|
425
|
+
changelog_uri: https://github.com/rails/rails/blob/v7.0.7.1/railties/CHANGELOG.md
|
426
|
+
documentation_uri: https://api.rubyonrails.org/v7.0.7.1/
|
427
427
|
mailing_list_uri: https://discuss.rubyonrails.org/c/rubyonrails-talk
|
428
|
-
source_code_uri: https://github.com/rails/rails/tree/v7.0.7/railties
|
428
|
+
source_code_uri: https://github.com/rails/rails/tree/v7.0.7.1/railties
|
429
429
|
rubygems_mfa_required: 'true'
|
430
430
|
post_install_message:
|
431
431
|
rdoc_options:
|
@@ -444,7 +444,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
444
444
|
- !ruby/object:Gem::Version
|
445
445
|
version: '0'
|
446
446
|
requirements: []
|
447
|
-
rubygems_version: 3.
|
447
|
+
rubygems_version: 3.3.3
|
448
448
|
signing_key:
|
449
449
|
specification_version: 4
|
450
450
|
summary: Tools for creating, working with, and running Rails applications.
|