{"id":98,"date":"2012-06-20T21:19:32","date_gmt":"2012-06-20T12:19:32","guid":{"rendered":"https:\/\/blog.id774.net\/entry\/?p=98"},"modified":"2012-09-19T02:46:23","modified_gmt":"2012-09-18T17:46:23","slug":"ruby-%e3%81%a7%e9%87%91%e9%ab%aa%e7%be%8e%e5%a5%b3%e3%81%ae%e3%81%8a%e5%ae%9d%e7%94%bb%e5%83%8f%e3%82%92%e3%81%be%e3%81%a8%e3%82%81%e3%81%a6%e3%81%b6%e3%81%a3%e3%81%93%e6%8a%9c%e3%81%8d","status":"publish","type":"post","link":"https:\/\/harpuia.id774.net\/entry\/2012\/06\/20\/98\/","title":{"rendered":"Ruby \u3067\u91d1\u9aea\u7f8e\u5973\u306e\u304a\u5b9d\u753b\u50cf\u3092\u307e\u3068\u3081\u3066\u3076\u3063\u3053\u629c\u304d"},"content":{"rendered":"<p>\u203b\u3053\u306e\u8a18\u4e8b\u306f\u3059\u3067\u306b\u5185\u5bb9\u304c\u53e4\u304f\u306a\u3063\u3066\u3044\u307e\u3059\u3002<a href=\"https:\/\/blog.id774.net\/entry\/2012\/09\/19\/255\/\">\u3053\u3061\u3089<\/a>\u3092\u3054\u89a7\u304f\u3060\u3055\u3044\u3002<\/p>\n<p><a href=\"https:\/\/rubygems.org\/gems\/automatic\">Automatic Ruby<\/a> \u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u7684\u306a\u8a18\u4e8b\u3092\u3001\u308f\u304b\u308a\u3084\u3059\u304f<a href=\"http:\/\/yusukebe.com\/archives\/20071002\/123306.html\">\u30ea\u30d3\u30c9\u30fc\u99c6\u52d5<\/a>\u306a\u611f\u3058\u306b\u66f8\u3044\u3066\u307f\u308b\u3002<\/p>\n<p>\u30bf\u30a4\u30c8\u30eb\u306f\u5728\u308a\u3057\u65e5\u306e\u25cb\u30c3\u30c8\u30e9\u30f3\u30ca\u30fc\u306e\u898b\u51fa\u3057\u3092\u30ea\u30b9\u30da\u30af\u30c8\u3057\u3066\u307f\u305f\u3002<\/p>\n<p>(\u203b\u3053\u306e\u8a18\u4e8b\u306f\u6210\u4eba\u3057\u305f\u65b9\u306e\u307f\u81ea\u5df1\u8cac\u4efb\u3067\u304a\u8aad\u307f\u304f\u3060\u3055\u3044)<\/p>\n<p><strong>\u5fc5\u8981\u306a\u30e2\u30ce<\/strong><\/p>\n<p>\u307e\u305a Ruby \u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u305f\u30d1\u30bd\u30b3\u30f3\u304c\u5fc5\u8981\u3060\u3002 Mac \u306e\u5834\u5408\u3001\u6700\u521d\u304b\u3089\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u306e\u3067\u4f55\u3082\u5fc3\u914d\u306f\u3044\u3089\u306a\u3044\u3002 Windows \u306e\u5834\u5408\u306f<a href=\"http:\/\/rubyinstaller.org\/\">\u3053\u308c<\/a>\u3092\u843d\u3068\u3057\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3068\u826f\u3044\u3060\u308d\u3046\u3002<\/p>\n<p><strong>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/strong><\/p>\n<p>\u6b21\u306b\u7ba1\u7406\u8005\u6a29\u9650\u3067\u30bf\u30fc\u30df\u30ca\u30eb (\u307e\u305f\u306f\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8) \u304b\u3089\u4ee5\u4e0b\u306e\u3088\u3046\u306b gem \u30b3\u30de\u30f3\u30c9\u3092\u6253\u3063\u3066 Automatic Ruby \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3002<\/p>\n<div class=\"codecolorer-container text geshi\" style=\"overflow:auto;white-space:nowrap;width:1000px;\"><table cellspacing=\"0\" cellpadding=\"0\"><tbody><tr><td class=\"line-numbers\"><div>1<br \/><\/div><\/td><td><div class=\"text codecolorer\" style=\"white-space:nowrap\">gem install automatic<\/div><\/td><\/tr><\/tbody><\/table><\/div>\n<p>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u304c\u7d42\u308f\u3063\u305f\u3089\u6b21\u306e\u30b3\u30de\u30f3\u30c9\u3092\u6253\u3064\u3002\u3053\u308c\u3067\u30db\u30fc\u30e0\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b .automatic \u3068\u3044\u3046\u30d5\u30a9\u30eb\u30c0\u304c\u3067\u304d\u308b\u306f\u305a\u3060\u3002<\/p>\n<div class=\"codecolorer-container text geshi\" style=\"overflow:auto;white-space:nowrap;width:1000px;\"><table cellspacing=\"0\" cellpadding=\"0\"><tbody><tr><td class=\"line-numbers\"><div>1<br \/><\/div><\/td><td><div class=\"text codecolorer\" style=\"white-space:nowrap\">automatic-config scaffold<\/div><\/td><\/tr><\/tbody><\/table><\/div>\n<p><strong>\u30ec\u30b7\u30d4\u3092\u7528\u610f\u3059\u308b<\/strong><\/p>\n<p><a href=\"https:\/\/raw.github.com\/id774\/sandbox\/master\/ruby\/automaticruby\/example\/get_image.yml\">\u3053\u308c<\/a>\u3092\u53f3\u30af\u30ea\u30c3\u30af\u3057\u3066\u4fdd\u5b58\u3057\u3088\u3046\u3002\u3053\u308c\u306f\u30b5\u30f3\u30d7\u30eb\u306e\u30ec\u30b7\u30d4\u3060\u3002\u6700\u5f8c\u304b\u3089 2 \u884c\u76ee\u306e YOUR_NAME \u3092\u81ea\u5206\u306e\u30a2\u30ab\u30a6\u30f3\u30c8\u306b\u66f8\u304d\u63db\u3048\u3066\u304a\u3053\u3046\u3002\u304a\u5b9d\u753b\u50cf\u306f\u3053\u3053\u3067\u6307\u5b9a\u3057\u305f\u30d5\u30a9\u30eb\u30c0\u306b\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3055\u308c\u308b\u3002\u66f8\u304d\u63db\u3048\u305f\u3089 .automatic\/config \u306e\u4e0b\u306b\u7f6e\u3053\u3046\u3002<\/p>\n<p>\u3053\u306e\u30ec\u30b7\u30d4\u3067\u306f\u307e\u3060\u30ea\u30ea\u30fc\u30b9\u7248 12.6 \u306e\u6642\u70b9\u3067\u542b\u307e\u308c\u3066\u3044\u306a\u3044\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u5229\u7528\u3057\u3066\u3044\u308b\u3002\u305d\u3053\u3067<a href=\"https:\/\/raw.github.com\/id774\/automaticruby\/master\/plugins\/filter\/absolute_uri.rb\">\u3053\u308c<\/a>\u3092\u53f3\u30af\u30ea\u30c3\u30af\u3057\u3066\u4fdd\u5b58\u3001 .automatic\/plugins\/filter \u306e\u4e0b\u306b\u7f6e\u3053\u3046\u3002\u3053\u306e\u3088\u3046\u306b\u672c\u4f53\u306b\u542b\u307e\u308c\u3066\u3044\u306a\u3044\u30d7\u30e9\u30b0\u30a4\u30f3\u3082 .automatic \u306e\u4e0b\u306b\u7f6e\u304f\u3053\u3068\u3067\u5229\u7528\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308b\u3002\u3053\u308c\u3067\u6e96\u5099\u306f\u5b8c\u4e86\u3060\u3002<\/p>\n<p><strong>\u3055\u3063\u305d\u304f\u5b9f\u884c<\/strong><\/p>\n<p>\u30ec\u30b7\u30d4\u3092\u6307\u5b9a\u3057\u3066 Automatic Ruby \u3092\u8d77\u52d5\u3059\u308b\u3002<\/p>\n<div class=\"codecolorer-container text geshi\" style=\"overflow:auto;white-space:nowrap;width:1000px;\"><table cellspacing=\"0\" cellpadding=\"0\"><tbody><tr><td class=\"line-numbers\"><div>1<br \/><\/div><\/td><td><div class=\"text codecolorer\" style=\"white-space:nowrap\">automatic -c get_image.yml<\/div><\/td><\/tr><\/tbody><\/table><\/div>\n<p>\u3059\u308b\u3068\u3069\u3046\u3060\u308d\u3046\u3002\u541b\u306e\u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u306e\u4e0a\u304c\u305f\u3061\u307e\u3061\u91d1\u9aea\u7f8e\u5973\u306e\u3042\u3089\u308c\u3082\u306a\u3044\u753b\u50cf\u3067\u6b21\u3005\u3068\u57cb\u3081\u5c3d\u304f\u3055\u308c\u3066\u3044\u304f\u3067\u306f\u306a\u3044\u304b\uff01<\/p>\n<p><a href=\"https:\/\/blog.id774.net\/entry\/wp-content\/uploads\/2012\/06\/1.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/blog.id774.net\/entry\/wp-content\/uploads\/2012\/06\/1-300x221.png\" alt=\"\" title=\"1\" width=\"300\" height=\"221\" class=\"box\" \/><\/a><\/p>\n<p>\u3088\u304b\u3063\u305f\u3067\u3059\u306d\u3002<\/p>\n<p><strong>\u30aa\u30ea\u30b8\u30ca\u30eb\u306e\u30ec\u30b7\u30d4\u3092\u66f8\u3044\u3066\u307f\u3088\u3046<\/strong><\/p>\n<p>\u3053\u306e\u7a0b\u5ea6\u306a\u3089\u4ed6\u306e\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u30c4\u30fc\u30eb\u3092\u4f7f\u3048\u3070\u3067\u304d\u308b\u3068\u601d\u3046\u304b\u3082\u3057\u308c\u306a\u3044\u3002\u3057\u304b\u3057 Automatic Ruby \u306f\u30ec\u30b7\u30d4\u306b\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u9806\u5e8f\u3069\u304a\u308a\u8a18\u8ff0\u3059\u308b\u3053\u3068\u3067\u306a\u3093\u3067\u3082\u3067\u304d\u308b\u306e\u3067\u3042\u308b\u3002\u305f\u3068\u3048\u3070\u30ec\u30b7\u30d4\u306e Subscription::URI \u306e\u30a2\u30c9\u30ec\u30b9\u3092\u5909\u66f4\u3059\u308c\u3070\u5225\u306e\u30b5\u30a4\u30c8\u306e\u753b\u50cf\u3092\u3076\u3063\u3053\u629c\u304d\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u3002\u307e\u305f Ruby \u3092\u81ea\u52d5\u7684\u306b\u5b9f\u884c\u3059\u308b\u3053\u3068\u3067\u66f4\u65b0\u304c\u3042\u3063\u305f\u30d5\u30a1\u30a4\u30eb\u306e\u307f\u843d\u3068\u3059\u3053\u3068\u3082\u3067\u304d\u308b\u3002\u4eca\u56de\u306e\u30ec\u30b7\u30d4\u3067\u306f Store::Link \u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u5229\u7528\u3057\u3066\u3044\u308b\u306e\u3067\u3001\u518d\u5ea6\u5b9f\u884c\u3057\u3066\u3082\u65b0\u3057\u3044\u30d5\u30a1\u30a4\u30eb\u306e\u307f\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3055\u308c\u308b\u306e\u3060\u3002\u4ed6\u306b\u3082 Subscription::Feed \u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u4f7f\u3048\u3070 RSS \u30d5\u30a3\u30fc\u30c9\u3092\u8aad\u307f\u8fbc\u3093\u3067\u30d5\u30a1\u30a4\u30eb\u3092\u843d\u3068\u3057\u305f\u308a\u3068\u3044\u3063\u305f\u3053\u3068\u3082\u53ef\u80fd\u3067\u3042\u308b\u3002<\/p>\n<p><strong>\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u66f8\u3051\u3070\u306a\u3093\u3067\u3082\u3067\u304d\u308b<\/strong><\/p>\n<p>\u3082\u3061\u308d\u3093\u30d5\u30a1\u30a4\u30eb\u306e\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3060\u3051\u3067\u306f\u306a\u3044\u3002 Automatic Ruby \u306f\u3042\u308a\u3068\u3042\u3089\u3086\u308b\u81ea\u52d5\u51e6\u7406\u3092\u304a\u3053\u306a\u3046\u3053\u3068\u3092\u53ef\u80fd\u3068\u306a\u308b\u3088\u3046\u8a2d\u8a08\u3055\u308c\u305f\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3067\u3042\u308b\u3002\u4efb\u610f\u306e\u51e6\u7406\u3092 <a href=\"http:\/\/doc.ruby-lang.org\/ja\/1.9.3\/doc\/index.html\">Ruby \u3068\u3044\u3046\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9e<\/a>\u3067\u8a18\u8ff0\u3057\u3001\u4eca\u56de\u306e\u4f8b\u306e\u3088\u3046\u306b .automatic\/plugins \u306e\u4e0b\u306b\u7f6e\u3051\u3070\u30ec\u30b7\u30d4\u3067\u6307\u5b9a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308b\u3002\u4eca\u56de\u306e\u3088\u3046\u306a\u4e0d\u5c4a\u304d\u306a\u4f7f\u3044\u65b9\u306f\u3082\u3061\u308d\u3093\u306e\u3053\u3068\u60c5\u5831\u53ce\u96c6\u3060\u3068\u304b\u696d\u52d9\u7528\u30d0\u30c3\u30c1\u306e\u4f5c\u6210\u306b\u3082\u5fdc\u7528\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u3002\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u3068\u3044\u3046\u3068\u96e3\u3057\u3044\u5370\u8c61\u304c\u3042\u308b\u304b\u3082\u3057\u308c\u306a\u3044\u304c\u3001\u307b\u3093\u306e\u6570\u884c\u3067\u4f5c\u6210\u3059\u308b\u3053\u3068\u3082\u53ef\u80fd\u3067\u3042\u308b\u3002\u8a73\u3057\u304f\u306f<a href=\"https:\/\/github.com\/id774\/automaticruby\/blob\/master\/doc\/README.ja\">\u65e5\u672c\u8a9e\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8<\/a>\u3092\u8aad\u3093\u3067\u307b\u3057\u3044\u3002<\/p>\n<p><strong>\u958b\u767a\u306b\u53c2\u52a0\u3057\u3088\u3046<\/strong><\/p>\n<p>\u307e\u305a\u306f\u6570\u884c\u7a0b\u5ea6\u306e\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u4f5c\u3063\u3066\u307f\u3088\u3046\u3002\u3058\u304d\u306b\u8981\u9818\u304c\u3064\u304b\u3081\u3066\u304f\u308b\u306e\u3067\u3001\u30c6\u30b9\u30c8\u306e\u66f8\u304d\u65b9\u3082\u5b66\u307c\u3046\u3002\u30c6\u30b9\u30c8\u306f <a href=\"http:\/\/jp.rubyist.net\/magazine\/?0023-Rspec\">RSpec<\/a> \u3068\u3044\u3046\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3092\u4f7f\u3063\u3066\u3044\u308b\u306e\u3067 Google \u3067\u691c\u7d22\u3057\u3066<a href=\"http:\/\/jp.rubyist.net\/magazine\/?0035-RSpecInPractice\">\u6709\u7528\u305d\u3046\u306a\u8a18\u4e8b<\/a>\u3092\u3044\u304f\u3064\u304b\u8aad\u3093\u3067\u307f\u3088\u3046\u3002\u30c6\u30b9\u30c8\u304c\u66f8\u3051\u308b\u3088\u3046\u306b\u306a\u308c\u3070\u541b\u3082\u7acb\u6d3e\u306a\u30d7\u30e9\u30b0\u30a4\u30f3\u4f5c\u8005\u3067\u3042\u308b\u3002\u3061\u3087\u3063\u3068\u6577\u5c45\u304c\u9ad8\u3044\u3051\u3069 GitHub \u304c\u4f7f\u3048\u308b\u306a\u3089 <a href=\"http:\/\/akisute.com\/2011\/02\/github-pull-request.html\">pull request \u3059\u308b<\/a>\u3068\u30d9\u30b9\u30c8\u3067\u3042\u308b\u3002\u3055\u3063\u305d\u304f\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8\u3067\u81ea\u4f5c\u306e\u304a\u5f79\u7acb\u3061\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u516c\u958b\u3057\u305f\u308a\u3057\u3066\u307f\u3088\u3046\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u203b\u3053\u306e\u8a18\u4e8b\u306f\u3059\u3067\u306b\u5185\u5bb9\u304c\u53e4\u304f\u306a\u3063\u3066\u3044\u307e\u3059\u3002\u3053\u3061\u3089\u3092\u3054\u89a7\u304f\u3060\u3055\u3044\u3002 Automatic Ruby \u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u7684\u306a\u8a18\u4e8b\u3092\u3001\u308f\u304b\u308a\u3084\u3059\u304f\u30ea\u30d3\u30c9\u30fc\u99c6\u52d5\u306a\u611f\u3058\u306b\u66f8\u3044\u3066\u307f\u308b\u3002 \u30bf\u30a4\u30c8\u30eb\u306f\u5728\u308a\u3057\u65e5\u306e\u25cb\u30c3\u30c8\u30e9\u30f3\u30ca\u30fc\u306e\u898b\u51fa\u3057\u3092\u30ea\u30b9\u30da &#8230; <a title=\"Ruby \u3067\u91d1\u9aea\u7f8e\u5973\u306e\u304a\u5b9d\u753b\u50cf\u3092\u307e\u3068\u3081\u3066\u3076\u3063\u3053\u629c\u304d\" class=\"read-more\" href=\"https:\/\/harpuia.id774.net\/entry\/2012\/06\/20\/98\/\" aria-label=\"Ruby \u3067\u91d1\u9aea\u7f8e\u5973\u306e\u304a\u5b9d\u753b\u50cf\u3092\u307e\u3068\u3081\u3066\u3076\u3063\u3053\u629c\u304d \u306b\u3064\u3044\u3066\u3055\u3089\u306b\u8aad\u3080\">\u7d9a\u304d\u3092\u8aad\u3080<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[14],"tags":[],"class_list":["post-98","post","type-post","status-publish","format-standard","hentry","category-tech"],"_links":{"self":[{"href":"https:\/\/harpuia.id774.net\/entry\/wp-json\/wp\/v2\/posts\/98","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/harpuia.id774.net\/entry\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/harpuia.id774.net\/entry\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/harpuia.id774.net\/entry\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/harpuia.id774.net\/entry\/wp-json\/wp\/v2\/comments?post=98"}],"version-history":[{"count":0,"href":"https:\/\/harpuia.id774.net\/entry\/wp-json\/wp\/v2\/posts\/98\/revisions"}],"wp:attachment":[{"href":"https:\/\/harpuia.id774.net\/entry\/wp-json\/wp\/v2\/media?parent=98"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/harpuia.id774.net\/entry\/wp-json\/wp\/v2\/categories?post=98"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/harpuia.id774.net\/entry\/wp-json\/wp\/v2\/tags?post=98"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}