2014-01-01ãã1å¹´éã®è¨äºä¸è¦§
ãã¾ããã2.2.0ã§ããåºæ¬çã«ä»ã¾ã§ã¨åãã§ãã ruby2.2, rake2.2, gem2.2ãªã©ãã¼ã¸ã§ã³ã®suffixãã¤ã port select ruby ruby22ãªã©selectã使ãã¨ãsuffixãªãã®ãã¼ã¸ã§ã³ã§ä½¿ãã
ããããããã¼ã¸ã§ã³ããªãªã¼ã¹ããã¦ããã®ã§å¯¾å¿ãã¾ããã port:ruby21: 2.1.5 port:ruby20: 2.0.0-p598 port:ruby19: 1.9.4-p551 ä»åãã»ãã¥ãªãã£ä¿®æ£ãå«ã¿ã¾ãã詳細ã¯å ¬å¼ã®æ å ±ãããããã ããã "CVE-2014-8090: REXML ã«ããã XML å±éã«ä¼´â¦
ããããã£ããå¿ãã¦ããYosemiteç°å¢ç¨ã®ã¤ã³ã¹ãã¼ã©ãç¨æãã¾ããã https://sourceforge.net/projects/rubycocoa/files/RubyCocoa/1.2.0/ ruby-1.8ã¯OS X 10.10ã«ã¯å ¥ã£ã¦ããªãã®ã§ãruby-2.0ç¨ã®ãã®ã®ã¿ã§ãã1.8ã§ä½¿ããã人ã¯å æ¥ã®1.8ç¨ã®ä¸å¼ãâ¦
ããããããã¼ã¸ã§ã³ããªãªã¼ã¹ããã¦ããã®ã§å¯¾å¿ãã¾ããã port:ruby21: 2.1.4 port:ruby20: 2.0.0-p594 port:ruby19: 1.9.4-p550 ä»åã®ãªãªã¼ã¹ã¯ã»ãã¥ãªãã£ä¿®æ£ãå«ã¿ã¾ãã詳細ã¯å ¬å¼ã®æ å ±ãããããã ããã "CVE-2014-8080: REXML ã«ãããXMLâ¦
ã¡ãã£ã¨åã«MacPortsã®ãã±ããã§åãåããããã¦ãï¼#45257 (ruby20: warnings from library files that differ only by case of filename) â MacPortsï¼ãã®ã«ã¤ãã¦ãæ £ãã¦ãã¨ããããããã¤ããã ãã©ãæ°ä»ããªãã¨ã ãã¶ã¤ãããªã®ã§ã¡ã¢æ®ãã¨ãâ¦
ã¡ãã£ã¨ã¾ã ruby 2.0対å¿çã«åé¡ããããããªã®ã§ãã¨ããããç¨æãã¾ãããYosemite GM3ä¸ã§ç°¡åã«åä½ç¢ºèªæ¸ã¿ã§ãã https://www.dropbox.com/sh/nojy60iw9gl0j0r/AACqelR-WQzHdFU23qTb-cU3a?dl=0 é å¸ç©ã¯æ¬¡ã®2ã¤ã§ãã Ruby-1.8-for-RubyCocoa.pkg: â¦
ãã±ãããæ¥ã¦ãã®ã§å¯¾å¿ãã¾ãããå 容ã«ã¤ãã¦ã¯rubyã®issie#9897ã«ããã¨ããã§ãããã¡ãç°¡åã«èª¬æããã¨ããã«ãæã«ãã¯ãã¨ãã¦RUBY_LIBFFI_MODVERSIONã¨ããå¤ãå®ç¾©ãã¦ããã®ã§ãããå¾æ¥ã®"3.0.13"ã®ãããªæ°å3ã¤ã®ãã¼ã¸ã§ã³ãã"3.1"ã¨ããâ¦
ãã¾ãããã¤ãã«Ruby 2.0以éã«å¯¾å¿ãã¾ããï¼ï¼1.9ã¯å¯¾å¿ãã¾ããï¼ https://sourceforge.net/projects/rubycocoa/files/RubyCocoa/1.2.0/ ã¡ãã£ã¨ããã±ã¼ã¸ã³ã°å¤±æããã®ã§ãæ¥æ¬æéã§ä»æ¥ã®14:30以åã«ãã¦ã³ãã¼ããã人ã¯åãç´ããã»ããããããâ¦
ç´°ããã¨ãã§ã¯ããã¥ã¡ã³ãæ´æ°ããããã³ã³ãã¤ã«æã®è¦åã¤ã¶ããããã¦ãã大ããä½æ¥ã¨ãã¦ã¯ãSnow LeopardãLionç°å¢ã§ã¯"trunkã§require 'osx/cocoa'ããã ãã§è½ã¡ã"ã¨ããè´å½çãªåé¡ããã£ã¦ãã®å¯¾å¿ããã¦ãããã¨ã©ã¼ã¡ãã»ã¼ã¸ã¯ãããªã®ã â¦
ãã¡ãRCåºããã®ã§ãããªã«ãããã¤ããã¯ãªãã®ã§ãyardã®ããã¥ã¡ã³ããã¡ã³ããããã便å©ã¡ã½ããã¨ãã¦OSX::NSData.dataWithRubyString(str)ã¨ããã¡ã½ãããæãããããã ãã©ã使ãéãããã¾ããªããªã¼ã¨æã£ãä¸ã«ãããããã¨ã³ã³ã¼ãã£ã³ã°ãªãâ¦
ãã¾ããããããªããªãªã¼ã¹ãã¦ãããã£ããã ãã©ãèªåã ãã®ç¢ºèªã§ã¯ä¸å®ã ã£ãã®ã§ã https://sourceforge.net/projects/rubycocoa/files/RubyCocoa/1.2.0-rc/ åä½ç¢ºèªç¨ãªã®ã§OS X 10.9ç¨ã®ã¿ã§ãããªã«ãããã°ãç¥ãããã ãããã¤ããããªåé¡ãå ±â¦
sample/以ä¸ã«ããã¢ããªã®ä¸è¦§ãã¤ãã£ã¦ãã²ããã確èªãã¦ç´ãã¦ãã ãã¨ãã¨ããããã£ãã½ã makeç³»ã®ããã¸ã§ã¯ãã§-framework AppKitã足ããªãã import 足ãã¦ãããã ruby-2.0ã«ãããã® ruby-2.0ã§Syntax Errorã«ãªããã®ãç´ããã ä»ã®ã¢ããªâ¦
å°ãã¿ãèªåç¨ã®ã¡ã¢ã§ããWWDCã®transcriptãããã¹ãåãã¦ããasciiwwdcã®ãªãã¸ããªwwdc-session-transcriptsããªããã¦ã¦ãæ¡å¼µå".vtt"ã¦ãªããããã¨æã£ã¦èª¿ã¹ã¦ã¿ãã¨ãããWebVTTã¨ããè¦æ ¼ã®ããã¹ãã§ãããã¨ãããã£ããããã¹ãã¯ãããªæãâ¦
10.9 Mervericksç¨ã¯ruby-1.8ã¨ruby-2.0ã®ä¸¡æ¹ãOSã«ä»ãã¦ãã®ã§ãããããç¨ã®RubyCocoa.frameworkã®ã¤ã³ã¹ãã¼ã©ããªãªã¼ã¹ããäºå®ããªã®ã§ãã®ãããã®èª¿æ´ããããã ãªãªã¼ã¹ãã¡ã¤ã«ã®ååãèªç±ã«æå®ã§ããããã«ã (r2587) ããã±ã¼ã¸ä½ææã®è¨â¦
ã ãããruby-2.x対å¿ã§ããã®ã§ãsamples/以ä¸ã«ããã¢ããªãåãããããã¦åä½ç¢ºèªãã¦ããã§ãã©ããrubyã®Threadã使ã£ãã³ã¼ãããã¾ãåããªãã£ã¦ãã¹ã¬ãããåãæ¿ãããªãã£ããããã®ã調ã¹ã¦ããã ããã©ããããããã£ãã Thread.passãã²ã¤â¦
ãã¾ãããå æ¥MacPortså ¬å¼ã«port:pecoãç»é²ãã¦ããæ°ä»ãããã ãã©ãpeco-0.1.12ã¨MacPortsã®portã³ãã³ãã¨ã®çµã¿åããã§ãã©ããåä½ããããããportã®åºåãpecoã«æ¸¡ãã¨ãã®ã¾ã¾åºã¾ã£ã¦ãã¾ãï¼killããªãã¨çµäºã§ããªãï¼ã0.1.11以åã¯åé¡ãªâ¦
å æ¥ã®"pecoã®Portfileãæ¸ãã¦ã¿ã"ãããç´å¾ããã«ã¿ãã¾ã§æ¹åã§ããã®ã§ãæ¬å®¶ã«ã³ãããããã % port info peco peco @0.1.12 (sysutils) Description: peco can be a great tool to filter stuff like logs, process stats, find files, because unlâ¦
1é±é以ä¸åã«ãã¹ãå ¨é¨ã¨ããããã«ãªã£ããã ãã©ãå®éã«ã¢ããªè©¦ãã¦ã¿ãã¨ãã¡ãªã¨ãããã£ããã§å¯¾å¦ä¸ãä»ã¯standaloneify.rbã対å¿ãã¦ãã¨ãã ruby-2.xã§"$0 not initialized"ãä¿®æ£ã(r2581) ruby-2.xã§ã¯ã©ãã·ã¥ããã®ãä¿®æ£ã(r2582) ç°¡åã«â¦
å é±ã®ç¶ãã if/switchã«ããå¤æããst_tableã®å¤æ表ã«ãâå®è£ ããã ååã«ããã¨ã³ã³ã¼ãã£ã³ã°å¤æ表ã®èªåä½æãâãã¾ããããªãã£ãã å¤æã§ããªãã¨ã³ã³ã¼ãã£ã³ã°ãâå¯è½ãªãUTF-8ã«ã 試ããªããèããã課é¡ãªã©ã st_tableã«ããå¤æ表 Rubyã®â¦
ä¼å ´ã¯ãã¤ãã®æ°å®¿ä¼è¤ãã«ã®è²¸ãä¼è°å®¤ã以ä¸çºè¡¨ãªã©ãå 容çãªãã¨ã¯åå¼·ä¼ã®ãµã¤ãã®ã»ãã«ã¬ãã¼ããæ¸ããã®ã§ããã¡ãã¯ææ³ã¨ã主観ã¡ã¤ã³ã§ã çºè¡¨ãLightBlue Beanã(gadget) BLE(Bluetooth Low Energy)ã§æ¥ç¶ã§ãããããããªã»ã³ãµã¼ã¤ãã¦ããâ¦
ããããã¡ãã»ãè¦ããããçµãè¾¼ã¿é¸æã¤ã³ã¿ã¼ãã§ã¤ã¹ã®ã³ãã³ãpecoãæ°ã«ãªã£ãã®ã§è©¦ãã¦ã¿ããgolangã§æ¸ããã¦ããã®ã§ãgoã§ãã«ããã¦ããå¿ è¦ããããèªåã¯MacPortsã¦ã¼ã¶ãªã®ã§ãããããç¶æ³ã«ãªãã¨ãã¨ããããPortfileæ¸ãããã¨ããã®ãâ¦
RubyCocoaã«æ·»ä»ããã¦ã便å©ã¹ã¯ãªãããstandaloneify.rbã§åé¡ãèµ·ããã¨ãã®å¯¾å¦æ³ã standaloneify.rbã¨ã¯ å種ã©ã¤ãã©ãª(.rb, .bundleãªã©)ã.appå ã«ããã±ã¼ã¸ãã¦é å¸ãããããããã¼ã«ããã¤ã®ãããããRubyCocoaã«æ·»ä»ããã¦ããããã¨è£æçâ¦
Ruby 1.8ã¨1.9以éã®ã¡ããã«ã¤ãã¦ã¯ããã³ã¾25å·ã®"Rubyist Magazine - Ruby M17N ã®è¨è¨ã¨å®è£ "ã«è©³ãããããã¼éã«æ¸ãã¨ã ruby-1.8: Stringã¯ãã¤ãåãæååå¦çãæ£è¦è¡¨ç¾ã®ãããã¯$KCODEã§å¶å¾¡ã ruby-1.9: åã ã®Stringã¤ã³ã¹ã¿ã³ã¹ãèªåã®ã¨â¦
ã ããããããªæãã ruby-2.1ä¸ã®ãã¹ãã®å¤±æãã¤ã¶ãã Ruby Stringã¨NSStringéã®ã¨ã³ã³ã¼ãã£ã³ã°å¤æï¼è¶ æ«å®ï¼ã OS X 10.5以åç¨ã®ã³ã¼ããåé¤ã APIããã¥ã¡ã³ãã®æ´æ°ã éçºç¨ã®install.rbãRakefileã®æ´åã ãã¹ãã®å¤±æã¯(ç義ã§ã¯?)RubyCocâ¦
OSX.objc_classnames()ã追å ã (r2530) OSX.ns_import_all()ã追å ãrequire_frameworkæã«å¼ã¶ããã«ã (r2531) ãã¹ãã³ã¼ãã®ä¸é¨ã«ns_importã追å ã (r2532) ã¨ãããã¨ã§ããã£ã¨ããã¾ã§ããããã % ruby2.1 install.rb test : Finished in 2.60618â¦
ruby-1.8ã¨2.1ã®éäºæã§ãã¹ã失æããã¨ããã®å¯¾å¿ããããã Array#[range] = nil (r2525) ruby-1.8ã§ã¯rangeã®ç¯å²ã®å¤åé¤ã ã£ããã©ã1.9以éã§ã¯ãã®ä½ç½®ã«nilãå ¥ããdoc/ChangeLog-1.9.3ã« array.c (rb_ary_update): a[n,m]=nil no longer works asâ¦
ruby-2.x対å¿ã«åãã¦ã2æã«ã¡ã¢ã£ã課é¡ã調ã¹ã¦ããä»æ¥ã¯ãã¹ãæµãã¨ä½ã¶æãã§"ArgumentError: invalid value for Integer()"ã£ã¦ä¾å¤ãã§ã¦å¤±æããã¨ããããã®ã«ã¤ãã¦ãã¨ã©ã¼ãåºã¦ãã®ã¯rb_Integer(str)ã§æåãæ´æ°å¤ã«å¤æãããã¨ãã¦ããã¨â¦
次ã®OS Xã®ãã¼ã¸ã§ã³ã¯10.10ã«æ±ºã¾ãã¾ãããããããªããªããã¨ãæå¾ ãã¦ããã®ã«ãã OSã®ãã¼ã¸ã§ã³å¤å®ãä¿®æ£ã(r2520) ãã«ãã¹ã¯ãªããã®ä¸ã§ã"ãã¼ã¸ã§ã³æåå".to_f >= 10.8ã¨ããã£ã¦ãã¨ãããã£ã±ããã£ãã®ã§ç´ãããã¤ãã§ã«10.5以åç¨ã®å¦â¦
ãã¾ãããå¤æ´ç¹ãªã©ã¯æ¬å®¶ã®ãªãªã¼ã¹ãè¦ã¦ãã ããã https://www.ruby-lang.org/ja/news/2014/05/09/ruby-2-1-2-is-released/ https://www.ruby-lang.org/ja/news/2014/05/09/ruby-2-0-0-p481-is-released/ MacPortsçã«ã¯ readline-6.3対å¿ããããã®ã§â¦
port:readlineã6.3ã«æ´æ°ããã¦ããã ãã©ãããã ã¨port:ruby21ã®æ¡å¼µã¢ã¸ã¥ã¼ã«ãã³ã³ãã¤ã«ã¨ã©ã¼ã«ãªãã¨ã®ãã°ã¬ãã¼ãããã¦ãã https://trac.macports.org/ticket/43296 rubyã®trunkã¯å¯¾å¿æ¸ã¿(bugs:9578)ã ã£ãã®ã§ããã£ãããããã¤ããã ãã¦reâ¦