Skip to content
Browse files

Changed History, Manifest and Version

  • Loading branch information...
1 parent 9d51c69 commit 9a85543cb66672aff61b7fa9d891f460050de34c @clbustos committed May 28, 2010
Showing with 18 additions and 3 deletions.
  1. +8 −0 History.txt
  2. +6 −0 Manifest.txt
  3. +1 −0 Rakefile
  4. +1 −1 lib/rserve.rb
  5. +1 −2 lib/rserve/rlist.rb
  6. +1 −0 spec/rserve_rlist_spec.rb
View
8 History.txt
@@ -1,3 +1,11 @@
+=== 0.1.7 / 2010-05-28
+
+* Reimplement Rlist as an Array with module WithNames included
+* Added modules WithAttributes and WithNames
+* Added examples of use
+
+
+
=== 0.1.6 / 2010-05-27
* Assign complete for all commons REXPs
* Added Connection#shutdown
View
6 Manifest.txt
@@ -1,9 +1,12 @@
.autotest
.gitignore
+Examples.txt
History.txt
Manifest.txt
README.txt
Rakefile
+examples/hello_world.rb
+examples/lowless.rb
lib/rserve.rb
lib/rserve/connection.rb
lib/rserve/engine.rb
@@ -32,6 +35,8 @@ lib/rserve/rexp/wrapper.rb
lib/rserve/rfactor.rb
lib/rserve/rlist.rb
lib/rserve/talk.rb
+lib/rserve/withattributes.rb
+lib/rserve/withnames.rb
spec/rserve_connection_spec.rb
spec/rserve_double_spec.rb
spec/rserve_integer_spec.rb
@@ -45,5 +50,6 @@ spec/rserve_rfactor_spec.rb
spec/rserve_rlist_spec.rb
spec/rserve_spec.rb
spec/rserve_talk_spec.rb
+spec/rserve_withnames_spec.rb
spec/spec.opts
spec/spec_helper.rb
View
1 Rakefile
@@ -9,6 +9,7 @@ Hoe.spec 'rserve-client' do
self.test_globs="spec/*_spec.rb"
self.version=Rserve::VERSION
self.rubyforge_name = 'ruby-statsample' # if different than 'rserve'
+ self.remote_rdoc_dir = "rserve-client"
self.developer('Claudio Bustos', 'clbustos_AT_gmail.com')
end
View
2 lib/rserve.rb
@@ -1,7 +1,7 @@
require 'socket'
module Rserve
- VERSION = '0.1.6'
+ VERSION = '0.1.7'
end
View
3 lib/rserve/rlist.rb
@@ -25,8 +25,7 @@ def initialize(data=nil, n=nil)
def keys
@names
end
- # Returns the data, as Ruby objects
-
+ # Returns the data without names, as Ruby objects
def to_a
self.map {|d| d.to_ruby}
end
View
1 spec/rserve_rlist_spec.rb
@@ -45,6 +45,7 @@
end
it "should allow recursive list" do
list=@r.eval("list(l1=list(l11=1,l22=2),l2=list(3,4))").as_list
+ list.names.should==['l1','l2']
list['l1'].to_ruby.should==[1,2]
list['l2'].to_ruby.should==[3,4]

0 comments on commit 9a85543

Please sign in to comment.
Something went wrong with that request. Please try again.