2016/06/07åã®ã³ãããã§ãã
CHANGELOGã¸ã®è¿½å ã¯ããã¾ããã§ããã
Merge pull request #25279 from maclover7/jm-add-backticks-1
rails guideã®Ruby on Rails 5.0 Release Notes
ã®ä¿®æ£ã§ãã
ActiveRecord::Base.where
ã¡ã½ããã«ã¤ãã¦èª¬æãã¦ããç®æã«ãããã¯ã¯ã©ã¼ãã追å ãã¦ãã¾ãã
Merge pull request #25283 from javan/actioncable/blade-on-eventmachine1-2
Gemfile
ãGemfile.lock
ã®ä¿®æ£ã§ãã
ææ°ã®ãã¼ã¸ã§ã³ã使ããããã«ããçºã«ãblade
ãblade-sauce_labs_plugin
ã®ãã¼ã¸ã§ã³åºå®ãå¤ãã¦ãã¾ããAction Cableã®ãã¹ããéããããã«ããçºã¨ã®äºã§ãã
Merge pull request #25294 from Zorbash/cache-fetch-race-condition-ttl-doc
https://github.com/rails/rails/pull/25294
activesupport/lib/active_support/cache.rb
ã®docã®ä¿®æ£ã§ãã
ActiveSupport::Cache::Store#fetch
ã¡ã½ããã®docå
ã®exampleã§ãrace_condition_ttl
ãªãã·ã§ã³ã«ActiveSupport::Duration
ã®å¤ãæå®ããããä¿®æ£ãã¦ãã¾ãã
# Thread.new do - # val_1 = cache.fetch('foo', race_condition_ttl: 10) do + # val_1 = cache.fetch('foo', race_condition_ttl: 10.seconds) do # sleep 1
race_condition_ttl
ã«ã¯ActiveSupport::Duration
ã®å¤ãæå®ããã®ãæ£ããçºã
Gemfile
ãGemfile.lock
ã®ä¿®æ£ã§ãã
1.6.8
以ä¸ã®nokogiri
ã使ç¨ããããä¿®æ£ãã¦ãã¾ãã1.6.8
ã§è¤æ°ã®CVEã®å¯¾å¿ãè¡ããã¦ããçºãåèï¼[ANN] nokogiri security update
Do not suggest nonsensical OpenSSL verify modes [ci skip]
actionmailer/lib/action_mailer/base.rb
ã®docã
guides/source/action_mailer_basics.md
åã³guides/source/configuring.md
ã®ä¿®æ£ã§ãã
ActionMailer
ã®smtp_settings
ãªãã·ã§ã³ã«è¨å®åºæ¥ãå¤ã®ä¸è¦§ã®ä¾ãclient_once
(SSL_VERIFY_CLIENT_ONCE
)ãfail_if_no_peer_cert
(SSL_VERIFY_FAIL_IF_NO_PEER_CERT
)ãè¨è¼ããããã®ããåé¤ãã¦ãã¾ãã
SMTPã³ãã¯ã·ã§ã³ã§ã¯ãOpenSSLã®ã½ã±ããã¯client modeã使ãããã®ã§ãããSSL_VERIFY_CLIENT_ONCE
ãSSL_VERIFY_FAIL_IF_NO_PEER_CERT
ãªãã·ã§ã³ã¯client modeã§ã¯ç¡è¦ãããã®ã§ãä¾ã¨ãã¦ã¯ä¸é©åã ããã¨ããäºã§åé¤ããããã§ãã
SSL_VERIFY_FAIL_IF_NO_PEER_CERT Server mode: if the client did not return a certificate, the TLS/SSL handshake is immediately terminated with a "handshake failure" alert. This flag must be used together with SSL_VERIFY_PEER. Client mode: ignored SSL_VERIFY_CLIENT_ONCE Server mode: only request a client certificate on the initial TLS/SSL handshake. Do not ask for a client certificate again in case of a renegotiation. This flag must be used together with SSL_VERIFY_PEER. Client mode: ignored
Remove FORCE option as it was only needed for tests
railties/lib/rails/tasks/framework.rake
ã®ä¿®æ£ã§ãã
template
ã¿ã¹ã¯ã§Rails::Generators::AppGenerator
ã®ã¤ã³ã¹ã¿ã³ã¹ãçæããéã«force
ãªãã·ã§ã³ã使ç¨ãã¦ããã®ãã使ç¨ããªãããä¿®æ£ãã¦ãã¾ãã
gen = Rails::Generators::AppGenerator.new ["rails"], - { api: !!Rails.application.config.api_only, update: true, force: ENV['FORCE'] }, + { api: !!Rails.application.config.api_only, update: true },
ãã¹ãã§ã®ã¿ä½¿ç¨ãã¦ããçºããã¹ãã®æ¹ã調æ´ããããã«ã対å¿ãã¦ãã¾ãã