)]}'
{"lib/puppet/parser/functions/is_ipv6_address.rb":[{"author":{"_account_id":8042,"name":"Jiří Stránský","email":"jistr@redhat.com","username":"jistr"},"change_message_id":"05d00dca4a00f3d4ea7c1090df69f18f733bca5b","unresolved":false,"context_lines":[{"line_number":7,"context_line":"              :doc \u003d\u003e (\"Returns true if the string passed to this function\" +"},{"line_number":8,"context_line":"                       \"is a valid IPv6 address.\")) do |arguments|"},{"line_number":9,"context_line":""},{"line_number":10,"context_line":"    require \u0027ipaddr\u0027"},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"    if (arguments.size !\u003d 1) then"},{"line_number":13,"context_line":"      raise(Puppet::ParseError, \"is_ipv6_address(): Wrong number of arguments \"+"}],"source_content_type":"text/x-ruby","patch_set":2,"id":"9a68dd71_1d5663ce","line":10,"range":{"start_line":10,"start_character":11,"end_line":10,"end_character":12},"updated":"2016-01-22 12:18:44.000000000","message":"Requires are probably better at the top of the file, so that they get loaded when the .rb file is loaded and not only when the function is used.","commit_id":"bcf60487f4349e80ecaa077aa9c68bf868499c78"},{"author":{"_account_id":8042,"name":"Jiří Stránský","email":"jistr@redhat.com","username":"jistr"},"change_message_id":"05d00dca4a00f3d4ea7c1090df69f18f733bca5b","unresolved":false,"context_lines":[{"line_number":24,"context_line":"      return true"},{"line_number":25,"context_line":"    else"},{"line_number":26,"context_line":"      return false"},{"line_number":27,"context_line":"    end"},{"line_number":28,"context_line":"  end"},{"line_number":29,"context_line":"end"},{"line_number":30,"context_line":""}],"source_content_type":"text/x-ruby","patch_set":2,"id":"9a68dd71_7d0c3fed","line":27,"updated":"2016-01-22 12:18:44.000000000","message":"This if+else block can be replaced with\n\n    return ip.ipv6?\n\nor just\n\n    ip.ipv6?\n\nas return value of ruby\u0027s methods is taken from the last command (unless it returned manually earlier)","commit_id":"bcf60487f4349e80ecaa077aa9c68bf868499c78"}]}
