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

Commit

Permalink
Updated gem dependencies
Browse files Browse the repository at this point in the history
* Use exact match for dm-core dep.  Will hopefully prevent version
  mismatch problems since every plugin must be at the same version.
* Updated deps for gems to latest stable versions
* Fixed failing specs for ruby 1.9.1
  • Loading branch information
Dan Kubb committed Mar 23, 2009
1 parent 583d60f commit 7ccbda1
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Rakefile
Expand Up @@ -12,7 +12,7 @@ AUTHOR = 'Guy van den Berg'
EMAIL = 'vandenberg.guy [a] gmail [d] com'
GEM_NAME = 'dm-serializer'
GEM_VERSION = DataMapper::Serializer::VERSION
GEM_DEPENDENCIES = [['dm-core', "~>#{GEM_VERSION}"]]
GEM_DEPENDENCIES = [['dm-core', GEM_VERSION]]
GEM_CLEAN = %w[ log pkg coverage ]
GEM_EXTRAS = { :has_rdoc => true, :extra_rdoc_files => %w[ README.textile LICENSE TODO History.txt ] }

Expand Down
2 changes: 1 addition & 1 deletion benchmarks/to_xml.rb
@@ -1,7 +1,7 @@
require "rubygems"
require 'pathname'

gem 'dm-core', '~>0.9.11'
gem 'dm-core', '0.9.11'
require 'dm-core'

spec_dir_path = Pathname(__FILE__).dirname.expand_path
Expand Down
2 changes: 1 addition & 1 deletion spec/public/to_xml_spec.rb
Expand Up @@ -62,7 +62,7 @@ def cast(value, type)
it "should not include the XML prologue, so that the result can be embedded in other XML documents" do
planet = Planet.new
xml = planet.to_xml(:element_name => "aplanet")
xml.starts_with?("<?xml").should == false
xml.should_not =~ /\A<\?xml/
end

describe ':element_name option for Resource' do
Expand Down
2 changes: 1 addition & 1 deletion spec/spec_helper.rb
@@ -1,7 +1,7 @@
require 'pathname'
require 'rubygems'

gem 'dm-core', '~>0.9.11'
gem 'dm-core', '0.9.11'
require 'dm-core'

spec_dir_path = Pathname(__FILE__).dirname.expand_path
Expand Down
2 changes: 1 addition & 1 deletion tasks/spec.rb
@@ -1,5 +1,5 @@
begin
gem 'rspec', '~>1.1.11'
gem 'rspec', '~>1.2'
require 'spec'
require 'spec/rake/spectask'

Expand Down

0 comments on commit 7ccbda1

Please sign in to comment.