Skip to content

Commit

Permalink
don't specify required roxml version in the code
Browse files Browse the repository at this point in the history
- the correct version will be loaded by the gemspec
  • Loading branch information
yob committed Oct 17, 2009
1 parent a1d1027 commit 70d396f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
3 changes: 2 additions & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,10 @@ spec = Gem::Specification.new do |s|
"support/**/*.*",
"spec/**/*.*"
]
s.add_dependency('roxml', '2.5.3')
s.add_dependency('roxml', '3.1.0')
s.add_dependency('libxml-ruby', '>=1.1.3')
s.add_dependency('andand')
s.add_dependency('nokogiri')
end

Rake::GemPackageTask.new(spec) do |p|
Expand Down
6 changes: 0 additions & 6 deletions lib/onix.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,6 @@
require 'rubygems'
require 'bigdecimal'
require 'cgi'

# ensure we load the correct gem versions
gem 'roxml', '2.5.3'
gem 'andand'

# and now load the actual gems
require 'roxml'
require 'andand'

Expand Down

0 comments on commit 70d396f

Please sign in to comment.