railties 6.1.2.1 → 6.1.3

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: 339e6a52c89070a2b91b474c6f43755163c7057cb4593d6f379c8f5c963ae260
4
- data.tar.gz: 0136fc6b6f1339ff46128e050109d685e8a495c07659e3fd99b619f2a6145331
3
+ metadata.gz: 55150c81c10ad3400b9efd1be5186e637b051bebfa22c5f0d7e7ea2b99a7596c
4
+ data.tar.gz: c5a1f224c6709b3cb3b15cb77ef4e8b0154986b22dead106571918f796a675e7
5
5
  SHA512:
6
- metadata.gz: 43f0006109cf8879cbca3c630a0192e5db7a43c7e39f8137e0a0a1429ae7b4f0c9046f79f2c7fd5388ac1e564bf58665d3b5bea9175cb62dfd065b44152c407e
7
- data.tar.gz: f31fc0acd29058689ec4a1b8e3281b2a4d2409522988b941624628455ac7573c263af7ec7661366e5500cc2ddef41d4f20d9049fc15ec41f40c7ca8dc843bc8e
6
+ metadata.gz: d0e8a704a36ca741bf4441fe33558be0a76a8069d6d8c1b1daacaa3621134542d9058c3ae2b979dfb19882c6d058dfff771be2f5640328cd253a8f12dcf5865e
7
+ data.tar.gz: f5017766dcc4a5bde98b86e161320c511c237083d98c854dbc47ca18f62d4c0133463bafa8cc4b8b21fee336d6932b71d31be5b38401f57aa8a6687fbcad5d09
data/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ ## Rails 6.1.3 (February 17, 2021) ##
2
+
3
+ * No changes.
4
+
5
+
1
6
  ## Rails 6.1.2.1 (February 10, 2021) ##
2
7
 
3
8
  * No changes.
@@ -9,8 +9,8 @@ module Rails
9
9
  module VERSION
10
10
  MAJOR = 6
11
11
  MINOR = 1
12
- TINY = 2
13
- PRE = "1"
12
+ TINY = 3
13
+ PRE = nil
14
14
 
15
15
  STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
16
16
  end
@@ -301,7 +301,7 @@ module Rails
301
301
  ]
302
302
  elsif options.edge?
303
303
  [
304
- GemfileEntry.github("rails", "rails/rails", "main")
304
+ GemfileEntry.github("rails", "rails/rails", "6-1-stable")
305
305
  ]
306
306
  elsif options.master?
307
307
  [
@@ -429,11 +429,19 @@ module Rails
429
429
  end
430
430
 
431
431
  def run_webpack
432
- if webpack_install?
433
- rails_command "webpacker:install"
434
- if options[:webpack] && options[:webpack] != "webpack"
435
- rails_command "webpacker:install:#{options[:webpack]}"
436
- end
432
+ return unless webpack_install?
433
+
434
+ unless bundle_install?
435
+ say <<~EXPLAIN
436
+ Skipping `rails webpacker:install` because `bundle install` was skipped.
437
+ To complete setup, you must run `bundle install` followed by `rails webpacker:install`.
438
+ EXPLAIN
439
+ return
440
+ end
441
+
442
+ rails_command "webpacker:install"
443
+ if options[:webpack] && options[:webpack] != "webpack"
444
+ rails_command "webpacker:install:#{options[:webpack]}"
437
445
  end
438
446
  end
439
447
 
@@ -104,9 +104,7 @@ module Rails
104
104
  end
105
105
 
106
106
  def yarn_when_updating
107
- return if File.exist?("bin/yarn")
108
-
109
- template "bin/yarn" do |content|
107
+ template "bin/yarn", force: true do |content|
110
108
  "#{shebang}\n" + content
111
109
  end
112
110
 
@@ -3,7 +3,7 @@ if !defined?(Spring) && [nil, "development", "test"].include?(ENV["RAILS_ENV"])
3
3
  require "bundler"
4
4
 
5
5
  # Load Spring without loading other gems in the Gemfile, for speed.
6
- Bundler.locked_gems.specs.find { |spec| spec.name == "spring" }&.tap do |spring|
6
+ Bundler.locked_gems&.specs&.find { |spec| spec.name == "spring" }&.tap do |spring|
7
7
  Gem.use_paths Gem.dir, Bundler.bundle_path.to_s, *Gem.path
8
8
  gem "spring", spring.version
9
9
  require "spring/binstub"
@@ -72,7 +72,7 @@ module Rails
72
72
  #
73
73
  # See <tt>#find_in</tt> for a list of file extensions that will be taken into account.
74
74
  #
75
- # This class method is the single entry point for the `rails notes` command.
75
+ # This class method is the single entry point for the <tt>rails notes</tt> command.
76
76
  def self.enumerate(tag = nil, options = {})
77
77
  tag ||= Annotation.tags.join("|")
78
78
  extractor = new(tag)
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.2.1
4
+ version: 6.1.3
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: 2021-02-10 00:00:00.000000000 Z
11
+ date: 2021-02-17 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.2.1
19
+ version: 6.1.3
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.2.1
26
+ version: 6.1.3
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.2.1
33
+ version: 6.1.3
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.2.1
40
+ version: 6.1.3
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.2.1
89
+ version: 6.1.3
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.2.1
96
+ version: 6.1.3
97
97
  description: 'Rails internals: application bootup, plugins, generators, and rake tasks.'
98
98
  email: david@loudthinking.com
99
99
  executables:
@@ -426,11 +426,11 @@ 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.2.1/railties/CHANGELOG.md
430
- documentation_uri: https://api.rubyonrails.org/v6.1.2.1/
429
+ changelog_uri: https://github.com/rails/rails/blob/v6.1.3/railties/CHANGELOG.md
430
+ documentation_uri: https://api.rubyonrails.org/v6.1.3/
431
431
  mailing_list_uri: https://discuss.rubyonrails.org/c/rubyonrails-talk
432
- source_code_uri: https://github.com/rails/rails/tree/v6.1.2.1/railties
433
- post_install_message:
432
+ source_code_uri: https://github.com/rails/rails/tree/v6.1.3/railties
433
+ post_install_message:
434
434
  rdoc_options:
435
435
  - "--exclude"
436
436
  - "."
@@ -447,8 +447,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
447
447
  - !ruby/object:Gem::Version
448
448
  version: '0'
449
449
  requirements: []
450
- rubygems_version: 3.0.3
451
- signing_key:
450
+ rubygems_version: 3.2.3
451
+ signing_key:
452
452
  specification_version: 4
453
453
  summary: Tools for creating, working with, and running Rails applications.
454
454
  test_files: []