{"id":4766,"date":"2014-11-26T20:00:36","date_gmt":"2014-11-26T11:00:36","guid":{"rendered":"http:\/\/www.vincentina.net\/?p=4766"},"modified":"2025-02-25T22:44:21","modified_gmt":"2025-02-25T13:44:21","slug":"sinatra%e3%81%a7%e3%82%a2%e3%83%97%e3%83%aa%e9%96%8b%e7%99%ba%e3%82%84%e3%81%a3%e3%81%a6%e3%81%bf%e3%82%88%e3%81%86","status":"publish","type":"post","link":"https:\/\/www.vincentina.net\/?p=4766","title":{"rendered":"Sinatra\u3067\u30a2\u30d7\u30ea\u958b\u767a\u3084\u3063\u3066\u307f\u3088\u3046"},"content":{"rendered":"<p>Rails\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3092\u6e08\u307e\u305b\u3066\u4f55\u3068\u306a\u304f\u306f\u5206\u304b\u3063\u305f\u3082\u306e\u306e\u3001Rails\u306f\u307e\u3060\u30a2\u30a4\u30c6\u30e0\u30ec\u30d9\u30eb\u304c\u9ad8\u3044\u6c17\u304c\u3059\u308b\u3002<\/p>\n<p><span style=\"font-size: 14pt;\">\u306e\u3067\uff01<\/span><\/p>\n<p>\u3068\u308a\u3042\u3048\u305a\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3068\u3044\u3046\u3082\u306e\u3092\u4f7f\u3063\u3066\u307f\u305f\u3044\u306e\u3067\u3001<span style=\"font-size: 14pt;\">Sinatra<\/span> \u3068\u3044\u3046Rails\u3068\u306f\u5bfe\u7167\u7684\u306b\u6975\u30b7\u30f3\u30d7\u30eb\u3067\u3042\u308b\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u304c\u3042\u308b\u3089\u3057\u3044\u304b\u3089\u89e6\u3063\u3066\u307f\u308b\u3053\u3068\u306b\u3002<\/p>\n<h1>\u74b0\u5883<\/h1>\n<p>Ubuntu 14<br \/>\nruby 2.1.5<\/p>\n<h1>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h1>\n<p>\u6280\u8853\u8a55\u8ad6\u793e\u306eRuby\u5fb9\u5e95\u653b\u7565\u3092\u53c2\u8003\u306b\u9032\u3081\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n<pre>$ mkdir sinatra_projects\r\n$ cd sinatra_projects<\/pre>\n<p>bundle init \u3067 Gemfile\u304c\u3067\u304d\u308b\u306e\u3067\u4e2d\u8eab\u3092\u8a18\u8ff0\u3002<\/p>\n<pre>$ bundle init\r\n$ cat Gemfile\r\nsource \"https:\/\/rubygems.org\"\r\ngem 'sinatra'\r\ngem 'thin'\r\n\r\n$ bundle update\r\n$ bundle install<\/pre>\n<p>Rails\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3092\u3084\u3063\u305f\u306e\u3067\u4f55\u3068\u306a\u304f\u610f\u5473\u306f\u5927\u4e08\u592b\u3060\u304c\u3001Ruby\u306e\u3053\u3068\u306f\u307e\u3060\u307b\u3068\u3093\u3069\u77e5\u3089\u306a\u3044\u3002<\/p>\n<pre>$ vi app.rb\r\nrequire 'sinatra'\r\n\r\nget '\/' do\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 'Hello, world!'\r\nend<\/pre>\n<p>\u8d77\u52d5\u3057\u3066\u307f\u307e\u3059\u3002\u30aa\u30d7\u30b7\u30e7\u30f3\u306f-o 0.0.0.0\u3067\u3082OK\u3002<br \/>\nOK\u3067\u3059\u304c\u3069\u3061\u3089\u304b\u306f\u4ed8\u3051\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<pre>$ ruby app.rb -e protection\r\n== Sinatra\/1.4.5 has taken the stage on 4567 for protection with backup from Thin\r\nThin web server (v1.6.3 codename Protein Powder)\r\nMaximum connections set to 1024\r\nListening on 0.0.0.0:4567, CTRL+C to stop<\/pre>\n<p>\u3053\u308c\u3067\u30a2\u30af\u30bb\u30b9\u3059\u308c\u3070Hello world!\u304c\u51fa\u308b\u3002<br \/>\n\u51fa\u305f\u3089\u6e96\u5099\u306f\u5b8c\u4e86\u304b\u306d\u3002<\/p>\n<h1>\u4f55\u3092\u3084\u308b\u304b<\/h1>\n<p>\u7aef\u7684\u306b\u30b7\u30f3\u30d7\u30eb\u306a\u3053\u3068\u306a\u3089Sinatra\u3002DB\u3068\u30ea\u30f3\u30af\u3057\u3066\u3044\u308d\u3044\u308d\u306a\u51e6\u7406\uff08\u30e6\u30fc\u30b6\u30fc\u8a8d\u8a3c\u30fb\u7ba1\u7406\u3068\u304b\uff1f\uff09\u3092\u3059\u308b\u3068\u304b\u8907\u96d1\u306a\u4e8b\u3092\u3055\u305b\u308b\u30a2\u30d7\u30ea\u3060\u3068Rails\u304c<span style=\"font-size: 18pt;\">\u697d<\/span>\u3068\u3044\u3046\u66f8\u304b\u308c\u65b9\u3092\u3057\u3066\u3044\u308b\u3002<br \/>\n\u697d\u3068\u3044\u3046\u8868\u73fe\u306b\u306a\u308b\u306e\u306f\u305d\u3046\u3044\u3046\u4e8b\u306a\u306e\u3060\u308d\u3046\u306a\u3042\u3002<br \/>\n\u4eca\u56de\u306fAPI\u3092\u51e6\u7406\u3059\u308b\u7c21\u5358\u306a\u30da\u30fc\u30b8\u3092\u4f5c\u308d\u3046\u3068\u601d\u3063\u3066\u3044\u305f\u306e\u3067Sinatra\u3068\u3044\u3046\u30c1\u30e7\u30a4\u30b9\u306f\u65b9\u5411\u6027\u306f\u9593\u9055\u3063\u3066\u306f\u3044\u306a\u3044\u3088\u3046\u3060\u3002<\/p>\n<p>\u3061\u306a\u307f\u306bSinatra\u306fUI\u3060\u3051\u3001CGI\u306e\u4ee3\u308f\u308a\u3060\u3051\u3068\u3044\u3063\u305f\u3088\u3046\u306a\u7528\u9014\u306b\u3082\u5411\u3044\u3066\u3044\u308b\u3089\u3057\u3044\u3002<\/p>\n<h1>irb\u3067\u5b9f\u9a13<\/h1>\n<p>\u30e9\u30a4\u30d6\u30e9\u30ea\u306e\u8aad\u307f\u8fbc\u307f<\/p>\n<pre>&gt; require 'open-uri'\r\n> require 'json'<\/pre>\n<p>DoorKeeper\u3055\u3093\u306e\u30a4\u30d9\u30f3\u30c8\u3092\u53d6\u5f97\u3057\u3066\u307f\u307e\u3059<\/p>\n<pre>&gt; url = 'http:\/\/api.doorkeeper.jp\/events\/?ruby'\r\n* json = open(url).read\r\n=&gt; \"[{\\\"event\\\":{\\\"title\\\":\\\"CS-Cafe@Tsukuba #3\\\",\\\"id\\\":17897,\\\"starts_at\\\":\\\"2014-12-10T09:30:00.000Z\\\",\\\"ends_at\\\":\\\"2014-12-10T11:30:00.000Z\\\",\\\"venue_name\\\":\\\"\\\\u7b51\\\\u6ce2\\\\u5927\\\\u5b66\\\\u7dcf\\\\u5408\\\\u7814\\\\u7a76\\\\u68dfB\\\\u68df1001<\/pre>\n<p>JSON\u30e9\u30a4\u30d6\u30e9\u30ea\u3067Ruby\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306b\u5909\u63db\u3057\u307e\u3059\u3002<\/p>\n<pre>&gt; repos = JSON.parse(json)\r\n=&gt; [{\"event\"=&gt;{\"title\"=&gt;\"CS-Cafe@Tsukuba #3\", \"id\"=&gt;17897, \"starts_at\"=&gt;\"2014-12-10T09:30:00.000Z\", \"ends_at\"=&gt;\"2014-12-10T11:30:00.000Z\", \"venue_name\"=&gt;\"\u7b51\u6ce2\u5927\u5b66\u7dcf\u5408\u7814\u7a76\u68dfB\u68df1001\u53f7\u5ba4\", \"address\"=&gt;\"\u8328\u57ce\u770c\u3064\u304f\u3070\u5e02\u5929\u738b\u53f0\", \"lat\"=&gt;\"36.111155\", \"long\"=&gt;\"140.09998730000007\", \"ticket_limit\"=&gt;10, \"published_at\"=&gt;\"2014-11-23T13:42:04.283Z\", \"updated_at\"=&gt;\"2014-11-23T13:42:04.287Z\",<\/pre>\n<p>pp\u30e9\u30a4\u30d6\u30e9\u30ea\u3067\u8868\u793a\u3092\u6574\u3048\u305f\u308a\u3002<\/p>\n<pre>* require 'pp'\r\n=&gt; true\r\n> pp repos; nil\r\n[{\"event\"=&gt;\r\n\u00a0\u00a0 {\"title\"=&gt;\"CS-Cafe@Tsukuba #3\",\r\n\u00a0\u00a0\u00a0 \"id\"=&gt;17897,\r\n\u00a0\u00a0\u00a0 \"starts_at\"=&gt;\"2014-12-10T09:30:00.000Z\",\r\n\u00a0\u00a0\u00a0 \"ends_at\"=&gt;\"2014-12-10T11:30:00.000Z\",\r\n\u00a0\u00a0\u00a0 \"venue_name\"=&gt;\"\u7b51\u6ce2\u5927\u5b66\u7dcf\u5408\u7814\u7a76\u68dfB\u68df1001\u53f7\u5ba4\",\r\n\u00a0\u00a0\u00a0 \"address\"=&gt;\"\u8328\u57ce\u770c\u3064\u304f\u3070\u5e02\u5929\u738b\u53f0\",\r\n\u00a0\u00a0\u00a0 \"lat\"=&gt;\"36.111155\",<\/pre>\n<p>\u4ed6\u306b\u3082\u8272\u3005\u3042\u308a\u307e\u3059\u304c\u3001\u305f\u3060\u30ea\u30af\u30a8\u30b9\u30c8\u3059\u308b\u3060\u3051\u3060\u3063\u305f\u3089\u3001\u3060\u3044\u305f\u3044\u3053\u3093\u306a\u611f\u3058\u3067\u3059\u3002<\/p>\n<h1>\u52c9\u5f37\u4f1a\u306e\u60c5\u5831\u3092\u53d6\u5f97\u3059\u308b\u30da\u30fc\u30b8\u3092\u4f5c\u3063\u3066\u307f\u308b<\/h1>\n<p>\u7df4\u7fd2\u3067\u306fdoorkeeper\u3055\u3093\u3067\u3057\u305f\u304c\u3001\u3053\u3063\u3061\u306fatnd\u3055\u3093\u3067\u3044\u304d\u307e\u3059\u3002<\/p>\n<p>\u3042\u3068\u3067github\u306b\u30a2\u30c3\u30d7\u3059\u308b\u306e\u3067\u3001\u305f\u3093\u305f\u3093\u3068\u6d41\u308c\u3060\u3051\u66f8\u3044\u3066\u307f\u307e\u3059\u3002<\/p>\n<p>\u30fb\u30eb\u30fc\u30c8\u3068\u30d3\u30e5\u30fc\u304b\u3089\u547c\u3079\u308b\u30d8\u30eb\u30d1\u30fc\u30e1\u30bd\u30c3\u30c9\u3092\u4f5c\u6210\u3002<br \/>\n\u30fb\u30eb\u30fc\u30c8\u5b9a\u7fa9\u3068\u3084\u3089<br \/>\nRails\u306e\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u306b\u3042\u305f\u308b\u6a21\u69d8\u3002Rails\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u306f\u8272\u3005\u306a\u30da\u30fc\u30b8\u304c\u3042\u3063\u305f\u306e\u3067\u8907\u6570\u306a\u3089\u3079\u3066\u3044\u307e\u3057\u305f\u304c\u3001\u4eca\u56de\u306f1\u30da\u30fc\u30b8\u306a\u306e\u3067get &#8216;\/&#8217; do \u306e\u307f\u3067\u826f\u3044\u6a21\u69d8\u3002<br \/>\n\u30eb\u30fc\u30c8\u5b9a\u7fa9\u306e\u4e2d\u306bhtml\u3092\u6587\u5b57\u5217\u3068\u3057\u3066\u6e21\u3059\u51e6\u7406\u3092\u66f8\u304d\u8fbc\u307f\u3001erb\u30e1\u30bd\u30c3\u30c9\u306b\u6e21\u3059\u65b9\u6cd5\u304c\u3084\u308a\u3084\u3059\u3044\u3088\u3046\u3067\u3059\u3002<\/p>\n<p>erb\u30d5\u30a1\u30a4\u30eb\u3092\u5225\u306b\u7f6e\u304f\u5834\u5408\u306f\u3001views\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u4ee5\u4e0b\u306b\u8a2d\u7f6e\u3057\u3066\u3001\u30d5\u30a1\u30a4\u30eb\u540d\u3092\u30b7\u30f3\u30dc\u30eb\u3068\u3057\u3066\u6e21\u305b\u3070\u3088\u3044\u3068\u306e\u3053\u3068\u3002<\/p>\n<pre>get '\/' do\r\n erb :hoge\r\nend<\/pre>\n<p>\u3053\u3093\u306a\u611f\u3058\u3002<\/p>\n<p>Rails\u306b\u3042\u3063\u305f\u30ec\u30a4\u30a2\u30a6\u30c8\u6a5f\u80fd\u3082\u5229\u7528\u53ef\u80fd\u3067\u3001\u3053\u308c\u3082views\u4ee5\u4e0b\u306b\u8a2d\u7f6e\u3002<br \/>\n\u57fa\u672c\u7684\u306a\u3068\u3053\u308d\u306f\u307b\u307c\u5171\u901a\u306a\u3088\u3046\u3060\u3002<\/p>\n<p>views\/layout.erb<\/p>\n<pre>body\u30bf\u30b0\u5185\u3067\r\n &lt;body&gt;\r\n &lt;%= yield %&gt;\r\n &lt;\/body&gt;<\/pre>\n<p>\u307f\u305f\u3044\u306a\u611f\u3058\u3002<\/p>\n<p>\u30b9\u30bf\u30a4\u30eb\u30b7\u30fc\u30c8\u306fpublic\u4ee5\u4e0b\u306b\u8a2d\u7f6e\u3059\u308c\u3070OK\u3002<br \/>\n\u3067\u306f\u53c2\u8003\u66f8\u7c4d\u306b\u306a\u3089\u3063\u3066\u3001app.rb\u306b\u6253\u3061\u8fbc\u3093\u3067\u3044\u304d\u307e\u3059\u3002<\/p>\n<p>PHP\u3060\u3068\u308f\u308a\u3068\u3059\u3050\u306b\u51fa\u6765\u305f\u306e\u306bRuby\u3060\u3068\u3046\u307e\u304f\u66f8\u3051\u306a\u3044\u30fb\u30fb\u30fb<br \/>\n\u3046\u30fc\u3000\u3046\u30fc\u3000\u3046\u30fc<\/p>\n<p>&nbsp;<\/p>\n<h1>Bootstrap\u3092\u4f7f\u3063\u3066\u307f\u3088\u3046<\/h1>\n<p>\u516c\u5f0f\u304b\u3089DL\u3057\u3066\u304d\u3066Sinatra\u306e\u4f5c\u696d\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u5c55\u958b\u3002<\/p>\n<p>public\u306b\u30ea\u30cd\u30fc\u30e0\u3057\u307e\u3057\u305f\u3002<\/p>\n<pre>public\r\n\u251c\u2500\u2500 css\r\n\u2502\u00a0\u00a0 \u251c\u2500\u2500 bootstrap-theme.css\r\n\u2502\u00a0\u00a0 \u251c\u2500\u2500 bootstrap-theme.css.map\r\n\u2502\u00a0\u00a0 \u251c\u2500\u2500 bootstrap-theme.min.css\r\n\u2502\u00a0\u00a0 \u251c\u2500\u2500 bootstrap.css\r\n\u2502\u00a0\u00a0 \u251c\u2500\u2500 bootstrap.css.map\r\n\u2502\u00a0\u00a0 \u2514\u2500\u2500 bootstrap.min.css\r\n\u251c\u2500\u2500 fonts\r\n\u2502\u00a0\u00a0 \u251c\u2500\u2500 glyphicons-halflings-regular.eot\r\n\u2502\u00a0\u00a0 \u251c\u2500\u2500 glyphicons-halflings-regular.svg\r\n\u2502\u00a0\u00a0 \u251c\u2500\u2500 glyphicons-halflings-regular.ttf\r\n\u2502\u00a0\u00a0 \u2514\u2500\u2500 glyphicons-halflings-regular.woff\r\n\u2514\u2500\u2500 js\r\n\u00a0\u00a0\u00a0 \u251c\u2500\u2500 bootstrap.js\r\n\u00a0\u00a0\u00a0 \u251c\u2500\u2500 bootstrap.min.js\r\n\u00a0\u00a0\u00a0 \u2514\u2500\u2500 npm.js<\/pre>\n<p>\u305d\u3057\u3066\u305d\u3057\u3066<\/p>\n<p>\u3084\u3063\u3068\u51fa\u6765\u4e0a\u304c\u308a\u307e\u3057\u305f\uff01<br \/>\napp.rb\u30001\u679a\u3067\u3082\u3044\u3051\u308b\u5168\u7136\u77ed\u3044\u30b3\u30fc\u30c9\u3067\u3059\u304c\u3001erb\u30922\u679a\u3064\u304b\u3063\u3066\u8aad\u307f\u8fbc\u3080\u611f\u3058\u306b\u3057\u3066\u307e\u3059\u3002<br \/>\n\u6163\u308c\u308b\u305f\u3081\u306e\u3082\u306e\u306a\u306e\u3067\u3002<\/p>\n<p><a href=\"https:\/\/github.com\/takekentw\/sinatra_projects\" target=\"_blank\" rel=\"noopener noreferrer\">takekentw\/sinatra_projects <\/a>\u00b7 GitHub:<\/p>\n<p><a href=\"http:\/\/www.vincentina.net\/wp-content\/uploads\/2014\/11\/saku.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.vincentina.net\/wp-content\/uploads\/2014\/11\/saku.jpg\" alt=\"saku\" width=\"844\" height=\"466\" class=\"alignnone size-full wp-image-4777\" srcset=\"https:\/\/www.vincentina.net\/wp-content\/uploads\/2014\/11\/saku.jpg 844w, https:\/\/www.vincentina.net\/wp-content\/uploads\/2014\/11\/saku-300x165.jpg 300w, https:\/\/www.vincentina.net\/wp-content\/uploads\/2014\/11\/saku-624x344.jpg 624w\" sizes=\"auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><\/a><\/p>\n<p>\u304b\u308f\u3044\u3044\u306f\u6b63\u7fa9\uff01\u3068\u8a00\u3046\u3060\u3051\u3042\u3063\u3066\u3001\u898b\u6804\u3048\u304c\u3044\u3044\u3068\u305d\u3053\u305d\u3053\u898b\u308c\u308b\u3002<\/p>\n<p>\u6700\u521d\u306f\u3053\u3093\u306a\u306e\u3067\u3044\u3044\u3088\u306d\uff5e\u3002<br \/>\nviews\u3068\u304bcontroller\u3068\u304b\u306b\u6163\u308c\u3066\u3001\u3082\u3046\u3061\u3087\u3063\u3068\u5927\u304d\u3044\u3082\u306e\u304c\u5fc5\u8981\u306b\u306a\u3063\u305f\u3089Rails\u306b\u623b\u308d\u3046\u3002<br \/>\n\u30a4\u30d9\u30f3\u30c8\u30b5\u30a4\u30c8\u3092\u7db2\u7f85\u3059\u308b\u3068\u306a\u308b\u3068DB\u306f\u5fc5\u9808\u3060\u308d\u3046\u3057\u3001\u305d\u3046\u306a\u308b\u3068Rails\u304c<span style=\"font-size: 18pt;\">\u697d<\/span>\u3089\u3057\u3044\u3002<\/p>\n<p>\u53c2\u8003\u66f8\u7c4d<\/p>\n<p>Ruby \u5fb9\u5e95\u653b\u7565\u3000\u6280\u8853\u8a55\u8ad6\u793e<\/p>\n<p>\u53c2\u8003\u30b5\u30a4\u30c8<\/p>\n<p><a href=\"http:\/\/momota.github.io\/blog\/2013\/09\/22\/sinatra\/\" target=\"_blank\" rel=\"noopener noreferrer\">rails \u304b\u3089\u5916\u308c\u305f\u50d5\u3089\u306f sinatra \u3067 i did it my way (2)<\/a> &#8211; momota.txt:<\/p>\n<p><a href=\"http:\/\/www.doorkeeper.jp\/\" target=\"_blank\" rel=\"noopener noreferrer\">\u30bb\u30df\u30ca\u30fc\u30fb\u52c9\u5f37\u4f1a\u30fb\u30a4\u30d9\u30f3\u30c8\u7ba1\u7406\u30c4\u30fc\u30eb<\/a> | Doorkeeper:<\/p>\n<p><a href=\"https:\/\/atnd.org\/\" target=\"_blank\" rel=\"noopener noreferrer\">\u30a4\u30d9\u30f3\u30c8\u958b\u50ac\u652f\u63f4\u30c4\u30fc\u30eb \u30a2\u30c6\u30f3\u30c9<\/a> : ATND:<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<div class='wp_social_bookmarking_light'>        <div class=\"wsbl_twitter\"><a href=\"https:\/\/twitter.com\/share\" class=\"twitter-share-button\" data-url=\"https:\/\/www.vincentina.net\/?p=4766\" data-text=\"Sinatra\u3067\u30a2\u30d7\u30ea\u958b\u767a\u3084\u3063\u3066\u307f\u3088\u3046\" data-via=\"TakekenTw\" data-lang=\"ja\">Tweet<\/a><\/div><\/div>\n<br class='wp_social_bookmarking_light_clear' \/>\n","protected":false},"excerpt":{"rendered":"<p>Rails\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3092\u6e08\u307e\u305b\u3066\u4f55\u3068\u306a\u304f\u306f\u5206\u304b\u3063\u305f\u3082\u306e\u306e\u3001Rails\u306f\u307e\u3060\u30a2\u30a4\u30c6\u30e0\u30ec\u30d9\u30eb\u304c\u9ad8\u3044\u6c17\u304c\u3059\u308b\u3002 \u306e\u3067\uff01 \u3068\u308a\u3042\u3048\u305a\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3068\u3044\u3046\u3082\u306e\u3092\u4f7f\u3063\u3066\u307f\u305f\u3044\u306e\u3067\u3001Sinatra \u3068\u3044\u3046Rails\u3068\u306f\u5bfe\u7167\u7684\u306b\u6975\u30b7\u30f3 &hellip; <a href=\"https:\/\/www.vincentina.net\/?p=4766\" class=\"more-link\"><span class=\"screen-reader-text\">&#8220;Sinatra\u3067\u30a2\u30d7\u30ea\u958b\u767a\u3084\u3063\u3066\u307f\u3088\u3046&#8221; \u306e<\/span>\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":[106],"tags":[],"class_list":["post-4766","post","type-post","status-publish","format-standard","hentry","category-programming"],"_links":{"self":[{"href":"https:\/\/www.vincentina.net\/index.php?rest_route=\/wp\/v2\/posts\/4766","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.vincentina.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.vincentina.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.vincentina.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.vincentina.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4766"}],"version-history":[{"count":1,"href":"https:\/\/www.vincentina.net\/index.php?rest_route=\/wp\/v2\/posts\/4766\/revisions"}],"predecessor-version":[{"id":8151,"href":"https:\/\/www.vincentina.net\/index.php?rest_route=\/wp\/v2\/posts\/4766\/revisions\/8151"}],"wp:attachment":[{"href":"https:\/\/www.vincentina.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4766"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.vincentina.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4766"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.vincentina.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4766"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}