<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Sixeight</author_name>
  <author_url>https://blog.hatena.ne.jp/Sixeight/</author_url>
  <blog_title>ちなみに</blog_title>
  <blog_url>https://blog.nishimu.land/</blog_url>
  <categories>
    <anon>ruby</anon>
  </categories>
  <description>研究で自分がどれくらいテストを書いているのか、を見える化する為に使っているRakeタスク CODE = FileList['lib/**/*.rb'] SPEC = FileList['spec/**/*.rb'] desc 'Report code-spec ratio' task :stats do code = `wc -l #{CODE}`.split(/ /)[-2] spec = `wc -l #{SPEC}`.split(/ /)[-2] ratio = &quot;%.1f&quot; % (spec.to_f / code.to_f) max_width = [[code, spec].map(…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.nishimu.land%2Fentry%2F20081213%2F1229136631&quot; title=&quot;Railsのrake statsの再現 - ちなみに&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2008-12-13 11:50:31</published>
  <title>Railsのrake statsの再現</title>
  <type>rich</type>
  <url>https://blog.nishimu.land/entry/20081213/1229136631</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
