Ruby
CircleCIã使ã£ã¦ãã¹ããå®è¡ããå ´åããã¹ãã¯circleci tests splitã³ãã³ãã§åå²ããä¸ã§è¤æ°ã³ã³ããã使ããã¨ã§ãã¹ãã®å®è¡æéãç縮ãããã¨ãã§ãã¾ã(åèãªã³ã¯)ããã ãã³ã³ããæ°ãå¢ããã®ãéçãããã¾ãã*1ãå°ãåã¾ã§timing-based spâ¦
Rubyã®ã¯ã©ã¹ã¯Classã¯ã©ã¹ã®ãªãã¸ã§ã¯ããªã®ã§ãã¤ã³ã¹ã¿ã³ã¹å¤æ°ãæã¦ã¾ããã¯ã©ã¹ã¬ãã«ã¨ãã¯ã©ã¹ã¡ã½ããã®ä¸ã§å®ç¾©ããã@ä»ãã®å¤æ°ã¯ã¯ã©ã¹ã¤ã³ã¹ã¿ã³ã¹å¤æ°(Class Instance Variable)ã¨å¼ã°ãããã®ã¯ã©ã¹ããããåç §ã§ãã¾ãããç¶æ¿ããã¦ãå ´â¦
ãã¨ãã°ã ãããªã¡ã½ãããããã¨ãã¾ãã def foo(arg) puts "#{arg}, #{block_given?}" end def var if block_given? yield else 'no block' end end ä¸è¨ã®ããã«ãããã¯ã®æ¸¡ãæ¹ã§fooã¡ã½ããå´ã®blockã¨ãªã£ããvarã¡ã½ããå´ã«ãªã£ãããã¾ããæ³å®â¦
GoogleAPI Clientã«ã¯ Google::Auth::TokenStore ã¨ãããã¼ã¯ã³ãä¿åããããã®ã¤ã³ã¿ã¼ãã§ã¼ã¹ãåå¨ãã¦ãã¦ãããã©ã«ãã§ã¯ Google::Auth::Stores::FileTokenStore Google::Auth::Stores::RedisTokenStore ã®ãµãã¤ããããããã®S3ãã¼ã¸ã§ã³ã ã²ã¨â¦
Gmailã®APIçµç±ã§æªèªã®ã¡ã¼ã«ã1件æ¤ç´¢ãã¦æ¢èªã«ãããµã³ãã«ãOAuthã®ãã¼ã¯ã³ããªãå ´åã¯ã³ã³ã½ã¼ã«ã«åºã¦ããURLããã©ã¦ã¶ã§éãã¦èªè¨¼å¾ã«åºã¦ããã³ã¼ããå ¥åããã require 'google/apis/gmail_v1' require 'googleauth/stores/file_token_store'â¦
GitHubã®issueã¯åé¤ãããã¨ãåºæ¥ãªãã®ã§ãã¿ã¤ãã«ã¨æ¬æã¨ã³ã¡ã³ããå ¨é¨æ¶ããã¨ã§ãæ¬ä¼¼çã«ãªãã£ããã¨ã«ãã¾ãã (ããã§ãã¿ã¤ãã«ã®å¤æ´å±¥æ´ã¯æ®ãã®ã§ãå®å ¨ã«æ¶ããã¨ã¯åºæ¥ãªãããã§ãã...) require 'octokit' require 'highline/import' Oâ¦
åé¡ Jenkinsã®Jobã§Rubyã¹ã¯ãªãããå¼ãã ããå¦çãçµããã¾ã§ puts ã¨ãã®æ¨æºåºåãJenkinsã®ã³ã³ã½ã¼ã«ã«åºãªã 対ç æ¨æºåºåããããã¡ãªã³ã°ãããªãããã«Rubyå´ã«ä»¥ä¸ã®è¨è¿°ã追å ãã $stdout.sync = true
ä»æ¥ãRubyã®ãåå¼·ã æååã®åè¿°ã®ãµã¤ãã®æååã®ç« ã®ãã¢ããã¥ã¡ã³ãã®é ç®ã¾ã§è¡ãã¾ãããï¼javaã®æååã¨ã®éãï¼ ã»ã·ã³ã°ã«ã¯ã©ã¼ãã§ãå²ãã ã»ãã¢ããã¥ã¡ã³ãã¨ãã使ãæ¹ãå¯è½
Redmineãå°å ¥ãã¦ã¿ããã®ã®å®éç§å人ã¯PJãéç¨ãã¦ããªãã®ã§ä½¿ãæ¹ãå¦ã¹ã¾ããã ã¨ãããã¨ã§ãã£ãããªã®ã§Rubyã§ç°¡åãªã¢ããªã±ã¼ã·ã§ã³ãä½æãã¦ã¿ããã¨ãããã¨ã«ãªãã¾ããããã®ããã«ã¾ãã¯Rubyã®ç°¡åãªææ³ããã¹ã¿ã¼ãããã¨ããã¹ã¿ã¼ã â¦
ãã®ï¼ï¼http://sin1t2.blog14.fc2.com/blog-entry-506.htmlä»åã¯MySqlã¨Subversionã®ã¤ã³ã¹ãã¼ã«ããã以ä¸ãåèã«ãã¾ããã MySQLã®ãã¦ã³ãã¼ãã¨ã¤ã³ã¹ãã¼ã« Subversionãã¤ã³ã¹ãã¼ã«ããããããæ¬é¡ã®redmineã®å°å ¥ã§ãã ã¨ãããããããè¦ãªâ¦
WEBå½¢å¼ã®ããã¸ã§ã¯ã管çãã¼ã«ãRedmineããå°å ¥ãã¦ã¿ããã¨æãã¾ãã æçµçã«ã¯ä¼ç¤¾ã§å°å ¥ãããã®ã§ãããã¾ãã¯å°å ¥ãã¦ãã¦ãèªå® ã§ã¤ã¿ããã¨æãã¾ããï¼ç®çï¼ ã»ããã¸ã§ã¯ã管çã®å¹çå ãã¡ã®ä¼ç¤¾ï¼é¨ç½²ï¼ã¯ã¨ã¯ã»ã«ã§ã¿ã¹ã¯ç®¡çãPJ管çãâ¦