rugui 1.5.0 → 1.5.2
Sign up to get free protection for your applications and to get access to all the features.
- data/Changelog +6 -0
- data/lib/rugui/generators/rugui/rugui_generator.rb +0 -3
- data/lib/rugui/generators/rugui/templates/bin/main_executable +3 -16
- data/lib/rugui/version.rb +1 -1
- metadata +86 -62
- data/lib/rugui/generators/rugui/templates/bin/main_executable.bat +0 -8
- data/lib/rugui/generators/rugui/templates/framework_specific/rubygame/app/resources/images/sample_image.png +0 -0
- data/lib/rugui/generators/rugui/templates/framework_specific/rubygame/app/resources/music/sample_music.mp3 +0 -0
- data/lib/rugui/generators/rugui/templates/framework_specific/rubygame/app/resources/sfx/sample_sound.mp3 +0 -0
data/Changelog
CHANGED
@@ -1,17 +1,4 @@
|
|
1
|
-
#!/bin/
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
# -*- mode: ruby -*-
|
2
3
|
|
3
|
-
|
4
|
-
RESULT=`echo \`dirname \$0\` | grep ^/`
|
5
|
-
|
6
|
-
if [ "${DIRNAME}" = "${RESULT}" ]; then
|
7
|
-
SCRIPT_ROOT=`dirname $0`
|
8
|
-
else
|
9
|
-
SCRIPT_ROOT=`echo -n \`pwd\` ;( [ \`dirname \$0\` == '.' ] && echo ) || echo /\`dirname \$0\``
|
10
|
-
fi
|
11
|
-
|
12
|
-
APPLICATION_ROOT="${SCRIPT_ROOT}/.."
|
13
|
-
APPLICATION_EXECUTABLE="${APPLICATION_ROOT}/app/main.rb"
|
14
|
-
RUBY_EXECUTABLE=/usr/bin/ruby
|
15
|
-
RUGUI_ENV=production
|
16
|
-
|
17
|
-
"${RUBY_EXECUTABLE}" "${APPLICATION_EXECUTABLE}"
|
4
|
+
load File.expand_path(File.join('..', 'app', 'main.rb'), File.dirname(__FILE__))
|
data/lib/rugui/version.rb
CHANGED
metadata
CHANGED
@@ -1,12 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rugui
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
+
hash: 7
|
4
5
|
prerelease: false
|
5
6
|
segments:
|
6
7
|
- 1
|
7
8
|
- 5
|
8
|
-
-
|
9
|
-
version: 1.5.
|
9
|
+
- 2
|
10
|
+
version: 1.5.2
|
10
11
|
platform: ruby
|
11
12
|
authors:
|
12
13
|
- Vicente Mundim
|
@@ -17,16 +18,18 @@ autorequire:
|
|
17
18
|
bindir: bin
|
18
19
|
cert_chain: []
|
19
20
|
|
20
|
-
date: 2010-
|
21
|
+
date: 2010-07-05 00:00:00 -03:00
|
21
22
|
default_executable:
|
22
23
|
dependencies:
|
23
24
|
- !ruby/object:Gem::Dependency
|
24
25
|
name: activesupport
|
25
26
|
prerelease: false
|
26
27
|
requirement: &id001 !ruby/object:Gem::Requirement
|
28
|
+
none: false
|
27
29
|
requirements:
|
28
30
|
- - ">="
|
29
31
|
- !ruby/object:Gem::Version
|
32
|
+
hash: 9
|
30
33
|
segments:
|
31
34
|
- 2
|
32
35
|
- 1
|
@@ -38,9 +41,11 @@ dependencies:
|
|
38
41
|
name: thor
|
39
42
|
prerelease: false
|
40
43
|
requirement: &id002 !ruby/object:Gem::Requirement
|
44
|
+
none: false
|
41
45
|
requirements:
|
42
46
|
- - ">="
|
43
47
|
- !ruby/object:Gem::Version
|
48
|
+
hash: 45
|
44
49
|
segments:
|
45
50
|
- 0
|
46
51
|
- 13
|
@@ -63,69 +68,65 @@ extra_rdoc_files:
|
|
63
68
|
- README.rdoc
|
64
69
|
files:
|
65
70
|
- bin/rugui
|
71
|
+
- lib/rugui/base_controller.rb
|
72
|
+
- lib/rugui/base_model.rb
|
73
|
+
- lib/rugui/base_object.rb
|
74
|
+
- lib/rugui/base_view.rb
|
75
|
+
- lib/rugui/base_view_helper.rb
|
76
|
+
- lib/rugui/configuration.rb
|
77
|
+
- lib/rugui/entity_registration_support.rb
|
66
78
|
- lib/rugui/framework_adapters/base_framework_adapter.rb
|
67
|
-
- lib/rugui/framework_adapters/GTK.rb
|
68
|
-
- lib/rugui/framework_adapters/Rubygame.rb
|
69
79
|
- lib/rugui/framework_adapters/framework_adapter_support.rb
|
80
|
+
- lib/rugui/framework_adapters/GTK.rb
|
70
81
|
- lib/rugui/framework_adapters/Qt4.rb
|
71
|
-
- lib/rugui/
|
72
|
-
- lib/rugui/entity_registration_support.rb
|
73
|
-
- lib/rugui/configuration.rb
|
74
|
-
- lib/rugui/tasks/spec_application.rake
|
75
|
-
- lib/rugui/tasks/test_application.rake
|
76
|
-
- lib/rugui/tasks/rugui.rb
|
77
|
-
- lib/rugui/tasks/runner_application.rake
|
78
|
-
- lib/rugui/tasks/spec_framework.rake
|
79
|
-
- lib/rugui/tasks/gems_application.rake
|
80
|
-
- lib/rugui/tasks/rugui_framework.rb
|
81
|
-
- lib/rugui/base_view_helper.rb
|
82
|
-
- lib/rugui/vendor_gem_source_index.rb
|
83
|
-
- lib/rugui/initialize_hooks.rb
|
84
|
-
- lib/rugui/observable_property_proxy.rb
|
85
|
-
- lib/rugui/property_changed_support.rb
|
86
|
-
- lib/rugui/log_support.rb
|
87
|
-
- lib/rugui/base_object.rb
|
88
|
-
- lib/rugui/generators.rb
|
89
|
-
- lib/rugui/property_observer.rb
|
90
|
-
- lib/rugui/base_view.rb
|
91
|
-
- lib/rugui/observable_property_support.rb
|
82
|
+
- lib/rugui/framework_adapters/Rubygame.rb
|
92
83
|
- lib/rugui/gem_builder.rb
|
93
|
-
- lib/rugui/
|
94
|
-
- lib/rugui/base_model.rb
|
84
|
+
- lib/rugui/gem_dependency.rb
|
95
85
|
- lib/rugui/generators/rugui/rugui_generator.rb
|
86
|
+
- lib/rugui/generators/rugui/templates/app/controllers/application_controller.rb
|
87
|
+
- lib/rugui/generators/rugui/templates/app/main.rb
|
96
88
|
- lib/rugui/generators/rugui/templates/app/views/application_view.rb
|
97
|
-
- lib/rugui/generators/rugui/templates/app/views/view_helpers/main_view_helper.rb
|
98
89
|
- lib/rugui/generators/rugui/templates/app/views/view_helpers/application_view_helper.rb
|
99
|
-
- lib/rugui/generators/rugui/templates/app/
|
100
|
-
- lib/rugui/generators/rugui/templates/app/controllers/application_controller.rb
|
90
|
+
- lib/rugui/generators/rugui/templates/app/views/view_helpers/main_view_helper.rb
|
101
91
|
- lib/rugui/generators/rugui/templates/bin/main_executable
|
102
|
-
- lib/rugui/generators/rugui/templates/
|
103
|
-
- lib/rugui/generators/rugui/templates/
|
104
|
-
- lib/rugui/generators/rugui/templates/spec/spec.opts
|
105
|
-
- lib/rugui/generators/rugui/templates/spec/rcov.opts
|
106
|
-
- lib/rugui/generators/rugui/templates/test/test_helper.rb
|
107
|
-
- lib/rugui/generators/rugui/templates/Rakefile
|
108
|
-
- lib/rugui/generators/rugui/templates/README
|
109
|
-
- lib/rugui/generators/rugui/templates/config/environments/test.rb
|
92
|
+
- lib/rugui/generators/rugui/templates/config/boot.rb
|
93
|
+
- lib/rugui/generators/rugui/templates/config/environment.rb.tt
|
110
94
|
- lib/rugui/generators/rugui/templates/config/environments/development.rb
|
111
95
|
- lib/rugui/generators/rugui/templates/config/environments/production.rb
|
112
|
-
- lib/rugui/generators/rugui/templates/config/
|
113
|
-
- lib/rugui/generators/rugui/templates/config/boot.rb
|
114
|
-
- lib/rugui/generators/rugui/templates/framework_specific/qt/app/views/main_view.rb
|
115
|
-
- lib/rugui/generators/rugui/templates/framework_specific/qt/app/controllers/main_controller.rb
|
116
|
-
- lib/rugui/generators/rugui/templates/framework_specific/qt/app/resources/ui/main_view.ui
|
117
|
-
- lib/rugui/generators/rugui/templates/framework_specific/gtk/app/views/main_view.rb
|
96
|
+
- lib/rugui/generators/rugui/templates/config/environments/test.rb
|
118
97
|
- lib/rugui/generators/rugui/templates/framework_specific/gtk/app/controllers/main_controller.rb
|
119
98
|
- lib/rugui/generators/rugui/templates/framework_specific/gtk/app/resources/glade/main_view.glade
|
120
99
|
- lib/rugui/generators/rugui/templates/framework_specific/gtk/app/resources/styles/main.rc
|
121
|
-
- lib/rugui/generators/rugui/templates/framework_specific/
|
100
|
+
- lib/rugui/generators/rugui/templates/framework_specific/gtk/app/views/main_view.rb
|
101
|
+
- lib/rugui/generators/rugui/templates/framework_specific/qt/app/controllers/main_controller.rb
|
102
|
+
- lib/rugui/generators/rugui/templates/framework_specific/qt/app/resources/ui/main_view.ui
|
103
|
+
- lib/rugui/generators/rugui/templates/framework_specific/qt/app/views/main_view.rb
|
122
104
|
- lib/rugui/generators/rugui/templates/framework_specific/rubygame/app/controllers/main_controller.rb
|
123
|
-
- lib/rugui/generators/rugui/templates/framework_specific/rubygame/app/
|
124
|
-
- lib/rugui/generators/rugui/templates/
|
125
|
-
- lib/rugui/generators/rugui/templates/
|
105
|
+
- lib/rugui/generators/rugui/templates/framework_specific/rubygame/app/views/main_view.rb
|
106
|
+
- lib/rugui/generators/rugui/templates/Rakefile
|
107
|
+
- lib/rugui/generators/rugui/templates/README
|
108
|
+
- lib/rugui/generators/rugui/templates/spec/rcov.opts
|
109
|
+
- lib/rugui/generators/rugui/templates/spec/spec.opts
|
110
|
+
- lib/rugui/generators/rugui/templates/spec/spec_helper.rb
|
111
|
+
- lib/rugui/generators/rugui/templates/test/test_helper.rb
|
112
|
+
- lib/rugui/generators.rb
|
113
|
+
- lib/rugui/initialize_hooks.rb
|
114
|
+
- lib/rugui/initializer.rb
|
115
|
+
- lib/rugui/log_support.rb
|
116
|
+
- lib/rugui/observable_property_proxy.rb
|
117
|
+
- lib/rugui/observable_property_support.rb
|
118
|
+
- lib/rugui/plugin/loader.rb
|
119
|
+
- lib/rugui/property_changed_support.rb
|
120
|
+
- lib/rugui/property_observer.rb
|
126
121
|
- lib/rugui/signal_support.rb
|
127
|
-
- lib/rugui/
|
128
|
-
- lib/rugui/
|
122
|
+
- lib/rugui/tasks/gems_application.rake
|
123
|
+
- lib/rugui/tasks/rugui.rb
|
124
|
+
- lib/rugui/tasks/rugui_framework.rb
|
125
|
+
- lib/rugui/tasks/runner_application.rake
|
126
|
+
- lib/rugui/tasks/spec_application.rake
|
127
|
+
- lib/rugui/tasks/spec_framework.rake
|
128
|
+
- lib/rugui/tasks/test_application.rake
|
129
|
+
- lib/rugui/vendor_gem_source_index.rb
|
129
130
|
- lib/rugui/version.rb
|
130
131
|
- lib/rugui.rb
|
131
132
|
- LICENSE
|
@@ -133,6 +134,25 @@ files:
|
|
133
134
|
- Rakefile
|
134
135
|
- Changelog
|
135
136
|
- Thorfile
|
137
|
+
- spec/framework/base_controller_spec.rb
|
138
|
+
- spec/framework/base_model_spec.rb
|
139
|
+
- spec/framework/base_view_helper_spec.rb
|
140
|
+
- spec/framework/base_view_spec.rb
|
141
|
+
- spec/framework/log_support_spec.rb
|
142
|
+
- spec/framework/observable_property_proxy_spec.rb
|
143
|
+
- spec/framework/observable_property_support_spec.rb
|
144
|
+
- spec/framework/property_observer_spec.rb
|
145
|
+
- spec/helpers/controllers.rb
|
146
|
+
- spec/helpers/initialize_hooks_helper.rb
|
147
|
+
- spec/helpers/models.rb
|
148
|
+
- spec/helpers/observables.rb
|
149
|
+
- spec/helpers/view_helpers.rb
|
150
|
+
- spec/helpers/views.rb
|
151
|
+
- spec/rcov.opts
|
152
|
+
- spec/resource_files/my_other_view.glade
|
153
|
+
- spec/resource_files/my_view.glade
|
154
|
+
- spec/spec.opts
|
155
|
+
- spec/spec_helper.rb
|
136
156
|
has_rdoc: true
|
137
157
|
homepage: http://rugui.org
|
138
158
|
licenses:
|
@@ -144,16 +164,20 @@ rdoc_options:
|
|
144
164
|
require_paths:
|
145
165
|
- lib
|
146
166
|
required_ruby_version: !ruby/object:Gem::Requirement
|
167
|
+
none: false
|
147
168
|
requirements:
|
148
169
|
- - ">="
|
149
170
|
- !ruby/object:Gem::Version
|
171
|
+
hash: 3
|
150
172
|
segments:
|
151
173
|
- 0
|
152
174
|
version: "0"
|
153
175
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
176
|
+
none: false
|
154
177
|
requirements:
|
155
178
|
- - ">="
|
156
179
|
- !ruby/object:Gem::Version
|
180
|
+
hash: 17
|
157
181
|
segments:
|
158
182
|
- 1
|
159
183
|
- 3
|
@@ -162,27 +186,27 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
162
186
|
requirements: []
|
163
187
|
|
164
188
|
rubyforge_project: rugui
|
165
|
-
rubygems_version: 1.3.
|
189
|
+
rubygems_version: 1.3.7
|
166
190
|
signing_key:
|
167
191
|
specification_version: 3
|
168
192
|
summary: A rails like MVC framework for building desktop applications with GUI frameworks.
|
169
193
|
test_files:
|
194
|
+
- spec/framework/base_controller_spec.rb
|
170
195
|
- spec/framework/base_model_spec.rb
|
171
|
-
- spec/framework/property_observer_spec.rb
|
172
|
-
- spec/framework/observable_property_proxy_spec.rb
|
173
|
-
- spec/framework/observable_property_support_spec.rb
|
174
|
-
- spec/framework/base_view_spec.rb
|
175
196
|
- spec/framework/base_view_helper_spec.rb
|
197
|
+
- spec/framework/base_view_spec.rb
|
176
198
|
- spec/framework/log_support_spec.rb
|
177
|
-
- spec/framework/
|
178
|
-
- spec/
|
199
|
+
- spec/framework/observable_property_proxy_spec.rb
|
200
|
+
- spec/framework/observable_property_support_spec.rb
|
201
|
+
- spec/framework/property_observer_spec.rb
|
202
|
+
- spec/helpers/controllers.rb
|
179
203
|
- spec/helpers/initialize_hooks_helper.rb
|
180
204
|
- spec/helpers/models.rb
|
181
|
-
- spec/helpers/view_helpers.rb
|
182
205
|
- spec/helpers/observables.rb
|
183
|
-
- spec/helpers/
|
206
|
+
- spec/helpers/view_helpers.rb
|
184
207
|
- spec/helpers/views.rb
|
185
|
-
- spec/
|
208
|
+
- spec/rcov.opts
|
186
209
|
- spec/resource_files/my_other_view.glade
|
187
210
|
- spec/resource_files/my_view.glade
|
188
|
-
- spec/
|
211
|
+
- spec/spec.opts
|
212
|
+
- spec/spec_helper.rb
|
@@ -1,8 +0,0 @@
|
|
1
|
-
# ATTENTION: This is just a sample, it it not tested at all!
|
2
|
-
|
3
|
-
@set APPLICATION_ROOT=<%= destination_root %>
|
4
|
-
@set APPLICATION_EXECUTABLE=%APPLICATION_ROOT%\app\main.rb
|
5
|
-
@set RUBY_EXECUTABLE=c:\ruby\1.8\ruby
|
6
|
-
@set RUGUI_ENV=production
|
7
|
-
|
8
|
-
"%RUBY_EXECUTABLE%" "%APPLICATION_EXECUTABLE%" %1 %2 %3 %4 %5 %6 %7
|
File without changes
|
File without changes
|
File without changes
|