Changes
Ruber 0.0.10
Features
- Added a RI plugin. You can now insert the class or method name in the RI tool widget and see the documentation in a nice HTML format inside the tool widget itself. This plugin requires RDoc version 3.x (it isn’t tested with version 2.x).
- Added an IRB plugin
- The syntax checker plugin has been rewritten. Now other plugins can check the syntax of a document
- Ruby and YAML syntax checker now are in their own plugin, rather than being part of the syntax checker plugin
- The auto end plugin doesn’t use indentation anymore to decide whether the end keyword should be inserted or not. Instead, it performs a syntax check and only inserts end if ruby reports a missing end keyword. This should improve the accuracy of the plugin
- The Auto End plugin now inserts the
end
keyword after acase
expression - Clicking on a file name in an output widget with the middle mouse button now prevents the tool widget from being hidden, as if the pin button were clicked
- Changed the interface to specify patterns in the RSpec plugin
- The RSpec plugin now supports specs inside subdirectories. You can also specify subdirectories inside the pattern to match code file and the respective spec file
- When choosing the Run Specs for Current File action in the RSpec plugin, if the current document is associated with a code file, all the specs associated with it are run (previously, only one of them was run)
- When choosing the Run Current Spec action in the RSpec plugin, if the current document is a code file, the plugin will look at the most recently activated editor containing a spec file for the current file to determine which is the current spec.
- The behaviour of output widgets when clicking on a file name which requires opening a new editor has changed. The choice made by the user to open the editor in the current tab by splitting the current editor is ignored if the current tab already contains more than one editor. The reason is that usually there won’t be enough space on the sceen to comfortably accomodate more than two editors.
Bug fixes
- Do not crash when closing with unsaved files
- Horizontal scrollbar in the RSpec tool widget will be displayed when the spec description is larger than the widget but the rest of the text isn’t
Ruber 0.0.9
Features
- It is now possible to have more than one open project at the same time
- When a project is active, only the editors associated with it are visibile
- Editors not associated with a project are visible only when there’s no active project
- Made the Auto End plugin recognize some other keywords:
unless
,for
,while
,until
(the last two were already recognized when followed by ado
)
Bug fixes
- The RSpec plugin now correctly displays pending examples
- Fixed a crash when creating a new document and saving it as a ruby file while using the Syntax Checker plugin
- When clicking on a file name in an output widget, give focus to the editor instead of keeping it in the tool widget
Ruber 0.0.8
Features
- Added a new plugin: Auto End. As the name says, it automatically inserts
end
keywords aftermodule
,class
,if
… Its implementation is a bit naive at the moment (in particular, it doesn’t know whether the current line is in the middle of a string or of a block comment), so it can insertend
in the wrong places. If it does, just Undo the last action and the end’ll go away - Changed the way you open a file in the editor from a tool widget without closing the tool widget itself. Now there’s a little button on the right of the tool widget with a pin on it. Clicking on it prevents the widget being closed when clicking on a file name. This change was made because the Meta key is now used for something else
- When clicking on a file name while keeping the Meta key pressed, a new editor for the file is open (even if there was already one open). The new editor can be opened by splitting the current editor or in a new tab, depending on an option chosen by the user
- The RSpec tool widget now displays an horizontal scroll bar if a failure description is too long to fit on the tool widget. Unfortunately, I haven’t as yet found out how to do the same for the example descriptions
- Replaced Switch to File and Switch to Spec menu entries in the Ruby/Test menu with a single menu entry, which changes its name and behaviour depending on whether the current file is a spec file or not
- Added an option allowing to choose whether switching from spec file to code file (and the other way round) should be done by opening another tab or splitting the current editor
- Added a widget to display the output in the Command plugin. The widget is hidden by default and can be shown using a button
- Added menu entries (with the corresponding shortcuts) to move between split views in the current pane
- Disabled autoscrolling in tool widgets if the scroll bar is not at the end. This way, the user can look at a particular piece of output while other lines are appended at the end. This behaviour is the same used, for example, by Konsole
Minor changes
- Scrolling on an editor using the mouse wheel gives focus to the editor
Bug fixes
- Restored the Close Current Tab menu entry, which disappeared during the previous round of changes to ruberui.rc
- Do not attempt to require
kio
if using KDE 4.4.kio.rb
was split fromkorundum4.rb
in KDE 4.5, so requiring it in KDE 4.4 fails - When an exception is raised while executing code from the Command plugin, display an OK button, rather than a Quit Ruber button, since pressing the button will not (and should not) quit Ruber
- Fixed a crash involved nested split views
- Fixed a crash happening every time you tried to customize shortcuts after closing a document (which meant always if you use the State plugin). The problem was was caused by the Window/Switch to Document submenu being updated incorrectly when a document was closed
Ruber 0.0.7
- Ability to split views in tabs
- Ability to have more than one view for each document
- Made the terminal program used to run ruby programs configurable
- Added (optional) close buttons on tabs
Ruber 0.0.6
Features
- Allow Ruber to work with remote files
Bug fixes
- Fixed a bug causing a crash from the Choose Plugins dialog in case of an error
- Fixed a bug causing Ruber to look for plugins in the directory installation of a previous version if the plugin directories settings had been changed (even if the default directory hadn’t been changed)
- Made the rake plugin depend on the autosave plugin
Ruber 0.0.5
- Fixed a bug causing an error when opening files
Ruber 0.0.4
- Fixed a bug causing Ruber to fail starting up if the
$KDEHOME/share/apps/ruber/plugins
directory was missing - Fixed a bug preventing new documents being created
Ruber 0.0.3
Version skipped for technical reasons
Ruber 0.0.2
- Fixed a bug causing Ruber to fail starting up if the
$KDEHOME/share/apps/ruber/
directory was missing