Skip to content

Commit

Permalink
Added a version.
Browse files Browse the repository at this point in the history
  • Loading branch information
jnunemaker committed May 18, 2010
1 parent c8e9792 commit 3ba221f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/plucky.rb
Expand Up @@ -3,9 +3,10 @@
require 'plucky/support'

module Plucky
autoload :OptionsHash, 'plucky/options_hash'
autoload :CriteriaHash, 'plucky/criteria_hash'
autoload :OptionsHash, 'plucky/options_hash'
autoload :Query, 'plucky/query'
autoload :Version, 'plucky/version'

def self.to_object_id(value)
if value.nil? || (value.respond_to?(:empty?) && value.empty?)
Expand All @@ -16,4 +17,4 @@ def self.to_object_id(value)
BSON::ObjectID.from_string(value.to_s)
end
end
end
end
3 changes: 3 additions & 0 deletions lib/plucky/version.rb
@@ -0,0 +1,3 @@
module Plucky
Version = '0.1'
end

0 comments on commit 3ba221f

Please sign in to comment.