RuboCop 1.0 ããªãªã¼ã¹ãããã
èªåãæåã«ãªãªã¼ã¹ãè¡ã£ã 0.93.1 ã RuboCop 1.0 ããåã®æå¾ã®ãªãªã¼ã¹ã«ãªã£ãã¨ããã®ãææ ¨æ·±ããã®ãããããã©ããã¦ããã¤ãã« 1.0 ã«ãªã£ãã
ããç¯ç®ãªã®ã§ RuboCop 1.0 ã¨å¨è¾ºã«é¢ããã¨ã³ããªãæ¸ãã¦ãããã¨æãã
0.93.1 ã¾ã§ã¢ããã°ã¬ã¼ããã¦ãã人ã¸ã®ä¸»ãªå¤æ´
ããã¾ã§ã¢ããã°ã¬ã¼ããã¦ãã人ã¯ã1.0 ã«åãããã¤ã«ã¹ãã¼ã³ãéæããã²ã¨ã¨ããã®æ©è½ãæã«å ¥ãã¦ãã¾ãã0.93.1 ãã 1.0 ã§ã®ä¸»ãªå¤æ´ç¹ã¯ä»¥ä¸ã§ãã
- ããã©ã«ã㧠pending ã ã£ãã³ã¢ã® Cop ããã¹ã¦ããã©ã«ãã§æå¹ã«ãªã£ãã
DidabledByDefault: true
ãªã©ãã¦ããã®ã§ãªããã°ããããä¸çªã¦ã¼ã¶ã¼ã¤ã³ãã¯ãã®ããå¤æ´ã ã¨æãããªããä»å¾ 1 ç³»ã§è¿½å ããã Cop ã¯ããã©ã«ã㧠pending ã¨ãªã 2.0 ã§ä¸æ¬ã§ããã©ã«ãæå¹ã«ãªãã¾ããPerformance ã Rails ãªã©ã®æ¡å¼µ Cop ã¯ã³ã¢ã¨ç¬ç«ãã¦ããã®ã§ pending ã®ã¾ã¾ã§ãã rubocop -V
ã§ä½¿ã£ã¦ããæ¡å¼µ Cop ã® gem ã®ãã¼ã¸ã§ã³ã表示ããããã«ãã¾ãããåé¡èª¿æ»ããã°ã¬ãã¼ãã®ã¨ããªã©ã«ãæ´»ç¨ãã ããã- æ¡å¼µ Cop éçºè
åãã§ããã
on_xxx
(ä¾ãã°on_send
) ã«å ãã¦after_xxx
(after_send
) ã¨ãã£ãã¤ãã³ãããã¯ãç¨æããã¾ãããã¤ãã³ããµã¤ã¯ã«ã®åå¾é¢ä¿ãæ´»ç¨ããå®è£ ãå¯è½ã«ãªãã¾ãã - ãã¹ãããé¨ç½²åã¸ã®ç ´å£çå¤æ´ã«ãªãã®ã§ããã
RuboCop::Cop::Foo::Bar::Baz
ã¨ãã£ã Cop ããã£ãã¨ãBar
ãé¨ç½²åã ã£ããã®ãFoo/Bar
ãé¨ç½²åã«ãªãããã«é¨ç½²ã®æ±ºå®ã«ã¼ã«ãå¤ããã¾ãããããããæåã«RSpec/FactoryBot
ã¨ãã£ãé¨ç½²ãããã対象ã«ãªãã§ãããã
æ°ã㪠Cop ã®è¿½å 㯠0.93.1 ãã pending ã«ããéããªããããã¦ãã¾ããã
0.93.1 ã¾ã§ã¢ããã°ã¬ã¼ããã¦ããªã人ã¸ã®ä¸»ãªå¤æ´
RubyKaigi Takeout 2020 ã é座Rails ãªã©ã§è¿½å æ©è½ã主ã ã£ãå¤æ´ã«ã¤ãã¦è©±ãã¦ããã®ã§ããã¡ããåç §ãã¦ãã ããã
RubyKaigi Takeout 2020 ã®çºè¡¨ã§ã¯ 1.0 ã¾ã§ã®å¤é·ãã¢ã¼ããã¯ãã£ãã¼ã¹ã§è©±ãã¦ãã¾ãã
é座 Rails ã§ã¯è¨å®ãã¡ã¤ã«ã®è§£èª¬ããã¼ã¹ã«ãçºè¡¨å½æã«æ°ãã«è¿½å ãããæ©è½ãªã©ç´¹ä»ãå«ãã¦ãã¾ãã
æç³»åã¨ãã¦ã¯é座 Rails ãRubyKaigi Takeout 2020 ã®é ã«ä½ã£ããã®ã§ãããç¬ç«ãã¦ããã®ã§ã©ã¡ãããã§ãåç §ã§ããã¨æãã¾ãã
Bozhidar ã®æåã®ã³ãããããã¡ããã© 7 å¹´åã® 21æ¥ã«ãªãªã¼ã¹ã決ã¾ã£ãã®ã¯å é±ãç§ã¯é¢ããããã«ãªã£ã¦ããã³ã³ããªãã¥ã¼ã¿ã¼æ代ãå«ãã¦4å¹´ãããã§ã® 1.0 ãªãªã¼ã¹ã¨ãªãã¾ããã
RuboCop 1.0 æç¹ã§ã®ã³ã¢ãã¼ã ã¯ä»¥ä¸ã®ã¨ããã§ãããããããªãã®æéãéçºã«è²»ããã¦ããã¨æãã®ã§ GitHub Sponsors ããã¦ããéçºè ã¸ã®å¿æ´ãªã©ãã¦ããããã¨ã¢ããã¼ã·ã§ã³ããããã¨æãã¾ãã
- Bozhidar Batsov (author & head maintainer)
- Jonas Arvidsson
- Ted Johansson
- Masataka Kuwabara
- Koichi Ito (also head maintainer of RuboCop Rails, RuboCop Performance and RuboCop Minitest)
- Maxim Krizhanovski
- Benjamin Quorning (also head maintainer of RuboCop RSpec)
- Marc-André Lafortune (also head maintainer of RuboCop AST)
(åæ¥çã« Yuji Nakayama, Evgeni Dzhelyov ããã¾ãã)
2.0 ã«åãã¦ãããããã¨è¦ã¦ããã¨æãã®ã§ããªãªã¼ã¹ãããæåã®ã¡ã¸ã£ã¼ãã¼ã¸ã§ã³ 1.0 ã楽ããã§ãã ããã
Bozhidar ã®ç´ æ´ãããã¨ã³ããªãè¨åãã¦ä»æ¥ã¯ç· ãæ¬ãã¾ããç´ æ´ããããã¼ã ã¨ããããã®ã³ã³ããªãã¥ã¼ã¿ã¼ã¸ã Congratulations!