å æ¥ MySQL Casual Talks vol.7 㧠LT ããã¦ãã¾ããã LT ã§ã¯ Ruby(Rails) ããã«ã¸ã¥ã¢ã«ã« Q4M ã使ããä½ããä½ã£ãã話 ã¨ã㦠Q4M å¨ãã®ã話ããã¦ããã®ã§ãããããã§åé "Q4M 使ã£ã¦ã人ã¼" ã¨ææãæ±ããã誰ä¸äººã¨ãã¦æãæãããªãã£ããã¨ã«çµ¶æãã¦ãã®ã¨ã³ããªã¼ãããããã¦ãã¾ãã (ã¾ã¼ã«ã¸ã¥ã¢ã«ã ãããªã¼ã«ã¸ã¥ã¢ã«ã ãã Q4M 使ã£ã¦ãªãã¦ããããããªããããªã¼) (使ã£ã¦ãªãã ãã§ç¥ã£ã¦ãã人ã¯ããããããã¾ããããã¨æ¥ãããããå±ãã) ãã®ã¨ã³ããªã¼ã§ã¯ç°¡å㪠Q4M ã®ä½¿ãæ¹ã¨ç¹å¾´ã«ã¤ãã¦èª¬æãã¦ããã¾ãã Q4M ã£ã¦ Q4M ã¯ç°¡åã«è¨ã㨠DeNA ã®å¥¥ä¸ç©ãããéçºããã¦ãã MySQL ã使ã£ããã¥ã¼ã¹ãã¬ã¼ã¸ã§ãã Q4M èªä½ã¯ MySQL ã®ã¹ãã¬ã¼ã¸ã¨ã³ã¸ã³ã¨ãã¦å®è£ ããã¦ããã®ã§ããã¼ãã«
å æ¥ãReact ããã³ãã¬ã¼ãã¨ãã¦ä½¿ããRubyã©ã¤ãã©ãªã® ReactRuby ããªãªã¼ã¹ããã ãã®ããã°ã¯èªä½ã®ããã°ã¨ã³ã¸ã³ã§åãã¦ãã¦ãæ°ãåããã³ã«ä½ããªããã¦ãããä½ã使ãããæè¡ãã©ã¤ãã©ãªããã£ã¦è©¦ãã¦ã¿ããã¨ããã¨ããããã°ã¨ã³ã¸ã³ã¨ããã®ã¯çµæ§è¯ãé¡æã ã¨æã£ã¦ãã¦ãå®éä»ã¾ã§ãNode.jsã使ã£ããAngularJSã使ã£ãããã¦ããã ä»åã¯Facebook製ã®ã³ã³ãã¼ãã³ããã¬ã¼ã ã¯ã¼ã¯ã§ããReactã使ã£ã¦ãããã³ãã¨ã³ããä½æãããã¨æãç«ã£ããReactãé¸ãã çç±ã¨ãã¦ãAngularã ã¨ãµã¼ãã¼ãµã¤ãã§ãã¥ã¼ãçæã§ããªãã®ã§ä¸æºã«æã£ã¦ãããã¨ãæããããã ä»ã¾ã§ãã³ã³ãã³ããã¼ã¸ã«é¢ãã¦ã¯HAMLã使ã£ã¦ãµã¼ããµã¤ãã§çæãã¦ãã¦ãAngularã®ãã³ãã¬ã¼ããã£ãã·ã¥ã使ã£ã¦èªã¿è¾¼ãã§ããã®ã ããããã ã¨ããã³ããµã¤ãã§ãã¥ã¼çæãã¦ã
2014å¹´12æã«Ruby 2.2ããªãªã¼ã¹ãããäºå®ã§ã1ã Ruby 2.2ã«ã¯Ruby 1.9.1ã®ã¨ãã«å¤ãããtest-unitã¨ãããã¹ãã£ã³ã°ãã¬ã¼ã ã¯ã¼ã¯ãåã³ãã³ãã«ãããäºå®ã§ããRubyã®ãã¹ãã£ã³ã°ãã¬ã¼ã ã¯ã¼ã¯å¨ãã«è©³ãããªã人ã«ã¯ããããããªãç¶æ³ã§ããããããã§ãRubyã®ãã¹ãã£ã³ã°ãã¬ã¼ã ã¯ã¼ã¯ã®æ´å²ã説æãããã¨ã§ç¶æ³ãæ´çãã¾ãã å称ã®æ´ç ãã®èª¬æã®ä¸ã§ã¯ããããã®ãã¹ãã£ã³ã°ãã¬ã¼ã ã¯ã¼ã¯ãç»å ´ãã¾ããä¼¼ããããªãã®ããããããæåã«ãã¹ãã£ã³ã°ãã¬ã¼ã ã¯ã¼ã¯ã®å称ãæ´çãã¾ãããã®èª¬æã®ä¸ã§ç»å ´ããå称ã¯æ¬¡ã®éãã§ãã RubyUnit Lapidary rubyunit Test::Unit test/unit test-unit miniunit minitest RSpec éãããããã¾ããï¼ãã£ãã説æããã¨æ¬¡ã®éãã§ãã RubyU
æè¿ã® RSpec ã¯ãããã¾ã§ obj.stub(hoge: value) ã¨æ¸ãããã®ãã allow(obj).to receive(:hoge).and_return value ã¨æ¸ããªãã¨ãããªããªã£ããã¨ããæ£æ°ã®æ²æ±°ã¨ã¯æããªããããªå¤æ´ããããããã®ã§ãä½å¹´ãã¶ãã« Test::Unit ã使ã£ã¦ã¿ããã¨ãªãããªä¸ã§ãã RSpec ã¯ããã¹ãã±ã¼ã¹ãå ¥ãåã«ã§ãããããã¹ãã±ã¼ã¹ã example ãã¯ã©ã¹ãã¡ã½ããã§ã¯ãªããæååã§èªç±ã«æ¸ããã¨ãã§ãããããã®ãè¯ãã£ãã®ã§ãããæè¿ã® Test::Unit ã§ã¯ãããã§ããããã«ãªã£ã¦ãã¾ãã [ruby-list:48926] [ANN] test-unit 2.5.2 ãã®ãªãªã¼ã¹ã¯ã¨ã¿ãããã«ä½¿ã£ã¦ããããããã«æ¹è¯ãããªãªã¼ ã¹ã§ããæ°ãã追å ãã--locationã¯RSpecã®--line_number
ã¯ããã« 2014å¹´8æ11æ¥ã®æ©ã«æ¾éãããã½ããã¯ã¬ã¼ãã³ã®webåå¼·ä¼ãSonicGardn Studyã§ã¯ããã¤ã¾ã§ã¯ã½ã³ã¼ããæ¸ãç¶ããã®ï¼ ãåºæ¥ãããã°ã©ãã ããç¥ã£ã¦ããã³ã¼ãã¬ãã¥ã¼7ã¤ã®ç§è¨£ããã¨ããã¿ã¤ãã«ã§ãå¼ç¤¾ã½ããã¯ã¬ã¼ãã³ã®è¥¿è¦ãã(@mah_lab)ãè¬æ¼ãã¦ããã¾ããã ãããããã°ã©ãã ããç¥ã£ã¦ããã³ã¼ãã¬ãã¥ã¼7ã¤ã®ç§è¨£ from Masahiro Nishimi ãã¤ã¾ã§ã¯ã½ã³ã¼ããæ¸ãç¶ããã®ï¼ ãåºæ¥ãããã°ã©ãã ããç¥ã£ã¦ããã³ã¼ãã¬ãã¥ã¼7ã¤ã®ç§è¨£ã - YouTube ãã®æ¾éã®ä¸ã§ã触ãããã¦ããããã«ãã½ããã¯ã¬ã¼ãã³ã§ã¯ã³ã¼ãã¬ãã¥ã¼ã大äºã«ãã¦ãã¾ãã ãã ãåå¼·ä¼ã®ã¹ã©ã¤ãã®ä¸ã§ã¯å ·ä½çãªã³ã¼ãä¾ãææã®ä¾ãã»ã¨ãã©åºã¦ããªãã£ãã®ã§ããå®éã©ããªæããªã®ï¼ãã¨ããçåãæã£ãæ¹ãããããããªããã¨æãã¾ãã ããã§ä»åã¯ãå ¥ç¤¾
ãããã£ã¦æä½ã£ãKeynoteãçºãã¦ããããããªãè¯ãè³æã ã¨æãåæ²è¼ãã¦ã¿ã¾ãã (ã¯ã¦ãªãã¤ã¢ãªã¼|ããã°ã«ã¯åãã¦ã§ã)ã RubyWorld Conference 2013 ã®çºè¡¨è³æã§ãã RubyãRuby on Railséçºè ãå¢ããããã¨èãã¦ããéçºããã¼ã¸ã£ã¼ããªã¼ãã¼ã®æ¹ã¯æ¯éèªãã§ã¿ã¦ä¸ããã社å ã§æè²ãããã¦è¡ãéã«å½¹ç«ã¤ãã³ããããããæ¸ããã¦ããã¨æãã¾ã (èªç»èªè³ ^^;)ã
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}