2018-08-01ãã1ã¶æéã®è¨äºä¸è¦§
RSpec 3.8.0 㧠RSpec::Matchers::BuiltIn::Change ãããã£ã¼ã«ããå¤å®ã« Object#hash ã使ãããããã«ãªã£ãã 以ä¸ã® PR ã§ã®å¤æ´ã¨ãªãã github.com ãã³ãã¤ã³ãã§ç¤ºãã¨ä»¥ä¸ã® Change#changed? ã¡ã½ããã®å®è£ ã§ãå¤æ´åã«ä¿æãã¦ãã hash å¤ã¨å¤â¦
FactoryBot 0.4.11 㧠closed_at 1.day.from_now ã¨ãã£ã FactoryBot ã®ã³ã¼ãã«å¯¾ãã¦ä»¥ä¸ã®ãããªè¦åãåºãããã«ãªã£ãã DEPRECATION WARNING: Static attributes will be removed in FactoryBot 5.0. Please use dynamic attributes instead by wrappâ¦
RuboCop ã®æ¹ã¯ãCI ã CircleCI ã«ããåããæ¬æ ¼åãã¦ãã¦ãè²ã ã¨åããæ··ãã£ã¦ããªããªã®ã§ä¸ä¼ã¿ããã¼ã«ã«ãªãã¸ããªã«ãã Gem ã§è¦åãåºããã®ã«ããããéããªã©ãã¦ããã
ä¸äº¬ããåå¾ã第4é¨ã ã£ãæ°ããã¦ãæå¾ã¾ã§èªãã ããããããã¼ãã§ããããã¨å¾©ç¿ã§ãã¦ããã£ãã ã¸ã§ã¸ã§ã®å¥å¦ãªåéº(第4é¨) ãã¤ã¤ã¢ã³ãã¯ç ããªã æ庫ç 18-29å·»ã»ãã (å粧ã±ã¼ã¹å ¥ã) (éè±ç¤¾æ庫)ä½è : èæ¨é£å彦åºç社/ã¡ã¼ã«ã¼: éè±ç¤¾â¦
ä¸é±éãããåãããæ°åç§èµ·åãã¦ããã¨å³ä¸ãç·è²ã«çºå ããã¨ããç¾è±¡ã«ãªã£ã¦ã液æ¶ããããã¿ãããã¦ããªãç¶æ ã§é度ã«åå¿ããããå対ã«ã¾ã£ããåå¿ããªãç®æãç¾ããããã¦ãã¦ä¸ä¾¿ãã¦ããã ã½ãããã³ã¯ã§ã¯åãä»ãã¦ããªãã¨ã®ãã¨ã§ãã¸â¦
JOJO 第4é¨ãåèªãã¿ã§èªã¿å§ããã ã¸ã§ã¸ã§ã®å¥å¦ãªåéº(第4é¨) ãã¤ã¤ã¢ã³ãã¯ç ããªã æ庫ç 18-29å·»ã»ãã (å粧ã±ã¼ã¹å ¥ã) (éè±ç¤¾æ庫)ä½è : èæ¨é£å彦åºç社/ã¡ã¼ã«ã¼: éè±ç¤¾çºå£²æ¥: 2006/05/22ã¡ãã£ã¢: æåº«è³¼å ¥: 21人 ã¯ãªãã¯: 496åãã®åâ¦
SSIA.
ãCode Review Meetup #4 Code Reviewã§éã¾ãããã®ç»å£ã¿ã¤ãã«ã¨ã³ã³ãã³ããå ¬éãããã sideci.connpass.com ã³ã¼ãã¬ãã¥ã¼ãã®ãã®ã«é¢ãã話ã¯ãã¾ããã¦ããªãã£ãã®ã§ããããã£ã話ãçãè¾¼ãã§è¡ãäºå®ã ã¿ã¤ãã«ã¯ onk ã®ãRSpec ããããã¸â¦
以ä¸ã®ã¤ã·ã¥ã¼ã§ Style/EmptyCaseCondition ã«é¢ãã auto-correct ã®ä¸å ·åã®ãã£ã¼ãããã¯ããã£ããã¨ãã¯ãã¾ãã github.com ã¡ããã©ä»æ¥ãå¤åå ã§ã®æä¾ä¼ã®å¾ã«æ®ã£ãã¡ã³ãã¼ã§ãä¸è¨ã¤ã·ã¥ã¼ã«ããã case...when 㨠if...elsif ã§ã®æ¯ãèãã®â¦
Railsdm Podcast #2 - It's self-evident (@mtsmfm) ãè´ããã å ¬éãã¾ãã - #2 - It's self-evident (@mtsmfm) by Railsdm Podcast #railsdm https://t.co/tr3vcPtC1câ å¾³ç¨ã«ã«ãã¹ (@yoshi_hirano) August 21, 2018 ã¡ããã¡ãããkoic ãããã¨è¨åãâ¦
Ginza.rb 第62å ãããã¦Rubyistï¼ããããããããããããæ¬ã«åå ãããä¼å ´ã¯ã¡ããã¢ããã ginzarb.doorkeeper.jp èªåã¯11å¹´åã®è²¯éã使ã£ã¦ãªãã¸ã§ã¯ãæåè¨è¨ã®æ¸ç±ãç´¹ä»ãã¦ããã Principles of Object-Oriented Design from Koichi ITO wwwâ¦
以ä¸ã®è¨äºãæ¸ãããã¤ãã³ãã®ã³ã³ãã³ãã¢ã¬ã³ã¸ãªã©ããããã©ã楽ãããã«ãã¦ãã¦è¯ãä¼ã§ããã agile.esm.co.jp
rails/rails ãªãã¸ããªã§æå¹ã«ãªã£ã Cop ã® PR ãéã㦠toshimaru ããã«ãªãªã¼ã¹ãã¦ããã£ãããããã¨ããããã¾ãã github.com
Ruby ã® -w ãªãã·ã§ã³æã®è¦åã®ã²ã¨ã¤ãã¨ãã¥ã¬ã¼ããã Cop ã¨ãã¦ä½ã£ã Lint/UriEscapeUnescape cop ã rails/rails ãªãã¸ããªã§æå¹ã«ãªã£ãã github.com Cop ä½ããæ £ãã¦ããé ã®æãåºãã Cop ãªã®ã§ææ ¨æ·±ããã®ããã£ãã github.com
以ä¸ã®ã³ãããã§ãããã¾ã§ã® Bug Report ã«å ã㦠Feature Request ç¨ã® Issue ãã³ãã¬ã¼ããä½ãããã github.com Rails ã 㨠Issue ã§ã¯ Feature Request ãåãä»ãã¦ãããã¡ã¼ãªã³ã°ãªã¹ããªããã§ææ¡ããããã ããRuboCop ã 㨠Issue ã§åãä»ãâ¦
ã¡ã¯ããµãã®æ°åã¨ãèªãã§ããããã«æãã ã¡ã¯ããµã(38) (BE LOVE KC)ä½è : æ«æ¬¡ç±ç´åºç社/ã¡ã¼ã«ã¼: è¬è«ç¤¾çºå£²æ¥: 2018/05/11ã¡ãã£ã¢: ã³ããã¯ãã®ååãå«ãããã° (8件) ãè¦ã
RuboCopã対象ã«ããé ããã¡ã¤ã«ã®æ±ããå¤ãããæ¨æ¥ã® Asakusa.rb ã§è¦ã¦ãããã®ã§ããããã£ã¨ãã㨠20 æ¥ä»¥ä¸åã«ãã©ã³ãèªä½ã¯åã£ã¦ãã PR ã¯ä»¥ä¸ã github.com ç´ããåé¡ã®è©±ã .rubocop.yml ã«å¯¾ãã¦ã以ä¸ã®ããã« Exclude ã¸ã®ãã¹æå®ããâ¦
Asakusa.rb ã«è¡ã£ããä¼å ´ã¯æ ªå¼ä¼ç¤¾ã±ã¼ã·ã¼ã¨ã¹ãã£ãããããã ãã¨ãã¨æ¥æã®è¬æ¼ä¾é ¼ã®ãã£ãã³ã³ãã³ããèãããã¨æã£ã¦ããããã©ãã¡ããã© RuboCop ã®ã¤ã·ã¥ã¼ã 330 æªæºã«ã§ãã¦ãã£ã¦ããã®ã§ããã®ã¾ã¾ã¤ã·ã¥ã¼ãè¦ã¦ãããããã éä¸ãyaâ¦
ãã¨ã㨠RuboCop ã«æ¥ã¦ãã以ä¸ã®ã¤ã·ã¥ã¼ãã¯ãã¾ãã github.com ãã¹ãã±ã¼ã¹ã«è¨ããã¦ãã IgnoredMethods ã®è¨å®ããããªãã®ããããããå®è£ ä¸åãªã®ãã¨ããªã³ããããã°ãã¦ãã¨ãããStyle/BlockDelimiters cop ã®ãã¹ã¦ã® EnforcedStyle ã« Igâ¦
èå³æ·±ãå±éã§é¢ç½ãã£ãã é²æã®å·¨äºº(26) (è¬è«ç¤¾ã³ããã¯ã¹)ä½è : è««å±±åµåºç社/ã¡ã¼ã«ã¼: è¬è«ç¤¾çºå£²æ¥: 2018/08/09ã¡ãã£ã¢: ã³ããã¯ãã®ååãå«ãããã° (4件) ãè¦ã
ããã¶ãåã« Ruby 2.6 ã§ã® ERB ã¤ã³ã¿ãã§ã¼ã¹ã®å¯¾å¿ã®ããããéã£ã¦ãããã®ããã¼ã¸ããã¦ã"Thanks for your making your first contribution to Cucumber, and welcome to the Cucumber committers team!" ã§ã³ããã権ãããã£ãã®ããæ¨æ¥ã®ãã¨ã â¦
Rails/OSS ãããä¼ã ã£ãã rails/rails ã¯ãã観測ç¯å²ã® Travis CI ã® JRuby head ã®ãããªãã¯ã¹ãè½ã¡ã¦ãã件ã«ã¤ãã¦ã¤ã·ã¥ã¼ãæ¸ããã¨æã£ã¦ãå ±åå ãã©ã®ãªãã¸ããªãè¯ããããç¸è«ããããã RuboCop 1.0 ã«åããæ´»åãããããã¦ããã ããâ¦
ãã® PR ã§ç´ããå 容ããã£ããã github.com <<, ==, + ãªããã®æ¼ç®å (ã®ã¡ã½ãã) ã®ãªãã©ã³ãã« if ... else ã使ã£ã¦ããéã«ãStyle/UnneededCondition cop ã® auto-correct 対象ã«ãªã㨠auto-correct ãããã³ã¼ããå£ããã¨ãããã£ã¼ãããã¯ãâ¦
Rails 5.2.1 ã¨åæ¥ã« Oracle enhanced adapter 5.2.3 ããªãªã¼ã¹ããããyahonda ãããããã¨ããããã¾ãã Active Record Oracle enhanced adapter 5.2.3 has been released. https://t.co/xcgM2oxWzSâ Yasuo Honda (@yahonda) August 7, 2018 ããã©ã¼â¦
å æ¥ã以ä¸ã® RuboCop ã®ã¤ã·ã¥ã¼ãè¦ã¦ãã¦ç¥ã£ãå°ãã¿ããµãã¤ã github.com ã²ã¨ã¤ç®ããã® Issue #6099 㯠String ãªãã¸ã§ã¯ãã®å¼å±éã¯ç°ãªããªãã¸ã§ã¯ããè¿ãã®ã§ (ããã¯ããã ) ãåã« to_s ã§ã¯ãªã dup ãªã©ã使ã£ã¦ç°ãªããªãã¸ã§ã¯ããè¿ãâ¦
ãµã©ãªã¼ãã³ã¨ãã¦å¥åº·è¨ºæãåãã¦ãããé çªå¾ ã¡ã®éã®æéã溢ãããã¨ãç®ã«è¦ãã¦ããã®ã§ãå°ãåããèªãã§ããæ¸ç±ãèªãã§å¾ å室ã«ããã ä¼è©±ãã¡ã¼ã«ã è±èªã¯3èªã§ä¼ããã¾ãä½è : ä¸å±±è£æ¨ååºç社/ã¡ã¼ã«ã¼: ãã¤ã¤ã¢ã³ã社çºå£²æ¥: 2016/10/1â¦
master ãã©ã³ãã«ææ°ã®ãªã½ã¼ã¹ããã¦ã¦ããªãªã¼ã¹ã®é㯠stable ãã©ã³ããåã£ã¦ãä¿®æ£ããããããã° stable ãã©ã³ãã«ããã¯ãã¼ããå½ã¦ã rails/rails çãªéç¨ããã¦ãããã©ã³ãæ¦ç¥ãã¨ã£ã¦ããéã«å½¹ç«ã¤ Tips ã èªåããã使ãã®ã¯ä»¥ä¸ã®ãã©â¦
SSIA.
RuboCopã®ããCopãautocorrectããµãã¼ããã¦ãããRuboCopã¢ã¸ã¥ã¼ã«ã§ç¢ºèªãã
RuboCop å é¨ã®å°ãã¿ã ãã RuboCop ã autocorrect ããµãã¼ããã¦ããããRuboCop ã¢ã¸ã¥ã¼ã«ã§ç¢ºèªããã«ã¯ RuboCop::Cop::Cop#support_autocorrect? ã§åç §ã§ããã % cd path/to/rubocop/repo % bin/console > registry = RuboCop::Cop::Cop.registryâ¦
ä¹ ãã¶ãã®èã®ä¼åã«ã·ã¡ã·ã¡ã¨åå ããã ä»æ¥ãå§ã¾ã£ã pic.twitter.com/jzkzSGmsNOâ Koichi ITO (@koic) August 2, 2018 ã¿ã³ãä¸å¿ã¨ããèããããã¨ãªãããç¹çãã¹ãã¯ã飯ãç¾å³ããã£ãããã¾ãã«ã飯ãç¾å³ããã£ãã®ã§ãã¼ã«ãã¹ã¹ã¾ãªãã£ãâ¦