load_stocks.rb in riakpb-0.1.6 vs load_stocks.rb in riakpb-0.2.0

- old
+ new

@@ -1,8 +1,8 @@ require 'riak' require 'csv' -client = Riak::Client.new +client = Riakpb::Client.new bucket = client["goog"] CSV.foreach('goog.csv', :headers => true) do |row| puts row.first[1].to_s key = bucket[row.first[1].to_s]