fluid 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,6 @@
1
+ Version 1.0.1
2
+ * Dated require statement in README.txt changed to new value.
3
+
1
4
  Version 1.0.0
2
5
  * Converted to Rubyforge+gem distribution.
3
6
  * Removed binding of I/O-related globals.
data/README.txt CHANGED
@@ -6,7 +6,7 @@ reversibly change the values of globals.
6
6
 
7
7
  Here's an incredibly simple example:
8
8
 
9
- require 's4t-utils/fluid'
9
+ require 'fluid'
10
10
 
11
11
  Fluid.let(:var, 1) {
12
12
  puts Fluid.var # prints 1
@@ -17,7 +17,7 @@ Fluid.var is a "pseudovariable" that only exists within the block. What's
17
17
  interesting about fluid variables is what "within the block" means.
18
18
  Here's another example:
19
19
 
20
- require 's4t-utils/fluid'
20
+ require 'fluid'
21
21
 
22
22
  def putter
23
23
  puts Fluid.var
data/Rakefile CHANGED
@@ -33,3 +33,7 @@ MyRdocFiles = FileList.new("lib/fluid.rb",
33
33
 
34
34
  require 's4t-utils/rakefile-common'
35
35
 
36
+ desc "Push new version of project homepage."
37
+ task 'homepage' do
38
+ `cd homepage; scp * marick@rubyforge.org:/var/www/gforge-projects/#{MyFileSystemName}/`
39
+ end
@@ -2,14 +2,22 @@
2
2
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
3
  <head>
4
4
  <meta http-equiv="Content-type" content="text/html; charset=utf-8">
5
- <title>s4t-utils</title>
5
+ <title>Fluid (dynamically scoped) variables</title>
6
6
 
7
7
  </head>
8
8
  <body>
9
9
  <h1>Fluid (dynamically scoped) variables</h1>
10
- <p></p>
11
- <p><a href="http://fluid.rubyforge.org/rdoc/" title="Fluid.rb documentation">Documentation</a> (rdoc)</p>
12
- <p><a href="" title="RubyForge: Fluid: Project Filelist">Download</a></p>
10
+ <img src="example.png" style="float: right; border: 0; margin-left: 0.25in"/>
11
+ <p>Class Fluid provides dynamically scoped ("fluid") variables modeled
12
+ after those of Common Lisp. It also gives you a convenient way to
13
+ reversibly change the values of globals.
14
+
15
+ </p>
16
+ <p>Fluid variables are useful when you want to pass information among related classes and methods without passing arguments all over the place, but you also want something a little more controlled than globals. They're not useful all that often, but they come in handy once in a while.</p>
17
+ <p>The <a href="http://fluid.rubyforge.org/rdoc/" title="Fluid.rb documentation">documentation</a> (rdoc) gives more explanation and examples. </p>
18
+ <p><a href="http://rubyforge.org/frs/?group_id=4111" title="RubyForge: Fluid: Project Filelist">Download</a></p>
19
+
20
+ <p style="text-align: right">&mdash;<a href="mailto:marick@exampler.com">Brian Marick</a></p>
13
21
 
14
22
 
15
23
  </body>
@@ -4,7 +4,7 @@
4
4
 
5
5
  # Fluid (dynamically scoped) variables for Ruby. See README.txt[link:files/README_txt.html].
6
6
  class Fluid
7
- Version="1.0.0"
7
+ Version="1.0.1"
8
8
  ### Environment ###
9
9
 
10
10
  # An environment holds variable->value bindings. Each
metadata CHANGED
@@ -3,7 +3,7 @@ rubygems_version: 0.9.0
3
3
  specification_version: 1
4
4
  name: fluid
5
5
  version: !ruby/object:Gem::Version
6
- version: 1.0.0
6
+ version: 1.0.1
7
7
  date: 2007-07-24 00:00:00 -05:00
8
8
  summary: Fluid (dynamically scoped) variables
9
9
  require_paths: