cheri 0.0.6 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
data/README CHANGED
@@ -6,7 +6,7 @@ based on the framework, as well as a builder-builder tool for easily creating
6
6
  simple builders. Cheri also comes with a demo application, Cheri::JRuby::Explorer,
7
7
  that is built using two of the supplied builders (Cheri::Swing and Cheri::Html).
8
8
 
9
- This version (0.0.6) is an early beta release. Some features are still not fully
9
+ This version (0.0.7) is an early beta release. Some features are still not fully
10
10
  developed (though we're getting close). So do expect some bugs, especially in
11
11
  Cheri::JRuby::Explorer (CJX), which is very much a work in progress. I note some
12
12
  known problems in the CJX section below.
@@ -109,19 +109,19 @@ earlier within the framework (+cheri_yield+):
109
109
  a_button = MyButton.new
110
110
  ...
111
111
  @frame = swing.frame('Hello') {
112
- size 500,500
113
- flow_layout
114
- cherify(a_button) {
112
+ size 500,500
113
+ flow_layout
114
+ cherify(a_button) {
115
115
  on_click { puts 'button clicked' }
116
- }
116
+ }
117
117
  }
118
118
 
119
119
  @frame = swing.frame('Hello') {
120
- menu_bar {
120
+ menu_bar {
121
121
  @file_menu = menu('File') {
122
- menu_item('Exit') {on_click {@frame.dispose } }
122
+ menu_item('Exit') {on_click {@frame.dispose } }
123
123
  }
124
- }
124
+ }
125
125
  }
126
126
  # => add a new item later:
127
127
  cheri_yield(@file_menu) {
@@ -171,12 +171,12 @@ than +add+ to connect child objects to parent objects; see file
171
171
 
172
172
  include MyBuilder
173
173
  @frame = swing.frame('My test') {
174
- ...
175
- panel {
176
- pappy {
177
- kiddo { ... }
178
- }
179
- }
174
+ ...
175
+ panel {
176
+ pappy {
177
+ kiddo { ... }
178
+ }
179
+ }
180
180
  }
181
181
 
182
182
  # example specifying package; default naming
@@ -190,12 +190,12 @@ than +add+ to connect child objects to parent objects; see file
190
190
 
191
191
  include MyBuilder
192
192
  @frame = swing.frame('My test') {
193
- ...
194
- panel {
195
- my_parent {
196
- my_child { ... }
197
- }
198
- }
193
+ ...
194
+ panel {
195
+ my_parent {
196
+ my_child { ... }
197
+ }
198
+ }
199
199
  }
200
200
 
201
201
  You can also use the builder-builder just to add conection logic to Cheri::Swing,
@@ -458,5 +458,5 @@ C-Ruby instance, so it's kind of pointless. Again, if anyone with some DRb exper
458
458
  Please visit the Cheri site for more documentation, I'll be continually adding to it
459
459
  in the coming days.
460
460
 
461
- Bill Dortch <cheri.project@gmail.com>
461
+ Bill Dortch (cheri _dot_ project _aaat_ gmail _dot_ com)
462
462
  19 June 2007
data/lib/cheri/awt.rb CHANGED
@@ -25,7 +25,7 @@
25
25
  if (defined?JRUBY_VERSION) &&
26
26
  ((JRUBY_VERSION =~ /^(\d+\.\d+\.\d+)([-\.A-Z0-9]*)/ &&
27
27
  (($1 == '1.0.0' && ($2.empty? || $2 >= 'RC3')) || $1 > '1.0.0')) ||
28
- (JRUBY_VERSION =~ /^(\d+\.\d+)([-\.A-Z0-9]*)/ && $1 >= '1.1'))
28
+ (JRUBY_VERSION =~ /^(\d+\.\d+)([-\.A-Z0-9]*)/ && $1 >= '1.0'))
29
29
 
30
30
  require 'cheri/java/builder'
31
31
  require 'cheri/builder/awt/types'
data/lib/cheri/cheri.rb CHANGED
@@ -29,7 +29,7 @@ module Cheri
29
29
  module VERSION #:nodoc:
30
30
  MAJOR = 0
31
31
  MINOR = 0
32
- TINY = 6
32
+ TINY = 7
33
33
  STRING = [MAJOR, MINOR, TINY].join('.').freeze
34
34
  end
35
35
  #:stopdoc:
@@ -553,7 +553,7 @@ class RubyExplorer
553
553
  if (defined?JRUBY_VERSION) &&
554
554
  ((JRUBY_VERSION =~ /^(\d+\.\d+\.\d+)([-\.A-Z0-9]*)/ &&
555
555
  (($1 == '1.0.0' && ($2.empty? || $2 >= 'RC3')) || $1 > '1.0.0')) ||
556
- (JRUBY_VERSION =~ /^(\d+\.\d+)([-\.A-Z0-9]*)/ && $1 >= '1.1'))
556
+ (JRUBY_VERSION =~ /^(\d+\.\d+)([-\.A-Z0-9]*)/ && $1 >= '1.0'))
557
557
 
558
558
  System = ::Java::JavaLang::System
559
559
  Runtime = ::Java::JavaLang::Runtime
@@ -27,7 +27,7 @@ require 'cheri/cheri'
27
27
  if (defined?JRUBY_VERSION) &&
28
28
  ((JRUBY_VERSION =~ /^(\d+\.\d+\.\d+)([-\.A-Z0-9]*)/ &&
29
29
  (($1 == '1.0.0' && ($2.empty? || $2 >= 'RC3')) || $1 > '1.0.0')) ||
30
- (JRUBY_VERSION =~ /^(\d+\.\d+)([-\.A-Z0-9]*)/ && $1 >= '1.1'))
30
+ (JRUBY_VERSION =~ /^(\d+\.\d+)([-\.A-Z0-9]*)/ && $1 >= '1.0'))
31
31
  require 'cheri/jruby'
32
32
  end
33
33
 
@@ -24,7 +24,7 @@
24
24
  if (defined?JRUBY_VERSION) &&
25
25
  ((JRUBY_VERSION =~ /^(\d+\.\d+\.\d+)([-\.A-Z0-9]*)/ &&
26
26
  (($1 == '1.0.0' && ($2.empty? || $2 >= 'RC3')) || $1 > '1.0.0')) ||
27
- (JRUBY_VERSION =~ /^(\d+\.\d+)([-\.A-Z0-9]*)/ && $1 >= '1.1'))
27
+ (JRUBY_VERSION =~ /^(\d+\.\d+)([-\.A-Z0-9]*)/ && $1 >= '1.0'))
28
28
 
29
29
  require 'cheri/html'
30
30
  require 'cheri/swing'
data/lib/cheri/jruby.rb CHANGED
@@ -25,7 +25,7 @@
25
25
  if (defined?JRUBY_VERSION) &&
26
26
  ((JRUBY_VERSION =~ /^(\d+\.\d+\.\d+)([-\.A-Z0-9]*)/ &&
27
27
  (($1 == '1.0.0' && ($2.empty? || $2 >= 'RC3')) || $1 > '1.0.0')) ||
28
- (JRUBY_VERSION =~ /^(\d+\.\d+)([-\.A-Z0-9]*)/ && $1 >= '1.1'))
28
+ (JRUBY_VERSION =~ /^(\d+\.\d+)([-\.A-Z0-9]*)/ && $1 >= '1.0'))
29
29
  require 'java'
30
30
  require 'cheri/cheri'
31
31
  require 'cheri/jruby/jruby'
data/lib/cheri/swing.rb CHANGED
@@ -25,7 +25,7 @@
25
25
  if (defined?JRUBY_VERSION) &&
26
26
  ((JRUBY_VERSION =~ /^(\d+\.\d+\.\d+)([-\.A-Z0-9]*)/ &&
27
27
  (($1 == '1.0.0' && ($2.empty? || $2 >= 'RC3')) || $1 > '1.0.0')) ||
28
- (JRUBY_VERSION =~ /^(\d+\.\d+)([-\.A-Z0-9]*)/ && $1 >= '1.1'))
28
+ (JRUBY_VERSION =~ /^(\d+\.\d+)([-\.A-Z0-9]*)/ && $1 >= '1.0'))
29
29
 
30
30
  require 'cheri/awt'
31
31
  require 'cheri/builder/swing/types'
metadata CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.9.2
3
3
  specification_version: 1
4
4
  name: cheri
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.0.6
7
- date: 2007-06-19 00:00:00 -07:00
6
+ version: 0.0.7
7
+ date: 2007-06-20 00:00:00 -07:00
8
8
  summary: Cheri Builder Platform
9
9
  require_paths:
10
10
  - lib