beniya 0.3.0 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +124 -0
- data/CHANGELOG_v0.4.0.md +146 -0
- data/CHANGELOG_v0.5.0.md +26 -0
- data/README.md +44 -38
- data/README_EN.md +17 -38
- data/lib/beniya/bookmark.rb +115 -0
- data/lib/beniya/config.rb +4 -4
- data/lib/beniya/directory_listing.rb +14 -0
- data/lib/beniya/file_opener.rb +3 -3
- data/lib/beniya/keybind_handler.rb +547 -84
- data/lib/beniya/terminal_ui.rb +8 -7
- data/lib/beniya/version.rb +1 -1
- data/publish_gem.zsh +131 -0
- data/test_delete/test1.txt +1 -0
- data/test_delete/test2.txt +1 -0
- metadata +9 -2
data/lib/beniya/file_opener.rb
CHANGED
@@ -66,7 +66,7 @@ module Beniya
|
|
66
66
|
end
|
67
67
|
end
|
68
68
|
rescue StandardError => e
|
69
|
-
warn "
|
69
|
+
warn "Failed to open file: #{e.message}"
|
70
70
|
false
|
71
71
|
end
|
72
72
|
|
@@ -105,7 +105,7 @@ module Beniya
|
|
105
105
|
end
|
106
106
|
end
|
107
107
|
rescue StandardError => e
|
108
|
-
warn "
|
108
|
+
warn "Failed to open file: #{e.message}"
|
109
109
|
false
|
110
110
|
end
|
111
111
|
|
@@ -132,7 +132,7 @@ module Beniya
|
|
132
132
|
system("xdg-open #{quoted_path}")
|
133
133
|
end
|
134
134
|
rescue StandardError => e
|
135
|
-
warn "
|
135
|
+
warn "Failed to open directory: #{e.message}"
|
136
136
|
false
|
137
137
|
end
|
138
138
|
end
|