rugui 1.3.3 → 1.4.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.
- data/Changelog +9 -0
- data/bin/rugui +4 -6
- data/lib/packing/release.rb +6 -5
- data/lib/rugui.rb +1 -1
- data/lib/rugui/framework_adapters/GTK.rb +21 -19
- data/lib/rugui/generators.rb +1 -0
- data/lib/rugui/generators/rugui/rugui.rb +89 -0
- data/{rugui_generators → lib/rugui/generators}/rugui/templates/README +0 -0
- data/{rugui_generators → lib/rugui/generators}/rugui/templates/Rakefile +0 -0
- data/{rugui_generators/rugui/templates → lib/rugui/generators/rugui/templates/app}/main.rb +0 -0
- data/{rugui_generators/rugui/templates/main_executable.erb → lib/rugui/generators/rugui/templates/bin/main_executable} +0 -0
- data/{rugui_generators/rugui/templates/main_executable.bat.erb → lib/rugui/generators/rugui/templates/bin/main_executable.bat} +1 -1
- data/{rugui_generators/rugui/templates → lib/rugui/generators/rugui/templates/config}/boot.rb +0 -0
- data/{rugui_generators/rugui/templates → lib/rugui/generators/rugui/templates/config/environments}/development.rb.sample +0 -0
- data/{rugui_generators/rugui/templates → lib/rugui/generators/rugui/templates/config/environments}/production.rb.sample +0 -0
- data/{rugui_generators/rugui/templates → lib/rugui/generators/rugui/templates/config/environments}/test.rb.sample +0 -0
- data/{rugui_generators/rugui/templates/GTK → lib/rugui/generators/rugui/templates/framework_specific/gtk/app/controllers}/application_controller.rb +0 -0
- data/{rugui_generators/rugui/templates/GTK → lib/rugui/generators/rugui/templates/framework_specific/gtk/app/controllers}/main_controller.rb +0 -0
- data/{rugui_generators/rugui/templates/GTK → lib/rugui/generators/rugui/templates/framework_specific/gtk/app/resources/glade}/main_view.glade +0 -0
- data/{rugui_generators/rugui/templates/GTK → lib/rugui/generators/rugui/templates/framework_specific/gtk/app/resources/styles}/main.rc +0 -0
- data/{rugui_generators/rugui/templates/GTK → lib/rugui/generators/rugui/templates/framework_specific/gtk/app/views}/application_view.rb +0 -0
- data/{rugui_generators/rugui/templates/GTK → lib/rugui/generators/rugui/templates/framework_specific/gtk/app/views}/main_view.rb +0 -0
- data/{rugui_generators/rugui/templates/GTK → lib/rugui/generators/rugui/templates/framework_specific/gtk/app/views/view_helpers}/application_view_helper.rb +0 -0
- data/{rugui_generators/rugui/templates/GTK → lib/rugui/generators/rugui/templates/framework_specific/gtk/app/views/view_helpers}/main_view_helper.rb +0 -0
- data/{rugui_generators/rugui/templates/Qt4 → lib/rugui/generators/rugui/templates/framework_specific/qt/app/controllers}/application_controller.rb +0 -0
- data/{rugui_generators/rugui/templates/Qt4 → lib/rugui/generators/rugui/templates/framework_specific/qt/app/controllers}/main_controller.rb +0 -0
- data/{rugui_generators/rugui/templates/Qt4 → lib/rugui/generators/rugui/templates/framework_specific/qt/app/resources/ui}/main_view.ui +0 -0
- data/{rugui_generators/rugui/templates/Qt4 → lib/rugui/generators/rugui/templates/framework_specific/qt/app/views}/application_view.rb +0 -0
- data/{rugui_generators/rugui/templates/Qt4 → lib/rugui/generators/rugui/templates/framework_specific/qt/app/views}/main_view.rb +0 -0
- data/{rugui_generators/rugui/templates/Qt4 → lib/rugui/generators/rugui/templates/framework_specific/qt/app/views/view_helpers}/application_view_helper.rb +0 -0
- data/{rugui_generators/rugui/templates/Qt4 → lib/rugui/generators/rugui/templates/framework_specific/qt/app/views/view_helpers}/main_view_helper.rb +0 -0
- data/{rugui_generators/rugui/templates → lib/rugui/generators/rugui/templates/spec}/rcov.opts +0 -0
- data/{rugui_generators/rugui/templates → lib/rugui/generators/rugui/templates/spec}/spec.opts +0 -0
- data/{rugui_generators/rugui/templates → lib/rugui/generators/rugui/templates/spec}/spec_helper.rb +0 -0
- data/{rugui_generators/rugui/templates → lib/rugui/generators/rugui/templates/test}/test_helper.rb +0 -0
- data/lib/rugui/observable_property_support.rb +2 -10
- data/script/spec +10 -0
- metadata +39 -81
- data/rugui_generators/controller/USAGE +0 -1
- data/rugui_generators/controller/controller_generator.rb +0 -35
- data/rugui_generators/controller/templates/controller.erb +0 -3
- data/rugui_generators/generators_support.rb +0 -75
- data/rugui_generators/model/USAGE +0 -1
- data/rugui_generators/model/model_generator.rb +0 -35
- data/rugui_generators/model/templates/model.erb +0 -3
- data/rugui_generators/pack/USAGE +0 -1
- data/rugui_generators/pack/pack_generator.rb +0 -40
- data/rugui_generators/pack/templates/README +0 -3
- data/rugui_generators/rugui/USAGE +0 -1
- data/rugui_generators/rugui/rugui_generator.rb +0 -163
- data/rugui_generators/rugui/templates/GTK/environment.rb +0 -39
- data/rugui_generators/rugui/templates/Qt4/environment.rb +0 -39
- data/rugui_generators/view/USAGE +0 -1
- data/rugui_generators/view/templates/toplevels/about_dialog.glade +0 -32
- data/rugui_generators/view/templates/toplevels/assistant.glade +0 -30
- data/rugui_generators/view/templates/toplevels/color_selection_dialog.glade +0 -60
- data/rugui_generators/view/templates/toplevels/dialog_box.glade +0 -35
- data/rugui_generators/view/templates/toplevels/file_chooser_dialog.glade +0 -35
- data/rugui_generators/view/templates/toplevels/font_selection_dialog.glade +0 -58
- data/rugui_generators/view/templates/toplevels/input_dialog.glade +0 -35
- data/rugui_generators/view/templates/toplevels/message_dialog.glade +0 -35
- data/rugui_generators/view/templates/toplevels/recent_chooser_dialog.glade +0 -33
- data/rugui_generators/view/templates/toplevels/window.glade +0 -11
- data/rugui_generators/view/templates/view.erb +0 -11
- data/rugui_generators/view/templates/view.glade +0 -4
- data/rugui_generators/view/templates/view.ui +0 -18
- data/rugui_generators/view/templates/view_helper.erb +0 -3
- data/rugui_generators/view/view_generator.rb +0 -36
data/Changelog
CHANGED
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
1.4.0
|
|
2
|
+
- Using thor for generators.
|
|
3
|
+
|
|
4
|
+
1.3.4
|
|
5
|
+
- Checking if Object#instance_exec is already defined in GTK framework adapter.
|
|
6
|
+
- Fixed some Ruby 1.9 compatibility issues
|
|
7
|
+
- Fixed require of 'activesupport' to 'active_support' since the latter is now the correct way to require it.
|
|
8
|
+
- Fixed clone of nil obseravable properties
|
|
9
|
+
|
|
1
10
|
1.3.3
|
|
2
11
|
- Fixed loading of RSpec tasks by the application task loader when RSpec gem is not installed.
|
|
3
12
|
- Updated README to explain usage of both testing frameworks, Test::Unit and RSpec.
|
data/bin/rugui
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env ruby
|
|
2
|
+
# -*- mode: ruby -*-
|
|
2
3
|
|
|
3
4
|
require 'rubygems'
|
|
4
|
-
require '
|
|
5
|
+
require 'thor/group'
|
|
6
|
+
require 'rugui/generators'
|
|
5
7
|
|
|
6
8
|
if %w(-v --version).include? ARGV.first
|
|
7
9
|
require 'rugui/version'
|
|
@@ -9,8 +11,4 @@ if %w(-v --version).include? ARGV.first
|
|
|
9
11
|
exit(0)
|
|
10
12
|
end
|
|
11
13
|
|
|
12
|
-
|
|
13
|
-
source = RubiGen::PathSource.new(:application, File.join(File.dirname(__FILE__), "../rugui_generators"))
|
|
14
|
-
RubiGen::Base.reset_sources
|
|
15
|
-
RubiGen::Base.append_sources source
|
|
16
|
-
RubiGen::Scripts::Generate.new.run(ARGV, :generator => 'rugui')
|
|
14
|
+
Rugui.start
|
data/lib/packing/release.rb
CHANGED
|
@@ -8,13 +8,14 @@ begin
|
|
|
8
8
|
gemspec.description = "A simple MVC framework for RubyGTK."
|
|
9
9
|
gemspec.authors = ["Vicente Mundim", "Felipe Mesquita", "Claudio Escudero"]
|
|
10
10
|
gemspec.add_dependency(%q<activesupport>, [">= 2.1.1"])
|
|
11
|
-
gemspec.add_dependency(%q<
|
|
12
|
-
gemspec.
|
|
13
|
-
gemspec.date = %q{2009-08-04}
|
|
11
|
+
gemspec.add_dependency(%q<thor>, [">= 0.13.3"])
|
|
12
|
+
gemspec.date = %q{2010-02-19}
|
|
14
13
|
gemspec.rubyforge_project = "rugui"
|
|
15
14
|
gemspec.executables = ['rugui']
|
|
16
|
-
gemspec.files = FileList["bin/*", "lib/**/*", "
|
|
15
|
+
gemspec.files = FileList["bin/*", "lib/**/*", "script/*", "Changelog", "LICENSE", "Rakefile", "README"].to_a
|
|
16
|
+
gemspec.test_files = FileList["spec/**/*"].to_a
|
|
17
17
|
end
|
|
18
|
+
Jeweler::GemcutterTasks.new
|
|
18
19
|
rescue LoadError
|
|
19
|
-
puts "Jeweler not available. Install it with: sudo gem install
|
|
20
|
+
puts "Jeweler not available. Install it with: sudo gem install jeweler"
|
|
20
21
|
end
|
data/lib/rugui.rb
CHANGED
|
@@ -1,25 +1,27 @@
|
|
|
1
1
|
require 'gtk2'
|
|
2
2
|
require 'libglade2'
|
|
3
3
|
|
|
4
|
-
#
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
4
|
+
unless Object.respond_to?(:instance_exec) # Ruby 1.9 does already has Object#instance_exec
|
|
5
|
+
# See the discussion here: http://eigenclass.org/hiki.rb?instance_exec
|
|
6
|
+
class Object
|
|
7
|
+
module InstanceExecHelper; end
|
|
8
|
+
include InstanceExecHelper
|
|
9
|
+
def instance_exec(*args, &block)
|
|
10
|
+
begin
|
|
11
|
+
old_critical, Thread.critical = Thread.critical, true
|
|
12
|
+
n = 0
|
|
13
|
+
n += 1 while respond_to?(mname="__instance_exec#{n}")
|
|
14
|
+
InstanceExecHelper.module_eval{ define_method(mname, &block) }
|
|
15
|
+
ensure
|
|
16
|
+
Thread.critical = old_critical
|
|
17
|
+
end
|
|
18
|
+
begin
|
|
19
|
+
ret = send(mname, *args)
|
|
20
|
+
ensure
|
|
21
|
+
InstanceExecHelper.module_eval{ remove_method(mname) } rescue nil
|
|
22
|
+
end
|
|
23
|
+
ret
|
|
21
24
|
end
|
|
22
|
-
ret
|
|
23
25
|
end
|
|
24
26
|
end
|
|
25
27
|
|
|
@@ -64,7 +66,7 @@ module Gtk
|
|
|
64
66
|
end
|
|
65
67
|
|
|
66
68
|
def Gtk.get_style_file_contents(path, filename)
|
|
67
|
-
IO.read(File.join(path, filename)).sub('{ROOT_PATH}', RuGUI.configuration.root_path)
|
|
69
|
+
IO.read(File.join(path, filename)).sub('{ROOT_PATH}', RuGUI.configuration.root_path.to_s)
|
|
68
70
|
end
|
|
69
71
|
end
|
|
70
72
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
require File.join(File.dirname(__FILE__), 'generators', 'rugui', 'rugui')
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
class Rugui < Thor::Group
|
|
2
|
+
include Thor::Actions
|
|
3
|
+
|
|
4
|
+
argument :app_path
|
|
5
|
+
argument :name
|
|
6
|
+
|
|
7
|
+
class_option :framework_adapter, :type => :string, :aliases => 'a', :default => 'gtk',
|
|
8
|
+
:desc => "Choose which framework adapter to use, must either 'gtk' or 'qt'"
|
|
9
|
+
|
|
10
|
+
class_option :test_framework, :type => :string, :aliases => 't', :default => 'RSpec',
|
|
11
|
+
:desc => "Choose which test framework to use, defaults to 'RSpec', but can be set to 'test-unit' also"
|
|
12
|
+
|
|
13
|
+
class_option :version, :type => :boolean, :aliases => "-v", :group => :rugui,
|
|
14
|
+
:desc => "Show RuGUI version number and quit"
|
|
15
|
+
|
|
16
|
+
class_option :help, :type => :boolean, :aliases => "-h", :group => :rugui,
|
|
17
|
+
:desc => "Show this help message and quit"
|
|
18
|
+
|
|
19
|
+
def self.source_root
|
|
20
|
+
File.expand_path(File.join(File.dirname(__FILE__), 'templates'))
|
|
21
|
+
end
|
|
22
|
+
|
|
23
|
+
def create_root
|
|
24
|
+
self.destination_root = File.expand_path(app_path, destination_root)
|
|
25
|
+
empty_directory '.'
|
|
26
|
+
|
|
27
|
+
FileUtils.cd(destination_root)
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
def create_root_files
|
|
31
|
+
copy_file 'README'
|
|
32
|
+
copy_file 'Rakefile'
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
def create_bin_files
|
|
36
|
+
empty_directory 'bin'
|
|
37
|
+
|
|
38
|
+
inside 'bin' do
|
|
39
|
+
copy_file 'main_executable', "#{name}"
|
|
40
|
+
chmod "#{name}", 0755
|
|
41
|
+
|
|
42
|
+
template 'main_executable.bat', "#{name}.bat"
|
|
43
|
+
chmod "#{name}.bat", 0755
|
|
44
|
+
end
|
|
45
|
+
end
|
|
46
|
+
|
|
47
|
+
def create_app_files
|
|
48
|
+
empty_directory 'app'
|
|
49
|
+
|
|
50
|
+
inside 'app' do
|
|
51
|
+
copy_file 'main.rb'
|
|
52
|
+
end
|
|
53
|
+
end
|
|
54
|
+
|
|
55
|
+
def create_config_files
|
|
56
|
+
directory 'config'
|
|
57
|
+
end
|
|
58
|
+
|
|
59
|
+
def create_lib_files
|
|
60
|
+
directory 'lib'
|
|
61
|
+
end
|
|
62
|
+
|
|
63
|
+
def create_log_files
|
|
64
|
+
directory 'log'
|
|
65
|
+
end
|
|
66
|
+
|
|
67
|
+
def create_vendor_files
|
|
68
|
+
directory 'vendor'
|
|
69
|
+
end
|
|
70
|
+
|
|
71
|
+
def create_framework_specific_files
|
|
72
|
+
directory framework_specific_file('app/controllers'), 'app/controllers'
|
|
73
|
+
directory framework_specific_file('app/views'), 'app/views'
|
|
74
|
+
directory framework_specific_file('app/resources'), 'app/resources'
|
|
75
|
+
end
|
|
76
|
+
|
|
77
|
+
def create_test_files
|
|
78
|
+
directory test_framework_dir
|
|
79
|
+
end
|
|
80
|
+
|
|
81
|
+
private
|
|
82
|
+
def framework_specific_file(path)
|
|
83
|
+
File.join('framework_specific', options[:framework_adapter], path)
|
|
84
|
+
end
|
|
85
|
+
|
|
86
|
+
def test_framework_dir
|
|
87
|
+
options[:test_framework] == 'RSpec' ? 'spec' : 'test'
|
|
88
|
+
end
|
|
89
|
+
end
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# ATTENTION: This is just a sample, it it not tested at all!
|
|
2
2
|
|
|
3
|
-
@set APPLICATION_ROOT=<%=
|
|
3
|
+
@set APPLICATION_ROOT=<%= destination_root %>
|
|
4
4
|
@set APPLICATION_EXECUTABLE=%APPLICATION_ROOT%\app\main.rb
|
|
5
5
|
@set RUBY_EXECUTABLE=c:\ruby\1.8\ruby
|
|
6
6
|
@set RUGUI_ENV=production
|
data/{rugui_generators/rugui/templates → lib/rugui/generators/rugui/templates/config}/boot.rb
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
data/{rugui_generators/rugui/templates → lib/rugui/generators/rugui/templates/spec}/rcov.opts
RENAMED
|
File without changes
|
data/{rugui_generators/rugui/templates → lib/rugui/generators/rugui/templates/spec}/spec.opts
RENAMED
|
File without changes
|
data/{rugui_generators/rugui/templates → lib/rugui/generators/rugui/templates/spec}/spec_helper.rb
RENAMED
|
File without changes
|
data/{rugui_generators/rugui/templates → lib/rugui/generators/rugui/templates/test}/test_helper.rb
RENAMED
|
File without changes
|
|
@@ -188,7 +188,7 @@ module RuGUI
|
|
|
188
188
|
end
|
|
189
189
|
|
|
190
190
|
def #{property}=(value)
|
|
191
|
-
old_value =
|
|
191
|
+
old_value = clone_if_possible(@#{property})
|
|
192
192
|
if has_changed?(value, old_value)
|
|
193
193
|
@#{property} = ObservablePropertyProxy.new(value, self, '#{property}')
|
|
194
194
|
property_changed('#{property}', value, old_value)
|
|
@@ -233,20 +233,12 @@ module RuGUI
|
|
|
233
233
|
@named_observers = {} if not defined?(@named_observers) or @named_observers.nil?
|
|
234
234
|
end
|
|
235
235
|
|
|
236
|
-
def get_old_value(property)
|
|
237
|
-
begin
|
|
238
|
-
return property.clone
|
|
239
|
-
rescue TypeError
|
|
240
|
-
return property
|
|
241
|
-
end
|
|
242
|
-
end
|
|
243
|
-
|
|
244
236
|
def has_changed?(new_value, old_value)
|
|
245
237
|
!(new_value.kind_of?(old_value.class) && old_value == new_value)
|
|
246
238
|
end
|
|
247
239
|
|
|
248
240
|
def clone_if_possible(value)
|
|
249
|
-
value.clone
|
|
241
|
+
value.clone unless value.nil?
|
|
250
242
|
rescue TypeError
|
|
251
243
|
value
|
|
252
244
|
end
|
data/script/spec
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
#!/usr/bin/env ruby
|
|
2
|
+
if ARGV.any? {|arg| %w[--drb -X --generate-options -G --help -h --version -v].include?(arg)}
|
|
3
|
+
require 'rubygems' unless ENV['NO_RUBYGEMS']
|
|
4
|
+
else
|
|
5
|
+
gem 'test-unit', '1.2.3' if RUBY_VERSION.to_f >= 1.9
|
|
6
|
+
ENV["RUGUI_ENV"] ||= 'test'
|
|
7
|
+
require 'rubygems' unless ENV['NO_RUBYGEMS']
|
|
8
|
+
end
|
|
9
|
+
require 'spec/autorun'
|
|
10
|
+
exit ::Spec::Runner::CommandLine.run
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rugui
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.4.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Vicente Mundim
|
|
@@ -11,7 +11,7 @@ autorequire:
|
|
|
11
11
|
bindir: bin
|
|
12
12
|
cert_chain: []
|
|
13
13
|
|
|
14
|
-
date:
|
|
14
|
+
date: 2010-02-19 00:00:00 -02:00
|
|
15
15
|
default_executable: rugui
|
|
16
16
|
dependencies:
|
|
17
17
|
- !ruby/object:Gem::Dependency
|
|
@@ -25,14 +25,14 @@ dependencies:
|
|
|
25
25
|
version: 2.1.1
|
|
26
26
|
version:
|
|
27
27
|
- !ruby/object:Gem::Dependency
|
|
28
|
-
name:
|
|
28
|
+
name: thor
|
|
29
29
|
type: :runtime
|
|
30
30
|
version_requirement:
|
|
31
31
|
version_requirements: !ruby/object:Gem::Requirement
|
|
32
32
|
requirements:
|
|
33
33
|
- - ">="
|
|
34
34
|
- !ruby/object:Gem::Version
|
|
35
|
-
version:
|
|
35
|
+
version: 0.13.3
|
|
36
36
|
version:
|
|
37
37
|
description: A simple MVC framework for RubyGTK.
|
|
38
38
|
email:
|
|
@@ -66,6 +66,36 @@ files:
|
|
|
66
66
|
- lib/rugui/framework_adapters/framework_adapter_support.rb
|
|
67
67
|
- lib/rugui/gem_builder.rb
|
|
68
68
|
- lib/rugui/gem_dependency.rb
|
|
69
|
+
- lib/rugui/generators.rb
|
|
70
|
+
- lib/rugui/generators/rugui/rugui.rb
|
|
71
|
+
- lib/rugui/generators/rugui/templates/README
|
|
72
|
+
- lib/rugui/generators/rugui/templates/Rakefile
|
|
73
|
+
- lib/rugui/generators/rugui/templates/app/main.rb
|
|
74
|
+
- lib/rugui/generators/rugui/templates/bin/main_executable
|
|
75
|
+
- lib/rugui/generators/rugui/templates/bin/main_executable.bat
|
|
76
|
+
- lib/rugui/generators/rugui/templates/config/boot.rb
|
|
77
|
+
- lib/rugui/generators/rugui/templates/config/environments/development.rb.sample
|
|
78
|
+
- lib/rugui/generators/rugui/templates/config/environments/production.rb.sample
|
|
79
|
+
- lib/rugui/generators/rugui/templates/config/environments/test.rb.sample
|
|
80
|
+
- lib/rugui/generators/rugui/templates/framework_specific/gtk/app/controllers/application_controller.rb
|
|
81
|
+
- lib/rugui/generators/rugui/templates/framework_specific/gtk/app/controllers/main_controller.rb
|
|
82
|
+
- lib/rugui/generators/rugui/templates/framework_specific/gtk/app/resources/glade/main_view.glade
|
|
83
|
+
- lib/rugui/generators/rugui/templates/framework_specific/gtk/app/resources/styles/main.rc
|
|
84
|
+
- lib/rugui/generators/rugui/templates/framework_specific/gtk/app/views/application_view.rb
|
|
85
|
+
- lib/rugui/generators/rugui/templates/framework_specific/gtk/app/views/main_view.rb
|
|
86
|
+
- lib/rugui/generators/rugui/templates/framework_specific/gtk/app/views/view_helpers/application_view_helper.rb
|
|
87
|
+
- lib/rugui/generators/rugui/templates/framework_specific/gtk/app/views/view_helpers/main_view_helper.rb
|
|
88
|
+
- lib/rugui/generators/rugui/templates/framework_specific/qt/app/controllers/application_controller.rb
|
|
89
|
+
- lib/rugui/generators/rugui/templates/framework_specific/qt/app/controllers/main_controller.rb
|
|
90
|
+
- lib/rugui/generators/rugui/templates/framework_specific/qt/app/resources/ui/main_view.ui
|
|
91
|
+
- lib/rugui/generators/rugui/templates/framework_specific/qt/app/views/application_view.rb
|
|
92
|
+
- lib/rugui/generators/rugui/templates/framework_specific/qt/app/views/main_view.rb
|
|
93
|
+
- lib/rugui/generators/rugui/templates/framework_specific/qt/app/views/view_helpers/application_view_helper.rb
|
|
94
|
+
- lib/rugui/generators/rugui/templates/framework_specific/qt/app/views/view_helpers/main_view_helper.rb
|
|
95
|
+
- lib/rugui/generators/rugui/templates/spec/rcov.opts
|
|
96
|
+
- lib/rugui/generators/rugui/templates/spec/spec.opts
|
|
97
|
+
- lib/rugui/generators/rugui/templates/spec/spec_helper.rb
|
|
98
|
+
- lib/rugui/generators/rugui/templates/test/test_helper.rb
|
|
69
99
|
- lib/rugui/initialize_hooks.rb
|
|
70
100
|
- lib/rugui/initializer.rb
|
|
71
101
|
- lib/rugui/log_support.rb
|
|
@@ -85,86 +115,10 @@ files:
|
|
|
85
115
|
- lib/rugui/tasks/test_application.rake
|
|
86
116
|
- lib/rugui/vendor_gem_source_index.rb
|
|
87
117
|
- lib/rugui/version.rb
|
|
88
|
-
- rugui_generators/controller/USAGE
|
|
89
|
-
- rugui_generators/controller/controller_generator.rb
|
|
90
|
-
- rugui_generators/controller/templates/controller.erb
|
|
91
|
-
- rugui_generators/generators_support.rb
|
|
92
|
-
- rugui_generators/model/USAGE
|
|
93
|
-
- rugui_generators/model/model_generator.rb
|
|
94
|
-
- rugui_generators/model/templates/model.erb
|
|
95
|
-
- rugui_generators/pack/USAGE
|
|
96
|
-
- rugui_generators/pack/pack_generator.rb
|
|
97
|
-
- rugui_generators/pack/templates/README
|
|
98
|
-
- rugui_generators/rugui/USAGE
|
|
99
|
-
- rugui_generators/rugui/rugui_generator.rb
|
|
100
|
-
- rugui_generators/rugui/templates/GTK/application_controller.rb
|
|
101
|
-
- rugui_generators/rugui/templates/GTK/application_view.rb
|
|
102
|
-
- rugui_generators/rugui/templates/GTK/application_view_helper.rb
|
|
103
|
-
- rugui_generators/rugui/templates/GTK/environment.rb
|
|
104
|
-
- rugui_generators/rugui/templates/GTK/main.rc
|
|
105
|
-
- rugui_generators/rugui/templates/GTK/main_controller.rb
|
|
106
|
-
- rugui_generators/rugui/templates/GTK/main_view.glade
|
|
107
|
-
- rugui_generators/rugui/templates/GTK/main_view.rb
|
|
108
|
-
- rugui_generators/rugui/templates/GTK/main_view_helper.rb
|
|
109
|
-
- rugui_generators/rugui/templates/Qt4/application_controller.rb
|
|
110
|
-
- rugui_generators/rugui/templates/Qt4/application_view.rb
|
|
111
|
-
- rugui_generators/rugui/templates/Qt4/application_view_helper.rb
|
|
112
|
-
- rugui_generators/rugui/templates/Qt4/environment.rb
|
|
113
|
-
- rugui_generators/rugui/templates/Qt4/main_controller.rb
|
|
114
|
-
- rugui_generators/rugui/templates/Qt4/main_view.rb
|
|
115
|
-
- rugui_generators/rugui/templates/Qt4/main_view.ui
|
|
116
|
-
- rugui_generators/rugui/templates/Qt4/main_view_helper.rb
|
|
117
|
-
- rugui_generators/rugui/templates/README
|
|
118
|
-
- rugui_generators/rugui/templates/Rakefile
|
|
119
|
-
- rugui_generators/rugui/templates/boot.rb
|
|
120
|
-
- rugui_generators/rugui/templates/development.rb.sample
|
|
121
|
-
- rugui_generators/rugui/templates/main.rb
|
|
122
|
-
- rugui_generators/rugui/templates/main_executable.bat.erb
|
|
123
|
-
- rugui_generators/rugui/templates/main_executable.erb
|
|
124
|
-
- rugui_generators/rugui/templates/production.rb.sample
|
|
125
|
-
- rugui_generators/rugui/templates/rcov.opts
|
|
126
|
-
- rugui_generators/rugui/templates/spec.opts
|
|
127
|
-
- rugui_generators/rugui/templates/spec_helper.rb
|
|
128
|
-
- rugui_generators/rugui/templates/test.rb.sample
|
|
129
|
-
- rugui_generators/rugui/templates/test_helper.rb
|
|
130
|
-
- rugui_generators/view/USAGE
|
|
131
|
-
- rugui_generators/view/templates/toplevels/about_dialog.glade
|
|
132
|
-
- rugui_generators/view/templates/toplevels/assistant.glade
|
|
133
|
-
- rugui_generators/view/templates/toplevels/color_selection_dialog.glade
|
|
134
|
-
- rugui_generators/view/templates/toplevels/dialog_box.glade
|
|
135
|
-
- rugui_generators/view/templates/toplevels/file_chooser_dialog.glade
|
|
136
|
-
- rugui_generators/view/templates/toplevels/font_selection_dialog.glade
|
|
137
|
-
- rugui_generators/view/templates/toplevels/input_dialog.glade
|
|
138
|
-
- rugui_generators/view/templates/toplevels/message_dialog.glade
|
|
139
|
-
- rugui_generators/view/templates/toplevels/recent_chooser_dialog.glade
|
|
140
|
-
- rugui_generators/view/templates/toplevels/window.glade
|
|
141
|
-
- rugui_generators/view/templates/view.erb
|
|
142
|
-
- rugui_generators/view/templates/view.glade
|
|
143
|
-
- rugui_generators/view/templates/view.ui
|
|
144
|
-
- rugui_generators/view/templates/view_helper.erb
|
|
145
|
-
- rugui_generators/view/view_generator.rb
|
|
146
118
|
- script/console
|
|
147
119
|
- script/destroy
|
|
148
120
|
- script/generate
|
|
149
|
-
- spec
|
|
150
|
-
- spec/framework/base_model_spec.rb
|
|
151
|
-
- spec/framework/base_view_helper_spec.rb
|
|
152
|
-
- spec/framework/base_view_spec.rb
|
|
153
|
-
- spec/framework/log_support_spec.rb
|
|
154
|
-
- spec/framework/observable_property_proxy_spec.rb
|
|
155
|
-
- spec/framework/observable_property_support_spec.rb
|
|
156
|
-
- spec/framework/property_observer_spec.rb
|
|
157
|
-
- spec/helpers/controllers.rb
|
|
158
|
-
- spec/helpers/initialize_hooks_helper.rb
|
|
159
|
-
- spec/helpers/models.rb
|
|
160
|
-
- spec/helpers/observables.rb
|
|
161
|
-
- spec/helpers/view_helpers.rb
|
|
162
|
-
- spec/helpers/views.rb
|
|
163
|
-
- spec/rcov.opts
|
|
164
|
-
- spec/resource_files/my_other_view.glade
|
|
165
|
-
- spec/resource_files/my_view.glade
|
|
166
|
-
- spec/spec.opts
|
|
167
|
-
- spec/spec_helper.rb
|
|
121
|
+
- script/spec
|
|
168
122
|
- README.rdoc
|
|
169
123
|
has_rdoc: true
|
|
170
124
|
homepage: http://rugui.org
|
|
@@ -210,3 +164,7 @@ test_files:
|
|
|
210
164
|
- spec/helpers/observables.rb
|
|
211
165
|
- spec/helpers/controllers.rb
|
|
212
166
|
- spec/helpers/views.rb
|
|
167
|
+
- spec/spec.opts
|
|
168
|
+
- spec/resource_files/my_other_view.glade
|
|
169
|
+
- spec/resource_files/my_view.glade
|
|
170
|
+
- spec/rcov.opts
|