mathviz 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/History.txt +4 -0
  2. data/lib/mathviz.rb +2 -2
  3. metadata +2 -2
@@ -1,3 +1,7 @@
1
+ === 1.0.2 2010-09-04
2
+
3
+ * Set variable names as strings intead of symbols
4
+
1
5
  === 1.0.1 2010-09-04
2
6
 
3
7
  * Syntax and path updates for 1.9.2
@@ -3,7 +3,7 @@ require 'graphviz_r'
3
3
  # Top level object.
4
4
  class MathViz
5
5
  # RubyGem version
6
- VERSION = '1.0.1'
6
+ VERSION = '1.0.2'
7
7
 
8
8
  # Something to return instead of dividing by zero, etc.
9
9
  Infinity = 1.0/0
@@ -249,7 +249,7 @@ class MathViz::Term
249
249
  eval("local_variables", env).each do |var|
250
250
  value = eval(var.to_s, env)
251
251
  if value.respond_to? :name=
252
- value.name = var
252
+ value.name = var.to_s
253
253
  end
254
254
  end
255
255
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 1
7
7
  - 0
8
- - 1
9
- version: 1.0.1
8
+ - 2
9
+ version: 1.0.2
10
10
  platform: ruby
11
11
  authors:
12
12
  - Justin Love