<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>sue445</author_name>
  <author_url>https://blog.hatena.ne.jp/sue445/</author_url>
  <blog_title>くりにっき</blog_title>
  <blog_url>https://sue445.hatenablog.com/</blog_url>
  <categories>
    <anon>gem</anon>
  </categories>
  <description>下記エントリの続き sue445.hatenablog.com Ruby 2.7で require &quot;open-uri&quot; open(url).read のように書くと warning: calling URI.open via Kernel#open is deprecated, call URI.open directly or use URI#open のようなdeprecation warningが出ます。 しかし URI.open はRuby 2.5以降にしか存在しないためRuby 2.4以下だとエラーになります。 Ruby 2.4以下とRuby 2.5以上の両方で動かすこともできたの…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsue445.hatenablog.com%2Fentry%2F2020%2F01%2F03%2F223046&quot; title=&quot;個人gemのいくつかでRuby 2.4以下のサポートを切った - くりにっき&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>2020-01-03 22:30:46</published>
  <title>個人gemのいくつかでRuby 2.4以下のサポートを切った</title>
  <type>rich</type>
  <url>https://sue445.hatenablog.com/entry/2020/01/03/223046</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
