Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Gemspec fixes

  • Loading branch information...
commit 14a4baebee87022dc7c95367c0255e74831a3c76 1 parent 10851a7
@pnomolos authored
Showing with 9 additions and 1 deletion.
  1. +2 −0  Gemfile
  2. +7 −1 lib/dm-types-serialized-php.rb
View
2  Gemfile
@@ -1,3 +1,5 @@
+require 'pathname'
+
source 'https://rubygems.org'
# Specify your gem's dependencies in dm-types-serialized-php.gemspec
View
8 lib/dm-types-serialized-php.rb
@@ -1,2 +1,8 @@
+require 'dm-core'
require 'dm-types-serialized-php/version'
-require 'dm-types-serialized-php/serialized-php.rb'
+
+module DataMapper
+ class Property
+ autoload :SerializedPhp, 'dm-types-serialized-php/serialized-php.rb'
+ end
+end
Please sign in to comment.
Something went wrong with that request. Please try again.