Skip to content

Commit

Permalink
pull
Browse files Browse the repository at this point in the history
  • Loading branch information
joaomilho committed Feb 24, 2011
1 parent 9124bb8 commit cad73bc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions activerecord-postgres-hstore.gemspec
Expand Up @@ -33,18 +33,18 @@ Gem::Specification.new do |s|
s.homepage = %q{http://github.com/softa/activerecord-postgres-hstore}
s.rdoc_options = ["--charset=UTF-8"]
s.require_paths = ["lib"]
s.rubygems_version = %q{1.3.6}
s.rubygems_version = %q{1.3.7}
s.summary = %q{Goodbye serialize, hello hstore}
s.test_files = [
"spec/spec_helper.rb",
"spec/activerecord-postgres-hstore_spec.rb"
"spec/activerecord-postgres-hstore_spec.rb",
"spec/spec_helper.rb"
]

if s.respond_to? :specification_version then
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
s.specification_version = 3

if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
s.add_development_dependency(%q<rspec>, [">= 1.2.9"])
else
s.add_dependency(%q<rspec>, [">= 1.2.9"])
Expand Down
2 changes: 1 addition & 1 deletion spec/activerecord-postgres-hstore_spec.rb
Expand Up @@ -2,7 +2,7 @@

describe "ActiverecordPostgresHstore" do
it "should convert hstore string to hash" do
{:a => 1, :b => 2}.to_hstore.should == "('a'=>'1') || ('b'=>'2')"
["('a'=>'1') || ('b'=>'2')", "('b'=>'2') || ('a'=>'1')"].should include({:a => 1, :b => 2}.to_hstore)
end

it "should convert hash to hstore string" do
Expand Down

0 comments on commit cad73bc

Please sign in to comment.