2020-05-01ãã1ã¶æéã®è¨äºä¸è¦§
RuboCop ã® LineLength ã®ããã©ã«ãã 80 ã§ã¯ã¤ããã¨ãã声ã¯ãã£ã¨èãã¦ãã¦ããããã RuboCop ã«ããããéãå§ããé ã¯ããã¤ããã®å¤æ´ãããã®ãç®æ¨ã®ã²ã¨ã¤ã ã£ãã ä»å 3å¹´åè¶ãã«å®ç¾ãããã¨ãã§ãããç¾å¨ã®ææ°çã® RuboCop 0.84.0 ã«é©â¦
Rails 5.2 ã§ä»¥ä¸ã®ããã« Arel.sql ã使ã£ã¦ã»ãã¥ã¢ãªæååã§ãããã¨ãæ示ããã¨ããè¦åãåºãããã«ãªã£ã¦ããã®ã¯ãå¤ãã® Rails ã¢ããªã±ã¼ã·ã§ã³éçºè ãéã£ã¦ãã¦ããããã«æããã DEPRECATION WARNING: Dangerous query method (method whoseâ¦
ä»æ¥ã¯ä»£ä¼ãã¨ã£ã¦ãããRuboCop ã®æ¹ã§å ¬å¼ãµã¤ãã¨ãããã©ã³ãã£ã³ã°ãã¼ã¸ãå·æ°ãããã rubocop.org ãµã¤ãã¨ããã°ããã¥ã¡ã³ãããããã§ããã¡ã㯠Markdown ãã AsciiDoc ã«ç½®ãæãããã¨ããåãããã£ã¦ãããã¥ã¡ã³ãçæã¿ã¹ã¯ã¾ããã Ascâ¦
æ¨æ©ã¨ãããä»æ¥ã® JST 1:30 ããããã Bozhidar ã RuboCop 1.0 ã®è©±ãããã¨ããã®ã§ã¤ã³ã¿ã¼ãããè¬æ¼ãè¦è´ãã¦ããã rubybanitsa.com ãã¶ããã«ã¬ãªã¢æ¹é¢ã®ãã¼ã«ã« Ruby ã³ãã¥ããã£ã®ããã§ããã¼ã«ã¯ Zoom 㧠34 人ãããåå ãã¦ããã¨æãâ¦
Ruby 3.0 ã«åãã Ruby 2.7 㨠Rails ã®ç¶æ³ããã¾ããããå¤ãã£ã¦ãããããªã®ã§ãç¾å¨æã£ã¦ããç¥èã®ã¹ãããã·ã§ãããæ¸ãæ®ãã¦ããã¾ãã Rails 6.0 系㨠Ruby 2.7 ç³» æ¨æ¥ãMatz ã«ãã£ã¦ä»å¾ãªãªã¼ã¹ããã Ruby 2.7.2 ã§ãã¼ã¯ã¼ãå¼æ°ã®åé¢ã¸â¦
Rails 㧠content_tag ã¡ã½ããã®ä»£ããã« tag ã¡ã½ããã«ä½¿ãããã«ä¿ã cop ã次㮠RuboCop Rails 2.6.0 ã§å°å ¥ããäºå®ã§ãã github.com 以ä¸ãbad ã±ã¼ã¹ã¨ good ã±ã¼ã¹ããµã³ãã«ããæç²ãã¾ãã # bad content_tag(:p, 'Hello world!') content_tag(â¦
æ¨å¹´ãããã« Faker ã® org ã¡ã³ãã¼ã«ãªã£ã¦ããããã©ããªãã¸ããªã® PR ããã¾ã£ã¦ãã¦ããç¶æ ãã©ãã«ããããã£ãã®ã§ãããã®ãã¼ã ã«ã³ããã権ãä»ä¸ãã¦ããã£ãã github.com ã¢ã¯ãã£ããªãã¼ã ã¡ã³ãã¼ããã¼ã¸ã§ããããã«ãªã£ãã®ã§ã¯ã¨æãã
GW ã«ãã£ããã¨ã«ã¤ãã¦ãGitHub ãã辿ãããã¨ãä¸å¿ã«æ¸ãæ®ãã¦ããã .rubocop.yml 㧠ERB ãæ¸ããããã«ãªãããããã¬ãã¥ã¼ãã¦ãã¼ã¸ããã ãããªæ¸ãæ¹ãã§ããããã«ãªãã AllCops: Exclude: <% `git status --ignored --porcelain`.lines.grâ¦