railties 6.1.7.3 → 6.1.7.8

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: 6184b0cc9202a0669f6e9aed4270355fe25bcef5c6976965dfe22a1f61ab1a36
4
+ data.tar.gz: 911d6343196dafa4eb6c8243c841c9aa91254ee6b632e51727796e91f2b3b612
5
5
  SHA512:
6
- metadata.gz: 9341fabc2634cb56b87e53452dd81f39aa3be199febda9f0b3294919e68174c8cd83510caf95f0a8b82eed5af9f5c0f0dceeef2eeab418f03f1d148e25502a96
7
- data.tar.gz: 3fa9eb08936ff50cb3de97b8037421045dc1da23fbc87bb437ab67c5043d207140ccaff5a43540a610b1d09bd3f4902fb2d7354d73cb1c4427675dabbd19483c
6
+ metadata.gz: 9f0f7b27a225d7c6ea4b546a07ae929ee2531dd37463c8d13ec2cf683caee0308402c1e429d5d348a69ab5d2837e591329976a0487d024e07cc2fc471b6abd68
7
+ data.tar.gz: 3d74667f329190961bffb8f490337671988ef42aa2eb5b0a30199c56055fc08b915468df5ad9e57b1d48cfb9379a7f578c57ca12018862b2267ac720c9cc32aa
data/CHANGELOG.md CHANGED
@@ -1,3 +1,28 @@
1
+ ## Rails 6.1.7.8 (June 04, 2024) ##
2
+
3
+ * No changes.
4
+
5
+
6
+ ## Rails 6.1.7.7 (February 21, 2024) ##
7
+
8
+ * No changes.
9
+
10
+
11
+ ## Rails 6.1.7.6 (August 22, 2023) ##
12
+
13
+ * No changes.
14
+
15
+
16
+ ## Rails 6.1.7.5 (August 22, 2023) ##
17
+
18
+ * No changes.
19
+
20
+
21
+ ## Rails 6.1.7.4 (June 26, 2023) ##
22
+
23
+ * No changes.
24
+
25
+
1
26
  ## Rails 6.1.7.3 (March 13, 2023) ##
2
27
 
3
28
  * 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 = "8"
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.8
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: 2024-06-04 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.8
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.8
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.8
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.8
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.8
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.8
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.8/railties/CHANGELOG.md
430
+ documentation_uri: https://api.rubyonrails.org/v6.1.7.8/
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.8/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.27
452
452
  signing_key:
453
453
  specification_version: 4
454
454
  summary: Tools for creating, working with, and running Rails applications.