Permalink
Browse files

patching a zip problem

  • Loading branch information...
1 parent 08412f0 commit 44a1f880b4a9118d1970418d3d627d0700f0a4cd @beaucollins committed Oct 21, 2009
Showing with 3 additions and 3 deletions.
  1. +2 −2 lib/power_reviews/sync.rb
  2. +1 −1 power_reviews.gemspec
@@ -31,9 +31,9 @@ def self.execute
# zip up the powerreviews data tell the client to store it
data_path = "#{RAILS_ROOT}/tmp/review_data.csv"
File.open(data_path, 'w') do |f|
- f.puts PowerReviews.Feed.process
+ f.puts PowerReviews::Feed.process
end
- `cd #{File.dirname(data_path)} && zip #{config['data_feed']}`
+ `cd #{File.dirname(data_path)} && zip #{config['data_feed']} #{File.basename(data_path)}`
client.copy_data_feed("#{RAILS_ROOT}/tmp/#{config['data_feed']}")
end
View
@@ -5,7 +5,7 @@
Gem::Specification.new do |s|
s.name = %q{power_reviews}
- s.version = "0.2.0"
+ s.version = "0.2.2"
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Beau Collins"]

0 comments on commit 44a1f88

Please sign in to comment.