2021-01-01ãã1å¹´éã®è¨äºä¸è¦§
RuboCop 1.24.0 ããªãªã¼ã¹ããã¾ããã github.com ãã®ãªãªã¼ã¹ã§ã¯ Ruby 3.1 ã®ãªãªã¼ã¹ã«å è¡ãã¦ãããã¤ãã® Ruby 3.1 対å¿ãå ¥ã£ã¦ãã¾ãã RuboCop ã® Ruby 3.1 対å¿ã®ä¸»ã ã£ããã®ã«ã¤ãã¦ãã¦ã¼ã¶ã¼å½±é¿ã®ãããããªãã®ãããã¯ã¢ãããã¦è¨ãã¦â¦
å°ãåã« Offers ããããããã£ãªã¢ããã¼ãã«ããã¢ããã³ãã«ã¬ã³ãã¼ã¨ãããªãã¡ã¼ãããã ã㦠Offers Magazine ã«å·çãããã¡ããã©1å¹´ã¶ãã®æçç©ã offers.jp æ¨ä»ã®èªåã®ãã£ãªã¢å½¢æã¯ãæè¡ã³ãã¥ããã£ãã¨ä¸å¯åãªã¨ãããããã®ã§ããã®ãâ¦
ãã®è¨äºã¯ãESM Advent Calendar 2021ãã®1æ¥ç®ã®è¨äºã§ãã adventar.org RuboCop ã®ããã¯ã¨ã³ãã§ã¯ãRuby ã解æã㦠AST (æ½è±¡æ§ææ¨) ã® Ruby ãªãã¸ã§ã¯ãã¨ãã¦æ±ããããã«ãã Parser gem ã使ã£ã¦ãã¾ããParser gem ã®ã¡ã³ããã³ã¹ã¯ãRuby ã® â¦
å æ¥ãRuby 3.1 ã§èµ·ãã each_cons 㨠each_slice ã®éäºæã«ã¤ãã¦è¨ãã¾ããããRuboCop ã§éäºæã®å½±é¿ãåããé¨åã¨ãã®å¯¾å¦ã«ã¤ãã¦è¨ãã¦ããã¾ãã koic.hatenablog.com 対象ã¨ãªãçµã¿åãã㯠Ruby 3.1 㨠RuboCop 1.22.2 以ä¸ã§ãã RuboCop 1.2â¦
é座Rails#39ã«ç»å£ããã 主å¬è ã® morimorihoge ããããã¯ã3å¹´ç®ããããçµã£ãã¨ã³ã¸ãã¢ã«é¿ããããªè©±ãé¡æã«ã¨ãããªãã¡ã¼ã§é ãã¦ããã 11/19ã®é座Rails#39 @koic ããç»å£ãã¼ãã¯åãèãããã¦ãé¡ããã¾ãããé座Railsãå§ã¾ã£ãããã«æ°â¦
2021å¹´11æ19æ¥(é) ã«éå¬ããããé座Rails#39ãã«ç»å£ãã¾ãã ginza-rails.connpass.com é座Rails#9 以æ¥ã30åã¶ã2度ç®ã®ã²ã¹ãç»å£ã§ãã ãã¼ãã¯ããåããï¼ãã®å ã¸è¸ã¿åºããã·ã¹ãã ã®ã¡ã³ããããªãã£åä¸ã®åºç¤æè¡ã§ãã 主å¬è ã®æ£®ãããâ¦
å æ¥ãRuboCop ã® ruby-head CI ãè½ã¡ã¦ããã®ã§ãbugs.ruby-lang.org ã«ãã£ã¼ãããã¯ãã¦ããã¤ã·ã¥ã¼ã以ä¸ã bugs.ruby-lang.org osyo ãããã³ã¡ã³ãã§æãã¦ããã PR ã以ä¸ã§ãeach_cons 㨠each_slice ã®æ»ãå¤ã nil ãã self ã«å¤ãã£ã¦ããã¨â¦
å¤åå ã§è¡ã£ã¦ããä»æã®ãããä¼ã§ãDiscord ã« Rails/OSS ãããä¼ã®ãµã¼ãã¼ãç«ã¦ã¦ãã¾ããã ããã¾ã§ããã¨ãã«ä½¿ã£ã¦ãã Idobata ã® rails ã«ã¼ã ã 11 æä¸æ¬ã«ééããããã¨ã«ãªã£ãããã§ããIdobata ãæ å ±ãã£ã³ãã«ã¨ãã¦ããæ¹ã¯ Discord â¦
å¤åå ã§è¡ã£ã¦ããä»æã®ãããä¼ã§ãyahonda ããã«ç¸è«ãã Active Record Oracle enhanced adapter ã®çºè¡ãã¦ããã¹ãã¼ã¯ã¨ãªå¯¾çã«ã¤ãã¦æ¸ãæ®ãã¦ããã¾ããå ã«çµè«ãæ¸ãã¨å¦çã«ãã£ã¦ã¯ãå¦çã«ãã£ã¦ã¯ããã©ã¼ãã³ã¹ã3ã5åã»ã©æ¹åããã¾ãâ¦
XPç¥ã 2021ã«ç»å£ããã ç»å£ä¸ 2度ã®æ©æãã©ãã«ã®ãªããµãã¼ãããã ãããã©ãã¯å¸ä¼ã®ç´°æ¾¤ãããè¦è´ããã ããã¿ãªããã«æè¬ãã¾ããè¬æ¼åºç¤ã§2度㮠PC ãã³ã°ã«ééããéã«ãKeynote ã諦ã㦠PDF ã§çºè¡¨ãããã¨ããé ããã¢ããã¤ã¹ãåãå¥ãâ¦
ä»é±æ«ã® 2020å¹´9æ18æ¥(å) ã«éå¬ããããXPç¥ã 2021 ã§ãã½ããã¦ã§ã¢è¦ç©ãã®å ¬å¼ãã¨ããã¿ã¤ãã«ã§ç»å£ãã¾ãã ç§ã®ç»å£ã¯ 15:00-15:45 ã® I Hall ã§ãã https://confengine.com/conferences/xp2021/schedule eXtreme Programming ã®ã«ã³ãã¡ã¬ã³ã¹â¦
RubyKaigi Takeout 2021 ã«ç»å£ããã rubykaigi.org ã¾ãæåã«ã@yahonda ããã«ã¯ãæ¨å¹´ã«å¼ãç¶ãäºåã«è±æãæ§æã¬ãã¥ã¼ããã¦ããã ãã¾ãããå¤å¿ã®ãããä¸å¯§ã«è¦ã¦ããã ãã¦æ¬å½ã«ãããã¨ããããã¾ããã å½æ¥ã®ã¹ã©ã¤ãã¯ä»¥ä¸ã§ãã è¬æ¼å 容â¦
6å¹´ãããåã«æµæ¾Rubyä¼è°01ã§LTç»å£ããå 容ããå½æã¨çµç¹ã¡ã³ãã¼ã®é¡ã¶ããå¤ãã£ã¦ãããã¨ããã社å åãã«è©±ããã Reading 1st dRuby from Koichi ITO www.slideshare.net ç¾å¨ @9sako6 ããããã¦ãã PofEAA ã®ç¤¾å èªæ¸ä¼ã§ç»å ´ãã RPC ã RMI, â¦
guard-rubocop 1.5.0 ããªãªã¼ã¹ãããRuboCop ã® GitHub Discussions ã«æ稿ãããã®ãã¯ãã¾ãã å®è³ªçã«ãªãªã¼ã¹ããæ©è½ã¯ä»¥ä¸ã github.com RuboCop å®è¡ã«å¯¾ããã³ãã³ãã rubocop åºå®ã ã£ããã®ããcmd ãªãã·ã§ã³ã使ããã¨ã§ bin ã¹ã¿ãã® bin/râ¦
Rails/OSS ãããä¼ã ã£ãããªã³ã©ã¤ã³éå¬ã«ãªã£ã¦ããããªãã«åæ°ãçµã£ã¦ããã¨ããã èªåã¯ä»äºã§ bin/rails db:schema:load ã®å®è¡ãé ãã®ãæ°ã«ããã£ã¦ãã¦ãçµæ§åã«æå ã§è©¦ãã¦ããé«éåã®ã¢ã¤ãã¢ã«ã¤ãã¦è©±ããããã¦ããã bin/rails db:scâ¦
RubyKaigi Takeout 2021 ã«ãRuboCop in 2021: Stable and Beyondãã¨ããã¿ã¤ãã«ã§ç»å£ãã¾ãã ç§ã®ç»å£ã¯1æ¥ç®ã§ãã 2020å¹´9æ9æ¥(æ¨) ã® 11:30-11:55 ã§ãã rubykaigi.org ååã® RubyKaigi Takeout 2020 ã§ã®è¬æ¼ã RuboCop 1.0 ãªãªã¼ã¹åã®éã®ãâ¦
ã¯ããã« ãã¹ãã®ãã¼ã¿ãã¼ã¹ã¯ãªã¼ãã³ã°ããã gem ã¨ãã¦ã¯ãDatabaseCleaner 㨠DatabaseRewinder ãã¡ã¸ã£ã¼ã©ããã¨ãã¦ããã¾ãã github.com github.com ä»å㯠DatabaseCleaner ã®è©±ã§ãã ã¯ãªã¼ãã³ã°æ¦ç¥ãåãæ¿ãã¦è¨æ¸¬ãã DatabaseCleanerâ¦
2å¹´ãããåã« Rails Developers Meetup 2019 ã§ç»å£ããã¨ãã®ã¹ã©ã¤ãã使ã£ã¦ç¤¾å åãã«éå¬ããã ã³ããç¦ã§ãªãã©ã¤ã³ã§ã®ã³ãã¥ããã£æ´»åã¨ãããã®ãä¼æ¢ã®ä¸ã§ããªã³ã©ã¤ã³ã§ã®ããæ¹ãå度模索ãããã£ããã«ãªã£ã¦ããã°ã¨æãã ãã£ã±ã話ããâ¦
GW ã«æ´æ°ã®ãã£ã RuboCop å¨è¾ºã®ã¢ãããã¼ãã«ã¤ãã¦ãã£ããã¾ã¨ãã¦ããã Parser 3.0.1.1 github.com RuboCop ãä¾åãã Ruby ã®æ§æ解æã® Gem ã§ãRuby 3.0 ã§å ¥ã£ã endless method definition ã®ãã°ä¿®æ£ã¨ Ruby 3.1 (dev) ã®ãµãã¼ã追å ããã¦â¦
RuboCop Performance 1.11 ããªãªã¼ã¹ããã主ãªå¤æ´ç¹ã¯ä»¥ä¸ã Ruby 2.4 ã®ãµãã¼ããçµäºãã Ruby 2.7 ã§è¿½å ããã Enumerable#filter_map ã¸ã® Cop ã追å ãã github.com åè ã¯ãã®ã¾ã¾ãªã®ã§ãå¾è ã«ã¤ãã¦è¨ãã Enumerable#filter_map ã«å¯¾å¿ã¥ãâ¦
RuboCop Oracleãå®è£ ãã¦ãªãªã¼ã¹ããã github.com é·å¹´ RDBMS ã« Oracle (Active Record Oracle enhanced adapter) ã使ã£ãéç¨ããã¦ããããããã¯ç¡åæ¢ãªãªã¼ã¹ãè¡ãã«ããã£ã¦ã®ãã¤ã°ã¬ã¼ã·ã§ã³ã® tip ã cop ã«ãã¦å«ãã§ããããã®ã æåã® v0â¦
Ruby 3.0.1, 2.7.3, 2.6.7, 2.5.9 ããªãªã¼ã¹ããããå®å®çã¸ã®ã¡ã³ããã³ã¹ããªãªã¼ã¹ãããã¨ããããã¾ãã https://www.ruby-lang.org/ja/news/2021/04/05/ruby-3-0-1-released/ https://www.ruby-lang.org/ja/news/2021/04/05/ruby-2-7-3-released/ htâ¦
å æã®ãããä¼ã§ @osyo-manga ããããFukuoka.rb 200å LT å¤§ä¼ (ã ã£ãã¨æã) ãããã§è©±é¡ã«ä¸ãã£ã¦ããããã RuboCop ã®ãã°ã«é¢ããããã話ãæã£ã¦ãã¦ããã¦ããã®æµãã§å¾æ¥ PR ãéãã¦ããã以ä¸ã®ä¿®æ£ããããç®çã github.com åé¡ã¨ãã¦â¦
5å¹´ãããåã«ã¢ã¸ã£ã¤ã«ã¸ã£ãã³ã®é·å´ãµãã©ã¤ãã§ç»å£ããå 容ããå½æã¨çµç¹ã¡ã³ãã¼ã®é¡ã¶ããå¤ãã£ã¦ãããã¨ããã社å åãã«è©±ããã Gate of Agile Web Development from Koichi ITO www.slideshare.net åå ã¡ã³ãã¼ããã¯ãä¿å®ã¯ãã°ä¿®æ£ã§ã¯ãªâ¦
Downward assignments ã¨ããåå㧠Ruby ã«ææ¡ãããæ©è½ (mame ããä»å¹´ããããã¨ããããã¾ã) ã p(2 * 3 * 7) #=> 42 ^^^^^var p var #=> 6 bugs.ruby-lang.org ã¨ã¤ããªã«ãã¼ã«ã¨ãããã¨ã失念ãã¦ãã¦ãããã¯ï¼ãã¨ãããããæã£ãä¸æ¹ã§æã£ãâ¦
æè¿ãString#split 㨠String#chars ã¾ããã® Cop ãã¡ã³ããã³ã¹ãããå®è£ ããéã®ããããã¡ã½ããã«é¢ããç¥è¦ãæ¸ãæ®ãã¦ããã¾ãã String#split ã®å°å RuboCop Performance ã« string.split(/re/) ãã string.split('re') ã®æ¹ãéãã®ã§ãCop ã«â¦
Rails ã®ãã¯ãã«ã«ãªè©±ã¯ãæ°æ©è½ããªãªã¼ã¹ããããæ¥åã§å°ã£ãã調ã¹ãããªã©ã§æ¥é ãã触ãã¦ããä¸æ¹ã§ãããããã® Rails ã®ç念ãã³ãã¥ããã£ãªã©ãç¦ç¹ã«è§¦ããã¨ããã®ã¯ãã¾ããªãã®ã§ã¯ã¨ä»¥åããæã£ã¦ããã®ã§ãåå¼·ä¼ã¨ããå½¢ã§éå¬ãã¦ã¿ãâ¦
ããæ°æ¥ CircleCI ã§ããªã¬ã¼ãå¹ããªããªã£ã¦å°ã£ã¦ããã®ã§ååãããµãã¼ãã«ãªã¯ã¨ã¹ããããã ä»å¾ãä¼¼ãåé¡ã«å½ãã£ã人ãç¾ããã¨ãèªå解決ã¯é£ããã¨æãã®ã¨ "CircleCI Maintenance" ã¨æ¤ç´¢ãã¦ããå½ç¶ CircleCI ã®ã¡ã³ããã³ã¹æ å ±ããåºã¦ãâ¦
RuboCop ã§ç´ããããã£ãã¨æã£ããã°ãã·ã§ã«ã®ãã¬ã¼ã¹å±é {...} ã使ã£ã¦è¤æ°ãã£ã¬ã¯ããªãä¸æ¬ã§ä½æããææ³ããããæ¥åã§é£çªã§ã®ãã£ã¬ã¯ããªä½æã¨ãå¿ è¦ã ã£ããããã¨ãã«ä½¿ãããããã % mkdir {a,z} % ls a z % mkdir {a..c} % ls a b c % â¦
å æ¥ã移è¡ã¢ã·ã¹ã¿ã³ãã使ã£ã¦ MacBook Pro ã移è¡ããã®ã ããWeb ä¼è°ãåå¼·ä¼ã§ãªã³ã©ã¤ã³ç»é¢å ±æã§ããªãåé¡ãèµ·ãã¦ããã å ·ä½çã«åé¡ã«ãªã£ã Web ä¼è°ãã¼ã«ã¨ãã¦ã¯ Zoom ã¢ããªã±ã¼ã·ã§ã³ã¨ Google Chrome ã使ã£ã Google Meet ã®ãµãã¤ã Wâ¦