lib/bolt/target.rb in bolt-0.22.0 vs lib/bolt/target.rb in bolt-0.23.0
- old
+ new
@@ -105,17 +105,13 @@
def protocol
@uri_obj.scheme || @protocol
end
def user
- Addressable::URI.unencode_component(
- @uri_obj.user || @user
- )
+ Addressable::URI.unencode_component(@uri_obj.user) || @user
end
def password
- Addressable::URI.unencode_component(
- @uri_obj.password || @password
- )
+ Addressable::URI.unencode_component(@uri_obj.password) || @password
end
end
end