File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed
Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change 1+ # v0.2.4
2+
3+ * Improved ` Furi.update ` behavior for ` path: ` overrides:
4+
5+ * Supports ** relative path resolution** (` .. ` and subpaths)
6+ * Leading slashes in ` path ` now ** replace** the original path
7+ * ` nil ` path removes the path portion entirely, leaving only the host
8+
9+ ** Examples:**
10+
11+ ``` ruby
12+ Furi .update(" https://www.google.com/maps" , path: " place/1.23,3.28" )
13+ # => "https://www.google.com/maps/place/1.23,3.28"
14+
15+ Furi .update(" https://www.google.com/maps" , path: " /account" )
16+ # => "https://www.google.com/account"
17+
18+ Furi .update(" https://www.google.com/maps" , path: " .." )
19+ # => "https://www.google.com/"
20+
21+ Furi .update(" https://www.google.com/maps" , path: nil )
22+ # => "https://www.google.com"
23+ ```
24+
125# v0.2.3
226
327* Ruby 3.0 support #2
You can’t perform that action at this time.
0 commit comments