rugui 2.0.0.beta2 → 2.0.0.beta3
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/README.rdoc +13 -5
- data/lib/rugui/observable_property_proxy.rb +2 -2
- data/lib/rugui/version.rb +1 -1
- metadata +4 -4
data/README.rdoc
CHANGED
@@ -35,15 +35,23 @@ RuGUI depends, of course, on the Ruby binding for the GUI framework that you'll
|
|
35
35
|
use. When generating an application you may choose which framework you'll want
|
36
36
|
to use. By default it will use GTK.
|
37
37
|
|
38
|
+
It also requires Ruby >= 1.9.3. When using RVM, you'll need to add `--enable-shared` flag when installing it. Just run:
|
39
|
+
|
40
|
+
rvm install 1.9.3 -C --enable-shared
|
41
|
+
|
42
|
+
Or, if you already have it installed:
|
43
|
+
|
44
|
+
rvm reinstall 1.9.3 -C --enable-shared
|
45
|
+
|
38
46
|
Here are the recommended way to install the bindings for each platform:
|
39
47
|
|
40
48
|
=== Mac OS X
|
41
49
|
|
42
50
|
We recommend that you use brew:
|
43
51
|
|
44
|
-
brew install gtk+
|
45
|
-
brew install qt # for Qt4
|
46
|
-
brew install sdl
|
52
|
+
brew install gtk+ # for GTK
|
53
|
+
brew install cmake qt # for Qt4
|
54
|
+
brew install sdl # for Rubygame
|
47
55
|
|
48
56
|
For Rubygame you may also want to install some other SDL related libraries:
|
49
57
|
|
@@ -59,9 +67,9 @@ TODO: Describe windows installation instructions for GTK, Qt4 and Rubygame
|
|
59
67
|
|
60
68
|
== Installation
|
61
69
|
|
62
|
-
Install the gem:
|
70
|
+
Install the gem (still in beta):
|
63
71
|
|
64
|
-
gem install rugui
|
72
|
+
gem install rugui -v 2.0.0.beta3
|
65
73
|
|
66
74
|
To check if the installation was successful type in a console:
|
67
75
|
|
@@ -27,12 +27,12 @@ module RuGUI
|
|
27
27
|
end
|
28
28
|
|
29
29
|
private
|
30
|
-
NON_DELEGATABLE_METHODS = ['__id__', '__send__']
|
30
|
+
NON_DELEGATABLE_METHODS = ['__id__', '__send__', 'object_id']
|
31
31
|
|
32
32
|
# Delegating Object's methods to context. Since none of these methods
|
33
33
|
# really change the object we just send them to the context.
|
34
34
|
self.methods.each do |method_name|
|
35
|
-
unless NON_DELEGATABLE_METHODS.include?(method_name)
|
35
|
+
unless NON_DELEGATABLE_METHODS.include?(method_name.to_s)
|
36
36
|
self.class_eval <<-class_eval
|
37
37
|
def #{method_name}(*args)
|
38
38
|
@context.send(:#{method_name}, *args)
|
data/lib/rugui/version.rb
CHANGED
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: 2.0.0.
|
4
|
+
version: 2.0.0.beta3
|
5
5
|
prerelease: 6
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -13,7 +13,7 @@ authors:
|
|
13
13
|
autorequire:
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
|
-
date:
|
16
|
+
date: 2013-05-14 00:00:00.000000000 Z
|
17
17
|
dependencies:
|
18
18
|
- !ruby/object:Gem::Dependency
|
19
19
|
name: rake
|
@@ -192,7 +192,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
192
192
|
version: '0'
|
193
193
|
segments:
|
194
194
|
- 0
|
195
|
-
hash:
|
195
|
+
hash: 1781773166901539126
|
196
196
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
197
197
|
none: false
|
198
198
|
requirements:
|
@@ -201,7 +201,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
201
201
|
version: 1.4.0
|
202
202
|
requirements: []
|
203
203
|
rubyforge_project: rugui
|
204
|
-
rubygems_version: 1.8.
|
204
|
+
rubygems_version: 1.8.25
|
205
205
|
signing_key:
|
206
206
|
specification_version: 3
|
207
207
|
summary: A rails like MVC framework for building desktop applications with GUI frameworks.
|