ãã®ããã°ã¯ ãé«å°¾å®æ²»æ¥è¨ on ã¯ã¦ãªããã°ã ã«ç§»åãã¾ãããéå»ã®è¨äºã¯ã¯ã¦ãªãã¤ã¢ãªã¼ã§åç §ã§ããããã«ãã¦ããã¾ãããæ°ããè¨äºã¯ãã¹ã¦ã¯ã¦ãªããã°ã«æ稿ãã¾ãããææ°ã§ãããRSSã®ç»é²ãªã©ã¯ http://takaokouji.hatenablog.com/ ã¸åãâ¦
ã¯ãdxruby_sdl ã®ææ°ãã¼ã¸ã§ã³ã示ãç»åã§ããã¼ã¸ã§ã³ããã¸(Version Badge)ã¨å¼ã°ãã¦ãã¾ã( dxruby_sdl ã¯ç§ãéçºãã¦ããã½ããã¦ã§ã¢ã§ãDXRubyäºæã®APIãæä¾ãããã®ã§ã)ã gemãéçºãã¦ãã人ã§ããã°ã GitHubã®ããã¸ã§ã¯ããã¼ã¸ãªã©ã®â¦
DXRuby (http://dxruby.sourceforge.jp/) ãå©ç¨ãã¦ä½ãããã²ã¼ã ãMacã§ãLinuxã§ãåãããã«ããããã®ã½ããã¦ã§ã¢dxruby_sdl (https://github.com/takaokouji/dxruby_sdl) ãä½ãã¾ãããã½ã¼ã¹ã³ã¼ããã¤ã³ã¹ãã¼ã«æ¹æ³ã¯GitHubã§å ¬éãã¦ãã¾ããMIâ¦
ã©ãããã¨ããªãããããããã¨èããã¦ããã®ã§ãããããããããããªãã®ããªã¨æã£ã¦ãã©èª¿ï¼ã¡ããï¼ã ã¨ãããã¨ã§ãããããã¦èª¿ã¹ã¦ã¿ãã asynchronous ã¯è¾æ¸ã®çºé³è¨å·ã§ã¯ e?sããkr?n?sãã«ã¿ã«ãã§æ¸ãã¨ããã ãã¨ã¤ã·ã³ã¯ããã¹ã ã£ã¦ã¨â¦
ãããããã¤ãå¿ãããã§ã¡ã¢ã£ã¦ããã¾ãã RVMãææ°ã«ããã®ã¯ä»¥ä¸ã®ã³ãã³ãã§ãã $ rvm get stableããã§ãrvm list knownãã®å®è¡çµæãææ°ã«ãªãã¾ãã (ç¹å®ã®ãã¼ã¸ã§ã³ã«æ»ãæ¹æ³ã¯ã©ããããã ãããï¼)
Rubyã®defå¼ã£ã¦ãnilãè¿ããã§ãããç¥ããªãã£ã... ã§ã以ä¸ã®ãã±ããã«ããããã«ã次ã®ãã¼ã¸ã§ã³ã§ãã Ruby 2.1ã§ã¯symbolãè¿ããã¨ã«ãªãããã§ãã https://bugs.ruby-lang.org/issues/3753 We accept this change for 2.1 in the developers' mâ¦
RSpec 2.14 is released!: http://myronmars.to/n/dev-blog/2013/07/rspec-2-14-is-released ã£ã¦ãã¨ã§ããã£ã¨ãªãªã¼ã¹ãã¼ããèªãã§ãã³ã³ã£ã¨ããã®ã¯ããã ï¼ï¼ Core: Shared example groups are scoped to the context they are defined in Before 2.â¦
ããããRVMã使ã£ã¦ãã¦Gemfileã«è¨è¿°ããrakeã®ãã¼ã¸ã§ã³ã§ã¯ãªããã·ã¹ãã ã«ã¤ã³ã¹ãã¼ã«ãããrakeã使ãããã£ãã®ã§ããããã¾ããããªãã¦å°ã£ã¦ãã¾ããã ã²ãããªãã¨ããã次ã®ããã«ãã¦rakeãå®è¡ããã¨ãrakeå®è¡æã«RVM(ã¨ããããã¯rubygeâ¦
RSpec Mock 2.14ã«ã¯expectã£ã½ãè¨è¿°ã追å ããã¾ããããhttp://teaisaweso.me/blog/2013/05/27/rspecs-new-message-expectation-syntax/ # Old foo.should_receive(:bar) foo.should_receive(:bar).with(:buzz) foo.should_receive(:bar).exactly(3).timeâ¦
ã¢ãã«ã®scopeã®specãè¨è¿°ãããã¨æã£ãã®ã§ããããscope rspecãã§Googleã§æ¤ç´¢ããã¨ãããHow can i have an rspec test for my default scope: http://stackoverflow.com/questions/6853744/how-can-i-have-an-rspec-test-for-my-default-scope ã«ãâ¦
ç°¡åã«ããã¨ãJenkins on Ubuntu ã®æååããç´ã(http://shunirr.hatenablog.jp/entry/2013/01/10/175426)ã ã® Mac OS X çã§ãRakeãªã©ã®çµæã«æ¥æ¬èªãå«ã¾ãã¦ããå ´åã«æååããã¦ãã¾ãã®ã§ãããããã解æ¶ããæé ã§ããããªãããã®æé ã¯ã¤ã³â¦
Gitã§ãããã¯ãã©ã³ããä½æãã¦ä½æ¥ãã¦ããã¨ãç´åã®ã³ãããã¨çµåããããªããã¨ãããã¾ããã³ã¡ã³ãä¸ã®typoãè¦ã¤ãã¦ãããä¿®æ£ãããããã¨ãã§ãã(以éãtypo ã®ä¿®æ£)ãå®ã¯ç§ãtypo ã®ä¿®æ£ãã³ãããããå¾ã« git rebase -i HEAD\^\^ 㧠fixupâ¦
ãããæ®æ¥ã¯ããããªã â ä»æ¥ãã使ãã25ã®ã¿ã¤ã ããã¼ã¸ã¡ã³ããã¯ããã¯ãbtraxãã(http://media.looops.net/btrax/2013/06/19/time/)ã¨ããè¨äºã«ããã14. éè¦ã ãç·æ¥æ§ã®ä½ãã¿ã¹ã¯ã«ãã©ã¼ã«ã¹ããäºãæèãããã§ç´¹ä»ããã¦ããã¿ã¹ã¯ã®åé¡â¦
ãgit mine merged ãã¨ãã Git ã®ãµãã³ãã³ããä½æãã¦ã¿ã¾ãããã®ã³ãã³ãã¯ããã¼ã¸æ¸ã¿ã®ãã©ã³ãåãæå®ãã¦ããã©ã³ãã®ååã«mergedãã¤ããã¨ããåç´ãªãã®ã§ãããã㯠Git ã®ãµãã³ãã³ããé«éã«ä½ããããã«ãªãããã®ç·´ç¿ã§ãã ã¨ãã£ã¦â¦
http://d.hatena.ne.jp/kouji0625/20130615/p1 ã®ç¶ãã§ãTravis CIãè¨å®ãã¦ã¿ã¾ãããï¼ãã¨è¡ãããã£ãã®ã§ããã¾ã£ããè¨å®ã§ãã¾ããã§ãããä»äººã®ããã¸ã§ã¯ããTravis CIã§è¨å®ããã®ã¯ã ãºããããã¤ãã¯ã§ãããã©ããã¾ã§ã¯ããã¾ããï¼ããªã â¦
ä¸æ¨æ¥ (http://d.hatena.ne.jp/kouji0625/20130613/p1) ã®ç¶ãã§ãã ä¸æ¨æ¥ã®æç¹ã§ããã¨ã¯ activerecord ã®å¤±æãããã¹ããã©ãã«ãããã°OKã¨ããç¶æ ã§ããããããä»æ¥ãã¯ããã£ã¦ãã£ã¦ã¿ãã⪠activerecord ãã¹ãã«å¤±æãã activerecord ã®ãã¹â¦
æ¨æ¥ (http://d.hatena.ne.jp/kouji0625/20130612/p1) ã®ç¶ãã§ãã æ¨æ¥ã®æç¹ã§ããã¨ã¯ activerecord ã®ã¿ã¨ããç¶æ ã§ããããããä»æ¥ãã¯ããã£ã¦ãã£ã¦ã¿ãã⪠activerecord MySQL ã®ã»ããã¢ãã äºåã« MySQL ãã®ãã®ã¯å ¬å¼ãµã¤ã (http://dev.mysâ¦
æ¨æ¥ (http://d.hatena.ne.jp/kouji0625/20130611/p1) ã®ç¶ãã§ãã å ¨ä½ã®ãã¹ããå®è¡ãã ããã§å ¨ä½ã®ãã¹ããå®è¡ãã¦ã¿ã¦ãç¾ç¶ã®åé¡ã確èªãã¾ãã $ mkdir -p ../rails-test-logs/v3.0.3/ $ bundle exec rake test 2>&1 | tee ../rails-test-logs/vâ¦
ãã¦ãæ¥ãªè©±ã§ããå°ãå¤ã Rails ã® test ãå®è¡ãã¦ã¿ããã¨æãã¾ãã ãªãã§å¤ã Rails ãªã®ãã£ã¦ï¼ï¼ãããã大人ã®äºæ ã£ã¦ããã§ãã ãã¨ããªã㧠test ããã®ãã£ã¦ï¼ï¼ãããã Rails ã«ã»ãã¥ãªãã£ãããã ããé©ç¨ããããã¨ã£ã¦ãããããªãâ¦
(ã¾ã£ãã試ãã¦ãªããã©)QSpecãç´¹ä»ãã¾ãã ãã¹ããé ãã®ã§ parallel_tests ã§é«éåãããã¨ããããå¹çããããã¦è ¹ããã£ã¦ããã®ã§ããå¹çç㪠Qspec ãã¤ãã£ããããã¤ãã® rails ããã¸ã§ã¯ãã§ãã³ããã¼ã¯ããã¨ããã2å以ä¸ã®é«éåå¹æãâ¦
æ¨æ¥ããããããããããã¨ãæ¸ããã®ã§ãã (http://d.hatena.ne.jp/kouji0625/20130605/p1) ããããããç¨åº¦å®ç¾ãã¦ããã¹ã¯ãªãããããã¨ã®ãã¨ãªã®ã§èª¿ã¹ã¦ã¿ã¾ããã A Test Code Generator for RSpec Users: https://speakerdeck.com/seratch/a-teâ¦
ã¡ãã£ã¨æ©ä¼ããã£ã¦ãããã°ã©ã ã§Rubyã¹ã¯ãªããã解æãããã¨æã£ã¦èª¿ã¹ã¦ãã¾ããã¾ã ã¾ã 調æ»ä¸ãªã®ã§ä¸éå端ãªæ å ±ã«ãªã£ã¦ãã¾ãã¾ããããåå¼ãã ããã Rubyã®ã½ã¼ã¹ã³ã¼ãã解æããããã®ã½ããã¦ã§ã¢ã¨ãã¦ã¯ãRubyæ¨æºæ·»ä»ã®ripperã¨ãseatâ¦
ãã¿ã¾ãããä»æ¥ã¯æ°ã«ãªã£ãè¨äºã®åæã ãã§ãã [ã½ããã¦ã§ã¢]Command Line ã§ä½¿ç¨ãã¦ãããã¼ã«ã¾ã¨ã vol.3 tmuxãªã© http://qiita.com/items/bd319bdaffb403d5e605 [ã½ããã¦ã§ã¢]æèã®é«ããããã³ã¼ããã©ã¼ããã¿ã¼è¨å®ãå ¬é http://qiita.comâ¦
å°ãèå³ããã£ã¦ãGitHubã®privateã¬ãã¸ããªã®æéããprivateã¬ãã¸ããªã«é¢é£ãããµã¼ãã¹(ããã§ã¯ãã¨ã³ã·ã¹ãã ã¨å¼ãã§ã¿ã¾ããw)ã調ã¹ã¦ã¿ã¾ããã ã½ã¼ã¹ã³ã¼ã管ç: GitHub - https://github.com/ 説æã¯ä¸è¦ããããã¾ããããGitHubã¯ãã½ã¼ã¹â¦
æè¿ãRailsã®ã«ã¹ã¿ã generatorãéã®å¼¾ä¸¸(éçºå¹çãé£èºçã«ä¸ãããã®)ã«ãªããªããã¨æã£ã¦ãããã試ãã¦ãã¾ãããã¾ã®ã¨ãããææã¯ä¸ãã£ã¦ãã¾ããwwwé§èåèå(ã ãããã)ãgeneratorãä½æãããã¨ã«å¯¾ããæ·å± ãã¨ã¦ãä¸ããã¾ãããã¾ã ãRâ¦
ä»åã®ãé¡ Railsã®ã«ã¹ã¿ã generatorã¯ã以ä¸ã®ããã«ãRailsããRspecãã¨ãã£ãã°ã«ã¼ãã«åãããã¦ãã¾ãããã®ã°ã«ã¼ãåãã¯ã©ã®ããã«ããã®ã§ããããï¼ $ rails generate --- 以ä¸ãå®è¡çµæ --- Usage: rails generate GENERATOR [args] [optionsâ¦
社é·ããã®ç´¹ä»ã§ããå ¨å½æ°å¿ èª æ ¶æå»å¦é¨ããé·å¯¿500人追跡調æ»ãã§è§£ãæãããã100æ³ã§å æ°ãã³ãã³ãªäººãã®ç§å¯: http://gendai.ismedia.jp/articles/-/35792ãã¨ããè¨äºãèªã¿ã¾ããã ç°¡åã«èª¬æããã¨ã é·å¯¿ã®ç§è¨£ã¯ç³å°¿ç ã«ãªããªãã㨠ç³å°¿ç â¦
ããããããã¨ã«å¹¼ç¨åã®PTAä¼é·ã3æç®ã¨ãªãã¾ããããåããªãæ¹ããããããã¨æãã¾ãããPTAä¼é·ã¨ã»ããã§å°å ã®æ§ã ãªå½¹è·ã«ä»ããã¨ã«ãªãã¾ããä¾ãã°ãå ¬æ°é¤¨éå¶å§å¡ä¼ã®å§å¡ã§ãã ãã¦ãã¦ãå°å ã®å½¹è·ã«ä»ãã¨ããã¾ãã¾ãªä¼ã«åºå¸ãããã¨â¦
å æ¥ (http://d.hatena.ne.jp/kouji0625/20130524/p1) ã®ç¶ãã§ãããã ammeter ã§ã«ã¹ã¿ã generator ã® spec ãè¨è¿°ãã¦å®è¡ããã¨ãrm -rf ..., mkdir -p ...ã¨ãããã°ãæ¨æºã¨ã©ã¼åºåã«åºåããã¾ããã ããããã®ã§è¨å®ã§å¤æ´ã§ããªããã¨èª¿ã¹ã¦ã¿â¦
å æ¥ã¯Railsã®ã«ã¹ã¿ã generatorã®ä½ææ¹æ³ã説æãã¾ãã (http://d.hatena.ne.jp/kouji0625/20130523/p1) ããä»æ¥ã¯ãã®specã®è¨è¿°æ¹æ³ã説æãã¾ããgeneratorèªä½ã®ä½æã¯ã¡ãããã®ã§ãããgeneratorã®specã¨ãªãã¨é¢åããã§ãããå®éãrspec-railsâ¦