railties 6.0.0 → 6.0.1.rc1

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: 2b04a08eb82e879b82eedd995b752a67d28034ca4e739d85af4a3150cf13f78a
4
- data.tar.gz: 2623b97396462dcedff1b752f1f4e22f96a41002b72c3bae0e09bf6fe8a6d16c
3
+ metadata.gz: d6572c25a1151fa7278fbf9a16f9a74550fa0a9ddc415ccfc79a1974a75ed96f
4
+ data.tar.gz: d689161b04f03c42b54b544cd70aa50c66d7977f928956d8a85d6de7f12652f5
5
5
  SHA512:
6
- metadata.gz: ff9939eadf0ff8eb72a75d5d74cae7ad54df7947e3b0a1dcefe03bcd53c06c510034e52bad63db94530abf245bc72e90600f19a7077632e8d4ba4b5de50a8fe0
7
- data.tar.gz: 0b29fe874bf1a37eca8377cec2e3ecfd96d3d97bf4b8907995eb26f476b62aee22143b9f9375a05c946d6a75953e8dc95c1f5005a1b81df664fd1321d9aed709
6
+ metadata.gz: 94e43137bb2e2bc8bc71e960f25850cb04d67ae61ca5bb298f11319be5b48e10b5c0e84f6235be55e03c228026b59e4d2e182fe1e6abfdc51e1ed2511e363eb7
7
+ data.tar.gz: cacc3d9e85bca3b48590429d72f58c0c1be2c6050a2d726512e5a967c61ab8027fc6ff2da6fd0e6d0d796d5910194ffcbb8fe270cb31859eaaa4e6ca55d04940
@@ -1,3 +1,25 @@
1
+ ## Rails 6.0.1.rc1 (October 31, 2019) ##
2
+
3
+ * The `zeitwerk:check` Rake task reports files outside the app's root
4
+ directory, as in engines loaded from gems.
5
+
6
+ *Xavier Noria*
7
+
8
+ * Fixed a possible error when using the evented file update checker.
9
+
10
+ *Yuji Yaginuma*
11
+
12
+ * The sqlite3 database files created by the parallel testing feature are
13
+ included in the default `.gitignore` file for newly-generated apps.
14
+
15
+ *Yasuo Honda*
16
+
17
+ * `rails new` generates a `.keep` file in `tmp/pids`. This fixes starting
18
+ a server via `rackup` instead of `rails server`.
19
+
20
+ *Rafael Mendonça França*
21
+
22
+
1
23
  ## Rails 6.0.0 (August 16, 2019) ##
2
24
 
3
25
  * `Rails.autoloaders.log!` is a logging shortcut to get the activity of the
@@ -18,6 +18,7 @@ module Rails
18
18
  include: %w(
19
19
  README.rdoc
20
20
  lib/active_record/**/*.rb
21
+ lib/arel.rb
21
22
  )
22
23
  },
23
24
 
@@ -350,7 +350,7 @@ module Rails
350
350
  files, dirs = config.watchable_files.dup, config.watchable_dirs.dup
351
351
 
352
352
  ActiveSupport::Dependencies.autoload_paths.each do |path|
353
- dirs[path.to_s] = [:rb]
353
+ File.file?(path) ? files << path.to_s : dirs[path.to_s] = [:rb]
354
354
  end
355
355
 
356
356
  [files, dirs]
@@ -9,8 +9,8 @@ module Rails
9
9
  module VERSION
10
10
  MAJOR = 6
11
11
  MINOR = 0
12
- TINY = 0
13
- PRE = nil
12
+ TINY = 1
13
+ PRE = "rc1"
14
14
 
15
15
  STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
16
16
  end
@@ -192,7 +192,7 @@ module Rails
192
192
  def web_server_gemfile_entry # :doc:
193
193
  return [] if options[:skip_puma]
194
194
  comment = "Use Puma as the app server"
195
- GemfileEntry.new("puma", "~> 3.11", comment)
195
+ GemfileEntry.new("puma", "~> 4.1", comment)
196
196
  end
197
197
 
198
198
  def include_all_railties? # :doc:
@@ -307,7 +307,7 @@ module Rails
307
307
  def assets_gemfile_entry
308
308
  return [] if options[:skip_sprockets]
309
309
 
310
- GemfileEntry.version("sass-rails", "~> 5", "Use SCSS for stylesheets")
310
+ GemfileEntry.version("sass-rails", ">= 6", "Use SCSS for stylesheets")
311
311
  end
312
312
 
313
313
  def webpacker_gemfile_entry
@@ -225,6 +225,7 @@ module Rails
225
225
 
226
226
  def tmp
227
227
  empty_directory_with_keep_file "tmp"
228
+ empty_directory_with_keep_file "tmp/pids"
228
229
  empty_directory "tmp/cache"
229
230
  empty_directory "tmp/cache/assets"
230
231
  end
@@ -11,6 +11,7 @@
11
11
  # Ignore the default SQLite database.
12
12
  /db/*.sqlite3
13
13
  /db/*.sqlite3-journal
14
+ /db/*.sqlite3-*
14
15
 
15
16
  <% end -%>
16
17
  # Ignore all logfiles and tempfiles.
@@ -2,10 +2,10 @@
2
2
  "name": "<%= app_name %>",
3
3
  "private": true,
4
4
  "dependencies": {
5
- "@rails/ujs": "^6.0.0-alpha"<% unless options[:skip_turbolinks] %>,
5
+ "@rails/ujs": "^6.0.0"<% unless options[:skip_turbolinks] %>,
6
6
  "turbolinks": "^5.2.0"<% end -%><% unless skip_active_storage? %>,
7
- "@rails/activestorage": "^6.0.0-alpha"<% end -%><% unless options[:skip_action_cable] %>,
8
- "@rails/actioncable": "^6.0.0-alpha"<% end %>
7
+ "@rails/activestorage": "^6.0.0"<% end -%><% unless options[:skip_action_cable] %>,
8
+ "@rails/actioncable": "^6.0.0"<% end %>
9
9
  },
10
10
  "version": "0.1.0"
11
11
  }
@@ -5,6 +5,7 @@ pkg/
5
5
  <% if sqlite3? -%>
6
6
  <%= dummy_path %>/db/*.sqlite3
7
7
  <%= dummy_path %>/db/*.sqlite3-journal
8
+ <%= dummy_path %>/db/*.sqlite3-*
8
9
  <% end -%>
9
10
  <%= dummy_path %>/log/*.log
10
11
  <% unless options[:skip_javascript] -%>
@@ -68,7 +68,7 @@ module Rails
68
68
 
69
69
  # The RubyGems version, if it's installed.
70
70
  property "RubyGems version" do
71
- Gem::RubyGemsVersion
71
+ Gem::VERSION
72
72
  end
73
73
 
74
74
  property "Rack version" do
@@ -46,8 +46,8 @@ namespace :zeitwerk do
46
46
  begin
47
47
  eager_load[]
48
48
  rescue NameError => e
49
- if e.message =~ /expected file .*? to define constant \S+/
50
- abort $&.sub(/#{Regexp.escape(Rails.root.to_s)}./, "")
49
+ if e.message =~ /expected file .*? to define constant [\w:]+/
50
+ abort $&.sub(/expected file #{Regexp.escape(Rails.root.to_s)}./, "expected file ")
51
51
  else
52
52
  raise
53
53
  end
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.0.0
4
+ version: 6.0.1.rc1
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: 2019-08-16 00:00:00.000000000 Z
11
+ date: 2019-10-31 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.0.0
19
+ version: 6.0.1.rc1
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.0.0
26
+ version: 6.0.1.rc1
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.0.0
33
+ version: 6.0.1.rc1
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.0.0
40
+ version: 6.0.1.rc1
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rake
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -92,14 +92,14 @@ dependencies:
92
92
  requirements:
93
93
  - - '='
94
94
  - !ruby/object:Gem::Version
95
- version: 6.0.0
95
+ version: 6.0.1.rc1
96
96
  type: :development
97
97
  prerelease: false
98
98
  version_requirements: !ruby/object:Gem::Requirement
99
99
  requirements:
100
100
  - - '='
101
101
  - !ruby/object:Gem::Version
102
- version: 6.0.0
102
+ version: 6.0.1.rc1
103
103
  description: 'Rails internals: application bootup, plugins, generators, and rake tasks.'
104
104
  email: david@loudthinking.com
105
105
  executables:
@@ -431,8 +431,11 @@ homepage: https://rubyonrails.org
431
431
  licenses:
432
432
  - MIT
433
433
  metadata:
434
- source_code_uri: https://github.com/rails/rails/tree/v6.0.0/railties
435
- changelog_uri: https://github.com/rails/rails/blob/v6.0.0/railties/CHANGELOG.md
434
+ bug_tracker_uri: https://github.com/rails/rails/issues
435
+ changelog_uri: https://github.com/rails/rails/blob/v6.0.1.rc1/railties/CHANGELOG.md
436
+ documentation_uri: https://api.rubyonrails.org/v6.0.1.rc1/
437
+ mailing_list_uri: https://groups.google.com/forum/#!forum/rubyonrails-talk
438
+ source_code_uri: https://github.com/rails/rails/tree/v6.0.1.rc1/railties
436
439
  post_install_message:
437
440
  rdoc_options:
438
441
  - "--exclude"
@@ -446,11 +449,11 @@ required_ruby_version: !ruby/object:Gem::Requirement
446
449
  version: 2.5.0
447
450
  required_rubygems_version: !ruby/object:Gem::Requirement
448
451
  requirements:
449
- - - ">="
452
+ - - ">"
450
453
  - !ruby/object:Gem::Version
451
- version: '0'
454
+ version: 1.3.1
452
455
  requirements: []
453
- rubygems_version: 3.0.1
456
+ rubygems_version: 3.0.3
454
457
  signing_key:
455
458
  specification_version: 4
456
459
  summary: Tools for creating, working with, and running Rails applications.