2018-07-01ãã1ã¶æéã®è¨äºä¸è¦§
lib/layoutManager.rb ã¨ãã£ã Camel case ã®ãã¡ã¤ã«åã«å¯¾ãã¦ãRuboCop ã® Naming/FileName cop ã® offense ãåºãªãã¨ãããã£ã¼ãããã¯ããã£ãã github.com å½åã空ãã¡ã¤ã«ã ã¨ãã¾ããããªãã®ã ãããã¨åéããã¦ããããæåãå¤ãã£ã RuboCâ¦
rubocop-rails_config ã®ã³ããã権ãããã£ããtoshimaru ãããããã¨ããããã¾ãã github.com rubocop-rails_config 㯠rails/rails ã® .rubocop.yml ã®è¨å®ãåæ ãã Gem ã¨ãªãã github.com ãã¨ã㨠RuboCop Rails ã¨ãã Gem ã ã£ãã®ã RuboCop â¦
TokyuRubyä¼è°12ã«åå ãããä¼å ´ã¯ Voyage Group ããã https://tokyurubykaigi.github.io/tokyu12 ä»å㯠Strong Rubyist ã¨ããã¿ã¤ãã«ã§ CFP ãåºã㦠LT ããã¦ããã CFP ã®çºè¡¨å 容ã«è¨ãã¦ããã®ã¯ä»¥ä¸ã®ã¨ããã å¼·ã Rubyist ãã¡ã®èä¸ã追ã£ã¦â¦
SSIA.
RuboCop ã®éçºç¶æ³ã«ã¤ã㦠pocke ããã¨è©±ãã¾ãããã¨ãã話ãã«ãªããSider ããã®ãªãã£ã¹ã«ãéªéãã¦è©±ãã¦ããã ã¡ããã© Railsdm 㧠RuboCop 1.0 ã«ã¤ãã¦åãã£ã¦ãããã¨ãã¾ã¨ããã¹ã©ã¤ãããã£ãã®ã§ãããããã¼ã¹ã« RuboCop 1.0 ã¸ã®éçºç¶â¦
ãªãã話ãé£ãã§ãã¦ãããããããã¨æã£ããæ¡ã®å® 17 å·»ãé£ã°ãã¦ãããããªã®ã§ããããã¦èªãã§ããã ã¸ã§ã¸ã§ãªãªã³ 18 (ã¸ã£ã³ãã³ããã¯ã¹)ä½è : èæ¨é£å彦åºç社/ã¡ã¼ã«ã¼: éè±ç¤¾çºå£²æ¥: 2018/07/19ã¡ãã£ã¢: ã³ããã¯ãã®ååãå«ãããã° (9â¦
Code Climateã«é©ç¨ããã¦ããRuboCopã®ãã¼ã¸ã§ã³ã«ã¤ãã¦ãCode Climate ã«è³ªåãåºãã¦ãããããã github.com å³åçããããã¦åãã£ããã¨ã¨ãã¦ã¯ãcodeclimate/codeclimate-rubocop ãªãã¸ããªã®ãã©ã³ãã«åããããå channel ã® Gemfile.lock ã§â¦
ãªãªã¼ã¹ä¾é ¼ãåãã¦ãªãªã¼ã¹ãããã£ã½ã (çããã±ã¼ã¹) ã github.com ä»åãªãªã¼ã¹ããã 0.58.2 㧠.rubocop.yml ã§ä»¥ä¸ã®ããã« File::FNM_EXTGLOB ãé©ç¨ãã {foo, bar} ã®è¨æ³ã使ããããã«ãªã£ãã®ã§ããã®ãããã®è¨æ³ã好ã人ã¯å°ãè¨å®è¨è¿°ãâ¦
ã西æ¥æ¬å¿æ´ããã¸ã§ã¯ã çå¤ã®å¤§LT大ä¼ï¼ãã«è¡ã£ãã techplay.jp ã³ã³ã»ãããç´ æµã ã£ãã®ã¨çºè¡¨ã®é¡ã¶ããé¢ç½ãã¦åå ããã以ä¸ãå°è±¡æ·±ãã£ããã¨ã®ã¡ã¢ã kamipo ããã® Rails 話ãä¸çä¸å¤§ Rails ãæ¯ããçµç¹ã§ããã®è©±ãå ¥ã£ã¦ããã¨ã¯æã£ã¦â¦
声帯ã®ççã§1åä¼ã¿ãTokyuRubyä¼è°12ã®çºè¡¨æºåã¨ãã¦ã¸ã§ã¸ã§ã®6é¨ãèªãã ããã¦éããã¦ããã ã¸ã§ã¸ã§ã®å¥å¦ãªåéº(第6é¨) ã¹ãã¼ã³ãªã¼ã·ã£ã³ æ庫ç ã³ãã㯠40-50å·»ã»ãã (å粧ã±ã¼ã¹å ¥ã) (éè±ç¤¾æ庫âã³ããã¯ç)ä½è : èæ¨é£å彦åºç社/ã¡ã¼â¦
ken1flan ããããã®ãã°ã¬ãã¼ãããããã¨ããããã¾ãã github.com 以ä¸ã®ã³ã¼ãã # coding: utf-8 ã®ãããªã¨ã³ã³ã¼ãã£ã³ã°ãã¸ãã¯ã³ã¡ã³ãã«ããããã¦ãã¾ãã¨ããå½é½æ§ã ã£ãã # frozen_string_literal: true x = { encoding: Encoding::SJIS }â¦
å¤åå ã®ææ«é£²ã¿ä¼ããã£ã³ã»ã«ããããå¾ãªããããåããããã¦ãã¾ã£ã¦1åä¼ã¿ã声ãåºãªãã®ã§ãå¹³æã¯ãã£ãããªããã§æ¸ãä»äºã§è¯ãã£ãã
Rails / OSS ãããä¼ã ã£ãã èªå㯠RuboCop ã«ãã¦ãã Rails é¨ç½²ã¾ããã®ã¤ã·ã¥ã¼ã®ã²ã¨ã¤ãç´ãå§ãããããã¯ã Rails é¨ç½²ã® Cop ã§ææ¡ã®æ¥ã¦ãããããã§æ°ã«ããã£ã¦ããç¹ãç¸è«ããããã¦ããããã¨ã¯æ¢å Cop ã«åå¨ãã¦ããªã DHH ã¹ã¿ã¤ã«ã®â¦
ã ããã1å¹´ãããåã« Rails Developers Meetup #3 ã§è¬æ¼ããã¨ãã®åé²ãå ¬éãããã @koic ããã«æ¿è«¾ãå¾ãããã®ã§ç§èµã»ãã·ã§ã³åç»ãå ¬éããæ°åãä¸äººåã®Railsããã°ã©ãã¼ã«ããããã®ãé段ãã®ä½ãæ¹ãã§ãï¼17å¹´7æ20æ¥åé²ï¼ #railsdmhttpâ¦
ãGinza.rb 第61å Rubyã®å¿ããã«ãã¤ã³ï¼mrubyãç¥ãããã«åå ãããä¼å ´ã¯ã¡ããã¢ããã ginzarb.doorkeeper.jp mruby ãã©ããã£ããã®ãã®ä¿¯ç°ã¨ãç¨éã«ã¤ã㦠y-yagi ãããã¾ã¨ãã¦ãã㦠mruby ã¸ã®ç¥èãä¸ãã£ãæ°ãããã ã¨ããã H2O ãé¢ç½â¦
äºå®ä¸ãæ¨æ¥ããä½ååããç¶ãã¦ãã¦1åä¼ã¿ã
rails/rails ã§å®è¡ããã offense ã®åºããªã°ã¬ãã·ã§ã³ã®ãããã® PR ãéãããããã github.com å½é½æ§ã®èµ·ããã±ã¼ã¹ä¾ã¨ãã¦ã以ä¸ã®ããã«ãããã¯ã®ãã¨ã«ã¡ã½ããå¼ã³åºãããã¦ããã®ãããã obj = Class.new do private def private_property "â¦
Rails Developers Meetup 2018 Day 3 Extreme ã§ãRuboCop Headquarters 2018ãã¨ããã¿ã¤ãã«ã§ç»å£ããã techplay.jp Rails Developers Meetup ã§ã¯ 2018 Day 1 ãã4ã¶æã¶ã4度ç®ã®ç»å£ã¨ãªãçºè¡¨è³æã¯ä»¥ä¸ (ãããããã¨ç»å£åæ°æå¤?) ã ä»åã¯ç§éâ¦
æ¬æ¥ 16:30 é ãghq 管çããã¦ãã github.com/rubocop-hq ãã£ã¬ã¯ããªã«å¯¾ã㦠rm -rf ã³ãã³ããå®è¡ãããrubocop ãã¯ãã rubocop-rails, rubocop-rails, rubocop-performance ãªã©å¤æ°ã®ãã¼ã«ã«ãªãã¸ããªãæ¶å¤±ãrubocop ã®ãã¼ã«ã«ãªãã¸ããªã«ãâ¦
Metrics/AbcSize ã¯ããã©ã«ããå³ããã®ã§ãç·©ããã¨è¯ãããã¨ããè¦è§£ã®ã¯ãªãã RuboCop ã®ããã©ã«ãå¤ã¯ 15 ã¨ãªã£ã¦ããã Metrics/AbcSize: # The ABC size is a calculated magnitude, so this number can be an Integer or # a Float. Max: 15 httâ¦
RuboCop ã¨ããã Parser gem ã§ã¯ãå¼æ°ãªãã® super ã zsuper (zero arity super) ã¨ããååã§è¡¨ãã¦ããã 以ä¸ã®ã±ã¼ã¹ã«ã¤ãã¦ãLint/ShadowedArgument cop ã¯ããã©ã«ã㧠offense ãåºãã def do_something(arg) arg = 'world' super end ããããâ¦
RuboCop 0.58.1 ããªãªã¼ã¹ãããã github.com Parser gem 2.5.1.1 ã«ä»¥ä¸ã®åé¡ããã£ãããããã®ãã¼ã¸ã§ã³ã¸ã®ä¾åãåé¿ããã®ããªãªã¼ã¹ã®ãã£ããã«ãªã£ã¦ããã % cat foo.rb class Foo < Bar end % ruby-parse --25 foo.rb foo.rb:2:1: error: uneâ¦
ã¢ã¸ã£ã¤ã«ã½ããã¦ã§ã¢éçºã¯ãã¢ã¸ã£ã¤ã«ãããã§ã¹ãã«å§ã¾ãã¢ã¸ã£ã¤ã«ãããã§ã¹ãã«çµããã¨ããå人ã®è¦è§£ã¯ç½®ãã¦ããã¦ããµã¨é¢å¿ãæã£ã¦è¦ã¦ã¿ãã % whois agilemanifesto.org Registrant Name ã«ç¦ç¶ã¨è¼ãååã¯ãã²èªèº«ã§ç¢ºèªãã¦ãããããã
æ£é«ªã«è¡ã£ã¦ä¸åä¼ã¿ã
éç® 100 ãªãªã¼ã¹ç®ã«ãããã£ã½ããæãããã¦ã ã¨æãããã©ãJST ã§ã¯ä¸å¤ãªãªã¼ã¹ã«ãªã£ã¦ããã ä»åã®ãªãªã¼ã¹ã¯ 0.57 ããã®ãã°ãã£ãã¯ã¹ãå¤ãã ã¨æãã®ã§ã0.57 ã使ã£ã¦ããã¦ã¼ã¶ã¼ã¯ã¨ãããã¢ããã°ã¬ã¼ããã¦ããã¨è¯ãã¨æããã㨠Ruby â¦