Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added a version.

  • Loading branch information...
commit 3ba221fc5b4315c4a95c7c5e9cc8d1fb73f6f470 1 parent c8e9792
@jnunemaker jnunemaker authored
Showing with 6 additions and 2 deletions.
  1. +3 −2 lib/plucky.rb
  2. +3 −0  lib/plucky/version.rb
View
5 lib/plucky.rb
@@ -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?)
@@ -16,4 +17,4 @@ def self.to_object_id(value)
BSON::ObjectID.from_string(value.to_s)
end
end
-end
+end
View
3  lib/plucky/version.rb
@@ -0,0 +1,3 @@
+module Plucky
+ Version = '0.1'
+end
Please sign in to comment.
Something went wrong with that request. Please try again.