2020-01-01ãã1ã¶æéã®è¨äºä¸è¦§
æ¨æ¥ããããã RuboCop ã® master 㧠CI ãè½ã¡ã¦ãã¦ãè¦ã¦ã¿ãã Code Climate ã® cc-test-reporter ã§ã¨ã©ã¼ãèµ·ãã¦ãããã¨ãåå ã ã£ãã $ #!/bin/bash -eo pipefail ./tmp/cc-test-reporter before-build COVERAGE=true bundle exec rake spec ./tmâ¦
å æ¥ã®ãããä¼ã§ kamipo ããã«ããã£ãã¢ããã¤ã¹ãæ¸ãæ®ãã¦ããã TL;DR ã¨ãã¦ã¯è¡¨é¡ãã®ã¾ã¾ããã¼ã¯ã¼ãå¼æ°ã®åé¢ã¸ã®å¯¾å¿ã«Ruby 2.8.0-devã使ãã¨ãããã®ã 2.8.0-devã使ãã°ã¤ã¼ã¸ã¼ã¢ã¼ãã ãã©2.7.0ç¸ããã¬ã¤ã ã¨å¸¸äººã«ã¯ã¯ãªã¢ä¸è½ã®ããâ¦
Ginza.rb 第79å Rails6ã®æ°ããå®æ°èªåèªã¿è¾¼ã¿Zeitwerkã®ã³ã¼ããèªããï¼ã«åå ãããä¼å ´ã¯ã¡ããã¢ããã ginzarb.doorkeeper.jp 表é¡ã®ã¨ããä»å㯠Zeitwerk ããã¼ããä½è«ã ãèªåã¯çºé³ã§ããªãã®ã§ã«ã¿ã«ãèªã¿ã§ãã¡ã¤ãã´ã§ã«ã¯ã¨èªãã§ãããâ¦
æ¨æ¥ã® Asakusa.rb 第547åã§ãhsbt ããã«èã㦠amatsuda ãããã¡ã交ãã¦è©±ãã¦ãã表é¡ã«ã¤ãã¦æ¸ãæ®ãã¦ãããå ã«è¨ãã¦ããã¨æ±ºå®çãªçµè«ã¯ãªãã Gem ãéçºããéã«ãéçºæã®ã¿ã«ä½¿ã Gem ãæå®ããå ã¨ã㦠gemspec ã使ã£ã spec.add_develoâ¦
Asakusa.rb 第547åã ã£ãã ã¡ããã© RubyKaigi 2020 ã®ãããã¼ã¶ã«ã®æåºæéæ¥ã« Asakusa.rb ã¨ããã¿ã¤ãã³ã°ã ã£ãã®ã§ãyahonda ããã joker1007 ããã«ãã£ã¼ãããã¯ããããã¤ã¤ãç· ãåã3æéã¡ãã£ã¨åãããã«æåºãã¦ãããæåºãçµãã£ããâ¦
Ruby 2.7.0 ã§å°å ¥ããã Arguments Forwarding ã«ã¤ãã¦ãRuboCop ã§ã¹ã¿ã¤ã«é¨ç½²ã®æ°ã㪠Cop ã¨ãã¦éçºä¸ãªã®ã§ãCop éçºã®éç¨ã§å¾ã¦ããç¥è¦ãããé²æãè¨ãã¦ããã¾ãã Arguments Forwarding ã¨ã¯ def foo(...) ã¨ãã£ãå½¢ã§å¼æ°ã¸ã®æ§ææ¡å¼µããâ¦
ãããä¼ãå°å Ruby ã³ãã¥ããã£ãªã©ã§éããç¥è¦ãå ã«ãå¤åå ã®æ°¸åã·ã¹ãã ããã¸ã¡ã³ããªããã§åº¦ã 話ãã¦ãã表é¡ã«ã¤ãã¦ããã¹ãåãã¦ããã TL;DR Ruby 2.8.0 ã®éçºãå§ã¾ã£ã¦ãããããã㯠2020 å¹´ã®ã©ãã㧠Ruby 3.0 ã«ãªãããã Ruby 3.0â¦
RuboCop 0.79.0 ããªãªã¼ã¹ãããã®ã§ãæ¦è¦ããã£ããè¨ãã¦ããã¾ãã github.com ä»å㯠RoboCop 1.0 ã«åããæ°ã㪠Enable ãªãã·ã§ã³ã¸ã®æ°ããªå¤ pending ãå°å ¥ãããã®ã¨ãRuby 2.7 ã®åæãµãã¼ããå«ã¾ãããªãªã¼ã¹ã§ãã ã¡ãªã¿ã«ã¬ãã¥ã¼ä»¥å¤ã§â¦