railties 7.0.7 → 7.0.8.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3fe5f34e3dc88b67c68974ca74f6144771dff0933968daeba86d3aeff0220c30
4
- data.tar.gz: 7c2633262d61be8f5b964d7e9b614614ce885c5b41e0c341e35207fd902c284d
3
+ metadata.gz: 71a0491ecd3a75b247a27c2049649070ad748675e9343920abefbce8c31a39c5
4
+ data.tar.gz: 19bdff098673b6791eb12bb2352c959a18980760eae0d8cfad0acfc90b24a352
5
5
  SHA512:
6
- metadata.gz: 4deed5f007927fbe9c543f96b15a6e22a206fec1e3b6931d21a4d3c3dbf979a3bed5ef2b9432c159ac5445f0c21004f9299b4800ba5b5b6f979af86067be6ca5
7
- data.tar.gz: 2734c739e10923f5b8bc93b83ce16021c07426f813a060a969634b56db2dafc2aa50963d83973151f73791b4bfd68eeb972977e52237ef5cf8f1432ea044f00a
6
+ metadata.gz: 8cbb6b8f62c8ff934d10d5cb2b9e14820e459f13df00604ff7dd4353aa067ac20f85ec6323c05259f1dad946ca5fbb6dfb43711b7cb7fa88c6ff0961d0a38578
7
+ data.tar.gz: a549ac69f5fe9a84989ea3049628e19d22ea00f8f48a9b1292f9067e2826db9aef927cc54d94127401b7f0efd7234314af5321564151faf45ad0feaf65f8f770
data/CHANGELOG.md CHANGED
@@ -1,3 +1,49 @@
1
+ ## Rails 7.0.8.6 (October 23, 2024) ##
2
+
3
+ * No changes.
4
+
5
+
6
+ ## Rails 7.0.8.5 (October 15, 2024) ##
7
+
8
+ * No changes.
9
+
10
+
11
+ ## Rails 7.0.8.4 (June 04, 2024) ##
12
+
13
+ * No changes.
14
+
15
+
16
+ ## Rails 7.0.8.3 (May 17, 2024) ##
17
+
18
+ * No changes.
19
+
20
+
21
+ ## Rails 7.0.8.2 (May 16, 2024) ##
22
+
23
+ * No changes.
24
+
25
+
26
+ ## Rails 7.0.8.1 (February 21, 2024) ##
27
+
28
+ * No changes.
29
+
30
+
31
+ ## Rails 7.0.8 (September 09, 2023) ##
32
+
33
+ * Omit `webdrivers` gem dependency from `Gemfile` template
34
+
35
+ *Sean Doyle*
36
+
37
+ ## Rails 7.0.7.2 (August 22, 2023) ##
38
+
39
+ * No changes.
40
+
41
+
42
+ ## Rails 7.0.7.1 (August 22, 2023) ##
43
+
44
+ * No changes.
45
+
46
+
1
47
  ## Rails 7.0.7 (August 09, 2023) ##
2
48
 
3
49
  * Update default scaffold templates to set 303 (See Other) as status code
@@ -9,8 +9,8 @@ module Rails
9
9
  module VERSION
10
10
  MAJOR = 7
11
11
  MINOR = 0
12
- TINY = 7
13
- PRE = nil
12
+ TINY = 8
13
+ PRE = "6"
14
14
 
15
15
  STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
16
16
  end
@@ -63,6 +63,8 @@ group :test do
63
63
  # Use system testing [https://guides.rubyonrails.org/testing.html#system-testing]
64
64
  gem "capybara"
65
65
  gem "selenium-webdriver"
66
+ <%- if RUBY_VERSION < "3.0" -%>
66
67
  gem "webdrivers"
68
+ <% end %>
67
69
  end
68
70
  <%- 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: 7.0.7
4
+ version: 7.0.8.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Heinemeier Hansson
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-08-09 00:00:00.000000000 Z
11
+ date: 2024-10-23 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.8.6
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.8.6
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.8.6
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.8.6
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.8.6
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.8.6
111
111
  description: 'Rails internals: application bootup, plugins, generators, and rake tasks.'
112
112
  email: david@loudthinking.com
113
113
  executables:
@@ -422,12 +422,12 @@ 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.8.6/railties/CHANGELOG.md
426
+ documentation_uri: https://api.rubyonrails.org/v7.0.8.6/
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.8.6/railties
429
429
  rubygems_mfa_required: 'true'
430
- post_install_message:
430
+ post_install_message:
431
431
  rdoc_options:
432
432
  - "--exclude"
433
433
  - "."
@@ -444,8 +444,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
444
444
  - !ruby/object:Gem::Version
445
445
  version: '0'
446
446
  requirements: []
447
- rubygems_version: 3.4.10
448
- signing_key:
447
+ rubygems_version: 3.5.16
448
+ signing_key:
449
449
  specification_version: 4
450
450
  summary: Tools for creating, working with, and running Rails applications.
451
451
  test_files: []