Skip to content
This repository has been archived by the owner on Apr 17, 2018. It is now read-only.

Commit

Permalink
Silence ParseTree warning, as it won't be available for Ruby 1.9. Sti…
Browse files Browse the repository at this point in the history
…ll informs via self.key_for
  • Loading branch information
kyledrake committed Apr 11, 2011
1 parent e2f9c47 commit 18bad91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/dm-sweatshop/unique.rb
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ class UniqueWorker
gem 'ParseTree', '~>3.0.3'
require 'parse_tree'
rescue LoadError
puts "DataMapper::Sweatshop::Unique - ParseTree could not be loaded, anonymous uniques will not be allowed"
# ParseTree could not be loaded, anonymous uniques will not be allowed
end unless defined?(JRUBY_VERSION)

ClassAttributes.accessor(self, :count_map)
Expand Down

0 comments on commit 18bad91

Please sign in to comment.