Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
张重言
rails
提交
2de39f09
R
rails
项目概览
张重言
/
rails
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
rails
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
未验证
提交
2de39f09
编写于
12月 13, 2019
作者:
R
Rafael Mendonça França
浏览文件
操作
浏览文件
下载
差异文件
Merge branch '6-0-2' into 6-0-stable
上级
4036dd31
f675cb30
变更
43
隐藏空白更改
内联
并排
Showing
43 changed file
with
134 addition
and
94 deletion
+134
-94
Gemfile.lock
Gemfile.lock
+52
-54
RAILS_VERSION
RAILS_VERSION
+1
-1
actioncable/CHANGELOG.md
actioncable/CHANGELOG.md
+5
-0
actioncable/lib/action_cable/gem_version.rb
actioncable/lib/action_cable/gem_version.rb
+1
-1
actioncable/package.json
actioncable/package.json
+1
-1
actionmailbox/CHANGELOG.md
actionmailbox/CHANGELOG.md
+5
-0
actionmailbox/lib/action_mailbox/gem_version.rb
actionmailbox/lib/action_mailbox/gem_version.rb
+1
-1
actionmailer/CHANGELOG.md
actionmailer/CHANGELOG.md
+2
-0
actionmailer/lib/action_mailer/gem_version.rb
actionmailer/lib/action_mailer/gem_version.rb
+1
-1
actionpack/CHANGELOG.md
actionpack/CHANGELOG.md
+2
-0
actionpack/lib/action_controller/metal/request_forgery_protection.rb
...lib/action_controller/metal/request_forgery_protection.rb
+1
-1
actionpack/lib/action_dispatch/http/mime_type.rb
actionpack/lib/action_dispatch/http/mime_type.rb
+1
-1
actionpack/lib/action_dispatch/http/request.rb
actionpack/lib/action_dispatch/http/request.rb
+1
-2
actionpack/lib/action_dispatch/journey/formatter.rb
actionpack/lib/action_dispatch/journey/formatter.rb
+1
-1
actionpack/lib/action_dispatch/routing/mapper.rb
actionpack/lib/action_dispatch/routing/mapper.rb
+2
-2
actionpack/lib/action_pack/gem_version.rb
actionpack/lib/action_pack/gem_version.rb
+1
-1
actiontext/CHANGELOG.md
actiontext/CHANGELOG.md
+5
-0
actiontext/lib/action_text/gem_version.rb
actiontext/lib/action_text/gem_version.rb
+1
-1
actiontext/package.json
actiontext/package.json
+1
-1
actionview/CHANGELOG.md
actionview/CHANGELOG.md
+5
-0
actionview/lib/action_view/gem_version.rb
actionview/lib/action_view/gem_version.rb
+1
-1
actionview/lib/action_view/layouts.rb
actionview/lib/action_view/layouts.rb
+1
-5
actionview/package.json
actionview/package.json
+1
-1
activejob/CHANGELOG.md
activejob/CHANGELOG.md
+2
-0
activejob/lib/active_job/gem_version.rb
activejob/lib/active_job/gem_version.rb
+1
-1
activemodel/CHANGELOG.md
activemodel/CHANGELOG.md
+5
-0
activemodel/lib/active_model/gem_version.rb
activemodel/lib/active_model/gem_version.rb
+1
-1
activemodel/test/validators/email_validator.rb
activemodel/test/validators/email_validator.rb
+2
-3
activerecord/CHANGELOG.md
activerecord/CHANGELOG.md
+5
-1
activerecord/lib/active_record/connection_adapters/abstract_adapter.rb
...lib/active_record/connection_adapters/abstract_adapter.rb
+1
-3
activerecord/lib/active_record/connection_adapters/mysql/schema_statements.rb
...ive_record/connection_adapters/mysql/schema_statements.rb
+1
-1
activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb
...b/active_record/connection_adapters/postgresql_adapter.rb
+1
-1
activerecord/lib/active_record/gem_version.rb
activerecord/lib/active_record/gem_version.rb
+1
-1
activestorage/CHANGELOG.md
activestorage/CHANGELOG.md
+5
-0
activestorage/lib/active_storage/gem_version.rb
activestorage/lib/active_storage/gem_version.rb
+1
-1
activestorage/package.json
activestorage/package.json
+1
-1
activesupport/CHANGELOG.md
activesupport/CHANGELOG.md
+2
-0
activesupport/lib/active_support/gem_version.rb
activesupport/lib/active_support/gem_version.rb
+1
-1
guides/CHANGELOG.md
guides/CHANGELOG.md
+5
-0
railties/CHANGELOG.md
railties/CHANGELOG.md
+2
-0
railties/lib/rails/gem_version.rb
railties/lib/rails/gem_version.rb
+1
-1
tasks/release.rb
tasks/release.rb
+2
-1
version.rb
version.rb
+1
-1
未找到文件。
Gemfile.lock
浏览文件 @
2de39f09
...
...
@@ -17,79 +17,79 @@ GIT
PATH
remote: .
specs:
actioncable (6.0.
1
)
actionpack (= 6.0.
1
)
actioncable (6.0.
2
)
actionpack (= 6.0.
2
)
nio4r (~> 2.0)
websocket-driver (>= 0.6.1)
actionmailbox (6.0.
1
)
actionpack (= 6.0.
1
)
activejob (= 6.0.
1
)
activerecord (= 6.0.
1
)
activestorage (= 6.0.
1
)
activesupport (= 6.0.
1
)
actionmailbox (6.0.
2
)
actionpack (= 6.0.
2
)
activejob (= 6.0.
2
)
activerecord (= 6.0.
2
)
activestorage (= 6.0.
2
)
activesupport (= 6.0.
2
)
mail (>= 2.7.1)
actionmailer (6.0.
1
)
actionpack (= 6.0.
1
)
actionview (= 6.0.
1
)
activejob (= 6.0.
1
)
actionmailer (6.0.
2
)
actionpack (= 6.0.
2
)
actionview (= 6.0.
2
)
activejob (= 6.0.
2
)
mail (~> 2.5, >= 2.5.4)
rails-dom-testing (~> 2.0)
actionpack (6.0.
1
)
actionview (= 6.0.
1
)
activesupport (= 6.0.
1
)
actionpack (6.0.
2
)
actionview (= 6.0.
2
)
activesupport (= 6.0.
2
)
rack (~> 2.0)
rack-test (>= 0.6.3)
rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.0, >= 1.2.0)
actiontext (6.0.
1
)
actionpack (= 6.0.
1
)
activerecord (= 6.0.
1
)
activestorage (= 6.0.
1
)
activesupport (= 6.0.
1
)
actiontext (6.0.
2
)
actionpack (= 6.0.
2
)
activerecord (= 6.0.
2
)
activestorage (= 6.0.
2
)
activesupport (= 6.0.
2
)
nokogiri (>= 1.8.5)
actionview (6.0.
1
)
activesupport (= 6.0.
1
)
actionview (6.0.
2
)
activesupport (= 6.0.
2
)
builder (~> 3.1)
erubi (~> 1.4)
rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.1, >= 1.2.0)
activejob (6.0.
1
)
activesupport (= 6.0.
1
)
activejob (6.0.
2
)
activesupport (= 6.0.
2
)
globalid (>= 0.3.6)
activemodel (6.0.
1
)
activesupport (= 6.0.
1
)
activerecord (6.0.
1
)
activemodel (= 6.0.
1
)
activesupport (= 6.0.
1
)
activestorage (6.0.
1
)
actionpack (= 6.0.
1
)
activejob (= 6.0.
1
)
activerecord (= 6.0.
1
)
activemodel (6.0.
2
)
activesupport (= 6.0.
2
)
activerecord (6.0.
2
)
activemodel (= 6.0.
2
)
activesupport (= 6.0.
2
)
activestorage (6.0.
2
)
actionpack (= 6.0.
2
)
activejob (= 6.0.
2
)
activerecord (= 6.0.
2
)
marcel (~> 0.3.1)
activesupport (6.0.
1
)
activesupport (6.0.
2
)
concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (>= 0.7, < 2)
minitest (~> 5.1)
tzinfo (~> 1.1)
zeitwerk (~> 2.2)
rails (6.0.
1
)
actioncable (= 6.0.
1
)
actionmailbox (= 6.0.
1
)
actionmailer (= 6.0.
1
)
actionpack (= 6.0.
1
)
actiontext (= 6.0.
1
)
actionview (= 6.0.
1
)
activejob (= 6.0.
1
)
activemodel (= 6.0.
1
)
activerecord (= 6.0.
1
)
activestorage (= 6.0.
1
)
activesupport (= 6.0.
1
)
rails (6.0.
2
)
actioncable (= 6.0.
2
)
actionmailbox (= 6.0.
2
)
actionmailer (= 6.0.
2
)
actionpack (= 6.0.
2
)
actiontext (= 6.0.
2
)
actionview (= 6.0.
2
)
activejob (= 6.0.
2
)
activemodel (= 6.0.
2
)
activerecord (= 6.0.
2
)
activestorage (= 6.0.
2
)
activesupport (= 6.0.
2
)
bundler (>= 1.3.0)
railties (= 6.0.
1
)
railties (= 6.0.
2
)
sprockets-rails (>= 2.0.0)
railties (6.0.
1
)
actionpack (= 6.0.
1
)
activesupport (= 6.0.
1
)
railties (6.0.
2
)
actionpack (= 6.0.
2
)
activesupport (= 6.0.
2
)
method_source
rake (>= 0.8.7)
thor (>= 0.20.3, < 2.0)
...
...
@@ -296,7 +296,7 @@ GEM
rb-fsevent (~> 0.9, >= 0.9.4)
rb-inotify (~> 0.9, >= 0.9.7)
ruby_dep (~> 1.2)
loofah (2.
3.1
)
loofah (2.
4.0
)
crass (~> 1.0.2)
nokogiri (>= 1.5.9)
mail (2.7.1)
...
...
@@ -521,12 +521,10 @@ GEM
websocket (1.2.8)
websocket-driver (0.7.1)
websocket-extensions (>= 0.1.0)
websocket-driver (0.7.1-java)
websocket-extensions (>= 0.1.0)
websocket-extensions (0.1.4)
xpath (3.2.0)
nokogiri (~> 1.8)
zeitwerk (2.2.
1
)
zeitwerk (2.2.
2
)
PLATFORMS
java
...
...
RAILS_VERSION
浏览文件 @
2de39f09
6.0.
1
6.0.
2
actioncable/CHANGELOG.md
浏览文件 @
2de39f09
## Rails 6.0.2 (December 13, 2019) ##
*
No changes.
## Rails 6.0.1 (November 5, 2019) ##
*
No changes.
...
...
actioncable/lib/action_cable/gem_version.rb
浏览文件 @
2de39f09
...
...
@@ -9,7 +9,7 @@ def self.gem_version
module
VERSION
MAJOR
=
6
MINOR
=
0
TINY
=
1
TINY
=
2
PRE
=
nil
STRING
=
[
MAJOR
,
MINOR
,
TINY
,
PRE
].
compact
.
join
(
"."
)
...
...
actioncable/package.json
浏览文件 @
2de39f09
{
"name"
:
"@rails/actioncable"
,
"version"
:
"6.0.
1
"
,
"version"
:
"6.0.
2
"
,
"description"
:
"WebSocket framework for Ruby on Rails."
,
"main"
:
"app/assets/javascripts/action_cable.js"
,
"files"
:
[
...
...
actionmailbox/CHANGELOG.md
浏览文件 @
2de39f09
## Rails 6.0.2 (December 13, 2019) ##
*
No changes.
## Rails 6.0.1 (November 5, 2019) ##
*
No changes.
...
...
actionmailbox/lib/action_mailbox/gem_version.rb
浏览文件 @
2de39f09
...
...
@@ -9,7 +9,7 @@ def self.gem_version
module
VERSION
MAJOR
=
6
MINOR
=
0
TINY
=
1
TINY
=
2
PRE
=
nil
STRING
=
[
MAJOR
,
MINOR
,
TINY
,
PRE
].
compact
.
join
(
"."
)
...
...
actionmailer/CHANGELOG.md
浏览文件 @
2de39f09
## Rails 6.0.2 (December 13, 2019) ##
*
Fix ActionMailer assertions don't work for parameterized mail with legacy delivery job.
*bogdanvlviv*
...
...
actionmailer/lib/action_mailer/gem_version.rb
浏览文件 @
2de39f09
...
...
@@ -9,7 +9,7 @@ def self.gem_version
module
VERSION
MAJOR
=
6
MINOR
=
0
TINY
=
1
TINY
=
2
PRE
=
nil
STRING
=
[
MAJOR
,
MINOR
,
TINY
,
PRE
].
compact
.
join
(
"."
)
...
...
actionpack/CHANGELOG.md
浏览文件 @
2de39f09
## Rails 6.0.2 (December 13, 2019) ##
*
Allow using mountable engine route helpers in System Tests.
*Chalo Fernandez*
...
...
actionpack/lib/action_controller/metal/request_forgery_protection.rb
浏览文件 @
2de39f09
...
...
@@ -280,7 +280,7 @@ def marked_for_same_origin_verification? # :doc:
# Check for cross-origin JavaScript responses.
def
non_xhr_javascript_response?
# :doc:
media_type
&&
%r(
\A
(?:text|application)/javascript)
.
match?
(
media_type
)
&&
!
request
.
xhr?
%r(
\A
(?:text|application)/javascript)
.
match?
(
media_type
)
&&
!
request
.
xhr?
end
AUTHENTICITY_TOKEN_LENGTH
=
32
...
...
actionpack/lib/action_dispatch/http/mime_type.rb
浏览文件 @
2de39f09
...
...
@@ -231,7 +231,7 @@ def unregister(symbol)
class
InvalidMimeType
<
StandardError
;
end
def
initialize
(
string
,
symbol
=
nil
,
synonyms
=
[])
if
string
.
nil?
||
!
MIME_REGEXP
.
match?
(
string
)
unless
MIME_REGEXP
.
match?
(
string
)
raise
InvalidMimeType
,
"
#{
string
.
inspect
}
is not a valid MIME type"
end
@symbol
,
@synonyms
=
symbol
,
synonyms
...
...
actionpack/lib/action_dispatch/http/request.rb
浏览文件 @
2de39f09
...
...
@@ -264,8 +264,7 @@ def content_length
# (case-insensitive), which may need to be manually added depending on the
# choice of JavaScript libraries and frameworks.
def
xml_http_request?
header
=
get_header
(
"HTTP_X_REQUESTED_WITH"
)
header
&&
/XMLHttpRequest/i
.
match?
(
header
)
get_header
(
"HTTP_X_REQUESTED_WITH"
)
=~
/XMLHttpRequest/i
end
alias
:xhr?
:xml_http_request?
...
...
actionpack/lib/action_dispatch/journey/formatter.rb
浏览文件 @
2de39f09
...
...
@@ -151,7 +151,7 @@ def missing_keys(route, parts)
missing_keys
<<
key
end
else
if
parts
[
key
].
nil?
||
!
/\A
#{
tests
[
key
]
}
\Z/
.
match?
(
parts
[
key
])
unless
/\A
#{
tests
[
key
]
}
\Z/
===
parts
[
key
]
missing_keys
||=
[]
missing_keys
<<
key
end
...
...
actionpack/lib/action_dispatch/routing/mapper.rb
浏览文件 @
2de39f09
...
...
@@ -341,7 +341,7 @@ def check_part(name, part, path_params, hash)
end
def
split_to
(
to
)
if
to
&&
/#/
.
match?
(
to
)
if
/#/
.
match?
(
to
)
to
.
split
(
"#"
)
else
[]
...
...
@@ -350,7 +350,7 @@ def split_to(to)
def
add_controller_module
(
controller
,
modyoule
)
if
modyoule
&&
!
controller
.
is_a?
(
Regexp
)
if
controller
&&
controller
.
to_s
.
start_with?
(
"/"
)
if
%r{
\A
/}
.
match?
(
controller
)
controller
[
1
..-
1
]
else
[
modyoule
,
controller
].
compact
.
join
(
"/"
)
...
...
actionpack/lib/action_pack/gem_version.rb
浏览文件 @
2de39f09
...
...
@@ -9,7 +9,7 @@ def self.gem_version
module
VERSION
MAJOR
=
6
MINOR
=
0
TINY
=
1
TINY
=
2
PRE
=
nil
STRING
=
[
MAJOR
,
MINOR
,
TINY
,
PRE
].
compact
.
join
(
"."
)
...
...
actiontext/CHANGELOG.md
浏览文件 @
2de39f09
## Rails 6.0.2 (December 13, 2019) ##
*
No changes.
## Rails 6.0.1 (November 5, 2019) ##
*
No changes.
...
...
actiontext/lib/action_text/gem_version.rb
浏览文件 @
2de39f09
...
...
@@ -9,7 +9,7 @@ def self.gem_version
module
VERSION
MAJOR
=
6
MINOR
=
0
TINY
=
1
TINY
=
2
PRE
=
nil
STRING
=
[
MAJOR
,
MINOR
,
TINY
,
PRE
].
compact
.
join
(
"."
)
...
...
actiontext/package.json
浏览文件 @
2de39f09
{
"name"
:
"@rails/actiontext"
,
"version"
:
"6.0.
1
"
,
"version"
:
"6.0.
2
"
,
"description"
:
"Edit and display rich text in Rails applications"
,
"main"
:
"app/javascript/actiontext/index.js"
,
"files"
:
[
...
...
actionview/CHANGELOG.md
浏览文件 @
2de39f09
## Rails 6.0.2 (December 13, 2019) ##
*
No changes.
## Rails 6.0.1 (November 5, 2019) ##
*
UJS avoids
`Element.closest()`
for IE 9 compatibility.
...
...
actionview/lib/action_view/gem_version.rb
浏览文件 @
2de39f09
...
...
@@ -9,7 +9,7 @@ def self.gem_version
module
VERSION
MAJOR
=
6
MINOR
=
0
TINY
=
1
TINY
=
2
PRE
=
nil
STRING
=
[
MAJOR
,
MINOR
,
TINY
,
PRE
].
compact
.
join
(
"."
)
...
...
actionview/lib/action_view/layouts.rb
浏览文件 @
2de39f09
...
...
@@ -280,11 +280,7 @@ def layout(layout, conditions = {})
def
_write_layout_method
# :nodoc:
silence_redefinition_of_method
(
:_layout
)
prefixes
=
if
_implied_layout_name
&&
/\blayouts/
.
match?
(
_implied_layout_name
)
[]
else
[
"layouts"
]
end
prefixes
=
/\blayouts/
.
match?
(
_implied_layout_name
)
?
[]
:
[
"layouts"
]
default_behavior
=
"lookup_context.find_all('
#{
_implied_layout_name
}
',
#{
prefixes
.
inspect
}
, false, [], { formats: formats }).first || super"
name_clause
=
if
name
default_behavior
...
...
actionview/package.json
浏览文件 @
2de39f09
{
"name"
:
"@rails/ujs"
,
"version"
:
"6.0.
1
"
,
"version"
:
"6.0.
2
"
,
"description"
:
"Ruby on Rails unobtrusive scripting adapter"
,
"main"
:
"lib/assets/compiled/rails-ujs.js"
,
"files"
:
[
...
...
activejob/CHANGELOG.md
浏览文件 @
2de39f09
## Rails 6.0.2 (December 13, 2019) ##
*
Allow Sidekiq access to the underlying job class.
By having access to the Active Job class, Sidekiq can get access to any `sidekiq_options` which
...
...
activejob/lib/active_job/gem_version.rb
浏览文件 @
2de39f09
...
...
@@ -9,7 +9,7 @@ def self.gem_version
module
VERSION
MAJOR
=
6
MINOR
=
0
TINY
=
1
TINY
=
2
PRE
=
nil
STRING
=
[
MAJOR
,
MINOR
,
TINY
,
PRE
].
compact
.
join
(
"."
)
...
...
activemodel/CHANGELOG.md
浏览文件 @
2de39f09
## Rails 6.0.2 (December 13, 2019) ##
*
No changes.
## Rails 6.0.1 (November 5, 2019) ##
*
No changes.
...
...
activemodel/lib/active_model/gem_version.rb
浏览文件 @
2de39f09
...
...
@@ -9,7 +9,7 @@ def self.gem_version
module
VERSION
MAJOR
=
6
MINOR
=
0
TINY
=
1
TINY
=
2
PRE
=
nil
STRING
=
[
MAJOR
,
MINOR
,
TINY
,
PRE
].
compact
.
join
(
"."
)
...
...
activemodel/test/validators/email_validator.rb
浏览文件 @
2de39f09
...
...
@@ -2,8 +2,7 @@
class
EmailValidator
<
ActiveModel
::
EachValidator
def
validate_each
(
record
,
attribute
,
value
)
if
value
.
nil?
||
!
/\A([^@\s]+)@((?:[-a-z0-9]+\.)+[a-z]{2,})\z/i
.
match?
(
value
)
record
.
errors
[
attribute
]
<<
(
options
[
:message
]
||
"is not an email"
)
end
record
.
errors
[
attribute
]
<<
(
options
[
:message
]
||
"is not an email"
)
unless
/\A([^@\s]+)@((?:[-a-z0-9]+\.)+[a-z]{2,})\z/i
.
match?
(
value
)
end
end
activerecord/CHANGELOG.md
浏览文件 @
2de39f09
<<<<<<< HEAD
*
A database URL can now contain a querystring value that contains an equal sign. This is needed to support passing PostgresSQL
`options`
.
*Joshua Flanagan*
...
...
@@ -8,13 +9,16 @@
*Patrick Rebsch*
## Rails 6.0.2 (December 13, 2019) ##
*
Share the same connection pool for primary and replica databases in the
transactional tests for the same database.
*Edouard Chin*
*
Fix the preloader when one record is fetched using
`after_initialize`
but not the entire colection.
but not the entire col
l
ection.
*Bradley Price*
...
...
activerecord/lib/active_record/connection_adapters/abstract_adapter.rb
浏览文件 @
2de39f09
...
...
@@ -85,9 +85,7 @@ class AbstractAdapter
set_callback
:checkin
,
:after
,
:enable_lazy_transactions!
def
self
.
type_cast_config_to_integer
(
config
)
if
config
.
nil?
config
elsif
config
.
is_a?
(
Integer
)
if
config
.
is_a?
(
Integer
)
config
elsif
SIMPLE_INT
.
match?
(
config
)
config
.
to_i
...
...
activerecord/lib/active_record/connection_adapters/mysql/schema_statements.rb
浏览文件 @
2de39f09
...
...
@@ -162,7 +162,7 @@ def new_column_from_field(table_name, field)
type_metadata
=
fetch_type_metadata
(
field
[
:Type
],
field
[
:Extra
])
default
,
default_function
=
field
[
:Default
],
nil
if
type_metadata
.
type
==
:datetime
&&
default
&&
/\ACURRENT_TIMESTAMP(?:\([0-6]?\))?\z/i
.
match?
(
default
)
if
type_metadata
.
type
==
:datetime
&&
/\ACURRENT_TIMESTAMP(?:\([0-6]?\))?\z/i
.
match?
(
default
)
default
,
default_function
=
nil
,
default
elsif
type_metadata
.
extra
==
"DEFAULT_GENERATED"
default
=
+
"(
#{
default
}
)"
unless
default
.
start_with?
(
"("
)
...
...
activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb
浏览文件 @
2de39f09
...
...
@@ -616,7 +616,7 @@ def extract_default_function(default_value, default)
end
def
has_default_function?
(
default_value
,
default
)
!
default_value
&&
default
&&
%r{
\w
+
\(
.*
\)
|
\(
.*
\)
::
\w
+|CURRENT_DATE|CURRENT_TIMESTAMP}
.
match?
(
default
)
!
default_value
&&
%r{
\w
+
\(
.*
\)
|
\(
.*
\)
::
\w
+|CURRENT_DATE|CURRENT_TIMESTAMP}
.
match?
(
default
)
end
def
load_additional_types
(
oids
=
nil
)
...
...
activerecord/lib/active_record/gem_version.rb
浏览文件 @
2de39f09
...
...
@@ -9,7 +9,7 @@ def self.gem_version
module
VERSION
MAJOR
=
6
MINOR
=
0
TINY
=
1
TINY
=
2
PRE
=
nil
STRING
=
[
MAJOR
,
MINOR
,
TINY
,
PRE
].
compact
.
join
(
"."
)
...
...
activestorage/CHANGELOG.md
浏览文件 @
2de39f09
## Rails 6.0.2 (December 13, 2019) ##
*
No changes.
## Rails 6.0.1 (November 5, 2019) ##
*
`ActiveStorage::AnalyzeJob`
s are discarded on
`ActiveRecord::RecordNotFound`
errors.
...
...
activestorage/lib/active_storage/gem_version.rb
浏览文件 @
2de39f09
...
...
@@ -9,7 +9,7 @@ def self.gem_version
module
VERSION
MAJOR
=
6
MINOR
=
0
TINY
=
1
TINY
=
2
PRE
=
nil
STRING
=
[
MAJOR
,
MINOR
,
TINY
,
PRE
].
compact
.
join
(
"."
)
...
...
activestorage/package.json
浏览文件 @
2de39f09
{
"name"
:
"@rails/activestorage"
,
"version"
:
"6.0.
1
"
,
"version"
:
"6.0.
2
"
,
"description"
:
"Attach cloud and local files in Rails applications"
,
"main"
:
"app/assets/javascripts/activestorage.js"
,
"files"
:
[
...
...
activesupport/CHANGELOG.md
浏览文件 @
2de39f09
## Rails 6.0.2 (December 13, 2019) ##
*
Eager load translations during initialization.
*Diego Plentz*
...
...
activesupport/lib/active_support/gem_version.rb
浏览文件 @
2de39f09
...
...
@@ -9,7 +9,7 @@ def self.gem_version
module
VERSION
MAJOR
=
6
MINOR
=
0
TINY
=
1
TINY
=
2
PRE
=
nil
STRING
=
[
MAJOR
,
MINOR
,
TINY
,
PRE
].
compact
.
join
(
"."
)
...
...
guides/CHANGELOG.md
浏览文件 @
2de39f09
## Rails 6.0.2 (December 13, 2019) ##
*
No changes.
## Rails 6.0.1 (November 5, 2019) ##
*
No changes.
...
...
railties/CHANGELOG.md
浏览文件 @
2de39f09
## Rails 6.0.2 (December 13, 2019) ##
*
Fix the collision check for the scaffold generator.
*Ryan Robeson*
...
...
railties/lib/rails/gem_version.rb
浏览文件 @
2de39f09
...
...
@@ -9,7 +9,7 @@ def self.gem_version
module
VERSION
MAJOR
=
6
MINOR
=
0
TINY
=
1
TINY
=
2
PRE
=
nil
STRING
=
[
MAJOR
,
MINOR
,
TINY
,
PRE
].
compact
.
join
(
"."
)
...
...
tasks/release.rb
浏览文件 @
2de39f09
...
...
@@ -139,7 +139,8 @@
task
:release_summary
,
[
:base_release
,
:release
]
do
|
_
,
args
|
release_regexp
=
args
[
:base_release
]
?
Regexp
.
escape
(
args
[
:base_release
])
:
/\d+\.\d+\.\d+/
puts
release
puts
args
[
:release
]
puts
FRAMEWORKS
.
each
do
|
fw
|
puts
"##
#{
FRAMEWORK_NAMES
[
fw
]
}
"
...
...
version.rb
浏览文件 @
2de39f09
...
...
@@ -9,7 +9,7 @@ def self.gem_version
module
VERSION
MAJOR
=
6
MINOR
=
0
TINY
=
1
TINY
=
2
PRE
=
nil
STRING
=
[
MAJOR
,
MINOR
,
TINY
,
PRE
].
compact
.
join
(
"."
)
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录