Skip to content

Commit

Permalink
bumping up to 1.0.4
Browse files Browse the repository at this point in the history
Former-commit-id: 86edc66
Former-commit-id: c2a30b63e7000e5ee571e1d6a268884d57a8ed71
  • Loading branch information
jashkenas committed Mar 27, 2009
1 parent 19ef192 commit 6f90317
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 5 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG
@@ -1,3 +1,15 @@
v1.0.4 Bare is Beautiful...
* Ruby-Processing now supports "bare" sketches, which are sketches that
consist of only setup and draw methods, or sketches that contain no method
definitions at all (implicitly wrapping them in a 'setup'). This works
by pre-processing the code.
* Initialization heavily tweaked so that size() works as in Processing,
from within setup(), and so that you can call full_screen as a class method,
in your class definition, to avoid the need for explicit sketch instantiation.
* "rp5 create" has a "--bare" option.
* Many samples now use the bare style, and more "Learning Processing" examples
were contributed by Juris Galang.

v1.0.3 Tweaks and Tuneups...
* "rp5 watch" is now a bit more robust, and tries to reload every
* file, global, and constant that it thinks it needs to.
Expand Down
3 changes: 3 additions & 0 deletions README
Expand Up @@ -17,6 +17,9 @@
* Live Coding via JRuby's IRB. Loads in your sketch so you can futz with
variables and remake methods on the fly.

* Bare sketches. Write your Ruby-Processing sketches without having to define
a class. Without defining methods, even.

* A "Control Panel" library, so that you can easily create sliders, buttons,
checkboxes and drop-down menus, and hook them into your sketch's instance
variables.
Expand Down
2 changes: 1 addition & 1 deletion lib/ruby-processing.rb
Expand Up @@ -14,7 +14,7 @@

# The top-level namespace, a home for all Ruby-Processing classes.
module Processing
VERSION = [1,0,3] unless defined? Processing::VERSION
VERSION = [1,0,4] unless defined? Processing::VERSION

# Returns the current version of Ruby-Processing.
def self.version
Expand Down
1 change: 1 addition & 0 deletions lib/ruby-processing/runners/watch.rb
Expand Up @@ -46,6 +46,7 @@ def start_watching
# so that it can be loaded afresh. Go down into modules to find it, even.
def wipe_out_current_app!
app = $app
return unless app
app.no_loop
# Wait for the animation thread to finish rendering
sleep 0.05
Expand Down
12 changes: 8 additions & 4 deletions ruby-processing.gemspec
Expand Up @@ -2,11 +2,12 @@ require 'rake'

Gem::Specification.new do |s|
s.name = "ruby-processing"
s.version = "1.0.3"
s.version = "1.0.4"

s.authors = ["Jeremy Ashkenas", "Peter Gassner", "Martin Stannard", "Andrew Nanton",
"Marc Chung", "Peter Krenn", "Florian Jenett", "Andreas Haller"]
s.date = "2009-3-3" # Inauguration Day!
"Marc Chung", "Peter Krenn", "Florian Jenett", "Andreas Haller",
"Juris Galang"]
s.date = "2009-3-26"
s.default_executable = "rp5"
s.email = "jeremy@ashkenas.com"
s.executables = ["rp5"]
Expand All @@ -23,13 +24,16 @@ Gem::Specification.new do |s|
Ruby-Processing is a Ruby wrapper for the Processing code art framework. It's
this thin little shim that squeezes between Processing and JRuby, passing
along some neat goodies like:
* Applet and Application exporting of your sketches. Hand them out to
your party guests, ready-to-run.
* Live Coding via JRuby's IRB. Loads in your sketch so you can futz with
variables and remake methods on the fly.
* Bare sketches. Write your Ruby-Processing sketches without having to define
a class. Without defining methods, even.
* A "Control Panel" library, so that you can easily create sliders, buttons,
checkboxes and drop-down menus, and hook them into your sketch's instance
variables.
Expand Down

0 comments on commit 6f90317

Please sign in to comment.