Skip to content

Commit

Permalink
Fix gemspec.
Browse files Browse the repository at this point in the history
  • Loading branch information
ordinaryzelig committed May 11, 2012
1 parent 371aaa3 commit d405f3e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 3 additions & 1 deletion README.rdoc
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,9 @@ Note that object.send(attribute_name) is used, so datetime fields will be return

== Compatibility

Tested with Ruby 1.9.2-p290 and Mongoid v2.0.2
Tested with Ruby 1.9.2-p318 and Mongoid v2.0.2

If you are using a lower version of Ruby 1.9.2-p318 (the p318 is important), you need to install and require the `faster_csv` gem. This was tested with faster_csv v1.5.4.

== Related gems

Expand Down
2 changes: 1 addition & 1 deletion lib/mongoid_to_csv/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module MongoidToCSV
VERSION = "0.2.0"
VERSION = "0.2.1"
end
4 changes: 1 addition & 3 deletions mongoid_to_csv.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,7 @@ Gem::Specification.new do |s|
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
s.require_paths = ["lib"]

if ENV['RUBY_VERSION'] < 'ruby-1.9.2-p318'
s.add_dependency 'fastercsv'
end
s.add_dependency 'fastercsv'
s.add_dependency 'mongoid', '>= 2.0.0.rc.7'

s.add_development_dependency 'rspec', '2.6.0'
Expand Down

0 comments on commit d405f3e

Please sign in to comment.