ruber 0.0.1.1
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.
- data/COPYING +339 -0
- data/INSTALL +137 -0
- data/LICENSE +8 -0
- data/bin/ruber +65 -0
- data/data/share/apps/ruber/core_components.yaml +31 -0
- data/data/share/apps/ruber/ruberui.rc +109 -0
- data/data/share/icons/ruber.png +0 -0
- data/data/share/pixmaps/ruby.png +0 -0
- data/icons/ruber-16.png +0 -0
- data/icons/ruber-32.png +0 -0
- data/icons/ruber-48.png +0 -0
- data/icons/ruber-8.png +0 -0
- data/lib/ruber/application/application.rb +288 -0
- data/lib/ruber/application/plugin.yaml +11 -0
- data/lib/ruber/component_manager.rb +899 -0
- data/lib/ruber/config/config.rb +82 -0
- data/lib/ruber/config/plugin.yaml +3 -0
- data/lib/ruber/document_project.rb +209 -0
- data/lib/ruber/documents/document_list.rb +416 -0
- data/lib/ruber/documents/plugin.yaml +4 -0
- data/lib/ruber/editor/document.rb +506 -0
- data/lib/ruber/editor/editor_view.rb +167 -0
- data/lib/ruber/editor/ktexteditor_wrapper.rb +202 -0
- data/lib/ruber/exception_widgets.rb +245 -0
- data/lib/ruber/external_program_plugin.rb +397 -0
- data/lib/ruber/filtered_output_widget.rb +342 -0
- data/lib/ruber/gui_states_handler.rb +231 -0
- data/lib/ruber/kde_config_option_backend.rb +167 -0
- data/lib/ruber/kde_sugar.rb +249 -0
- data/lib/ruber/main_window/choose_plugins_dlg.rb +353 -0
- data/lib/ruber/main_window/main_window.rb +524 -0
- data/lib/ruber/main_window/main_window_actions.rb +537 -0
- data/lib/ruber/main_window/main_window_internal.rb +239 -0
- data/lib/ruber/main_window/open_file_in_project_dlg.rb +212 -0
- data/lib/ruber/main_window/output_color_widget.rb +35 -0
- data/lib/ruber/main_window/plugin.yaml +58 -0
- data/lib/ruber/main_window/save_modified_files_dlg.rb +89 -0
- data/lib/ruber/main_window/status_bar.rb +156 -0
- data/lib/ruber/main_window/ui/choose_plugins_widget.rb +90 -0
- data/lib/ruber/main_window/ui/choose_plugins_widget.ui +77 -0
- data/lib/ruber/main_window/ui/main_window_settings_widget.rb +108 -0
- data/lib/ruber/main_window/ui/main_window_settings_widget.ui +89 -0
- data/lib/ruber/main_window/ui/new_project_widget.rb +119 -0
- data/lib/ruber/main_window/ui/new_project_widget.ui +178 -0
- data/lib/ruber/main_window/ui/open_file_in_project_dlg.rb +109 -0
- data/lib/ruber/main_window/ui/open_file_in_project_dlg.ui +168 -0
- data/lib/ruber/main_window/ui/output_color_widget.rb +241 -0
- data/lib/ruber/main_window/ui/output_color_widget.ui +204 -0
- data/lib/ruber/main_window/workspace.rb +442 -0
- data/lib/ruber/output_widget.rb +1093 -0
- data/lib/ruber/plugin.rb +264 -0
- data/lib/ruber/plugin_like.rb +589 -0
- data/lib/ruber/plugin_specification.rb +106 -0
- data/lib/ruber/plugin_specification_reader.rb +451 -0
- data/lib/ruber/project.rb +493 -0
- data/lib/ruber/project_backend.rb +105 -0
- data/lib/ruber/projects/plugin.yaml +11 -0
- data/lib/ruber/projects/project_files_list.rb +314 -0
- data/lib/ruber/projects/project_files_widget.rb +301 -0
- data/lib/ruber/projects/project_list.rb +314 -0
- data/lib/ruber/projects/ui/project_files_rule_chooser_widget.rb +74 -0
- data/lib/ruber/projects/ui/project_files_rule_chooser_widget.ui +61 -0
- data/lib/ruber/projects/ui/project_files_widget.rb +117 -0
- data/lib/ruber/projects/ui/project_files_widget.ui +123 -0
- data/lib/ruber/qt_sugar.rb +673 -0
- data/lib/ruber/settings_container.rb +515 -0
- data/lib/ruber/settings_dialog.rb +244 -0
- data/lib/ruber/settings_dialog_manager.rb +503 -0
- data/lib/ruber/utils.rb +414 -0
- data/lib/ruber/yaml_option_backend.rb +159 -0
- data/outsider_files +15 -0
- data/plugins/autosave/autosave.rb +404 -0
- data/plugins/autosave/plugin.yaml +16 -0
- data/plugins/autosave/ui/autosave_config_widget.rb +83 -0
- data/plugins/autosave/ui/autosave_config_widget.ui +68 -0
- data/plugins/command/command.png +0 -0
- data/plugins/command/command.rb +74 -0
- data/plugins/command/plugin.yaml +11 -0
- data/plugins/find_in_files/find_in_files.rb +337 -0
- data/plugins/find_in_files/find_in_files_dlg.rb +411 -0
- data/plugins/find_in_files/find_in_files_ui.rc +11 -0
- data/plugins/find_in_files/find_in_files_widgets.rb +485 -0
- data/plugins/find_in_files/plugin.yaml +23 -0
- data/plugins/find_in_files/ui/config_widget.rb +58 -0
- data/plugins/find_in_files/ui/config_widget.ui +41 -0
- data/plugins/find_in_files/ui/find_in_files_widget.rb +260 -0
- data/plugins/find_in_files/ui/find_in_files_widget.ui +324 -0
- data/plugins/project_browser/plugin.yaml +10 -0
- data/plugins/project_browser/project_browser.rb +245 -0
- data/plugins/rake/plugin.yaml +39 -0
- data/plugins/rake/rake.png +0 -0
- data/plugins/rake/rake.rb +567 -0
- data/plugins/rake/rake_extension.rb +153 -0
- data/plugins/rake/rake_widgets.rb +615 -0
- data/plugins/rake/rakeui.rc +27 -0
- data/plugins/rake/ui/add_quick_task_widget.rb +71 -0
- data/plugins/rake/ui/add_quick_task_widget.ui +59 -0
- data/plugins/rake/ui/choose_task_widget.rb +77 -0
- data/plugins/rake/ui/choose_task_widget.ui +72 -0
- data/plugins/rake/ui/config_widget.rb +127 -0
- data/plugins/rake/ui/config_widget.ui +123 -0
- data/plugins/rake/ui/project_widget.rb +217 -0
- data/plugins/rake/ui/project_widget.ui +246 -0
- data/plugins/rspec/plugin.yaml +30 -0
- data/plugins/rspec/rspec.png +0 -0
- data/plugins/rspec/rspec.rb +945 -0
- data/plugins/rspec/rspec.svg +90 -0
- data/plugins/rspec/rspecui.rc +20 -0
- data/plugins/rspec/ruber_rspec_formatter.rb +312 -0
- data/plugins/rspec/ui/rspec_project_widget.rb +170 -0
- data/plugins/rspec/ui/rspec_project_widget.ui +193 -0
- data/plugins/ruby_development/plugin.yaml +27 -0
- data/plugins/ruby_development/ruby_development.png +0 -0
- data/plugins/ruby_development/ruby_development.rb +453 -0
- data/plugins/ruby_development/ruby_developmentui.rc +19 -0
- data/plugins/ruby_development/ui/project_widget.rb +112 -0
- data/plugins/ruby_development/ui/project_widget.ui +108 -0
- data/plugins/ruby_runner/config_widget.rb +116 -0
- data/plugins/ruby_runner/plugin.yaml +26 -0
- data/plugins/ruby_runner/project_widget.rb +62 -0
- data/plugins/ruby_runner/ruby.png +0 -0
- data/plugins/ruby_runner/ruby_interpretersui.rc +26 -0
- data/plugins/ruby_runner/ruby_runner.rb +411 -0
- data/plugins/ruby_runner/ui/config_widget.rb +92 -0
- data/plugins/ruby_runner/ui/config_widget.ui +91 -0
- data/plugins/ruby_runner/ui/project_widget.rb +60 -0
- data/plugins/ruby_runner/ui/project_widget.ui +48 -0
- data/plugins/ruby_runner/ui/ruby_runnner_plugin_option_widget.rb +59 -0
- data/plugins/ruby_runner/ui/ruby_runnner_plugin_option_widget.ui +44 -0
- data/plugins/state/plugin.yaml +28 -0
- data/plugins/state/state.rb +520 -0
- data/plugins/state/ui/config_widget.rb +92 -0
- data/plugins/state/ui/config_widget.ui +89 -0
- data/plugins/syntax_checker/plugin.yaml +18 -0
- data/plugins/syntax_checker/syntax_checker.rb +662 -0
- data/ruber.desktop +10 -0
- data/spec/annotation_model_spec.rb +174 -0
- data/spec/common.rb +119 -0
- data/spec/component_manager_spec.rb +1259 -0
- data/spec/document_list_spec.rb +626 -0
- data/spec/document_project_spec.rb +373 -0
- data/spec/document_spec.rb +779 -0
- data/spec/editor_view_spec.rb +167 -0
- data/spec/external_program_plugin_spec.rb +676 -0
- data/spec/filtered_output_widget_spec.rb +642 -0
- data/spec/gui_states_handler_spec.rb +304 -0
- data/spec/kde_config_option_backend_spec.rb +214 -0
- data/spec/kde_sugar_spec.rb +101 -0
- data/spec/ktexteditor_wrapper_spec.rb +305 -0
- data/spec/output_widget_spec.rb +1703 -0
- data/spec/plugin_spec.rb +1393 -0
- data/spec/plugin_specification_reader_spec.rb +1765 -0
- data/spec/plugin_specification_spec.rb +401 -0
- data/spec/project_backend_spec.rb +172 -0
- data/spec/project_files_list_spec.rb +401 -0
- data/spec/project_list_spec.rb +511 -0
- data/spec/project_spec.rb +990 -0
- data/spec/qt_sugar_spec.rb +328 -0
- data/spec/settings_container_spec.rb +617 -0
- data/spec/settings_dialog_manager_spec.rb +773 -0
- data/spec/settings_dialog_spec.rb +419 -0
- data/spec/state_spec.rb +991 -0
- data/spec/utils_spec.rb +406 -0
- data/spec/workspace_spec.rb +869 -0
- data/spec/yaml_option_backend_spec.rb +246 -0
- metadata +284 -0
|
@@ -0,0 +1,246 @@
|
|
|
1
|
+
require 'spec/common'
|
|
2
|
+
require 'tempfile'
|
|
3
|
+
require 'fileutils'
|
|
4
|
+
require 'tmpdir'
|
|
5
|
+
require 'facets/kernel/deep_copy'
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
require 'ruber/yaml_option_backend'
|
|
9
|
+
|
|
10
|
+
describe 'Ruber::YamlSettingsBackend, when created' do
|
|
11
|
+
|
|
12
|
+
it 'should load the yaml file passed as argument and store its contents, if the file exists' do
|
|
13
|
+
Tempfile.open('yaml_option_backend.yaml') do |tf|
|
|
14
|
+
data = <<EOS
|
|
15
|
+
:G1:
|
|
16
|
+
:o1: 1
|
|
17
|
+
:o2: hello
|
|
18
|
+
:G2:
|
|
19
|
+
:o1: ~
|
|
20
|
+
:o2: [1, 2, a]
|
|
21
|
+
:o3: test
|
|
22
|
+
EOS
|
|
23
|
+
tf.write data
|
|
24
|
+
tf.flush
|
|
25
|
+
back = Ruber::YamlSettingsBackend.new(tf.path)
|
|
26
|
+
exp = {
|
|
27
|
+
:G1 => {:o1 => 1, :o2 => 'hello'},
|
|
28
|
+
:G2 => {:o1 => nil, :o2 => [1,2, 'a'], :o3 => 'test'}
|
|
29
|
+
}
|
|
30
|
+
back.instance_variable_get(:@data).should == exp
|
|
31
|
+
end
|
|
32
|
+
end
|
|
33
|
+
|
|
34
|
+
it 'should raise YamlSettingsBackend::InvalidSettingsFile if the file exists but isn\'t a valid YAML file' do
|
|
35
|
+
Tempfile.open('yaml_option_backend.yaml') do |tf|
|
|
36
|
+
data = "{"
|
|
37
|
+
tf.write data
|
|
38
|
+
tf.flush
|
|
39
|
+
lambda{Ruber::YamlSettingsBackend.new(tf.path)}.should raise_error(Ruber::YamlSettingsBackend::InvalidSettingsFile)
|
|
40
|
+
end
|
|
41
|
+
end
|
|
42
|
+
|
|
43
|
+
it 'should raise YamlSettingsBackend::InvalidSettingsFile if the file exists but doesn\'t contain a top-level hash' do
|
|
44
|
+
Tempfile.open('yaml_option_backend.yaml') do |tf|
|
|
45
|
+
data = "[a, b, c]"
|
|
46
|
+
tf.write data
|
|
47
|
+
tf.flush
|
|
48
|
+
lambda{Ruber::YamlSettingsBackend.new(tf.path)}.should raise_error(Ruber::YamlSettingsBackend::InvalidSettingsFile)
|
|
49
|
+
end
|
|
50
|
+
end
|
|
51
|
+
|
|
52
|
+
it 'sets the data to an empty hash before raising InvalidSettingsFile if the file isn\'t a valid YAML file' do
|
|
53
|
+
|
|
54
|
+
cls = Class.new(Ruber::YamlSettingsBackend) do
|
|
55
|
+
def initialize file
|
|
56
|
+
begin super
|
|
57
|
+
rescue Ruber::YamlSettingsBackend::InvalidSettingsFile
|
|
58
|
+
end
|
|
59
|
+
end
|
|
60
|
+
end
|
|
61
|
+
|
|
62
|
+
Tempfile.open('yaml_option_backend.yaml') do |tf|
|
|
63
|
+
data = "{"
|
|
64
|
+
tf.write data
|
|
65
|
+
tf.flush
|
|
66
|
+
back = cls.new tf.path
|
|
67
|
+
back.instance_variable_get(:@data).should == {}
|
|
68
|
+
end
|
|
69
|
+
|
|
70
|
+
end
|
|
71
|
+
|
|
72
|
+
it 'sets the data to an empty hash before raising InvalidSettingsFile if the file isn\'t a valid project file' do
|
|
73
|
+
|
|
74
|
+
cls = Class.new(Ruber::YamlSettingsBackend) do
|
|
75
|
+
def initialize file
|
|
76
|
+
begin super
|
|
77
|
+
rescue Ruber::YamlSettingsBackend::InvalidSettingsFile
|
|
78
|
+
end
|
|
79
|
+
end
|
|
80
|
+
end
|
|
81
|
+
|
|
82
|
+
Tempfile.open('yaml_option_backend.yaml') do |tf|
|
|
83
|
+
data = "[a, b, c]"
|
|
84
|
+
tf.write data
|
|
85
|
+
tf.flush
|
|
86
|
+
back = cls.new tf.path
|
|
87
|
+
back.instance_variable_get(:@data).should == {}
|
|
88
|
+
end
|
|
89
|
+
|
|
90
|
+
end
|
|
91
|
+
|
|
92
|
+
it 'should create an empty hash if the file doesn\'t exist' do
|
|
93
|
+
back = Ruber::YamlSettingsBackend.new('/xyz.yaml')
|
|
94
|
+
back.instance_variable_get(:@data).should == {}
|
|
95
|
+
end
|
|
96
|
+
|
|
97
|
+
it 'should store the name of the file' do
|
|
98
|
+
back = Ruber::YamlSettingsBackend.new('/xyz.yaml')
|
|
99
|
+
back.instance_variable_get(:@filename).should == '/xyz.yaml'
|
|
100
|
+
end
|
|
101
|
+
|
|
102
|
+
end
|
|
103
|
+
|
|
104
|
+
describe 'Ruber::YamlSettingsBackend#[]' do
|
|
105
|
+
|
|
106
|
+
before do
|
|
107
|
+
Tempfile.open('yaml_option_backend.yaml') do |tf|
|
|
108
|
+
data = <<EOS
|
|
109
|
+
:G1:
|
|
110
|
+
:o1: 1
|
|
111
|
+
:o2: hello
|
|
112
|
+
:G2:
|
|
113
|
+
:o1: ~
|
|
114
|
+
:o2: [1, 2, a]
|
|
115
|
+
:o3: test
|
|
116
|
+
EOS
|
|
117
|
+
tf.write data
|
|
118
|
+
tf.flush
|
|
119
|
+
@back = Ruber::YamlSettingsBackend.new(tf.path)
|
|
120
|
+
end
|
|
121
|
+
end
|
|
122
|
+
|
|
123
|
+
it 'should return the value of the option with the group and name specified by the argument' do
|
|
124
|
+
opt = OS.new({:name => :o2, :group => :G2, :default => []})
|
|
125
|
+
@back[opt].should == [1, 2, 'a']
|
|
126
|
+
end
|
|
127
|
+
|
|
128
|
+
it 'should return the default value of the option if an option with that name and group doesn\'t exist' do
|
|
129
|
+
opt = OS.new({:name => :o4, :group => :G2, :default => 'xyz'})
|
|
130
|
+
@back[opt].should == 'xyz'
|
|
131
|
+
opt = OS.new({:name => :o1, :group => :G3, :default => (1..2)})
|
|
132
|
+
@back[opt].should == (1..2)
|
|
133
|
+
opt = OS.new({:name => :o4, :group => :G3, :default => []})
|
|
134
|
+
@back[opt].should == []
|
|
135
|
+
end
|
|
136
|
+
|
|
137
|
+
it 'should return a deep duplicate of the default value for the option if the option isn\'t in the file' do
|
|
138
|
+
opt = OS.new({:name => :option_6, :group => :group_one, :default => {:a => 2}})
|
|
139
|
+
@back[opt].should == {:a => 2}
|
|
140
|
+
@back[opt].should_not equal(opt.default)
|
|
141
|
+
opt = OS.new({:name => :option_2, :group => :group_three, :default => 'hello'})
|
|
142
|
+
@back[opt].should == 'hello'
|
|
143
|
+
@back[opt].should_not equal(opt.default)
|
|
144
|
+
opt = OS.new({:name => :option_6, :group => :group_one, :default => {:a => %w[a b]}})
|
|
145
|
+
@back[opt].should == {:a => %w[a b]}
|
|
146
|
+
@back[opt].should_not equal(opt.default)
|
|
147
|
+
@back[opt][:a].should_not equal(opt.default[:a])
|
|
148
|
+
opt = OS.new({:name => :option_7, :group => :group_three, :default => 3})
|
|
149
|
+
@back[opt].should == 3
|
|
150
|
+
end
|
|
151
|
+
|
|
152
|
+
end
|
|
153
|
+
|
|
154
|
+
describe 'Ruber::YamlSettingsBackend#write' do
|
|
155
|
+
|
|
156
|
+
before do
|
|
157
|
+
@filename =File.join(Dir.tmpdir, 'ruber_yaml_option_backend.yaml')
|
|
158
|
+
end
|
|
159
|
+
|
|
160
|
+
after do
|
|
161
|
+
FileUtils.rm_f @filename
|
|
162
|
+
end
|
|
163
|
+
|
|
164
|
+
it 'should write all the options passed as argument to file' do
|
|
165
|
+
back = Ruber::YamlSettingsBackend.new @filename
|
|
166
|
+
options = {
|
|
167
|
+
OS.new(:name => :o1, :group => :G1, :default => 3) => -1,
|
|
168
|
+
OS.new(:name => :o2, :group => :G1, :default => 'xyz') => 'abc',
|
|
169
|
+
OS.new(:name => :o1, :group => :G2, :default => :a) => :b
|
|
170
|
+
}
|
|
171
|
+
back.write(options)
|
|
172
|
+
exp = {
|
|
173
|
+
:G1 => {:o1 => -1, :o2 => 'abc'},
|
|
174
|
+
:G2 => {:o1 => :b}
|
|
175
|
+
}
|
|
176
|
+
(YAML.load File.read(@filename)).should == exp
|
|
177
|
+
end
|
|
178
|
+
|
|
179
|
+
it 'should not write the options whose value is equal to their default value' do
|
|
180
|
+
back = Ruber::YamlSettingsBackend.new @filename
|
|
181
|
+
options = {
|
|
182
|
+
OS.new(:name => :o1, :group => :G1, :default => 3) => 3,
|
|
183
|
+
OS.new(:name => :o2, :group => :G1, :default => 'xyz') => 'abc',
|
|
184
|
+
OS.new(:name => :o1, :group => :G2, :default => :a) => :a
|
|
185
|
+
}
|
|
186
|
+
back.write(options)
|
|
187
|
+
exp = { :G1 => {:o2 => 'abc'} }
|
|
188
|
+
(YAML.load File.read(@filename)).should == exp
|
|
189
|
+
end
|
|
190
|
+
|
|
191
|
+
it 'should not remove options not included in the argument from the file' do
|
|
192
|
+
back = Ruber::YamlSettingsBackend.new @filename
|
|
193
|
+
orig_data = {
|
|
194
|
+
:G1 => {:o1 => 7, :o3 => :x},
|
|
195
|
+
:G2 => {:o2 => 1..2},
|
|
196
|
+
:G3 => {:o1 => 'hello', :o3 => [1,2,3]}
|
|
197
|
+
}
|
|
198
|
+
back.instance_variable_set :@data, orig_data
|
|
199
|
+
options = {
|
|
200
|
+
OS.new(:name => :o1, :group => :G1, :default => 3) => 3,
|
|
201
|
+
OS.new(:name => :o2, :group => :G1, :default => 'xyz') => 'abc',
|
|
202
|
+
OS.new(:name => :o1, :group => :G2, :default => :a) => :b
|
|
203
|
+
}
|
|
204
|
+
back.write(options)
|
|
205
|
+
exp = orig_data.deep_copy
|
|
206
|
+
exp[:G1].delete :o1
|
|
207
|
+
exp[:G1][:o2] = 'abc'
|
|
208
|
+
exp[:G2][:o1] = :b
|
|
209
|
+
(YAML.load File.read(@filename)).should == exp
|
|
210
|
+
end
|
|
211
|
+
|
|
212
|
+
it 'should store the new data' do
|
|
213
|
+
back = Ruber::YamlSettingsBackend.new @filename
|
|
214
|
+
orig_data = {
|
|
215
|
+
:G1 => {:o1 => 7, :o3 => :x},
|
|
216
|
+
:G2 => {:o2 => 1..2},
|
|
217
|
+
:G3 => {:o1 => 'hello', :o3 => [1,2,3]}
|
|
218
|
+
}
|
|
219
|
+
back.instance_variable_set :@data, orig_data
|
|
220
|
+
options = {
|
|
221
|
+
OS.new(:name => :o1, :group => :G1, :default => 3) => 5,
|
|
222
|
+
OS.new(:name => :o2, :group => :G1, :default => 'xyz') => 'abc',
|
|
223
|
+
OS.new(:name => :o1, :group => :G2, :default => :a) => :b
|
|
224
|
+
}
|
|
225
|
+
back.write(options)
|
|
226
|
+
exp = orig_data.deep_copy
|
|
227
|
+
exp[:G1][:o1] = 5
|
|
228
|
+
exp[:G1][:o2] = 'abc'
|
|
229
|
+
exp[:G2][:o1] = :b
|
|
230
|
+
back.instance_variable_get(:@data).should == exp
|
|
231
|
+
end
|
|
232
|
+
|
|
233
|
+
end
|
|
234
|
+
|
|
235
|
+
describe Ruber::YamlSettingsBackend do
|
|
236
|
+
|
|
237
|
+
describe "#file" do
|
|
238
|
+
|
|
239
|
+
it 'should return the argument passed to the constructor' do
|
|
240
|
+
back = Ruber::YamlSettingsBackend.new('/xyz.yaml')
|
|
241
|
+
back.file.should == '/xyz.yaml'
|
|
242
|
+
end
|
|
243
|
+
|
|
244
|
+
end
|
|
245
|
+
|
|
246
|
+
end
|
metadata
ADDED
|
@@ -0,0 +1,284 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: ruber
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
prerelease: false
|
|
5
|
+
segments:
|
|
6
|
+
- 0
|
|
7
|
+
- 0
|
|
8
|
+
- 1
|
|
9
|
+
- 1
|
|
10
|
+
version: 0.0.1.1
|
|
11
|
+
platform: ruby
|
|
12
|
+
authors:
|
|
13
|
+
- Stefano Crocco
|
|
14
|
+
autorequire:
|
|
15
|
+
bindir: bin
|
|
16
|
+
cert_chain: []
|
|
17
|
+
|
|
18
|
+
date: 2010-11-03 00:00:00 +01:00
|
|
19
|
+
default_executable:
|
|
20
|
+
dependencies:
|
|
21
|
+
- !ruby/object:Gem::Dependency
|
|
22
|
+
name: facets
|
|
23
|
+
prerelease: false
|
|
24
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
|
25
|
+
none: false
|
|
26
|
+
requirements:
|
|
27
|
+
- - ">="
|
|
28
|
+
- !ruby/object:Gem::Version
|
|
29
|
+
segments:
|
|
30
|
+
- 2
|
|
31
|
+
- 7
|
|
32
|
+
version: "2.7"
|
|
33
|
+
type: :runtime
|
|
34
|
+
version_requirements: *id001
|
|
35
|
+
- !ruby/object:Gem::Dependency
|
|
36
|
+
name: dictionary
|
|
37
|
+
prerelease: false
|
|
38
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
|
39
|
+
none: false
|
|
40
|
+
requirements:
|
|
41
|
+
- - ">="
|
|
42
|
+
- !ruby/object:Gem::Version
|
|
43
|
+
segments:
|
|
44
|
+
- 0
|
|
45
|
+
version: "0"
|
|
46
|
+
type: :runtime
|
|
47
|
+
version_requirements: *id002
|
|
48
|
+
- !ruby/object:Gem::Dependency
|
|
49
|
+
name: rak
|
|
50
|
+
prerelease: false
|
|
51
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
|
52
|
+
none: false
|
|
53
|
+
requirements:
|
|
54
|
+
- - ">="
|
|
55
|
+
- !ruby/object:Gem::Version
|
|
56
|
+
segments:
|
|
57
|
+
- 0
|
|
58
|
+
version: "0"
|
|
59
|
+
type: :runtime
|
|
60
|
+
version_requirements: *id003
|
|
61
|
+
- !ruby/object:Gem::Dependency
|
|
62
|
+
name: outsider
|
|
63
|
+
prerelease: false
|
|
64
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
|
65
|
+
none: false
|
|
66
|
+
requirements:
|
|
67
|
+
- - ">="
|
|
68
|
+
- !ruby/object:Gem::Version
|
|
69
|
+
segments:
|
|
70
|
+
- 0
|
|
71
|
+
version: "0"
|
|
72
|
+
type: :runtime
|
|
73
|
+
version_requirements: *id004
|
|
74
|
+
description: " Ruber is a Ruby editor for KDE 4 written in pure ruby, making use of the\n excellent ruby bindings for KDE 4 (korundum).\n \n Ruber is plugin-based, meaning that almost all its functionality is provided\n by plugins. This has two important consequences:\n 1) A user can write plugins having availlable all the features availlable to \n the Ruber developers. In other words, there's not a plugin-specifi API\n 2) Users can write plugins which replace some of the core functionality of\n Ruber. For example, a user can create a plugin which replaces the default\n plugin to run ruby programs\n"
|
|
75
|
+
email: stefano.crocco@alice.it
|
|
76
|
+
executables:
|
|
77
|
+
- ruber
|
|
78
|
+
extensions: []
|
|
79
|
+
|
|
80
|
+
extra_rdoc_files: []
|
|
81
|
+
|
|
82
|
+
files:
|
|
83
|
+
- lib/ruber/kde_config_option_backend.rb
|
|
84
|
+
- lib/ruber/qt_sugar.rb
|
|
85
|
+
- lib/ruber/main_window/ui/new_project_widget.rb
|
|
86
|
+
- lib/ruber/main_window/ui/new_project_widget.ui
|
|
87
|
+
- lib/ruber/main_window/ui/output_color_widget.rb
|
|
88
|
+
- lib/ruber/main_window/ui/output_color_widget.ui
|
|
89
|
+
- lib/ruber/main_window/ui/choose_plugins_widget.rb
|
|
90
|
+
- lib/ruber/main_window/ui/choose_plugins_widget.ui
|
|
91
|
+
- lib/ruber/main_window/ui/open_file_in_project_dlg.rb
|
|
92
|
+
- lib/ruber/main_window/ui/open_file_in_project_dlg.ui
|
|
93
|
+
- lib/ruber/main_window/ui/main_window_settings_widget.rb
|
|
94
|
+
- lib/ruber/main_window/ui/main_window_settings_widget.ui
|
|
95
|
+
- lib/ruber/main_window/main_window_internal.rb
|
|
96
|
+
- lib/ruber/main_window/plugin.yaml
|
|
97
|
+
- lib/ruber/main_window/workspace.rb
|
|
98
|
+
- lib/ruber/main_window/status_bar.rb
|
|
99
|
+
- lib/ruber/main_window/main_window.rb
|
|
100
|
+
- lib/ruber/main_window/main_window_actions.rb
|
|
101
|
+
- lib/ruber/main_window/output_color_widget.rb
|
|
102
|
+
- lib/ruber/main_window/save_modified_files_dlg.rb
|
|
103
|
+
- lib/ruber/main_window/open_file_in_project_dlg.rb
|
|
104
|
+
- lib/ruber/main_window/choose_plugins_dlg.rb
|
|
105
|
+
- lib/ruber/application/plugin.yaml
|
|
106
|
+
- lib/ruber/application/application.rb
|
|
107
|
+
- lib/ruber/exception_widgets.rb
|
|
108
|
+
- lib/ruber/gui_states_handler.rb
|
|
109
|
+
- lib/ruber/project_backend.rb
|
|
110
|
+
- lib/ruber/documents/plugin.yaml
|
|
111
|
+
- lib/ruber/documents/document_list.rb
|
|
112
|
+
- lib/ruber/plugin_specification.rb
|
|
113
|
+
- lib/ruber/output_widget.rb
|
|
114
|
+
- lib/ruber/settings_dialog.rb
|
|
115
|
+
- lib/ruber/config/plugin.yaml
|
|
116
|
+
- lib/ruber/config/config.rb
|
|
117
|
+
- lib/ruber/settings_dialog_manager.rb
|
|
118
|
+
- lib/ruber/editor/ktexteditor_wrapper.rb
|
|
119
|
+
- lib/ruber/editor/editor_view.rb
|
|
120
|
+
- lib/ruber/editor/document.rb
|
|
121
|
+
- lib/ruber/component_manager.rb
|
|
122
|
+
- lib/ruber/plugin_specification_reader.rb
|
|
123
|
+
- lib/ruber/plugin_like.rb
|
|
124
|
+
- lib/ruber/document_project.rb
|
|
125
|
+
- lib/ruber/yaml_option_backend.rb
|
|
126
|
+
- lib/ruber/project.rb
|
|
127
|
+
- lib/ruber/external_program_plugin.rb
|
|
128
|
+
- lib/ruber/kde_sugar.rb
|
|
129
|
+
- lib/ruber/filtered_output_widget.rb
|
|
130
|
+
- lib/ruber/projects/ui/project_files_widget.rb
|
|
131
|
+
- lib/ruber/projects/ui/project_files_widget.ui
|
|
132
|
+
- lib/ruber/projects/ui/project_files_rule_chooser_widget.rb
|
|
133
|
+
- lib/ruber/projects/ui/project_files_rule_chooser_widget.ui
|
|
134
|
+
- lib/ruber/projects/plugin.yaml
|
|
135
|
+
- lib/ruber/projects/project_files_list.rb
|
|
136
|
+
- lib/ruber/projects/project_files_widget.rb
|
|
137
|
+
- lib/ruber/projects/project_list.rb
|
|
138
|
+
- lib/ruber/settings_container.rb
|
|
139
|
+
- lib/ruber/plugin.rb
|
|
140
|
+
- lib/ruber/utils.rb
|
|
141
|
+
- plugins/rake/ui/choose_task_widget.rb
|
|
142
|
+
- plugins/rake/ui/choose_task_widget.ui
|
|
143
|
+
- plugins/rake/ui/project_widget.rb
|
|
144
|
+
- plugins/rake/ui/project_widget.ui
|
|
145
|
+
- plugins/rake/ui/add_quick_task_widget.rb
|
|
146
|
+
- plugins/rake/ui/add_quick_task_widget.ui
|
|
147
|
+
- plugins/rake/ui/config_widget.rb
|
|
148
|
+
- plugins/rake/ui/config_widget.ui
|
|
149
|
+
- plugins/rake/rake.rb
|
|
150
|
+
- plugins/rake/plugin.yaml
|
|
151
|
+
- plugins/rake/rakeui.rc
|
|
152
|
+
- plugins/rake/rake.png
|
|
153
|
+
- plugins/rake/rake_extension.rb
|
|
154
|
+
- plugins/rake/rake_widgets.rb
|
|
155
|
+
- plugins/command/plugin.yaml
|
|
156
|
+
- plugins/command/command.png
|
|
157
|
+
- plugins/command/command.rb
|
|
158
|
+
- plugins/rspec/ui/rspec_project_widget.rb
|
|
159
|
+
- plugins/rspec/ui/rspec_project_widget.ui
|
|
160
|
+
- plugins/rspec/plugin.yaml
|
|
161
|
+
- plugins/rspec/rspec.rb
|
|
162
|
+
- plugins/rspec/rspec.png
|
|
163
|
+
- plugins/rspec/rspec.svg
|
|
164
|
+
- plugins/rspec/rspecui.rc
|
|
165
|
+
- plugins/rspec/ruber_rspec_formatter.rb
|
|
166
|
+
- plugins/state/ui/config_widget.rb
|
|
167
|
+
- plugins/state/ui/config_widget.ui
|
|
168
|
+
- plugins/state/plugin.yaml
|
|
169
|
+
- plugins/state/state.rb
|
|
170
|
+
- plugins/find_in_files/ui/config_widget.rb
|
|
171
|
+
- plugins/find_in_files/ui/config_widget.ui
|
|
172
|
+
- plugins/find_in_files/ui/find_in_files_widget.rb
|
|
173
|
+
- plugins/find_in_files/ui/find_in_files_widget.ui
|
|
174
|
+
- plugins/find_in_files/plugin.yaml
|
|
175
|
+
- plugins/find_in_files/find_in_files.rb
|
|
176
|
+
- plugins/find_in_files/find_in_files_widgets.rb
|
|
177
|
+
- plugins/find_in_files/find_in_files_dlg.rb
|
|
178
|
+
- plugins/find_in_files/find_in_files_ui.rc
|
|
179
|
+
- plugins/autosave/ui/autosave_config_widget.rb
|
|
180
|
+
- plugins/autosave/ui/autosave_config_widget.ui
|
|
181
|
+
- plugins/autosave/autosave.rb
|
|
182
|
+
- plugins/autosave/plugin.yaml
|
|
183
|
+
- plugins/ruby_runner/ui/ruby_runnner_plugin_option_widget.rb
|
|
184
|
+
- plugins/ruby_runner/ui/ruby_runnner_plugin_option_widget.ui
|
|
185
|
+
- plugins/ruby_runner/ui/project_widget.rb
|
|
186
|
+
- plugins/ruby_runner/ui/project_widget.ui
|
|
187
|
+
- plugins/ruby_runner/ui/config_widget.rb
|
|
188
|
+
- plugins/ruby_runner/ui/config_widget.ui
|
|
189
|
+
- plugins/ruby_runner/plugin.yaml
|
|
190
|
+
- plugins/ruby_runner/ruby_runner.rb
|
|
191
|
+
- plugins/ruby_runner/ruby.png
|
|
192
|
+
- plugins/ruby_runner/project_widget.rb
|
|
193
|
+
- plugins/ruby_runner/config_widget.rb
|
|
194
|
+
- plugins/ruby_runner/ruby_interpretersui.rc
|
|
195
|
+
- plugins/project_browser/plugin.yaml
|
|
196
|
+
- plugins/project_browser/project_browser.rb
|
|
197
|
+
- plugins/syntax_checker/plugin.yaml
|
|
198
|
+
- plugins/syntax_checker/syntax_checker.rb
|
|
199
|
+
- plugins/ruby_development/ui/project_widget.rb
|
|
200
|
+
- plugins/ruby_development/ui/project_widget.ui
|
|
201
|
+
- plugins/ruby_development/plugin.yaml
|
|
202
|
+
- plugins/ruby_development/ruby_development.png
|
|
203
|
+
- plugins/ruby_development/ruby_development.rb
|
|
204
|
+
- plugins/ruby_development/ruby_developmentui.rc
|
|
205
|
+
- spec/settings_dialog_manager_spec.rb
|
|
206
|
+
- spec/project_list_spec.rb
|
|
207
|
+
- spec/editor_view_spec.rb
|
|
208
|
+
- spec/project_backend_spec.rb
|
|
209
|
+
- spec/common.rb
|
|
210
|
+
- spec/external_program_plugin_spec.rb
|
|
211
|
+
- spec/qt_sugar_spec.rb
|
|
212
|
+
- spec/utils_spec.rb
|
|
213
|
+
- spec/document_spec.rb
|
|
214
|
+
- spec/workspace_spec.rb
|
|
215
|
+
- spec/ktexteditor_wrapper_spec.rb
|
|
216
|
+
- spec/kde_config_option_backend_spec.rb
|
|
217
|
+
- spec/filtered_output_widget_spec.rb
|
|
218
|
+
- spec/settings_container_spec.rb
|
|
219
|
+
- spec/project_files_list_spec.rb
|
|
220
|
+
- spec/document_project_spec.rb
|
|
221
|
+
- spec/plugin_spec.rb
|
|
222
|
+
- spec/document_list_spec.rb
|
|
223
|
+
- spec/component_manager_spec.rb
|
|
224
|
+
- spec/annotation_model_spec.rb
|
|
225
|
+
- spec/kde_sugar_spec.rb
|
|
226
|
+
- spec/settings_dialog_spec.rb
|
|
227
|
+
- spec/output_widget_spec.rb
|
|
228
|
+
- spec/state_spec.rb
|
|
229
|
+
- spec/plugin_specification_reader_spec.rb
|
|
230
|
+
- spec/plugin_specification_spec.rb
|
|
231
|
+
- spec/yaml_option_backend_spec.rb
|
|
232
|
+
- spec/gui_states_handler_spec.rb
|
|
233
|
+
- spec/project_spec.rb
|
|
234
|
+
- data/share/apps/ruber/core_components.yaml
|
|
235
|
+
- data/share/apps/ruber/ruberui.rc
|
|
236
|
+
- data/share/icons/ruber.png
|
|
237
|
+
- data/share/pixmaps/ruby.png
|
|
238
|
+
- ruber.desktop
|
|
239
|
+
- outsider_files
|
|
240
|
+
- icons/ruber-8.png
|
|
241
|
+
- icons/ruber-16.png
|
|
242
|
+
- icons/ruber-32.png
|
|
243
|
+
- icons/ruber-48.png
|
|
244
|
+
- COPYING
|
|
245
|
+
- INSTALL
|
|
246
|
+
- LICENSE
|
|
247
|
+
- bin/ruber
|
|
248
|
+
has_rdoc: true
|
|
249
|
+
homepage: http://stcrocco.github.com/ruber
|
|
250
|
+
licenses: []
|
|
251
|
+
|
|
252
|
+
post_install_message:
|
|
253
|
+
rdoc_options: []
|
|
254
|
+
|
|
255
|
+
require_paths:
|
|
256
|
+
- lib
|
|
257
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
258
|
+
none: false
|
|
259
|
+
requirements:
|
|
260
|
+
- - ">="
|
|
261
|
+
- !ruby/object:Gem::Version
|
|
262
|
+
segments:
|
|
263
|
+
- 1
|
|
264
|
+
- 8
|
|
265
|
+
- 7
|
|
266
|
+
version: 1.8.7
|
|
267
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
268
|
+
none: false
|
|
269
|
+
requirements:
|
|
270
|
+
- - ">="
|
|
271
|
+
- !ruby/object:Gem::Version
|
|
272
|
+
segments:
|
|
273
|
+
- 0
|
|
274
|
+
version: "0"
|
|
275
|
+
requirements:
|
|
276
|
+
- KDE 4.5
|
|
277
|
+
- korundum4
|
|
278
|
+
rubyforge_project:
|
|
279
|
+
rubygems_version: 1.3.7
|
|
280
|
+
signing_key:
|
|
281
|
+
specification_version: 3
|
|
282
|
+
summary: A plugin-based Ruby editor for KDE 4 written in Ruby
|
|
283
|
+
test_files: []
|
|
284
|
+
|