{"provider_url":"https://hatena.blog","version":"1.0","published":"2017-12-24 00:00:00","description":"RuboCop \u5b9f\u88c5\u8005\u5411\u3051\u306e\u5c0f\u30cd\u30bf\u3002 \u4f8b\u3048\u3070 Ruby 2.2 \u4ee5\u4e0a\u306e\u307f\u3092\u30bf\u30fc\u30b2\u30c3\u30c8\u3068\u3059\u308b Cop \u3092\u4f5c\u308b\u5834\u5408\u306e\u30d7\u30ed\u30c0\u30af\u30b7\u30e7\u30f3\u30b3\u30fc\u30c9\u306e\u65b9\u306f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b TargetRubyVersion \u3092 extend \u3057\u3066 minimum_target_ruby_version \u3067 Ruby \u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u6307\u5b9a\u3059\u308b\u3002 class UnneededRequireStatement < Cop extend TargetRubyVersion minimum_target_ruby_version 2.2 \u30c6\u30b9\u30c8\u30b3\u30fc\u30c9\u306e\u65b9\u306f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u306a\u308b\u3002\u7d50\u679c\u3060\u3051\u898b\u308b\u3068 context \u306e\u5f15\u6570\u3067 Ruby \u306e\u5b9f\u884c\u30d0\u30fc\u30b8\u2026","blog_title":"koic\u306e\u65e5\u8a18","title":"RuboCop\u306eCop\u5b9f\u88c5\u3067\u8907\u6570\u306eRuby\u30d0\u30fc\u30b8\u30e7\u30f3\u3078\u306e\u30c6\u30b9\u30c8\u306e\u66f8\u304d\u65b9","blog_url":"https://koic.hatenablog.com/","categories":[],"type":"rich","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkoic.hatenablog.com%2Fentry%2Ftesting-multi-ruby-versions-for-rubocop\" title=\"RuboCop\u306eCop\u5b9f\u88c5\u3067\u8907\u6570\u306eRuby\u30d0\u30fc\u30b8\u30e7\u30f3\u3078\u306e\u30c6\u30b9\u30c8\u306e\u66f8\u304d\u65b9 - koic\u306e\u65e5\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","image_url":null,"provider_name":"Hatena Blog","width":"100%","height":"190","url":"https://koic.hatenablog.com/entry/testing-multi-ruby-versions-for-rubocop","author_name":"koic","author_url":"https://blog.hatena.ne.jp/koic/"}