Skip to content

Commit

Permalink
cleaning up dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
monde committed Jan 1, 2011
1 parent 47e8588 commit dad641e
Show file tree
Hide file tree
Showing 3 changed files with 51 additions and 13 deletions.
6 changes: 3 additions & 3 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

source :gemcutter

gem "nokogiri", ">=1.4.0"
gem "mail", ">=2.2.5"
gem "nokogiri", ">=1.4.4"
gem "mail", ">=2.2.10"
gem "uuidtools", ">=2.1.1"
gem "exifr", ">=1.0.1"
gem "exifr", ">=1.0.3"

gem "rubyforge", ">=2.0.4", :group => [:development, :test]
gem "gemcutter", ">=0.4.1", :group => [:development, :test]
Expand Down
42 changes: 42 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
GEM
remote: http://rubygems.org/
specs:
activesupport (3.0.3)
exifr (1.0.3)
gemcutter (0.6.1)
hoe (2.8.0)
rake (>= 0.8.7)
i18n (0.5.0)
json_pure (1.4.6)
mail (2.2.13)
activesupport (>= 2.3.6)
i18n (>= 0.4.0)
mime-types (~> 1.16)
treetop (~> 1.4.8)
mime-types (1.16)
mocha (0.9.10)
rake
nokogiri (1.4.4)
polyglot (0.3.1)
rake (0.8.7)
rubyforge (2.0.4)
json_pure (>= 1.1.7)
test-unit (1.2.3)
hoe (>= 1.5.1)
treetop (1.4.9)
polyglot (>= 0.3.1)
uuidtools (2.1.1)

PLATFORMS
ruby

DEPENDENCIES
exifr (>= 1.0.3)
gemcutter (>= 0.4.1)
hoe (>= 2.5.0)
mail (>= 2.2.10)
mocha
nokogiri (>= 1.4.4)
rubyforge (>= 2.0.4)
test-unit (= 1.2.3)
uuidtools (>= 2.1.1)
16 changes: 6 additions & 10 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ end

$LOAD_PATH.unshift File.join(File.dirname(__FILE__), "lib")
require 'mms2r'
require 'rake'

Hoe.plugin :bundler
Hoe.spec('mms2r') do |p|
Expand All @@ -25,10 +26,12 @@ Hoe.spec('mms2r') do |p|
p.description = p.paragraphs_of('README.txt', 2..5).join("\n\n")
p.url = p.paragraphs_of('README.txt', 1).first.strip
p.changes = p.paragraphs_of('History.txt', 0..1).join("\n\n")
p.extra_deps << ['nokogiri', '>= 1.4.0']
p.extra_deps << ['mail', '>= 2.2.5']
p.readme_file = 'README.txt'
p.history_file = 'History.txt'
p.extra_deps << ['nokogiri', '>= 1.4.4']
p.extra_deps << ['mail', '>= 2.2.10']
p.extra_deps << ['uuidtools', '>= 2.1.1']
p.extra_deps << ['exifr', '>= 1.0.1']
p.extra_deps << ['exifr', '>= 1.0.3']
p.clean_globs << 'coverage'
end

Expand All @@ -43,11 +46,4 @@ rescue
task :rcov => :check_dependencies
end

RDoc::Task.new do |rdoc|
rdoc.title = "mms2r-#{MMS2R::Media::VERSION}"
rdoc.rdoc_dir = 'doc'
rdoc.options << '-f' << 'horo'
rdoc.options << '--main' << 'README.txt'
end

# vim: syntax=Ruby

0 comments on commit dad641e

Please sign in to comment.